
/* GALLERY BOX BEGIN */
.gallery_2 .partners,
.gallery .partners {
    padding-top: 120px;
}
.gallery-box.menu-box{
    text-align: center;
    float: left;
    width: 70%;
    padding-top: 215px;
    margin-left: 2.5%;
}
.right-menu-box{
    margin-top: 214px;
    float: right;
    width: 21%;
    padding: 0 2%;
    background: #eceded;
    text-align: left;
    line-height: 18px;
}
.right-menu-box ul,
.right-menu-box span{
    color:#aaacad;
}
.right-menu-box h1,
.right-menu-box h2{
    font-size: 16px;
    text-transform: uppercase;
    margin: 20px 0px 15px -35px;
}
.right-menu-box h2 span{
    display: inline-block;
    width: 24px;
    height: 11px;
    margin-top: 4px;
    margin-right: 10px;
    vertical-align: top;
    background: #97c524;
}
.right-menu-box a{
    color: #97c524;
    transition: .3s;
}
.right-menu-box a:hover{
    color: #002c76;
    transition: .3s;
}
.right-menu-box h2.archive{
    margin-top: 45px;
}
.right-menu-box ul{
    margin-bottom: 45px;
}
.right-menu-box ul li{
    /*background: url('../img/icon/down-rect.png') left 3px no-repeat;*/
    padding-left: 20px;
    line-height: 20px;
}
.right-menu-box ul ul{
    margin: 0px 0px 5px 0px;
}
.right-menu-box ul ul li{
    /*background: url('../img/icon/left-rect.png') left 3px no-repeat;*/
    padding-left: 20px;
}
.menu-box a.gallery,
.menu-box h1.gallery,
div.menu-info-box{
    width:188px;
    height:188px;
    display: inline-block;
    margin: 16px;
    vertical-align: top;
    background: #97c524;
}
.menu-box a.gallery span{
    width: 100%;
    height: 100%;
    display: table;
    background: rgba(0,0,0,0.6);
    transition: .3s;
}
.menu-box a.gallery span span.text{
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: auto;
    font-size: 19px;
    line-height: 24px;
    padding-top: 15px;
    color: #fff;
    text-transform: uppercase;
    background: transparent;
}
.menu-box a.gallery span.date{
    width: 80%;
    height: auto;
    padding: 15px 0px 0px 0px;
    display: inline-block;
    color: #fff;
    font-size: 16px;
    background: transparent;
    transition:none;
}
.menu-box a:hover span{
    background: none;
    color: #fff;
    text-shadow: 0px 3px 10px #000;
    transition: .3s;
}
.menu-box a:hover span span.date{
    transition:none;
}
.menu-box h1.menu-1{
    background: #97c524;
    background-size: 100% 100%;
    color: #fff;
    text-transform: uppercase;
    font-family: 'MyriadPro-Light', 'MyriadPro-Regular', Arial;
}
h1.gallery.menu-1 span.top{
    font-size: 36px;
    padding: 45px 0px 0px 0px;
    display: block;
    font-family: 'MyriadPro-Regular', Arial;
}
h1.gallery.menu-1 span{
    font-size: 24px;
    padding: 0px 28px;
    display: block;
}
.menu-box a {
    font-family: 'MyriadPro-Light', 'MyriadPro-Regular', Arial;
}
.menu-box a.menu-2{
    background: url('../img/kolcsonzes.jpg') center center no-repeat;
    background-size: 100% 100%;
}
.menu-box a.menu-3{
    background: url('../img/szuletesnap.jpg') center center no-repeat;
    background-size: 100% 100%;
}
.menu-box a.menu-4{
    background: url('../img/konyvkoteszet.jpg') center center no-repeat;
    background-size: 100% 100%;
}
.menu-box a.menu-5{
    background: url('../img/kutatas.jpg') center center no-repeat;
    background-size: 100% 100%;
}
.menu-box a.menu-6{
    background: url('../img/hirlevel.jpg') center center no-repeat;
    background-size: 100% 100%;
}
.menu-box a.menu-7{
    background: url('../img/kozosseg.jpg') center center no-repeat;
    background-size: 100% 100%;
}
.menu-box a.menu-8{
    background: url('../img/csoportos.jpg') center center no-repeat;
    background-size: 100% 100%;
}
.menu-info-box h4{
    padding-top: 165px;
    margin: 0px 15px;
    background: url('../img/icon/clock.png') 0px 90px no-repeat;
    background-size: auto 53px;
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    font-size: 20px;
}
.menu-info-box p{
    color: #fff;
    font-size: 21px;
    text-align: left;
    padding: 15px;
}
.gallery-title{
    text-align: left;
    text-transform: uppercase;
    font-size: 19px;
    color: #fff;
    padding: 16px 80px 15px 30px;
    background: #97c524;
    margin: 0px auto;
    /*margin-top: 16px;*/
    max-width: 752px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}
