/*
Theme Name:     YSA Child Theme
Description:    Theme that will be used for code edits of YSA
Author:         admin
Template:       realhomes

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* DivTable.com */

.divTable{ display: block;  }
.divTableRow { display: table-row; }
.divTableCell { display: table-cell;}
.divTableBody { display: table-row-group;}

.divTable{
	display: block;
	width: 100%;
}
.divTableRow {
	display: table-row;
}

.divTableCellLeft {
	border: 0px;
	display: table-cell;
	width: 40%;
	vertical-align: top;
	padding-top: 20px;
}

.divTableCellRight {
	border: 0px;
	display: table-cell;
	width: 60%;
	vertical-align: top;
	padding-top: 20px;
	padding-left: 20px;
}

.divTableBody {
	display: table-row-group;
}

/* mobile */

@media screen and (min-width: 30em) {
       .divTableCellLeft {
        display: table-cell;
      }
}
@media screen and (min-width: 20em) and (max-width: 30em) {
      .divTableCellLeft {
        display:table-row;
        width: 100%;
      }
}	
@media screen and (min-width: 30em) {
       .divTableCellRight {
        display: table-cell;
      }
}	
@media screen and (min-width: 20em) and (max-width: 30em) {
      .divTableCellRight {
        display:table-row;
        width: 100%;
      }
}	

/* tablet */

@media  (min-width: 767px) and (max-width: 800px) {
       .divTableCellLeft {
        display: table-cell;
      }
}
@media  (max-width: 767px) and (max-width: 800px) {
      .divTableCellLeft {
        display:table-row;
        width: 100%;
      }
}	
@media  (max-width: 767px) and (max-width: 800px) {
       .divTableCellRight {
        display: table-cell;
      }
}	
@media  (max-width: 767px) and (max-width: 800px)  {
      .divTableCellRight {
        display:table-row;
        width: 100%;
      }
}	

/* start of In the News page styling */

.divTableCellLeft10 {
	border: 0px;
	display: table-cell;
	width: 10%;
	vertical-align: top;
	padding-top: 20px;
}

.divTableCellRight90 {
	display: table-cell;
	width: 90%;
	vertical-align: top;
	padding-top: 20px;
	padding-left: 20px;
}

.divCell90 {
		margin-top: -40px;
}

/* mobile - In the News page styling */

@media screen and (min-width: 30em) {
       .divTableCellLeft10 {
        display: table-cell;
      }
}
@media screen and (min-width: 20em) and (max-width: 30em) {
      .divTableCellLeft10 {
        display:table-row;
        width: 100%;
      }
}	
@media screen and (min-width: 30em) {
       .divTableCellRight90 {
        display: table-cell;
      }
}	
@media screen and (min-width: 20em) and (max-width: 30em) {
      .divTableCellRight90 {
        display:table-row;
        width: 100%;
      }
}	

/* tablet - In the News page styling */

@media  (min-width: 767px) and (max-width: 800px) {
       .divTableCellLeft10 {
        display: table-cell;
      }
}
@media  (max-width: 767px) and (max-width: 800px) {
      .divTableCellLeft10 {
        display:table-row;
        width: 100%;
		padding-top: 0px !important;
      }
}

@media  (max-width: 767px) and (max-width: 800px) {
       .divTableCellRight90 {
        display: table-cell;
      }
}	
@media  (max-width: 767px) and (max-width: 800px)  {
      .divTableCellRight90 p {
        display:table-row;
        width: 100%;
		padding-left: 210px;
      }
}	
/* new  for In the News page - remove image from page*/
@media  (max-width: 767px) and (max-width: 800px)  {
      .divTableCellRight90 img  {
        display:none;
		margin-left: 0px;  
      }
}

@media  (max-width: 767px) and (max-width: 800px)  {
      .divTableCellRight90 a  {
		padding-left: 0px !important; 
      }
}


@media  (max-width: 767px) and (max-width: 800px)  {
      .divCell90 {
		margin-top: -13px;
      }
}



/* end of table cell styling */

#footer-wrapper {
    background-image: url();
    padding-bottom: 35px;
}

.copyright p {
	 float: none;
	 text-align: center;
}

/* remove menu-item-desc -- was duplicating button title */
.main-menu ul li .menu-item-desc {
	display: none;
}
#header-top {
	border-bottom: 1px solid #343a3b;
    margin-bottom: 10px;
}

#logo  {
	z-index: 21;
	position:relative;
	margin-bottom: 35px;
}

@media (min-width: 1200px) {
.slide-description {
    display: none;
	}
}

