html, body {
    min-height: 100%;
    position: relative;
    color: rgb(16, 40, 77);
    font-family: "Poppins", sans-serif
}

:root {
    --primary: #0285ce;
}

div.site {
    min-height: 100vh;
}

a {
    color: var(--primary);
    transition: all .3s;
}
a:hover {
    text-underline-offset: 3px;
}

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* HEADER */

#header {
    position: sticky;
    top: 0;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #FFF;
    transition: all .3s;
    z-index: 1039;
}
#header.sticky {
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, .1);
}

#header .logo img {
	position: relative;
    max-height: 34px;
    transition: all .3s;
}

#header .phone {
    margin-left: 70px;
}
#header .phone a {
    display: inline-block;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0.18px;
    padding: 0;
    margin: 4px 0 0 0;
}
#header .phone a:hover {
    color: var(--primary);
    text-decoration: none;
}
#header .phone i {
    position: relative;
    color: var(--primary);
    font-size: 14px;
    padding-right: 5px;
    top: -1px;
}

#header .contact {
    margin-left: 30px;
    margin-top: -1px;
}
#header .contact a {
    display: inline-block;
    height: 52px;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0.18px;
    padding: 0 35px;
    margin: 0;
    border: 2px solid var(--primary);
    border-radius: 30px;
}
#header .contact a:hover {
    color: #FFF;
    text-decoration: none;
    background-color: var(--primary);
}

/* NAV */

.navbar {
    padding: 0;
    margin: 0;
}
.navbar .nav {
	list-style: none;
	padding: 0;
    margin: 0;
}
.navbar .nav > li {
	position: relative;
	padding: 10px 0;
	margin: 0 16px;
}
.navbar .nav > li > a,
.navbar .nav > li > span {
	display: block;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.5px;
    padding: 0;
    margin: 0;
	cursor: pointer;
    transition: all .3s;
}
.navbar .nav > li.active > a,
.navbar .nav > li.active > span,
.navbar .nav > li > a:hover,
.navbar .nav > li > span:hover {
    color: var(--primary);
}

.navbar .nav > li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: -15px;
    z-index: 0;
    opacity: 0;
    width: 211px;
    background-color: #FFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
    padding: 10px 0;
    transition: all 0.3s ease-in;
}
.navbar .nav > li:hover > ul,
.navbar .nav > li:hover > ul > li:hover > ul {
    display: block;
    z-index: 10;
    opacity: 1;
}
.navbar .nav > li ul > li {
    position: relative;
}
.navbar .nav > li ul > li > a,
.navbar .nav > li ul > li > span {
    display: block;
    color: rgb(16, 40, 77);
    letter-spacing: 0px;
    font-size: 15px;
    font-weight: 400;
    line-height: 100%;
    text-transform: none;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.navbar .nav > li ul > li.active > a, 
.navbar .nav > li ul > li .active > span {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.navbar .nav > li ul > li > ul {
    top: 5px;
    left: 90%;
}
.navbar .nav > li ul > li > ul > li > a {
    font-size: 14.5px;
    font-weight: 500;
}

/* SLIDER */

.slider {
    width: calc(100% - 120px);
    margin: 0 auto;
}
.slider .slide {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
    width: 100%;
	height: 86vh;
	padding-top: 80px;
	background-color: #f5f5f5;
	background-size: cover;
	background-position: top center;
}
.slider .slide h2 {
    color: rgb(16, 40, 77);
    font-size: 38px;
    font-weight: 400;
    font-style: italic;
    line-height: 52px;
    letter-spacing: -0.76px;
    padding: 0;
    margin: 0;
}
.slider .slide a {
    display: inline-block;
    height: 50px;
    color: #FFF;
    font-size: 18px;
    font-weight: 400;
    line-height: 46px;
    letter-spacing: 0;
    padding: 0 40px;
    margin: 25px 0 0 0;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    cursor: pointer;
}
.slider .slide a:hover {
    color: #FFF;
    text-decoration: underline;
}

.subpage .slider .slide {
    height: 420px;
}
.subpage .slider .slide .content {
    display: none;
}

/* SERVICES */

#services, #contact {
    width: calc(100% - 90px);
    margin: 0 auto;
}

#services .headline h2 {
    color: rgb(16, 40, 77);
    font-size: 40px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0;
    padding: 0 0 25px 0;
    margin: 0;
}

