/**
Theme Name: CustomTheme
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: customtheme
Template: astra
*/

.itg-no-space .elementor-widget {
	margin-bottom: 0 !important;
}

a:focus {
    outline: none;
}

/* Privacy Policy */
body.privacy-policy.ast-single-post {
	background: #ffffff;
}

body.privacy-policy.ast-single-post #primary {
	max-width: 742px;
    margin: 20px auto;
}

body.privacy-policy.ast-single-post #primary p {
	font-size: 20px;
}

body.privacy-policy.ast-single-post #primary h1.entry-title {
	font-size: 40px;
}

body.privacy-policy.ast-single-post #primary h2 {
	font-size: 30px;
}

body.privacy-policy.ast-single-post #primary a {
	text-decoration: underline;
}

/* Scrolltop fix on mobile */

@media only screen and (max-width: 921px) {
	a#ast-scroll-top .ast-icon {
		align-items: center;
		display: flex;
		height: 100%;
		justify-content: center;
	}
}


/* Comment Box on Single Post Page */

body.single-post.ast-single-post div#primary div#comments {
	border-top: 1px solid #e6e6e6;
    margin-top: 1em;
    padding-top: 1em;
}

body.single-post.ast-single-post div#primary div#comments div#respond {
	padding:0;
}

body.single-post.ast-single-post div#primary div#comments .comments-title {
    padding: 0;
    font-size: 20px;
	display: none;
}

body.single-post.ast-single-post div#primary div#comments li.comment:first-child {
	margin-top: 0;
}

body.single-post.ast-single-post div#primary div#comments li.comment {
	border: 1px solid #e6e6e6;
	background: #e9f1f4;
	border-radius: 5px;
	padding: 16px;
	margin-top: 16px;
	margin-bottom: 0;
}

body.single-post.ast-single-post div#primary div#comments article.ast-comment {
	padding: 0;
}

body.single-post.ast-single-post div#primary div#comments div.ast-comment-time {
	line-height: 1;
}

body.single-post.ast-single-post div#primary div#comments div.ast-comment-time time {
	letter-spacing: 0.04em;
    font-size: 11px;
    color: #8a8a8a;
}

body.single-post.ast-single-post div#primary div#comments .ast-comment-list {
	border-bottom: 1px solid #e6e6e6;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

body.single-post.ast-single-post div#primary div#comments .comment-edit-link, body.single-post.ast-single-post div#primary div#comments .comment-reply-link {
	color: #fff;
    font-weight: 100;
    font-size: 14px;
    background: #086880;
    padding: 5px 15px;
    border-radius: 2px;
}

body.single-post.ast-single-post div#primary div#comments .comment-edit-link:hover, body.single-post.ast-single-post div#primary div#comments .comment-reply-link:hover {
	background: #064959;
}

/* Author Box on Single Post Page */

body.single-post.ast-single-post div#primary div.ast-single-author-box {
	margin-top: 0;
    padding-top: 1em;
    border-top: 1px solid #e6e6e6;
}

body.single-post.ast-single-post div#primary div.ast-single-author-box div.ast-author-meta {
	padding: 0;
}


/* Related Posts on Single Post Page */

body.single-post.ast-single-post div#primary div.ast-single-related-posts-container {
	padding: 0;
	margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid #e6e6e6;
    margin-bottom: 1em;
}

body.single-post.ast-single-post div#primary h2.ast-related-posts-title,
body.single-post.ast-single-post div#primary h3.about-author,
body.single-post.ast-single-post div#primary h3.comment-reply-title{
	color: #086880;
}

body.single-post.ast-single-post div#primary div.ast-single-related-posts-container div.ast-related-posts-wrapper > article {
	padding: 0;
}

body.single-post.ast-single-post div#primary div.ast-single-related-posts-container div.ast-related-posts-wrapper > article span.posted-on .published {
	display: none;
}

body.single-post.ast-single-post div#primary div.ast-single-related-posts-container div.ast-related-posts-wrapper > article span.posted-on .updated {
	display: inline;
}

body.single-post.ast-single-post div#primary div.ast-single-related-posts-container div.ast-related-posts-wrapper > article span.posted-on span {
	color: #8a8a8a;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
}

/* POST CONTENT */

body.single-post.ast-single-post {
	background: #ffffff;
}

