/*
 Theme Name:   Divi Child
 Theme URI:    https://www.elegantthemes.com/gallery/divi/
 Description:  Divi Child Theme
 Author:       Viko Designs
 Author URI:   https://www.vikodesigns.co.za
 Template:     Divi
 Version:      1.0
 Text Domain:  divi
*/


/**** rules & common ****/

.account-button {
    color: #F2F2F2 !important;
    border: 1px solid #ffffff;
    border-radius: 3px;
    letter-spacing: 2px;
    font-size: 13px;
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 600 !important;
    background-color: #0C71C3;
    padding: 5px 20px !important;
    text-transform: uppercase;
    min-width: 230px;
    text-align: center;
}

.call-button {
    color: #F2F2F2 !important;
    border: 1px solid #ffffff;
    border-radius: 3px;
    letter-spacing: 2px;
    font-size: 13px;
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 600 !important;
    background-color: #1AB394;
    padding: 5px 20px !important;
    text-transform: uppercase;
    min-width: 230px;
    text-align: center;
}

.learn-button {
    color: #F2F2F2 !important;
    border: 1px solid #ffffff;
    border-radius: 3px;
    letter-spacing: 2px;
    font-size: 13px;
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 600 !important;
    background-color: #00243F;
    padding: 5px 20px !important;
    text-transform: uppercase;
    min-width: 230px;
    text-align: center;
}

/**** header ****/

#et-boc .et_pb_section_0_tb_header {
    width: 100%;
    z-index: 10010;
    transition: transform .38s ease-in-out, opacity .38s ease-in-out;
    will-change: transform;
}

#et-boc .et_pb_section_0_tb_header.header--hidden {
    transform: translateY(-100%);
    pointer-events: none;
    opacity: 0;
}

#page-container #main-content h1, #page-container #main-content h2, #page-container #main-content h3, #page-container #main-content h4, #page-container #main-content h5, #page-container #main-content h6 {
    font-family: "Actor", Helvetica, Arial, Lucida, sans-serif !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

#page-container #main-content h1 span, #page-container #main-content p, #page-container #main-content p span, #page-container #main-content li, #page-container #main-content li a  {
    font-family: "Open Sans", Helvetica, Roboto, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 500 !important;
}

/**** menu ****/

#et-boc .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
    padding: 10px 0;
}

/**** body ****/

.wptb-root.wptb-table-1995 {
    max-width: 100% !important;
}

/* Image Rotator Styles */

.image-rotator {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Stack slides on top of each other */
.image-rotator .rot-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

/* Show active slide */
.image-rotator .rot-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Images fill container */
.image-rotator img {
    width: 100%;
    height: auto;
    display: block;
}

.image-rotator .rot-cta-group {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    z-index: 5;
    min-width: 400px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {

    .image-rotator .rot-slide {
        height: 100%;
    }

    .image-rotator {
        aspect-ratio: 4 / 5;
    }

    .image-rotator img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

}

/* Team Styles */

.team-container {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 50px;
    align-items: start;
    justify-content: center;
}

.team-member {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
}

.team-member-image {
    display: flex;
    align-items: center;
    max-width: 270px;
    cursor: pointer;
}

.team-member-content {
    margin-top: 50px;
}

@media only screen and (max-width: 1046px) {

    .team-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-member {
        flex-direction: column;
    }

    .team-member-image {
        max-width: unset;
    }

    .team-member-content {
        text-align: center;
        margin-top: 0;
    }

}

/**** footer ****/


/**** responsive ****/

@media only screen and (max-width: 1240px) {

    /* header */
    /* body */
    /* footer */

}

@media only screen and (max-width: 992px) {

    /* header */
    /* body */
    /* footer */

}

@media only screen and (max-width: 980px) {

    /* header */
    /* body */
    /* footer */

}

@media only screen and (max-width: 768px) {

    /* header */
    /* body */
    /* footer */

}

@media only screen and (max-width: 575px) {

    /* header */
    /* body */
    /* footer */

}

@media (min-width: 375px) and (max-width: 574px) {

    /* header */
    /* body */
    /* footer */

}
