/*------------------------------------------------------------------
    IMPORT FONTS
-------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Barlow:100,200,300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Marck+Script');

/*------------------------------------------------------------------
    IMPORT FILES
-------------------------------------------------------------------*/

@import url(animate.css);
@import url(font-awesome.min.css);
@import url(magnific-popup.css);

/*------------------------------------------------------------------
    SKELETON
-------------------------------------------------------------------*/

body {
    color: #666666;
    font-size: 15px;
    font-family: 'Comic Sans MS','Arial','sans-serif', sans-serif;
    line-height: 1.80857;
}


a {
    color: #1f1f1f;
    text-decoration: none !important;
    outline: none !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
    font-weight: normal;
    position: relative;
    padding: 0 0 10px 0;
    font-weight: normal;
    line-height: 120% !important;
    color: #1f1f1f;
    margin: 0
}

h1 {
    font-size: 24px
}

h2 {
    font-size: 22px
}

h3 {
    font-size: 18px
}

h4 {
    font-size: 16px
}

h5 {
    font-size: 14px
}

h6 {
    font-size: 13px
}

    h1 a,
    h2 a,
    h3 a,
    h4 a,
    h5 a,
    h6 a {
        color: #212121;
        text-decoration: none !important;
        opacity: 1
    }

        h1 a:hover,
        h2 a:hover,
        h3 a:hover,
        h4 a:hover,
        h5 a:hover,
        h6 a:hover {
            opacity: .8
        }

a {
    color: #1f1f1f;
    text-decoration: none;
    outline: none;
}

a,
.btn {
    text-decoration: none !important;
    outline: none !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.btn-custom {
    margin-top: 20px;
    background-color: transparent !important;
    border: 2px solid #ddd;
    padding: 12px 40px;
    font-size: 16px;
}

.lead {
    font-size: 18px;
    line-height: 30px;
    color: #767676;
    margin: 0;
    padding: 0;
}

blockquote {
    margin: 20px 0 20px;
    padding: 30px;
}

ul, li, ol {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

button:focus {
    outline: none;
}

.form-control::-moz-placeholder {
    color: #2a2a2a;
    opacity: 1;
}


/*------------------------------------------------------------------
    LOADER 
-------------------------------------------------------------------*/

#preloader {
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #ffffff;
    z-index: 11000;
    position: fixed;
    display: block;
}

.pulse {
    height: 300px;
    width: 1000px;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

    .pulse:after {
        content: '';
        display: block;
        align-content: center;
        background: url('../../assets/images/logo.png');
        background-size: 100% 50%;
        margin-top: 100px;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
        -webkit-animation: 2s pulse linear infinite;
        animation: 2s pulse linear infinite;
        clip: rect(0, 0, 100px, 0);
    }

    .pulse:before {
        content: '';
        position: absolute;
        z-index: -1;
        left: 2px;
        right: 2px;
        bottom: 0;
        top: 16px;
        margin: auto;
        height: 3px;
    }


@-webkit-keyframes pulse {
    0% {
        clip: rect(0, 0, 100px, 0);
        opacity: 0.4;
    }

    4% {
        clip: rect(0, 66.66667px, 100px, 0);
        opacity: 0.6;
    }

    15% {
        clip: rect(0, 133.33333px, 100px, 0);
        opacity: 0.8;
    }

    20% {
        clip: rect(0, 300px, 100px, 0);
        opacity: 1;
    }

    80% {
        clip: rect(0, 300px, 100px, 0);
        opacity: 0;
    }

    90% {
        clip: rect(0, 300px, 100px, 0);
        opacity: 0;
    }

    100% {
        clip: rect(0, 300px, 100px, 0);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        clip: rect(0, 0, 100px, 0);
    }

    4% {
        clip: rect(0, 66.66667px, 100px, 0);
    }

    15% {
        clip: rect(0, 133.33333px, 100px, 0);
    }

    20% {
        clip: rect(0, 300px, 100px, 0);
        opacity: 1;
    }

    80% {
        clip: rect(0, 300px, 100px, 0);
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    100% {
        clip: rect(0, 300px, 100px, 0);
        opacity: 0;
    }
}

.pulse {
    text-align: center;
}

    .pulse i {
        color: #ffffff;
        font-size: 38px;
    }

/*------------------------------------------------------------------
    HEADER
-------------------------------------------------------------------*/

.top-header .navbar {
    padding: 15px 0px;
}

h1,
h2,
h3,
h4 {
    color: #2e3092;
}

p {
    color: #414291;
}

.navbar-nav {
    inline-size: max-content;
	float: right;	
}


.top-header {
    width: 100%;
    position: fixed;
    /*background: #0000;*/
    z-index: 20;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: slideInDown;
    animation-name: slideInDown;
    background-color: #ffffff80
}

.top-header .navbar .navbar-collapse ul li a {
       padding: 15px 15px;
    text-transform: capitalize;
    font-size: 18px;
    color: #414291;
    height: auto;
}

    .top-header .navbar .navbar-collapse ul li a.active {
        background: #2e3092;
        color: #ffffff;
    }

    .top-header .navbar .navbar-collapse ul li a:hover {
        background: #ab1c21;
        color: #ffffff;
    }

    #contactform.show-contact {
 -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
    }
    #contactform{
 -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation-name: fadeOut;
        animation-name: fadeOut;
    }



    .top-header.fixed-menu {
        width: 100%;
        position: fixed;
        box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.06);
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
        z-index: 20;
        background-color: #ffffff;
    }