#services .box {
    margin-top: 25px;
}
#services .box .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 45px;
    background-color: #F0F2F4;
}
#services .box .content > div {
    flex: 1;
}
#services .box .content h3 {
    display: inline-block;
    color: rgb(16, 40, 77);
    font-size: 52px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0;
    padding: 0 20px 5px 20px;
    margin: 0;
    border-bottom: 3px solid rgb(16, 40, 77);
}
#services .box .content h2 {
    color: rgb(16, 40, 77);
    font-size: 22px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0;
    padding: 35px 0 35px 0;
    margin: 0;
}
#services .box .content p, #services .box .content p a {
    color: rgb(16, 40, 77);
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0;
    padding: 0;
}
#services .box .content p:last-of-type {
    margin-bottom: 0;
}
#services .box .content p a {
    display: inline-block;
    margin-bottom: 5px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
#services .box .content p a:hover {
    color: var(--primary);
    text-decoration: none;
}

#services .box .content > a {
    display: inline-block;
    height: 50px;
    color: rgb(16, 40, 77);
    font-size: 16px;
    font-weight: 500;
    line-height: 46px;
    letter-spacing: 0;
    padding: 0 30px;
    margin: 35px 0 0 0;
    background-color: transparent;
    border: 2px solid rgb(16, 40, 77)
}

/* QUOTE */

#quote .content svg {
    height: 40px;
    fill: rgb(16, 40, 77);
}
#quote .content p {
    color: rgb(16, 40, 77);
    font-size: 40px;
    font-weight: 500;
    line-height: 46px;
    letter-spacing: -0.4px;
    padding: 40px 0 0 0;
    margin: 0;
}
#quote .content span {
    display: block;
    color: rgb(16, 40, 77);
    font-size: 16px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: 0;
    padding: 30px 0 0 0;
    margin: 0;
}

/* CONTACT */

#contact .container-fluid {
    position: relative;
    padding-top: 120px;
}
#contact .container-fluid > img {
    width: 100%;
}

#contact .container {
    position: absolute;
    top: 0; left: 0; right: 0;
    margin: 0 auto;
}

#contact .box .content {
    padding: 55px 80px;
    background-color: #15274B;
}
#contact .box .content h3 {
    color: #FFF;
    font-size: 40px;
    font-weight: 500;
    line-height: 46px;
    letter-spacing: 0;
    padding: 0 0 25px 0;
    margin: 0;
}
#contact .box .content p {
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0;
    padding: 0;
    margin: 0;
}
#contact .box .content a {
    display: inline-block;
    height: 50px;
    color: #FFF;
    font-size: 18px;
    font-weight: 400;
    line-height: 46px;
    letter-spacing: 0;
    padding: 0 40px;
    margin: 40px 0 0 0;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    cursor: pointer;
}

/* FOOTER */

#footer {
    background-color: #15274B;
}

#footer .logo img {
    max-height: 90px;
    filter: invert(97%) sepia(100%) saturate(17%) hue-rotate(73deg) brightness(106%) contrast(100%);
}

#footer .info h4 {
    display: block;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.15px;
    padding: 0; 
    margin: 0;
}
#footer .info address,
#footer .info p {
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
    padding: 18px 0 0 0;
    margin: 0;
}
#footer .info a {
    display: block;
    font-size: 15px;
    font-weight: 300;
}
#footer .info a.phone {
    margin-top: 10px;
}
#footer .info a:hover {
    color: var(--primary);
    text-decoration: none;
}
#footer .info a i {
    font-size: 11px;
    padding-right: 4px;
}

#footer .row:last-of-type {
    position: relative;
    padding-top: 40px;
    margin-top: 60px;
}
#footer .row:last-of-type::before {
    content: "";
    display: block;
    width: calc(100% - 30px);
    height: 1px;
    background-color: rgba(255, 255, 255, .1);
    position: absolute;
    top: 0; left: 15px;
}

