/*
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 */

.btn {
    color: #fff !important;
    background: #7f0000;
    padding: 10px 15px;
    text-transform: uppercase;
    border-radius: 10px;
    -moz-border-radius: 10px;
}
.welcome a {
    color: #7f0000 !important;
}
.widgetBox p {
    color: #2c2c2c;
}
.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;
}
.widget h3 {
    color: #2c2c2c;
}
.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;
}
blockquote {
    font-style: italic;
    padding-left: 15px;
}
blockquote::after {
    font-size: 10px;
    width: 18px;
}

.article blockquote {
    clear: both;
}

#post-667 h3 {
    margin-bottom: 30px;
    line-height: 28px;
}
.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;
}
.center {
    text-align: Center;
}
.clear {
    clear: both;
}
#secondary-navigation a {
    padding: 10px 15px;
}
/* header */
.main-header {
    background: #8a0a0a;
}
#header {
    background: #8f3939;
}
.topBar {
    width: 100%;
    height: 40px;
    background: #666;
    text-align: center;
}
.topBar p,
.topBar p a {
    color: #fff;
    font-size: 18px;
}
.topBar .header-social-icons {
    display: inline-block;
    float: none;
    position: static;
    margin-top: 3px;
}

#regular-header .btn {
    background: #666;
}

.logo-wrap,
.headerPhone,
.headerInfo {
    float: left;
    width: 50%;
    padding: 1%;
}
.logo-wrap {
    margin: 5px 0;
    padding-top: 0px;
    padding-bottom: 0px;
    width: auto;
}
.logo-wrap img {
    width: 200px;
}

.headerInfo {
    width: 46%;
    text-align: right;
    margin-top: 20px;
}
.headerInfo p {
    margin-bottom: 5px;
}
.phoned {
    font-size: 28px;
    margin-bottom: 20px;
    display: inline-block;
    vertical-align: middle !important;
}

div.header-social-icons {
    background: none;
    border: 0px;
}
div.header-social-icons a {
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    width: 20px;
    text-align: center;
    line-height: 20px;
    margin: 0px 5px;
    font-size: 18px;
}
div.header-social-icons::before {
    border: 0px;
}

.topBar .header-social-icons a.btn {
    width: auto;
    border-radius: 5px;
    background: #7f0000 !important;
}

#primary-navigation .header-social-icons a,
.header-social-icons a {
    padding: 0px 10px;
}

.primary-slider-container {
    max-width: 100%;
    float: none;
    width: 100%;
    margin: 0px;
}
.primary-slider-container img {
    float: none;
    width: 100%;
}
.primary-slider-container .slide-caption {
    width: 94%;
    padding: 2% 3%;
    bottom: 10%;
    left: 0px;
    max-height: 50px;
    background: none !important;
}
.primary-slider .slide-title {
    font-style: italic;
}
.slide-title {
    font-size: calc(24px + 1vw) !important;
    line-height: 34px;
    text-align: right;
}
.owl-carousel .owl-item img {
    max-width: 100% !important;
}
.primary-slider .owl-dots {
    bottom: 8%;
    top: inherit;
    right: 16%;
}

.separator {
    width: 100%;
    height: 5px;
    margin: 10px 0;
    background: #8f3939;
}
.center img {
    display: inline-block !important;
    margin: 10px !important;
}
.center {
    text-align: center;
}

#page {
    padding-top: 0px;
    width: 100%;
    max-width: 100%;
}

/* home boxes */
.homeBoxes {
    margin: 0px auto;
    margin-top: 0px;
    height: auto;
    text-align: center;
    z-index: 5000;
}
.homeBox {
    position: relative;
    float: left;
    width: 21%;
    padding: 2%;
    overflow: hidden;
    height: 300px;
}
.homeBox img {
    width: 100%;
    vertical-align: middle;
}
.homeBox h3 {
    position: absolute;
    bottom: 0px;
    padding: 10px 0;
    z-index: 6000;
    text-align: center;
    color: #fff;
    width: 84%;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(53, 28, 1, 0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(53, 28, 1, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(53, 28, 1, 0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6351c01',GradientType=0 );
    margin: 0px;
    width: 100%;
}

html button.aicon_link {
    background-color: #808080 !important;
}
.primary-slider {
    float: none !important;
    position: relative;
}
.newCon {
    height: 50vh;
    background-position: 50% 15%;
    background-size: cover;
    position: relative;
}
.owl-controls {
    display: none !important;
}
.welcome {
    margin-top: 20px;
    padding: 24px 0px;
    background: #8a0a0a;
}
.welcome h1,
.welcome h2,
.welcome h3 {
    text-align: center;
    color: #fff;
}
.welcome p {
    color: #fff;
}

.contactBox {
    padding-top: 40px;
    border-top: 1px solid #ccc;
    height: 320px;
    color: #000;
}
.contactBox h2 {
    color: #7e0000;
}
.contactText {
    float: left;
    width: 45%;
    padding-right: 5%;
}
.contactMap {
    float: left;
    width: 50%;
}
.contactBox a {
    color: #fff !important;
}

/* inner pages */
#page.single {
    float: left;
}
.article {
    background: none;
    margin: 0 auto;
    float: none;
}
.page h1.title {
    margin-bottom: 20px;
}

/* footer */
footer {
    margin-top: 10px;
}
.copyrights {
    text-align: center;
}
#copyright-note span {
    display: none;
}
.to-top {
    float: none;
}
#copyright-note .to-top span {
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
}
#copyright-note .to-top a {
    color: #000 !important;
}

