@import url("reset.css");
@import url("font.css");
@import url("accordion.css");
@import url("language.css");

:root {
    --text: #000;
    --primary: #282e68;
    --primary-transparent: rgba(40, 46, 104, 0.9);
    --secondary: #5FBD47;
    --contrast: #181b36;
    --border-radius: 2px;
    --background: rgb(243, 243, 243);
    --highlight: #5FBD47;
    --bg-grey: #f0f7f7;
    --bg-babyblue: #E2EFF7;
    --bg-lightgreen: #D6EACC;
}

*{
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: 400 16px/160% 'Helvetica', sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    background: var(--background)
}

p {
    margin-bottom: 16px;
}

a {
    text-decoration: none;    
	transition: 0.3s;
}

a:hover {
    opacity: 0.5;
}

.dsa-secure-plugin a:hover {
    opacity: 1;
}

nav {
    z-index: 999;
    position: fixed;
    top: 0;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

nav .logo {    
    width: 300px;
}

nav .span {
    position: fixed;
    flex-direction: column;
    justify-content: space-between;
    display: none;
    height: 35px;
    width: 45px;
    top: 15px;
    right: 5%;
}


nav .span div {
    width: 100%;
    border-bottom: 5px solid var(--primary);
}

p a {
    font-weight: 700;
    color: var(--primary);
}

.button {
    display: inline-block;
    border: none;
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    text-decoration: none;
    font-weight: 700;
}

.button.secondary {
    background-color: var(--secondary);
}

.desktop-nav {
    width: 100%;
    text-align: right;
}

.desktop-nav a {
    padding: 0 10px;
    color: var(--primary);
    font-weight: 700;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    background-color: var(--primary);
    background-color: var(--primary-transparent);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
	padding: 12px;
	text-decoration: none;
	font-size: 180%;
	color: #fff;
	display: block;
}

.overlay .closebtn {
    position: absolute;
    font-size: 60px;
}

.overlay .closebtn {
    top: 20px;
    right: 5%;
}

.overlay a.closebtn {
    font-weight: 300;
}

.dse{
    font-size: 80%;
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 5%;
    background-color: var(--contrast);
    color: #fff;
    width: 290px;
    padding: 5px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.dse a {
    color: #fff;
}

.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    border-radius: var(--border-radius);
}

.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
}

.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

.responsive-slides{
    padding: 0 20px;
}

.responsive-slides img{
    width: 100%;    
    border-radius: var(--border-radius);
}

.responsive-slides a {
    padding: 0 5px;
}

.responsive-slides .slick-prev {
    left: 0;
    z-index: 999;
}

.responsive-slides .slick-prev::before, 
.responsive-slides .slick-next::before {	
	opacity: 1;
	color: var(--text);
}

.responsive-slides .slick-next {
    right: 0;
}

header {
    margin-top: 60px;
    aspect-ratio: 1920/900;
    overflow: hidden;
    position: relative;
}

header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.claim {
    position: absolute;
    top: 20%;
    left: 5%;
}

.claim .button {
    margin-top: 20px;
}

h1 {
    color: var(--primary);
    font-size: 450%;
    line-height: 100%;
}

h1 small {
    color: var(--secondary);
    font-weight: 700;
}

h2 {
    color: var(--primary);
    font-weight: 700;
    font-size: 300%;
    line-height: 100%;
    margin-bottom: 20px;
}

h2 small {
    text-transform: none;
    color: var(--secondary);
    font-size: 60%;
    display: block;
    margin-top: 15px;
}

h3 {
    color: var(--primary);
    font-weight: 700;
    font-size: 200%;
    line-height: 110%;
    margin-bottom: 20px;
}

h4 {
    color: var(--primary);
    font-weight: 700;
    font-size: 150%;
    margin-bottom: 15px;
}

h4 small {
    font-size: 60%;
    font-weight: 400;
    display: block;
}

h5 {
    font-size: 110%;
    font-weight: 700;
}

b {
    font-weight: 700;
}

span.secondary {
    color: var(--secondary)
}

article {
    width: 100%;
}

aside{
    position: fixed;
    display: flex;
    flex-direction: column;    
    z-index: 99;
    top: 35%;
    right: 0;
}

aside a {    
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    border-radius: 100px;
    padding: 15px;
    aspect-ratio: 1/1;
    margin-bottom: 5px;
}

aside a img {
    width: 30px;
    display: block;
}

aside a svg {
    color: #fff;
}

.container {
    padding: 100px 5%;
}

.section-1 h2{
    text-align: center;
}

.services{
    font-size: 120%;
    text-align: center;
    margin-bottom: 50px;
}

.boxes {
    display: flex;
}

.box {
    padding: 3%;
}