#footer .copyright p {
    color: rgba(255, 255, 255, .33);
    font-size: 13px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: 0.15px;
    padding: 0;
    margin: 0;
}
#footer .menu a {
    display: inline-block;
    color: rgba(255, 255, 255, .33);
    font-size: 13px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: 0.15px;
    padding: 0;
    margin: 0;
}
#footer .menu a:not(:first-of-type) {
    margin-left: 24px;
}

/* SUBPAGE */

.article .container-fluid {
    background-color: rgb(16, 40, 77);
}

.page-header h1,
.box-headline h1 {
    color: #FFF;
    font-size: 44px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 1px;
    padding: 0;
    margin: 0;
}

.item-page h1, 
.item-page h2,
.item-page h3,
.item-page h4,
.item-page h5 {
    padding: 20px 0;
}

.item-page h1, .item-page h2 {
    font-size: 33px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0;
}
.item-page h3 {
    font-size: 29px;
    font-weight: 500;
    line-height: 35px;
    letter-spacing: 0;
    scroll-margin-top: 60px;
}
.item-page h4 {
    font-size: 23px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: -0.23px;
}

.item-page .article-info {
    display: none;
}

.item-page p,
.item-page ul li,
.item-page ol li {
    font-size: 17px;
    font-weight: 300;
    line-height: 27px;
    letter-spacing: 0;
    padding: 0;
}
.item-page p:last-of-type {
    margin-bottom: 0;
}
.item-page p strong {
    font-weight: 700;
}

.item-page img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.item-page ul,
.item-page ol {
    margin-top: 20px;
}
.item-page ul {
    list-style: none;
    padding-left: 20px;
}
.item-page ul li {
    position: relative;
    padding-left: 30px;
    margin-top: 3px;
}
.item-page ul li::before {
    content: "→";
    font-family: "Arial";
    position: absolute;
    left: 0;
}

.item-page .gallery a {
	margin-top: 25px;
}
.item-page .gallery img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.item-page .columns {
    padding-top: 50px;
}
.item-page .columns .form {
    padding-right: 35px;
}
.item-page .columns .content {
    padding-top: 5px;
    padding-left: 35px;
}

.google-map {
    font-size: 0;
}

.blog > .row {
    margin-top: -25px;
}
.blog .post {
    margin-top: 25px;
}
.blog .item {
	transition: all .3s;
}
.blog .item:hover {
    text-decoration: none;
	background-color: var(--primary);
}
.blog .item .item-image {
    height: 210px;
    margin: 0;
}
.blog .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog .item .content a {
    display: block;
    padding: 25px 30px;
    border: 1px solid #ddd;
    border-top: 0;
}
.blog .item:hover .content a {
    border-color: var(--primary);
} 
.blog .item .content h3 {
    color: #303030;
    font-size: 16px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 0;
	margin: 0;
}
.blog .item:hover .content h3 {
	color: #FFF;
}
.blog .item .content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #000;
    font-size: 18px;
    font-weight: 300;
    line-height: 32px;
    letter-spacing: 0.18px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* CONTACT FORM */

#contact-form .fields input,
#contact-form textarea {
    width: 100%;
    padding: 10px 20px;
    margin-top: 10px;
    outline: none;
    border: 1px solid #d2d2d2;
    resize: none;
}
#contact-form .field-file {
    margin-top: -5px;
    margin-bottom: 15px;
}
#contact-form .fields input:focus,
#contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: unset;
}
#contact-form label.error {
    display: block;
    color: red;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: -5px;
}
#contact-form .reg {
    display: flex;
    align-items: flex-start;
}
#contact-form .reg input {
    margin-top: 4px;
    margin-right: 10px;
}
#contact-form .reg label {
    font-size: 15px;
    font-weight: 300px;
}
#contact-form input[type="submit"] {
    display: block;
    width: 100%;
    height: 50px;
    color: #FFF;
    font-size: 17px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 16px 25px 15px 25px;
    margin: 10px 0 0 0;
    background-color: var(--primary);
    border: 0;
    outline: none;
    cursor: pointer;
}