/* 
Theme Name: PISA MD
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor
Author: Vitalie Braniște
Author URI:
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: 
*/

/*
    Add your custom styles here
*/

#content {max-width:1320px;padding-bottom:35px;}
.site-main {max-width:1320px;}

a {color:#833184;}

.tmm_textblock {min-height: 250px !important;}


h1, h2, h3, h4, h5, h6 {margin-top: 5px;margin-bottom: 3px;}

.navi {widht:100%;height:130px; background: #0f7475;padding:7px;}
.navi h1 {font-size:29px;text-align:center;color: #ffffff;}
.navi p {text-align:center;color: #ffffff;}
.rank-math-breadcrumb p a {text-align:center;color: #ffffff;}
.rank-math-breadcrumb p span {text-align:center;color: #eeeeee;}

.rapoarte img {border: 1px solid white !important; margin: 10px !important; padding: 10px !important; box-shadow: 1px 1px 8px #757575 !important; text-align: center; !important;}

.ectbe-evt-cost {display:none !important;}

/*Stilizarea categoriei de granturi*/
.img52 {width:50%;height:400px;overflow: hidden; display: flex;justify-content: center;align-items: center;}
.title52 {width:50%;height:400px;display: flex;justify-content: center;align-items: center;}
.bgtitle52 {min-width:100%;background-color: #f1f1f1;padding: 14px 140px; overflow:visible;border:1px solid #fff;opacity:0.7;}
.bgtitle52 a, h2 {color: #0f7475; font-size:21px !important;line-height:1.2;}
.title52 b {font-size:200%; color:#f4a625;}
.post52 {clear: both; /*border-bottom: 2px solid #5c2a76;*/ padding:7px;}

/*alternarea imagine+text - stanga sau dreapta pe fiecare rand nou */
.post52:nth-child(odd) div.title52 {float:right;}
.post52:nth-child(odd) div.img52 {float:left,}
.post52:nth-child(odd) span.bgtitle52 {margin-left: -70px; margin-right: 0px; z-index: 9;}

.post52:nth-child(even) div.title52 {float:left;}
.post52:nth-child(even) div.img52 {float:right;}
.post52:nth-child(even) span.bgtitle52 {margin-right: -70px; margin-left: 0px; z-index: 9;}

@media only screen and (max-width: 768px) {
  /* /*Stilizarea categoriei de granturi mobile phones: */
.img52, .title52 {width: 100%;height:auto;}
.bgtitle52 {min-width:100%;background-color: #f1f1f1;padding: 7px; overflow:visible;border:1px solid #fff;opacity:0.7;}
.post52:nth-child(odd) span.bgtitle52 {margin-left: 7px; margin-right: 7px;}
.post52:nth-child(even) span.bgtitle52 {margin-left: 7px; margin-right: 7px;}
  
}
/*END Stilizarea categoriei de granturi*/

/* navigare */
.navigation {clear:both;text-align:center;margin:21px;padding:35px;}
.navigation li a, .navigation li a:hover, .navigation li.active a, .navigation li.disabled {color: #fff;    text-decoration:none;}
.navigation li {display: inline;}
.navigation li a, .navigation li a:hover, .navigation li.active a, .navigation li.disabled {background-color: #0f7475; border-radius: 3px; cursor: pointer; padding: 12px; padding: 0.75rem;}
.navigation li a:hover, .navigation li.active a {background-color: #55b9ba;}
/* Sfarsit navigare*/

/*Stilizarea categoriei Publicatii-Drepturile omului*/
.subcatpublicatii {padding:70px 0; max-width:1210px; margin: 0 auto; text-align:center; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-gap: 0px; row-gap:1px;}
.pubcontainer {position:relative;}
.imgpub {width:300px;height:200px; padding:0px;margin:0px;}
.imgpub img {/*-webkit-filter: grayscale(100%);filter: grayscale(100%);-webkit-transition: .5s ease-in-out;	transition: .5s ease-in-out;*/padding:0px;margin:0px;padding:0px;width:300px;height:200px;}
.imgpub a img {padding:0px;}
.imgpub img:hover {-webkit-filter: grayscale(0);filter: grayscale(0);}
.titlepub {position: absolute;top: 50%; left: 50%; transform: translate(-50%, -50%);z-index:9;text-align:center;}
.titlepub a {color: #f1f1f1;font-size:24px; line-height:1.2;text-shadow: 3px 0px 7px #000000, -3px 0px 7px #000000, 0px 4px 7px #000000;}
.titlepub a:hover {color: #ffffff;}

}
@media only screen and (max-width: 768px) {
  /* /*Stilizarea categoriei pentru mobile phones:*/
.subcatpublicatii {grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); grid-gap: 1px;}}
.pubcontainer {display:block; margin: 0 auto;}
.imgpub {width:300px;}*/
}

.tmm_textblock {min-height: 250px;}