@charset "UTF-8";
/*common*/
.emergency-title h2 {
    place-self: center;
    margin-top: 10px;
}
.color-red{color: red}
ul{list-style: none;}
.emergency-title{
    display: flex;
    flex-direction: row;
    margin: 20px 0;
}
.emergency-title img{
    margin-right: 15px;
    margin-left: 10px;
    width: 45px;
}

.contents-box{
    width: 100%;
    height: 100%;
    padding: 30px;
    background-color: #FFFEC8;
}
.contents-box ul{
    list-style: disc;
}
.contents-box li{
    margin-bottom: 10px;
    padding-left: 10px;
    list-style: none;
    font-size: 16px;
}
/*emergency list*/
.fire,.earth-quake,.black-out,.operate{
    max-height: calc(100vh - 200px);
}
.emergency-wapper{
    width: 85%;
    height: 100%;
    margin: 0 auto;
}
.emergency-header{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/*.emergency-header .emergency-title{*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*}*/
/*.emergency-header .emergency-title img{*/
/*    margin-right: 30px;*/
/*}*/
.emergency-header .emergency-context{
    margin: 20px;
    font-size: 18px;
}
.emergency-body{
    width: 100%;
    height: 100%;
}
.emergency-body .emergency-list{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: center;
}
.emergency-body .emergency-list li{
    width: 200px;
    height: 200px;
    list-style: none;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.emergency-body .emergency-list li img{
    width: 100%;
}
.emergency-body .emergency-list li:nth-of-type(1){background: url(/img/otif/Group-85.png) no-repeat center ;
    border: 1px solid #d8d8d8;
    width: 337px;
    height: 300px;
    padding: 30px;
    cursor: pointer;
    margin-right: 20px;
    background-size: 160px;
}
.emergency-body .emergency-list li:nth-of-type(2){background: url(/img/otif/Group-81.png) no-repeat center ;
    border: 1px solid #d8d8d8;
    width: 337px;
    height: 300px;
    padding: 30px;
    cursor: pointer;
    margin-right: 20px;
    background-size: 160px;}
.emergency-body .emergency-list li:nth-of-type(3){background: url(/img/otif/Group-83.png) no-repeat center ;
    border: 1px solid #d8d8d8;
    width: 337px;
    height: 300px;
    padding: 30px;
    cursor: pointer;
    margin-right: 20px;
    background-size: 160px;}
.emergency-body .emergency-list li:nth-of-type(4){background: url(/img/otif/Group-86.png) no-repeat center ;
    border: 1px solid #d8d8d8;
    width: 337px;
    height: 300px;
    padding: 30px;
    cursor: pointer;
    margin-right: 20px;
    margin-bottom: 50px;
    background-size: 160px;}

.emergency-body .emergency-list li:nth-of-type(1):hover{background: url(/img/otif/Group-84.png) no-repeat center ; background-size: 160px;}
.emergency-body .emergency-list li:nth-of-type(2):hover{background: url(/img/otif/Group-80.png) no-repeat center ; background-size: 160px;}
.emergency-body .emergency-list li:nth-of-type(3):hover{background: url(/img/otif/Group-82.png) no-repeat center ; background-size: 160px;}
.emergency-body .emergency-list li:nth-of-type(4):hover{background: url(/img/otif/Group-87.png) no-repeat center ; background-size: 160px;}

.emergency-body .emergency-list li p{
    font-weight: bolder;
    font-size: 20px;
    margin-top: 20px;
}
/*화재*/
.fire .contents-emergency-wapper .contents-2>div:nth-of-type(2){
    text-align: center;
}
.fire .contents-emergency-wapper .contents-2>div:nth-of-type(2)>img{
    width: 90%;
    margin: 30px auto;
}
.fire .contents-1 .evacuation>div{
    display: flex;
    flex-direction: column;
}

.fire .contents-1 .evacuation>div>label{
    text-align: right;
}
.fire .contents-1 .evacuation>div>label>span{
    font-size: 16px;
    font-weight: bolder;
    margin-right: 12px;
}
.fire .contents-1 .evacuation>div>label>select{
    width: 100px;
    height: 30px;
    background: #ff0000;
    color: white;
    border-radius: 30px;
    margin-bottom: 20px;
    text-align: center;
}
.fire .contents-1 .evacuation>div>label>select>option{
    background: #ffffff;
    color: #000;
}
.fire .contents-1 .evacuation .img-box{
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 500px;
    background-size: contain;
}
.fire .contents-1 .evacuation .img-box.b5{background-image: url(/img/otif/fire-img-b5.jpg);}
.fire .contents-1 .evacuation .img-box.b4{background-image: url(/img/otif/fire-img-b4.jpg);}
.fire .contents-1 .evacuation .img-box.b3{background-image: url(/img/otif/fire-img-b3.jpg);}
.fire .contents-1 .evacuation .img-box.b2{background-image: url(/img/otif/fire-img-b2.jpg);}
.fire .contents-1 .evacuation .img-box.b1{background-image: url(/img/otif/fire-img-b1.jpg);}
.fire .contents-1 .evacuation .img-box.f1{background-image: url(/img/otif/fire-img-f1.jpg);}
.fire .contents-1 .evacuation .img-box.f2{background-image: url(/img/otif/fire-img-f2.jpg);}
.fire .contents-1 .evacuation .img-box.f3{background-image: url(/img/otif/fire-img-f3.jpg);}
.fire .contents-1 .evacuation .img-box.f4{background-image: url(/img/otif/fire-img-f4.jpg);}
.fire .contents-1 .evacuation .img-box.f12{background-image: url(/img/otif/fire-img-f12.jpg);}
.fire .contents-1 .evacuation .img-box.f23{background-image: url(/img/otif/fire-img-f23.jpg);}
.fire .contents-1 .evacuation .img-box.f24{background-image: url(/img/otif/fire-img-f24.jpg);}
.fire .contents-1 .evacuation .img-box.f30{background-image: url(/img/otif/fire-img-f30.jpg);}
.fire .contents-1 .evacuation .img-box.f35{background-image: url(/img/otif/fire-img-f35.jpg);}
.fire .contents-1 .evacuation .img-box.f36{background-image: url(/img/otif/fire-img-f36.jpg);}
.fire .contents-1 .evacuation .img-box.f37{background-image: url(/img/otif/fire-img-f37.jpg);}
.fire .contents-1 .evacuation .img-box.f38{background-image: url(/img/otif/fire-img-f38.jpg);}

.close-icon img {
    width: 20px;
    cursor: pointer;
    position: fixed;
    right: 4%;
    top: 2.5%;
}

/*지진*/
.earth-quake table ul{
    list-style: none;
}
.earth-quake table thead{
    text-align: center;
    background-color: skyblue;
    padding: 30px;
}
.earth-quake table thead th{
    padding: 20px;
    font-size: 17px;
}
.earth-quake table tbody tr td:nth-of-type(1){
    text-align: center;
    background-color: skyblue;
    padding: 20px;
    font-size: 15px;
}

.earth-quake table tbody tr td:not(:nth-of-type(1)){
    padding: 20px;
}
.earth-quake table tbody tr td:not(:nth-of-type(1))>ul{
    /*list-style: disc;*/
    font-size: 14px;
}
.earth-quake table ul{
    text-align: left
}

/*운영위원회*/
.emergency-context p {
    font-size: 18px;
    margin-top: -10px;
}
.operate .contents-2{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    margin-top: 50px;
}
.operate .contents-emergency-wapper{
    text-align: center;
}
.operate .contents-emergency-wapper .contents-1{
    margin: 30px auto;
}
.operate .contents-emergency-wapper .contents-1>img{
    width: 45%;
}
.operate .contents-2>div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    /*flex: 1 1 calc(45% - 20px);*/
    margin: 20px;
}
.operate .contents-2>div>div.title{
    width: 300px;
    height: 50px;
    background-color:#3F4444;
    border-radius: 50px;
    color: #EAE825;
    justify-content: center;
    align-items: center;
    line-height: 50px;
    font-size: 18px;
}
.operate .contents-2>div>div.contents{
    width: 300px;
    height: 150px;
    background-color: white;
    border-radius: 6px;
    border: 2px solid #3F4444;
    color: black;
    margin-top: 10px;
    padding: 10px;
    font-size: 15px;
    align-content: center;
}

.operate .contents-3>div{
    display: flex;
    justify-content: center;
    align-content: flex-start;
    margin: 20px;
}
.operate .contents-3>div img.operate{
    width: 100%;
}

.operate .contents-3>div>div.title{
    width: 300px;
    height: 50px;
    background-color:#3F4444;
    border-radius: 50px;
    color: #EAE825;
    justify-content: center;
    align-items: center;
    line-height: 50px;
    font-size: 18px;
}
.operate .contents-3>div>div.contents{
    width: 300px;
    height: 150px;
    background-color: white;
    border-radius: 6px;
    border: 2px solid #3F4444;
    color: black;
    margin-top: 10px;
    padding: 10px;
    font-size: 15px;
    align-content: center;
}

/*테이블 스타일*/
/* table 전체의 스타일을 정의 */
table {
    width: 100%; /* 표 너비를 100%로 설정 */
    border-collapse: collapse; /* 셀 간의 간격을 제거하여 하나의 테두리처럼 보이게 함 */
}
table thead{
    background-color: paleturquoise;
}
/* 표 머리글(th)와 데이터 셀(td)의 스타일을 정의 */
th, td {
    border: 1px solid black; /* 각 셀에 검은색 테두리 설정 */
    padding: 10px; /* 셀 내부 여백 설정 */
    text-align: center; /* 셀 내의 텍스트를 중앙 정렬 */
    vertical-align: middle;
}
/* 표 머리글(th) 셀의 스타일을 정의 */
th {
    background-color: #f2f2f2; /* 머리글 셀의 배경색을 연회색으로 설정 */
}

table .left-align{
    text-align: left;
}

@media screen and (max-width : 480px){
    .emergency-body .emergency-list {
        display: flex;
        flex-direction: column;
        margin: 15px;
    }
    .fire .contents-emergency-wapper .contents-2>div:nth-of-type(2)>img {
        width: 100%;
    }
    .operate .contents-emergency-wapper .contents-1>img {
        width: 90%;
    }
    .operate .contents-2>div {
        margin: 20px 0;
    }
    .fire .contents-emergency-wapper .contents-2>div:nth-of-type(2)>img{
        width: 330px;
    }
    .emergency-header .emergency-context{
        margin: 20px;
        font-size: 14px;
    }

    .fire .contents-1 .evacuation .img-box {
        height: 210px;
    }
}
