/*
 Theme Name:   Catholic Russia v 2018
 Theme URI:    http://catholic-russia.ru/
 Description:  Theme for catholic-russia.ru
 Author:       Vitaly kolesnik
 Author URI:   http://dancingwater.eu/
 Template:     astra
 Version:      0.5
 Text Domain:  cathrus
*/

#masthead .ast-container {
	width: 100%;
	padding: 0;
}
/*
.ast-container {
	background-color: white;
    padding-left: 3.75rem;
    padding-right: 3.75rem;
}
.main-header-bar {
    background-color: transparent;
    padding: 0;
}
.site-header {
	background-color: #f4f4f4;
}
.ast-container {
	padding: 0;
}
.site-header .ast-container {
	background-color: white;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
	padding: 2.67rem 3.33rem;
}
*/

p:blank {
   display: none;
}
.site-branding {
	margin-top: 2.5rem;
}
.site-title {
	margin-bottom: 1rem;
}
.site-title a, .site-title a:focus, .site-title a:hover, .site-title a:visited {
    color: #848484;
}
.site-description {
	font-style: italic;
	color: #a7a7a7;
}

.main-header-bar {
	line-height: 3;
}
.main-header-bar-navigation {
	/*background-color: #f0228b; /* amaranth */
	margin-bottom: 0.5rem;
}
.main-header-menu a {
	font-family: "Playfair Display", Georgia, sans-serif;
	font-size: 1.25rem;
	font-weight: 400;
	text-transform: uppercase;
	color: #f0228b; /* amaranth */
	padding: 0 1.25rem 0 0;
}
.main-header-menu .sub-menu a {
	font-size: 1rem;
	text-transform: none;
	color: #222;
	font-weight: 400;
}

.ast-masthead-custom-menu-items {
	padding: 0;
}
.ast-header-widget-area .widget:last-child {
	margin: 0;
	width: 100%;
}
.ast-header-widget-area img {
	display: inline-block;
	width: calc(100% - 0.1rem);
	height: auto;
	margin: 0 auto;
}

.ast-header-break-point.ast-header-custom-item-outside .ast-mobile-header-inline .site-branding {
    text-align: center;
}


.has-post-thumbnail .post-thumb img {
	padding: 0.25rem;
	border: 1px solid #d2d2d2;
}

@media (max-width: 420px) {
  .site-title {
    font-size: 1.5rem;
  }
  h2, .entry-title a {
    font-size: 1.8rem;
  }
  #primary, #secondary {
  	padding-top: 0.5rem;
  }
  .blog-layout-1 {
    padding-bottom: 1rem;
  }
	.widget-custom-menu-item {
		display: none;
	}
}
@media (min-width: 736px) and (max-width: 920px) {
	.ast-header-custom-item-outside .header-main-layout-2 .main-header-container {
  	display: block;
	}
}
@media (min-width: 920px) {
	.site-logo-img {
		display: inline-block;
		position: relative;
		left: -1rem;
	}
	.ast-site-title-wrap {
		display: inline-block;
		position: relative;
		top: 0.5rem;
		left: -1rem;
	}
  #primary, #secondary {
  	margin-top: 3rem;
  }
}
@media (max-width: 921px) {
	.widget-custom-menu-item {
		display: none;
	}
}

/* homepage posts */

