body {
    background-color: #f8f8ff !important;
    font-family: Montserrat;
}

h1, h2, h3, h4, h5, h6, h7 {
    font-family: Montserrat;
}

.login-page {
    position: relative;
    float: left;
    width: 100%;
    height: 100vh;
    background-position: center ;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
}

.wrapper_container {
    min-height: 1000px;
}

.wrapper {
    position: relative;
    float:left;
    width:100%;
    height:100vh;
    min-height: 1000px;
}

.login-box {
    padding: 10px 10px 10px 10px;
    padding-bottom: 40px;
    border-radius: 20px;
    background-color: white;
    float: right;
    width: 100%;
}

.login-box h2 {
    color: #6162f3;
    font-weight: bold;
    text-align: center;
    padding: 0 0 10px 0;
    font-family: Montserrat;
}

.login-page .wrapper {
    padding: 14% 0 0 0;
    min-height: 1000px;
}

.login-logo {
    padding-bottom: 50px;
}

.login-text {
    color: white;
    padding: 0px 0 50px 0;
    font-size: -webkit-xxx-large;
    font-weight: normal;
    font-family: Montserrat;
    display: block;
    width: 100%;
}

.form-group{
    padding: 0 0 0 0;
}

.inputtext {
    border-style: solid;
    border-width: 1px;
    border-radius: 15px;
    border-color: black;
    color: #6162f3;
}

.inputtext::-webkit-input-placeholder { /* Edge */
    color: #6162f3;
    opacity: 0.6;
}

.inputtext:-ms-input-placeholder { /* Internet Explorer */
    color: #6162f3;
    opacity: 0.6;
}

.inputtext::placeholder {
    color: #6162f3;
    opacity: 0.6;
}

.login-box .alert {
    background-color: white;
    color: #CC0000;
    text-align: center;
    font-weight: bold;
    padding: 0 0 0 0;
}

.captcha {
    font-family: Captcha;
    font-size: 40px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.captcha-title {
    font-size: 12px;
    font-weight: lighter;
}

.captcha-error {
    font-size: 12px;
    color: red;
    font-weight: lighter;
}

.privacy-acceptance {
    font-size: 10px;
    font-weight: lighter;
}

label a, label a:link, label a:visited, label a:hover, label a:active {
    color: #6162f3;
}

/* TOP BAR */
.topnav {
    overflow: hidden;
    background-color: white;
    height: 80px;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.topnav a {
    float: right;
    text-align: center;
    position: relative;
    top: 5px;
    margin-left: 10px;
    align-self: center;
}

.topnav img {
    position: relative;
    align-self: center;
    padding-top: 10px;
    height: 60px;
    top: 5px;
}

.topnav .buttonWhite{
    height: 60px;
    margin-top: 5px;
    padding: 0 40px;
    line-height: 60px;
    text-align: center;
}

.topnav .buttonBlue{
    height: 60px;
    margin-top: 5px;
    padding: 0 40px;
    line-height: 60px;
    text-align: center;
}

/* COOKIES BANNER */
.hidden {
    display: none;
}

#cookie-banner {
    padding: 1rem;
    width: 100%;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #6162f3, #75cbf9);
}

#cookie-banner div {
    color: #ebf8ff;
    border-radius: 9999px;
    padding: 0.5rem 0.75rem;
    line-height: 2;
    align-items: center;
    display: inline-flex;
}

#cookie-banner div span:first-child {
    text-align: left;
    margin-right: 0.5rem;
    font-weight: 600;
    flex: 1 1 auto;
}

#cookie-banner div span:second-child {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    display: flex;
    cursor: pointer;
    border-radius: 9999px;
}

#cookie-banner a{
    color: white;
    text-decoration: underline;
}

#consent-cookies img {
    width: 30px;
    height: 30px;
}

.form-control {
    padding-right: 0 !important;
}

.wineries-container{
    overflow-x:hidden;
    overflow-y:hidden;
    height: 150px;
    width:100%;
    padding: 0;
    background-color: #f0f0f8;
}

.wineries-list {
    white-space:nowrap;
}

.wineries-list li {
    display: inline-block;
}

.wineries-image {
    margin-right:100px;
    width: 150px;
    height: 150px
}

.scrolldown-arrow{
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,100%{
        transform: translateY(0);
    }
    25%, 75%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(10px);
    }
}

.label-message {
    width: 100%;
    display: block;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: large;
    font-weight: normal;
    color: var(--colorA);
    background-color: transparent;
}