.navbar-toggler {
    border: 1px solid #ab1c21;
    border-radius: 0;
    margin: 16px 15px;
    padding: 10px 10px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}


    .navbar-toggler span {
        background: #ab1c21;
        display: block;
        width: 25px;
        height: 2px;
        margin: 0 auto;
        margin-top: 0px;
        -webkit-border-radius: 1px;
        -moz-border-radius: 1px;
        border-radius: 1px;
        -webkit-transition: all 0.2s linear;
        -moz-transition: all 0.2s linear;
        -o-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }

        .navbar-toggler span + span {
            margin-top: 5px;
        }

    .navbar-toggler:hover {
        border: 1px solid #2e3092;
    }

        .navbar-toggler:hover span {
            background: #2e3092;
        }


/*------------------------------------------------------------------
    Banner
-------------------------------------------------------------------*/


.lbox-caption {
    display: table;
    height: 100%;
    width: 100%;
}

.lbox-caption {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: 10;
}

.lbox-details {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    position: relative;
}

    .lbox-details::before {
        content: "";
        background: rgba(0,0,0,0.5);
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        z-index: 2;
    }

    .lbox-details h1 {
        font-size: 68px;
        font-family: 'Comic Sans MS','Arial','sans-serif', cursive;
        color: #ffffff;
        position: relative;
        z-index: 3;
    }

    .lbox-details h2 {
        font-size: 48px;
        color: #ffffff;
        position: relative;
        z-index: 3;
    }

    .lbox-details p {
        color: #ffffff;
        position: relative;
        z-index: 3;
    }

        .lbox-details p strong {
            color: #ab1c21;
            font-size: 40px;
            font-family: 'Comic Sans MS','Arial','sans-serif', cursive;
        }

    .lbox-details a.btn {
        background: #2e3092;
        padding: 10px 20px;
        font-size: 20px;
        text-transform: uppercase;
        color: #ffffff;
        border-radius: 0px;
        position: relative;
        z-index: 3;
    }

        .lbox-details a.btn:hover {
            background: #ab1c21;
        }

/*------------------------------------------------------------------
    About
-------------------------------------------------------------------*/

.about-box {
    padding: 70px 0px;
}

.title-box {
    text-align: center;
    margin-bottom: 30px;
}

    .title-box h2 {
        font-size: 50px;
        font-family: 'Montserrat', 'Comic Sans MS','Arial','sans-serif', cursive;
        color: #2e3092;
    }

        .title-box h2 span {
            color: #ab1c21;
            text-decoration: underline;
        }

