.modal {
    width: 100%;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    left: 0px;
    top: 0px;
    background-color: rgba(0,0,0,0.4);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    -o-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 20;
}
    
.modal-area {
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0px;
    top: 0px;
}
    
.modal-box {
    width: calc(100% - 40px - 40px);
    max-width: 1200px;
    max-height: 75vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    
    -webkit-box-orient: vertical;
    
    -webkit-box-direction: normal;
    
        -ms-flex-direction: column;
    
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    
    padding: 60px 20px 30px 20px;
    border-style: solid;
    border-width: 0;
    border-radius: 10px;
    
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    
    background-color: var(--color_bg_primary);
    
    opacity: 0;
    -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
            transform: translateY(-20px);
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    -o-transition: opacity 0.3s ease, transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
    
.modal.open {
    opacity: 1;
    visibility: visible;
}
    
.modal.open .modal-box {
    opacity: 1;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}
    
    
.modal-response{
    width: 100%;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.modal-response p{ font-size: var(--font_size_p2); margin: 20px 0 0 0; }
    
.modal-content {
    width: 100%;
    height: 100%;
    min-height: 300px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-style: solid;
    border-width: 0px;
    border-radius: 10px;
    border-color: rgba(0, 0, 0, .2);
    
    overflow-y: auto; 
    overflow-x: hidden;
}
@media screen and (max-width: 768px)
{
    .modal-box { width: 100%; height: calc(100vh - 60px); min-width: initial; max-height: initial; border-radius: 0px; padding: 60px 0 0px 0; }
    .modal-content{ border-radius: 0px; }
}
.modal-content h3{ max-width: 300px; text-align: center; }
.modal-content .input-location{ margin: 40px 0 40px 0; }
.modal-close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
}
.modal-close svg{
    width: 25px;
    fill: rgba(0, 0, 0, .4);
    -webkit-transition-duration: .3s;
     -o-transition-duration: .3s;
    transition-duration: .3s;
}
.modal-close:hover svg {
    fill: rgba(0, 0, 0, .8);
    -webkit-transition-duration: .3s;
     -o-transition-duration: .3s;
    transition-duration: .3s;
} 
.modal-title{
    position: absolute;
    top: 15px;
    left: 30px;
}
@media screen and (max-width: 768px)
{
    .modal-close{ top: 20px; right: 20px; }
    .modal-title { left: 20px; }
}
    
    
.modal .load{
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    margin: 0 0 0 20px;
    border: 2px solid rgba(255,255,255,.5);
    border-top:2px solid var(--color_item_active_primary);
    border-radius: 100%;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    opacity:1;
    -webkit-transition-duration: 0.5s;
     -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
@-webkit-keyframes spin{
    from{-webkit-transform: rotate(0deg);transform: rotate(0deg);}
    to{-webkit-transform: rotate(360deg);transform: rotate(360deg);}
}
@keyframes spin{
    from{-webkit-transform: rotate(0deg);transform: rotate(0deg);}
    to{-webkit-transform: rotate(360deg);transform: rotate(360deg);}
}
    
    
    
.tutorial{
    width: 100%;
    height: calc(100% - 100px);
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 100px 0 0 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 5;
    -webkit-transition-duration: .3s;
     -o-transition-duration: .3s;
    transition-duration: .3s;
}
    
.tutorial .hand{
    width: 150px;
    height: 80px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 0 20px 0;
}
.tutorial .hand svg{
    width: auto;
    height: 100%;
    fill: var(--color_paragraph_primary);
    position: absolute;
    animation: drag 1.5s infinite;
    -webkit-animation: drag 1.5s infinite;
}
@-webkit-keyframes drag{
    0%{ right: 0px; }
    100%{ right: 100px; }
}
@keyframes drag{
    0%{ right: 0px; }
    100%{ right: 100px; }
}
@media screen and (max-width: 648px)
{
    .tutorial{ display: -webkit-box; display: -ms-flexbox; display: flex; }
}