body {
    background: #f9f9fb;
}

header {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #f9f9fb;
}
header h1 {
    position: absolute;
    right: 1.5rem;
    width: 2rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header h2 {
    font-size: 1.8rem;
    font-weight: 800;
}
header #backBtn {
    width: 2rem;
    position: absolute;
    left: 1.5rem;
}
header #backBtn img {
    width: 100%;
}

nav {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 7rem;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.2);
}
nav a {
    width: 25%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
nav a img {
    height: 2rem;
}
nav a span {
    font-size: 1.5rem;
    color: #c8c8c8;
    font-weight: 600;
}

main {
    padding: 1.5rem 1.5rem 10rem;
}
main .status {
    padding: 1.5rem;
    border-radius: 1rem;
    background: #ed532f;
    display: flex;
    align-items: center;
    background-image: url(../img/arrow-1.png);
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: right 1.5rem center;
    margin-bottom: 2rem;
}
main .status .image {
    padding: 0.5rem 0;
    border-right: 1px solid #f69681;
    margin-right: 1.5rem;
    padding-right: 1.5rem;
}
main .status .image img {
    width: 2.5rem;
}
main .status .text {}
main .status .text p {
    text-align: left;
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}
main .status .text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}
main .shortcut {
    padding: 2rem 0;
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .shortcut a {
    height: 7rem;
    padding: 0 1.5rem;
    border-radius: 1rem;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-image: url(../img/arrow-2.png);
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: right 1.5rem center;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
main .shortcut a img {
    width: 3rem;
}
main .shortcut a span {
    font-size: 1.6rem;
    font-weight: 600;
}
main > .mapWrap {
    padding: 2rem 0;
}
main > .mapWrap h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
main > .mapWrap a {
    width: 100%;
    position: relative;
}
main > .mapWrap a > img {
    width: 100%;
}
main > .mapWrap a .text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 1rem;
    background: #fff;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 1.5rem;
}
main > .mapWrap a .text span {
    font-size: 1.6rem;
    font-weight: 600;
}
main > .mapWrap a .text img {
    width: 1.5rem;
}

/* 돌발정보 */
.scroll {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
    position: fixed;
    right: 1.5rem;
    bottom: 15rem;
}
.scroll button {
    border-radius: 1rem;
    background: #fff;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 7777;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
.scroll button img {
    width: 50%;
}
main #filterFrm {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 4rem;
}
main #filterFrm .typeSel {
    width: 35%;
    background: #fff;
    position: relative;
    border-radius: 1rem;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
main #filterFrm .typeSel > a {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0 1.5rem;
    height: 4rem;
    display: flex;
    align-items: center;
    width: 100%;
    background-image: url(../img/arrow-9.png);
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: right 1.5rem center;
}
main #filterFrm .typeSel .typeOption {
    display: none;
    flex-flow: column nowrap;
    position: absolute;
    width: 100%;
    left: 0;
    top: 4rem;
    background: #fff;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
}
main #filterFrm .typeSel .typeOption a {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
}
main #filterFrm .search {
    width: 65%;
    position: relative;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 1rem;
    height: 4rem;
}
main #filterFrm .search input {
    font-size: 1.6rem;
    padding: 0 3rem 0 1.5rem;
    width: 100%;
    height: 100%;
}
main #filterFrm .search input::placeholder {
    color: #c3c3c3;
    font-size: 1.4rem;
}
main #filterFrm .search img {
    width: 2rem;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}
