/* @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap'); */
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto:300,400,700&display=swap');

/* Framework */
@import url('framework.css');

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    background-color: #F1F1F1;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.container-text {
    max-width: 860px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

h1 {
    font-size: 48px;
    line-height: 52px;
}

h2 {
    font-size: 36px;
    line-height: 40px;
}

h3 {
    font-size: 24px;
    line-height: 32px;
}

h4 {
    font-size: 21px;
    line-height: 30px;
}

h5 {
    font-size: 18px;
    line-height: 28px;
}

h6 {
    font-size: 16px;
    line-height: 24px;
}

h1, h2, h3, h4, h5, h6, p, ul, table {
    margin-top: 20px;
}

a {
    color: #F15B53;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.fa-ul {
    margin-left: 1.5em;
}

section {
    padding: 60px 0;
}

.mt0 {
    margin-top: 0 !important;
}

.mt20 {
    margin-top: 20px;
}

.mr5 {
    margin-right: 5px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml20 {
    margin-left: 20px;
}

.button {

}

.button.secondary {
    background: #F15B53;
}

/* Header */
#header-top {
    background-color: #D8D8D8;
    padding: 5px 0;
}

#header-top a {
    color: #333;
    text-decoration: underline;
}

#header {
    background: white;
    padding: 15px 0;
}

#header #logo {
    font-size: 25px;
    line-height: 38px;
    font-weight: bold;
}

/* Nav */
nav {
    
}

nav ul {
    margin: 0;
    list-style: none;
    display: flex;
}

nav > ul > li {
    margin-left: 20px;
}

nav > ul > li:first-child {
    margin-left: 0;
}

nav > ul > li > a {
    display: block;
    color: #333;
    padding: 5px 10px;
    align-items: center;
    text-decoration: none;
}

/* Banner */
.banner {
    padding: 100px 0;
}

.banner img {
    width: 100%;
}

.banner {
    position: relative;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner > *:not(.banner-bg) {
    position: relative;
    z-index: 2;
    color: white;
}

.rotating-text span {
    text-decoration: underline;
}

/* Services */
.blocks .block {
    color: #333;
    background: white;
    box-shadow: 0 5px 6px 0 rgba(0,0,0,.05);
    margin-bottom: 20px;
    padding: 20px;
    text-align: center;
}

/* Footer */
#footer {
    padding: 60px 0;
    background: #ccc;
}

#footer *::selection {
    background-color: #aaa;
    color: white;
}

#footer ul li {
    margin-top: 15px;
}

#footer ul li:first-child {
    margin-top: 0;
}

#footer ul li,
#footer p,
#footer a:not(.button) {
    color: #333;
}

#footer a {
    text-decoration: underline;
}

#footer-bottom {
    background: #333;
    color: #FFF;
    padding: 5px 0;
}

/* Content */
.user-content ul {
    list-style: none;
}

.user-content ul li {
    position: relative;
    padding-left: 20px;
}

.user-content ul li:before {
    content: '\f058';
    position: absolute;
    top: 0;
    left: 0;
    color: #F15B53;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    // top: 50%;
    // left: 50%;
    // transform: translate(-50%, -50%);
}

.popup .popup-body {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%, -50%);
    background: white;
    padding: 50px;
    max-width: 800px;
    width: 100%;
}

.popup .popup-body .popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.popup.toggled {
    display: block !important;
}

/* Form */
.form-item {
    margin-top: 20px;
}

@media only screen and (max-width: 1200px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media only screen and (max-width: 1024px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    section,
    #footer,
    .banner {
        padding: 40px 0;
    }
}

@media only screen and (max-width: 768px) {
    .hide-sm {
        display: none;
    }
    
    body {
        font-size: 15px;
        line-height: 28px;
    }

    h1 {
        font-size: 36px;
        line-height: 40px;
    }
    
    h2 {
        font-size: 24px;
        line-height: 32px;
    }
    
    h3 {
        font-size: 21px;
        line-height: 30px;
    }
    
    h4 {
        font-size: 18px;
        line-height: 28px;
    }
    
    h5 {
        font-size: 16px;
        line-height: 24px;
    }
    
    h6 {
        font-size: 15px;
        line-height: 24px;
    }

    h1, h2, h3, h4, h5, h6, p, ul, table {
        margin-top: 15px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    section,
    #footer,
    .banner {
        padding: 30px 0;
    }

    #header #logo {
        font-size: 20px;
        line-height: 30px;
    }
}