.login-info-box-container {
    margin: auto;
    width: 861px;
}

.login-info-box {
    padding: 0;
    height: 170px;
    width: 400px;
    margin-bottom: 30px;
    border-radius: 15px;
    background-color: white;
    float: left;
    box-shadow: 3px 3px 10px #AAAAAA;
}

.login-info-border {
    border: 1px solid var(--colorA);
}

.login-info-mosaic-link {
    height: 170px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--colorA);
    border-radius: 15px !important;
    display: block;
    padding-top: 10px;
}

.login-info-number {
    font-size: -webkit-xxx-large;/*xxx-large;*/
    color: var(--colorA);
    font-weight: bold;
}

.login-info-image {
    height: 150px;
    width: 30%;
    float: left;
    margin-left: 8%;
}

.login-info-text-container {
    height: 100px;
    width: 60%;
    text-align: center;
    float: right;
    margin-top: 25px;
}

.login-info-text {
    font-size: xx-large !important;
    color: black;
    margin-top: -15px;
}

.vertical-line{
    width: 1px;
    height: 170px;
    background-color: var(--colorA);
    float: left;
    margin-left: 30px;
    margin-right: 30px;
}

.label-subtitle {
    width: 100%;
    text-align: center;
    font-size: 30px;
    color: black;
}

.label-subtitle p {
    padding: 40px 0;
}

/* GRID */
.grid {
    padding-bottom: 60px;
    max-width: 1200px;
    margin: auto;
}

.grid-image {
    width: 50%;
    height: 300px;
    float: left;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-content {
    width: 50%;
    height: 300px;
    float: left;
    margin-bottom: 20px;
    text-align: center;
    display: table;
}

.grid img {
    width: 80%;
    max-height: 90%;
    margin: auto;
    object-fit: contain;
}

.grid-text {
    text-align: left;
    width: 80%;
    padding: 30px;
    margin-left: 10%;
    vertical-align: middle;
    display: table-cell;
}

.grid-text h3 {
    color: var(--colorA);
    margin-bottom: 20px;
    font-family: Montserrat;
}

.grid-text p {
    color: black;
}
/* END GRID */

/* TESTIMONIALS */
#prev, #next {
    z-index: 1;
    width: 8%;
    height: 100%;
    position: absolute;
    object-fit: contain;
    vertical-align: middle;
}

#prev {
    left: 0px;
}

#next {
    right: 0px;
}

