.container {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

#slider {
    padding-top: 0;
    position: relative;
    padding-bottom: 30px;
}

#slider_content {
    max-width: 1920px;
    max-height: 850px;
    margin: 0 auto;
}

#slider, .outer_container {
    background: none !important;
}

.language_flags a[data-lang="1"],
select#changeLanguage option[data-lang="1"] {
    display: none;
}

.language_flags a[data-lang="2"] { /* Προσωρινα κρυβουμε την αγγλικη σημαια μεχρι να μπουν οι μεταφρασεις */
    /*display: none;*/
}

#header {
    background-color: #BDB76B !important;
    border-bottom: none !important;
}

#header nav > ul.dropdown li a {
    color: #404040 !important;
    padding: 4px 8px !important;
}

#header nav > ul.dropdown li a:hover {
    background-color: transparent !important;
    color: #7285c4 !important;
}

#header nav > ul.dropdown li.current > a {
    background-color: transparent !important;
    color: #404040 !important;
}

#theNav {
    margin-right: 10px;
    margin-top: 40px;
}

#theNav * {
    font-size: 1.4em;
}

#theNav ul li a {
    font-size: 1.3em;
}

.rootItem:not(.last) > a {
    border-right: 2px solid grey;
}

#header nav ul.dropdown ul li a {
    color: #404040 !important;
}

#header nav ul.dropdown ul li a:hover, #header nav ul.dropdown ul li.current > a, #header nav ul.dropdown ul li a:hover {
    background-color: #7285c4 !important;
    color: white !important;
}

#onTop {
    border: 3px solid rgb(145, 145, 145) !important;
    font-size: 20px;
    border-radius: 29px;
    padding: 12px;
    right: 10px;
    bottom: 100px;
}

.sl-slider h2 {
    color: #fff !important;
}

.js-item figcaption {
    font-size: .85em;
    text-decoration: none;
    letter-spacing: .5px;
    min-height: 110px;
    padding: 10px;
    background-color: #BDB76B;
    color: black;
    margin-bottom: 10px;
    /*border: 2px solid #b1b1b1;*/
    border-top: none;
    margin-top: -9px;
    padding-top: 15px;
}


.js-item figcaption h4 {
    color: #7285c4 !important;
    margin: 0 0 3px 0;
    font-style: normal;
    font-size: 22px;
}

.aspect__inner img {
    transition: all .4s ease-in-out;
}

.aspect__inner img:hover {
    transform: scale(1.1);
}

.formLabel {
    display: inline-block;
}

input[data-type="textfield"], textarea[data-type="textarea"] {
    max-width: 100% !important;
    padding: 10px !important;
}

textarea[data-type="textarea"] {
    height: 130px !important;
}

.contentBeforeSubmit {
    color: #272727 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1em !important;
    line-height: 1.8em;
}

#theNav:not(.dropdown-vertical) {
    display: inline-block;
}

#languages div {
    width: auto !important;
}

#gdpr_consent_checkbox_contact_form p {
    text-align: left !important;
    font-size: .85em;
}

.thumbs_listing span {
    display: inline-block !important;
    margin-bottom: 5px !important;
}

.jo_thumbs_container {
    padding-right: 0 !important;
    margin-left: -25px;
}

.thumbWrapper {
    margin: 7px !important;
}

@media screen and (max-width: 1280px) and (min-width: 961px) {
    .sl-slider-wrapper {
        max-height: 600px;
    }

    .sl-slider h2,
    .sl-slider blockquote {
        padding: 25% 30px 10px 30px;
    }

    .sl-slider h2 {
        font-size: 65px;
        line-height: 67px;
    }

    .sl-slider blockquote {
        font-size: 26px;
        line-height: 26px;
    }
}

@media only screen and (max-width: 999px) {

    .jo_thumbs_container {
        margin-left: 0;
    }

    .thumbWrapper {
        margin: 15px !important;
    }
}

@media screen and (max-width: 960px) and (min-width: 661px) {
    .sl-slider h2,
    .sl-slider blockquote {
        padding: 25% 30px 10px 30px;
    }

    .sl-slider h2 {
        font-size: 50px;
        line-height: 50px;
    }

    .sl-slider blockquote {
        font-size: 20px;
        line-height: 20px;
    }
}

@media screen and (max-width: 660px) {
    .sl-slider h2,
    .sl-slider blockquote {
        padding: 20% 30px 10px 30px;
    }

    .sl-slider h2 {
        font-size: 50px;
        line-height: 50px;
    }

    .sl-slider blockquote {
        font-size: 20px;
        line-height: 20px;
    }
}

@media screen and (max-width: 1600px) and (min-width: 1281px) {
    .sl-slider-wrapper {
        max-height: 720px;
    }
}

@media screen and (max-width: 860px) and (min-width: 681px) {
    #theNav * {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 768px) {
    #theNav {
        margin-right: 10px;
        margin-top: 0;
    }

}