/*
 Theme Name:   Grandchester Designs
 Theme URI:    http://www.grandchesterdesigns.com.au
 Template:     Divi
 Description:  Grandchester Designs
 Author:       Jacci
 Version:      4.4.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         Smart. Flexible. Beautiful.
 Text Domain:  Divi-child 
*/
#main-content {background-color:#d8d3cf;}
#top-menu a:hover {position:relative;top:1.5px;left:1.5px}
	#top-menu li.current-menu-item > a {
	color: #7b3649 !important;font-variant:small-caps !important; font-weight: bold!important;}
#top-menu li.current-menu-ancestor > a {
	color: #7b3649 !important;font-variant:small-caps!important; font-weight: bold!important;}
.nav li ul .current-menu-item a {
	color: #7b3649 !important;font-variant:small-caps!important; font-weight: bold!important;}
.envira-title {padding-top: 10px; font-family:Quattrocento;}

.envira-gallery-item img {border-width: 4px;
    border-style: double;
    border-color: #7b3649;}
.gdh a:hover{position:relative;top:1.5px;left:1.5px:}
.et_pb_widget_area_left {border:none;}
.ngg-widget img {border: 4px double #7b3649!important;}
.ngg-galleryoverview.default-view .ngg-gallery-thumbnail img {border: #7b3649 double 4px;}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {border: 3px double #7b3649; color:#7b3649;
margin: 5px 3px 0px 3px;background-color:transparent;
font-family: 'Quattrocento',Georgia,"Times New Roman",serif;}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {background-color:transparent;color:#000000;}
#footer-widgets {
    display: none;
}
#main-footer {
   margin-top: 0px;
}
.et_post_meta_wrapper {background-color:#d8d3cf;}
.single .et_pb_post, #left-area {margin-bottom: 0 !important; padding-bottom: 0 !important;}
/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
display: none;
}
.search #left-area,
.archive #left-area {
width: 100%;
float: none;
padding-right: 0;
background-origin:#d8d3cf;	
}
.search #sidebar,
.archive #sidebar {
display: none;
}
/* Archive and Search Result page 3 column*/
.blog .et_pb_post,
.search .et_pb_post,
.archive .et_pb_post {
width: 67.3%;
float: left;
border: 0px solid #ededed;
margin-top: 20px;
margin-right: 3%;
margin-bottom: 20px;
padding: 10px;

}
.blog .et_pb_post img,
.search .et_pb_post img,
.archive .et_pb_post img{margin-bottom: 10px;}
.blog .et_pb_post:nth-of-type(3n),
.search .et_pb_post:nth-of-type(3n),
.archive .et_pb_post:nth-of-type(3n) {margin-right: 0%;}
@media only screen and ( min-width: 1025px ) {
.blog .et_pb_post:nth-of-type(3n+4),
.search .et_pb_post:nth-of-type(3n+4),
.archive .et_pb_post:nth-of-type(3n+4) {clear: both;}
}
@media only screen and ( min-width: 768px ) and ( max-width: 1024px ) {
.blog .et_pb_post,
.search .et_pb_post,
.archive .et_pb_post {width: 90.5%;}
.blog .et_pb_post:nth-of-type(2n+1),
.search .et_pb_post:nth-of-type(2n+1),
.archive .et_pb_post:nth-of-type(2n+1) {margin-right: 3%;}
.blog .et_pb_post:nth-of-type(2n+2),
.search .et_pb_post:nth-of-type(2n+2),
.archive .et_pb_post:nth-of-type(2n+2) {margin-right: 0%;}
}
@media only screen and ( max-width: 767px ) {
.blog .et_pb_post,
.search .et_pb_post,
.archive .et_pb_post {
width: 100%;
margin-right: 0%;
}
}
.blog #left-area,
.search #left-area,
.archive #left-area {
-moz-column-count: 3;
column-count: 3;
-moz-column-gap: 60px;
column-gap: 60px;
}
.blog .et_pb_post > a,
.archive .et_pb_post > a,
.search .et_pb_post > a {
margin: -20px -20px 10px;
display: block;
}
.blog #left-area .et_pb_post,
.search #left-area .et_pb_post,
.archive #left-area .et_pb_post {
overflow: hidden; /* fix for Firefox */
page-break-inside: avoid;
break-inside: avoid-column;
width: 100%;
padding: 19px;
border: 0px;
background-color: #d8d3cf;
word-wrap: break-word;
display: inline-block;
}
/* Styling the Masonary Layout*/
.search #left-area .et_pb_post, .archive #left-area .et_pb_post{
border: 5px double #7b3649;
transition: 0.35s ease-in-out;
box-shadow: 0 5px 15px 5px rgba(0, 0, 0, 0.12);
}
.search #left-area .et_pb_post:hover, .archive #left-area .et_pb_post:hover{
box-shadow: 0 13px 50px rgba(0, 0, 0, 0.12);
transition: 0.35s ease-in-out;
}
.et_pb_post .entry-title a, .et_pb_post h2 a {
text-align:center;
font-size:22px;
}
.et_pb_post .entry-title a:hover, .et_pb_post h2 a:hover, .post-meta a:hover {position:relative;top:1.5px;left:1.5px;}
/* END Styling Masonary*/