﻿/* common */

.nav-tabs {border-bottom:none;}
.plus { position:absolute; top:0; right:0;}
.plus:hover { opacity:0.8; transition:0.3s all ease;}

.box{display:inline-block; position:relative; opacity:0; top:50px; }

/* slogan s */
#slogan {padding: 50px 0;}
#slogan .top-div{text-align: center;}
#slogan .top-div ul{display: inline-block; position: relative; left:10%;}
#slogan .top-div ul li:nth-child(1){font-size: 32px;}
#slogan .top-div ul li:nth-child(2){position: absolute;top: 4px;left: -130px;font-size: 20px;}
#slogan .top-div ul li:nth-child(2) span:nth-child(1){margin-right: 15px;}
#slogan .top-div ul li:nth-child(2) span:nth-child(2){font-size: 25px; color: rgba(0,0,0,.3);}

/* main1 s */
.slider .move-btn{background:rgba(0,0,0,0)!important;}
.slider .slider-dots .each-dot.active{background:white!important;border-color:white!important;width:30px;border-radius:15px; transition:all 0.3s;}
.slider .slider-dots .each-dot{background:rgba(255,255,255,0.5)!important;}
#sermon {word-break:keep-all; background:url(../Images/banner1.jpg) no-repeat; background-position:center; height:350px; background-size: 100% 100%; padding:40px;}
#sermon h3 { font-size:30px; color:white; margin:0px 0px 0px; display:inline-block;    vertical-align: middle; margin-bottom:10px;}
#sermon h5 { font-size:25px; color:white; margin:20px 0px; width:270px;  font-weight:normal;}
#sermon h4 { font-size:18px; color:white; margin:15px 0px 15px;}
#sermon h6 { font-size:23px; color:white; margin:5px 0px 0px;}
#sermon{position:relative;}
#sermon a {text-decoration:none; color:#404040; display:inline-block;}
#sermon a:hover { font-weight:bold; transition:0.3s all ease;}
#sermon .sermon-div{position:relative;width:50%; cursor:default;}
#sermon .sermon-div h5 a {color: white;width: 100%;word-break: break-all;white-space: normal;overflow:hidden;
line-height: 1.4;height: 3em;text-align: left;word-wrap: break-word;display: -webkit-box;
-webkit-line-clamp: 2;-webkit-box-orient: vertical; }
#sermon .sermon-play-img {
    padding-left: 50px;
}
/* main1-right-1 */
.main-right-1 {
    background-color: #297D99;
    height: 350px;
    padding: 25px;
    position: relative;
}
.main-right-1 ul { margin: 30px 0 0;}
.main-right-1 li { color:#fff; font-size:17px; border-bottom:1px solid #e5e5e5; padding:4px 0; text-align:center; }
.main-right-1 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}

/* main1-right-2 */

