/*
Theme Name:   Mestc Child
Theme URI: https://themeforest.net/user/design_grid/portfolio
Description:  Mestc Child Theme
Author: Design Grid
Author URI: https://themeforest.net/user/design_grid
Template:     mestc
Version:      1.1.23
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:	right-sidebar, accessibility-ready, custom-background, custom-menu, editor-style, featured-images, flexible-header, sticky-post, threaded-comments, translation-ready, blog , grid-layout, footer-widgets, custom-colors, custom-logo, translation-ready, portfolio
Text Domain:  mestc-child
*/



/* ******  NOTE TO MICKEY ******
 * Every time you modify this file, increment the version number above e.g. from 1.1.28 to 1.1.29 
 * That will force all browsers to reload this CSS file 
 *  */

.home #hero_title {
	display:none;
	}
.page #hero_title {
	display:none;
	}

/* Text summary in the category list of blog posts */
.archive .blog-item .right-box .max-w570 {
	text-align: justify;
	}

/* graded vignette behind top menu */
#site_menu_header {
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.2) 15%, rgba(0, 0, 0, 0) 99%);
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 15%, rgba(0, 0, 0, 0) 99%);
}

/* Article title links changed from dark grey to white */
.lvca-module .entry-title a {
	color: #fff !important;
	}
/* Article READ MORE links changed from dark grey to legible */
.lvca-module .lvca-read-more a:not(.lvca-button) {
	color: #888 !important;	
	}
.lvca-container .lvca-module .entry-summary::before,
.lvca-container .lvca-module .author,
.lvca-container .lvca-module .lvca-read-more {
	display: none;
	}


/* shunts main menu lower when using mobile nav */
.site-header.dsn-hamburger ul.primary-nav {
	top: 240px !important;
	text-shadow: 10px 2px 2px rgba(0,0,0,0.5);
	}
.site-header.dsn-hamburger #navbar_toggle {
	margin-top: 20px;
	}
#site_menu_header ul.primary-nav li a {
	text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
	}

#navbar_toggle .toggle-text {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    color: #fff;
	}

/* Shunts REV SLIDER to the top, where included on "page" */
.page #rev_slider_11_1_forcefullwidth { /* MJS */
	margin-top: -210px !important; /* prev -50px */
	padding-bottom: 50px;
	}
@media only screen and (max-width:480px) {
	.page #rev_slider_11_1_forcefullwidth { /* MJS mobile */
		margin-top: -210px !important;
		}
} /* //END max-480 wide */

.page #rev_slider_10_1_forcefullwidth { /* Lyn */
	margin-top: -170px !important;
	padding-bottom: 50px;
	}
@media only screen and (max-width:480px) {
	.page #rev_slider_10_1_forcefullwidth { /* Lyn mobile */
		margin-top: -180px !important;
		}
} /* //END max-480 wide */
.page #dsn_header.header-normal {
	padding-top: 50px;
	}


/* single posts only - categorisation near the footer */
.metas.blog-category {
	text-align: center;
	}
.metas.blog-category .categorisation {
	margin: 2em auto 0 auto;
	font-size: 16px;
	display: inline-block;
	border-top: 3px solid #D90;
	padding-top: 1em;
	}
.metas.blog-category .category {
	margin-left: 0.5em;
	color: #fff;
	font-size: 16px;
	}

/* simply moves main content down the page a bit */
@media only screen and (max-width: 991px) {
	:root {
		 --margin-padding: 120px !important; /* prev 90 */
		 }
	/* .single-post .section-margin,  */
	.single-post #dsn_header .intro-project, 
	.page-id-18906 .section-margin  /* an exception for lyn-home */ { 
		margin-top: 90px !important; 
		}
} /* //END max-991 */
@media only screen and (min-width: 992px) {
	:root {
		--margin-padding: 160px !important; /* prev 120 */
		}
	.page-id-18906 .section-margin /* an exception for lyn-home */ { 
		margin-top: 120px !important; 
		}
	.lvca-grid-container .lvca-module-11 { 
		margin-top: 50px !important; 
		}
	.lvca-grid-container .lvca-module-11:first-child { 
		margin-top: 0 !important; 
		}

}/* //END min-992 */


/* footer message re unauthorised use etc. */
#dsn_footer {
	margin-top: 50px;
	background-color: #1C1C1C;
	background: rgba(33, 33, 33, 0.8);
	}
