/*
Theme Name: Schema Child
Version: 1.0
Description: A child theme of Schema by MyThemeShop
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");

/* general */
.copyrights {
    text-align: center;
}
.copyrights a {
    color: #1e547b !important;
}
.btn {
    color: #fff !important;
    background: #8c8c8c;
    padding: 10px 15px;
    text-transform: uppercase;
    border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 1px 1px 1px #000;
    -moz-box-shadow: 1px 1px 1px #000;
}
.alignleft {
    float: left;
    margin: 0px 20px 20px 0px;
    border: 2px solid #ececec;
    margin-bottom: 20px;
    -webkit-box-shadow: 0 8px 6px -6px black;
    -moz-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}
.alignright {
    float: right;
    margin: 0px 0px 20px 20px;
    border: 2px solid #ececec;
    margin-bottom: 20px;
    -webkit-box-shadow: 0 8px 6px -6px black;
    -moz-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}
.alignnone {
    border: 2px solid #ececec;
    margin-bottom: 20px;
    -webkit-box-shadow: 0 8px 6px -6px black;
    -moz-box-shadow: 0 8px 6px -6px black;
    box-shadow: 0 8px 6px -6px black;
}
#logo img {
    width: 373px;
}
#header .logo-wrap {
    padding: 2px 0;
}
/* header */
.main-header {
    background: #1e547b;
}
#header {
    background: #fff;
    padding: 15px 0;
}
.main-header p.phone {
    color: #fff;
    float: left;
    font-family: "Open Sans";
    /*padding-top: 8px;*/
    font-size: 18px;
    margin-bottom: 0px;
}
.main-header p.phone span {
    font-size: 24px;
}
#primary-navigation p.phone a {
    margin: 0px;
    color: #fff;
    font-size: 18px;
}
ul#menu-main-menu {
    margin-top: 0;
}
#secondary-navigation a {
    padding: 33px 10px;
}
div.header-social-icons {
    float: right;
    background: #fff;
    position: relative;
    margin-left: 35px;
}
div.header-social-icons:before {
    border-color: rgba(0, 0, 0, 0) #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    top: 1px;
}
.accessibility-location-right .accessability_container {
    right: -180px;
    top: 80px;
}
.header-social-icons a {
    color: #8c8c8c !important;
}
#page.homepage {
    width: 100%;
    max-width: 100%;
}

.carousel-caption {
    text-shadow: none;
    bottom: 1%;
    position: absolute;
    text-align: center;
    width: 100%;
}

.carousel-caption h1 {
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    text-shadow: 1px 1px 1px #000;
}
.carousel-caption p {
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.carousel-caption a {
    background-color: #1e547b;
    border: none;
    box-shadow: none;
    color: #fff;
    border-style: none;
    padding: 9px 27px;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 0;
    border-radius: 2px;
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    line-height: 1.43;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    cursor: pointer;
}

.carousel-caption a:hover {
    background-color: #8c8c8c;
    color: #fff;
}

.carousel-inner img,
.carousel-inner video {
    width: 100%;
}
.carousel-video {
    height: 600px;
}
.carousel-video .carousel-inner {
    height: 100%;
}
.carousel-video .carousel-inner .item {
    height: 100%;
    position: relative;
}
.carousel-video .carousel-inner .item video {
    position: absolute;
    bottom: -40px;
    left: 0;
}
@media (min-width: 1601px) {
    .home .main-header {
        opacity: 0.8;
    }
    .carousel-video .carousel-inner .item video {
        bottom: -250px !important;
    }
}
@media (max-width: 1600px) {
    .carousel-video {
        height: 700px;
    }
}
@media (max-width: 1366px) {
    .carousel-video {
        height: 600px;
    }
}
@media (max-width: 1150px) {
    .carousel-video {
        height: 400px;
    }
    .carousel-caption h1 {
        font-size: 25px;
    }
    .carousel-caption p {
        font-size: 15px;
        margin-bottom: 15px;
    }
    .carousel-caption a {
        padding: 5px 20px;
        font-size: 14px;
    }
}

/* welcome */
.welcome {
    width: 100%;
    padding: 70px 0px 30px 0;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#DCD8D3+0,ae5c72+100 */
    background: #dcd8d3; /* Old browsers */
    background: -moz-linear-gradient(top, #dcd8d3 0%, #8c8c8c 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #dcd8d3 0%, #8c8c8c 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #dcd8d3 0%, #8c8c8c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DCD8D3', endColorstr='#8C8C8C',GradientType=0 ); /* IE6 */
    margin-bottom: 50px;
    position: relative;
}
.welcome h1 {
    text-align: center;
    color: #fff;
}
.welcome p,
.welcome h3 {
    color: #fff;
}

/* home boxes */
.homepage .container {
    width: 80%;
    max-width: 80%;
}
.home-widgets .f-widget {
    float: left;
    margin-right: 2%;
    width: 32%;
    position: relative;
}
.home-widgets.widgets-num-3 .f-widget:nth-child(3n) {
    margin-right: 0;
}
.home-widgets .f-widget h3 {
    position: absolute;
    bottom: 10%;
    padding-bottom: 5%;
    padding-top: 20%;
    text-align: center;
    width: 100%;
    color: #fff;
    margin-bottom: 0px;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.homeServices {
    margin-top: 50px;
    overflow: hidden;
    text-align: center;
    padding: 25px 0px;
}
.homeServices .service {
    display: inline-block;
    text-align: center;
    font-size: 24px;
    height: 350px;
    overflow: hidden;
    width: 31%;
    margin: 3px 0 5px;
    padding: 10px 7px 0;
}
.homeServices .service .simg {
    display: block;
    height: 290px !important;
    overflow: hidden;
    width: 100%;
    background-size: cover;
    background-position: 50% 50%;
    margin: 0px auto;
    position: relative;
}
p.title {
    position: relative;
    text-align: center;
    font-size: 26px;
    width: 100%;
    color: #fff;
    margin-top: -17%;
    padding: 20px 0;
    margin-bottom: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}
/* inner pages */
.article {
    width: 99.5%;
}
.page h1.title {
    margin-bottom: 20px;
}
footer {
    padding-top: 0px;
    margin-top: 0px;
}
.hide-d {
    display: none;
}
.single_post {
    background: none;
}

/* Blog main page */
.front-view-content {
    width: 75%;
    padding-right: 5%;
}
#featured-thumbnail {
    float: right;
    width: 20%;
}

#logo a {
    float: none !important;
}
.service a {
    display: block;
    position: relative;
}
p.title {
    margin: 0px;
    bottom: 0px;
    left: 0px;
    position: absolute;
}
@media (max-width: 1024px) {
    #secondary-navigation a {
        padding: 24px 1px;
    }
    homeServices .service {
        height: 342px;
    }
}

