/*
Theme Name: WTCO Theme
Version: 1.0
Description: Divi Child Themeo for WTCO
Author: Flavor EXP
Template: Divi
Author URL:
*/

/*------- Theme Customizations------- */

/*
    ---- IMPORT GOOGLE FONT
*/
@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');

*, body {
    font-family: 'Raleway', sans-serif;
}

html, body {
    height: 100%;
}

/*
    ---- CONTENT STYLES ----
*/


/* HEADER */

ul#menu-main-menu ul.sub-menu{
    width: 350px;
}
ul#menu-main-menu ul.sub-menu li a{
    padding: 7px 0px;
    width: auto;
    font-size: 15px;
}

/* HOME PAGE */

.homepage-paragraph strong {
    color: #08bcdd;
}

/* LOGIN BUTTON */

.et_pb_menu_0_tb_header.et_pb_menu ul li.login-button-header {
    position: absolute !important;
    top: 0;
    right: 0;
    margin: -10px 0 0 0 !important;
    padding: 0 !important;
    display: block;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.login-button-header a {
    color: #fff !important;
    background-color: #00c2e1;
    display: inline-block !important;
    margin: 0 !important;
    padding: 3px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    font-size: 12px;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.login-button-header a:active,
.et_pb_menu_0_tb_header.et_pb_menu ul li.login-button-header a:hover,
.et_pb_menu_0_tb_header.et_pb_menu ul li.login-button-header a:visited,
.et_pb_menu_0_tb_header.et_pb_menu ul li.login-button-header a:link {
    color: #fff !important;
}

@media (max-width:980px) {
    .et_pb_menu_0_tb_header.et_pb_menu ul li.login-button-header {
        display: none;
    }
}

.et_pb_menu_1_tb_footer.et_pb_menu ul li.login-button-footer {
    position: absolute !important;
    bottom: -2em;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block;
    width: 100%;
}

.et_pb_menu_1_tb_footer.et_pb_menu ul li.login-button-footer a {
    color: #fff !important;
    background-color: #00c2e1;
    display: inline-block !important;
    margin: 0 !important;
    padding: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    font-size: 1.2em;
}

@media (min-width: 980px) {
    .et_pb_menu_1_tb_footer.et_pb_menu ul li.login-button-footer {
        display: none;
    }
}

.technology-section-posts-page .entry-title, .page-id-26 .type-popup .entry-title, .page-id-26 .type-popup .entry-featured-image-url{
	pointer-events: none;
}

/* HOMEPAGE SOLUTIONS SECTION */

.solutions-section-home .et_pb_salvattore_content {
    margin-top: 1.5em;
}

.solutions-section-home article {
    padding: 0 !important;
    text-align: center;
    line-height: 1.5;
    min-height: 600px !important;
}

.solutions-section-home article:nth-child(2) {
    min-height: 500px !important;
}

.solutions-section-home article h2.entry-title {
    padding: 0px 10px;
    width: 100%;
    min-height: 2.6em;
}

.solutions-section-home img {
    height: 150px !important;
    max-height: 150px !important;
    min-height: 150px !important;
    width: 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
    margin: 0 auto;
    display: block;
}

.solutions-section-home article .post-content .more-link {
    display: block;
    width: 100%;
    padding: 1em 1em 2em 1em;
    margin-top: 1em;
}

.solutions-section-home article .post-content {
    padding: 15px 0px 0px 0px;
    margin: 0;
    display: inline-block;
    text-align: center;
    width: 100%;
    position: relative;
}

/* Hack for 4 columns with divi grid */

.solutions-section-home .et_pb_salvattore_content[data-columns]::before {
    content: '4 .column.size-1of4' !important;
}

@media only screen and ( min-width: 981px ) {
    .solutions-section-home .column.size-1of4 {
        width: 24%!important;
        margin-right: 1%;
    }

    .solutions-section-home article .post-content {
        width: 95%;
    }
}

/* SOLUTIONS PAGE */

.solutions-section-solutions-page img {
    width: 100% !important;
    max-width: 85% !important;
    min-width: 75% !important;
    display: block;
    margin: 0 auto;
}

.solutions-section-solutions-page article .entry-featured-image-url {
    float: left;
    width: 30%;
}

.solutions-section-solutions-page article {
    padding: 5em 10% 2em 10%;
}

.solutions-section-solutions-page article h2.entry-title {
    float: right;
    width: 65%;
}

.solutions-section-solutions-page article h2.entry-title a {
    width: 100%;
    text-align: left;
}

.solutions-section-solutions-page article .post-content {
    float: right;
    width: 65%;
    text-align: left;
    padding-top: 1em;
}

@media (max-width: 980px) {
    .solutions-section-solutions-page article .entry-featured-image-url {
        float: none;
        width: 70%;
        margin: 0 auto;
    }

    .solutions-section-solutions-page article h2.entry-title {
        float: none;
        width: 100%;
        padding-top: 1em;
    }

    .solutions-section-solutions-page article h2.entry-title a {
        width: 100%;
    }

    .solutions-section-solutions-page article .post-content {
        float: none;
        width: 100%;
    }
}

/* TEAM PAGE */

.team-founder {
    margin-top: 3em;
}

.team-founder .team-role {
    color: #3f62a6 !important;
    padding-bottom: 1.2em;
    padding-top: 0.2em;
    font-size: 1.7em;
}

.team-founder img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: block;
    margin: 0 auto;
}

.team-founder article .entry-featured-image-url {
    float: left;
    width: 30%;
}

.team-founder article h2.entry-title {
    float: right;
    width: 65%;
}

.team-founder article h2.entry-title a {
    width: 100%;
    text-align: left;
}

.team-founder article .post-content {
    float: right;
    width: 65%;
    text-align: left;
    padding-top: 1em;
}

@media (max-width: 980px) {
    .team-founder article .entry-featured-image-url {
        float: none;
        width: 85%;
        margin: 0 auto;
    }

    .team-founder article h2.entry-title {
        float: none;
        width: 100%;
        padding-top: 1.5em;
    }

    .team-founder article h2.entry-title a {
        width: 100%;
    }

    .team-founder article .post-content {
        float: none;
        width: 100%;
    }
}

/* TEAM TEAM MEMBERS SECTIONS */

.team-members article {
    padding: 2em 1em!important;
    text-align: center;
    line-height: 1.5;
    min-height: 460px;
    margin: 1em auto 0 auto;
}

.team-members article h2.entry-title {
    padding: 0;
    width: 100%;
}

.team-members img {
    width: 100% !important;
    max-width: 60% !important;
    min-width: 45% !important;
    margin: 0 auto;
    display: block;
}

.team-members article .post-content .more-link {
    display: block;
    width: 100%;
    margin-top: 1em;
    text-transform: uppercase;
}

.team-members article .post-content {
    margin: 0;
    display: inline-block;
    width: 100%;
}

/* Hack for 4 columns with divi grid */

.team-members .et_pb_salvattore_content[data-columns]::before {
    content: '4 .column.size-1of4' !important;
}

@media only screen and ( min-width: 981px ) {
    .team-members .column.size-1of4 {
        width: 24%!important;
        margin-right: 1%;
    }
}

@media (max-width: 980px) {
    .team-members article .post-content .more-link {
        padding: 0.5em;
    }

    .team-members article {
        padding: 0em 0em 3em 0em !important;
        min-height: 460px;
    }
}

/* TEAM MEMBER PROFILE MODAL VIEW */

.team-member-profile img,
.team-popup img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 75% !important;
    display: block;
    margin: 0 auto;
}

