﻿/*
.modal_container {
    display: no
    width: 100%;
    height: 100vh;
    position: fixed;
    opacity: 1;
    background: #222;
    z-index: 40000;
    top: 0;
    left: 0;
    overflow: hidden;
    animation-name: fadeIn_Container;
    animation-duration: 1s;
}*/


.modal {
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
    min-width: 250px;
    width: 80%;
    margin: 0 auto;
    position: fixed;
    z-index: 40001;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #000;
    margin: auto;
    animation-name: fadeIn_Modal;
    animation-duration: 0.8s;
    max-height: 85vh;
}

.header {
    width: 100%;
    height: 70px;
    border-radius: 10px 10px 0px 0px;
    border-bottom: 2px solid #ccc;
}

    .header a {
        text-decoration: none;
        float: right;
        line-height: 70px;
        margin-right: 20px;
        color: #aaa;
    }

.content {
    width: 100%;
    height: 100%;
    max-height:40vh;
    top:0%;
    bottom:0%;
}

form {
    margin-top: 20px;
}

    form label {
        display: block;
        margin-left: 12%;
        margin-top: 10px;
        font-family: sans-serif;
        font-size: 1rem;
    }

    form input {
        display: block;
        width: 75%;
        margin-left: 12%;
        margin-top: 10px;
        border-radius: 3px;
        font-family: sans-serif;
    }

#first_label {
    padding-top: 30px;
}

#second_label {
    padding-top: 25px;
}


.footer {
    width: 100%;
    height: 80px;
    border-radius: 0px 0px 10px 10px;
    border-top: 2px solid #ccc;
}

.fotter button {
    float: right;
    margin-right: 10px;
    margin-top: 18px;
    text-decoration: none;
}

/****MEDIA QUERIES****/

@media screen and (min-width: 600px) {

    .modal {
        max-width: 600px;
        max-height: 800px;
        margin-left: calc(50vw - 250px);
        margin-top: calc(21vh - 150px);
        height: 100vh;
        width: 95vw;
    }


    .header {
        width: 100%;
        height: 40px;
    }

        .header a {
            line-height: 40px;
            margin-right: 10px;
        }

    .content {
        width: 100%;
        height: 190px;
    }

    form label {
        margin-left: 10%;
        margin-top: 10px;
    }

    form input {
        width: 75%;
        margin-left: 10%;
        margin-top: 10px;
    }

    #first_label {
        padding-top: 0px;
    }

    #second_label {
        padding-top: 0px;
    }

    .footer {
        width: 100%;
        height: 70px;
    }

        .footer button {
            float: right;
            margin-right: 10px;
            margin-top: 10px;
        }
}

/*LARGE SCREEN*/
@media screen and (min-width: 1300px) {
}

/****ANIMATIONS****/

@keyframes fadeIn_Modal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn_Container {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    border-radius: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
