/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Common CSS */
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');

@font-face{
	font-family:zjhz;
	src:url(https://use.typekit.net/af/c66b64/000000000000000000017942/27/l?subset_id=2&fvd=n7&v=3) format("woff2"),
	url(https://use.typekit.net/af/c66b64/000000000000000000017942/27/d?subset_id=2&fvd=n7&v=3) format("woff"),
	url(https://use.typekit.net/af/c66b64/000000000000000000017942/27/a?subset_id=2&fvd=n7&v=3) format("opentype");
	font-weight:700;
	font-style:normal;
}

a:focus{
    outline: none;
}

.ast-container {
    padding-left: 60px !important;
    padding-right: 60px !important;
    max-width: 100% !important;
}

p {
    color: #111111;
    font-family: helvetica, sans-serif;
    font-size: 20px;
    line-height: 32px;
}

.source-text p{
	margin-bottom: 10px;
}
.source-text a{
	color: #111111;
}
.source-text a:hover{
	color: #f9ec00 !important;
	text-decoration: underline;
}

/* Header CSS */ 

.main-header-bar {
    background: #000000;
    line-height: unset;
    padding: 20px 0 10px;
}

.ast-site-identity {
    padding: 0 !important;
}

.ast-site-title-wrap {

}

.site-title {
    font-size: 19px;
	line-height: 20px;
}

.site-title, .site-title a {
	font-family: FSBenjaminSB !important;
    color: #FFF001 !important;
}

ul#primary-menu {
    
}

ul#primary-menu li a {
  	font-family: FSBenjaminSB;
    font-size: 19px;
    color: #FFF001 !important;
}

ul#primary-menu li:last-child a {
    padding-right: 0px;
}

ul.sub-menu {
    padding: 10px 15px;
    display: none;
    background: transparent !important;
    margin-top: 10px;
    right: auto !important;
    left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
	box-shadow: none !important;
	width: 300px !important;
}

ul#primary-menu li ul.sub-menu li a {
    font-size: 19px !important;
	line-height: 20px;
    padding: 20px !important;
    color: #000000 !important;
	padding-left: 29px !important;
}

.main-header-bar .main-header-bar-navigation .menu-item-has-children>a:after {
    display: none;
}

ul#primary-menu .menu-item-has-children {
	padding-left: 26px;
}

@media only screen and (min-width: 767px) {
	
	ul#primary-menu .menu-item-has-children>a:before {
		content: '';
		background-image: url(/wp-content/uploads/2020/04/single-dot.png);
		position: absolute;
		top: 2px;
		left: 21px;
		width: 14px;
		height: 14px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}
	body.open-submenu ul#primary-menu .menu-item-has-children>a:before {
		background-image: url('/wp-content/uploads/2020/04/dot-box.png');
		top: 0px;
		left: 21px;
		width: 17px;
		height: 17px;
	}

	body.open-submenu .site-content:before {
		content: '';
		background: #FFF001;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		z-index: 5;
	}

	body.open-submenu .content-area.primary {
		display: none !important;
	}
	
}
 
/* End Header CSS */ 


/* Home Page CSS */ 

body.home {
    background-color: #F8F9F9;
}

/* End Home Page CSS */ 


/* Project Grid CSS */ 

.project-grid-wrap {
    max-width: 100%;
    margin: 60px auto 0;
}

.project-grid-item {
    width: 33.33%;
    position: relative;
    float: left;
}

.project-grid-item img {
    width: 100%;
    height: auto;
    max-width: 800%;
}

.project-grid-item .abs-div {
    display: none;
    position: absolute;
    height: 100%;
    text-align: center;
    width: 100%;
    background: #FFF001;
    top: 0;
    left: 0;
}

.project-grid-item .hedings-and-text-holder {
    position: absolute;
    top: 50%;
    right: 0px;
    left: 0;
    text-align: center;
    transform: translatey(-50%);
    display: block;
}

.project-grid-item .hedings-and-text-holder h3 {
    color: #111111;
    font-size: 21px;
    font-family: FSBenjaminSB;
    line-height: 20px;
    margin: 0px;
    margin-bottom: 8px;
}

.project-grid-item .hedings-and-text-holder p {
    color: #000000;
    font-size: 18px;
    text-transform: capitalise;
    line-height: 18px;
    margin-bottom: 0px !important;
}

.project-grid-item:hover .abs-div {
    display: block;
}

@media only screen and (min-width: 768px) {
	.page-id-27  .site-content {
		background: #000000;
	}

	.page-id-27 .project-grid-wrap {
		margin: 27px;
	}

	.page-id-27 .ast-container {
		padding: 0px !important;
	}

	.page-id-27  .main-header-bar {
		padding: 20px 54px 10px;
	}

	.page-id-27 .project-grid-wrap .project-grid-item .project-grid-item-inner {
		display: block;
		margin: 27px;
		position: relative;
	}

	.page-id-27 .site-footer {
		margin-top: 0px;
	}

	.page-id-27 .site-footer .ast-footer-overlay {
		padding-left: 54px !important;
		padding-right: 54px !important;
	}
}

/* End Project Grid CSS */ 


/* Project Single CSS */ 
#project-images .gallery-item {
    margin-bottom: 60px;
}
	
