@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap');

.header, .site-footer .footer-bottom, body, h1, h2, h3, h4, h5, h6, html {
    font-family: "Open Sans", "IBM Plex Sans", Helvetica, sans-serif;
}

h2, h6 {
    font-weight: 300;
}
.header{
    font-weight: 400;
}

.two-column .accordion-collapse .card .areas-holder button {
    color: #3b97ce;
}

.services .holder a {
    color: #fff;
}


.panel-group .title {
    margin-left: 15px;
}

.panel-group .title:not(:first-child) {
    margin-top: 100px;
}

.areas-holder {
    position: relative;
    z-index: 2;
}

#menu-primary > li > .open-tab {
    display: none;
}

.areas-menu-left ul {
    background-color: #ebf4fa;
    padding: 0;
    margin: 0;
}

.areas-menu-left li {
    display: flex;
    width: 100%;
    position: relative;
    min-height: 60px;
    color: #333;
    border-bottom: 1px solid #ccc;
    -ms-flex-align: center;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.72;
    background-repeat: no-repeat;
    background-position: 25px 20px;
    -ms-flex-pack: center;
    flex-direction: column;
}

.areas-menu-left > .menu > li > a {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
    color: inherit;
    padding-top: 15px;
}


.areas-menu-left ._image,
.areas-menu-left ._svg {
    display: block;
    position: absolute;
    left: 40px;
    transform: translate(-50%, 0%);
}

.areas-menu-left .current-menu-item ._image,
.areas-menu-left .current-menu-item ._svg{
    left: 35px;
}

.open-tab {
    position: absolute;
    height: 45px;
    width: 45px;
    cursor: pointer;
    z-index: 2;
    top: 0;
    right: 0;
    background: url("../img/add.svg") no-repeat center;
}


.areas-menu-left .sub-menu {
    display: none;
}

.areas-menu-left .sub-menu li {
    border: none;
    font-size: 14px;
    padding-left: 50px;
    text-align: center;
    min-height: 50px;
    padding-top: 15px;
    font-weight: 400;
    padding-left: 0;
}

.areas-menu-left .sub-menu li.current-menu-item{
    border-left: 5px solid #3b97ce;
}

.areas-menu-left .sub-menu li a {
    color: #6d6d6d;
}

.header .menu li ul.sub-menu li {
    position: relative;
}

.header .menu .sub-menu li.menu-item-has-children a:after {
    display: none;
}

.header .sub-menu li.current-menu-item:after {
    display: none;
}

.max-link {
    color: inherit;
}

.max-link:hover {
    color: #3b97ce;
}



a.cu-link {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.72;
    margin-top: -25px;
    display: block;
    height: 60px;
    padding: 15px 0;
    text-decoration: none;
    text-align: center;
    color: #132f3a;
    border: 1px solid rgba(19, 47, 58, .1);
    border-top-color: transparent;
    background: rgba(59, 151, 206, .1);
}

/*404 PAGE */

.error404 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.error404 main {
    flex: 1 0 auto;
    position: relative;
}

.bg-404 {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: 0;
    opacity: .1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.main-404 {
    color: #334A6A;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-404 {
    display: flex;
    flex-direction: column;
}

.title-404 span {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
}

.title-404 .error-num {
    text-align: center;
    font-size: 160px;
    font-weight: 400;
    line-height: 1;
    margin-top: 12rem;
}

.message-404 {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 12rem;
}


.intro-sub-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #3b97ce;
}

.offices .phones a.tel.mail:before {
    background: url(../img/mail.png) no-repeat;
    background-position: center;
    background-size: contain;
}

.contact-form {
    overflow: hidden;
    width: 100%;
}

.iframe-cf {
    border: 0;
    margin-top: -250px;
    width: 100%;
    height: 1500px;
}

section.two-column {
    padding-bottom: 0;
    margin-bottom: 50px;
}

@media screen and (min-width: 500px) and (max-width: 1000px){
    .quotes blockquote{
        max-width: 70%;
    }
}


@media only screen and (min-width: 768px) {

    .intro-sub-title {
        font-size: 22px;
        line-height: 2.5;
    }

    .header {
        font-size: 11px;
    }

    .iframe-cf {
        margin-top: -280px;
        height: 1250px;
    }

    .js-f {
        height: 1450px;
    }
}

@media only screen and (min-width: 992px) {
    .text .row {
        display: flex;
        justify-content: stretch;
        margin-bottom: 30px;
    }

    .text .row > div {
        outline: 1px solid black !important;
        outline-offset: -8px;
        padding: 15px 30px;
    }

    .iframe-cf {
        margin-top: -200px;
        height: 1150px;
    }

    .js-f {
        margin-top: -280px;
        height: 1450px;
    }
}

@media only screen and (min-width: 1199px) {
    .header .menu li.menu-item {
        margin: 0 10px;
    }

    .js-f {
        margin-top: -280px;
        height: 1250px;
    }
}

@media screen and (max-width: 1200px){
    .areas-menu-left ._image, .areas-menu-left ._svg{
        left: 15px!important;
    }
    .areas-menu-left li{
        font-size: 11px;
        min-height: 50px;
    }
    .open-tab{
        height: 50px;
    }
    .areas-menu-left .sub-menu li {
        font-size: 11px;
        min-height: 30px;
    }
}


@media screen and (max-width: 500px){
    .quotes .item{
        height: 480px;
    }

    .areas-menu-left li{
        font-size: 14px;
    }

    .header .menu li ul.sub-menu li ul.sub-menu,
    .header .menu li ul.sub-menu li ul.sub-menu li,
    .header .menu li ul.sub-menu li ul.sub-menu li a{
        padding-left: 0!important;
    }
}