@media (min-width: 992px) and (max-width: 1200px){
    .driver-pin {
        right: 1%;
    }
    .tabs .nav-tabs .tab_1 {
        margin: 0px 18px;
    }
    .ph-1 {
        height: 566px;
        position: absolute;
        right: 239px;
        top: -55px;
        z-index: 300;
    }
    .ph-2 {
        height: 503px;
        position: absolute;
        z-index: 200;
        top: -27px;
        right: 64px;
    }
    .ph-3 {
        height: 445px;
        position: absolute;
        right: -56px;
        z-index: 100;
        top: 0px;
    }
}


@media (min-width: 1450px) {
    .ph-3 { 
        height: 550px;
        position: absolute;
        right: 1px;
        z-index: 100;
        top: -68px;
    }
    .ph-2 {
        height: 610px;
        position: absolute;
        z-index: 200;
        top: -95px;
        right: 213px;
    }
    .ph-1 {
        height: 650px;
        position: absolute;
        right: 464px;
        top: -116px;
        z-index: 300;
    }
}

@media (min-width: 1200px) {
    .margin-top {
        margin-top: -65px;
    }
    #contact .btn {
        width: 300px !important;
    }
}
@media (max-width: 1200px) {
    .url-sys-gdpr .gdpr {
        padding-top: 120px;
    }
}

@media (min-width: 992px) {
    #contact .btn {
        width: 240px;
        position: absolute;
        right: 13px;
        bottom: 6px;
    }
}

@media (min-width: 776px) and (max-width: 992px){
    .center-grid {
        margin-bottom: 100px;
    }
    .url-sys-gdpr .gdpr {
        padding-top: 160px;
    }
}


@media (max-width: 992px){
    .img-tab {
        margin-top: 15px;
    }
    .driver-pin {
        display: none
    }
    .flex-benefits {
        display: block;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 25px;
        margin-right: 25px;
    }
    #benefits h3 {
        font-size: 24px;
        font-weight: bold;
    }
    #benefits {
        display: block;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .cars-section {
        display: block;
        text-align: center;
        height: auto;
        padding-bottom: 20px;
    }
    .cars-text {
        width: 100%;
        margin: 15px auto;
    }
    #app-leone-id {
        display: block;
        height: auto;
    }
    .tabs .nav-tabs li {
        width: 50%;
    }
    .tabs .nav-tabs .tab_1 {
        margin: 0 ;
    }
    .card-abs {
        position: initial;
    }
    .back-taxi {
        margin: 15px auto;
    }
}

