/*
 Theme Name:   Extra-Child-Glos
 Description:  Extra Child Theme
 Author:       Olexander Koval 
 Author URI:   http://wp/electrostal.com.ua
 Template:     Extra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html 
*/



.home .cu-blog h2 a {
 font-size: 14px !important;
}

.home .cu-blog h2 a:hover {
 color: #c63d3d;
}


.home .cu-blog article {
	background-color: #6a6868;
	height: 250px;
}

.home .cu-blog h2 a { 
   color:#fff;
}

.onevpost {
	position: relative;	
    margin: 0; 
	  height: 215px;
}

.aaaaaa {
	margin-top:8px;
}





.myblokjurnal .onevtitle { 
	padding: 10px 0;
}

.myblokjurnal .onevtitle p { 
	border-radius: 0 0 10px 10px;
}

.myblokjurnal ._df_thumb {
	width: 224px;
	height: 316px;
	margin: 12px 0;
}

.home .myblokjurnal ._df_thumb {
	width: 300px;
	height: 420px;
	margin: 16px 0;
}

h2.myh2 {
	font-size:22px;
}

#page-container .mybutton1 {
	border:none;
/*	background-color:#fff;*/
	background-color:inherit;
}

#page-container .mybutton1:hover {
	font-size:20px !important;
	color: #c63d3d;
	/*border: 2px solid #c63d3d;*/
	background-color:inherit;
}

/*home*/
@media (min-width: 981px) {
	
}

.home hr {
	margin-top:0;
}

.home .ags-divi-extras-module .et_pb_extra_module {
	-webkit-box-shadow: none;
	box-shadow: none;	
}

.home .ags-divi-extras-module .et_pb_extra_module img {
	border-radius:6px;
}


.home .et_pb_section_0, .home .et_pb_section_1, .home .et_pb_section_3,.home .et_pb_section_4 {
  border-width: 2px;
  border-color: #FFFFFF;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  z-index: 10;
  box-shadow: none; /*0px 12px 18px -6px rgba(0,0,0,0.3);*/
}

.home .ags-divi-extras-module .et_pb_featured_posts_slider_agsdcm_0 {
  border-radius: 10px; 
}


.home .et_pb_column_4_4 .ags-divi-extras-module .posts-carousel-module .carousel-item, 
.home .et_pb_column_3_4 .ags-divi-extras-module .posts-carousel-module .carousel-item, 
.home .et_pb_column_2_3 .ags-divi-extras-module .posts-carousel-module .carousel-item {
  padding-top: 10px;
}


#back_to_top {
  text-align: center;
  cursor: pointer;
  font-size: 30px;
  color: #794646;
  background: rgba(255, 253, 253, 0.4);
	border: 1px solid #a8a6a6;
}


#back_to_top:hover {
  color: #fff;
  border-color: #cd5c5c;
  background: #cd5c5c;
}

.home .mainslider .post-content h3 a {
  font-size: 22px;
}


.home .carousel-items .post-content h3 a:hover {
  color:#c63d3d;
}

/*06-01 17 размер шрифта для связанных постов*/
.related-post .title a {font-size:16px;}

.single .post-header h1, .page .post-wrap h1 {
    font-size: 2.5em !important;
}

/*.read-more-button {width:150px;text-align:center;}*/

/*убираем об авторе*/
.single-post .author-box {
 display:none;
}
	
.single-post #comment-wrap {
    padding-top: 10px !important;
}


/*высота меню домика*/
.my-homemenu {
    font-size: 16px !important;
}

/*высота субменю*/
.nav li li {
    position: relative;
    line-height: 1.2em;
}

/*цвет фона заголовков виджетов*/
.et_pb_widget .widgettitle {
    background: #c1272c;
	}

/*тень в меню*/
#main-header {
 border-bottom:1px solid #f4f4f4 !important;
 -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
-moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;   
}


/*центрируем*/
.setcenter {text-align:center; 
}




/* подвал */

/*футтер три колонки*/

.footer-info {
    font-size: 13px !important;   
    line-height: 1.2em;
    display: inline-block;
    padding: 5px;
    font-size: 13px;
    line-height: 14px;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.6) !important;
	  text-align:left;
}

.myfooterall {
display: inline-flex;
 list-style-type: none;
 padding:0; 
 flex-wrap: wrap;
 justify-content:space-between; 	
}

 .mycolumnfooter1 { 
display: inline-flex;
 list-style-type: none;
 padding:0;
 padding-top:7px;	 
 flex-wrap: wrap;
 width:80%;
 margin-bottom:10px;}
 
