.header {
    position: relative;
    z-index: 30;
}

.header .header-wrapper {
    position: fixed;
    width: calc(100% - 48px);
    top: 0;
    left: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0F0F0F !important;
    z-index: 15;
    transition: background-color 0.3s ease-out;
}

.home.page-template-default .header .header-wrapper.open {
    background-color: #0F0F0F !important;
}

.header .logo {
    cursor: pointer;
}

.header .logo svg, 
.header .logo h1 {
    width: 121px;
    height: 20px;
    display: block;
}

.header .wrapper-rigth .toggle-menu {
    height: 48px;
    width: 29px;
    box-sizing: border-box;
    cursor: pointer;
    outline: none;
}

.header .wrapper-rigth .toggle-menu .burger-icon {
    position: relative;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.header .wrapper-rigth .toggle-menu .burger-icon, 
.header .wrapper-rigth .toggle-menu .burger-icon:before, 
.header .wrapper-rigth .toggle-menu .burger-icon:after {
    display: block;
    width: 26px;
    height: 3px;
    outline: 1px solid transparent;
    background-color: #ffffff;
    transition-property: background-color, transform;
    transition-duration: .3s;
}

.header .wrapper-rigth .toggle-menu .burger-icon:before, 
.header .wrapper-rigth .toggle-menu .burger-icon:after {
    position: absolute;
    content: "";
}

.header .wrapper-rigth .toggle-menu .burger-icon:after {
    top: 7px;
}

.header .wrapper-rigth .toggle-menu .burger-icon:before {
    top: -7px;
}

.header .wrapper-rigth .toggle-menu.active .burger-icon {
    background-color: transparent;
    outline: none;
}

.header .wrapper-rigth .toggle-menu.active .burger-icon:after {
    transform: translateY(-7px) rotate(-45deg);
}

.header .wrapper-rigth .toggle-menu.active .burger-icon:before {
    transform: translateY(7px) rotate(45deg);
}

.header .wrapper-rigth .cta-btn,
.header .wrapper-rigth .open-search {
    display: none;
}

.header .menu-list {
    margin-bottom: 35px;
    max-height: calc(100% - 160px);
    overflow: auto;
}

.header .menu-list::-webkit-scrollbar {
    width: 2px;
    height: 6px;
}

.header .menu-list::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.header .menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header .menu-list ul .menu-item {
    box-sizing: border-box;
    padding: 25px 0;
    width: 100%;
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 500;
    transition: 150ms linear;
    position: relative;
    border-bottom: solid 1px #ffffff;
}
.header .menu-list ul .menu-item a {
    box-sizing: border-box;
    width: 100%;
    font-size: 1.25rem;
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    transition: 150ms linear;
    text-decoration: none;
}

.header .menu-list .sub-menu {
    display: none;
}

.header .menu-list ul .open-sub-menu:after,
.header .menu-list ul .menu-item.close .open-sub-menu:after,
.header .menu-list ul .open-sub-menu::before,
.header .menu-list ul .menu-item.close .open-sub-menu:before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 14px;
    height: 2px;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
    transition: transform 100ms linear;
}

.header .menu-list ul .open-sub-menu::before,
.header .menu-list ul .menu-item.close .open-sub-menu:before {
    width: 2px;
    height: 14px;
    right: 6px;
}

.header .menu-list ul .menu-item.open .open-sub-menu:after {
    top: 17px;
}

.header .menu-list ul .menu-item.open .open-sub-menu::before {
    display: none;
}

.header .menu-list ul .menu-item.open .sub-menu {
    display: block;
    padding: 10px 0 0;
}

.header .menu-list ul .menu-item.open .sub-menu a,
.header .menu-list ul .menu-item.open .sub-menu .menu-item {
    border-bottom: none;
}

.header .menu-list ul .menu-item.open .sub-menu .menu-item a {
    color: #FFFFFF;
    font-family: 'Helvetica';
    font-weight: 500;
    text-decoration: none;
    font-size: 1.25rem;
}

