/* Laptop 1440 x 900px */
/* Laptop 1366 x 768px */
/* Laptop 1280 x 800px */
/* Apple ipad 1024 x 768px */
/* Apple ipad mini 768 x 1024px */
/* Apple IPhone 6 plus 414 x 736px */
/* Apple IPhone 6 375 x 667px */
/* Apple IPhone 5 320 x 568px */
/* Apple IPhone 4 320 x 480px */


/*Corner triangle */

#triangle {
    width: 0;
    left: 0;
    top: -5px;
    height: 0;
    border-style: solid;
    border-width: 75px 75px 0 0;
    border-color: #543F50 /*rgb(137, 12, 88)*/ transparent transparent transparent;
    position: absolute;
}
.rotate {
    /* Safari */
    -webkit-transform: rotate(-45deg);
    /* Firefox */
    -moz-transform: rotate(-45deg);
    /* IE */
    -ms-transform: rotate(-45deg);
    /* Opera */
    -o-transform: rotate(-45deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.pret {
    position: absolute;
    top: -62px;
    left: -23px;
    width: 100px;
    font-size: .87em ;
    text-transform: uppercase !important;
    line-height: 1em !important;
    color: #FFF !important;
}
.serv{
    margin-right:47px;
}
.bod{
    width:17%;
}
.flex-body{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.card-text span{
    display: none;
}
.card-text-mobile{
    display: none; 
}
.fa-5x{
    font-size: 46px;
}

/* Laptop 1440 x 900px */
@media (max-width:1440px){
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .serv{
        margin-right:36px;
    }
    .ima img{
        height: 100px;
        width:100%;
    }
    .inner {
        height: 100px !important;
        margin: 0px !important;
    }
    #triangle {
        border-width: 80px 80px 0 0;
    }
    .pret {
        position: absolute;
        top: -65px;
        left: -20px;
        width: 100px;
        font-size: .9em ;
        text-transform: uppercase !important;
        line-height: 1em !important;
        color: #FFF !important;
    }
    i.fa.fa-check.fa-5x {
        margin-top: 10px;
    }
    .bod{
        width: 20%;
    }
}

/* Laptop 1366 x 768px */
@media (max-width:1366px){
    .container{
        width:100%;
    }
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .serv{
        margin-right:40px;
    }
    .flip{
        width:110%;
    }
    .flip h5{
        margin-top:20px;
    }
    .ima img{
        height: 120px;
        width:100%;
    }
    i.fa.fa-check.fa-5x {
        margin-top: -2px;
    }
    .inner {
        height: 120px !important;
        margin: 0px !important;
    }
    #triangle {
        border-width: 70px 70px 0 0;
    }
    .pret {
        position: absolute;
        top: -56px;
        left: -25px;
        width: 100px;
        font-size: .8em;
    }
    .btn-group-vertical>.btn, .btn-group-vertical>.btn-group, .btn-group-vertical>.btn-group>.btn {
        display: block;
        float: none;
        width: 100%;
        padding: 5px 0;
        max-width: 100%;
    }
    .bod{
        width: 21%;
    }
}
/* Laptop 1280px */
@media (max-width:1280px){
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .container{
        width:85%;
        padding:0;
        clear:both;
        margin:0 auto;
    } 

    #triangle {
        border-width: 70px 70px 0 0;
    }
    .pret {
        position: absolute;
        top: -57px;
        left: -25px;
        width: 100px;
        font-size: .8em;
    }
    .gratuit-sophia {
        /*        position: absolute;
                width: 180px;
                height: 180px;
                float: right;
                right: 50px;
                top: -20px;*/
        position: absolute;
        width: 410px;
        float: right;
        right: 0px;
    }
    .btn-group-vertical>.btn:first-child:not(:last-child) {
        margin: 0;
        padding: 2px;
        font-size: 10px;
    }
    .btn-group-vertical>.btn:last-child:not(:first-child) {
        margin: 0;
        padding: 2px;
        font-size: 10px;
    }
}
/* Apple ipad 1024 x 768px */
@media (max-width:1024px){
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .serv{
        margin-right:22px;
    }
    .container{
        width:100%;
    }
    .btn-group-vertical>.btn:first-child:not(:last-child) {
        margin: 0;
        padding: 2px;
        font-size: 10px;
    }
    .btn-group-vertical>.btn:last-child:not(:first-child) {
        margin: 0;
        padding: 2px;
        font-size: 10px;
    }
    .name-city h3 {
        margin: 0;
        font-size: 12px;
        color: #525252;
    }
    .ima img{
        height: 80px;
    }
    .inner {
        height: 80px !important;    
    }
    .ribbon h6 {
        /*        font-size: 28px;
                padding: 20px 20px 0 60px;*/
        font-size: 28px;
        /*padding: 20px 20px 0 60px;*/
        padding: 0px 20px 20px 60px;
    }
    .ribbon h5 {
        font-size: 18px;
    }
    .gratuit-sophia {
        /*        position: absolute;
                width: 160px;
                height: 160px;
                float: right;
                right: 50px;
                top: -20px;*/
        position: absolute;
        width: 400px;
        float: right;
        right: 0px;
    }
    .name-city h3 {
        margin: 0;
        font-size: 12px;
        color: #525252;
    }
    .flip h4 {
        color: #543F50;
        font-size: 12px;
        margin-top: 5px;
        font-weight: bold;
    }
    i.fa.fa-check.fa-5x {
        margin-top: 10px;
        margin-bottom:8px;
        font-size: 30px
    }
    .butoane{
        margin-top:0;
    }
    .bod{
        width: 20%;
    }
    .btn-group-vertical>.btn:first-child:not(:last-child) {
        margin: 0;
        padding: 4px;
        font-size: 12px;
    }
    .btn-group-vertical>.btn:last-child:not(:last-child) {
        margin: 0;
        padding: 4px;
        font-size: 12px;
    }
    .card-text-mobile{
        display:none;
    }
}
/* Apple ipad 1024 x 768px */
@media (max-width:768px){
    .container{
        width:100%;
    }
    .rows {
        margin: 30px ;
    }
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    serv{
        margin-right:18px;
    }
    .inside{
        min-height: 250px;
    }
    .container{
        width:95%;
        padding:0;
        clear:both;
        margin:0 auto;
    } 
    .gratuit-sophia {
        position: absolute;
        width: 277px;
        height: 108px;
        float: right;
        right: 8px;
        top: 8px;
    }
    .ribbon h6 {
        text-align: left;
        font-size: 26px;
    }
    .ribbon h5 {
        text-align: left;
        font-size: 18px;
    }
    .ima img {
        height: 55px;
    }
    .inner {
        height: 55px !important;
    }
    i.fa.fa-check.fa-5x {
        margin-top: 5px;
        font-size: 24px;

    }
    #triangle {
        top: -5px;
        left:10px;
        border-width: 60px 60px 0 0;
    }
    .pret {
        top: -48px;
        left: -30px;
        font-size: .7em;
    }
    .stars p{
        margin:0;
        color: gold; 
        font-size:16px;
    }
    .name-city h3 {
        margin: 0;
        font-size: 12px;
        color: #525252;
    }
    .flip h5{
        font-size: 11px;
    }
    .flip h6{
        font-size: 10px;
    }
    .bod{
        width: 25%;
    }
    .butoane {
        margin-bottom: 10px;
        margin-top: 0; 
        padding: 0;
    }
    .section-class h3 {
        display: none;
    }
    .btn-card{
        padding:0;
    }
    .btn{
        font-size: 10px;
    }
    .pret-none{
        display: none;
    }
    .flip h4{
        font-size: 12px;
        color:#FFF;
    }
    .flip h5 {
        font-size: 16px;
    }
    .card-text span{
        display: none;
    }
    .card-text h5{
        width:90%;
        font-size: 12px;
        margin-top:0;
    }
    .next-servicii{
        display: none;
    }
    .card-text-notmobile{
        display: block; 
    }
    .card-text-mobile{
        display: none; 
    }
}