/*.footerWidgets { padding: 30px; }*/
/*.footerWidgets .container { background: rgba(255,255,255,0.7); }*/
.widgetBox {
    float: left;
    width: 31%;
    padding: 1%;
}
.hide-d {
    display: none;
}
.social-profile-icons .social-yelp a {
    background: #bd2525;
}
#logo a {
    float: none !important;
}
.banner img {
    width: 100%;
}

/*Blog*/
.post-info {
    display: none;
}
#featured-thumbnail {
    max-width: 30%;
    display: block;
    position: relative;
    overflow: hidden;
    clear: both;
    margin-bottom: 15px;
    float: right;
}

.front-view-content {
    float: left;
    width: 69%;
}
body#blog #content_box {
    width: 100%;
}
body#blog #sidebar {
    display: none;
}
.headerInfo {
    width: 235px;
    box-sizing: border-box;
    float: right;
    padding: 0px;
}
.headerInfo.hide-xs .btn {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}
.homeBoxes {
    position: relative;
    z-index: 1;
}
.welcome h2 {
    text-align: center;
    font-weight: bold;
}
.welcome a {
    color: #fff !important;
}
.homeBoxes a {
    display: block;
    height: 100%;
    position: relative;
}
.homeBoxes .box {
    height: 100%;
    background-position: 50% 50%;
    background-size: cover;
}
.footerWidgets {
    background-image: url(/wp-content/uploads/2018/04/horseshoe_grey_10opacity.jpg);
}
.article {
    background: none;
    margin: 0 auto;
    float: none;
    width: 100%;
    max-width: 1170px;
    box-sizing: border-box;
    box-shadow: 0px 0px 0px;
    padding: 30px 15px;
}

.logo-wrap {
    position: absolute;
    left: 2%;
    top: 2%;
    z-index: 100;
}
#logo img {
    width: 250px !important;
}
@media screen and (min-width: 881px) {
    #primary-navigation .navigation ul ul a,
    #primary-navigation .navigation ul ul a:link,
    #primary-navigation .navigation ul ul a:visited,
    #secondary-navigation .navigation ul ul a,
    #secondary-navigation .navigation ul ul a:link,
    #secondary-navigation .navigation ul ul a:visited {
        padding: 9px 45px 9px 20px;
        position: relative;
        width: 190px;
        border-left: 0;
        background: transparent;
        border-right: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
    }
    #menu-item-20 ul {
        /*-webkit-column-count: 2;
	    -moz-column-count: 2;
	    column-count: 2;*/
        background-color: #fff;
        width: 480px;
    }

    #secondary-navigation .navigation ul ul li {
        background: #fff;
        display: block;
        width: 100%;
    }
    #secondary-navigation .navigation #menu-item-20 ul li {
        background: #fff;
        width: 50%;
        display: inline-block;
        box-sizing: border-box;
    }
    #secondary-navigation .navigation ul ul li a {
        font-size: 14px;
        padding: 5px 10px;
    }
}

.innerBanner {
    background: #8f3939;
    height: 300px;
    text-align: center;
}
.innerBanner img {
    width: 100%;
    display: none;
}
.innerBanner .logo-wrap {
    width: 300px;
    left: 50%;
    margin-left: -150px;
}
.innerBanner #logo img {
    display: block;
    float: none !important;
    width: 250px !important;
    margin-top: 20px;
}
/* mobile */
@media screen and (max-width: 880px) {
    .horiscroll {
        overflow-x: scroll;
    }
    .innerBanner .logo-wrap {
        display: none;
    }
    #secondary-navigation a#pull {
        background: #8f3939 !important;
    }
    .logo-wrap {
        position: static;
    }
    #logo img {
        width: 50% !important;
    }
    .hide-d {
        display: block;
    }
    #header {
        background: none;
        padding: 0px 0 0px 0px;
        margin-bottom: 0px;
    }
    .mobileBtn {
        margin-bottom: 0px;
    }
    .mobileBtn a,
    .hours {
        display: block;
        color: #fff;
        text-align: center;
        background: #8f3939;
        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;
    }
    .primary-slider-container,
    .hide-xs {
        display: none;
    }
    .homeBoxes {
        height: auto;
    }
    .container,
    .welcome .container,
    .widgetBox,
    .homeBox {
        width: 96%;
        padding: 2%;
    }
    .contactText,
    .contactMap {
        width: 100%;
    }
    .banner,
    .banner {
        display: none;
    }
    .welcome,
    .footerSocial,
    div.footer .copy {
        width: 100%;
        height: auto;
    }

    .welcome {
        margin: 20px auto;
    }

    .post-content img {
        width: 100% !important;
        height: auto !important;
    }
    .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;
    }

    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;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    #secondary-navigation a {
        font-size: 14px !important;
        padding: 10px;
    }
    #logo img {
        width: 200px !important;
    }
    .logo-wrap {
        top: 25%;
    }
    .primary-slider .slide-title {
        font-size: 30px !important;
        text-align: right;
    }
}
.doxyme-badge.doxyme-badge-noimage > div {
    text-align: center;
}

.doxyme-badge-doctor-name {
    font-size: 20px !important;
}

.doxyme-badge.doxyme-badge-noimage {
    margin: 0px auto 20px;
}

.newCon .doxyme-badge.doxyme-badge-noimage {
    position: absolute;
    right: 10px;
    top: 10px;
    border-radius: 0px !important;
    opacity: 0.9;
}

#ctct_recaptcha_0 {
    display: none !important;
}

.f-half {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.f-half > div {
    flex-basis: 100%;
}

@media screen and (max-width: 880px) {
    .f-half {
        flex-direction: column;
    }
}

.topBarTelemedicine {
    background: #7f0000;
    padding: 0.5rem;
    color: white;
    text-align: center;
}

.topBarTelemedicine a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	margin:2.5rem 0;
}

.grid > div {
	text-align:center;
}