@media (min-width: 921px) {
	.home:not(.paged) article:nth-of-type(1) .blog-layout-1 {
		border-bottom: 0;
		padding-bottom: 0;
	}
	.home:not(.paged) article:nth-of-type(2),
	.home:not(.paged) article:nth-of-type(3) {
		width: 50%;
	}
	.home:not(.paged) article:nth-of-type(2) .entry-title,
	.home:not(.paged) article:nth-of-type(3) .entry-title {
		font-size: 1.125rem;
	}
	.home:not(.paged) article:nth-of-type(4) .entry-title,
	.home:not(.paged) article:nth-of-type(5) .entry-title,
	.home:not(.paged) article:nth-of-type(6) .entry-title,
	.home:not(.paged) article:nth-of-type(7) .entry-title,
	.home:not(.paged) article:nth-of-type(8) .entry-title,
	.home:not(.paged) article:nth-of-type(9) .entry-title,
	.home:not(.paged) article:nth-of-type(10) .entry-title {
		font-size: 1rem;
	}
	.home:not(.paged) article:nth-of-type(2) .entry-content, .home:not(.paged) article:nth-of-type(2) .entry-meta,
	.home:not(.paged) article:nth-of-type(3) .entry-content, .home:not(.paged) article:nth-of-type(3) .entry-meta,
	.home:not(.paged) article:nth-of-type(4) .entry-content, .home:not(.paged) article:nth-of-type(4) .entry-meta, .home:not(.paged) article:nth-of-type(4) .post-thumb,
	.home:not(.paged) article:nth-of-type(5) .entry-content, .home:not(.paged) article:nth-of-type(5) .entry-meta, .home:not(.paged) article:nth-of-type(5) .post-thumb,
	.home:not(.paged) article:nth-of-type(6) .entry-content, .home:not(.paged) article:nth-of-type(6) .entry-meta, .home:not(.paged) article:nth-of-type(6) .post-thumb,
	.home:not(.paged) article:nth-of-type(7) .entry-content, .home:not(.paged) article:nth-of-type(7) .entry-meta, .home:not(.paged) article:nth-of-type(7) .post-thumb,
	.home:not(.paged) article:nth-of-type(8) .entry-content, .home:not(.paged) article:nth-of-type(8) .entry-meta, .home:not(.paged) article:nth-of-type(8) .post-thumb,
	.home:not(.paged) article:nth-of-type(9) .entry-content, .home:not(.paged) article:nth-of-type(9) .entry-meta, .home:not(.paged) article:nth-of-type(9) .post-thumb,
	.home:not(.paged) article:nth-of-type(10) .entry-content, .home:not(.paged) article:nth-of-type(10) .entry-meta, .home:not(.paged) article:nth-of-type(10) .post-thumb {
		display: none;
	}
	.home:not(.paged) article:nth-of-type(2) .entry-header,
	.home:not(.paged) article:nth-of-type(3) .entry-header,
	.home:not(.paged) article:nth-of-type(4) .entry-header,
	.home:not(.paged) article:nth-of-type(5) .entry-header,
	.home:not(.paged) article:nth-of-type(6) .entry-header,
	.home:not(.paged) article:nth-of-type(7) .entry-header,
	.home:not(.paged) article:nth-of-type(8) .entry-header,
	.home:not(.paged) article:nth-of-type(9) .entry-header,
	.home:not(.paged) article:nth-of-type(10) .entry-header {
		margin-bottom: 0;
	}
	.home .entry-content p.read-more {
		margin-bottom: 0;
	}
	.home .ast-article-post {
	    margin-bottom: 2rem;
	}
}

.entry-meta, .comments-area {
	display: none;
}
.widget_search .search-form .search-field {
	border-radius: 0;
}

/* tabs */

#tabs {
	width: 100%;
}
.tab {
	float: left;
	width: 50%;
	height: 3.5rem;
	padding: 0.5rem 0 0 0;
	font-family: "Playfair Display", Georgia, sans-serif;
	font-size: 0.875rem;
	line-height: 1.4;
	text-align: center;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	border-bottom: 1px solid #eee;
	background-color: #eeeeee;
}
.tab.on {
	border-bottom: 0;
	background-color: white;
}
.tab.on a:link, .tab.on a:visited {
	color: #3a3a3a;
}
.tab:nth-of-type(2) {
	border-right: 1px solid lightgray;
}
.tab-pane {
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
	width: 100%;
	clear: both;
}
.tab-pane p {
	margin-bottom: 0;
}
#cr_ew_widget .mod {
	padding: 1rem;
}

/* clearfix */
.group:after {
    content: '';
    clear: both;
	display: table;
}

/* imported */
#secondary #cr_imported li {
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
	padding: 0 0 0.5rem 0;
	border-bottom: 1px solid #eee;
	line-height: 1.5;
}
#secondary #cr_imported a {
	color: #3a3a3a;
}

/* footer */
.ast-footer-overlay {
    background-color: transparent;
}
.site-footer, .site-footer a {
	color: gray;
}
.slick-dots {
	height: 1rem;
}
.site-footer .wpls-logo-showcase .slick-dots li { /* links carousel dots */
	position: relative;
	left: 9999px;
}
.ast-footer-widget-1-area {
	padding: 2rem 0 0 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
.wpls-logo-showcase .slick-arrow {
	top: 33%;
}
.wpls-logo-showcase .wpls-logo-cnt.slick-slide img {
	padding: 0.25rem;	
}
.footer-sml-layout-1 .ast-small-footer-section-2 {
	margin-top: 2rem;
}