.header .cta-social-networks {
    position: absolute;
    bottom: 25px;
}

.header .cta-button {
    display: none;
    cursor: pointer;
}

.header .sidebar-header .cta-button {
    border: 2px solid #d8d8d8;
    color: #FFFFFF;
    padding: 9px 40px;
    margin-bottom: 35px;
    display: inline-block;
    transition: 0.3s ease-out;
}

.header .cta-button:hover {
    background-color: #d8d8d8;
    border: 2px solid #0F0F0F;
    color: #0F0F0F;
}

.header .sidebar-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 76px 0;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 250ms ease-in-out;
    overflow: inherit;
    background-color: #0F0F0F;
}

.header .sidebar-header.opened {
    transform: translateX(0);
}

.header .search-desktop {
    display: none;
}

.header .social-midias a {
    text-decoration: none;
}

.header .social-midias svg {
    margin-right: 28px;
    height: 24px;
}

.header .header-black {
    display: block;
    background-color: #0F0F0F;
    height: 56px;
    width: 100%;
    position: fixed;
    top: -80px;
}

.header-white-position-observer {
    position: absolute;
    top: 30px;
}

.header .search-icon {
    display: none;
    cursor: pointer;
    outline: none;
}

.header .open-sub-menu {
    cursor: pointer;
}

.lightbox-modal {
    background-color: rgba(15, 15, 15, 0.71);
}

.lightbox-modal .form-modal {
    margin: 64px 25px;
    overflow-y: scroll;
    max-height: calc(100% - 128px);
    position: relative;
    z-index: 2;
}

.lightbox-modal .form-modal::-webkit-scrollbar {
  width: 4px;
  height: 2px;
}

.lightbox-modal .form-modal::-webkit-scrollbar-thumb {
  background: #0f0f0f;
  border: 0px none #0f0f0f;
  border-radius: 50px;
}

.lightbox-modal .form-modal::-webkit-scrollbar-track {
  background: #ffffff;
  border: 0px none #ffffff;
  border-radius: 50px;
}

.lightbox-modal .form-modal::-webkit-scrollbar-corner {
  background: transparent;
}

.lightbox-modal .close-modal {
    position: fixed;
    top: 64px;
    left: 25px;
    right: 25px;
    background-color: #ffffff;
    height: 40px;
    z-index: 5;
}

.lightbox-modal .close-modal .close {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 22px;
    right: 16px;
    outline: none;
    cursor: pointer;
}

.lightbox-modal .close-modal .close:before {
    content: "";
    position: absolute;
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000000;
    transform: rotate(-45deg);
}

.lightbox-modal .close-modal .close::after {
    content: "";
    position: absolute;
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000000;
    transform: rotate(45deg);
}

.lightbox-modal .form-modal .form {
    background-color: #ffffff;
    padding-top: 30px;
}

.lightbox-modal .form-modal .infos-modal {
    background-color: #fff;
    padding: 40px 24px 0;
}

