/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

@import url('https://use.typekit.net/ipm4oeo.css');
@import url('https://fonts.googleapis.com/css?family=Montserrat');

* {
}

body {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px;
    line-height: 1.3;
}

body p {
    font-size: 16px;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: 'urw-grotesk';
    font-weight: bold;
}

.bg-colored h1,
.bg-colored h2,
.bg-colored h3,
.bg-colored h4,
.bg-colored h5,
.bg-colored h6,
.bg-colored h1 a,
.bg-colored h2 a,
.bg-colored h3 a,
.bg-colored h4 a,
.bg-colored h5 a,
.bg-colored h6 a {
    color: #01472f;
}

.bg-colored h1 span,
.bg-colored h2 span,
.bg-colored h3 span,
.bg-colored h4 span,
.bg-colored h5 span,
.bg-colored h6 span,
.bg-colored h1 a span,
.bg-colored h2 a span,
.bg-colored h3 a span,
.bg-colored h4 a span,
.bg-colored h5 a span,
.bg-colored h6 a span {
    color: #fff;
}

@media (min-width: 800px) {
    body h1 {
        font-size: 60px;
        line-height: 0.9;
    }

    body h1.title {
        font-size: 34px;
    }

    body h2 {
        font-size: 34px;
        line-height: 0.9;
    }

    body h3 {
        font-size: 26px;
        line-height: 0.9;
    }

    body h4 {
        font-size: 26px;
        line-height: 0.9;
    }

    body h5 {
        font-size: 24px;
        line-height: 0.9;
    }

    body h6 {
        font-size: 24px;
        line-height: 0.9;
    }
}

.bg-light .mod-box-colored a,
.bg-light .mod-box-transparent a {
    color: #808080;
}

p {
    margin-top: 10px;
}

/*
 * Custom Style Sheet - Use this file to style your content
 */
/* Menu
----------------------------------------------------------------------------------------------------*/
.menu li {
    font-size: 14px;
}

.menu-dropdown li.level3 {
    font-size: 15px;
}

.menu-dropdown li.level1 {
    text-align: center;
}

/* Layout
----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1400px) {
    .wrapper.max-width80 {
        max-width: 1200px;
    }
}

.custom-logo {
    background: url(../../../images/yootheme/logo.png) 0 0 no-repeat;
    width: 138px;
    height: 86px;
    background-size: 138px 86px;
}

@media (min-width: 768px) {
    .custom-logo {
        width: 150px;
        height: 94px;
        background-size: 150px 94px;
    }
}

@media (max-width: 767px) {
    #header #header-responsive .logo {
        width: 60%;
    }
}

.margin-tb-20 {
    margin: 20px 0;
}
.margin-l-40 {
    margin-left: 40px;
}

/* Forms
----------------------------------------------------------------------------------------------------*/
textarea,
input[type='text'],
input[type='password'],
select {
    padding: 10px;
}

div.formCaption {
    padding-top: 10px;
}

@media screen and (min-width: 800px) {
    fieldset.formFieldset legend {
        font-size: 34px;
        margin-bottom: 10px;
    }
}

/* Modules
----------------------------------------------------------------------------------------------------*/

/* Fixing the flickering for -webkit- browsers */
.module {
    -webkit-backface-visibility: hidden;
}

/* Frontpage: Slideshow
----------------------------------------------------------------------------------------------------*/

.wk-slideshow-infinite,
.wk-slideshow-infinite > div > ul,
.wk-slideshow-infinite > div > ul li {
    height: auto;
    min-height: 200px;
}

@media screen and (min-width: 680px) {
    .wk-slideshow-infinite,
    .wk-slideshow-infinite > div > ul,
    .wk-slideshow-infinite > div > ul li {
        height: auto;
        min-height: 280px;
    }
}

@media screen and (min-width: 480px) and (max-width: 991px) {
    .banner-business .wk-slideshow-infinite,
    .banner-business .wk-slideshow-infinite > div > ul,
    .banner-business .wk-slideshow-infinite > div > ul li,
    .banner-succession .wk-slideshow-infinite,
    .banner-succession .wk-slideshow-infinite > div > ul,
    .banner-succession .wk-slideshow-infinite > div > ul li {
        height: auto;
        min-height: 380px;
    }
}

@media screen and (min-width: 992px) {
    .wk-slideshow-infinite,
    .wk-slideshow-infinite > div > ul,
    .wk-slideshow-infinite > div > ul li,
    body.services .wk-slideshow-infinite,
    body.services .wk-slideshow-infinite > div > ul,
    body.services .wk-slideshow-infinite > div > ul li {
        height: auto;
        min-height: 600px;
    }
}