.gallery-title span{
    display: block;
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 14px;
}
.slider-container {
    position: relative;
    margin: 0px auto;
    margin-bottom: 5px;
    max-width: 862px;
    overflow: hidden;
    background-color: #eceded;
}
.details-left img {
    max-width: 100%;
    margin: 5px 0 5px 0;
}
.slider-container .prevBtn {
    left: 0;
    bottom: 8.5%;
    background: url(../img/icon/left_gallery-arrow.png) no-repeat center center;
}
.slider-container .nextBtn {
    right: 0;
    bottom: 8.5%;
    background: url(../img/icon/right_gallery-arrow.png) no-repeat center center;
}
.slider-container a:hover.prevBtn,
.slider-container a:hover.nextBtn{
    opacity: 0.75;
}
.slider-container ol {
    margin: 23px 20px;
    padding: 0;
    text-align: center;
}
.slider-container ol li {
    list-style-type: none;
    padding: 0;
    display: inline-flex;
    float: left;
    width: 200px;
    height: max-content;
}
.slider-container img.thumb {
    display: inline-block;
    width: 90%;
    border: 3px solid transparent;
    border-radius: 3px;
}
.slider-container ol li.current img {
    border: 3px solid #79a004;
}
.slider-container .prevBtn,
.slider-container .nextBtn {
    display: block;
    width: 6%;
    height: 50px;
    position: absolute;
    z-index: 500;
    cursor: pointer;
    font-size: 0;
}
.slider-container img{
    max-height: 530px;
    margin: 0px auto;
    width: 100%;
    object-fit: scale-down;
}
p.gallery-desc{
    text-align: left;
    background: #eceded;
    font-size: 18px;
    padding: 40px 30px;
    max-width: 802px;
    margin: 15px auto;
    margin-bottom: 0px;
}
.mobile-date,
.mobile-tab{
    display: none;
}
.controls{
    position: relative;
    display: block;
    height: auto;
}
.numericControls{
    overflow-x: scroll;
    max-height: 135px;
    width: 95%;
    display: flex;
    margin: auto;
    overflow-y: hidden;
    margin: 20px auto !important;
    padding-bottom: 15px !important;
}
/* width */
.numericControls::-webkit-scrollbar {
    height: 10px;
}
/* Track */
.numericControls::-webkit-scrollbar-track {
    background: #e1e1e1; 
}

/* Handle */
.numericControls::-webkit-scrollbar-thumb {
    background: #c2c2c2; 
}