.post-template-project-single .swiper-slide.elementor-lightbox-item {
    padding: 0px !important;
}

.post-template-project-single .dialog-message.dialog-lightbox-message {
    padding: 0px !important;
}

.post-template-project-single nav.navigation.post-navigation {
    display: none;
}
/*.elementor-lightbox .elementor-lightbox-image {
    max-height: fit-content !important;
}
.swiper-zoom-container {
    overflow: scroll !important;
    align-items: baseline  !important;
}*/
/* End Project Single CSS */ 

/* Footer CSS */
.site-footer {
    margin-top: 60px;
}
.ast-footer-overlay {
    padding: 30px 0 !important;
}
/* End Footer CSS */


/* Responsive CSS */

@media only screen and (min-width: 768px) {
	/* Common CSS */
	#page {
		display: flex;
		min-height: 100vh;
		flex-direction: column;
		overflow: hidden;
	}

	#content {
		flex: 1 auto;
		min-height: 1px;
	}
	/* End Common CSS */
}

@media only screen and (max-width: 767px) {
    /* Common CSS */
   .ast-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
   }
   /* End Common CSS */

   /* Header CSS */
	.ast-header-break-point .site-header {
		border: none !important;
	}
	
	.main-header-bar {
		padding: 15px 0;
	}
	
	.ast-site-title-wrap {
		margin-top: 0px;
	}

	.ast-site-identity {
		padding: 0px !important;
	}

	.ast-button-wrap .menu-toggle.main-header-menu-toggle {
		height: auto !important;
	}

	.ast-button-wrap .menu-toggle .menu-toggle-icon {
		line-height: 0px !important;
	}

	.site-branding {
		
	}

	.project-grid-wrap {
		margin-top: 0px;
	}
	
	.ast-button-wrap .menu-toggle.main-header-menu-toggle {
		padding-right: 0px;
	}
	
	.main-header-bar .main-header-bar-navigation.toggle-on {
		padding-top: 15px !important;
	}
	
	button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-buttons-minimal {
		font-size: 0px !important;
		line-height: 0px !important;
		padding: 0px !important;
	}

	.ast-header-break-point .main-header-bar {
		line-height: unset !important;
	}
	
   .ast-button-wrap .menu-toggle .menu-toggle-icon {
        font-size: 29px;
    }
	
	.ast-button-wrap .menu-toggle .menu-toggle-icon:before {
		content: ''  !important;
		background-image: url(/wp-content/uploads/2020/04/single-dot.png);
		position: absolute;
		top: 1.5px;
    	right: 0;
   		width: 19px;
    	height: 19px;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}
	
	.ast-button-wrap .menu-toggle.toggled .menu-toggle-icon:before {
		background-image: url('/wp-content/uploads/2020/04/dot-box.png');
		top: 1.5px;
    	right: 0;
   		width: 19px;
    	height: 19px;
}
.ast-main-header-nav-open {
		background: #FFF001 !important;
	}
    .main-navigation {
    	background: #FFF001;
	    height: calc(100vh - 52px) !important;
	}

    ul#primary-menu {
        background: transparent;
        text-align: left;
        padding: 15px 20px 0;
        border-top: none;
    }

    ul#primary-menu li {
        padding: 0;
    }

	ul#primary-menu .menu-item-has-children {
		padding-left: 0px;
	}

    ul#primary-menu li a {
        border: none;
        padding: 0px;
		color: #000000 !important;
		line-height: 25px;
		padding: 15px 0;
    }
	
	ul#primary-menu li .sub-menu li a:before {
		content: "\e900";
		font-family: Astra;
		font-size: .65em;
		text-decoration: inherit;
		display: inline-block;
		transform: translate(0,-2px) rotateZ(270deg);
		margin-right: 15px;
	}
	
	button.ast-menu-toggle {
		display: none !important;
	}

    ul#primary-menu ul.sub-menu {
		background: transparent !important;
		padding: 0px;
		display: block !important;
		margin: 0;
	}

	ul#primary-menu ul.sub-menu li {
	    text-align: left;
	}

	ul#primary-menu li ul.sub-menu li a {
	    padding: 15px 0 !important;
	}

/*	ul.sub-menu li {
	    padding: 0px !important;
	    margin-bottom: 13px;
	}*/

	li.ast-submenu-expanded {
	    padding-bottom: 0px !important;
	}

	button.ast-menu-toggle {
	    top: 8px !important;
	}
	
	.ast-main-header-nav-open div#content, .ast-main-header-nav-open footer {
		display: none;
	}
    /* End Header CSS */

    /* Home Page CSS */
    .home .site-content .ast-container {
        padding: 0px !important;
    }
    /* End Home Page CSS */

    /* Project Grid CSS */
	.page-template-project-template .site-content .ast-container {
		padding: 0px !important;
	}
	
    .project-grid-item {
        width: 100%;
        float: none;
    }
    /* End Project Grid CSS */
	
	/* Project Single CSS */ 
	#project-images .gallery-item {
		margin-bottom: 20px;
	}
	/* End Project Single CSS */ 
	
	/* Footer CSS */
	.site-footer {
		margin-top: 0px;
	}
	
	.ast-footer-overlay {
		padding: 20px 0;
	}
	/* End Footer CSS */
}

/* End Responsive CSS */ 