.wk-slideshow-infinite .caption {
    top: 0;
    bottom: 50%;
    margin: auto;
    height: 100px;
}

.wk-slideshow-infinite .caption h1 {
    color: #01472f;
    font-weight: bold;
    text-transform: uppercase;
    background: transparent;
    text-shadow: 4px 4px 2px rgba(150, 150, 150, 0.28);
}

@media (min-width: 800px) {
    .wk-slideshow-infinite .caption h1 {
        font-size: 40px;
    }
}

@media (min-width: 1200px) {
    .wk-slideshow-infinite .caption h1 {
        font-size: 70px;
    }
}

.wk-slideshow-infinite .caption h1 span {
    color: #fff;
}

.wk-slideshow-infinite .wk-content img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
    position: absolute;
    top: 0;
    left: 0;
}

.wk-slideshow-infinite .caption > span {
    position: relative;
}

.wk-slideshow-infinite .caption > span:before {
    content: '';
    display: block;
    background: #01472f;
    opacity: 0.7;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Frontpage: Features
----------------------------------------------------------------------------------------------------*/

.frontpage-teaser1 {
    background-image: url(../../../images/yootheme/demo/slideshow/infinite_teaser1_default.jpg);
    background-position: 0 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.frontpage-teaser2 {
    background-image: url(../../../images/yootheme/demo/slideshow/infinite_teaser2_default.jpg);
    background-position: 0 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.frontpage-teaser3 {
    background-image: url(../../../images/yootheme/demo/slideshow/infinite_teaser3_default.jpg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Frontpage: Features
----------------------------------------------------------------------------------------------------*/

.frontpage-features {
    margin-top: 30px;
    overflow: hidden;
}

.frontpage-features h1 {
    margin: 20px 0 5px 0;
    font-size: 19px;
    line-height: 20px;
}

/* Frontpage: Check
----------------------------------------------------------------------------------------------------*/

.frontpage-check {
    float: left;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Frontpage: Team
----------------------------------------------------------------------------------------------------*/

.frontpage-team h1 {
    margin: 20px 0 0 0;
    font-size: 40px;
    line-height: 41px;
}

.frontpage-team p {
    margin: 10px 0 0 0;
    font-size: 17px;
    line-height: 22px;
}

/* Frontpage: Contact
----------------------------------------------------------------------------------------------------*/

ul.line.frontpage-contact > li {
    margin: 0;
    padding: 15px 0;
    border-top: none;
    background: url(../images/line_bg.png) bottom repeat-x;
}

ul.line.frontpage-contact > li:first-child {
    background: url(../images/line_bg.png) top repeat-x, url(../images/line_bg.png) bottom repeat-x;
}

ul.line.frontpage-contact strong {
    float: left;
    width: 140px;
    text-transform: uppercase;
    color: #fff;
    font-weight: normal;
}

ul.line.frontpage-contact div {
    display: inline-block;
}

/* Frontpage: Clients
----------------------------------------------------------------------------------------------------*/

.frontpage-clients a {
    float: left;
    opacity: 0.5;
    margin: 0 -1px -1px 0;
    border: 1px solid #616a73;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.frontpage-clients a:hover {
    opacity: 1;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.frontpage-teaser {
    line-height: 0;
}
.frontpage-teaser img {
    display: block;
    line-height: 0;
}

/* Services Pages
----------------------------------------------------------------------------------------------------*/
body.services #block-top-a {
    padding: 0;
}

body.services #block-top-a .max-width80 {
    max-width: 100%;
}

body.services #block-top-a .max-width80 .mod-box {
    padding: 0;
    margin: 0;
}

/* Responsive
----------------------------------------------------------------------------------------------------*/

/* Only Phones and Tablets (Portrait) */
@media (max-width: 959px) {
    /* Layout */
    .margin-l-40 {
        margin-left: 0;
    }
    .footer-contact-us table td {
        width: 100%;
        display: block;
        padding-bottom: 20px;
    }

    .footer-contact-us table td div {
        width: 100%;
    }
}

/* Only Tablets (Portrait) */
@media (min-width: 768px) and (max-width: 959px) {
    /* Layout */
    #block-bottom-b .width33 {
        width: 100%;
    }

    .frontpage-features img {
        float: none;
        margin: auto auto 15px;
    }

    .frontpage-check.width50 {
        width: 100%;
    }
}

@media (min-width: 960px) {
    .footer-contact-us table td {
        text-align: left;
    }
    .footer-contact-us table td:last-child {
        padding-left: 10px;
    }
}
