/* #####################
    Project Colors
##################### */

.colors {
    color: #005881   /* Primary */
}

/* #####################
    Theme Fixes
##################### */

.content-center-vertical {
    width: 100%;
}

/* #####################
    Class Styles
##################### */

.circle {
    border-radius: 50%;
}

h1.center,
h2.center,
h3.center,
h4.center,
h5.center,
h6.center {
    text-align: center
}

hr.break.center {
    margin-left: auto;
    margin-right: auto;
}

.icon-boxes > div {
    min-height: 300px;
}

.logo img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

.content ul li {
    font-size: 0.85em;
}

.content p {
    font-size: 1em;
}

.content p + p {
    margin-top: 15px;
}

.content p + ul {
    margin-top: 0px;
}

.content ul {
    margin-bottom: 10px;
}

.content hr {
    border: none;
    border-bottom: solid 2px #eeeeee;
}

header.section {
    padding: 20px;
}

.rounded {
    border-radius: 25px;
}

.service-box {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    width: 100%;
}

.service-box:before {
    content: "";
    width: 100%;
    display: block;
    order: 3;
    clear: both;
}

.service-box:after {
    content: "";
    display: block;
    margin: 25px 0;
    border: 0;
    border-bottom: 2px solid #e5e5e5;
    border-top: 2px solid #e5e5e5;
    height: 8px;
    width: 60px;
    order: 4;
}

.service-box:last-child:after{
    display: none;
}

.service-box > .icon-box {
    width: 200px;
    height: 200px;
    flex-grow: 0;
    background: #005881;
    font-size: 100px;
    text-align: center;
    color: #ffffff;
    text-shadow: #000000 3px 3px 2px;
    box-shadow: #000000 3px 3px 2px;
    order: 1;
}

.service-box > .icon-box > i {
    line-height: 200px;
}

.service-box > .content {
    width: 0;
    flex-grow: 1;
    order: 2;
    margin-left: 25px;
}


@media (max-width: 768px) {
    .icon-boxes > div {
        min-height: 0;
    }
    .icon-boxes > div + div:before {
        content: "";
        display: block;
        width: 100%;
        border-bottom: solid 1px black;
        margin: 10px 0 15px;
    }
    .icon-boxes h4 {
        font-size: 15px;
    }
    .service-box {
        flex-direction: column;
    }
    
    .service-box > .icon-box {
        margin: 0 auto 25px;
        border-radius: 50%;
    }
    
    .service-box > .content {
        margin-left: 0;
        width: 100%;
    }
    
    .service-box:after {
        margin: 25px auto;
    } 
    
    .section, header.section {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 480px) {
    .service-box > .icon-box {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .service-box > .content {
        margin-left: 0;
        width: 100%;
    }
    
    .service-box:after {
        margin: 25px auto;
    }
    
    .service-box > .icon-box > i {
        line-height: 100px;
    }
}

.text-shadow {
    text-shadow: #000000 3px 3px 2px;
}

/* #####################
    Element Styles
##################### */

#about-header {
    padding: 80px 0;
}

#about-header h2, 
#about-header h4,
#about-header hr {

}

#footer-img {
    border-radius: 5px;
}

@media (max-width: 768px){
    #about-header {
        padding: 0;
    }

    #about-header h2, 
    #about-header h4,
    #about-header hr {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    #footer-img {
        margin: 0 auto;
        border-radius: 25px;
    }
}

/* #####################
    Design Mode
##################### */

/* Hide Carousel - Too Wide */
.DesignMode .owl-carousel > .owl-wrapper-outer,
.DesignMode .owl-carousel > .owl-controls {
    display: none !important;
}

.DesignMode .owl-carousel:before {
    content: "{{ Owl Carousel }}";
    padding: 25px;
    text-align: center;
    color: white;
    background: #222222;
    font-size: 2em;
    font-weight: bold;
    width: 100%;
    display: block;
}

.DesignMode .owl-carousel:after {
    content: "Hidden in Design Mode";
    padding: 0 25px 25px;
    margin-top: -10px;
    text-align: center;
    color: #eeeeee;
    background: #222222;
    font-size: 1em;
    font-weight: bold;
    font-style: italic;
    width: 100%;
    display: block;
}