body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 1.55em;
    padding: 0;
    margin: 0;
}

/* grid */
.row:after {
    content: "";
    clear: both;
    display: block;
}

@media (min-width: 500px) {
    .col-md-6 {
        float: left;
        box-sizing: border-box;
        width: 50%;
    }
    .col-md-6:nth-child(2n+1) {
        clear: left;
    }
    .col-md-4 {
        float: left;
        box-sizing: border-box;
        width: 33.3333333%;
    }
    .col-md-4:nth-child(3n+1) {
        clear: left;
    }
}

@media (min-width: 900px) {
    .col-lg-4 {
        float: left;
        box-sizing: border-box;
        width: 33.3333333%;
    }
    .col-lg-4:nth-child(2n+1) {
        clear: none;
    }
    .col-lg-4:nth-child(3n+1) {
        clear: left;
    }
}

/* header */
header #hero {
    background-color: #03a9f4;
    background-image: url(/images/hero.jpg);
    text-transform: uppercase;
    background-position: center;
    text-align: center;
    padding: 50px 0;
    font-size: 40px;
    color: #FFFFFF;
    text-shadow: 0 0 20px black;
    line-height: 1.1em;
}

header #mobile-title {
    float: right;
    color: #4D4D4D;
    font-size: 1.7em;
    padding: 0.53em;
    height: 60px;
}

header nav#desktop-menu {
    display: none;
    text-align: center;
}
header nav#desktop-menu ul {
    list-style: none;
}
header nav#desktop-menu ul li {
    display: inline;
}
header nav#desktop-menu ul li a {
    text-transform: uppercase;
    text-decoration: none;
    color: #4D4D4D;
    padding: 0 15px;
}
header nav#desktop-menu ul li a:hover {
    color: #03a9f4;
}
header nav#desktop-menu ul li a:active {
    color: #0F8FF5;
}

header nav#desktop-language {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #FFFFFF;
    text-transform: uppercase;
}
header nav#desktop-language #active-language {
    margin: 18px;
    color: #0F8FF5;
    cursor: pointer;
}
header nav#desktop-language ul {
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    right: 0;
    background-color: #FFFFFF;
    display: none;
}
header nav#desktop-language ul.visible {
    display: block;
}
header nav#desktop-language ul li {
    white-space: nowrap;
    border-top: 1px solid #F4F4F4;
}
header nav#desktop-language ul li a {
    display: block;
    text-decoration: none;
    color: #3C3C3C;
    padding: 21px 27px;
}
header nav#desktop-language ul li a:hover {
    background-color: #F4F4F4;
}
header nav#desktop-language ul li a svg {
    position: relative;
    top: 5px;
    width: 34px;
    padding-right: 7px;
}

header nav#mobile-menu {
    position: relative;
    z-index: 10;
}
header nav#mobile-menu a#mobile-menu-toggle {
    display: inline-block;
    cursor: pointer;
}
header nav#mobile-menu a#mobile-menu-toggle.active svg {
    fill: #03a9f4;
}
header nav#mobile-menu a#mobile-menu-toggle svg {
    width: 60px;
    height: 60px;
    fill: #4D4D4D;
}
header nav#mobile-menu ul {
    margin: 0;
    padding: 0;
    position: absolute;
    background-color: #FFFFFF;
    list-style: none;
    display: none;
}
header nav#mobile-menu ul.visible {
    display: block;
}
header nav#mobile-menu ul li.separator {
    width: 100%;
    height: 0;
    border-top: 1px solid #F4F4F4;
}
header nav#mobile-menu ul li a {
    text-decoration: none;
    font-size: 1.1em;
    text-transform: uppercase;
    padding: 0.7em 1em;
    color: #4D4D4D;
    display: block;
    font-weight: bold;
}
header nav#mobile-menu ul li a:hover {
    background-color: #F4F4F4;
}
header nav#mobile-menu ul li a:active {
    background-color: #E7E7E7;
}
header nav#mobile-menu ul li a svg {
    width: 19px;
    margin-right: 7px;
}

@media (min-width: 500px) {
    header nav#desktop-menu { display: block; }
    header nav#mobile-menu { display: none; }
    header #mobile-title { display: none; }
    header nav#desktop-language { display: block; }
}

/* footer */
footer {
    background-color: #262626;
    color: #FFFFFF;
}
footer #footer-blocks:after {
    content: "";
    clear: both;
    display: block;
}
footer #footer-blocks > div {
    border-bottom: 1px solid #333333;
    padding: 1em 1em 1em 3em;
    line-height: 2em;
}
footer #footer-blocks > div h2 {
    text-transform: uppercase;
    font-size: 1.3em;
    margin: 0.5em 0;
}
footer #footer-blocks > div p {
    margin: 0.5em 0;
}
footer #footer-blocks > div p a {
    color: inherit;
    text-decoration: grey underline;
}
footer #footer-blocks > div p a:hover {
    color: #03a9f4;
}
footer #copyright {
    text-align: center;
    background-color: #3C3C3C;
    padding: 1em;
    text-transform: uppercase;
}