body.single-post.ast-single-post .entry-content a {
	text-decoration: underline;
}


body.single-post.ast-single-post .entry-content .wp-block-image {
	margin-bottom: 1.5em;
}

body.single-post.ast-single-post div#primary {
	margin-top: 0;
}

article.ast-article-single.post.type-post div.entry-content p, article.ast-article-single.post.type-post div.entry-content li {
	font-size: 20px;
}

@media only screen and (max-width: 544px) {
	article.ast-article-single.post.type-post div.entry-content p, article.ast-article-single.post.type-post div.entry-content li {
		font-size: 18px;
	}
	article.ast-article-single.post.type-post div.entry-content pre code {
		font-size: 14px !important;
	}
}

article.ast-article-single.post.type-post div.ast-single-post-order h1.entry-title {
	margin-bottom: 10px;
	font-size: 40px;
}

article.ast-article-single.post.type-post div.entry-content h2 {
	font-size: 30px;
}

article.ast-article-single.post.type-post div.entry-content h3 {
	font-size: 25px;
}

article.ast-article-single.post.type-post div.entry-content h4 {
	font-size: 22px;
}

article.ast-article-single.post.type-post div.entry-content > ul > li,
article.ast-article-single.post.type-post div.entry-content > ol > li{
	left: -70px;
    position: relative;
	margin-right: -70px;
}

article.ast-article-single.post.type-post div.entry-content > ul li,
article.ast-article-single.post.type-post div.entry-content > ol li{
    padding-left: 16px;
}

article.ast-article-single.post.type-post div.entry-content code {
	background: #e9e9e9;
    padding: 5px 8px;
    border-radius: 4px;
}

article.ast-article-single.post.type-post div.entry-content pre {
	background: #e9e9e9;
	padding: 0;
}

article.ast-article-single.post.type-post div.entry-content pre code {
	font-size: 18px;
    line-height: 32px;
	white-space: pre;
	font-size: 16px;
	display: inline-block;
	padding: 1em 1em;
}

article.ast-article-single.post.type-post div.entry-content li img {
	display: block;
	margin: 10px 0;
}

article.ast-article-single.post.type-post div.entry-content li::marker {
	color: #086880;
}

article.ast-article-single.post.type-post div.entry-content figure.wp-block-table {
	margin-bottom: 1.5em;
}

article.ast-article-single.post.type-post .entry-content img {
	border: 1px solid #c5c5c5;
}

article.ast-article-single.post.type-post .entry-content img.no-border, article.ast-article-single.post.type-post .entry-content .no-border img {
	border: none !important;
}

article.ast-article-single.post.type-post .wp-block-image figcaption {
	font-size: 14px;
    margin-top: 0;
}


article.ast-article-single.post.type-post figure figcaption {
	font-size: 14px;
	text-align: center;
}


article.ast-article-single.post.type-post blockquote {
	border-left-color: #086880;
}


@media only screen and (max-width: 920px) {
  	article.ast-article-single.post.type-post div.entry-content > ul > li,
	article.ast-article-single.post.type-post div.entry-content > ol > li {
		left: -24px;
		margin-right: -24px;
	}
	
	article.ast-article-single.post.type-post div.entry-content > ul li,
	article.ast-article-single.post.type-post div.entry-content > ol li {
    	padding-left: 8px;
	}
}

/* Meta stuff */

article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-post-meta {
	text-transform: uppercase;
	color: #8a8a8a;
	font-size: 11px;
	letter-spacing: 0.04em;
}

article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-post-meta span.posted-on .published {
	display: none;
}

article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-post-meta span.posted-on .updated {
	display: inline;
}


article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-post-meta span.posted-by img {
	border-radius: 100%;
	margin-right: 10px;
	height: 32px;
	width: 32px;
}

article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-post-meta span.posted-by span.author-name {
	font-weight: 500;
	color: #000000;
}

article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-post-meta span.posted-on::before {
	content: "\2014";
    padding: 0 4px;
    display: inline-block;
    transform: scale(.916);
}

/* Category stuff */

body.archive div#primary div.ast-pagination .navigation .nav-links {
	width: unset;
}

body.archive div#primary div.ast-pagination .navigation .nav-links span,  body.archive div#primary div.ast-pagination .navigation .nav-links a {
	border-radius: 6px;
	border-width: 0;
}