@media (max-width: 767px){
    .card-abs {
        margin-left: -15px;
        margin-right: -15px;
    }

    #driver {
        padding-left: 15px;
        padding-right: 15px;
    }
    .content-banner {
        margin-top: 20em;
    }

    .btn-download-resp {
        margin-bottom: 20px;
        display: flex;
        flex-direction: initial;
    }
    #margin-desc {
        text-align: center;
    }
    .footer-mobile {
        margin-top: 3em;
        text-align: left;
        margin-left: 25px;
        margin-right: 25px;
    }
    #footer-data h3 {
        font-size: 24px;
        font-weight: bold;
    }
    .container.tabs a[data-toggle="tab"] {
        font-size: 24px !important;
        font-weight: bold !important;
    }
    .tab .nav.nav-tabs {
        justify-content: center;
    }
    .cars-question {
        font-size: 24px;
        font-weight: bold;
    }
    .field-gdpr-inline_cfg {
        margin-top: 1em;
    }
    #driver-anim {
        margin-bottom: 1em;
    }
    .btn.btn-success.btn-block.btn-contact-submit {
        margin-top: 2em;
    }
    .ul-margin {
        margin-left: 15px;
        margin-right: 15px;
    }
    #contact .tab li.active a::after {
        bottom: 14px;
    }
    .coming {
        /*width: 19em;*/
        width: 100% !important;
        left: -4% !important;
    }
    .flex-talk {
        width: 100%;
        display: flex;
        float: right;
        align-items: center;
        justify-content: center;
        position: absolute;
        /*bottom: 5%;*/
        right: 0%;
        margin-bottom: 1em;
    }

    .link-footer {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        width: 20%;
    }
    .social-size {
        width: 22px;
        height: 22px;
    }
    #align-social {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .cars-section {
        padding-bottom: 0px;
    }

    .title-card {
        font-size: 24px;
        font-weight: bold;
    }

    .back-leonego, .back-taxi, .back-another {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .title-card {
        margin-top: 0;
    }
    .col-md-6.who-anim {
        margin-top: 4em;
    }
    .container.card-abs{
        padding-left: 18px;
        padding-right: 18px;
    }
    .desc-tab, p, #driver-text, #corporate-text, #app-leone-id li, .cars-text, .subtitle-banner {
        /*margin-left: 1em;*/
        font-size: 14px;
        /*margin-right: 1em;*/
    }

    .banner-pay {
        font-size: 20px;
    }

    .title-banner {
        margin-left: 2em;
        font-size: 24px;
        margin-right: 2em;
        font-weight: bold;
    }

    .col-md-6 .who-anim {
        margin-top: 2em;
    }

    .url-sys-gdpr .gdpr {
        padding-top: 100px;
    }
    .navbar-right .langs {
        text-align: center;
        float: inherit !important;
        width: 77px;
        margin: auto;
    }
    #corporate {
        height: auto;
        padding-bottom: 60px;
        padding-top: 220px;
        background-position: 100% 0 !important;
        background-size: auto 36% !important;
        position: relative;
    }
    #white-back-corporate {
        width: 100%;
        height: auto;
        position: absolute;
        left: 0;
        bottom: 0;
    }
    
    #corporate::before{
        background: rgb(0,0,0);
        background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 34%, rgba(0,0,0,1) 100%) !important;
    }

    .height-phones {
        position: relative;
        /*height: 450px;*/
        height: 35em;
    }
    .ph-1 {
        height: 300px;
        position: absolute;
        right: 33%;
        top: 17%;
        z-index: 300;
        width: auto;
    }
    .ph-2 {
        height: 250px;
        position: absolute;
        z-index: 200;
        top: 20%;
        right: 13%;
    }
    .ph-3 {
        height: 200px;
        position: absolute;
        right: -2%;
        z-index: 100;
        top: 24%;
    }
    .tabs .nav-tabs li {
        width: 100%;
    }
    #footer-data {
        display: block;
        height: auto;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .img-responsive-767 {
        max-width: 100%;
        height: auto;
    }
    .flex-cr {
        display: block;
    }
    #develop-by {
        text-align: center;
    }
    #footer-cr {
        display: block;
        height: auto;
        padding: 15px 0;
        text-align: center;
    }
    .back-banner {
        background-position: 0 top;
        position: relative;
        /*background-position: -32em 8em !important;*/
    }
    call-talk {
        font-size: 20px;
    }
    #driver{
        position: relative;
    }
    #driver::before,
    #corporate::before,
    .back-banner::before{
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.7);
        z-index: 0;
    }
    #driver * {
        z-index: 1;
    }
    .banner-anim {
        padding: 40px 0;
    }

    .flex-right {
        display: flex;
        flex-direction: initial;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .flex-right > a {
        display: block;
        float: none;
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
    #driver{
        height: auto;
        /*padding: 40px 0;*/
        padding-bottom: 6em;
        padding-top: 4em;
    }

    .driver-scribble {
        right: 0;
    }

    .container.tabs {
        padding-top: 2em;
    }

    #contact {
        margin-bottom: 4em;
    }
}

