/* 메인화면 */

.mainWrap {
    overflow: auto;
    width: 100%;
    height: calc(100% - 208px);
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}

.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 .bus-bg {
    background-image: url('/images/background/bg_bus.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: 1rem;
}

.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(25%);
    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%;
    background-image: url(/images/background/main_bg.gif);
}

.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;
}

.mainWrap .main-menu {
    max-width: 1200px;
    width: 100%;
    position: relative;
    padding: 50px 0px;
}

.mainWrap .top, .mid {
    display: flex;
}

.mainWrap .mid > div {
    width: calc(33.3333%);
    height: 220px;
}

.mainWrap .mid > div:not(:last-child) {
    margin-right: 10px;
}

.mainWrap .center {
    background-image: url(/images/background/bg_center.jpg);
    background-size: cover;
    background-position-y: 100%;
    position: relative;
    cursor: pointer;
}

.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);
}

.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 .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;
}

.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;
}

@media (max-width: 450px) {
    .mainWrap .top {
        display: none;
    }

    .mainWrap {
        padding: 0;
        height: calc(100% - 149.19px);
    }

    .mainWrap .main {
        width: 100%;
        height: 100%;
        padding: 0;
        justify-content: unset;

    }

    .mainWrap .mid {
        flex-direction: column;
        height: 100%;
    }

    .mainWrap .mid > div {
        width: 100%;
        height: calc(100% / 3);
    }

    .mainWrap .notice > div:first-child {
        margin-bottom: 0.7rem;
    }

    .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;
    }


}

@media (min-width: 765px) {

    /* 메인화면 */
    .mainWrap .center > div,
    .mainWrap .other-bg > div,
    .mainWrap .first-bg > div {
        font-size: 20px;
    }

    .mainWrap .bus-direction {
        display: block;
    }

    .mainWrap .incd > div > img,
    .mainWrap .notice > div > img {
        display: inline;
    }
}

@media (min-width: 920px) {

    /* 메인화면 */
    .mainWrap .center > div,
    .mainWrap .other-bg > div,
    .mainWrap .first-bg > div {
        font-size: 25px;
    }

    .mainWrap .incd > .incd-content > div > span,
    .mainWrap .notice > .content > div > span {
        display: inline;
    }
}


@media (max-height: 900px) {
    /* 메인화면 */
    .mainWrap .main-menu > .top > div {
        height: 200px;
    }
}