.about-main-info h2 {
    font-size: 40px;
    font-family: 'Comic Sans MS','Arial','sans-serif', cursive;
}

    .about-main-info h2 span {
        color: #ab1c21;
        text-decoration: underline;
    }


/*------------------------------------------------------------------
    Story
-------------------------------------------------------------------*/

.story-box {
    padding: 70px 0px;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.main-timeline-box {
    position: relative;
    word-wrap: break-word;
}

    .main-timeline-box .timeline-element {
        margin-bottom: 50px;
        position: relative;
        word-wrap: break-word;
        word-break: break-word;
        display: -webkit-flex;
        flex-direction: row;
        -webkit-flex-direction: row;
    }

    .main-timeline-box .reverse {
        flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
    }

    .main-timeline-box .separline::before {
        top: 20px;
        bottom: 0;
        position: absolute;
        content: "";
        width: 2px;
        background-color: #f1f1f1;
        left: calc(50% - 1px);
        height: calc(100% + 4rem);
    }

    .main-timeline-box .iconBackground {
        position: absolute;
        left: 50%;
        width: 20px;
        height: 20px;
        line-height: 30px;
        text-align: center;
        border-radius: 50%;
        font-size: 30px;
        display: inline-block;
        background-color: #f1f1f1;
        top: 20px;
        margin-left: -10px;
    }

    .main-timeline-box .timeline-text-content {
        padding: 30px 35px;
        background: #f1f1f1;
    }

    .main-timeline-box .reverse .timeline-text-content {
        margin-right: 30px;
    }

    .main-timeline-box .reverse .time-line-date-content p {
        float: left;
        padding: 30px 35px;
        background: #f1f1f1;
    }

    .main-timeline-box .reverse .time-line-date-content {
        margin-right: 30px;
    }

.display-font {
    font-family: 'Comic Sans MS','Arial','sans-serif', cursive;
    font-size: 30px;
    color: #2e3092;
}

.main-timeline-box .timeline-text-content {
    margin-left: 30px;
}

.main-timeline-box .time-line-date-content p {
    float: right;
    padding: 30px 35px;
    background: #f1f1f1;
}

.main-timeline-box .time-line-date-content {
    margin-right: 30px;
}

    .main-timeline-box .time-line-date-content .mbr-timeline-date {
        background: #ab1c21;
        color: #ffffff;
    }

.main-timeline-box .reverse .time-line-date-content .mbr-timeline-date {
    background: #2e3092;
    color: #ffffff;
}


/*------------------------------------------------------------------
    Family
-------------------------------------------------------------------*/

.family-box {
    padding: 70px 0px;
}

.single-team-member {
    position: relative;
    margin-top: 30px;
    border: 10px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.family-img {
    position: relative;
}

    .family-img::after {
        position: absolute;
        top: 0;
        left: 0;
        visibility: hidden;
        width: 100%;
        height: 100%;
        content: '';
        -webkit-transition: .3s;
        transition: .3s;
        opacity: 0;
        background-color: #535c68;
    }

.family-info {
    padding: 25px 30px;
    background-color: #f1f1f1;
}

    .family-info h4 {
        font-family: 'Comic Sans MS','Arial','sans-serif', cursive;
        font-size: 24px;
    }

    .family-info p {
        margin: 0px;
        font-size: 18px;
    }

/*------------------------------------------------------------------
    Gallery
-------------------------------------------------------------------*/

#gallery,
#contact, footer {
    text-align: center;
}

#gallery {
    background: #ffffff;
}

    #gallery .gallery-thumb {
        background-color: #ffffff;
        box-shadow: 0px 1px 2px 0px rgba(90, 91, 95, 0.15);
        cursor: pointer;
        display: block;
        margin-bottom: 25px;
        position: relative;
        top: 0px;
        transition: all 0.4s ease-in-out;
    }

        #gallery .gallery-thumb:hover {
            box-shadow: 0px 16px 22px 0px rgba(90, 91, 95, 0.3);
            top: -5px;
        }

        #gallery .gallery-thumb img {
            border-top-right-radius: 2px;
            border-bottom-left-radius: 2px;
            width: 100%;
        }


