/*
Theme Name:  The Dental Hygienist
Theme URI:   http://gertmeeusen.co.nz
Description: Custom theme for The Dental Hygienist
Author:      Gert Meeusen
Template:    medicpress-pt
Version:     1.0.1
*/

body:not(.page-id-11) #main{
  margin-bottom: 85px;
}

/* general classes */
@media screen and (min-width: 992px){
  .flip-collumns > :first-child{
    order: 2;
  }
  .flip-collumns > :nth-child(2){
    order: 1;
  }
}
.dark-bg .icon-list__description,
.dark-bg .icon-list__text,
.dark-bg h3{
  color: white;
}
/* widgets */
/* GMWD opening time */
.gmwd-opening-time{
  background-color: #07529e;
  padding: 30px 10px 15px 10px;
  font-family: "Roboto Slab", Georgia, "Times New Roman", Times, serif;
  font-size: 0.8888888889rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}
@media screen and (min-width: 360px){
  .gmwd-opening-time{
    padding: 30px 20px 15px 20px;
  }
}

.gmwd-opening-time .less-important{
  color: rgba( 255,255,255, 0.7);
}
.gmwd-opening-time table{
  border: none;
}
.gmwd-opening-time table tr{

}
.gmwd-opening-time td{
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.3333333333rem;
  margin-bottom: 0.3333333333rem;
}
.gmwd-opening-time tr td:nth-child(2),
.gmwd-opening-time tr td:nth-child(4){
  width: 65px;
}
.gmwd-opening-time tr td:nth-child(3){
  width: 5px;
}
@media screen and (min-width: 992px){
  .sidebar .gmwd-opening-time{
    padding: 30px 15px 15px 15px;
    font-size: 0.77777rem;
  }
  .sidebar .gmwd-opening-time tr td:nth-child(2),
  .sidebar .gmwd-opening-time tr td:nth-child(4){
    width: 58px;
  }
  .sidebar .gmwd-opening-time tr td:nth-child(3){
    width: 8px;
  }
  .sidebar td{
    padding: 2px;
  }
}
@media screen and (min-width: 1200px){
  .sidebar .gmwd-opening-time{
    padding: 30px 30px 15px 30px;
    font-size: 0.77777rem;
  }
  .sidebar .gmwd-opening-time tr td:nth-child(2),
  .sidebar .gmwd-opening-time tr td:nth-child(4){
    width: 58px;
  }
  .sidebar .gmwd-opening-time tr td:nth-child(3){
    width: 12px;
  }
  .sidebar td{
    padding: 2px;
  }
}

/* person profile*/
.widget-person-profile .person-profile__basic-info {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.widget-person-profile .person-profile__carousel{
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
.widget-person-profile .person-profile__carousel-item{
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}
.widget-person-profile img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.person-profile__carousel + .person-profile__container {
  border: none;
  text-align: center;
}
.widget-person-profile .person-profile__container {
  padding-top: 10px;
  padding-bottom: 0;
}
.widget-person-profile .person-profile__name {
    font-size: 1.4rem;
}
/* Page box*/
.page-box{
  border: 1px solid lightgrey;
  border-radius: 7px;
}
.page-box .page-box__content{
  padding: 0 10px 10px;
}
@media screen and (min-width: 992px){
  .page-box{
    border: none;
  }
  .page-box .page-box__content{
    padding: 0;
  }
}
/* Accordion*/
.widget-accordion .widget-title {
    margin-bottom: 1.8rem;
}
.so-widget-sow-editor h3{
  margin-bottom: 1.8rem;
}
/* Contact form*/
.cf7-button{
  text-align: center;
}
.header__logo img {
    max-height: 120px;
    width: auto;
}



.icon-list__text,
.icon-list__description{
  word-wrap: break-word;
  word-break: break-all;
  word-wrap: break-word;
}
.sidebar-post h2{
  font-size: 0.9em !important;
  margin-bottom: 0.2em !important;
}
.sidebar-post .article__featured-image {
  margin-bottom: 0;
}
.sidebar-post.article{
  margin-bottom: 1.5rem;
}
.sidebar-post .article__content{
  padding: 10px !important;
}
#address-details-box a{
  padding-left: 0 !important;
  margin-left: 30px !important;
}
#address-details-box {
  padding: 0 !important
}

.map-container{
  position: relative;
  overflow: hidden;
  padding-top: 30%;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer .icon-list {
  background-color: inherit !important;
}


/* page/area specific */
/* Home page */
@media screen and (min-width: 992px){
  .home .center-fix a{
    display: block;
    text-align: center;
  }
  .home .center-fix i{
    margin-bottom: 20px;
  }
}

/* Contact page*/
.page-id-11 .icon-list__description{
  color: rgba(255,255,255,0.6);
}
.page-id-11 .icon-list__item--featured .fa {
    width: 50px;
}
.page-id-11 .content-area{
  margin-bottom: 0 !important;
}
.page-id-124 .page-header{
  height: 30vw;
  max-height: 600px;
  min-height: 200px;
  background-position: center;
  background-size: cover;
}

.footer .icon-list{
  padding: 0;
  font-size: 1.5rem;
}
.page-id-136 h1{
  color: white;
}
.sidebar .widget {
    margin-bottom: 2.5rem;
}
/* footer */
.footer .widget-icon-list .fa,
.footer .widget-icon-list .icon-list__text{
  color: rgba(6, 67, 129, 0.85);
}
