.footer-logo {
    width: 12rem;
    height: 7rem;
}

footer {
    background: #F2F2F2;
}

.sn {
    background: #E0E0E0;
}

.sn svg {
    fill: #235877;
    width: 18px;
    height: 18px;
}

.nav-active-context {
    color: #235877;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-color: #DB9944;
    width: fit-content;
}

.nav-context {
    color: #464646;
    font-weight: normal !important;
}

a:hover {
    color: #DB9944;
}

.btn-primary {
    background-color: #DB9944;
    border-color: #DB9944;
}

.btn-secondary {
    background-color: #235877;
    border-color: #235877;
}

.btn-primary .shadow {
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25))
}

.btn-outline-primary {
    border-color: #DB9944;
    color: #ffffff;
}

.black {
    color: #464646;
}

.text-black {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    margin-top: 8px;
    /* Black */
    color: #464646;
}

.blue {
    color: #235877;
}

.btn-outline-primary:hover {
    background-color: #235877;
    border-color: #235877;
}

.btn-primary:hover {
    background-color: #235877;
    border-color: #235877;
}


.banner {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url(../images/home/main-banner.jpg) no-repeat 50% 50%;
    background-size: cover;
    padding-top: 255px;
    padding-bottom: 240px
}


.banner.banner-company {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url(../../site/res/img/homepage-slider/slider-bg4.jpg) no-repeat 50% 50%;
    padding-top: 120px;
    padding-bottom: 120px;
}

.fixed-header-elevated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: #fff;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.bounce{
    animation: bounce 1s infinite alternate;
    -webkit-animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}
@-webkit-keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

.visa-card-section-title {
    color: #DB9944;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    /* identical to box height */
    text-transform: capitalize;
}

.qr-code-section-title {
    color: #ffffff;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    /* identical to box height */
    text-transform: capitalize;
}

.qr-code-container {
    position: absolute;
    top: 150px;
}

.qr-code-section-desc {
    font-style: normal;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 30px;
    /* Black */
    color: #231F20;
}

.visa-card-section-desc {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    /* Text */
    color: #464646;
    margin-top: 20px;
    margin-bottom: 20px;
}


/*+++++++++++++++++ Auth style ++++++++++++++++++*/
.auth-left-panel {
    background: linear-gradient(0deg, rgba(168, 168, 177, 0.1), rgba(168, 168, 177, 0.1));
}

.box {
    height: calc(100% - 85px);
}

.auth-left-panel image {
    padding-top: 10%;
    padding-bottom: 10%;
    padding-right: -100px;
}

.auth-container {
    padding-left: 200px;
    padding-right: 200px;
    margin-bottom: auto;
    margin-top: auto;
}

.auth-cover {
    right: -75px;
}

.auth-container .form-switch {
    padding-left: 3.5em;
}

.page-title {
    color: #DB9944;
    font-style: normal;
    font-weight: bold;
    font-size: 23px;
}

.page-desc {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    /* Text */
    color: #464646;
    margin-top: 10px;
    margin-bottom: 40px;
}

/*--------- Auth style --------------*/

@media screen and (max-width: 767px) {

    .auth-left-panel {
        display: none;
    }

    .auth-container {
        padding-left: 50px;
        padding-right: 50px;
    }

    .carte-visa {
        display: none;
    }

    .online-payment {
        display: none;
    }

    .phone-qr-code {
        display: none;
    }

    .phone {
        width: fit-content;
        height: fit-content;
    }

    .card-section {
        position: relative;
    }

    .mobile{
        display: block;
    }

    .section-color{
        background-color: rgb(70, 70, 70,0.1);
        margin-top: 26px;
        padding-bottom: 16px;
        padding-top: 16px;
    }

    .not-mobile{
        display: none;
    }

    .qr-code-container {
        position: relative;
        margin-bottom: 26px;
        top: 0;
    }

    .phone {
        width: auto;
        height: auto;
    }

    .tpe-body{

    }

}


@media screen and (min-width:768px) and (max-width: 991px)  {



    .carte-visa {
        position: absolute;
        right: 0;
        width: auto;
       /* width: 300px;*/
        padding-top: 175px;
    }

    .online-payment {
        position: absolute;
        right: 0;
        width: auto;
        /* width: 300px;*/
        padding-top: 175px;
    }


    .auth-left-panel {
        display: none;
    }

    .auth-container {
        padding-left: 50px;
        padding-right: 50px;
    }

    .phone {
        width: fit-content;
        height: fit-content;
    }

    .card-section {
        position: relative;
    }

    .mobile{
        display: none;
    }

    .section-color{
        margin-top: 26px;
        padding-bottom: 16px;
        padding-top: 16px;
    }

    .not-mobile{
        display: none;
    }

    .qr-code-container {
        position: relative;
        margin-bottom: 26px;
        top: 0;
    }



}