/* Apple IPhone 6 plus landscape 736 x 414px */
@media (max-width: 736px){
    .serv{
        margin-bottom:20px;
    }
    .rows{
        margin:30px auto;
        width:80%;
    }
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .flip{
        width:100%;
    }
    .flip h5 {
        font-size: 22px;
    }
    .flip h4 {
        color: #801E57;
        font-size: 14px;
        margin-top: 5px;
    }
    .bod {
        width: 32.33%;
        padding-right: 2px;
        padding-left: 2px;
        padding-top: 100px;
        margin-right: 5px;
    }
    .ima img{
        height: 330px;
        width:100%;
    }
    .inner {
        height: 330px !important;
        margin: 0px !important;
    }  
    i.fa.fa-check.fa-5x {
        margin-top:70px;
        font-size: 100px;
        margin-bottom: 70px;
    }
    #triangle{
        width: 0;
        left: 0;
        top: -4px;
        height: 0;
        border-style: solid;
        border-width: 80px 80px 0 0;
        border-color: #543F50 /*rgb(137, 12, 88)*/ transparent transparent transparent;
        position: absolute;
    }
    .pret{
        position: absolute;
        top: -63px;
        left: -22px;
        width: 100px;
        font-size: .9em ;
        text-transform: uppercase !important;
        line-height: 1em !important;
        color: #FFF !important;  
    }
    .mobile-ribbon-headings{
        padding:10px 0;
        text-align: center;
        color:#FFF;
    }
    .mobile-ribbon-headings h1{
        display:none;
    }
    .mobile-ribbon-headings h2{
        font-size: 30px;
        margin:20px 0;
        padding:0;
    }
    .card-text span{
        display: block;
        float:left;
        padding-right: 20px;
    }
    .card-text h5{
        font-size: 18px;
    }
    .card-text-mobile{
        display: block;
    }
    .card-text-notmobile{
        display: none;
    }
    .btn{
        font-size: 16px;
        padding:20px;
    }
    a.btn.btn-default.prev-step {
        padding: 11px;
    }
}
/* Apple IPhone 6 landscape 667 x 375px */
@media (max-width: 667px){
    .rows{
        margin: 30px auto;
        clear:both;
        width: 75%;
    }
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    h1 {
        font-size: 36px;
        text-align:center;
        padding-top:20px;
    }
    h2 {
        font-size: 24px;
        text-align:center;
        padding-bottom:20px;
    }
    .ima img {
        height: 270px;
        width: 100%;
    }
    .inner {
        height: 270px !important;
        margin: 0px !important;
    }
    .flip h5 {
        font-size: 18px;
    }
    .flip h4 {
        font-size: 14px;
    }
    i.fa.fa-check.fa-5x {
        margin-top: 70px;
        font-size: 80px;
        margin-bottom: 70px;
    }
    .bod{
        width: 32.33%;
    }
    .btn-primary{
        padding:20px;
    }
    .btn-group-vertical>.btn:first-child:not(:last-child) {
        margin: 0px;
        /* font-size: 14px; */
        padding: 5px;
        font-size: 14px;
    }
    .btn-group-vertical>.btn:last-child:not(:first-child) {
        margin: 0px;
        /* font-size: 14px; */
        padding: 5px;
        font-size: 14px;
    }
    .pret-none{
        display: none;
    }

    .flip h4{
        font-size: 16px;
        color:#FFF;
    }
    .flip h5 {
        font-size: 16px;
        float: left;
    }
    .card-text span{
        display: block;
        float:left;
        width:10%;
        margin:0;
        padding-left:30px;
    }
    .card-text h5{
        width:90%;
        text-align: left;
        font-size: 16px;
        margin-top:0;
    }
    .next-servicii{
        display: none;
    }
    .card-text-notmobile{
        display: none; 
    }
    .card-text-mobile{
        display: block; 
    }
}
@media (max-width: 568px){
    .bod{
        width: 31.33%;
    }
    .ima img {
        height: 250px;
    }
    .inner {
        height: 250px !important;
        margin: 0px !important;
    }
    i.fa.fa-check.fa-5x {
        margin-top: 70px;
        font-size: 80px;
        margin-bottom: 40px;
    }
}
/* Apple IPhone 4 landscape 480 x 320px */
@media (max-width: 480px){
    .ima img {
        height: 220px;
        width: 100%;
    }
    .inner {
        height: 220px !important;
        margin: 0px !important;
    }
    i.fa.fa-check.fa-5x {
        margin-top: 30px;
        font-size: 100px;
        margin-bottom: 30px;
    }
    .servicii-titlu{
        display: none;
    }
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    h3 {
        font-size: 16px;
        font-weight: 700;
    }
    .flip h5 {
        font-size: 16px;
    }
    .flip h4 {
        color: #801E57;
        font-size: 14px;
        margin-top: 5px;
    }
    .bod {
        width: 50%;
        padding-right: 2px;
        padding-left: 2px;
        padding-top: 100px;
    }
    #map {
        width: 100%;
        height: 200px;
    }
    .mobile-ribbon-headings{
        padding:10px 0;
        text-align: center;
        color:#FFF;
    }
    .mobile-ribbon-headings h2{
        font-size: 24px;
    }
    .bod{
        width:48%;
    }
}
/* Apple IPhone 6 plus 414 x 736px */
@media (max-width: 414px){
    .serv{
        margin:0;
    }
    .flip .card{
        margin-bottom: 10px;
    }
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .bod {
        width: 100%;
        padding-right: 2px;
        padding-left: 2px;
        padding-top: 100px;
    }
    .ima img{
        height: 160px;
        width:100%;
    }
    .inner {
        height: 160px !important;
        margin: 0px !important;
    }  
    i.fa.fa-check.fa-5x {
        margin-top:25px;
        font-size:70px;
        margin-bottom: 30px;
    }
    .triangle{
        width: 0;
        left: 1210px;
        top: 4px;
        height: 0;
        border-style: solid;
        border-width: 80px 80px 0 0;
        border-color: #543F50 /*rgb(137, 12, 88)*/ transparent transparent transparent;
        position: absolute;
    }
    .pret{
        position: absolute;
        top: -64px;
        left: -22px;
        width: 100px;
        font-size: .9em ;
        text-transform: uppercase !important;
        line-height: 1em !important;
        color: #FFF !important;  
    }
    .mobile-ribbon-headings{
        padding: 0;
        text-align: center;
        color:#FFF;
    }
    .btn-primary{
        padding:10px;
    }
    .mobile-ribbon-headings h2{
        font-size: 26px;
        padding:20px 0;
    }
    .pret-none{
        display: none;
    }

    .flip h4{
        font-size: 12px;
        color:#FFF;
    }
    .flip h5 {
        font-size: 16px;
        float: left;
    }
    .card-text span{
        display: block;
        float:left;
        width:10%;
        margin: 0;
        padding:0;
    }
    .card-text h5{
        width:90%;
        text-align: left;
    }
    .next-servicii{
        display: none;
    }
    .card-text-notmobile{
        display: none; 
    }
    .card-text-mobile{
        display: block; 
    }
}