main .result {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .result a {
    height: 8rem;
    padding: 0 1.5rem;
    border-radius: 1rem;
    background: #fff;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    background-image: url(../img/arrow-2.png);
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: right 1.5rem center;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
main .result a p {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
main .result a h2 {
    font-size: 2rem;
    font-weight: 600;
}
main > .top {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}
main > .top p {
    font-size: 2rem;
    font-weight: 600;
    color: #ed532f;
    margin-right: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid #606060;
}
main > .top h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-right: 1.5rem;
}
main > .top button {
    width: 2.5rem;
}
main > .top button img {
    width: 100%;
}
main .detail {
    margin-bottom: 4rem;
}
main .detail h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
main .detail p {
    font-size: 1.8rem;
    color: #878787;
}
main > a {
    display: block;
    width: 100%;
    border-radius: 1rem;
    background: #ed532f;
    color: #fff;
    padding: 2rem 0;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}
main > a:nth-of-type(2) {
    background: #fff;
    color: #333;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
main .noResult {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
    padding-top: 10rem;
    text-align: center;
}
main .noResult h3 {
    font-size: 2rem;
    font-weight: 800;
}
main .noResult p {
    font-size: 1.6rem;
    color: #8c8c8c;
    font-weight: 600;
}
main .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}
main .pagination a {
    font-size: 1.8rem;
    color: #c7c7c7;
}
main .pagination a.active {
    color: #ed532f;
}
main .pagination a.next {
    height: 1.5rem;
}
main .pagination a.last {
    height: 1.5rem;
}
main .pagination a img {
    height: 100%;
}

/* 지도 */
.region {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
    z-index: 9999;
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.region .left {
    width: 35%;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
.region .left span {
    font-size: 1.8rem;
    font-weight: 600;
}
.region .right {
    width: 65%;
    position: relative;
    overflow: hidden;
    height: 4rem;
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
.region .right select {
    width: 100%;
    font-size: 1.8rem;
    font-weight: 600;
    border: none;
    height: 100%;
    text-align: left;
    background-image: url(../img/arrow-9.png);
    background-size: 1.5rem;
    background-position: right 1.5rem center;
    background-repeat: no-repeat;
    padding-left: 1.5rem;
}
.region .right select option {
    padding: 10px;
    font-size: 1.6rem;
    color: #333;
    background-color: #fff !important;
    border-bottom: 1px solid #ddd ;
}
.region .right select option:checked {
    background-color:#fff !important; 
    border: none;
}
.buttonOrigin {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    position: fixed;
    top: 10.5rem;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.buttonOrigin .buttonWrap {
    display: flex;
    flex-flow: column nowrap;
    background: rgba(255, 255, 255, 0.7);
    padding: 0 0.5rem;
    border-radius: 1rem;
}
.buttonOrigin .buttonWrap button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
}
.buttonOrigin .buttonWrap button img {
    width: 50%;
}
.buttonOrigin p {
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    height: max-content;
    display: flex;
    align-items: center;
}
.buttonOrigin p img {
    width: 2rem;
}

.map-container {
    height: 100vh; 
    width: 100%;   
    position: absolute; 
    top: 0;
    left: 0;
}

.map {
    height: 100%; 
    width: 100%; 
    position: absolute; 
    top: 0;
    left: 0;
    box-sizing: border-box;
}
.map a {
    width: 2rem;
    display: inline-block;
}
.map a img {
    width: 100%;
}
.videoBg {
    position: fixed;
    width: auto; 
    height: auto; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem; 
    background: #fff;
    z-index: 9999;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    border-radius: 1.5rem;
}
.videoBg .videoBg_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.videoBg video {
    width: 20rem;
    height: auto;
  
}
.cctvName {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
}
#main .top_left {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#main .top_left img {
    width: 2rem;
}

/* 저장 */
main .category {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 4rem;
}
main .category a {
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
    font-size: 1.8rem;
    width: 50%;
    padding: 2.5rem 0;
    border-radius: 1rem;
    background: #fff;
    text-align: center;
    color: #a4a4a4;
}
main .category a.on {
    background: #ed532f;
    color: #fff;
}
main .box {}
main .box .filtering {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
main .box2 .filtering {
    justify-content: flex-end;
}
main .box .filtering .typeSel {
    width: 35%;
    background: #fff;
    position: relative;
    border-radius: 1rem;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
main .box .filtering .typeSel > a {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0 1.5rem;
    height: 4rem;
    display: flex;
    align-items: center;
    width: 100%;
    background-image: url(../img/arrow-9.png);
    background-repeat: no-repeat;
    background-size: 1.5rem;
    background-position: right 1.5rem center;
}
main .box .filtering .typeSel .typeOption {
    display: none;
    flex-flow: column nowrap;
    position: absolute;
    width: 100%;
    left: 0;
    top: 4rem;
    background: #fff;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
}
main .box .filtering .typeSel .typeOption a {
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
}
main .box .filtering button {
    font-size: 1.8rem;
    padding: 0 1.5rem;
    height: 4rem;
    color: #8b8b8b;
    border: 1px solid #cdcdcd;
    background: #fff;
    border-radius: 1rem;
}
main .box .data {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}
main .box .data a {
    height: 7rem;
    padding: 0 1.5rem;
    border-radius: 1rem;
    background: #fff;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    background-image: url(../img/arrow-2.png);
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: right 1.5rem center;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
}
main .box .data a p {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
main .box .data a h2 {
    font-size: 2rem;
    font-weight: 600;
}