/*------------------------------------------------------------------
    Events
-------------------------------------------------------------------*/

.events-box {
    padding: 70px 0px;
}

.event-inner {
    margin-bottom: 30px;
    border: 10px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

.event-img {
    margin-bottom: 15px;
}

.event-inner a {
    background: #ab1c21;
    color: #ffffff;
    padding: 5px 10px;
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
}

    .event-inner a:hover {
        background: #2e3092;
    }

/*------------------------------------------------------------------
    Contact
-------------------------------------------------------------------*/

.contact-box {
    padding: 70px 0px;
}

.contact-block {
}

    .contact-block .form-group .form-control {
        background: #e6eceb;
        height: 45px;
        font-size: 16px;
        border: 0;
        color: #2e3092;
        padding: 6px 15px;
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -o-border-radius: 3px;
        -ms-border-radius: 3px;
        border-radius: 3px;
    }

    .contact-block .form-group textarea.form-control {
        height: 150px;
        padding-top: 15px;
    }

.submit-button .btn-common {
    background-color: #2e3092;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding: 0 15px;
    border: 0;
    outline: 0;
    text-transform: uppercase;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}

    .submit-button .btn-common:hover {
        background-color: #ab1c21;
    }

.custom-select {
    height: 45px;
    font-size: 16px;
}

select.form-control:not([size]):not([multiple]) {
    height: calc(45px + 2px);
}

.help-block ul li {
    color: red;
}


/*------------------------------------------------------------------
    FOOTER
-------------------------------------------------------------------*/

.footer-area {
    background: #fff;
    padding: 80px 0px;
    color: #fff;
    font-size: 14px;
    float: left;
    width: 100%
}

.logo img {
    /*width: 250px;
    margin-bottom: 30px*/
}

.footer-area p {
    color: #414291;
    font-size: 16px;
    font-weight: 400
}

.footer-info {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative
}

    .footer-info h3,
    .subcriber-info h3 {
        color: #2e3092;
        font-size: 22px;
        font-weight: 600;
        border-left: solid #2e3092 5px;
        padding: 0 0 0 15px;
        margin-bottom: 24px
    }

.copyright-area {
    padding: 20px 0px;
    background: #2e3092;
    color: #fff;
    float: left;
    width: 100%
}


.footer-text p {
    margin: 0;
    color: #fff;
    font-size:10px;
}

.social-links li a i {
    color: #fff;
    font-size: 24px;
    margin-right: 20px
}

.social-links li a i {
    color: #fff;
    font-size: 24px;
    margin-right: 20px
}

.footer-info i {
    position: absolute;
    left: 0;
    font-size: 25px;
    width: 30px;
    text-align: center;
    color: #2e3092;
}

.preloader {
    width: 350px
}

.footer-info p {
    padding-left: 40px;
    margin-bottom: 15px
}

.social-links {
    padding: 0;
    list-style: none;
    float: left;
    width: 100%;
    margin: 0
}

.social-links {
    float: left
}

    .social-links li {
        float: right;
        margin: 0
    }

.footer-info p {
    padding-left: 40px
}

.newsletter-form input {
    display: inline-block;
    height: 50px;
    width: 80%;
    padding: 5px 20px;
    background: #eee;
    float: left;
    border-radius: 0;
    border: none;
    box-shadow: none
}

.newsletter-form .mc-submit {
    height: 50px;
    width: 20%;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right,#2e3092 0%,#ab1c21 100%);
    border: none;
    font-size: 24px;
    position: relative;
    display: inline-block;
    float: left;
    text-align: center
}

    .newsletter-form .mc-submit:hover,
    .newsletter-form .mc-submit:focus {
        background: linear-gradient(to right,#ab1c21 0%,#2e3092 100%)
    }
#color {
    padding-top: 17vh;
}

