/*
Theme Name: Youko Child
Theme URI: http://webdesign-finder.com/youko
Template: youko
Author: MWTemplates
Author URI: http://modernwebtemplates.com/
Description: Youko - Martial Arts School Wordpress Theme
Tags: custom-header,left-sidebar,right-sidebar,post-formats,full-width-template
Version: 1.1.0
*/

/*
** WordPress Required
*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption .wp-caption-dt {
    background: transparent;
    border: 0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption .wp-caption-dt:empty {
    display: none;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.widget .screen-reader-text {
    display: none !important;
}

.sticky,
.bypostauthor{position: relative;}
/*************** ADD YOUR CUSTOM CSS HERE  ***************/

.dark-body {
	/*background-color: #FFF !important;*/
}
.ds {
	/*background-color: #FFF !important;*/
}
.ds .nav > li > a {
	/*color: #e70000 !important;*/
}

.cs {
    background-color: #e70000 !important;
}

.home_about {
	background : #000000ad;
}

.flex-direction-nav a:before {
	color : #fd0000 !important;	
}

.isotope_container > .isotope-item > .service_item > div.service_icon {
	display:none;
}

.flexslider > ul.slides {
	padding-bottom:80px;
}

.fw-signature-right-part {
	display: none !important;
}
.std {
	position: relative; 
	  height: 100%;
  width: 100%;
  display: flex;
}
.sld::before {
	content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(255,255,255,0.55);
}

.sld > h2, .sld > p {
	  position: relative;

}


.last_post {
	position: relative; 
	height: 100%;
  	width: 100%;
  	display: flex;
}
.last_post::before {
	content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(255,255,255,0.55);
}

.last_post > h2, .last_post > p {
	  position: relative;

}

@media (max-width: 1024px) {
	.intro-layer > h2.black, .intro-layer > p.black {
		color: #ffffff !important;
	}
	
	.sld::before {
		background-color: transparent;
	}
	
	.sld > h2, .sld > p {
	  text-align: left;

	}
	
	.last_post::before {
		background-color: transparent;
	}
	
	.last_post > h2, .last_post > p {
	  text-align: left;

	}
	
	.extra-light {
		text-align: left;
	}
}
