@import url(Montserrat.css);
@import url(TheanoDidot.css);

body {
    margin: 0;
    padding: 0;

    position: fixed;

    height: 100%;
    width: 100%;

    overflow: hidden;

    font-size: 2vh;

    background-color: #e9e9e9;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

button {
    outline: 0;
}

@media screen and (min-height: 750px) {
    div {
        font-size: 15px;
    }
}

@media screen and (max-height: 600px) {
    div {
        font-size: 12px;
    }
}

::-webkit-scrollbar {
    display: block;
}

.popup {
    display: none;

    position: absolute;
    width: 90%;
    height: 100%;

    padding: 0% 5%;

    z-index: 5;

    background-color: #000000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popup img {
    width: 90%;
    max-width: 100%;

    object-fit: contain;
}

.popup span {
    color: #ffffff;
    font-family: Montserrat-Regular;
    font-size: 1.5em;
    text-align: center;
}

.popup.zoom {
    display: none;

    width: 90%;
    height: 100%;

    background-color: #000000e8;
}

.popup.zoom img {
    width: 100%;
    height: 80%;

    margin: auto;

    object-fit: contain;
}

.popup .button-close {
    flex-shrink: 0;
    align-self: flex-end;

    width: 23px;
    height: 23px;

    margin-top: 15px;
    margin-bottom: 0px;

    border: 0;

    background: none;
    background-image: url(../images/close.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.popup.info {
    display: none;
    
    width: 50%;
    height: 50%;
    
    background-color: #0a8c0a;
    border-radius: 50px;
    
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.popup.info  {
    display: none;
    
    width: 45%;
    height: 45%;
    
    padding: 50px;
    
    background-color: #0a8c0a;
    border-radius: 50px;
    
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.popup.info .button-close{   
    align-self: inherit;
    
    margin: 0px;
    
    position: absolute;
    top: 30px;
    right: 30px;
}

.popup.info .title{ 
    margin-bottom: 50px;
    
    color: #ffffff;
    font-family: Montserrat-Bold;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 3px;   
    
    text-align: center;
}

.popup.info .description{   
    color: #ffffff;
    font-family: Montserrat-Light;
    font-size: 1em;   
    
    text-align: justify;
}

.popup.info .link{ 
    margin-top: 15px;
    
    color: #ffffff;
    font-family: Montserrat-Bold;
    font-size: 1.3em;
    
    text-decoration: underline;
}

/*@media screen and (orientation:portrait) {
    .device {
        display: flex;
    }
}

@media screen and (orientation:landscape) {
    .device {
        display: none;
    }
}*/

.device {
    display: none;
}

a {
    text-decoration: none;
}

a:visited,
a:active,
a:enabled {
    color: inherit;
}

.animsition {
    width: 100%;
    height: 100%;
}

.button-basic {
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 80px;
    min-height: 25px;
    margin: 10px;
    padding: 10px;
    
    box-shadow: 0 0 4px 0px black;
    background-color: #0a8c0a;
    border-radius: 15px;
    border: 0;
    
    color: #ffffff;
    font-family: Montserrat-Regular;
    font-size: 1em;
    line-height: 1.3em;
    text-transform: uppercase;
}

.header {
    width: 90%;
    height: 55px;

    padding: 5px 5%;

    background-color: #0a8c0a;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    position: relative;
    z-index: 2;

    box-shadow: 0px -4px 20px 0px #000000d6;
}

.header span {
    color: #ffffff;
    font-family: Montserrat-Bold;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

.header .button-back {
    height: 60%;
    width: auto;
}

.header .button-back img {
    height: 100%;
    object-fit: contain;
}

.header .button-back svg {
    height: 100%;
    width: auto;

    fill: #ffffff;
}

.page-wrapper {
    position: relative;

    width: calc(100% - 60px);
    height: calc(100% - 40px);

    padding: 20px 30px;

    background-color: #e9e9e9;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;

    overflow-y: scroll;
}

.footer {
    padding: 5px 20px;
    
    color: #7b7b7b;
    font-family: Montserrat-Light;
    text-align: center;
}

.scheda-wrapper {
    width: 100%;
    height: calc(100% - 60px);

    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
}

.photo-wrapper {
    width: 60%;
    height: calc(90% - 100px);

    margin: 50px 0px;

    border: 3px solid #0a8c0a;
    border-radius: 25px;

    background-color: #ffffff;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media screen and (max-height: 425px) {
    .photo-wrapper {
        height: 90%;
        
        margin: 0;
    }
}

.photo-wrapper .arrow {
    height: 30px;
    width: 30px;

    margin: 0px 10px;

    background-color: #0a8c0a;

    border-radius: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-wrapper .arrow img {
    height: 15px;
    width: 15px;
}

.photo-wrapper .arrow svg {
    height: 15px;
    width: 15px;

    fill: #ffffff;
}

.photo-wrapper .photo {
    flex-grow: 1;

    height: 90%;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.info-wrapper {
    width: 36%;
    height: 90%;
    padding: 0% 2%;

    overflow-y: scroll;
}

.info-wrapper .title {
    margin-bottom: 12px;

    color: #0a8c0a;
    font-family: Montserrat-Medium;
    font-size: 1.3em;


}

.info-wrapper .description {
    color: #636363;
    font-family: Montserrat-Regular;
    font-size: 1.1em;
    line-height: 1.3em;
}

.button-wrapper {
    align-self: flex-end;

    width: 100%;
    height: 60px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.button-text {
    width: 300px;
    
    color: #0a8c0a;
    font-family: Montserrat-Medium;
    font-size: 1.1em;

    display: flex;
    align-items: center;
}

.button-text:first-of-type {
    text-align: right;
}

.variety-wrapper {
    height: auto;
    width: 220px;
    margin: 10px;
    padding: 10px;

    background-color: #ffffff;

    border-radius: 15px;
    border: 2px solid #0a8c0a;
    box-shadow: 0 0 15px 4px #00000069;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.variety-wrapper img {
    height: 70px;
    width: 70px;

    margin-bottom: 15px;

    border-radius: 100%;
    border: 2px solid #0a8c0a;
    
    background-color: #ffffff;

    object-fit: cover;
}

.variety-wrapper .text-wrapper {
    width: 100%;
    max-height: 215px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.variety-wrapper .text-wrapper .title {
    margin-bottom: 12px;

    color: #0a8c0a;
    font-family: Montserrat-Medium;
    font-size: 1.3em;
    text-align: center;
}

.variety-wrapper .text-wrapper .description {
    width: 100%;
    /*
    overflow: scroll;
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    */
    
    color: #636363;
    font-family: Montserrat-Regular;
    font-size: 0.9em;
    line-height: 1.1em;
}

.variety-wrapper:focus {
    background-color: #ffa500;
}

.zoom-button {
    flex-shrink: 0;
    
    height: 40px;
    width: 40px;

    padding: 9px;
    margin: 0px 20px;
    
    box-shadow: 0 0 4px 0px black;

    border-radius: 100%;
    background-color: #0a8c0a;

    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-button img {
    height: 90%;
    object-fit: contain;
}

.zoom-button svg {
    height: 90%;
    width: auto;

    fill: #ffffff;
}

.menu-link {
    height: 50px;
    width: 80%;
    margin: 10px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 15px;
    border: 2px solid #0a8c0a;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu-link img {
    height: 40px;
    width: 40px;
    
    background-color:  #ffffff;
    
    border-radius: 100%;
    border: 2px solid #0a8c0a;
    object-fit: cover;
}

.menu-link span {
    margin-left: 12px;
    color: #0a8c0a;
    font-family: Montserrat-Medium;
    font-size: 1.7em;
    text-align: center;
}

.menu-link:focus {
    background-color: #ffa500;
}

.info-window {
    width: 300px;
    max-height: 380px;
    
    margin: 26px;
    margin-right: 38px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: scroll;
}

.info-window .title {        
    margin-bottom: 15px;

    color: #0a8c0a;
    font-family: Montserrat-Medium;
    font-size: 1.3em;
    
    text-align: center;
}

.info-window .picture {      
    max-height: 130px;
    object-fit: contain;
}

.info-window .description {
    width: 100%;
    
    color: #636363;
    font-family: Montserrat-Regular;
    font-size: 1.1em;
    line-height: 1.3em;
    text-align: justify;
}

.info-window .link {
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 80px;
    height: 25px;
    
    margin: 10px;
    padding: 10px;
    
    box-shadow: 0 0 4px 0px black;
    
    background-color: #0a8c0a;
    border-radius: 15px;
    
    color: #ffffff;
    font-family: Montserrat-Regular;
    font-size: 1em;
    line-height: 1em;
    text-transform: uppercase;
}

.star-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.star-wrapper input[type=radio] {
    display: none;
}

.star-wrapper .star {
    width: 45px;
    height: 45px;

    margin: 5px;

    background-image: url(../images/star-empty.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.star-wrapper .star.full {
    background-image: url(../images/star-full.svg);
}

.form-field {
    flex-shrink: 0;

    width: 100%;

    margin: 10px 0px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.form-field textarea {
    width: 100%;
    height: 100px;

    padding: 10px;

    border: 1px solid #d4d4d4;
    border-radius: 0;

    background-color: #ffffff;

    color: #000000;
    font-family: Montserrat-Regular;

    resize: none;
}

.form-field label {
    order: -1;
    
    margin-bottom: 6px;

    color: #0a8c0a;
    font-family: Montserrat-Medium;
    font-size: 1em;
    font-weight: 700;
    line-height: 14px;
}

#style-1::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #0a8c0a;
}