:root {
    --shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

::-webkit-scrollbar {
    width: 16px;
    height: 16px;
    -webkit-appearance: none;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-corner {
    display: none;
}

::-webkit-scrollbar-thumb {
    min-height: 36px;
    min-width: 36px;
    background: #ccc;
    background-clip: padding-box;
    border: 5px solid transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    /*background: white;*/
    background: none;
}

::-webkit-scrollbar-track:hover {
    /*background-color: #fafafa;*/
    background: none;
    opacity: 0.5;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
    background-clip: padding-box;
    border: 4px solid transparent;
}

::-webkit-scrollbar-thumb:active {
    background: #777;
    background-clip: padding-box;
}

.hide {
    display: none;
}


.div_text {
    background-color: #CCC;
    color: #FFFFFF;
    text-align: center;
}

.div_a_container {
    background-color: #CCC;
}

.div_a {
    background-color: #CCC;
    color: #FFFFFF;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
}

.div_a_container .div_a {
    background-image: none;
}

.div_a_HOVER {
    color: #000;
    cursor: pointer;
}

body {
    font-family: 'Jost', sans-serif;
    padding: 0;
    margin: 0;
}

#hamburger {
    display: none;
}

header {
    position: sticky;
    top: 0;
    height: 55px;
    display: flex;
    justify-content: space-between;
    background-color: white;
    z-index: 10;
    /*box-shadow: var(--shadow);*/
}

/*#header {*/
/*    position: fixed;*/
/*    z-index: 4000;*/
/*    padding: 55px 0 25px;*/
/*    display: block;*/
/*    width: 100%;*/
/*    transition: all 0.2s linear;*/
/*    box-shadow: none;*/
/*    background: rgb(255, 255, 255);*/
/*}*/

header.header-stick {
    /*padding: 15px 0 15px;*/
    background: rgba(255, 255, 255, 0.95);
    box-shadow: rgb(0 0 0 / 30%) 0 0 3px;
    /*box-shadow: var(--shadow);*/
}

section {
    height: calc(100vh - 50px);
    position: relative;
    padding-top: 25px;
    padding-bottom: 95px;
}

.main-section-content {
    position: relative;
    padding-left: 25px;
    max-width: 43%;
    min-height: 100%;
    margin-right: -45px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.testimonials-section-content {
    position: absolute;
    padding: 0 25px 0 25px;
    width: calc(100vw - 75px);
    top: 50%;
    transform: translateY(-50%);
}

.section-content {
    position: relative;
    max-width: 980px;
    margin: auto;
    font-size: 23px;
    padding: 1% 25px 0;
}

.section-content a,
.section-content a:visited {
    color: inherit;
}

menu {
    padding: 0;
    margin: 0;
}

.top-menu-home {
    display: flex;
    justify-content: space-between;
}

.top-menu-home.current_menu_item {
    visibility: hidden;
}

#top-menu {
    position: sticky;
    display: flex;
    justify-content: stretch;
}

#top-menu li {
    display: block;
    padding: 0;
    margin: 0;
}

header a {
    margin-top: -5px;
    padding: 0 21px;
    color: #000;
    text-decoration: none;
    font-size: 23px;
    font-variant: all-small-caps;
    line-height: 0.75em;
    display: flex;
    height: 55px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header a:hover {
    background-color: rgb(215 245 173 / 45%);
}

.current_menu_item {
    border-bottom: 5px solid green;
}

#main {
    /*height: calc(100vh - 50px);*/
    /*position: relative;*/
    padding: 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
}

#main-photo {
    position: relative;
    right: 0;
    max-height: 100%;
    bottom: 0;
    max-width: 68%;
    height: auto;
}

.main-title-container {
    padding-top: 5%;
    padding-bottom: 3%;
    /*max-width: 50%;*/
}

.main-title {
    font-size: 85px;
    line-height: 1em;
}

.main-subtitle {
    font-size: 45px;
    font-variant: all-small-caps;
}

.main-title2 {
    font-size: 45px;
    font-style: italic;
    line-height: 1.2em;
    margin-bottom: 16px;
}

.main-text-container {
    /*position: absolute;*/
    /*bottom: 5%;*/
    padding-bottom: 5%;
}

.main-text {
    font-size: 25px;
    max-width: 80%;
}

#testimonials {
    background-color: darkseagreen;
    padding-bottom: 30px;
    min-height: calc(100vh - 55px);
    position: relative;
}