.reviews {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.panel {
    top: 0;
    width: 100%;
    max-height: 100%;
    position: absolute;
    background-color: transparent;
}

.PanelAct {
    left : 0;
}

.panel img {
    width: 50%;
    float: left;
    height: 350px;
    object-fit: cover;
    object-position: 100% 0%;
}

.panelRight {
    width: 50%;
    height: 350px;
    float: left;
    padding: 50px;
    color: white;
    background: linear-gradient(to right, var(--colorA), var(--colorB));
}

.panel p {
    font-size: 14px;
    line-height: 1.2em;
    margin-right: 25%;
    margin-top: 40px;
}

.panel h1 {
    font-size: 2em;
    font-weight: bold;
}

.panel h7 {
    width: 80%;
    font-size: 2em;
    font-weight: bold;
    font-style: italic;
    background-color: transparent;
}

.review-logo {
    width: auto !important;
    height: 70px !important;
    margin-right: 20px;
    max-width: 100px;
    object-fit: contain !important;
}
/* END TESTIMONIALS */

.footer {
    height: 140px;
    display: flex;
    padding: 20px;
    align-items: center;
    background-color: #272847;
}

.footer-rrss {
    width: 100%;
    color: white;
    float: left;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #272847;
}

.footer-rrss h1 {
    vertical-align:middle;
    height: 100px;
    display: inline;
    text-align: center;
    margin-top: 25px;
}

.footer-rrss img {
    width: 50px;
    height: 50px;
    margin-inline-start: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.footer-col {
    width: 33%;
    color: white;
    float: left;
    text-align: center;
    vertical-align: middle;
}

.footer-col a {
    color: white;
}

/* ANIMATIONS */
#slide-left, #slide-left-2, #slide-right {
    visibility: hidden;
}

.slideLeft {
    animation-name: slideLeft;
    -webkit-animation-name: slideLeft;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    visibility: visible !important;
}

@keyframes slideLeft {
    0% { transform: translateY(150%); }
    90%{ transform: translateY(0%); }
}

@-webkit-keyframes slideLeft {
    0% { -webkit-transform: translateY(150%); }
    90%{ -webkit-transform: translateY(0%); }
}

.slideRight{
    animation-name: slideRight;
    -webkit-animation-name: slideRight;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    visibility: visible !important;
}

@keyframes slideRight {
    0% { transform: translateY(150%); }
    90%{ transform: translateY(0%); }
}

@-webkit-keyframes slideRight {
    0% { -webkit-transform: translateY(150%); }
    90% { -webkit-transform: translateY(0%); }
}

/* END ANIMATIONS */

@media screen and (max-width: 1440px) {
    .grid-text {
        width: 70%;
        margin-left: 15%;
    }
}

@media screen and (max-width: 1000px) {
    .topnav-content {
        width: 100%;
        padding-left: 5px;
        margin-left: 5px;
    }

    .grid-text {
        width: 80%;
        margin-left: 10%;
    }

    .login-info-box-container {
        width: 100%;
    }

    .login-info-box {
        width: 80%;
        margin-left: 10%;
        float: left;
    }

    .login-logo {
        padding-bottom: 25px;
    }

    .login-text {
        display: none;
    }

    #signup-form label {
        font-size: 14px !important;
    }

    .vertical-line {
        visibility: hidden;
        height: 0;
    }

    .buttonBlue, .buttonWhite {
        height: 60px;
        font-size: 26px;
    }

}
@media screen and (max-width: 880px) {
    .grid-text {
        width: 90%;
        margin-left: 5%;
        margin-top: -40px;
    }

    .grid-image {
        float: right;
        width: 100%;
        height: 200px;
    }

    .grid-content {
        width: 100%;
        height: 200px;
        margin-top: -40px;
    }

    .grid-image.middle {
        margin-top: -400px;
    }

    .grid-content.middle {
        padding-top: 200px;
    }

    .panel h1, .panel h7 {
        font-size: 1.5em;
        margin-top: 0;
    }

    .panel p {
        margin-top: 5px;
        margin-right: 15%;
    }

    .panelRight {
        padding: 20px;
    }
}

@media screen and (max-width: 680px) {
    .topnav .buttonWhite {
        padding: 0 12px;
    }

    .topnav .buttonBlue {
        padding: 0 12px;
    }

    .topnav img {
        height: 40px;
        top: 15px;
    }

    .buttonWhite, .buttonBlue {
        font-size: 22px;
    }

    #cookie-banner div span:first-child {
        margin-left: 5px;
    }

    #consent-cookies img {
        margin-right: 20px;
    }

    .login-box {
        margin-top: 0px;
        padding-bottom: 20px;
    }

    .login-page .wrapper {
        padding: 100px 0 0 0;
        min-height: 1000px;
    }

    .label-message {
        max-width: 80%;
        margin-left: 8%;
    }

    .login-info-box {
        width: 80%;
        margin: 7%;
    }

    .login-info-text {
        font-size: 1.6em !important;
    }

    .grid img {
        margin-left: 6%;
    }

    .grid-text p {
        margin-right: 18px;
    }

    .grid-image.middle {
        margin-top: -450px;
    }

    #prev, #next {
        visibility: hidden;
    }

    .reviews {
        width: 100%;
        height: 500px;
        overflow: hidden;
        position: relative;
    }

    .panel img {
        width: 100%;
        height: 220px;
    }

    .panelRight {
        width: 100%;
        height: 280px;
    }

    .review-logo {
        width: 0px !important;
        height: 0px !important;
    }

    .second-line {
        margin-top: 0;
    }
    .footer {
        width: 100%;
        height: 230px;
        display: inline-block;
    }

    .footer-col {
        width: 100%;
    }
}

@media screen and (max-width: 330px) {
    .login-page .wrapper {
        padding: 0;
        width: 105%;
        margin-top: 100px;
        background-image: url(/images/login_background.jpg);
        min-height: 1000px;
    }

    .login-info-number {
        font-size: 2.6em;
    }

    .login-info-text {
        margin-top: 0px;
        margin-left: -5px;
        font-size: 1.4em !important;
    }

    .scrolldown-arrow {
        visibility: hidden;
    }

    .buttonWhite, .buttonBlue {
        font-size: 16px;
    }

    .login-box h2 {
        font-size: 18px;
    }

    .grid-image.middle {
        margin-top: -500px;
    }
}