@media (max-width: 500px){
    #driver {
        padding-top: 16em;
    }
    .h3-about-us{
        text-align: center;
    }
    .flex-right > a {
        transform: scale(0.85);
        margin-left: 0;
        margin-right: 0;
    }
    .flex-right {
        left: 0;
        position: absolute;
    }
    .flex-left > a {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    .btn-big {
        width: 11em;
        height: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
    .back-banner {
        min-height: 53.5em;
    }
    .call-talk {
        font-size: 20px;
    }
    .cars-question {
        font-size: 33px;
        line-height: 35px;
        margin-top: 0;
    }
    /*.driver-text2 {*/
    /*    margin-top: 70px;*/
    /*}*/
    .btn-download-resp {
        margin-bottom: 20px;
        display: flex;
    }
    #contact .field-gdpr-inline_fg ,
    #corporate .field-gdpr-inline_fg {
        display: inline-flex;
        align-items: flex-start;
    }
    #corporate .field-gdpr-inline_fg span ,
    #corporate .field-gdpr-inline_fg label {
        text-align: left !important;
    }
    #corporate .field-gdpr-inline_fg input {
        margin-top: -2px;
    }
    #contact .field-gdpr-inline_fg label {
        margin-left: 5px;
    }
    #contact .field-gdpr-inline_fg input {
        margin-top: 4px;
    }
    #app-leone-id .cars-question {
        text-align: center;
    }
    .flex-talk {
        bottom: 5%;
    }
    .flex-relativ-btn.btn-anim {
        display: inline-grid;
        margin-top: 2em;
        margin-bottom: 2em;
    }
    #driver .btn-register-driver {
        margin-left: 2em;
        margin-bottom: 3em;
        margin-right: 2em;
    }
    #driver-text {
        width: auto;
        margin-left: 2em;
        margin-right: 2em;
    }
    #text-left {
        text-align: center;
        padding-left: 25px;
        padding-right: 25px;
    }
    #corporate-text {
        width: auto;
        text-align: center;
    }
    .cars-question {
        margin-left: 2em;
        margin-right: 2em;
        font-size: 24px;
        margin-top: 1em;
        font-weight: bold;
    }
    .cars-question-small {
        font-size: 24px;
        font-weight: bold;
    }
    .driver-text2 {
        margin-top: 2em !important;
    }
    .col-md-6.who-anim {
        padding-left: 23px;
        padding-right: 23px;
    }

    .back-app-client {
        padding-left: 15px;
        padding-right: 15px;
    }

    .btn-register-driver {
        margin-top: 2em;
        display: block;
    }
    .banner-pay {
        text-align: center;
    }
    .img-tab-abs {
        position: absolute;
        top: 9%;
        left: 39%;
        height: 95px;
    }
    .title-banner {
        margin-bottom: 30px;
        text-align: center;
    }
    .subtitle-banner {
        text-align: center;
    }
    .driver-scribble {
        right: 19px;
        top: -29px;
    }
    .flex-relativ-btn {
        position: relative;
        display: grid;
        justify-content: center;
    }
    .margin-r-5 {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 10px;
    }
    /*.flex-right {
        display: grid;
        justify-content: center;
        float: inherit;
    }*/
    .tabs .nav-tabs .tab_0 a{
        background-position-x: 10px;
        text-align: center;
        width: 90%;
        padding-left: 21%;
    }
    .tabs .nav-tabs .tab_1 a{
        background-position-x: 10px;
        text-align: center;
        width: 90%;
        padding-left: 21%;
    }
    .tabs .nav-tabs .tab_2 a{
        background-position-x: 10px;
        text-align: center;
        width: 90%;
        padding-left: 21%;
        padding-top: 7%;
    }
}

@media (max-width: 380px){
    #corporate .btn-register-driver{
        padding-top: 16px;
        padding-bottom: 16px;
        padding-right: 20px;
        padding-left: 20px;
    }
    .coming {
        width: 207px;
        height: 151px;
        position: absolute;
        left: 8%;
        top: 8%;
    }
    .img-tab {
        width: 222px;
        height: 217px;
    }
    .driver-scribble {
        /*right: -10px;*/
        top: -29px;
        width: 50px;
        height: 59px;
    }
}