.slide-description {
    display: none;
}

/* set the border color for the middle panel */
.inner-wrapper {
	border: 1px solid #43a5ae;
}

address { 
    display: block;
    font-style: normal;
	color: #343a3b;
	border:none;
	background-color:#000000;
}

/* fix mobile-version and tablet - overrides "inherit" on phone number  */
@media (min-width: 1200px) {
	.contact-number a, .contact-number {
		color: #43a5ae;
		background-color: #ffffff;
	} 
} 
.outer-strip span {
   display:none;
}

/* fix mobile-version and tablet - overrides "inherit" on phone icon */
@media screen and (min-width: 20em) {
	.fa i, .fa-phone {
    color: #43a5ae !important;
	background-color: #ffffff;
  }		
} 
@media screen and (min-width: 980px) {
	.fa i, .fa-phone {
    color: #43a5ae !important;
	background-color: #ffffff !important;
		
  }		
}

.main-menu {
	margin-top: -40px;
}

/* make the menu and contact lower than logo z-index */
@media (min-width: 980px) {
.menu-and-contact-wrap {
	z-index: 20;	
	position:relative;
  }
}

@media (min-width: 980px) {
.contact-number, .contact-number .outer-strip {
    background-color: #ffffff !important;
	position:relative;
  }
}

@media screen and (min-width: 1200px) {
.contact-number, .fa-phone {   
	/*margin: 15px 0 0 0 !important; */
    margin-right: 10px;
    padding: 12px 15px 12px 15px !important;
    font-size: 20px;
	}
} 

/* for tablet - do not remove */
.contact-number a, .contact-number span {
    color: #43a5ae;
}

@media screen and (min-width: 1200px) {
.contact-number  {
	padding:0 !important;
	margin: 0;
	top: -60px;
	max-height:20px;
	line-height: 20px;
    left: 0px;
  }
}

/* styling for testimonials */

blockquote {
    position: relative;
    margin: 0.5em;
    padding: 0.5em 2em 0.5em 3em; 
    background-color:#fff;
    border:0px;
}

blockquote:before {
    font-family: Georgia, serif;
    position: absolute;
    font-size: 6em;
    line-height: 1;
   color:#ededed; 
    top: 0;
    left: 0;
    content: "\201C";
}
blockquote:after {
    font-family: Georgia, serif;
    position: absolute;
   /* display: block; don't use this, it raised the quote too high from the bottom - defeated line-height? */
    float:right;
    font-size:6em;
    line-height: 1;
    right:0;
    bottom:-0.5em;
    content: "\201D";
    color:#ededed; 
}
blockquote footer {
    padding: 1.25em 2em 0 0;
    text-align:right;
}
blockquote cite:before {
    content: "\2013";
}

/* remove extra lines after blockquote paragraph */
blockquote p {
    margin-bottom: -10px !important; /* changed 12/09/2018 */
}


/* position and style the mobile menu */
@media (max-width: 979px) {
.main-menu .rh_menu__hamburger p {
    display: inline-block;
    color: #f58a80 !important;
    margin-top: 28px !important;
    font-weight: 600;
    font-family: Montserrat;
  }
}

/* style hamburger menu on mobile */
.hamburger-inner, .hamburger-inner::after, .hamburger-inner::before {
    width: 23px;
    height: 1px;
    background-color: #f58a80 !important;
}

.hamburger-box {
    color: #f58a80 !important;
    margin-top: 29px;
}


/* change title color, size, font on side bar */
@media (max-width: 1200px)  {
	.widget .title {
    color: #43a5ae;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
	}
}

/* widget title ie: Find Your Home */
.widget .title  {
   color: #43a5ae;
   font-size: 17px;
	font-weight: 500;
   font-family: Montserrat;

}

.widget .subtitle  {
   color: #43a5ae;
   font-size: 14px;
   font-family: Montserrat;

}

address  { 
    display: block;
    font-weight: normal;
    border-left: none;
    background-color: #FFFFFF;
    margin-left: 0px;
    padding: 0px;
    color: #394041;
    line-height: 22px;
}

p {
    color: #8B9293;
    font-family: Hind;
    font-size: 14px;
    line-height: 20px;
}

/*  fixes sidebar widget titles*/
@media (min-width: 1200px) {
.sidebar .widget .title {
    text-align: center;
  }
}

@media (min-width: 1200px)   {
.sidebar .widget .title {
    text-align: center;
  }
}


@media (max-width: 800px)   {
.sidebar .widget .title {
    text-align: center;
  }
}

