html, body { 
    overflow-x: hidden;
}

footer {
    bottom: 0 !important;
    width: 100%;
}

.navbar {
    background-color: #1f4256 !important;
    color: #fff !important;
    border-bottom: 3px solid #fff;
}

.navContainer {
    width: 1720px !important;
}

.navbar .navbar-brand {
    color: #fff !important;
    
}

.navbar-toggler {
    margin-right: 10px;
    border: 1px solid #132D3B !important;
}

.navbar .navbar-nav {
    width: 100%;
    padding-right: 0px !important;
    margin-right: auto !important;
    justify-content: right;
    /* margin-right: 72px; */
}
.navbar .nav-item .nav-link{
    color: #fff !important;
    margin-right: 20px;
    border: 1px solid transparent;
}

.navbar .nav-item .nav-link:hover {
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.navbar .nav-item .activeLink {
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.logo {
    width: 260px;
}


.miniheaderContainer {
    width: 100%;
    height: 120px !important;
}

.miniheaderImg {
    object-fit: cover;
    width: 100%;
    object-position: 30% 32%;
    height: 120px !important;
}

.aboutSectioninWelcome {
    color: #000;
    font-style: italic;
}

.aboutSectioninWelcome .row {
    align-items: center;
    height: 600px;
}

.aboutImginWelcome {
    height: 250px;
}

.descSectioninWelcome {
    text-align: left;
    font-size: 17px;
}


.eventSectioninWelcomeContainer {
    background-color: #e5d8c9;
    display: flex;
    justify-content: center;
}

.eventSectioninWelcome {
    margin: 0px auto;
    width: 1720px !important;
    
}


.eventListinWelcome {
    margin: 0px auto;
}


.eventListinWelcome .row {
    padding: 32px;
    align-items: center; 
    margin: 0px auto;
}


.eventListinWelcome .row .card {
    padding: 15px;
    text-align: left;
    height: 550px;
}

.eventListinWelcome .row .card img {
    height: 270px !important;
    object-fit: cover;
}

.eventListinWelcome .row .card .link {
    right: 0;
    bottom: 30px;
    position: absolute;
}

.eventSectioninWelcome .italicText {
    font-style: italic;
}

footer {
    /* padding-top: 500px; */
}
.firstFooter {
    background-color: #ede9e4;
    padding: 15px;
    display: relative;
    height: 170px;
}

.firstFooter .footerTextImage {
    height: 130px;
}

.secondFooter {
    background-color: #1f4256;
    height: 170px;
    padding: 0px;
}

.secondFooter .secondFooterSwords {
    justify-content: space-between;
    display: flex;
    padding: 0px;
}

.secondFooter .secondFooterSwords .footerLeftImage {
    height: 250px;
    display: absolute;
    margin-top: -120px;
}

.secondFooter .secondFooterSwords .footerRightImage {
    height: 250px;
    display: absolute;
    margin-top: -120px;
}

.secondFooter .secondFooterText {
    color: #fff;
    align-items: center;
    display: absolute;
    margin-top: -75px;
}

.secondFooter .facebookIcon {
    margin-bottom: 15px;
}

/* Események page */

.eventsContainer {
    background-color: #e5d8c9;
    padding: 32px;
    display: flex;
}

.eventsRows {
    width: 1720px;
}

.eventsContainer .row .col-md-3 {
    padding: 15px;
}

.eventsContainer .row .col-md-4 {
    padding: 15px;
}

.eventsContainer .row .card {
    padding: 15px;
    text-align: left;
    height: 550px;
}

.eventsContainer .row .card .link {
    right: 0;
    bottom: 30px;
    position: absolute;
}

.eventsContainer .card .italicText {
    font-style: italic;
}

.eventsContainer .row .card img {
    height: 270px !important;
    object-fit: cover;
}



/* Egy adott event oldalának stíluslapja */

.eventFirstContainer {
    background-color: #e5d8c9;
    height: 50%;
}

.eventFirstContainer .backButtonContainer {
    padding-bottom: 50px;
    position: relative;
    margin-top: -30px;
}
.eventFirstContainer .backButton {
    background-color: #fff;
    color: #1f4256;
    border: none;
    width: 180px;
    font-weight: bold;
    padding: 15px;
    border-radius: 0px;
}


.eventFirstContainer .img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    
}

.eventSecondContainer {
    height: 400px;
}

.eventSecondContainer .eventDataContainer {
    color: #000;
    padding-top: 250px;
}

.eventThirdContainer {
    height: auto;
    background-color: #e5d8c9;
}

.eventThirdContainer .eventDescriptionContainer {
    padding: 32px;
}


/* Képzések page */

.trainingsContainer {
    background-color: #e5d8c9;
    padding: 32px;
    display: flex;
}

.trainingsRows {
    width: 1720px;
}

.trainingsContainer .row .col-md-3 {
    padding: 15px;
}

.trainingsContainer .row .card {
    padding: 15px;
    text-align: left;
    height: 550px;
}

.trainingsContainer .row .card .link {
    right: 0;
    bottom: 30px;
    position: absolute;
}

.trainingsContainer .card .italicText {
    font-style: italic;
}

.trainingsContainer .row .card img {
    height: 270px !important;
    object-fit: cover;
}


/* Galéria page */

.galleryContainer {
    background-color: #e5d8c9;
    display: flex;
}

.galleryContainer .card .img {
    height: 350px !important;
    object-fit: cover;
}

/* Galéria manage felület */

.galleryContainer .backButtonContainer {
    padding-bottom: 50px;
    position: relative;
    margin-top: -30px;
}

.galleryContainer .backButton {
    background-color: #fff;
    color: #1f4256;
    border: none;
    width: 180px;
    font-weight: bold;
    padding: 15px;
    border-radius: 0px;
}

.addNewGalleryButton {
    padding-top: 35px;
}
.galleryListinManage {
    width: 1720px;
}
.galleryListinManage .row {
    padding: 32px;
    align-items: center; 
}

.galleryListinManage .row .col-md-4{
    padding-top: 35px;
}

.galleryListinManage .row .card {
    padding: 15px;
    text-align: left;
}

.galleryListinManage .row .card a {
    font-style: italic;
    color: #000 !important;
    text-decoration: none;
}

.galleryListinManage .row .card .link {
    text-align: right;
}

.EditPanelContainer {
    display: flex;
    justify-content: space-between;
}
.editIcon {
    font-size: 25px !important;
    color: #000;
}

.trashButton {
    border: none;
    background-color: #e5d8c9;
}

.modifyGalleryContainer {
    padding: 50px;
}

/* Képek oldal */

.imageContainer {
    background-color: #e5d8c9;
}

.imageContainer .backButtonContainer {
    padding-bottom: 50px;
    position: relative;
    margin-top: -30px;
}

.imageContainer .backButton {
    background-color: #fff;
    color: #1f4256;
    border: none;
    width: 180px;
    font-weight: bold;
    padding: 15px;
    border-radius: 0px;
}


/* .DeletePanelPicturesContainer {
    display: flex;
    justify-content: space-between;
} */

.DeletePanelPicturesContainer .deleteDiv {
    height: 100%;
}

.DeletePanelPicturesContainer .deleteDiv .deleteXIcon {
    color: white;
    text-decoration: none;
    font-weight: bold;
    top: 0;
    background-color: red;
}

.DeletePanelPicturesContainer .trashButton {
    border: none;
    background-color: #fff;
    display: relative;
    margin-top: -150px;
}


/* Oktatás oldal */




/* Login oldal */

.heading {
    padding: 35px;
}

.formContainer {
    padding-bottom: 50px;
}

@media (min-width: 768px) and (max-width: 1280px){
    
    .headerContainer {
        width: 100%;
        height: 550px;
    }
    
    
    .headerImg {
        object-fit: cover;
        width: 100%;
        object-position: 50% 90%;
        position: relative;
        top: 0;
        left: 0;
    }
    
    
    .headerText {
        bottom: 270px !important;
        left: 130px;
        right: 50px;
        width: 80%;
        display: block;
        position: absolute;
    }

    .aboutSectioninWelcome {
        color: #000;
        font-style: italic;
        padding: 55px;
    }
    
    .aboutSectioninWelcome .row {
        align-items: center;
        height: 800px;
    }
    
    .aboutImginWelcome {
        height: 250px;
    }
}

@media (min-width: 1280px) {

    .headerContainer {
        width: 100%;
        /* max-height: 550px; */
        
    }
    
    
    .headerImg {
        object-fit: cover;
        width: 100%;
        /* height: 750px; */
        object-position: 50% 90%;
        position: relative;
        top: 0;
        left: 0;
    }
    
    
    .headerText {
        bottom: 12%;
        width: 1720px;
        /* height: 300px; */
        display: block;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%) !important;
    }

    .aboutSectioninWelcome {
        color: #000;
        font-style: italic;
        padding: 55px auto;
        height: 600px;
    }
  
}

  @media (max-height: 700px){
    
    .headerText {
        /* bottom: 200px; */
        /* width: 70%;
        display: block;
        position: absolute; */
        position: relative;
        bottom: 40px;
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
    }

  }

  @media (max-width: 768px) {

    .contactList-child {
        font-size: 15px !important;
    }
    .headerContainer {
        width: 100%;
        height: 300px;
    }
    
    
    .headerImg {
        object-fit: cover;
        width: 100%;
        object-position: 50% 90%;
        position: relative;
        top: 0;
        left: 0;
        height: 300px;
    }

    .descSectioninWelcome {
        text-align: center !important;
    }
    
    .eventSectioninWelcomeContainer {
        min-width: 100% !important;
    }
    .eventListinWelcome {
        min-width: 80% !important;
    }

    .eventListinWelcome .row .col-md-4 {
        padding: 20px;
        
    }

    .eventListinWelcome .row .card .link {
        right: 0;
        bottom: 0px;
        position: absolute;
    }

    .eventsContainer .row .card .link {
        right: 0;
        bottom: 0px;
        position: absolute;
    }

    .eventsRows {
        width: 90% !important;
    }

    .headerText {
        /* bottom: 200px; */
        /* width: 70%;
        display: block;
        position: absolute; */
        position: relative;
        bottom: 40px;
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
    }

    .aboutSectioninWelcome {
        color: #000;
        font-style: italic;
        padding: 55px;
    }
    
    .aboutSectioninWelcome .row {
        align-items: center;
        height: 900px;
    }
    
    .aboutImginWelcome {
        height: 250px;
    }
    
    .descSectioninWelcome {
        text-align: left;
        font-size: 17px;
    }

    .aboutImginWelcome {
        object-fit: cover;
        height: 150px;
        padding-bottom: 20px;
    }

    
    .firstFooter .footerTextImage {
        height: 65px;
    }

    .secondFooter .secondFooterSwords .footerLeftImage {
        height: 70px;
        display: absolute;
        margin-top: -30px;
    }
    
    .secondFooter .secondFooterSwords .footerRightImage {
        height: 70px;
        display: absolute;
        margin-top: -30px;
    }

    .secondFooter .secondFooterText {
        color: #fff;
        align-items: center;
        display: absolute;
        margin-top: 0px;
    }

    .eventsContainer .row .col-md-4 {
        padding: 0 px;
    }

    /* Adott Event oldala */

    .eventFirstContainer {
        background-color: #e5d8c9;
        height: 30%;
    }
    
    .eventFirstContainer .backButtonContainer {
        padding-bottom: 50px;
        position: relative;
        margin-top: -20px;
    }
    .eventFirstContainer .backButton {
        background-color: #fff;
        color: #1f4256;
        border: none;
        width: 130px;
        font-weight: bold;
        padding: 10px;
        border-radius: 0px;
    }
    
    
    .eventFirstContainer .img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        
    }
    
    .eventSecondContainer {
        height: auto;
        padding: 30px;
    }
    
    .eventSecondContainer .eventDataContainer {
        color: #000;
        padding-top: 200px;
    }
    
    .eventThirdContainer {
        height: auto;
        background-color: #e5d8c9;
    }
    
    .eventThirdContainer .eventDescriptionContainer {
        padding: 32px;
    }




  }

  // Egyéb elemek

  .pagination {
        background: red !important;
  }

  .pagination > .page-item > .page-link{
    color: #000 !important;
  }
  
  .pagination > .page-item.active > .page-link {
      background: #1F4256 !important;
      text-decoration: none;
      border: 0;
      color: white !important;
  }

  .contactList-heading {
      font-weight: bold !important;
  }