/* Apple IPhone 5   320 x 568px */
@media (max-width: 320px){
    .flex-body{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    h3 {
        font-size: 16px;
        font-weight: 700;
    }
    .ima img{
        height: 140px;
        width:100%;
    }
    .inner {
        height: 140px !important;
        margin: 0px !important;
    }  
    i.fa.fa-check.fa-5x {
        margin-top:19px;
        font-size:30px;
    }
    .triangle{
        width: 0;
        left: 1210px;
        top: 4px;
        height: 0;
        border-style: solid;
        border-width: 80px 80px 0 0;
        border-color: #543F50 /*rgb(137, 12, 88)*/ transparent transparent transparent;
        position: absolute;
    }
    .pret{
        position: absolute;
        top: -61px;
        left: -24px;
        width: 100px;
        font-size: .9em ;
        text-transform: uppercase !important;
        line-height: 1em !important;
        color: #FFF !important;  
    }
    #map {
        width: 100%;
        height: 200px;
    }
    .mobile-ribbon-headings{
        padding:10px 0;
        text-align: center;
        color:#FFF;
    }
    .mobile-ribbon-headings h1 {
        font-size: 16px;
        margin:2px 5px;
        display:none;
    }
    .mobile-ribbon-headings h2 {
        font-size: 17px;
        padding: 0 50px;
        margin: 20px 0;
    }

    .card-text h5{
        margin:0 0 10px 0;
        font-size:14px;
    }
    .serv{
        height: 200px;
    }
}