.section_with_color_bg-title {
    padding: 30px 15px;
    font-size: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.testimonials-controls-button {
    height: 70px;
    width: 70px;
    border: 2px solid darkseagreen;
    border-radius: 10px;
    background-color: white;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    font-size: 45px;
    color: darkseagreen;
    cursor: pointer;
    user-select: none;
    z-index: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.testimonials-controls-prev {
    left: 2%;
}

.testimonials-controls-next {
    right: 2%;
}

.testimonials-items-outer-container {
    width: 100%;
    overflow: hidden;    
}

.testimonials-items-container {
    display: flex;
    flex-direction: row;
    width: max-content;
    margin-left: -25px;
    transition: all 800ms ease 0s;
    position: relative;
    padding: 15px 0;
}

.testimonials-items-container.dragging {
    transition: none;
}

.testimonials-item-container {
    background-color: white;
    box-shadow: var(--shadow);
    width: 36vw;
    padding: 25px;
    min-width: 320px;
    border-radius: 15px;
    overflow-y: auto;
    margin-left: calc(50vw - max(18vw, 160px));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    max-height: 40vh;
}

.testimonials-item-text {
    font-size: 18px;
    user-select: none;
}

.testimonials-item-customer_name {
    font-style: italic;
    font-weight: bold;
    margin-top: 25px;
    font-size: 22px;
    user-select: none;
}

#listings {
    height: auto;
}

.properties_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.property_small {
    max-width: 980px;
}

.property_small-contacts-container {
    height: 75px;
}

h1 {
    padding: 25px 15px 0 15px;
    font-size: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.listings-type-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 45px;
}

.listings-type-button {
    position: relative;
    display: inline-block;
    height: 37px;
    /*padding: 6px 15px 4px;*/
    outline: none;
    background: transparent;
    text-decoration: none;
    text-align: center;
    vertical-align: top;
    border: 1px solid #720a0a;
    color: #720a0a;
    flex-grow: 1;
    max-width: 105px;
    margin-left: -1px;
    font-size: 18px;
    cursor: pointer;
}

.listings-type-button-active {
    position: relative;
    min-height: 100%;
    background: #720a0a;
    color: white !important;
    cursor: default;
}

#buy {
    background-color: darkslateblue;
    color: white;
}

#sell {
    background-color: lightcyan;
}

#rent {
    background-color: darkcyan;
    color: white;
}

#notary {
    background-color: honeydew;
}

#contact {
    background-color: lightslategrey;
    color: white;
}

h2 {
    text-align: center;
    font-size: 30px;
    padding: 0 15px;
}

#contact .section-content {
    width: 450px;
}

.contact-line {
    font-size: 23px;
    position: relative;
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
}

.contact-line-title {
    display: inline-block;
    font-weight: bold;
    width: 125px;
}

.contact-line-value {
}

footer {
    background-color: lightslategrey;
    color: white;
    padding: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*Mobile*/
@media screen and (max-width: 979px) {

    #hamburger {
        display: flex;
        position: relative;
        width: 40px;
        height: 40px;
        padding: 1px 3px;
        cursor: pointer;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' aria-labelledby='title' aria-describedby='desc' role='img' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ctitle%3EMenu%3C/title%3E%3Cdesc%3E%3C/desc%3E%3Cpath data-name='layer2' fill='none' stroke='%23333333' stroke-miterlimit='10' stroke-width='4' d='M14 18h36M14 32h36' stroke-linejoin='round' stroke-linecap='round'%3E%3C/path%3E%3Cpath data-name='layer1' fill='none' stroke='%23333333' stroke-miterlimit='10' stroke-width='4' d='M14 46h36' stroke-linejoin='round' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
    }

    #header {
        display: none;
        position: absolute;
        top: 40px;
        flex-direction: column;
        text-align: left;
        padding-bottom: 10px;
        font-size: 20px;
        font-weight: normal;
        z-index: 100000;
        /*width: 300px;*/
        padding-left: 0;
        background-color: floralwhite;
    }

    header a {
        justify-content: left;
    }

    #top-menu {
        display: flex;
        flex-direction: column;
        background-color: floralwhite;
    }

    .top-menu-home {
        display: block;
    }

    .top-menu-home.current_menu_item {
        visibility: visible;
    }

    .current_menu_item {
        border-bottom: 5px solid transparent;
    }

    #main {
        flex-wrap: wrap;
        justify-content: left;
    }

    #main-photo {
        order: 2;
        max-width: 100%;
    }
    
    .main-section-content {
        max-width: initial;
        margin-right: 0;
        padding: 0 15px;
    }

    .main-title-container {
        padding-top: 5px;
    }

    .main-title {
        font-size: 75px;
    }

    .main-text {
        max-width: initial;
        font-size: 21px;
        text-align: justify;
    }

    section {
        height: auto;
    }

    .section_with_color_bg-title {
        font-size: 45px;
    }

    h1 {
        padding: 0 15px;
        font-size: 45px;
    }

    h2 {
        font-size: 28px;
    }

    .main-text-container {
        margin-top: 30px;
    }

    .contact-line {
        font-size: 21px;
    }

    .section-content {
        font-size: 21px;
        text-align: justify;
        padding: 1% 15px 0;
    }

    #contact .section-content {
        width: auto;
        padding: 0 15px;
    }

    .property_small-desc {
        padding: 15px;
    }

    .property_small-info {
        padding: 15px;
    }

    .property-map-button {
        flex-grow: 2;
    }

    .testimonials-section-content {
        padding: 0 15px;
        width: calc(100vw - 30px);
        top: 50%;
        transform: translateY(-50%);
    }

    .testimonials-items-container {
        margin-left: -15px;
    }

    .testimonials-item-container {
        width: 290px;
        padding: 15px;
        min-width: 290px;
        border-radius: 15px;
        margin-left: calc(50vw - 145px);
        min-height: 290px;
        max-height: 290px;
    }

    .testimonials-controls-button {
        height: 70px;
        width: 140px;
        top: 100%;
        transform: unset; 
    }
}