body.archive div#primary div.ast-pagination .navigation .nav-links span.current, body.archive div#primary div.ast-pagination .navigation .nav-links a.page-numbers:hover {
	background-color: #DFE7EA;
	color: #086880;
}

body.archive div#primary div.ast-pagination .navigation .nav-links span.page-numbers {
	pointer-events: none;
}

body.archive div#primary div.ast-pagination .navigation .nav-links a.page-numbers.next {
	margin-left: 5px;
}

body.archive div#primary div.ast-pagination .navigation .nav-links a.page-numbers.prev {
	margin-right: 5px;
}

article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-top-post-categories {
	margin-bottom: 10px;
}

article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-top-post-categories a {
	display: inline-block;
	line-height: 18px;
	background: #086880;
    padding: 3px 10px;
    margin-right: 6px;
    border-radius: 6px;
    color: white;
	font-size: 15px;
	white-space: nowrap;
	font-weight: 500;
}

article.ast-article-single.post.type-post .entry-header div.ast-single-post-order div.ps-top-post-categories a:hover {
	background: #064959;
}

/* old */

article.ast-article-single.post.type-post .entry-header div.post-thumb-img-content {
	position: relative;
}

article.ast-article-single.post.type-post .entry-header div.post-thumb-img-content div.ps-post-title {
	position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg ,rgba(0,0,0,.85),transparent);
    height: auto;
    width: 100%;
	padding: 0 1.6rem 0;
}

article.ast-article-single.post.type-post .entry-header div.post-thumb-img-content div.ps-post-title h1 {
	text-shadow: 0 1px 3px #000;
    color: white;
    font-size: 38px;
	padding-bottom: 1.6rem;
}

article.ast-article-single.post.type-post .entry-header div.post-thumb-img-content div.ps-post-title div.ps-post-categories {
	padding: 30px 0 6px;
}

article.ast-article-single.post.type-post .entry-header div.post-thumb-img-content div.ps-post-title div.ps-post-categories a,
article.ast-article-single.post.type-post .entry-header div.post-thumb-img-content div.ps-post-title div.ps-post-categories span.posted-on{
	background: #545454;
    padding: 3px 6px;
    margin-right: 6px;
    border-radius: 3px;
    color: white;
	font-size: 15px;
}

article.ast-article-single.post.type-post .entry-header div.post-thumb-img-content div.ps-post-title div.ps-post-categories a:hover {
	background: #323232;
}

/* Home page Post meta */
.elementor-widget-container .uael-post__body .uael-post__meta-data span {
	align-items: center;
	display: inline-flex;
	justify-content: center;
}

.elementor-widget-container .uael-post__body .uael-post__meta-data span svg {
	margin-right: 5px;
}

/* Category Blocks */

@media only screen and (max-width: 976px) {
	.ps-home-category {
		height: 100%;
	}

	.ps-home-category .elementor-widget-container {
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	.ps-home-category .uael-imgicon-wrap .uael-icon-wrap {
		margin-right: 0;
	}
}

.ps-home-category .uael-imgicon-wrap .uael-icon-wrap {
	line-height: 100%;
}

/* Same height home page */

div.ps-sh div.uael-post-grid__inner div.uael-post-wrapper div.uael-post__bg-wrap {
	height: 100%;
}

div.ps-sh div.uael-post-grid__inner div.uael-post-wrapper div.uael-post__inner-wrap  {
	display: inline-flex;
	flex-direction: column;
	    height: 100%;
}

div.ps-sh div.uael-post-grid__inner div.uael-post-wrapper div.uael-post__inner-wrap div.uael-post__content-wrap {
	display: inline-flex;
	flex-direction: column;
	    flex-grow: 1;
}

div.ps-sh .uael-post__excerpt p:last-child {
	margin-bottom: 0;
}

/* Hide on second page */

.home.paged .hideonsecond {
	display: none;
}

/* Order on Tablet */

@media only screen and (max-width: 976px) {
	.home .elementor-section-wrap {
		display: flex;
		flex-direction: column;
	}
	
	.home .elementor-section-wrap .elementor-section.order-1 {
		order:1;
	}
	.home .elementor-section-wrap .elementor-section.order-2 {
		order:2;
	}
	.home .elementor-section-wrap .elementor-section.order-3 {
		order:3;
	}
}

/* Sub menu */

.ps-submenu-item a:hover {
	color: #086880 !important;
}

/* 404 page */
.ast-separate-container .error-404 {
	background: none !important;
}

/* calendar icon posts */

.uael-post__meta-data svg.svg-inline--fa.fa-calendar {
    height: 12px;
    width: 13px;
    vertical-align: middle;
    margin-right: 2px;
}

/* SIDEBAR */

body.single-post.ast-single-post div#secondary {
	min-width: 300px;
}