.fftcol1 {	
    width:48%;    
}

.fftcol2 {
  	width:48%;   
}
 
 .mycolumnfooter2 { 
display: inline-flex;
 list-style-type: none;
 padding:0; 
 flex-wrap: wrap;
 width:80%;
 margin-bottom:10px;}
 
.ftcol1 {
    text-align: right;
  	padding-top:0px;
    width:70%;
}

.ftcol2 {
  	width:30%;
    padding: 7px 10px;
}
 

.mycolumnfooter3 { width:80%;margin-bottom:0px;} 

@media only screen and (min-width: 981px) {
	/* Desktop styles go below this line */
 
	.mycolumnfooter1 img {   
    max-height: 70px;
}
 .mycolumnfooter1 { width:46%;margin-bottom:0px;
	 text-align: center;
	 }  
 .mycolumnfooter2 { width:54%;margin-bottom:0px;}  
 .mycolumnfooter3 { width:40%;margin-bottom:0px;}
	
.mycolumnfooter1 .fftcol1{
		 width:60%;
	   padding: 0 5px;
	 }  
.mycolumnfooter1 .fftcol2{
	   padding: 0px 5px 10px 0;
		 width:40%;
	 }  
 
	 .mycolumnfooter1 .fftcol2 img {
		 opacity:0.8;
		 max-height:50px;
	 }	 
	 
.mycolumnfooter2 .ftcol1{
		 width:75%;
	 }  
.mycolumnfooter2 .ftcol2{
		 width:25%;
	 }  	 
	 
}  /*end screen*/



#footer-info { 
  font-size:13px !important;
 /* width:70%;  */
  line-height:1.2em;
}


.footer-razr  {
 color:#ffffff;
 opacity: 0.7;
 text-align:left;
 padding:10px 0 0 10px;
 font-size:13px !important;
 line-height:1.2em; 
}

.footer-razr a {color: #ffffff !important; opacity: 0.75 !important;}

.footer-razr a:hover {
  color:#ffffff !important;
  opacity:1 !important;
}



/*09-09-2021*/
.mytabpost {
    border-top: none;
        border-top-color: currentcolor;
}

.mytabpost .tabs, .mytabpost .excerpt, .mytabpost .header {
	display:none;
}
 
.mytabpost .tab-contents {
	padding-top: 15px;
}

.mytabpost article {
	margin: 0;
}

.mytabpost .post-meta {
	text-align:right;
}

/*шорткод  для вывода первой статьи категории*/

.onevpost {
	position: relative;	
    margin: 0; /*7px 4px 20px 0;*/	
}

 .et_pb_extra_overlay {
	color:#fff;
	border-radius: 10px;
}

@media only screen and (min-width: 981px) {
	.alltitle .st1, .alltitle .st2 {
  		width: 98%;
  		margin:0 1% 1% 1%;	
	}
	.alltitle {
		display:flex;
	}
}

.onevtitle {
    position: absolute;  
    bottom: 0;
    z-index: 5;
    width: 100%;
    height: auto;
	padding: 10px;
}

.onevtitle a, .onevcat a {
    color: #fff !important;
}

.onevtitle p {
    color: #fff;
    background: #0202027a;    
    padding: 8px 15px !important;
    line-height: 1.1em;
}


.onevtitle a:hover {   
    text-decoration: underline;
}



.line4 .module-head, .line1 .module-head {
	display: none;
}

.line4 .posts-carousel-module, .line1 .posts-carousel-module  {
	border:none;
}

.line2 .excerpt {
	display: none;
}


/*feed*/
.feedvpost .fpost a {
	color: #C1272C;
}

.feedvpost .fpost {
	margin: 10px 0;
}

.feedvpost .fpost p {
	margin: 5px 0;
}

/* 05-09-21 */
@media only screen and ( min-width:980px ) {
.mainslider article {
	height:inherit !important;
}

.mainslider .et_pb_slides {
	height:430px;
}

.listallpost {
	height: 460px;
display: flex;
flex-direction: column;
align-content: space-between;
}

.onevpost img {
	height: 200px;
  	width:  100%;
	border-radius: 10px; 
}

.alltitle {
    height:230px;
}

.alltitle .st1, .alltitle .st2 {
    width: 96%;
    margin: 3px 1%;
}

.newots .onevpost {
    margin: 0 0 19px;
}
}







/*!!! только для мобильных */
@media (max-width: 980px) { 


	
	
	
	

}/*end mobile*/



/* DESKTOP STYLES
-------------- */
@media only screen and (min-width: 981px) { /*только для экрана*/


 
  
}  /*end screen*/