/* Handle on hover */
.numericControls::-webkit-scrollbar-thumb:hover {
    background: #b6b6b6; 
}
.numericControls a{
    width: 130px !important;
    height: auto;
}
.numericControls span{
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    display: flex;
}
.slider-container .prevBtn,
.slider-container .nextBtn {
    bottom: 50%;
    transform: translateY(50%);
    display: none !important;
}
/* GALLERY BOX END */
@media screen and (max-width: 1300px) {
    .gallery-section{
        max-width: 980px;
        margin: 0px auto;
    }
    .menu-box a.gallery span{
        padding: 0px;
    }
    .menu-box a.gallery span span.text{
        padding-top: 15px;
    }
    .menu-box a.gallery span.date{
        padding: 15px 0px 0px 0px;
    }
    div.section.container {
        max-width: 980px;
    }
    main.gallery_2,
    main.gallery{
        width: 100%;
        overflow-x: hidden;
    }
    .right-menu-box{
        float: left;
        margin-left: 2%;
    }
    .gallery_2 .gallery-box.menu-box {
        max-width: 670px;
        margin-right: 20px;
        margin-left: 18px;
    }
    .slider-container ol {
        margin: 23px 20px;
        margin-right: 35px;
    }
}
/* TABLES & MOBILE VIEW BEGIN*/
/* TABLET LANDSCAPE */
@media screen and (max-width: 992px) {
    div.section.container {
        max-width: 100%;
    }
    .gallery-section{
        max-width: 100%;
    }
    .gallery-title span{
        top: 15px;
    }
    .gallery-title {
        font-size: 16px;
        padding: 13px 80px 13px 20px;
    }
    .right-menu-box h1, .right-menu-box h2 {
        margin: 18px 0px 15px -35px;
    }
    div.menu-box a.gallery span.inner{
        position: absolute;
        z-index: 100;
        width: 100%;
        height: 100%;
        background: transparent;
        padding: 0;
    }
    div.menu-box a.gallery span.table {
        width: 100%;
        height: 100%;
        display: table;
        background: rgba(0,0,0,0.6);
        transition: .3s;
        padding: 0;
    }
    .gallery_2 div.gallery-box.menu-box {
        text-align: center;
        float: left;
        width: 75%;
        max-width: 75%;
        padding-top: 60px;
        margin-left: 0%;
    }
    .menu-box a.gallery span span.text {
        padding: 15px 10% 0 10%;
        width: 80%;
        position: relative;
        font-size: 23px;
        line-height: 28px;
    }
    h1.gallery.menu-1 span {
        font-size: 30px;
        padding: 0px 28px;
        display: block;
    }
    h1.gallery.menu-1 span.top {
        font-size: 44px;
    }
    div.right-menu-box {
        margin-top: 76px;
        float: right;
        width: 17%;
        padding: 0 2%;
        background: #eceded;
        text-align: left;
        line-height: 18px;
    }
    .gallery-box.menu-box {
        padding-top: 78px;
    }
    div.menu-section .menu-box .pager a {
        width: auto;
        height: auto;
    }
    div.menu-section .menu-box a {
        display: inline-block;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0.4%;
    }
    div.slider-container a.prevBtn {
        width: 30px;
        height: 50px;
        left: 0;
        background: url(../img/icon/left_gallery-arrow.png) no-repeat center center;
        border: 0;
    }
    div.slider-container a.nextBtn {
        width: 30px;
        height: 50px;
        right: 0;
        background: url(../img/icon/right_gallery-arrow.png) no-repeat center center;
        border: 0;
    }
    div.menu-section .menu-box a span{
        background: none;
    }
    .slider-container ol {
        margin: 15px 0px;
        margin-right: 15px;
    }
    p.gallery-desc{
        margin-top: 0px;
    }
    .slider-container{
        margin-bottom: 0px;
    }
    .slider-container img{
        max-height: 50vw;
    }
}
@media screen and (max-width: 767px) {
    .gallery_2 div.gallery-box.menu-box{
        width: 100%;
        max-width: 100%;
    }
    .slider-container img {
        max-height: 62vw;
    }
    .mobile-tab{
        display: block;
        width: 100%;
        text-align: left;
        min-height: 100px;
    }

    .tab-panes{
        background:#97c524;

    }
    .tab-pane{
        padding: 0;
        color: #fff;
        font-size: 16px;
        line-height: 26px;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        height: 0;
        transition: .3s;
    }
    .tab-pane.active{
        padding: 25px 35px;
        height: auto;
        visibility: visible;
        opacity: 1;
        transition: .3s;
    }
    .mobile-tab a:first-child.tab.gallery-tab{
        margin-left: 25px;
    }
    .mobile-tab .tab.gallery-tab{
        display: inline-block;
        margin-right: 1px;
        padding: 7px 10px 5px 10px;
        text-transform: uppercase;
        color: #9c9e9f;
        background: #d9dadb;
        min-width: 80px;
        text-align: center;
    }
    .mobile-tab .tab.gallery-tab.active{
        background:#97c524;
        color: #fff;
    }
    .mobile-tab  ul ul li {
        /*background: url(../img/icon/left-rect-white.png) left 7px no-repeat;*/
        padding-left: 20px;
    }
    .mobile-tab  ul li {
        /*background: url(../img/icon/down-rect-white.png) left 7px no-repeat;*/
        padding-left: 20px;
    }
    .tab-pane a{
        color: #fff;
    }
    .tab-pane  ul,
    .tab-pane span {
        color: #d9dadb;
    }
    .gallery_2 .partners,
    .gallery .partners {
        display: none;
    }
    div.right-menu-box{
        display: none;
    }
    div.gallery-box.menu-box {
        text-align: center;
        float: none;
        width: 95%;
        padding-top: 80px;
        margin: 0px auto;
    }
    p.gallery-desc {
        margin-bottom: 70px;
    }
    h1.gallery.menu-1 span.top {
        font-size: 58px;
    }
    h1.gallery.menu-1 span {
        font-size: 38px;
    }
}
@media screen and (max-width: 600px) {
    .slider-container ol {
        margin: 15px 0px;
        margin-right: -10px;
    }
    h1.gallery.menu-1 span.top {
        font-size: 52px;
    }
    h1.gallery.menu-1 span {
        font-size: 32px;
        padding: 0px;
    }
    .menu-box a.gallery span span.text {
        font-size: 22px;
        line-height: 26px;
    }
    div.menu-section .menu-box a:nth-child(5) span {
        font-size: 22px;
    }
}
@media screen and (max-width: 480px) {
    .slider-container ol {
        display: none;
    }
    div.slider-container a.prevBtn,
    div.slider-container a.nextBtn {
        display: none;
    }
    div.gallery-box.menu-box {
        padding-top: 70px;
    }
    div.menu-box h1.menu-1,
    div.menu-section .menu-box a{
        overflow: hidden;
    }
    h1.gallery.menu-1 span.top {
        padding-top: 30px;
        font-size: 38px;
    }
    h1.gallery.menu-1 span {
        font-size: 24px;
    }
    .menu-box a.gallery span span.text {
        font-size: 18px;
        line-height: 22px;
    }
    div.menu-section .menu-box a:nth-child(5) span {
        font-size: 18px;
    }
    .gallery-title span {
        display: none;
    }
    .mobile-date{
        display: block;
        padding: 10px 10px 40px 20px;
        background:#eceded;
        color:#9c9e9f;
        text-align: left;
    }
    p.gallery-desc {
        font-size: 16px;
        padding: 20px 20px;
    }
    .gallery-title{
        white-space: inherit;
    }
    .gallery-title {
        font-size: 21px;
        padding: 8px 20px 8px 20px;
        margin-top: 37px;
    }
    p.gallery-desc {
        margin-bottom: 50px;
    }
    .image-slider{
        max-width: 77%;
        overflow: visible !important;
        background: #eceded;
    }
    .image-slider div{
        background: #eceded;
    }
    .image-slider img{
        border: 6px solid #eceded;
        border-top: 0px;
        border-bottom: 0px;
    }
    .slider-container img {
        max-height: 55vw;
    }
}
@media screen and (max-width: 380px) {
    h1.gallery.menu-1 span.top {
        padding-top: 30px;
        font-size: 34px;
    }
    h1.gallery.menu-1 span {
        font-size: 20px;
    }
    .menu-box a.gallery span span.text {
        font-size: 14px;
        line-height: 20px;
    }
    div.menu-section .menu-box a span.date,
    div.menu-section .menu-box a:nth-child(5) span {
        font-size: 14px;
    }
}
/* TABLES & MOBILE VIEW END*/

