/*
    margin:top right bottom left;
    style for home page 1
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Noto+Sans+JP", sans-serif;
    font-weight: 100;
    font-size: 14px;
    line-height: 1;
    width: auto;
    display: flex ;
    flex-flow: column;
}

.menu-top{ 
    height: 6vh; 
    margin:5px;
    background-color:#083f38;
    border: 2px solid black;
    border-radius: 5px;
    text-align:center;
    display: flex ;
    justify-content: center;
    flex: 1;
}

.menu-top .menu-tab{
    color: white; 
    border: 2px solid rgb(233, 218, 17);
    border-radius: 5px;
    padding:5px 5px;
    margin: 3px;
    text-decoration: none;
}

#wrap{
    width: 100%;
    height: 92vh;
    display: flex ;
    justify-content: left;
}

#wrap #working_area{
    display:block;
    width: 94vw; 
    background-color: white;
    margin: 0px 5px 0px 5px;
} 

#wrap #wrap_right{
    width: 7vw;
    height: 100%; 
    margin-right: 5px;
    background-color: #138fa0;
    border: 2px solid black;
    border-radius: 5px;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
}
  
#wrap_right .button_camera{
    border: 2px solid black;
    border-radius: 5px;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition-duration: 0.4s;
    cursor: pointer;
}

#wrap_right .button_camera:hover {
    background-color: red;
    color: white;
}

/*
    Rightside area
    Camera
    Weather
*/

#camera_image{ 
    /*width:100%;/* from all width */
    max-width: 100%;
    max-height: 100%;  
}

#wrap_right button {
    height: 100%;
    width: 100%; 
    max-width: 100%;
    max-height: 100%; 
    border: 2px solid;
    border-radius: 5px;
    background-size: 100%; /* To fill the dimensions of container (button)*/
    margin: 4px 2px;
    text-decoration: none;
    transition-duration: 0.4s;
    cursor: pointer;
    font-size: 1vmin;
}

.button_camera:hover {
    background-color: red;
    color: white;
}
    
.btn_rwy12{ 
    background:#138fa0 url(/airport/images/camera_rwy12.jpg) no-repeat center center/cover;
}
    
.btn_rwy12_zoom{ 
    background:#138fa0 url(/airport/images/camera_rwy12_zoom.jpg) no-repeat center center/cover;
}
    
.btn_rwy30{ 
    background:#138fa0 url(/airport/images/camera_rwy30.jpg) no-repeat center center/cover;
}
    
.btn_rwy30beg{ 
    background:#138fa0 url(/airport/images/camera_rwy30_beg.jpg) no-repeat center center/cover;
}
    
.btn_apron_east{ 
    background:#138fa0 url(/airport/images/cam_apron_east.jpg) no-repeat center center/cover;
}
    
.btn_apron_south{ 
    background:#138fa0 url(/airport/images/cam_apron_south.jpg) no-repeat center center/cover;
}
    
.btn_stor_apron{ 
    background:#138fa0 url(/airport/images/camera_stor_apron.jpg) no-repeat center center/cover;
}
    
.btn_stor_west{ 
    background:#138fa0 url(/airport/images/camera_stor_west.jpg) no-repeat center center/cover;
}
    
.btn_supp_outs{ 
    background:#138fa0 url(/airport/images/camera_supp_outside.jpg) no-repeat center center/cover;
}
    
.btn_tree_east{ 
    background:#138fa0 url(/airport/images/cam_tree_east.jpg) no-repeat center center/cover;
}
    
.btn_tree_north{ 
    background:#138fa0 url(/airport/images/cam_tree_north.jpg) no-repeat center center/cover;
}

#data_date{
    display: flex ;
    font-size:1.2em;
}
#data_time{
    display: flex ;
    font-size:1.2em;
}
#data_timespan{
    display: flex ;
    width: 5em;
    font-size:1.2em;
}
  
.footer{
    height: 3vh;
    background-color:#da1414;
    font-size:1.4em;
    padding:1px;
    text-align:right;
    background-color:#18a035;
    border: 2px solid black;
    border-radius: 5px;
    }

.footer a{
    color:#a0a0a0;
    font-weight:400;
    }

    /* Smart Phone */
@media(max-width:700px){

    .menu-top{ 
        height: fit-content;
        margin-top: 5px;   
        background-color:#dde01a;
        font-size:0.6em;
        text-align:center;
        display: flex ;
        justify-content: center;
    }
    .menu-top .menu-tab{
        border: none;
        margin:0 10px 0 0;
        color: black;
    }

    #wrap #working_area{
        display:block;
        width: 80vw; 
        background-color: white;
    } 

    .footer{
        display:none;
    }
}