@media screen and (min-width: 992px) {
    .card-section {
        position: absolute;
        left: 0;
        right: 0
    }

    .mobile{
        display: none;
    }

    .not-mobile{
        display: block;
    }

    .bg-left-rotate {
        transform: rotate(167deg);
        -ms-transform: rotate(167deg); /* IE 9 */
        -moz-transform: rotate(167deg); /* Firefox */
        -webkit-transform: rotate(167deg); /* Safari and Chrome */
        -o-transform: rotate(167deg); /* Opera */
        background: linear-gradient(0deg, rgba(219, 153, 68, 0.7), rgba(219, 153, 68, 0.7)), url(../../res/images/home/rotate_banner-1.jpg) no-repeat 50% 50%;
        background-size: cover;
        height: 450px;
        object-fit: cover;
        z-index: -1;
        margin-top: 375px;
        margin-left: -500px;
        margin-right: -500px;
        position: relative;
    }

    .bg-right-rotate {
        transform: rotate(-167deg);
        -ms-transform: rotate(-167deg); /* IE 9 */
        -moz-transform: rotate(-167deg); /* Firefox */
        -webkit-transform: rotate(-167deg); /* Safari and Chrome */
        -o-transform: rotate(-167deg); /* Opera */
        background: url(../../res/images/home/rotate_banner-2.jpg) no-repeat 50% 50%;
        background-size: cover;
        height: 750px;
        object-fit: cover;
        margin: 700px -500px 300px;
        position: relative;
    }

    .bg-company-right-rotate {
        transform: rotate(-167deg);
        -ms-transform: rotate(-167deg); /* IE 9 */
        -moz-transform: rotate(-167deg); /* Firefox */
        -webkit-transform: rotate(-167deg); /* Safari and Chrome */
        -o-transform: rotate(-167deg); /* Opera */
        background: linear-gradient(0deg, rgba(35, 88, 119, 0.7), rgba(35, 88, 119, 0.7)), url(../../res/images/home/rotate_banner-3.jpg) no-repeat 50% 50%;
        background-size: cover;
        height: 512px;
        object-fit: cover;
        margin: 700px -500px 300px;
        position: relative;
    }
}

.carte-visa {
    width: 456px;
}

.online-payment {
    padding-top: 100px;
    width: 456px;
}



.tpe {
    width: 750px;
}

.phone {
    width: 600px;
    height: 600px;
}

.phone-qr-code {
    width: 600px;
    height: 750px;
}

.tpe-body{

}

input {
    background: #FFFFFF;
    border: 1px solid #A8A8B1;
    box-sizing: border-box;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 8px;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    display: flex;
    align-items: center;

    /* Gray 3 */
    color: #828282;
}

input .shadow {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.banner .body .title {
    font-size: 38px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 24px;
    color: #ffffff;
}

.banner .body .title b {
    font-weight: 700
}

.banner .job-form .form-group .control-label {
    padding-left: 15px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #00aff0;
}

.banner .body .flat-banner-notification {
    font-size: 14px;
    font-family: Lato, sans-serif;
    text-align: center;
    color: #ffffff;
}


.banner .call-to-action {
    text-align: center;
    margin-top: 45px;
    margin-bottom: 25px
}

.bg-mask {
    position: relative
}

.bg-mask > * {
    position: relative;
    z-index: 1
}

body {
    overflow-x: hidden;
}

/** modal*/


@media only screen and (max-width: 768px) {
    .popup-inner {
        flex-direction: column;
    }

    .popup__photo-sm {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        height: 100%;
        overflow: hidden;
    }

    .popup__text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        width: initial;
        padding: 1rem;
    }
}


@media only screen and (min-width: 769px) {
    .popup__photo {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        width: 40%;
        height: 100%;
        overflow: hidden;
    }

    .popup__text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 60%;
        height: 100%;
        padding: 4rem;
    }
}

.popup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: 0.64s ease-in-out;
}
.popup-inner {
    position: relative;
    bottom: -100vw;
    right: -100vh;
    display: flex;
    align-items: center;
    max-width: 1000px;
    max-height: 700px;
    width: 70%;
    height: 90%;
    background-color: #fff;
    transform: rotate(32deg);
    transition: 0.64s ease-in-out;
}

.popup__photo img {
    width: auto;
    height: 100%;
}

.popup__text h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #0a0a0a;
}
.popup__text p {
    font-size: 0.875rem;
    color: #686868;
    line-height: 1.5;
}
.popup:target {
    visibility: visible;
    opacity: 1;
}
.popup:target .popup-inner {
    bottom: 0;
    right: 0;
    transform: rotate(0);
}
.popup__close {
    position: absolute;
    right: -1rem;
    top: -1rem;
    width: 3rem;
    height: 3rem;
    font-size: 0.875rem;
    font-weight: 300;
    border-radius: 100%;
    background-color: #0a0a0a;
    z-index: 4;
    color: #fff;
    line-height: 3rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

/** Carousel **/
@-webkit-keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}
.slider {
    background: white;
    height: 192px;
    margin: auto;
    overflow: hidden;
    position: relative;
}
.slider::before, .slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 192px;
    position: absolute;
    width: 200px;
    z-index: 2;
}
.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.slider::before {
    left: 0;
    top: 0;
}
.slider .slide-track {
    -webkit-animation: scroll 40s linear infinite;
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}
.slider .slide {
    height: 192px;
    width: 250px;
}



.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.goto-company {
    position: fixed;
    right: 100px;
    bottom: 65px;
    z-index: 1000;
    padding: 1rem 3.5rem 1rem 1.5rem;
    transition: 0.2s all;
    cursor: pointer;
    box-shadow: -12px -9px 0px #DB9944, 0px 0px 0px rgba(255, 255, 255, 0);
}
.goto-company p {
    padding: 0;
    margin: 0;
    color: white;
}
.goto-company:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "";
    position: absolute;
    right: 24px;
    transition: 0.2s all;
    opacity: 1;
    color: #DB9944;
}
.goto-company:after {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -999;
    content: "";
    background: #235877;
    height: 50px;
    width: 100%;
    transition: 0.3s all;
}

@media screen and (max-width: 460px) {
	
	.goto-company:after {
	    height: 75px;
	}
}
.goto-company:hover {
    background-color: #235877;
    box-shadow: 12px 9px 0px white, 18px 15px 0px #DB9944;
}
.goto-company:hover:before {
    position: absolute;
    right: 5px;
    opacity: 1;
}
.goto-company:hover:after {
    width: 50%;
}

a > .goto-company {
    color: #4a4a4e;
    text-decoration: none;
    transition: 0.2s;
    text-align: left;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
}
