#eletkor {
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
} 

#eletkor .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    max-width: 650px;
    font-size: 125%;
}

/* Slider */
#slider-container {
    margin-top: 5.5rem;
    width: 100%;
    position: relative;
    max-height: calc(100vh - 55px);
    overflow: hidden;
}

#slider-height { 
    width: 100%;
    padding-top: 70%;
    position: relative
}

#slider { 
    height: 100%;
    max-height: calc(100vh - 55px);
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.teruleti_kepviselo_varos{
    display: none;
    
    margin-top:1.5em;
    padding:5px;
   
    
}


.teruleti_kepviselo_nev{
    font-size: 1.5em;
    background-color:white;
    color:black;
    padding:10px;
    
    
    
}
.teruleti_kepviselo_nev:hover{
    color:orange;
}

.teruleti_kepviselo_box{
    cursor: pointer
  
}

.close_varos{
    border:2px solid;
    position: absolute;
    top:60px;
    right:20px;
    z-index:10000;
    color:white;
    padding:0 5px;
    color:grey;
    
}

.close_varos:hover{
    color:black;
    transition: .5s;
}

.carousel-inner {
    height: 100%;
    background-color: #343a40 !important;
}

.carousel-filter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-color: rgba(80, 43, 33, 0);
}

.carousel-item {
    height: 100%;
    overflow: hidden;
}

.carousel-item img {
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    min-width: 100%;
    z-index: 0;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 2;
}

.carousel-caption h2 {
    font-size: 90px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 0px 0px 10px #502b21;
}

.carousel-caption h3 {
    font-size: 40px;
    text-transform: uppercase;
    text-shadow: 0px 0px 5px #502b21;
    margin-left: 5%;
    margin-right: 5%;
}

.carousel-caption .animated {
    animation-delay: .5s;
}



.kezdooldal_tartalom {
    margin-top: 5.5rem;
}

.screen-height {
    min-height: calc(100vh - 5.5rem - 42px);
}

.menu_lenyit{
        cursor: pointer;
    text-transform: uppercase;
      
    }

.menu_lenyit h2{
    padding:20px ;
    border-bottom: 2px #f5de89 solid;
    font-weight:700;
}

.menu_lenyit h2::after{
   content:url(/files/pic/menu_icon.png);
height:30px;
    width:30px;
    position: absolute;
    display: block;
    top:20px;transform: scale(.7);
}

.menu_lenyit:hover{
    cursor: pointer;
background-color: #f5de89 ;
text-decoration: none;
text-shadow: none;
}

.menu_lenyit h2:hover{
    cursor: pointer;
background-color: #f5de89 ;
text-decoration: none;
text-shadow: none;
}

#cont6{
    position: relative;
}

.palyazat{
    position: fixed;
    bottom:0px;
    right:0px;
    max-width:400px;
    width:30%;
    transition: .3s;
    z-index:10;
}


.palyazat:hover{
   width:33%;
    max-width:420px;
}

.palyazat-img1{
    border: 1px solid rgba(1, 103, 174, 0.6);
    border-radius: 15px;
    background-color: white;
    padding:5px;
    margin-top:20px;
    
}

.palyazat-cim {
  font-size: 1.2em;
  padding: 20px 0 10px 0;
  color: #141414;
  font-weight: 500;
  border-top: 1px solid #e1e1e1;
  margin-top: 20px;
}

.palyazat-img1:hover .palyazat-cim{
  color:#134296;
    text-decoration: none;
}

.palyazat-img1:hover{
    box-shadow: 0 0 10px grey;
}

.palyazatok-link{
    height:100%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}




/* Footer */
footer .container {
    min-height: 0px !important;
    margin-right: 30%;
}

footer .navbar-nav {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    -ms-flex-direction: row;
    flex-direction: row;
}

footer .navbar-nav .nav-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

footer .nav-link, a {
    transition: all .25s;
    font-weight: 700;
    display: inline-block;
}

footer .nav-item {
    margin: auto 10px;
}

footer .nav-item.elvalaszto {
    margin: auto 0px !important;
}