.footer-content {
	color: #999;
	font-size: 78%;
	}
.footer-content .copyright {
	color: #999;
	display: inline;
	margin-left: 0.4em;
	}
@media only screen and (min-width:480px) {
	#dsn_footer p {
		margin: 0.5em 0 0.1em 0;
		line-height: 1.3em;
		}
	.footer-content .copy-last {
		white-space: nowrap;
		}
} /* //END min-481 wide */
@media only screen and (min-width:481px) and (max-width: 767px) {
	#page_wrapper {
		padding-bottom: 80px;
		}
	#dsn_footer .p-30 {
		padding: 1.5em 30px 2.25em 30px;
		}
} /* //END between-481 & 767 wide */
@media only screen and (min-width:768px) and (max-width: 991px) {
	#dsn_footer .p-30 {
		padding: 1.5em 10% 2.25em 5%;
		}
} /* //END between-768 & 990 wide */


/* 
.lvca-container img, .lvca-grid-container img {
  max-width: 100%;
  width: auto;
  height: auto;
  clip-path: polygon(100% 20%, 0% 20%, 0% 80%, 100% 80%);
}
 */

.lvca-container .lvca-module {
	padding-bottom: 40px;
	margin-bottom: 0;  /* prev 60px */
	border-bottom: 1px solid var(--border-color);
	}

/* pagination nav on mjs and lyn home pages */
.lvca-block .lvca-pagination .lvca-page-nav.lvca-disabled {
	background-color: transparent;
	border-color: #444;
  	}
.lvca-block .lvca-pagination .lvca-page-nav:not(.lvca-disabled) i {
	color: #EEE;
	font-weight: bold;
	text-decoration: none;
	}
.lvca-block .lvca-pagination .lvca-page-nav.lvca-disabled .lvca-icon-arrow-left3::before,
.lvca-block .lvca-pagination .lvca-page-nav.lvca-disabled .lvca-icon-arrow-right3::before {
	content: "\2715";
	color: #444;
	font-size: 10px;
	}


@media only screen and (min-width: 992px) {

	#dsn_footer .p-30 {
		padding: 1.5em 12% 2.25em 8%;
		}

	/* Post list on MJS Home & Lyn Home */
	/* Creates layout similar to Category pages */
	.lvca-container .lvca-module {
		clear: both;
		display: inline-block;
		margin-right: 60px;
		position: relative;
		padding-left: 0px;     /* 60px makes room for article-count numbering */
		}
	.lvca-container .lvca-module .lvca-module-image {
		max-width: 54%;
		margin-left: 6%;
		float: right;
		}
	.lvca-container .lvca-module .lvca-module-thumb,
	.blog-item .right-box .max-w570 img {
		margin-bottom: 8px;
		}	
	.lvca-container .lvca-module .entry-title {
		max-width: 40%;
		}
	.lvca-container .lvca-module .published {
		color: #ccc;
		}
	.lvca-container .lvca-module .lvca-module-entry-text {
		text-align: left;
		max-width: unset;
		}
	.lvca-container .lvca-module .lvca-excerpt {
		clear: right;
		float: right;
		max-width: 54%;
		margin: 0 0 15px 0;
		}
	.lvca-container .lvca-module .entry-summary  {
		margin-top: 0;
		line-height: var(--line-height-content);
		font-weight: 300;
		letter-spacing: 0.5px;
		text-align: justify;
		text-justify: inter-character;
		}
	.lvca-container {
		counter-reset: article-count;
		}
	.lvca-container .lvca-module::before {
		counter-increment: article-count 1;
		color: var(--heading-color);
		/* content: "/ " counter(article-count); */ 
		position: absolute;
		left: 0;
		top: 5px;
		font-size: 13px;
		letter-spacing: 2px;
		font-weight: bold;
		}

} /* //END min-992 */


/* MOBILE SCREENS */
@media only screen and (max-width:480px) {
/* remove footer L-R padding */
	.footer-content { 
		padding: 10px 12px 24px 8px;
		}
/* darken behind top menu */
	#site_menu_header {
		background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 99%);
		background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 99%);
		}
/* more room below menu hamburger */
	.page #dsn_header.header-normal {
		padding-top: 90px;
		}
} /* //END max-480 wide */