.lightbox-modal .form-modal .infos-modal .title-modal {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.lightbox-modal .form-modal .infos-modal .description-modal {
    font-size: 1.125rem;
    color: #7E7E7E;
}

.lightbox-modal .form-modal .form .cta-button {
    background-color: transparent;
}

.lightbox-modal .overlay {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@media(min-width: 768px) {
    .header .header-wrapper {
        height: 70px;
        width: calc(100% - 96px);
    }

    .header .logo svg, 
    .header .logo h1 {
        width: 145px;
        height: 23px;
    }

    .header .wrapper-rigth {
        display: flex;
        align-items: center;
    }

    .header .wrapper-rigth .cta-button {
        display: block;
        margin-right: 33px;
    }

    .header .sidebar-header {
        max-width: 439px;
        padding: 32px 0 32px 48px;
        top: 70px;
        height: calc(100% - 70px);
    }

    .header .sidebar-header .cta-button,
    .header .sidebar-header .dynamic-search {
        display: none;
    }

    .header .sidebar-header.opened .menu-list {
        margin: 0 48px;
        max-height: calc(100% - 47px);
    }

    .header .overlay.show {
        width: 100%;
        height: calc(100% - 70px);
        position: fixed;
        top: 70px;
        right: 439px;
        background-color: #0000005E;
        transition: 300ms linear;
    }

    .header .header-black {
        display: block;
        background-color: #0F0F0F;
        height: 70px;
        width: 100%;
        position: fixed;
        top: -80px;
    }

    .header .wrapper-rigth .toggle-menu .burger-icon:after {
        top: 9px;
    }
    
    .header .wrapper-rigth .toggle-menu .burger-icon:before {
        top: -9px;
    }

    .header .wrapper-rigth .toggle-menu.active .burger-icon:after {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .header .wrapper-rigth .toggle-menu.active .burger-icon:before {
        transform: translateY(9px) rotate(45deg);
    }
    

    .header .wrapper-rigth .toggle-menu .burger-icon, 
    .header .wrapper-rigth .toggle-menu .burger-icon:before, 
    .header .wrapper-rigth .toggle-menu .burger-icon:after {
        width: 29px;
    }

    .header .search-icon {
        margin: 3px 33px 0 0;
        display: inline-block;
        width: 29px;
        text-align: center;
    }

    .header .cta-button {
        margin: 0 35px 0 0;
        display: inline-block;
        border: 2px solid #d8d8d8;
        color: #FFFFFF;
        padding: 9px 52px;
    }

    .header .wrapper-rigth .toggle-menu.search-desktop {
        display: block;
    }

    .header .search-desktop {
        display: block;
    }

    .lightbox-modal {
        background-color: rgba(15, 15, 15, 0.71);
    }
    
    .lightbox-modal .form-modal {
        margin: 71px auto;
        overflow-y: scroll;
        width: calc(100% - 130px);
        max-height: calc(100% - 142px);
        position: relative;
        max-width: 638px;
    }
    
    .lightbox-modal .form-modal .form {
        padding-top: 40px;
    }
    
    .lightbox-modal .form-modal .infos-modal {
        padding: 30px 74px 0;
    }

    .lightbox-modal .close-modal {
        left: 0;
        right: 0;
        width: calc(100% - 130px);
        max-width: 638px;
        margin: 0 auto;
    }
}

@media(min-width: 1366px) {
    .header .header-wrapper {
        width: calc(100% - 192px);
    }

    .header .wrapper-rigth .cta-btn {
        margin-right: 20px;
        margin-left: 30px;
        white-space: nowrap;
    }

    .header .wrapper-rigth .open-search {
        display: block;
        cursor: pointer;
        width: 25px;
        height: 25px;
    }

    .header .wrapper-rigth .open-search svg {
        width: 23px;
        height: 23px;
    }

    .header .sidebar-header {
        padding-top: 70px;
    }

    .header .sidebar-header .container,
    .header .sidebar-header.opened .menu-list {
        margin-left: 0;
        margin-right: 99px;
    }

    .header .sidebar-header.opened .menu-list {
        margin-bottom: 40px;
    }
    
    .header .cta-social-networks {
        position: relative;
        bottom: 0;
    }

    .lightbox-modal .form-modal {
        margin-top: 96px;
        margin-bottom: 96px;
        max-height: calc(100% - 192px);
    }

    .lightbox-modal .form-modal .infos-modal {
        padding: 0 74px 0;
    }

    .lightbox-modal .form {
        padding-left: 74px;
        padding-right: 74px;
    }
}

@media(min-width: 1440px) {
    .header .header-wrapper {
        width: 1174px;
    }

    .header .header-wrapper.padding-container {
        padding: 0 96px;
        width: 100%;
        box-sizing: border-box;
    }
}