.main-right-2 { background:url(../Images/banner2.jpg) no-repeat; background-position:center; height:350px; background-size: 100% 100%; padding:25px; position:relative; }
.main-right-2 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}
.main-right-2 .main1-view { position:absolute; text-align:center; width:100%; top:40%; left:0; font-size:19px; color:#fff;}
.main-right-2 .main1-view a { padding:5px 15px; color:#fff; font-size:17px; border:1px solid #fff; margin:10px 0 0; display:inline-block; text-decoration:none; }
.main-right-2 .main1-view a:hover { background-color:#fff; color:#000; transition:0.3s all; }

/* main1 e */

/* main2 s */

#main-2 { margin: 25px 0px;}
#main-2 .main2-left-top img { float:left; clear:both; margin:0px 20px 0px 0px;}
#main-2 .main2-left-top a { text-decoration:none; color:#333;}
#main-2 .main2-left-top strong { color:#000; }
#main-2 .main2-left-top p { font-size:23px; display:inline-block; margin:20px 0px 0px 0px; color:#979191; }
#main-2 .main2-left-top span { margin:0px 15px; font-size:18px;}
#main-2 .main2-left-top { overflow:hidden; margin:0 0 20px;}
#main-2 .main2-left-top small { font-size:17px;}
#home ul li a:hover div span,#home ul li a:focus div span{font-weight:bold;}
#main-4 { margin: 25px 0px;}
#main-4 .main4-gallery { overflow:hidden; border:1px solid #e5e5e5; height:351px; padding:25px;position:relative;}
#main-4 .main4-gallery .gallery-btn { text-decoration:none; float:right;}
#main-4 .main4-gallery .gallery-btn img{top:0;right:0;position:absolute;}
#main-4 .main4-gallery h5 { font-size:25px; color:#000; margin:0; font-weight:bold; display:inline-block; }
#main-4 .main4-gallery h5 span { color:#206E9C; }
#main-4 .main4-gallery .document-widget .gallery { text-align: center; width: 100%; font-size: 0; }
#main-4 .main4-gallery .document img { width: 155px; height:auto; }
#main-4 .main4-gallery .gallery .document a.title { padding: 5px 0 5px; text-align: center; text-decoration: none; color: #333; margin:0; font-size:17px;}
#main-4 .main4-gallery .document img:hover { opacity:0.7; transition:0.3s all; }
#main-4 .main4-gallery  .gallery .date { color:#000; font-size:15px; margin-bottom:0px; margin-top:25px; }
#main-4 .main4-gallery .pictures .gallery { width: 300%; }
#main-4 .main4-gallery .arrow.right { position: absolute; right: 30px; top: 50%; margin-top:-16px; cursor: pointer; }
#main-4 .main4-gallery .arrow.left { position: absolute; left: 30px; top: 50%; margin-top:-16px; cursor: pointer; }
#main-4 .main4-gallery .pictures { width: 500px; overflow: hidden; position: absolute; top: 50%;     margin-top: -52px; left: 5%; }
#main-4 .main4-gallery .latest-wrapper { position: relative; }

.main2-right-1 { background-color: #105C96; height:350px; padding:25px; position:relative;}
.main2-right-1 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}
.main2-right-1 .main2-school { text-align:center; margin:40px 0 0;}
.main2-right-1 .main2-school p { color:#fff; margin:15px 0 0; font-size:15px;}
.main2-right-1 .main2-school h5 { color:#fff; margin:15px 0 0; font-size:17px; line-height: 25px;}
.main2-right-1 .main2-school h5 small { color:#fff; margin:20px 0 0;}

.main2-right-2 { background:url(../Images/banner3.jpg) no-repeat; background-position:center; height:350px; background-size: 100% 100%; padding:25px; position:relative; }
.main2-right-2 h3 { font-size:30px; color:#fff; margin:0px 0px 20px;}
.main2-right-2 .main2-view { position:absolute; text-align:center; width:100%; top:40%; left:0; font-size:19px; color:#fff;}
.main2-right-2 .main2-view a { padding:5px 15px; color:#fff; font-size:17px; border:1px solid #fff; margin:10px 0 0; display:inline-block; text-decoration:none; }
.main2-right-2 .main2-view a:hover { background-color:#fff; color:#000; transition:0.3s all; }
.background-color4 .tab-content2 ul > li{border-bottom: 1px solid #fff;font-weight: normal;margin-top: 5px;}
.next-generation-wrapper .next-generation ul > li > a > div > span.community_title {display: inline-block;width: 100%;text-align:left;
white-space: nowrap;overflow: hidden;text-overflow: ellipsis;font-size: 17px;color: #fff;text-decoration: none;
}
.next-generation-wrapper .next-generation ul > li > a > div > span.community_date{font-size: 17px;color: #fff;text-decoration: none;    width: 100%;
display: inline-block;text-align: left;}
.next-generation-wrapper .next-generation ul > li > a > div {    padding: 5px;margin: 10px 0;border-bottom: 1px solid rgba(255,255,255,.3);}
.next-generation-wrapper .next-generation ul > li:last-child > a > div{border:none}
.next-generation-wrapper .next-generation ul > li:first-child > a > div{margin-top:0px;}
/* main3 s */

#main-3 { padding-bottom: 25px; text-align: center;}
#main-3 .main3-icon {display: inline-block;width: 100%;padding: 30px 0px;border: 1px solid #e5e5e5;}
#main-3 .main3-icon a {text-decoration: none;color: #000;font-size: 17px;}
#main-3 .main3-icon li{float: left;border-left: 1px solid #e5e5e5;text-align: center;width: 16.5%;/*overflow: hidden;*/
height: 115px;}
#main-3 .main3-icon a:nth-child(1) li{border:none;}
#main-3 .main3-icon li p {margin: 10px 0px 0px;font-weight: bold;}

/* main3 e */

#main-5{}
.pic-href{color:#fff;}
.pic-href .pic-div{position: relative; height: 190px; background-size:100% 100%;background-repeat:no-repeat;}
.pic-href .pic-title{background-color: rgba(0,0,0,.6);padding: 5px;text-align: center;font-size: 15px;
position: absolute;bottom: 0;width: 100%;}
.pic-href:hover .pic-title,.pic-href:focus .pic-title{font-weight:bold;color:#fff;}
/* main5 e */
/*다음세대*/
.next-generation-wrapper .next-generation {position:relative; padding: 24px;  height: 350px;}
.next-generation-wrapper .next-generation > .next-generation-title {margin-bottom:15px;color:white; display:block;text-decoration:none; font-size:28px;letter-spacing: -1.5px;}
.next-generation-wrapper .next-generation > .next-generation-btn { float:right;}
.next-generation-wrapper .next-generation > .next-generation-btn > img { position:absolute;top:0;right:0;}
.next-generation-wrapper .next-generation .documents a{display:inline-block;padding-left:5px;padding-right:5px; text-align:center;width:100%;}
.next-generation-wrapper .next-generation .documents .generation_img {margin:5px 0px; width:auto; height:180px;}

.next-generation-wrapper .next-generation .documents .tab-content p { font-size:16px; color:white; text-align:center; text-overflow: ellipsis;white-space: nowrap;overflow: hidden;margin-bottom: 2px;}
.next-generation-wrapper .next-generation .documents .generation_date {word-break:keep-all; font-size:14px!important;color:#D7D9D8!important; }
.next-generation-wrapper .next-generation .nav-tabs > li{display:inline-block;text-align:center; float:inherit;}
.next-generation-wrapper .tab-dots {text-align:center; width: 100%;    position: absolute;  left: 0;  bottom: 15px;}
.next-generation-wrapper .tab-dots > li {margin-left:3px;margin-right:3px;}
.next-generation-wrapper .tab-dots > li > a {display: inline-block;width: 12px;height: 12px;background: #e7e4df;cursor: pointer;border-radius: 50%; padding: 0;}


/* 다음세대 css */

/*#main2 .text-center span:hover { display:inline-block; padding: 5px 20px; background-color: #B8E6FF; border:1px solid #BEBEBE; border-radius:10px; margin:0px 3px; color:#fff; transition:0.2s all ease;}*/

#main-quick { text-align:center; background:rgba(30,60,98,1);}

#main-quick a { text-decoration:none; color:#fff; }
#main-quick img { display:inline-block; margin-right:15px;}
#main-quick p { display:inline-block;vertical-align:middle; font-size:18px; margin:0;}
#main-quick > div > div > a > div { padding: 15px 0px; border-right: 1px solid white; position:relative; }
#main-quick > div > div  div {background:rgba(30,60,98,1); height:115px;}
#main-quick > div > div > a > div:first-child{border-left:1px solid white;}
#main-quick > div > div > a > div:hover {opacity: 0.9 !important;transition: 0.4s all ease;}
#main-quick > div > div > a > div> span {    font-size: 18px; display: inline-block; width: 100%;position: absolute;top: 50%;left: 50%;transform: translateX(-50%) translateY(-50%);}



/*메인 공지사항 성가대찬양*/
.bottom-latest .latest-wrapper {
    padding: 30px;
    width: 100%;
    height: 100%;
    position: relative;
}
    .latest-third {
        overflow: hidden;
        padding: 0;
        position: relative;
        margin-bottom: 30px;
        height: 350px;
        /*background-color: #3b3825 !important;
        background-image: url('../Images/board_bg1.jpg');
        border: 1px solid transparent;*/
    }
.latest-wrapper a.latest-title {
    font-size: 28px;
    color: #eee;
    text-decoration: none;
    margin-bottom: 35px;
    display: inline-block;
}
.latest-wrapper a.latest-title2 {
    font-size: 28px;
    color: #000;
    text-decoration: none;
}
.latest-wrapper a.latest-btn {
    position: absolute;
    right: 0;
    top: 0;
}
.background-color {
    background: url('/UserData/imsil/Layouts/imsil_Layout/Images/praise_bg.png');
}
.background-color2 {
    background:white;
}
.background-color3 {
    background: #88AACD;
}
.background-color4 {
    background: #88C5CD;
}
.background-img {
    background: url('/UserData/imsil/Layouts/imsil_Layout/Images/notice.png');
}
.background-img2 {
    background: url('/UserData/imsil/Layouts/imsil_Layout/Images/story.png');
}
.background-img3 {
    background: url('/UserData/imsil/Layouts/imsil_Layout/Images/organ01.png');
}
.background-img4 {
    background: url('/UserData/imsil/Layouts/imsil_Layout/Images/organ02.png');
}
.background-img5 {
    background: url('/UserData/imsil/Layouts/imsil_Layout/Images/organ03.png');
}
.background-img6 {
    background: url('/UserData/imsil/Layouts/imsil_Layout/Images/organ04.png');
}

    .background-color2 .latest-wrapper ul > li {
        border-bottom: 1px solid #000;
        font-weight: normal;
        margin-top: 4px;
        width: 100%;
        display: inline-block;
    }
.latest-wrapper ul > li a{
    text-decoration:none;
}

    .latest-wrapper ul > li > a > span.choir_title {
        display: inline-block;
        text-overflow: ellipsis;
        white-space: normal;
        overflow: hidden;
        width: 100%;
        padding-right:15px;
        word-break:keep-all;
        color: white;
        font-size: 25px;
    }

    .latest-wrapper ul > li > a > span.choir_date {
        display: inline-block;
        margin-bottom: 10px;
        font-size: 20px;
        color: white;
    }

.latest-third .latest-wrapper ul > li > a > div > span.community_title {
    font-size: 16px;
    color: black;
    text-decoration: none;
}
.latest-third .latest-wrapper ul > li > a > div > span.community_date {
    font-size: 15px;
    color: black;
    text-decoration: none;
}
.main-1-right .latest-wrapper .tab-content {
   position:absolute;
   top:50%;
   margin-top:-50px;
}
.main-1-right .latest-wrapper .tab-content2 {
    position: absolute;
    top: 45%;
    margin-top: -80px;
    width:80%;
}
/* 성가대 찬양 css End*/
.font-color4 {
    color: #fff !important;
}
.latest-third .latest-wrapper ul > li > a >div >span.community_title {
    display: inline-block;
    width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*임실교회 작업*/
.main-1-left, main-1-right{height:350px;}
.sermon_box,.song_box{height:300px;padding:30px;}
.sermon_btn .nav-tabs li{width:50%;}
.song_btn .nav-tabs li{width:33%;}
.song_btn .nav-tabs li:nth-child(3){width:34%; float:right;}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover{border: hidden; outline: none;}
.sermon_btn .nav-tabs li a,.song_btn .nav-tabs li a{background-color: #505050;border: hidden;outline: none;margin: 0;border-radius: 0px;text-align: center;color: #EEEEEE;
font-size: 18px;font-weight: bold;letter-spacing: 1.5px;padding:12px;}
.sermon_btn .nav-tabs li.active a,.song_btn .nav-tabs li.active a{background-color: #222222; color: #EEEEEE;}
.documents li{color:#fff;}
.documents li a{font-size: 28px;text-decoration: none;color: #fff; overflow:hidden;}
.documents li a:hover,.documents li a:focus{font-weight:bold;}
.documents li h4{font-size: 27px;margin-bottom: 20px;}
.documents li h3{font-size: 22px;}
.documents li h5{font-size: 16px;margin: 15px 0;}
.main-1-left .documents{word-break: keep-all;background: url(../Images/sermon.png) no-repeat;background-position: center;
background-size: 100% 100%;}
#tow1{word-break: keep-all;background: url(../Images/praise01.png) no-repeat;background-position: center;
background-size: 100% 100%;}
#tow2{word-break: keep-all;background: url(../Images/praise02.png) no-repeat;background-position: center;
background-size: 100% 100%;}
#tow3{word-break: keep-all;background: url(../Images/praise03.png) no-repeat;background-position: center;
background-size: 100% 100%;}
.nav-tabs > li.active > a{color: #555;cursor: default;background-color: #fff;}
#main-4 .main4-gallery .pictures .pictures-wrapper{overflow: hidden;position: relative;right: 0%;width: 100%;}
@media(min-width:1300px) {
    #main-quick .container {width:1300px;}
}
@media (min-width:1200px) and (max-width:1499px) {
    .main-right-2 .tab-content li { width:200px;}
    .main-2-right2 .tab-content li { width:200px;}
    #main-3 .main-3-right { padding:15px 20px;}
    #main-3 .main-3-right img { margin-right:15px;}
}

@media (min-width:992px) and (max-width:1199px) {
    .next-generation-wrapper .next-generation > .next-generation-title{font-size: 23px;}
    #main-4 .main4-gallery .document img{width:125px;}
    #main-4 .main4-gallery .pictures .pictures-wrapper{width: 80%;}

}

@media (min-width:768px) and (max-width:991px) {
    #main-2{margin: 15px 0px;}
    #slogan{padding: 20px 0;}
    .main-1-left, main-1-right{margin-bottom: 15px;}
    #main-2 > .container > .row > div{padding:15px;}
    .pic-href .pic-div{height:232px;}
    .background-img3,.background-img4{margin-bottom:15px;}
    #main-4 .main4-gallery .pictures{width:660px;}
    #main-4 .main4-gallery .pictures .pictures-wrapper{width:100%;}
    #main-3 .main3-icon li p{font-size:15px;}
    .main-1-left, main-1-right{height:420px;}
    .sermon_box, .song_box{height: 369px;}
}

@media (max-width:767px) {
    #slogan{padding: 20px 0;}
    #slogan .top-div ul{width: 100%; left: 0;}
    #slogan .top-div ul li:nth-child(3){font-size: 28px;position: relative;top: 0;left: 0;letter-spacing: 0;}
    #slogan .top-div ul li:nth-child(2){position: relative;top: 0;left: 0;font-size: 32px;width: 45%;margin: 0 auto;}
    #slogan .top-div ul li:nth-child(2) hr{border: solid #000 1px; margin: 5px auto;}
    #slogan .top-div ul li:nth-child(1){font-size: 30px;}
    .main-1-left, main-1-right{height: 250px;}
    .sermon_box, .song_box{height: 176px; padding: 15px;}
    .documents li h4{font-size: 24px; margin: 5px 0;}
    .documents li h5{font-size: 17px; margin: 10px 0;}
    .documents li a{font-size: 19px;}
    .documents li h3{font-size: 17px; margin: 4px 0;}
    .pic-href .pic-div{height:232px;}
    #main-3 .main3-icon li{width:33%;height: 125px;}
    #main-4 .main4-gallery .pictures .pictures-wrapper{right: 2%;}
    .background-img, .background-img2, .background-img3, .background-img4, .background-img5, .background-img6, .background-color3{margin-bottom:15px;}
    .main4-gallery{margin-bottom:15px;}
    #main-4{margin:0;}
    
}

@media (max-width:320px) {
    #main-4 .main4-gallery .pictures { width: 80%; height: 100%;top: 25%;}
}