.team-popup img {
    box-shadow: 1.5em 1.5em 0px 0px #64bbd9;
}

.team-popup {
    padding: 5em 5em 5em 2em;
    margin: 2em 5em !important;
}

.team-popup .evr-close {
    border: 1px solid grey;
    margin: 0.5em;
    font-weight: 100 !important;
    color: grey !important;
    font-size: 3em !important;
}

.team-member-profile article .entry-featured-image-url,
.team-popup .entry-featured-image-url {
    float: left;
    width: 30%;
}

.team-member-profile article {
    padding: 5em 10% 2em 10%;
}

.team-member-profile article h2.entry-title,
.team-popup h2.entry-title {
    float: right;
    width: 65%;
}

.team-member-profile article h2.entry-title a,
.team-popup h2.entry-title a{
    width: 100%;
    text-align: left;
}

.team-member-profile article .post-content h3,
.team-popup .post-content h3 {
    color: #18529c;
    font-weight: 300;
}

.team-member-profile article .post-content,
.team-popup .post-content {
    float: right;
    width: 65%;
    text-align: left;
    padding-top: 1em;
}

@media (max-width: 980px) {

    .team-popup {
        padding: 4em 1em 2em 1em;
        margin: 1em !important;
    }

    .team-member-profile article .entry-featured-image-url,
    .team-popup .entry-featured-image-url {
        float: none;
        width: 70%;
        margin: 0 auto 2em auto;
    }

    .team-member-profile article h2.entry-title,
    .team-popup h2.entry-title {
        float: none;
        width: 100%;
        padding-top: 1em;
        font-size: 2em;
    }

    .team-member-profile article h2.entry-title a,
    .team-popup h2.entry-title a{
        width: 100%;
    }

    .team-member-profile article .post-content,
    .team-popup .post-content {
        float: none;
        width: 100%;
    }
}

