:root{
    --primary-color: #1c3e69;
    --primary-color-rgba: rgba(28, 62, 105, 1);
    --tint-1: #38567C;
    --tint-2: #556E8F;
    --tint-3: #7186A1;
    --accent: #d81a1a;
    --darker: #0e213a;
}

body{
    font-family: 'Roboto', serif;
    color: #555;
    animation: pageload .5s ease both;
    transition-delay: .5s;
}

.page-wrapper section{
    margin: 5rem 0;
}

h3{
    font-size: 24px;
}

footer{
    background-color: var(--primary-color);
}

footer *{
    color: white !important;
}

.sub-footer{
    background-color: var(--darker);
}
.sub-footer *{
    color: white;
}

@keyframes pageload{
    from{ opacity: 0; }
    to{ opacity: 1; }
}

.carousel-control-next,
.carousel-control-prev {
    font-size: 40px;
}

.big {
    font-size: 1.5rem;
}

.icon-block {
    position: relative;
    text-align: center;
}

.icon-block .icon {
    background-color: #007bff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 100px;
    position: absolute;
    left: calc(50% - 25px);
    top: -25px;
    font-size: 30px;
    color: #fff;
    transform: rotate(0deg);
    transition: transform .5s ease-in-out;
}

.icon-block a {
    display: inline-block;
    padding: 50px;
    list-style: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #343a40;
    font-weight: bold;
    text-decoration: none;
}

.icon-block:hover a {
    color: #6c757d;
}

.icon-block:hover .icon {
    transform: rotate(360deg);
}

.masonry .masonry-item {
    cursor: pointer;
}

.modal-body.loading:after {
    content: "\f110";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 40px;
    animation: fa-spin 2s infinite linear;
    padding: 3rem;
}

.colored_container{
    background-color: var(--primary-color);
    border-top: 8px solid var(--tint-1);
    border-bottom: 8px solid var(--tint-1);
    color: white;
    padding: 40px 0;
}

.colored_container p{
    color: var(--tint-3);
}

/* Carousel */
.home-carousel{
    height: 100vh;
}

.home-carousel .item{
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.home-carousel .item:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.3);
    z-index: 2;
}

.home-carousel .owl-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    z-index: 1;
}

@keyframes owlslide{
    from{ transform: scale(1.1); }
    to{ transform: scale(1); }
}

.home-carousel .owl-item.active .owl-image{
    animation: owlslide 7s ease-out;
}

@keyframes slide-in{
    from{ transform: translateY(-20%); opacity: 0; }
    to{ transform: translateY(-35%); opacity: 1; }
}

.home-carousel .item .container{
    position: relative;
    height: 100%;
}

.home-carousel .owl-item.active .item .slider-lead{
    animation: slide-in .5s ease both;
    animation-delay: .5s;
    transform: translateY(-35%);
}

.home-carousel .item .slider-lead{
    position: absolute;
    top: 35%;
    left: 0;
    padding: 0 15px;
    transform: translateY(-20%); 
    opacity: 0;
    z-index: 3;
}

.home-carousel .item .slider-lead .lead-wrapper *{
    color: white;
}

@keyframes scrolldown{
    from{ bottom: -50px; }
    to{ bottom: 10px; }
}

.scroll-down{
    position: absolute;
    width: 35px; 
    height: 55px;
    border: 1px solid white; 
    z-index: 10;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    cursor: pointer;
    border-radius: 20px;
    animation: scrolldown 1s ease;
}

@keyframes mousemove{
    from, 40%, to, 80%{ opacity: 0 }
    from, 40%{ top: 3px; }
    to, 80%{ top: 15px; }
    60%{ opacity: 1; }
}

.scroll-down i{
    position: absolute;
    top: 26px;
    left: 50%;
    z-index: 11;
    color: white;
    font-size: 8px;
    transform: translateX(-50%);
    animation: mousemove 3s ease infinite;
}

.outer-slider{
    overflow: hidden;
}

