/* Feature Row */
.feature-row {
    padding: 45px 0 10px;
    background-color: #ececec;
    -webkit-box-shadow: 0 -8px 29px -21px rgba(0, 0, 0, 0.3) inset,
        0 8px 29px -21px rgba(0, 0, 0, 0.3) inset;
    box-shadow: 0 -8px 29px -21px rgba(0, 0, 0, 0.3) inset,
        0 8px 29px -21px rgba(0, 0, 0, 0.3) inset;
    margin-bottom: 35px;
}

.feature-row-blue {
    background-color: #00457d;
    color: #fff;
}

/* Text Content */
.text-content.default {
    margin-bottom: 45px;
}

.text-content.center {
    text-align: center;
}

.text-content.lead {
    padding: 15px 0 25px;
    text-align: center;
    margin: 0 auto;
    max-width: 750px;
    width: 100%;
}

.text-content.lead h3 {
    color: #00457d;
    margin: 0 0 20px;
}

.text-content.lead hr {
    width: 600px;
    max-width: 100%;
    margin: 0 auto 20px;
    border-bottom: 5px solid #dcdcdc;
}

.text-content.lead p {
    margin: 0 0 20px;
}

.text-content.default h3 {
    border-left: 3px solid #dd0000;
    color: #dd0000;
    margin: 0 0 20px;
    padding-left: 8px;
    text-transform: uppercase;
}

.text-content.default p {
    margin-bottom: 20px;
}

.check-list {
    border-bottom: 0;
    border-radius: 3px;
    padding: 0;
    list-style: none;
}

.check-list > li {
    padding: 8px 12px;
    padding-left: 42px;
    position: relative;
}

.check-list > li:before {
    content: '\f00c';
    color: #1db71d;
    font-family: 'FontAwesome', sans-serif;
    margin-right: 10px;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.21em;
    border: 2px solid #1db71d;
    text-align: center;
    border-radius: 50%;
    left: 8px;
    position: absolute;
}

.check-list > li.crossed:before {
    content: '\f00d';
    color: #dd0000;
    border-color: #dd0000;
}

/* Service Boxes */
.service-box {
    display: block;
    margin: 0 auto 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box::after{
    content: 'Select';
    font-weight: bold;
    padding: 4px 0;
    position: absolute;
    right: 0;
    top: 0;
    background-image: linear-gradient(to right, #002240 0, #00437f 100%);
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    z-index: 1;
    width: 170px;
    transform: rotate(45deg) translate(50px, -10px);
}

.service-box .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.8;
    position: absolute;
    z-index: 1;
    transition: opacity 0.2s ease-out;
}

.service-box:hover .overlay {
    opacity: 1;
}

.service-box h3 {
    margin: 0;
    color: #fff;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    position: absolute;
    text-align: center;
    text-shadow: 0 -1px 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    top: 50%;

    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);

    -webkit-transition: top 0.2s ease-out;
    -moz-transition: top 0.2s ease-out;
    -ms-transition: top 0.2s ease-out;
    -o-transition: top 0.2s ease-out;
    transition: top 0.2s ease-out;

    width: 100%;
    z-index: 2;
}

.service-box:hover h3 {
    top: 40%;
}

.service-box-img {
    transform: scale(1);
    transition: transform 0.2s ease-out;
}

.service-box:hover .service-box-img {
    transform: scale(1.2);
}

.service-box .btn {
    position: absolute;
    left: 50%;
    opacity: 0;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-transition: opacity 0.2s ease-out, top 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out, top 0.2s ease-out;
    -ms-transition: opacity 0.2s ease-out, top 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out, top 0.2s ease-out;
    transition: opacity 0.2s ease-out, top 0.2s ease-out;

    top: 50%;
    z-index: 3;
}

.service-box:hover .btn {
    opacity: 1;
    top: 60%;
}

.service-box a {
    position: absolute;
}

/* Service CTA */
.service-cta {
    text-align: center;
}

.service-cta .service-cta-icon {
    width: 96px;
    max-width: 100%;
    margin: 0 auto 15px;
}

.service-cta .service-cta-icon img {
    display: block;
    width: 100%;
}

.service-cta h3 {
    font-size: 20px;
}

/* Slick Slider */
.bb-slick-slider {
    margin-bottom: 35px;
}

.bb-slick-slider .slick-prev:before,
.bb-slick-slider .slick-next:before {
    color: #444;
}

.bb-slick-slider .slick-slide {
    padding: 4px 20px;
    outline: none;
    text-align: center;
}

.bb-slick-slider .slick-slide img {
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.bb-slick-slider .slick-slide img {
    margin-left: auto;
    margin-right: auto;
}

/* Simple Image */
.simple-image {
    background-color: #fff;
    border: 6px solid #ccc;
    padding: 3px;
    margin-bottom: 40px;
}

.simple-image.borderless {
    background: none;
    border: 0;
    padding: 0;
}

.simple-image img {
    width: 100%;
    display: block;
}

@media (min-width: 768px) {
    .simple-image img {
        width: 100%;
    }
}

/* Contact Main */
.contact-main {
    background: #323232;
    color: #fff;
    padding: 20px;
}

.contact-main h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 0 15px;
}

.contact-main .table {
    margin-bottom: 0;
}

.contact-main .table tr:first-child th,
.contact-main .table tr:first-child td {
    border-top: 0;
}

.contact-main .table th,
.contact-main .table td {
    border-top-color: #4e4e4e;
}

#primary .vc_toggle {
    border: 1px solid #dcdcdc;
    padding: 25px 25px 5px;
}

#primary .vc_toggle_title {
    margin-bottom: 25px;
    color: #00457d;
}

#primary .vc_toggle_square.vc_toggle_color_inverted .vc_toggle_icon {
    border-color: #dd0000;
}

#primary .vc_toggle_square.vc_toggle_color_inverted .vc_toggle_icon::after,
#primary .vc_toggle_square.vc_toggle_color_inverted .vc_toggle_icon::before {
    background-color: #dd0000;
}

#primary .vc_toggle_content {
    margin-bottom: 0;
}

#primary .vc_toggle_content p {
    margin-bottom: 20px;
}