@media (min-width: 500px) {
    footer #footer-blocks > div:first-child {
        border-right: 1px solid #333333;
    }
}

/* why our company */
#why-our-company {
    color: #525252;
}
#why-our-company h2 {
    text-align: center;
}
#why-our-company #why-our-company-blocks:after {
    content: "";
    clear: both;
    display: block;
}
#why-our-company #why-our-company-blocks > div {
    text-align: center;
}
#why-our-company #why-our-company-blocks > div .icon {
    width: 100px;
    height: 70px;
}
#why-our-company #why-our-company-description {
    background-color: #4D4D4D;
    color: #FFFFFF;
    padding: 50px 90px;
    text-align: center;
    position: relative;
}
#why-our-company #why-our-company-description svg.triangle {
    width: 54px;
    position: absolute;
    top: 0;
    left: calc(50% - 27px);
    transform: rotate(180deg);
}
#why-our-company #why-our-company-price {
    background-color: #F4F4F4;
    margin: 0;
    padding: 1em 90px;
}
#why-our-company #why-our-company-price .col-lg-4 {
    padding: 0 50px 10px 50px;
}
#why-our-company #why-our-company-price p {
    text-align: center;
}
#why-our-company #why-our-company-price p.big {
    font-size: 3em;
}
#why-our-company #why-our-company-price p .underline {
    border-bottom: 4px solid #03a9f4;
}

/* content */
section#content div.row {
    overflow: hidden;
}
section#content div.row div.text {
    padding: 90px 50px;
}
section#content div.row div.image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    top: 0;
    height: 450px;
}
section#content div.row:nth-child(odd) {
    color: #525252;
    background-color: #F4F4F4;
}
section#content div.row:nth-child(odd) .background {
    background-color: #FAFAFA;
}
section#content div.row:nth-child(odd) div.image {
    right: 0;
}
section#content div.row:nth-child(even) {
    color: #FFFFFF;
    background-color: #4D4D4D;
}
section#content img {
    max-width: 100%;
    height: 450px;
    display: block;
}

@media (min-width: 500px) {
    section#content div.row {
        position: relative;
    }
    section#content div.row div.image {
        height: 100%;
        position: absolute;
    }
    section#content div.row:nth-child(even) div:first-child {
        float: right;
    }
}

/* form */
#contact-form-loading {
    display: none;
    text-align: center;
}
#contact-form-loading svg {
    width: 100px;
}

#contact-form-message {
    display: none;
    background-color: #FFF;
    padding: 1em;
    border: 1px solid #03a9f4;
}

form.dynamic {
    max-height: 600px;
    overflow: hidden;
    transition: max-height 1s ease 0;
    transition-property: max-height;
    transition-duration: 1s;
    transition-timing-function: ease;
}
form .form-group label {
    display: block;
}
form .form-group input,
form .form-group textarea {
    display: block;
    border: 1px solid #E7E7E7;
    font-size: inherit;
    color: inherit;
    padding: 3px 1px;
    width: 100%;
    box-sizing: border-box;
}
form .form-group textarea {
    min-height: 150px;
}
form .form-group .help-block {
    color: #03a9f4;
}
form .form-group #file-list {
    list-style: none;
}
form .form-group #file-list li.progress {
    color: #A3A3A3;
}
form .form-group #file-list li a {
    text-decoration: none;
    cursor: pointer;
}
form .form-group #file-list li a:before {
    content: "x";
    margin-right: 1em;
    text-decoration: none;
    font-family: monospace;
    color: #f9323b;
}
form input[type=submit] {
    width: 100%;
    background-color: #03a9f4;
    border: 1px solid #03A9F4;
    font-size: inherit;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-top: 0.5em;
    padding: 5px;
    font-weight: bold;
}
form input[type=submit]:hover {
    background-color: #0F8FF5;
    border: 1px solid #0F8FF5;
}
form input[type=submit]:active {
    background-color: #006AB1;
    border: 1px solid #002A83;
}

/* mail modal */
#send-mail #toggle-mail-form {
    position: fixed;
    top: 250px;
    left: 0;
    color: #FFFFFF;
    background-color: #3C3C3C;
    padding: 10px;
    width: 36px;
    cursor: pointer;
    height: 30px;
}
#send-mail #toggle-mail-form svg {
    width: 30px;
}
#send-mail #send-mail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1050;
    background-color: rgba(60, 60, 60, 0.6);
}
#send-mail #send-mail-modal.visible {
    display: block;
}
#send-mail #send-mail-modal #modal-form-wrapper {
    padding: 1em;
    width: 100%;
    background-color: #FFFFFF;
    box-sizing: border-box;
    position: sticky;
    height: 100%;
}
#send-mail #send-mail-modal #modal-form-wrapper svg.icon-remove {
    position: absolute;
    right: -25px;
    top: -25px;
    cursor: pointer;
    width: 20px;
}
#send-mail #send-mail-modal #modal-form-wrapper svg.icon-remove path {
    fill: #03a9f4;
}

@media (min-width: 500px) {
    #send-mail #send-mail-modal #modal-form-wrapper {
        width: 50%;
        margin: 100px auto;
        height: auto;
    }
}
