﻿@keyframes slide1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, 0);
    }
}

.board-list.board-num_28333 td.document-regdate{
	white-space:nowrap;}


.sermon-box > a.title {
	text-decoration: none;
    display: inline-block;
    width: 100%;
    border: 1px solid #cecece;
    line-height: 138px;
    vertical-align: middle;
    background-color: #ffffff70;
}
.sermon-box > a.title > img:first-child { max-height:137px;}     

.document-readed_count {
    display: none;
}

#header {
    background: #303030;
    padding: 7px 0px;
}

    #header .header-box {
        color: #fff;
        margin-right: 20px;
    }

        #header .header-box.active {
            color: #6390CA;
            font-weight: bold;
        }

    #header a {
        color: #fff;
        text-decoration: none;
        padding: 0px 15px;
        border-right: 1px solid #fff;
    }

        #header a:hover {
            font-weight: bold;
        }

    #header .header-box {
        float: left;
        font-size: 14px;
    }

        #header .header-box a {
            border-right: none;
        }

    #header .header-box-left li, #header .header-box-right li {
        display: inline-block;
    }

.btn-default {
    background: #F9F9F9;
}

.line {
    color: #6390CA;
    font-weight: bold;
    margin-bottom: 30px;
}

#content {
    padding: 0 0 50px;
}

#subtop img {
    width: 100%;
}

#sub_title {
    margin: 65px 0 0;
    display: block;
    text-align: center;
    color: #333;
}

#sub_title {
    font-size: 35px;
    font-weight: normal;
}

.sub-title2 {
    font-size: 20px;
    font-weight: normal;
    margin-top: 20px;
    color: #fff;
}

.sub-desc hr {
    width: 50px;
    margin: 5px auto;
    border-bottom: 3px solid #fff;
}

.sub-desc {
    position: absolute;
    top: 30%;
    text-align: center;
    width: 100%;
    border: none;
    z-index: 2;
}

#subgnb {
    border-bottom: 1px solid #ddd;
    padding: 0px 0px;
    border-top: 1px solid #ddd;
    background: #F9F9F9;
}

    #subgnb .subgnb-home {
        float: right;
        display: inline-block;
        margin: 7px 0px 0px 0px;
    }

    #subgnb span, #subgnb a {
        font-size: 17px;
        color: #404040;
        position: relative;
        top: 3px;
        text-decoration: none;
    }

        #subgnb a.active {
            color: #ED1C24;
            font-weight: bold;
        }

    #subgnb .dropdown {
        display: inline-block;
        float: left;
    }

        #subgnb .dropdown .btn {
            padding: 15px;
            font-size: 17px;
            font-weight: bold;
        }

        #subgnb .dropdown .btn-default {
            border-right: 1px solid #bbb;
            border-left: none;
            border-top: none;
            border-bottom: none;
            color: #404040;
            min-width: 165px;
            text-align: left;
        }

        #subgnb .dropdown .btn:hover {
            background-color: #fff;
            transition: 0.3s all ease;
            color: #404040;
        }

        #subgnb .dropdown .btn .active {
            background-color: #005D9A;
        }

    #subgnb .dropdown-menu > li > a {
        padding: 10px 20px;
        transition: 0.3s all ease;
        font-size: 17px;
    }

    #subgnb .caret {
        border-top: 2px solid #6390CA;
        border-right: 0px solid transparent;
        border-left: 2px solid #6390CA;
        position: relative;
        margin: 0;
        height: 8px;
        width: 8px;
        transform: rotate(225deg);
        transition: all 0.6s;
        margin-top: -10px;
        margin-left: 15px;
        float: right;
        top: 15px;
    }

    #subgnb .dropdown:first-child {
        border-left: 1px solid #ddd;
    }


.sub-top-title {
    width: 100%;
    text-align: center;
    font-size: 40px;
    font-weight: normal;
    color: #fff;
}