#galleryAlbum .gallery-box-image-paths{
    display: none;
}

.slidesContainer div {
    background-color: #eceded;
}

.right-menu-box  li.archive-albums {
    list-style: none;
    background-image: none;
    background-position: 0;
    padding: 0;
    margin: 0;
}

.right-menu-box li {
    cursor: pointer;
}

.right-menu-box ul li span{
    /*background: url('../img/icon/down-rect.png') left 3px no-repeat;*/
    padding-left: 20px;
    line-height: 20px;
}
.right-menu-box ul ul{
    margin: 0px 0px 5px 5px;
}
.left-rect-img {
    background: url('../img/icon/left-rect.png') left 0px no-repeat;
}
.down-rect-img {
    background: url('../img/icon/down-rect.png') left 0px no-repeat;
}
.right-menu-box ul ul li{
    padding-left: 15px;
}
.right-menu-box ul{
    margin-bottom: 45px;
}

.right-menu-box .archive-albums-months {
    margin-left: 15px;
}

.pager{
    padding: 30px 10px;
    letter-spacing: 2px;
}
.pager div{
    display: inline;
    font-size: 20px;
    cursor: pointer;
    color: #aaacad;
}
.pager div.active{
    color:#97c524;
}

.slider-container .numericControls img.thumb {
    min-height: 100px;
    max-height: 108px;
    max-width: 120px;
    object-fit: scale-down;
}

.category-albums {
    cursor: pointer;
}

