/* MOBILE: width <= 740px */
@media only screen and (max-width: 740px) {
    #Toast {
        visibility:hidden;
        position: fixed;
        width: 100%;
        text-align: center;
        padding-top: 5px;
        padding-bottom: 5px;  
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        bottom: 0px;	
    }

    #Toast.show {
        visibility:visible;
    }
}

/* PC and TABLET: width > 740px */
@media only screen and (min-width: 741px) {
    #form1 {
        width: 360px;
        height: 3600px;
        margin-left: auto;
        margin-right: auto;
        border-left-style:solid;
        border-left-width:1px;
        border-left-color:gray;
        border-right-style:solid;
        border-right-width:1px;
        border-right-color:gray;
    }

    #Toast {
        visibility:hidden;
        position: fixed;
        width: 360px;  
        text-align: center;
        padding-top: 5px;
        padding-bottom: 5px;  
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        bottom: 10px;	
    }

    #Toast.show {
        visibility:visible;
    }
}

#body1 {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

#panel_overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;          
    background-color: rgba(0, 0, 0, 0.6);
}

.panels {
    position: fixed;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    background-color:white;
}

.panels_header {
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: #3F51B5;
}
