.full-page-container {
    height: 100%;
}

.bg {
    /* The image used */
    background-image: url("/pictures/dharaszti/dunaharaszti-allomas2023.jpg");

    /* Full height */
    height: 12em;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

#frame-header {
    height: 12em;
    padding: 0;
    margin: 0 auto;
    background-image: url(../pictures/dharaszti/dharaszti-allomas-header.png);
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    position: relative;
    background-color: rgb(167, 181, 194);
    border: none;
    padding: 0px;
    display: block;
    text-align: left;
    z-index: 11;
}

.bg-blue-gray {
    background-color: rgb(167, 181, 194) !important;
}

.bg-fidesz-yellow {
    background-color: rgb(255, 106, 19) !important;
}

.pic-label-title {
    font-size: 3.9vw;
}

.pic-label-txt {
    font-size: 1.5vw;
}

.caption {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
}

.caption span.border {
    background-color: #111;
    color: #fff;
    padding: 0.5rem;
    font-size: 25px;
    letter-spacing: 10px;
}

/* Remove border from toggler */
.navbar-toggler {
    border: 0 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Lines of the Toggler */
.toggler-icon {
    width: 30px;
    height: 3px;
    background-color: #e74c3c;
    display: block;
    transition: all 0.2s;
}

/* Adds Space between the lines */
.middle-bar {
    margin: 5px auto;
}

/* State when navbar is opened (START) */
.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

/* State when navbar is opened (END) */

/* State when navbar is collapsed (START) */
.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}

/* State when navbar is collapsed (END) */

/* Color of Toggler when collapsed */
.navbar-toggler.collapsed .toggler-icon {
    background-color: #777777;
}

.opacity-text-0-5 {
    /* Fallback color */
    background: rgba(0, 0, 0, 0.5);
    /* Black background with 0.5 opacity */
    color: #f1f1f1;
    width: 100%;
    padding: 0.5rem;
}

.top-opacity-text-0-5 {
    top: 0;
    /* Fallback color */
    background: rgba(0, 0, 0, 0.5);
    /* Black background with 0.5 opacity */
    color: #f1f1f1;
    width: 100%;
    padding: 0.5rem;
}

.bottom-opacity-text-0-5 {
    position:absolute;    
    bottom: 0;
    /* Fallback color */
    background: rgba(0, 0, 0, 0.5);
    /* Black background with 0.5 opacity */
    color: #f1f1f1;
    width: 100%;
    padding: 0.5rem;
}

.picture-center-container-cover {
    /* Full height */
    height: 50rem;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.picture-left-container-cover {
    /* Full height */
    height: 50rem;

    /* Center and scale the image nicely */
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
}

.picture-right-container-cover {
    /* Full height */
    height: 50rem;

    /* Center and scale the image nicely */
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
}

.picture-center-container-contain {
    /* Full height */
    height: 50rem;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.picture-left-container-contain {
    /* Full height */
    height: 50rem;

    /* Center and scale the image nicely */
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
}

.picture-right-container-contain {
    /* Full height */
    height: 50rem;

    /* Center and scale the image nicely */
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}

/* scroll indicator progress bar */
.progress-container {
    width: 100%;
    height: 8px;
    background: #ccc;
  }
  
  .progress-bar {
    height: 8px;
    background: #04AA6D;
    width: 0%;
  }

  .picture-container{
    position: relative;
  }

  .text-block-middle {
    position: absolute;
    bottom: 50%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Black background with 0.5 opacity */
    color: #f1f1f1;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .text-block-lowthird {
    position: absolute;
    width: 100%;
    bottom: 33%;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1rem;
    padding-top: 0.5rem;    
    text-align: center;
  }  

  .text-block-lowfifth {
    position: absolute;
    width: 100%;
    bottom: 20%;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1rem;
    padding-top: 0.5rem;    
    text-align: center;
  }  

  .text-block-bottom-right {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    /* Black background with 0.5 opacity */
    color: #f1f1f1;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .text-block-bottom {
    position: absolute;
    bottom: 3rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Black background with 0.5 opacity */
    color: #f1f1f1;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 1rem;
    padding-top: 0.5rem;    
    text-align: center;
  }    

  .text-block-top-left {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    /* Black background with 0.5 opacity */
    color: #f1f1f1;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .text-block-top-centered {
    position: absolute;
    width: 100%;
    top: 7rem;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
  }

  .centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  @media only screen and (max-width: 480px) {
    .text-block-lowfifth {
        position: absolute;
        width: 100%;
        bottom: 5%;
        background: rgba(0, 0, 0, 0.5);
        color: #f1f1f1;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-bottom: 1rem;
        padding-top: 0.5rem;    
        text-align: center;
      } 
  }