.slider-container .slidesContainer div {
    margin-left: 7px;
}

#archive-tree-gallery-mobile ul li span {
    padding-left: 0px;
}
.right-menu-box ul ul,
#archive-tree-gallery-mobile ul ul{
    margin: 0px 0px 5px 5px;
}
.left-rect-img {
    background: url('../img/icon/left-rect.png') left 0px no-repeat;
}
.down-rect-img {
    background: url('../img/icon/down-rect.png') left 0px no-repeat;
}

.left-rect-white-img {
    background: url('../img/icon/left-rect-white.png') left 0px no-repeat;
}
.down-rect-white-img {
    background: url('../img/icon/down-rect-white.png') left 0px no-repeat;
}
.right-menu-box ul ul li,
.mobile-tab ul ul li{
    padding-left: 15px;
}
.right-menu-box ul{
    margin-bottom: 45px;
}

.right-menu-box .archive-albums-months,
.mobile-tab .archive-albums-months {
    margin-left: 15px;
}
#archive-tree-gallery-mobile span {
    width: 17px;
    height: 10px;
    display: inline-block;
}

/**GALLERY LIGHTBOX BEGIN*/

.imgs-grid-modal {
    display:none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    z-index: 1000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    user-select: none;
}

@media (max-width: 350px) {
    .imgs-grid .imgs-grid-image .view-all .view-all-text {
        font-size: 10px;
    }
}

.imgs-grid-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    z-index: 1000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.imgs-grid-modal .modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 35px;
    height: 35px;
    background-image: url('../img/icon/photo-grid-icons.png');
    background-repeat: no-repeat;
    background-position: -100px;
}

.imgs-grid-modal .modal-close:hover {
    cursor: pointer;
}

.imgs-grid-modal .modal-inner {
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 0;
    right: 0;
}

.imgs-grid-modal .modal-inner .modal-control {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
}

.imgs-grid-modal .modal-inner .modal-control:hover {
    cursor: pointer;
}

.imgs-grid-modal .modal-inner .modal-control.left {
    left: 0;
}

.imgs-grid-modal .modal-inner .modal-control.right {
    right: 0;
}

.imgs-grid-modal .modal-inner .modal-control .arrow {
    margin: 0 auto;
    height: 100%;
    width: 40px;
    background-repeat: no-repeat;
    background-image: url('../img/icon/photo-grid-icons.png');
}

.imgs-grid-modal .modal-inner .modal-control .arrow.left {
    background-position: 2px center;
}

.imgs-grid-modal .modal-inner .modal-control .arrow.right {
    background-position: -42px center;
}

.imgs-grid-modal .modal-inner .modal-image {
    position: absolute;
    top: 0;
    left: 70px;
    right: 70px;
    bottom: 0;
    text-align: center;
}

.imgs-grid-modal .modal-inner .modal-image:before {
    display: inline-block;
    content: "";
    vertical-align: middle;
    height: 100%;
}

.imgs-grid-modal .modal-inner .modal-image img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.imgs-grid-modal .modal-inner .modal-image img:hover {
    cursor: pointer;
}

@media (max-width: 800px) {
    .imgs-grid-modal .modal-inner .modal-control {
        width: 40px;
    }
    .imgs-grid-modal .modal-inner .modal-control .arrow {
        -webkit-transform: scale(0.7);
        -moz-transform: scale(0.7);
        -o-transform: scale(0.7);
        -ms-transform: scale(0.7);
        transform: scale(0.7);
    }
    .imgs-grid-modal .modal-inner .modal-image {
        left: 0;
        right: 0;
    }
}

.imgs-grid-modal .modal-indicator {
    position: absolute;
    bottom: 0;
    height: 60px;
    width: 100%;
    text-align: center;
}

.imgs-grid-modal .modal-indicator ul {
    margin: 0;
    padding: 0;
}

.imgs-grid-modal .modal-indicator ul li {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid white;
    box-sizing: border-box;
    border-radius: 100%;
    margin: 0 1px;
    vertical-align: middle;
}

.imgs-grid-modal .modal-indicator ul li:hover {
    cursor: pointer;
}

.imgs-grid-modal .modal-indicator ul li.selected {
    background-color: white;
    width: 14px;
    height: 14px;
    margin: 0;
}

/**GALLERY LIGHTBOX END*/

.slider-container .image-slider .slidesContainer div img:hover{
    cursor:zoom-in;
}
