/* 메인화면 */ .mainWrap { overflow: auto; width: 100%; /*height: calc(100% - 208px);*/ display: flex; -webkit-box-pack: center; justify-content: center; /*background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url(/images/background/main_bg.gif);*/ /*background-image: url(/images/background/main_bg.gif);*/ background-size: cover; /*background-image: url("/images/background/bg_main3.jpg");*/ background-image: url("/images/background/background_3.jpg"); /*z-index: 1;*/ } /*.mainWrap::after {*/ /* content: "";*/ /* width: 100%;*/ /* position: absolute;*/ /* background-image: url(/images/background/bg_main2.jpg);*/ /* background-size: cover;*/ /* top: 0;*/ /* left: 0;*/ /* z-index: -1;*/ /* opacity: 0.7;*/ /* min-height: 1015px;*/ /*}*/ .mainWrap .first-bg { background-image: url(/images/background/bg_cctv.png); background-color: rgb(33, 84, 153); background-size: cover; background-position-y: 100%; position: relative; cursor: pointer; width: 200px; height: 200px; } .mainWrap .first-bg:hover { background-color: rgb(102, 186, 204); color: black; } .mainWrap .first-bg > div { font-size: 25px; color: rgb(255, 255, 255); position: absolute; top: 40px; width: 100%; -webkit-box-pack: center; justify-content: center; font-weight: bold; display: flex; -webkit-box-align: center; align-items: center; } .mainWrap .other-bg.stat-bg { background-image: url('/images/background/bg_statistics.png'); background-color: rgb(153, 221, 234); } .mainWrap .road-bg { background-image: url('/images/background/bg_control.png'); } .mainWrap .other-bg.bus-bg { background-image: url('/images/background/bg_bus.png'); background-color: rgb(153, 221, 234); } .mainWrap .parking-bg { background-image: url("/images/background/bg_parking4.png"); } .mainWrap .bus-bg > div { font-size: 25px; position: absolute; top: 40px; width: 100%; -webkit-box-pack: center; justify-content: center; font-weight: bold; display: flex; -webkit-box-align: center; align-items: center; } .mainWrap .bus-bg > div img { width: 20px; height: 20px; margin-left: 0; } .mainWrap .other-bg { background-color: rgb(204, 234, 234); background-size: cover; background-position-y: 100%; position: relative; cursor: pointer; width: 200px; height: 200px; color: rgb(51, 51, 51); } .mainWrap .other-bg:hover { background-color: rgb(33, 84, 153); color: rgb(255, 255, 255); } .mainWrap .other-bg > div { font-size: 25px; position: absolute; top: 40px; width: 100%; -webkit-box-pack: center; justify-content: center; font-weight: bold; display: flex; -webkit-box-align: center; align-items: center; } .mainWrap .main-menu > .top > div { width: calc(20%); margin-bottom: 10px; height: 400px; background-position: center center; background-repeat: no-repeat; } .mainWrap .main-menu > .top > div:not(:last-child) { margin-right: 10px; } body { width: 100%; height: 100%; } .mainWrap .main { max-width: 1200px; width: 95%; position: relative; display: flex; flex-direction: column; padding: 50px 0px; -webkit-box-pack: center; justify-content: center; min-height: 529px; /*opacity: 0.9;*/ } .mainWrap .main-menu { max-width: 1200px; width: 100%; position: relative; /*padding: 50px 0px;*/ } .mainWrap .top, .mid { display: flex; } .mainWrap .bottom img { width: 30px; height: 30px; margin-right: 1rem; } /*.mainWrap .bottom > div:first-child {*/ /* width: 100%;*/ /* height: 40px;*/ /*}*/ /*.mainWrap .bottom > div:nth-child(2) {*/ /* width: 100%;*/ /* height: 300px;*/ /*}*/ /*.mainWrap .bottom > div:nth-child(2) > div {*/ /* width: 50%;*/ /* height: 100%;*/ /*}*/ .mainWrap .bottom { margin-top: 10px; margin-bottom: 10px; font-size: 16px; font-weight: bold; /*padding: 20px;*/ /*background-color: white;*/ display: flex; align-items: center; justify-content: center; /*flex-direction: column;*/ width: 100%; height: 350px; background-size: 100% 350px; /*background : white;*/ /*background-image: url("/images/background/bg_main3.jpg");*/ } .mainWrap .bottom > div { width: calc(50% - 5px); /*width: 100%;*/ height: 100%; /*padding: 1.5rem;*/ /*box-shadow: 2px 2px 2px 2px #eeeeee;*/ } .mainWrap .bottom > div:first-child { margin-right: 5px; } .mainWrap .bottom > div:nth-child(2) { margin-left: 5px; background-color: #cceaea; padding: 1.5rem; } .mainWrap .bottom .first-box { text-align: right; color: black; } .mainWrap .bottom .first-box h1, .mainWrap .bottom .first-box div { margin-top: 20px; } /*.mainWrap .bottom > div:not(:last-child) {*/ /* margin-right: 10px;*/ /*}*/ .mainWrap .bottom > div:nth-child(2) { display: flex; flex-direction: column; /*align-items: center;*/ align-items: flex-start; } .mainWrap .bottom > div:nth-child(2) > div:first-child{ width: 100%; height: 30px; margin-bottom: 10px; border-radius: 5%; } .mainWrap .bottom .video-box { width: 100%; height: calc(100% - 40px); display: flex; align-items: center; justify-content: center; } .mainWrap .bottom video { width: 85%; height: calc(100% - 40px); margin: auto; /*height: 100%;*/ border-radius: 15px; background-color: black; } .mainWrap .mid > div { /*width: calc(33.3333%);*/ width: 50%; height: 220px; } .mainWrap .mid > div:not(:last-child) { margin-right: 10px; } .mainWrap .center { background-image: url(/images/background/bg_center.jpg); background-size: 100% 100%; /*background-position-y: 100%;*/ position: relative; cursor: pointer; width: 100%; height: 100%; } .mainWrap .center > div { font-size: 25px; color: rgb(255, 255, 255); position: absolute; top: 75%; width: 100%; -webkit-box-pack: center; justify-content: center; font-weight: bold; display: flex; -webkit-box-align: center; align-items: center; } .mainWrap .incd { padding: 1.5rem; background-color: rgb(255, 255, 255); /*box-shadow: 2px 2px 2px 2px #eeeeee;*/ } .mainWrap .incd > div:first-child { margin-bottom: 2rem; } .mainWrap .incd > div img { width: 30px; height: 30px; margin-right: 1rem; } /*.mainWrap .incd > div span {*/ /* display: inline-block;*/ /* line-height: 30px;*/ /* color: rgb(51, 51, 51);*/ /* font-weight: bold;*/ /*}*/ .mainWrap .incd > div a { float: right; font-size: 30px; line-height: 30px; } .mainWrap .incd-content { color: rgb(51, 51, 51); } .mainWrap .incd-content > div { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; -webkit-box-pack: justify; justify-content: space-between; margin-bottom: 1.25rem; } .mainWrap .incd-content > div > div { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mainWrap .notice { padding: 1.5rem; background-color: rgb(204, 234, 234); } .mainWrap .notice > div:first-child { margin-bottom: 2rem; } .mainWrap .notice > div:first-child img { width: 30px; height: 30px; margin-right: 1rem; } .mainWrap .incd > div:first-child span, .mainWrap .notice > div:first-child span { display: inline-block; line-height: 30px; color: rgb(51, 51, 51); font-weight: bold; } .mainWrap .notice > div:first-child a { float: right; font-size: 30px; line-height: 30px; } .mainWrap .notice > .content { color: rgb(51, 51, 51); } .mainWrap .notice > .content > div { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; -webkit-box-pack: justify; justify-content: space-between; margin-bottom: 1.25rem; /*padding-bottom: 10px;*/ /*position: relative;*/ } /*.mainWrap .notice > .content > div::after{*/ /* background: none repeat scroll 0 0 transparent;*/ /* bottom: 0;*/ /* content: "";*/ /* display: block;*/ /* height: 1px;*/ /* left: 50%;*/ /* position: absolute;*/ /* background: black;*/ /* transition: width 0.3s ease 0s, left 0.3s ease 0s;*/ /* width: 0;*/ /*}*/ /*.mainWrap .notice > .content > div:hover:after {*/ /* width: 100%;*/ /* left: 0;*/ /*}*/ .mainWrap .notice > .content > div > div { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mainWrap .incd > div > img, .mainWrap .notice > div > img { display: none; } .mainWrap .incd > .incd-content > div > div:hover, .mainWrap .notice > .content > div > div:hover { cursor: pointer; } .mainWrap .incd > .incd-content > div > span, .mainWrap .notice > .content > div > span { font-size: 13px; color: rgb(51, 51, 51); font-weight: bold; display: none; } .mainWrap .mid a:hover { color: #0d6efd; } .popup_content { width: auto; height: auto; position: absolute; background-color: white; border: 1px solid #7c7b7b; box-shadow: 0 0 5px #000; } .popup_content > div:nth-child(1) { cursor: pointer; } .popup_content > .close-box{ background-color: black; color: white; display: flex; justify-content: flex-end; align-items: center; height: 40px; gap: 5px; padding-right: 10px; } .popup_content > .close-box > input, .popup_content > .close-box > label, .popup_content > .close-box > div { cursor: pointer; } .popup_content > .close-box > div { margin-left: 5px; } .popup_content { max-width: 320px; } .popup_content img { max-width: 320px; } @media (max-width: 450px) { .mainWrap .top { display: none; } .mainWrap { /*padding: 0;*/ /*height: calc(100% - 149.19px);*/ padding-bottom: 78px; } .mainWrap .main { width: 100%; /*height: 100%;*/ padding: 0; justify-content: unset; } .mainWrap .bottom { margin-top: 0; margin-bottom: 0; } .mainWrap .mid { flex-direction: column; height: 400px; } .mainWrap .bottom { flex-direction: column; height: 450px; } .mainWrap .bottom .first-box { padding: 1.5rem 1.5rem 0.5rem 1.5rem; height: 135px; } /*.mainWrap .bottom > div:nth-child(2) > div:first-child{*/ /* width: 100%;*/ /* height: 200px;*/ /* margin-right: 0;*/ /*}*/ .mainWrap .bottom > div:nth-child(2) { height: 250px; /*padding: 0 1rem 1rem 1rem;*/ padding : 1rem; margin-left: 0; } .mainWrap .bottom video { width: 100%; height: calc(100% - 30px); } .mainWrap .bottom > div, .mainWrap .mid > div { width: 100%; /*height: calc(100% / 3);*/ height: 200px; } .mainWrap .bottom > div:first-child { /*margin-bottom: 0.7rem;*/ margin-right: 0; } .mainWrap .notice > div:first-child img, .mainWrap .incd > div:first-child img { display: inline; width: 23px; height: 23px; } .mainWrap .main-menu { padding: 0; /*height: 100%;*/ } .mainWrap .notice, .mainWrap .incd { padding: 1rem 1.5rem; } .mainWrap .incd > .incd-content > div > span, .mainWrap .notice > .content > div > span { display: inline; } .mainWrap .center > div { font-size: 20px; } } @media (min-width: 420px) { /* 메인화면 */ .mainWrap .center > div, .mainWrap .other-bg > div, .mainWrap .first-bg > div { font-size: 15px; } .mainWrap .bus-direction { display: none; } /*.popup_content {*/ /* max-width: 320px;*/ /*}*/ /*.popup_content img {*/ /* max-width: 320px;*/ /*}*/ } @media (min-width: 765px) { /* 메인화면 */ .mainWrap .center > div, .mainWrap .other-bg > div, .mainWrap .first-bg > div { font-size: 16px; } .mainWrap .bus-direction { display: block; } .mainWrap .incd > div > img, .mainWrap .notice > div > img { display: inline; } .popup_content { max-width: 600px; } .popup_content img { max-width: 600px; } } @media (min-width: 920px) { /* 메인화면 */ .mainWrap .center > div, .mainWrap .other-bg > div, .mainWrap .first-bg > div { font-size: 20px; } .mainWrap .incd > .incd-content > div > span, .mainWrap .notice > .content > div > span { display: inline; } .popup_content { max-width: 800px; } .popup_content img { max-width: 800px; } .mainWrap { min-height: 758px; } .mainWrap .bus-bg > div img { margin-left: 0.5rem; } } @media (max-height: 900px) { /* 메인화면 */ /*.mainWrap .main-menu > .top > div {*/ /* height: 200px;*/ /*}*/ }