/* Modal hacks */

.evr_fb_popup_modal {
    background: rgba(255, 255, 255, 0.55) !important;
}

body.evr_popup_open {
    overflow: visible !important;
}

/* TECHNOLOGIES AND PARTNERS PAGE */

.technology-section-posts-page img {
    width: 100% !important;
    max-width: 85% !important;
    min-width: 75% !important;
    display: block;
    margin: 0 auto;
}

.technology-section-posts-page article .entry-featured-image-url {
    float: left;
    width: 30%;
}

.technology-section-posts-page article {
    padding: 5em 10% 2em 10%;
}

.technology-section-posts-page article h2.entry-title {
    float: right;
    width: 65%;
}

.technology-section-posts-page article h2.entry-title a {
    width: 100%;
    text-align: left;
}

.technology-section-posts-page article .post-content {
    float: right;
    width: 65%;
    text-align: left;
    padding-top: 1em;
}

@media (max-width: 980px) {
    .technology-section-posts-page article .entry-featured-image-url {
        float: none;
        width: 70%;
        margin: 0 auto;
    }

    .technology-section-posts-page article h2.entry-title {
        float: none;
        width: 100%;
        padding-top: 1em;
    }

    .technology-section-posts-page article h2.entry-title a {
        width: 100%;
    }

    .technology-section-posts-page article .post-content {
        float: none;
        width: 100%;
    }
}

/* ----------------- */

/*
    --- FOOTER STYLES ----
*/

/* Contact form styles */

#et_pb_contact_form_0 .et_contact_bottom_container {
    float: none;
    width: 100%;
}

.contact-form .alert.alert-success,
.contact-form .alert.alert-error{
    display: none;
}

.contact-form input:disabled,
.contact-form textarea:disabled,
.contact-form select:disabled {
    background: #eee;
}

.contact-form-popup .waiting-submission {
    float:right;
    padding: 1.2em 0em;
}

#footer-contact-form .waiting-submission {
    display: none;
}

.contact-form {
    color: gray;
    font-weight: 400;
    font-size: 1em;
}

.contact-form input,
.contact-form textarea {
    padding: 0.5em 1em;
}

.contact-form select {
    padding: 0.6em 0.9em;
    -webkit-appearance: none;
    background: #fff url(/wp-content/themes/wtco/public/img/arrow_down.png) no-repeat right 0.9em center;
    cursor: pointer;
    font-weight: 300;
}

.contact-form input[type='submit'] {
    width: 75%;
    color: #fff;
    border: 0;
    background: #55c2df;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0.8em 1em;
    font-size: 1.2em;
}

.contact-form .parsley-required,
.contact-form .parsley-type{
    display: none;
}

.contact-form input.parsley-error,
.contact-form select.parsley-error,
.contact-form textarea.parsley-error {
    background: #fff;
    border: solid 1px #ea5050;
    color: #ea5050;
}