.sub-top-ul2 {
    text-align: center;
    margin: 50px 0 20px;
}

    .sub-top-ul2 li {
        display: inline-block;
        font-size: 19px;
        color: #333;
        padding: 0 10px;
    }

        .sub-top-ul2 li a {
            color: #333;
            cursor: pointer;
        }

            .sub-top-ul2 li a.active {
                color: #6390CA;
                transition: 0.3s all;
                padding-bottom: 10px;
                border-bottom: 3px solid #6390CA;
                text-decoration: none;
            }

            .sub-top-ul2 li a:hover {
                color: #6390CA;
                transition: 0.3s all;
                padding-bottom: 10px;
                border-bottom: 3px solid #6390CA;
                text-decoration: none;
            }

#subtop .dot {
    width: 100%;
    height: 100%;
    background: url(/UserData/cbuk/Layouts/cbuk_Layout/Images/dot.png) rgba(0,0,0,.0) !important;
    position: relative;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}

.sub-home {
    position: relative;
    top: 0px !important;
}

.home-button {
    min-width: initial !important;
}

#unit4231 > #sub01 > span:nth-child(1) {
    color: #a8996e !important;
}

#unit4231 > #sub01 > span:nth-child(2) {
    color: #e7d8b0 !important;
}

@media (min-width:1200px) and (max-width:1499px) {
}

@media (min-width:993px) and (max-width:1199px) {
    .sub-top-title {
        font-size: 25px;
    }
}


@media (min-width:768px) and (max-width:992px) {
    #sub_title {
        font-size: 25px;
    }

    .sub-desc {
        display: none;
    }

    #unit1981 div div {
        position: static !important;
        padding: 100px 0;
    }

    #unit2412 #sub03 div span {
        width: 100% !important;
        text-align: center !important;
        padding: 5px 0 !important;
    }

    #unit8062 {
        margin: 20px 0 0 0 !important;
    }

    #unit9475 {
        margin: 20px 0 0 0 !important;
    }

    #unit7106 {
        margin-top: 25px !important;
    }

    .board-actions-right {
        padding: 0 !important;
    }
    #unit3501 div {
        width: 500px ;
        margin-right :10px;
    }
    #unit6062 {
        margin-left : 50px;

    }
    .midHeight > div{
    height:330px!important;
    }
    #component3967 #component3315 .col-sm-6 {
        width: 100% !important;
    }
    #unit2832 span {
    word-break:break-all!important;
    }

}

@media (max-width:767px) {
    .sub-top-title {
        font-size: 26px;
    }

    .sub-title2, .sub-desc hr {
        display: none;
    }

    #subgnb .container {
        padding: 0 !important;
    }
    /* 교회소개 환영사 */
    #unit7346 {
        padding: 0 10px !important;
    }
    /*교회조직 사역조직*/
    #unit3152 {
        display: flex;
    }

        #unit3152 p {
            margin-right: 20px !important;
        }
    /*교회소개 행사안내*/

    #unit2643.my-table-wrapper {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

        .my-table-wrapper .table-bordered:before {
            content: ">>";
            animation: slide1 1.5s ease-in-out infinite;
            position: absolute;
            top: -15px;
            right: 0;
        }

        .my-table-wrapper .table-bordered:after {
            content: "옆으로 미세요.";
            position: absolute;
            top: -15px;
            right: 20px;
        }

    #unit4078 {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

    #unit1164 {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

    #unit6361 {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

    #unit7080 {
        padding: 30px 20px !important;
    }

    #unit7081 {
        width: 100% !important;
    }



    /*교회조직 당회*/
    #component3898 {
        text-align: center;
    }

    #unit2821 {
        text-align: center;
    }

    #unit7014 {
        text-align: center;
    }

    #unit5049 {
        text-align: center;
    }

    #unit2832 {
        text-align: center;
    }

    #unit5942 {
        text-align: center;
    }

    #unit5409 {
        text-align: center;
    }

    #unit3034 {
        text-align: center;
    }

    #unit9229 {
        text-align: center;
    }

    #unit9371 {
        text-align: center;
    }

    #unit6385 {
        text-align: center;
    }

    /*교회소개 예배안내*/
    #component2180 > div {
        padding: 20px !important;
    }

    #unit2658 {
        width: 70%;
        margin: 0 auto !important;
    }

    #unit4171 {
        margin-top: 20px !important;
    }

        #unit4171 table tr td {
            font-size: 15px !important;
        }




}
