/*
Theme Name: Elite 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: #70888c;
  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;
}

.main-header {
  background: none;
}

#header {
  background: #3c95d1;
  padding: 5px 0;
}
#header .container {
  width: 960px;
}

#secondary-navigation a {
  padding: 5px 22px;
}
#secondary-navigation .navigation > ul > li:hover,
#secondary-navigation .navigation > ul > .current-menu-item {
  border-radius: 10px;
}

#secondary-navigation .navigation > ul > li.menu-item-has-children:hover,
#secondary-navigation .navigation > ul > .menu-item-has-children {
  border-radius: 10px 10px 0 0;
}
#secondary-navigation ul li ul li a {
  font-size: 14px;
}

/* header */

#regular-header{
	background:white;
}

.logo-wrap,
.headerPhone,
.headerInfo {
  float: left;
  width: 31%;
  padding: 1%;
}
.logo-wrap {
  margin: 0;
}
.logo-wrap img {
  width: 140px;
}
.headerInfo {
  width: 32%;
  text-align: right;
  margin-top: 18px;
}
.headerInfo p,
.headerPhone p {
  margin-bottom: 5px;
}
.headerPhone {
  text-align: center;
}

.phoned {
  font-size: 28px;
  margin-bottom: 10px;
}
.hoursd {
  font-size: 14px;
}
div.header-social-icons {
  background: none;
  border: 0px;
}
div.header-social-icons::before {
  border: 0px;
}
#primary-navigation .header-social-icons a,
.header-social-icons a {
  padding: 0px 10px;
  background-color: #a5c0be;
  color: #ffffff !important;
}

.primary-slider-container {
  max-width: 960px;
  float: none;
  width: 960px;
  margin: 0 auto;
}
.primary-slider-container img {
  float: none;
  width: 960px;
  height: 400px;
}
.primary-slider-container .slide-caption {
  float: left;
  position: static;
  width: 320px;
  max-height: 240px;
  height: 290px;
  padding: 100px 20px 20px 20px;
  background: #865716;
  font-size: 36px;
}
.slide-title {
  font-size: 32px !important;
  line-height: 34px;
}
.owl-carousel .owl-item img {
  max-width: 960px !important;
}
.primary-slider .owl-dots {
  bottom: 8%;
  top: inherit;
  right: 16%;
}

#page,
.container,
.article {
  width: 960px;
}
#page {
  padding-top: 0px;
}

/* home boxes */
.homeBoxes {
  width: 960px;
  height: 55px;
  margin: 0px auto;
  margin-top: 0px;
  text-align: left;
  padding: 25px 0px;
}
.homeBoxes h3 {
  color: #696969;
  font-size: 26px;
  margin-top: 0px;
}
.homeBoxes p,
.homeBoxes a {
  color: #696969 !important;
  font-style: italic;
  font-size: 16px;
}
.homeBoxes .box01,
.homeBoxes .box02,
.homeBoxes .box03 {
  float: left;
  height: 100px;
  width: 32.8%;
  position: relative;
  padding: 1%;
  box-sizing: border-box;
  background: #d9ecf9;
  margin: 0 2px;
}

/* welcome */
.welcome {
  width: 100%;
  padding: 20px 0;
  margin-bottom: 0px;
}
.welcome h1 {
  text-align: center;
}
.welcome p,
.welcome h3 {
  color: #696969;
}

.welcome .container {
  width: 920px;
  padding: 20px;
  margin: 40px auto;
  text-align: left;
  background: #d9ecf9;
}

/* home widgets */
.homeWidgets {
  width: 960px;
  margin: 0px auto;
  text-align: left;
}
.widgetBox {
  float: left;
  width: 280px;
  margin-right: 30px;
  margin-bottom: 20px;
  padding: 10px;
  height: 180px;
  background: #d9ecf9;
}
.widgetBox h3 {
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.widgetBox.noMargin {
  margin-right: 0px;
}
.textwidget p {
  font-size: 16px;
  line-height: 20px;
}

/* inner pages */
.article {
  width: 100%;
  background: #d9ecf9;
}
.page h1.title {
  margin-bottom: 20px;
}
.innerImage {
  width: 960px;
  height: 230px;
  overflow: hidden;
  margin: 0 auto;
}
.innerImage img {
  width: 100%;
}

/* footer */
.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: #fff !important;
}

.hide-d {
  display: none;
}

#logo a {
  float: none !important;
}

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

.front-view-content {
  float: left;
  width: 69%;
}
body#blog #content_box {
  width: 100%;
}
body#blog #sidebar {
  display: none;
}

/* mobile */
@media screen and (max-width: 880px) {
  .hide-d {
    display: block;
  }
  #header {
    background: none;
    padding: 0px 0 10px 0px;
    margin-bottom: 0px;
  }
  .mobileBtn {
    margin-bottom: 0px;
  }
  .home .sticks {
    background-color: #3c95d1;
  }
  .mobileBtn a,
  .hours {
    display: block;
    color: #fff;
    text-align: center;
    background: #3c95d1;
    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;
  }
  #slider,
  .hide-xs,
  video {
    display: none;
  }
  .container,
  .welcome .container,
  .widgetBox {
    width: 96%;
    padding: 2%;
  }
  .homeBoxes,
  .innerImage {
    display: none;
  }
  .homeBoxes,
  .homeWidgets,
  .welcome,
  .footerSocial,
  div.footer .copy {
    width: 100%;
    height: auto;
  }
  .homeBoxes .box01,
  .homeBoxes .box02,
  .homeBoxes .box03 {
    height: auto;
    width: 100%;
    float: none;
    margin-bottom: 30px;
    padding: 20px;
  }
  .welcome {
    margin: -20px auto;
  }
  .homeBoxes .box01,
  .homeBoxes .box02,
  .homeBoxes .box03 {
    width: 98%;
  }
  .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: 880px) {
  /* fix sub menus not appearing on home page */
  #secondary-navigation .navigation ul li:hover ul.sub-menu {
    opacity: 1;
    visibility: visible;
  }

  .feeds {
    display: flex;
    justify-content: center;
  }

  .feeds > div {
    flex-basis: 50%;
    padding: 10px;
  }
}
.feeds a img {
    max-width: 200px !important;
    background: #Fff !important;
    padding: 30px !important;
}