.contact-form input.parsley-success,
.contact-form select.parsley-success,
.contact-form textarea.parsley-success {
    background: #fff;
    border: 1px solid #bbb;
    color: #4e4e4e;
}


/* LOCATIONS */

.footer-locations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-locations ul li {
    padding-left: 30px;
    margin-left: 5px;
    margin-top: 5px;
}

.footer-locations ul li:nth-child(1) {
    background: url('/wp-content/themes/wtco/public/img/bullet_point.png') no-repeat left center;
}

.footer-locations ul li:nth-child(2) {
    background: url('/wp-content/themes/wtco/public/img/bullet_call.png') no-repeat left center;
}

.footer-locations ul li:nth-child(3) {
    background: url('/wp-content/themes/wtco/public/img/bullet_mail.png') no-repeat left center;
    font-weight: 500;
}

/* QUICK LINKS */

.footer-quick-links nav ul,
.footer-quick-links nav ul li{
    display: block !important;
}

@media (max-width: 980px) {

    .footer-quick-links .et_pb_menu__menu {
        display: block !important;
        width: 100%;
    }

    .footer-quick-links .et_mobile_nav_menu {
        display: none !important;
    }
}

/* RECENT NEWS */

.footer-recent-news article {
    margin-bottom: 1em;
}

/* PRIVACY LINKS */

.footer-terms-and-privacy-links nav ul li::before {
    content: "|";
    padding-right: 5px;
    margin-left: -15px;
}

.footer-terms-and-privacy-links nav ul li:first-child::before {
    content: "";
}

.footer-terms-and-privacy-links .et-menu.nav {
    margin: 0 auto;
}

@media (max-width: 980px) {

    .footer-terms-and-privacy-links .et_pb_menu__menu {
        display: block !important;
        width: 100%;
    }

    .footer-terms-and-privacy-links .et_mobile_nav_menu {
        display: none !important;
    }

    .footer-terms-and-privacy-links #menu-terms-policy-links {
        text-align: center !important;
        margin-bottom: 2.5em;
    }

    .footer-terms-and-privacy-links #menu-terms-policy-links li:before {
        content: none;
        padding: 0;
        margin: 0;
    }

    .footer-terms-and-privacy-links #menu-terms-policy-links li {
        padding: 5px 10px;
        display: inline-block;
        margin: 0 auto;
    }
}

/* CUSTOM POPUP */

.custom-popup {
    padding: 5em 2em !important;
    margin: 0 auto !important;
    height: 430px;
    width: 600px;
    overflow-y: auto;
}

@media (max-width: 620px)  {
    .popup_full_height {
        top: 0 !important;
        height: 100% !important;
        transform: translate(-50%,0%) !important;
    }

    .popup_full_height .custom-popup {
        height: 100%;
    }

    .solutions-section-solutions-page article,
    .technology-section-posts-page article,
    .technology-section-posts-page article {
        padding: 1em 10%;
    }


}

.contact-form-popup {
    padding: 2em 1em 2em 2em !important;
    margin: 0 auto !important;
    width: 100%;
    max-width: 600px;
}

.custom-popup .evr-close,
.contact-form-popup .evr-close {
    border: 1px solid grey;
    margin: 0.5em;
    font-weight: 100 !important;
    color: grey !important;
    font-size: 3em !important;
}

.type-popup article p{
    color: black;
}

@media (max-width: 980px) {

    .custom-popup,
    .contact-form-popup {
        padding: 4em 2em !important;
    }
}

/* ------------------- */

/* RESPONSIVENES FIXES */

@media (min-width: 980px) and (max-width: 1280px) {
    .solutions-section-home .et_pb_salvattore_content .column article h2.entry-title {
        font-size: 1.5em !important;
    }

    .solutions-section-home .et_pb_salvattore_content .column article .post-content {
        font-size: 1.2em !important;
    }
}

@media (min-width: 1024px) and (max-width: 1280px)
{
    .solutions-section-home article {
        min-height: 630px !important;
    }
}