.text-box{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.img-box {
    background-color: var(--bg-babyblue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-box img {
    width: 100%;
    max-width: 500px;
}

.col-50 {
    width: 50%;
}

.col-33 {
    width: calc(100% / 3);
}

.col-66{
    width: calc(100% / 1.5);
}

.col-l {
    padding-right: 20px;
}

.col-r {
    padding-left: 20px;
}

.section-2 .col-m {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
}

.section-2 .boxes {
    margin-top: 50px;
    justify-content: center;
}

.section-2 h2 {
    text-align: center;
}

article ul.listing li{
    display: flex;
    justify-content: flex-start;
}

article ul.listing li a {
    color: var(--primary);
    font-weight: 700;
}

article ul.listing li::before {
    content: '';
    position: relative;    
    inset: auto auto -3px auto;
    display: block;
    height: 20px;
    width: 20px;
    margin-right: 7px;
    background: url('../images/theme/check.svg') no-repeat center/ contain;
} 

.section-3 .team-box{
    margin: 0 5px 0;
    max-width: 500px;
}

.section-3 h2 {
    text-align: center;
}

.section-3 .team-box img {
    width: 100%;
}

.section-3 .team-box .text-box{
    padding: 5%;
    background-color: var(--bg-grey);
}

.section-3 ul {
    margin-bottom: 10px;
}

.section-3 .img-box {
    aspect-ratio: 6/5;
    width: 100%;
}

.section-3 .img-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-width: none;
}

.tab-content h3{
    text-align: center;
}

.slick-prev::before, .slick-next::before {
	opacity: 1;
	color: var(--primary);
}

.accordion{
    max-width: 1250px;
    margin: auto;
}

.slick-next{
    right: -15px;
}

.slick-prev{
    left: -15px;
    z-index: 99;
}

article:nth-of-type(even){
    background-color: #fff;
}

.section-4 h2{
    text-align: center;
}

.section-4 p {
    text-align: center;
}

.section-5 h2 {
    text-align: center;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.section-5 .col-33 img{
    width: 100%;
    max-width: 500px;
}

.section-5 iframe {
    width: 100%;
    height: 1400px
}

.section-6{
    background: url('../images/theme/background.webp') no-repeat center / cover;
}

.section-6 h2 {
    text-align: center;
}

.section-6 #dsa-rating-view, .section-6 form {
    max-width: 1024px;
    width: 100%;
}

.section-6 .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    background-color: var(--primary);
    color: #fff;
}

footer h2, footer h3, footer h4, footer h5, footer h6{
    color: #fff;
}

footer h2 small, footer h3 small, footer h4 small, footer h5 small, footer h6 small{
    color: var(--secondary);
}

footer p a {
    color: var(--secondary)
}

.slick-next {
	right: 0!important;
}

.slick-prev {
	left: 0!important;
}

#form-container {
    width: 100%;
    max-width: 1024px;
}

@media screen and (max-width: 1150px) {
    nav .span {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    h1 {
        font-size: 300%;
    }

    .container {
        padding: 50px 5%;
    }   
}

@media screen and (max-width: 1000px){
    .col-50, .col-33, .col-66{
        width: 100%;
    }

    .col-l, .col-r {
        padding: 0;
    }

    .boxes {
        flex-direction: column;
    }

    .section-1 .boxes:nth-of-type(2){
        flex-direction: column-reverse;
    }

    .section-2 .boxes {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .section-2 .boxes .col-33:first-of-type{
        width: 100%;
        margin-bottom: 20px;
    }

    .section-2 .boxes .col-33{
        width: 50%;
    }     
    
    .section-2 .col-r {
        padding-left: 20px;
    }

    .section-5 iframe {
        height: 1200px;
    }
}

@media screen and (max-width: 800px) {
    .claim {
        position: static;
        background-color: var(--primary);
        padding: 50px 5%;
    }

    .claim .button {
        background-color: var(--secondary);
        margin-top: 10px;
    }

    .claim .button.secondary{
        color: var(--primary);
        background-color: #fff;
    }

    header {
        aspect-ratio: auto;
    }

    header img {
        display: block;
    }

    h1 {
        color: #fff;
    }

    aside a img {
        width: 17px;
        display: block;
    }
}

@media screen and (max-width: 740px) {
    .section-2 .boxes .col-33{
        width: 100%;
    }

    .section-2 .col-r {
        padding-left: 0;
    }

    .section-2 .boxes .col-33:first-of-type{
        margin-bottom: 0;
    }

    .section-2 .boxes .col-33:nth-of-type(2){
        margin-top: 20px;
        max-width: none;
        order: 3;
    }

    .section-2 .boxes .col-33 img {
        max-width: 500px;
    }

    .tab-label,
    .tab__close {  
        font-size: 120%;  
    }
}

@media screen and (max-width: 550px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 200%;
    }

    .claim {
        padding: 25px 5%;
    }

    nav {
        padding: 10px 5%;
    }

    nav .logo {
        width: 200px;
    }

    header {
        margin-top: 50px;
    }

    .dropdown .dropbtn{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown .dropbtn img {
        width: 30px;
    }

    .dropdown u {
        display: none;
    }

    nav .span {       
        top: 17px;
        right: calc(5% + 75px);
    }

    .button {
        padding: 7px 14px;
    }

    h3 {       
        font-size: 150%;
    }

    h2 {
        font-size: 240%;
        margin-bottom: 10px;
    }

    .services {
        margin-bottom: 20px;
    }

    .box {
        padding: 5%;
    }

    aside {
        top: auto;
        bottom: 40px;
        flex-direction: row;
        right: 5%;
    }

    aside a {       
        margin-bottom: 0;
        margin-left: 5px;
    }
}

@media screen and (max-width: 380px) {
    .dropdown .dropbtn {
        padding: 11px 10px;
    }

    nav .logo {
        width: 160px;
    }

    nav .span {
        top: 15px;
        right: calc(5% + 62px);
        height: 31px;
        width: 42px;
    }
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}