.sidebar-main > * {
	margin-bottom: 1.5em !important;
}

.sidebar-main > *:last-child {
	margin-bottom: 0 !important;
}

.sidebar-main > aside {
	padding: 0 !important;
}

@media only screen and (max-width: 1164px) {
	body.single-post.ast-single-post div#secondary {
		padding-left: 0 !important;
	}
}

@media only screen and (max-width: 921px) {
	.sidebar-main {
		display: none;
	}
}

/* Custom menu titles */

div.sb-menu-title {
	margin-bottom: 10px !important;
}

div.sb-menu-title a:hover {
	color: #086880 !important;
}

.ast-desktop .ast-mm-custom-text-content, .ast-desktop .ast-mm-template-content {
	padding: 0 !important;
}

/*POST GRID on MOBILE */
@media only screen and (max-width: 767px) and (min-width: 625px) {
	.uael-post__columns-mobile-1 .uael-post-wrapper {
    	width: 50%;
	}
}

/* Category & Archive Page Styles */

body.archive div#primary article > div {
	position: relative;
	overflow: hidden;
}

body.archive div#primary article > div > a {
	position: absolute;
	width: 100%;
	height: 100%;
	left:0;
	top:0;
	z-index: 10;
}

body.archive div#primary article .post-content .ast-blog-featured-section {
	display: block;
    padding: 0;
    float: none;
	margin-bottom: 30px;
}

body.archive div#primary article .post-content .ast-blog-featured-section .post-thumb-img-content {
	width: 100%;
    display: block;
    height: auto;
    margin: 0;
}

body.archive div#primary article .post-content .ast-blog-featured-section .post-thumb-img-content > a {
	padding-bottom: 60%;
    width: 100%;
    position: relative;
    display: block;
    height: 0;
}

body.archive div#primary article > div:hover .post-content .ast-blog-featured-section .post-thumb-img-content > a img {
	transform: scale(1.05);
	transition: transform 330ms;
}

body.archive div#primary article .post-content .ast-blog-featured-section .post-thumb-img-content > a img {
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

body.archive div#primary article .post-content > header {
	padding: 0 30px;
}

body.archive div#primary article .post-content > .entry-content p {
	font-size: 16px;
	line-height: 28px;
}

body.archive div#primary article .post-content > .entry-content {
	padding: 0 30px 30px;
}

/* Same height related posts on single post page */

body.single-post div#primary div.ast-single-related-posts-container div.ast-related-post-content div.post-thumb-img-content > a {
	padding-bottom: 60%;
    height: 0;
    width: 100%;
    display: block;
	position: relative;
}

body.single-post div#primary div.ast-single-related-posts-container div.ast-related-post-content div.post-thumb-img-content > a img {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

/* Homepage Featured Posts */

body.home .itgeared-featured {
	margin-bottom: 0;
}

body.home .itgeared-featured .uael-post-grid__inner .uael-post__inner-wrap .uael-post__excerpt {
	display: none;
}

body.home .itgeared-featured .uael-post-wrapper-featured .uael-post__content-wrap {
	background: linear-gradient(0deg,rgba(0,0,0,.85),transparent);
}

body.home .itgeared-featured .uael-post-wrapper-featured .uael-post__content-wrap .uael-post__title, 
body.home .itgeared-featured .uael-post-wrapper-featured .uael-post__content-wrap .uael-post__meta-data {
	color: #ffffff;
    text-shadow: 0 1px 3px #000;
}

@media only screen and (max-width: 767px) {
	body.home .itgeared-featured .uael-post-grid__inner .uael-post__inner-wrap .uael-post__excerpt {
		display: block;
	}
	
	body.home .itgeared-featured .uael-post__footer {
		display: none;
	}
	
	body.home .itgeared-featured .uael-post-wrapper-featured > .uael-post__bg-wrap {
		overflow: hidden;
	}
	
	body.home .itgeared-featured .uael-post-grid__inner .uael-post-wrapper {
		margin-bottom: 15px;
	}
	
	body.home .itgeared-featured .uael-post-grid__inner .uael-post-wrapper .uael-post__bg-wrap {
		height: 100%;
		margin-bottom: 0;
	}
}