/* mobile */
@media screen and (max-width: 880px) {
    .homeServices .service .simg {
        display: block;
        height: 210px !important;
        overflow: hidden;
        margin: 0px auto;
    }
    .homeServices .service {
        width: 94%;
        height: 230px;
    }
    .hide-d {
        display: block;
    }
    .mobileBtn {
        margin-bottom: 0px;
    }
    .mobileBtn a,
    .hours {
        display: block;
        color: #fff;
        text-align: center;
        background: #8c8c8c;
        padding: 10px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        margin: 10px !important;
    }
    .mobileBtn.phoneBtn {
        font-size: 20px;
    }
    .mobileBtn a:hover,
    .mobileBtn a:visited {
        color: #fff;
    }
    .carousel-video {
        display: none;
    }
    .welcome {
        padding-top: 30px;
    }
    .welcome a {
        color: #fff;
    }
    .home-widgets .f-widget {
        margin-right: 0;
        width: 100%;
    }
    .footer-widgets.widgets-num-4 .f-widget:nth-child(even),
    .footer-widgets.widgets-num-3 .f-widget:nth-child(even),
    .footer-widgets.widgets-num-4 .f-widget,
    .footer-widgets.widgets-num-3 .f-widget {
        width: 100% !important;
        max-width: 100% !important;
    }
    .post-content img,
    .welcome img {
        width: 100%;
        height: auto;
    }
    div.header-social-icons {
        float: none !important;
        text-align: center;
        background: none !important;
    }
    div.header-social-icons a {
        float: none;
        display: inline-block;
        position: relative;
        z-index: 9999;
    }
    .header-social-icons {
        text-align: Center;
        float: none !important;
    }
    .header-social-icons a {
        display: inline-block;
        font-size: 32px !important;
        width: 34px !important;
        line-height: 34px;
        color: #333 !important;
    }
}

/* Rating System CSS - LEGACY */

.dm-rate-us a:before {
    font-family: FontAwesome;
}
.dm-rate-us .rtg,
.dm-rate-us > a {
    display: inline-block;
    position: relative;
}
.dm-rate-us .rtg {
    text-align: center;
    float: none;
    direction: rtl;
    margin-left: 0;
}
.dm-rate-us > a {
    color: #184755 !important;
    transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    text-decoration: none;
    line-height: 34px;
    padding: 0 1px;
    font-size: 25px;
}
.dm-rate-us a:visited {
    color: #cb7b14;
}
.dm-rate-us span {
    font-size: 20px;
    margin-right: 7px;
    color: #fff;
    position: relative;
    text-transform: none;
    top: 0;
}
.dm-rate-us a:hover:before {
    content: "\f005";
    color: #d89947 !important;
}
.dm-rate-us a:hover {
    color: #d89947 !important;
}
.rtg > a:hover:before,
.rtg > a:hover ~ a:before {
    content: "\f005";
    color: #e1c851 !important;
    transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
}

@media screen and (max-width: 880px) {
    .dm-rate-us span {
        font-size: 21px;
        color: #111;
    }
    .rtg a {
        color: #111;
    }
    .dm-rate-us a:visited {
        color: #111;
    }
    .dm-rate-us .rtg {
        text-align: center;
        float: none;
        direction: rtl;
        margin-left: 0;
        font-size: 23px;
    }
    .dm-rate-us {
        display: block;
        position: relative;
        color: #0f5837;
        text-transform: uppercase;
        margin: 10px 15px;
        text-align: center;
        display: block;
        color: #111;
        text-align: center;
        padding: 10px;
        border-radius: 4px;
        -moz-border-radius: 4px;
        margin: 10px !important;
    }
}

@media (min-width: 880px) {
    .dm-rate-us a,
    .dm-rate-us .review-link {
        padding: 0 !important;
        background: unset !important;
        width: auto !important;
        color: white !important;
        font-size: 18px !important;
        /*text-decoration: none !important;
        */
    }

    .dm-rate-us a {
        margin: 0 !important;
    }

    .dm-rate-us a:visited {
        color: white !important;
    }

    .navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.social-header .social-icons {
    display: inline-block;
}
#primary-navigation {
    float: none;
}

.rate-us-page-dm .dm-rate-us a {
    padding: 0 !important;
    background: unset !important;
    font-size: 42px !important;
    width: auto !important;
    color: black !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.rate-us-page-dm .dm-rate-us {
    display: block;
    text-align: center;
}

.rate-us-page-dm {
    padding: 4rem 0 !important;
}

@media screen and (min-width: 880px) {
    .rate-us-page-dm .dm-rate-us a {
        font-size: 60px !important;
    }
}