@keyframes slide-in-btn{
    from{ transform: translateY(40px); opacity: 0; }
    to{ transform: translateY(0px); opacity: 1; }
}

.btn-carousel-wrapper{
    animation: slide-in-btn .5s ease both;
    animation-delay: 1s;
}

.btn-carousel-wrapper.inline-buttons{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

@keyframes pulse{
    from{ box-shadow: 0px 0px 0px 0px rgba(216, 26, 26, 1) ;}
    to{ box-shadow: 0px 0px 0px 20px rgba(216, 26, 26, 0) ;}
}


.btn-carousel{
    padding: .5rem 1rem;
    color: white !important;
    text-decoration: none !important;
    font-size: 18px;
    background: var(--accent);
    margin-top: 1rem;
    margin-top: 30px;
    animation: pulse 2s ease infinite both;
    animation-delay: 2.5s;
    display: inline-block;
}

.inline-buttons .btn-carousel{
    width: 100%;
    max-width: 300px;
    text-align: center;
    display: block !important;
}

/* layout */

.head_content{
    height: 100vh;
    max-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.head_content:after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 1;
}

@keyframes head_content{
    from{ opacity: 0; transform: translateX(-50%) translateY(0%);  }
    to{ opacity: 1; transform: translateX(-50%) translateY(-50%);  }
}

.head_content_lead{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation: head_content .5s ease both;
    animation-delay: .5s;
    color: white;
    font-size: 2rem;
    z-index: 9;
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 0 15px;
}

.head_content_lead p{
    margin-bottom: 0 !important;
}

@media screen and (max-width: 768px){
    .navbar-brand img{
        max-width: 300px;
    }
    .head_content{
        max-height: 250px;
    }
}

@media screen and (max-width: 460px){
    .navbar-brand img{
        max-width: 225px;
    }
}

/* Header */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(45, 36, 24, 0);
    z-index: 99;
    transition: .5s ease;
}

header ul li > a{
    color: white !important;
}

header.scrolled{
    background: var(--primary-color-rgba);
}

header .dropdown-menu{
    padding: 0;
    border-radius: 0;
    background-color: rgba(0,0,0,.4);
    box-shadow: none;
    border: none;
    transition: .5s ease;
}

header.scrolled .dropdown-menu{
    background-color: var(--primary-color);
}

.dropdown-menu a{
    color: white !important;
    background: none !important;
}

.dropdown-divider{
    margin: 0;
    transition: .5s ease;
}

header:not(.scrolled) .dropdown-divider{
    opacity: 0;
}

.dropdown-item{
    padding: .5rem 1rem;
}

.header-logo{
    width: 100%;
    max-width: 400px;
}

.animate-row{
    position: relative;
}

.animate-row.visible:after{
    width: 0%;
}

.animate-row:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transition: 1.3s ease;
    transition-delay: .2s;
}

.accent_header{
    border-bottom: 1px solid var(--accent);
    display: inline-block;
    padding-bottom: 3px;
    margin-bottom: 20px;
}

.content-box .rich-text{
    background: #ededed;
    padding: 15px;
    box-shadow: 0 0 15px -5px rgba(0,0,0,.1);
}

@media screen and (max-width: 768px){
    header .navbar-brand{
        width: calc(100% - 70px);
    }
    h2{
        font-size: 1.5rem;
    }
    h3{
        font-size: 18px;
    }
    .scroll-down{
        display: none;
    }
    .btn-carousel-wrapper{
        text-align: center;
    }
    .btn-carousel{
        width: 100%;
        margin: 0 auto;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .btn-carousel-wrapper{
        display: block;
    }
}

@media screen and (max-width: 991px){
    .parallax{
        background-attachment: unset !important;
    }
}

#open-menu{
    background: none;
    color: white;
    border: none !important;
    padding: 0 5px;
    font-size: 20px;
}

.section-top-fix{
    margin-top: -5rem;
}

.contact_header{
    height: 250px;
}

.dropdown-divider{
    border-color: var(--tint-2);
}

label[for="id_recaptcha"]{
    display: none;
}