/* Footer Image */

footer .footer-logo {
	padding: 0 20px;
}

@media only screen and (max-width: 544px) {
	footer .footer-logo {
		display: none;
	}
}

/* Fix comments section on mobile */

@media (max-width: 921px) {
	body.single-post.ast-single-post div#primary div#comments {
		margin: 2em 20px 0 !important;
	}

	body.single-post.ast-single-post div#primary div#comments p.ast-float {
		width: 100% !important;
		float: none !important;
	}
}

/* MV CSS */
@media only screen and (max-width: 359px) {
    #primary {
        padding: unset !important;
    }
}

.site-footer .ast-flex {
    justify-content: space-around !important;
}
/* end of fix */

/* ITG EXIT POP UP */

#itg-exit-popup-container.itg-exit-popup-hidden {
	display: none;
}

#itg-exit-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #086880;
	z-index: 2147483647;
	height: 100%;
    width: 100%;
	overflow-y: auto;
	display: flex;
}

#itg-exit-popup-container #itg-exit-popup-close {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    display: block;
    text-decoration: none;
    top: 20px;
    right: 35px;
}

#itg-exit-popup-container #itg-exit-popup-close::before {
    content: "\00d7";
    display: block;
    font-size: 40px;
    line-height: 40px;
    font-weight: 900;
    color: white;
    vertical-align: middle;
}

#itg-exit-popup-container #itg-exit-popup-content {
    display: flex;
    flex-wrap: nowrap;
    box-sizing: border-box;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
}

#itg-exit-popup-container .itg-exit-popup-col {
    display: flex;
    flex-direction: column;  
    justify-content: center;
    width: 50%;
    padding: 20px;
    margin:  0 auto;
    text-align: center;
}

#itg-exit-popup-container #itg-exit-popup-content button#itg-open-btn {
  background: #ff700b;
  color: white;
  word-wrap: normal;
  display: block;
  border: none;
  padding: 20px 7px;
  font-size: 20px;
  border-radius: 30px;
  width: 100%;
  cursor: pointer;
  margin-bottom: 20px;
  font-weight: 600;
  user-select: none;
}

#itg-exit-popup-container #itg-exit-popup-content button#itg-no-btn {
  margin:  0 auto;
  padding: 10px 20px;
  border:  none;
  background: #357f93;
  color:  white;
  cursor: pointer;
  border-radius: 20px;
  width: auto;
  user-select: none;
}

#itg-exit-popup-container #itg-exit-popup-content .itg-exit-popup-text h2 {
  color: white;
  margin: 0;
  font-size: 38px;
}

#itg-exit-popup-container #itg-exit-popup-content .itg-exit-popup-text p {
	color: white;
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 28px;
}

#itg-exit-popup-container img.itg-exit-popup-img {
	margin: 0 auto;
}

@media only screen and (max-width: 858px) {
	#itg-exit-popup-container #itg-exit-popup-content {
		flex-direction: column;
		padding: 10px;
	}
	
	#itg-exit-popup-container img.itg-exit-popup-img {
		max-width: 250px;
	}
	
	#itg-exit-popup-container .itg-exit-popup-col {
		width: 100%;
		max-width: 650px;
		padding: 0;
	}
}

body.popup-open {
	overflow: hidden !important;
}

@media only screen and (max-width: 425px) {
	
	#itg-exit-popup-container #itg-exit-popup-content .itg-exit-popup-text h2 {
		font-size: 28px;
    	line-height: 32px;
	}

	#itg-exit-popup-container #itg-exit-popup-content .itg-exit-popup-text p {
		font-size: 18px;
    	line-height: 25px;
	}
	
	#itg-exit-popup-container #itg-exit-popup-content button#itg-open-btn {
		font-size: 18px;
	}
	
	#itg-exit-popup-container img.itg-exit-popup-img {
		max-width: 200px;
	}
}

@media only screen and (max-width: 991px) {
	#ast-desktop-header .site-primary-header-wrap.ast-container {
		padding: 0 5px;
	}
}