/**
 Theme Name: Extra-Child
 Template: Extra
 Description:  Extra Child Theme
 Author:       Alexander Koval 
 Author URI:   http://alexkoval.name
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         Jagiellonia 
*/


/* THREE COLUMN PORTFOLIO GRID LAYOUT 
 * 
 * https://diviplugins.com/divi-portfolio-grid-layout-three-columns/
 * 
 * */

@media only screen and ( min-width: 768px ) {

.three-column-grid .et_pb_grid_item {
width: 31% !important;
margin: 0 2.1% 2.1% 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}

.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}

.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}

}




/*контакты*/
.et-pb-contact-message {
    position: relative;
    font-size: 16px;
    font-weight: bold;
    color:#E54A3B;
}


.posts-blog-feed-module .post-title {
    font-size: 18px;   /*размер шрифта заголовков */
 }

/*.posts-blog-feed-module.standard .hentry.type-post.has-post-thumbnail .header {width:30% !important;} 
*/


.et_pb_extra_module .post-meta a:hover {color:#E54A3B;}

.single .single-post-module a:hover { color:#E54A3B; }

.single .post-nav a:hover { color:#E54A3B; }

.single .related-post h4 a:hover { color:#E54A3B; }

/*виджеты*/
.et_pb_widget .widgettitle {
    background: #99ABB7;
}

/*хлебные крошки*/
#breadcrumbs {
    margin-left: 5% !important;
    font-size: 13px;
    margin-top:10px;
    font-weight:600;    
}

#breadcrumbs {
    display:none;}
  
  
#breadcrumbs a {
  color: #558ABB !important;
}



/*логотип меню*/
.my-homemenu {
    font-size: 16px !important;
}


/*кнопка наверх*/
#back_to_top {
    background-color: #99ABB7 !important;
}
/*-------------------*/

.mysection1 .posts-carousel-module .post-content-box h3 a:hover { color: #E54A3B; }

.mysection1  a:hover { color: #E54A3B; }

a.logo:hover {opacity:0.7} 

.post-header .post-meta a { color: #2980B9; }

.post-header .post-meta a:hover { color: #E54A3B; }

.et_pb_widget li a:hover {color:#E54A3B !important;}
	  
.post-title a:hover { color: #E54A3B !important; } /*цвет заголовков при наведении курсора*/


/*пагинация стариниц*/
.pagination li a:hover {
    background-color: #237BB3;
    color: #ffffff;
    border-radius: 2px;
}

.pagination li:hover a.next::before { color: #ffffff;} 

.pagination li:hover a.prev::before { color: #ffffff;} 


/* -- 4 columns blog Extra -- */
@media only screen and ( min-width:980px ) {
.my4colums .posts-blog-feed-module .paginated_page[data-columns]::before { 
 	content: '4 .column.size-1of4' !important;}
.my4colums .posts-blog-feed-module .column.size-1of4 {
      width: 24% !important;
	margin-right: 0%;}
}

.my4colums .posts-blog-feed-module.masonry .hentry {
margin-left: 20px;
}





/*убираем фото и навигацию с таб-блоков */
.mytabpost .main-post img {
		display:none !important;
}

.mytabpost .main-post .post-meta {
		display:none !important;
}

.mytabpost  .post-content a { color: #213344; }
	  
.mytabpost  .post-content a:hover { color: #E54A3B !important; }		
	  
.mytabpost .tab-nav { display:none !important;}

.mytabpost { border-top:none; }

.mytabpost .post-content { padding: 0 5px !important;}

.mytabpost  ul li { padding: 5px !important;}

.mytabpost .excerpt p {
	line-height:1.4em;
}

.mytabpost .mytab-except {display:none; }
  

/*post tab*/
.mytab-2 .mytab-except p { 
  line-height: 1.4em;
  font-size:14px;
}
	
.mytab-2 .entry-title  a {
  font-size:16px !important;  
}	


.mytab-2 h3 a, .mytab-2 h2 a { color: #213344; }
	  
.mytab-2 h3 a:hover, .mytab-2 h2 a:hover { color: #E54A3B !important; }





#main-content {
    padding-top: 30px;
}

.myzagolovok hr {
    border: 0;
    border-top: 1px solid #BD1E2C;
    margin-top: 1px;
}

.myzagolovok h2 {
    padding-bottom: 0px !important;
    font-size: 20px;
}

/*тень в меню*/
#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;   
}

	

/*увеличиваем заголовок постов*/
.single .post-header h1, .page .post-wrap h1 {
    font-size: 2.5em;
}

/*в актуальностях поднимаем заголовок первой записи*/
#firstline .et_pb_extra_module .main-post article .header {    
    margin: -1px 0 10px !important;
}

/*отступ снизу первой полосы*/
#firstline .et_pb_extra_module {
    margin-bottom: 4px !important;
}


/*слайдер на главной*/


.myexcerpt a p { color: #ffffff !important; opacity:0.9;}

.homeslider a:hover {color:#ffffff !important; }

.homeslider .myexcerpt a:hover p{color:#ffffff !important; opacity:1;}

/* Responsive Styles Smartphone Portrait */
@media all and (max-width: 479px)  {

  .myexcerpt a p { color: #000000 !important; opacity:0.6 }

.homeslider a:hover {color:#000000 !important; }

.homeslider .myexcerpt a:hover p{color:#000000 !important; opacity:1;}
  
}  /*end mobile*/


  
.homeslider .post-content-box {
 /*  background: rgba(44,80,109,0.64) !important;*/
}

	
/*кнопка наверх*/
#back_to_top {
 background-color: #232323;
}



/*Для єкрана*/
@media only screen and (min-width: 768px) {

/*размеры логотипа при скроллинге  */  
.et-fixed-header #main-header .logo {
height: 44px !important;
margin: 8px 0 4px 0 !important;
width: 180px !important;
}

/*ширина окна поиска*/  
#et-info .et-top-search .et-search-field {    
    width: 180px;
}  
  
  
  
  
  
} /*end screen*/

/* ---------- подвал --------- */

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

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

.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; 
 flex-wrap: wrap;
 width:80%;
 margin-bottom:10px;}
 
.fftcol1 {
	padding-top:10px;
    width:20%;
    text-align: right;
}
.fftcol1a {
	padding-top:10px;
    width:30%;
    text-align: right;
}

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

.ftcol2 {
  	width:80%;
    padding: 0 10px;
}
 

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

 @media only screen and (min-width: 981px) {
	/* Desktop styles go below this line */
 
 .mycolumnfooter1 { width:46%;margin-bottom:0px;}  
 .mycolumnfooter2 { width:30%;margin-bottom:0px;}  
 .mycolumnfooter3 { width:24%;margin-bottom:0px;}
  
}  /*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;
}


.footer-menu a {
  color:#ffffff !important;
 opacity: 0.7;  
}

.footer-menu a:hover { opacity: 1.0;}	

.footer-menu ul { list-style-type:none;}	

/* ---------- end подвал --------- */
