/* header */
.home #homeheader {
    display: none;
}
#cat_nav {
    background: #000000;
    padding: 10px 0;
    text-transform: uppercase;
    margin: 20px 0;
}
.col-md-4.clearfix.kad-header-left {
    width: 40%;
}
.col-md-8.kad-header-widget {
    float: right;
    width: 60%;
    text-align: right;
}
.col-md-8.kad-header-widget {
    margin-top: 36px;
}
.kad-header-widget img {
    margin-bottom: 15px;
}
h1.entry-title { font-size: 30px; line-height: 130%; }

/* end header */
/* footer */
.footerclass a {
    color: #007d7f;
}
.footercredits p {
    font-size: 12px;
    text-align: center;
}
aside#recent-posts-3 ul {
    padding-left: 0px;
}
aside#recent-posts-3 li {
    list-style: none;
}
/* end footer*/
.teal {
    color: #007d7f;
}
.virtue_image_widget_caption {
    min-height: 60px;
    margin-bottom: -20px;
    margin-top: 20px;
}


/************** CONTENT PAGE STYLES ******************/
h2 {
    font-family: Georgia, serif !important;
    line-height: 30px !important;
    font-weight: 400 !important;
    font-style: normal;
    font-size: 25px !important;
}
.sidebar .widget-inner li a { color: #007D7C; }

.sidebar .widget-inner li {
    line-height: 130%;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: solid 2px #e0e0e0;
    border-color: #e0e0e0;
}
.entry-content p, .textwidget { font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; }

.entry-content p { margin-bottom: 20px; }

blockquote, blockquote p:last-child, blockquote p {
    font-size: 24px !important;
    font-weight: 300 !important;
    line-height: 1.35 !important;
}
/********************************* HOMEPAGE STYLES *******************************/
body.home p {     
	font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    vertical-align: middle;
}
body.home img.so-widget-image {
  float: right;
    margin-top: 15px;
}
body.home h3.widget-title {
  text-align: center;
  width: 100%;
  font-style: italic;
  margin-bottom: 10px;
}

/* New Styles Added by Mike Smith 1-22-2016 */

.testimonial {
    /*float: left;*/
  	display: inline-block;
    margin: 0 0 1em;
    width: 100%;
    background: #f1f1f1;
    padding: 20px;
}

.testimonial img {
    float: left;
    margin: 0 20px 0 0;
}

/************ BOOKS PAGE *********************/
.wpb_fp_grid figure h2 { display: none; }
p.wpb_fp_icons { text-align: center; line-height: 309px; }
.white-popup {
    position: relative;
    background: #FFF;
    padding: 15px;
    width: auto;
    max-width: 60%;
    max-height: 80%;
    margin: 40px auto;
}
figure.effect-layla {
 	background:#111; 
}
figure.effect-layla:hover {
 	background:#000; 
}
figure.effect-layla figcaption::before {
  	border-top:0;
  	border-bottom:0;
}
figure.effect-layla figcaption::after {
  	border-left:0;
  	border-right:0;
}
figure.effect-layla figcaption {
  	padding:0;
}
.wpb_fp_grid figure figcaption div {
  	height:100%;
}
figure.effect-layla p {
  	padding:0;
  	height:100%;
}
.wpb_fp_icons > a {
 	background:none; 
}
.wpb_fp_icons > a.wpb_fp_link {
 	display:none !important; 
}
.wpb_fp_icons > a.wpb_fp_preview {
 	width:100%;
  	height:100%;
}
.wpb_fp_icons > a.wpb_fp_preview i {
 	display:none; 
}

/************ TESTIMONIALS PAGE *********************/
.masonry { /* Masonry container */
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-gap: 1em; /* Chrome, Safari, Opera */
    -moz-column-gap: 1em; /* Firefox */
    column-gap: 1em;
}

/************ RESPONSIVE *********************/
@media only screen and (max-device-width: 568px) {
  	.masonry { -moz-column-count: 1;-webkit-column-count: 1;column-count: 1; }
}
@media only screen and (max-device-width: 768px) {
  	figure.effect-layla { background:#fff; text-align:center; }
}

/************ CUSTOM GRID OF POSTS *********************/
.customgrid-container {
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -webkit-column-count: 2;
    -webkit-column-gap: 15px;
    column-count: 2;
    column-gap: 15px;
    width: 100%;
}
.customgrid-container div {
    display: inline-block;
    width: 100%;
}
/* === */
.customgrid-item {
  	margin-bottom: 15px;
}
.post-thumbnail a img {
    width: 80%;
}
span.post-title {
    display: block;
    background: #000000;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
  	padding-top: 5px;
}
span.post-title .grid-date {
    font-weight: normal;
    text-transform: none;
    font-style: italic;
    padding-bottom: 5px;
}
.post-details {
    border: 1px solid #000000;
  	border-bottom: 0px;
}
span.post-excerpt {
    display: block;
    padding: 0px 10px 15px 10px;
    text-align: justify;
}
span.post-excerpt p {
    margin: 0;
    padding: 0;
}
a.grid-read-more {
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: #ffffff;
    height: 40px;
    line-height: 40px;
    background: #007d7f;
    border: 1px solid #000000;
    border-top: 0px;
}
a.grid-read-more:hover,  a.grid-read-more:active {
    color: #000000;
}
/************ !CUSTOM GRID OF POSTS *********************/
.widget_recent_entries .widget-inner li a:before {
  margin-top: 4px;
}
.widget_recent_entries .widget-inner ul {
    margin-left: 35px;
}
#nav-second ul.sf-menu>li {
  width: 14.2% !important;
}

.rpwe-block li {
    border: none !important;
    margin: 0px !important;
    padding: 0px !important;
    margin-bottom: 10px !important;
}
.rpwe-time {
    color: #000000 !important;
    font-style: italic;
}

.customgrid-item,
.customgrid-container .customgrid-item {
    width: 80%;
    margin: 0 auto 100px auto;
    display: inline-block;
}
.post-details {
    border: none;
}
.post-title {
    background: transparent !important;
    color: #000000 !important;
    padding-top: 15px !important;
}
a.grid-read-more {
    border: none;
}
.post-thumbnail a img {
    width: 80%;
    margin: 0 auto;
    display: block;
}
.type-post .entry-content.clearfix {
    width: 60%;
    margin: 0 auto;
}
.single-post-thumbnail {
  margin: 50px auto;
}
.customgrid-container .customgrid-item:nth-child(5) {
  margin-bottom: 0;
}
.page.services #content .entry-content .panel-grid #pgc-42-0-0 {
    /* width: 60%; */
    margin: 0 auto;
}
.page.testimonials .entry-content .test.testimonial:nth-child(6) p,
.page.testimonials .entry-content .test.testimonial:nth-child(6) h4{
  padding-left: 210px;
}
#gform_wrapper_1 input[type="text"] {
    border: none;
    width: 100%;
    height: 44px;
    padding-left: 8px;
}
#gform_wrapper_1 .gform_footer.top_label {
    padding-top: 0px !important;
}
span.iheartungulates {
    display: block;
    margin-top: -50px;
}

/* NAV MENU SPACING */
#nav-second ul.sf-menu:after { 
  content: '';
  width: 100%; /* Ensures justification for single lines */
  display: inline-block;
}
#nav-second ul.sf-menu {
  text-align: justify;
}
#nav-second ul.sf-menu li {
  display: inline-block;
  width: auto !important; 
  padding: 0px 3%;
}

@media screen and (max-width: 1199px) {
  #nav-second ul.sf-menu li {
  display: inline-block;
  width: auto !important; 
  padding: 0px 2%;
}
}
@media screen and (max-width: 991px) {
  .col-md-8.kad-header-widget {
    float: none;
    width: 100%;
    text-align: center;
}
  .col-md-4.clearfix.kad-header-left {
    width: 100%;
}
  .col-md-8.kad-header-widget {
    margin-top: 0px;
}
  #nav-second ul.sf-menu {
    display: block !important;
}
#nav-second ul.sf-menu li {
  display: inline-block;
  width: auto !important; 
  padding: 0px 2%;
  }
#nav-second ul.sf-menu a {
    font-size: 16px !important;
}
  #nav-second {
    position: relative;
    margin: 0 auto;
}
}