.single-prelegent{
    max-width: 183px;
margin: 0 auto;
position: relative;
    width: 183px;
	min-height: 296px;
}

.name-prelegent {
    position: absolute;
    top:184px;
    width: 183px;
    margin-top:10px;
    height: 82px;
    display:block;
    text-align: center;
    font-family: 'Roboto', Tahoma, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 14px;
   color:#1b304b;
    font-style: normal;
    
}
.box-prelegent{
height:270px;}
.modal-background {
    display: none;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0; 
    position: fixed;
    background-color: rgba(0,0,0,0.4);
    z-index: 999;
}

.image-prelegent img{
    width: 183px;
    height: 183px;
  
    position: relative;

z-index: 10;
border-width: 4px;
border-style: solid;
border-image-slice: 7;
}

.img-epc, .ep-eur-all .image-prelegent img{border-image: linear-gradient( to top, #1e2d4b, rgba(0, 0, 0, 0) ) 2 100%; border-image-slice: 7;}

.img-oze, .ep-oze-all .image-prelegent img{border-image: linear-gradient( to top, #3a7a26, rgba(0, 0, 0, 0) ) 2 100%; border-image-slice: 7;}

.image-prelegent .zolty{border-bottom: 3px solid #fecc00;
    border-right: 3px solid #fecc00;}
.image-prelegent .fioletowy{border-bottom: 3px solid #4f265e;
    border-right: 3px solid #4f265e;}

.image-prelegent .niebieski{border-bottom: 3px solid #2ab9ce;
    border-right: 3px solid 2ab9ce;}   
.image-prelegent:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    z-index: 11;    
}
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999;
   
	padding-top: 25vh;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
   
}


.modal-content {
  width: 100%;
    height: 300px;
    padding: 20px;
    position: fixed;
    overflow: auto;
    background-color: #1b304b;
    border-radius: 0px;
	color:#ffffff;
    z-index: 99999;
}
.modal-background:target {
  display: table;
  position: fixed;
   
}
.modal-inside {
    width: 700px;
    height: 300px;
    padding: 20px;
    position: fixed;
    overflow: auto;
    left: calc(50% - 350px);
    top: calc(50% - 150px); 
    background-color: #ffffff;
    border-radius: 10px;
    z-index: 99999;} 

.closebtn {
  text-decoration: none;
  float: right;
  font-size: 35px;
  font-weight: bold;
  color: #fff;
    cursor: pointer;
    z-index: 999999999;
	background-color: transparent;
border: none;
margin-top: -35px;
margin-right: -25px;
}
.closebtn:hover,
.closebtn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.note { 
    color: #fff;
    font-size: 13px;
    text-align: justify;
    line-height: 22px;
    padding-top:10px;
    max-height: 400px;
	padding-bottom: 30px;
}
.note-box {
    font-size: 1.3em;
    color: #ffffff;}
.note p {color:#ffffff !important;}


 
/*
.image-prelegent :hover{
    content: '';
background-image: url('/wp-content/plugins/prelegenci/pluss3.png');
background-color:#76b960;
width: 183px;
height: 183px;
position: absolute;

z-index: 10;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
}
*/
.image-prelegent img{
opacity: 1; -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;}
.image-prelegent img:hover{
opacity: 1;}
.linkedind {
    position: absolute;
    top: 15px;
    right: -25px;
    z-index: 100;
    width: 50px;
}


.linkedind-color {
    background-color: 
#1988d7;
border-radius: 50%;
border: 2px solid
#ffffff;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
}


.twittd{
    position: absolute;
    top: 50px;
    right: -25px;
    z-index: 100;
    width: 50px;
}
.twittd-color{background-color:
    #1cb7eb;
    border-radius: 50%;
    border: 2px solid
    #ffffff;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.linkedind-color:hover, .twittd-color:hover {
    background-color: 
#461e54;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
}



@media (min-width: 768px) and (max-width: 1024px) {
.pers-blo .col-md-2{width:25%;}}

@media (min-width: 1025px) and (max-width: 1365px) {.pers-blo .col-md-2{ width:20%;}}

html {
  --scrollbarBG: #1b304b;
  --thumbBG: #262626;
}
 
.modal {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
.modal::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
.modal::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG) ;
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}
.pers-blo .col-md-2{padding-left:0px; padding-right:0px;}