@import url('agency.css');


#nav-bg {
    z-index: -1;
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    opacity: .5;
    background: url('../img/pattern.gif') repeat 0 0;

    transition: all 0.5s ease-in-out;
}
#nav-bg.active {
    opacity: 1;
}

.swiper-container {
	width: 100%; height: 600px;
}
.swiper-slide {
    font-size: 0; background: #fff;

    display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex;

    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;

    -ms-flex-pack: center;
    -ms-flex-align: center;

    align-items: center;
    justify-content: center;
}

.banner0 { background: url('/upload/banner/main-image0.jpg') center center no-repeat; filter: brightness(0.80); }
.banner1 { background: url('/upload/banner/main-image1.jpg') center center no-repeat; filter: brightness(0.80); }
/*.banner2 { background: url('/upload/banner/main-image2.jpg') center center no-repeat; filter: brightness(0.50); }*/
/*.banner3 { background: url('/upload/banner/main-image3.jpg') center center no-repeat; filter: brightness(0.80); }*/
/*.banner4 { background: url('/upload/banner/main-image4.jpg') center center no-repeat; }*/

/*
#lecture, #portfolio, #progress, #location, #contact {
	background-color: #fff !important; width: 100%;
}

#lecture, #progress {
	background-color: #fff !important;
}
*/




#contact h3.section-subheading {
    color: #ccc;
}
#location h3.section-subheading > a, #contact h3.section-subheading > a {
    font-size: 18px;
    text-decoration: none;
}




/* signModal */
#signModal button { outline: none; border: 0; }


#signModal .login-group {
    width: 400px; margin: 0 auto;
}
#signModal .input-text {
    display: block;
    width: 100%; height: 45px; margin-bottom: 5px;
    padding: 0 14px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #bfbfbf;
    border-radius: 3px;
    -webkit-box-shadow: 1px 2px 0 rgba(255,255,255,0.75), inset 1px 3px 5px rgba(0,0,0,0.07);
    -moz-box-shadow:    1px 2px 0 rgba(255,255,255,0.75), inset 1px 3px 5px rgba(0,0,0,0.07);
    box-shadow:         1px 2px 0 rgba(255,255,255,0.75), inset 1px 3px 5px rgba(0,0,0,0.07);
}
#signModal form label {
    width: 100%; margin: 0; padding: 0;
    font-size: 10px;
    text-align: left;
    text-transform: uppercase;
}
#login-btn {
    width: 100%; height: 45px;
    color: #fff; background-color: #000;
    padding: 0; margin: 5px 0 0 0;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.send-btn {
    color: #3cc7fe;
    background-color: transparent;
    border: 3px solid #3cc7fe;
    font-family: "Nanum Gothic", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 3px;
    font-size: 18px;
    padding: 10px 30px;
    letter-spacing: -.08em;
}
.send-btn:hover,
.send-btn:focus {
    color: #3cc7fe;
}

#signModal .sign-kakao-btn {
    position: relative;
    width: 100%; height: 40px; line-height: 32px;
    color: #280a0c; font-size: 15px; font-weight: 700; text-align: center;
    background-color: #feda30; border-radius: 3px; border: 1px solid #ffe932;
    letter-spacing: -0.1em;
    -webkit-box-shadow: 1px 2px 5px rgba(32, 7, 9, .4);
    -moz-box-shadow:    1px 2px 5px rgba(32, 7, 9, .4);
    box-shadow:         1px 2px 5px rgba(32, 7, 9, .4);
}
#signModal .sign-kakao-btn i {
    width: 42px; height: 38px; display: inline-block;
    position: absolute; top: 0; left: 0;
    background-image: url('/resource/images/icons/btn-icon-kakao.jpg');
}

#signModal .sign-naver-btn {
    position: relative;
    width: 100%; height: 40px; line-height: 32px;
    color: #fff; font-size: 15px; font-weight: 700; text-align: center;
    background-color: #61c457; border-radius: 3px; border: 1px solid #4fbe3c;
    letter-spacing: -0.1em;
    -webkit-box-shadow: 1px 2px 5px rgba(32, 7, 9, .4);
    -moz-box-shadow:    1px 2px 5px rgba(32, 7, 9, .4);
    box-shadow:         1px 2px 5px rgba(32, 7, 9, .4);
}
#signModal .sign-naver-btn i {
    width: 42px; height: 38px; display: inline-block;
    position: absolute; top: 0; left: 0;
    background-image: url('/resource/images/icons/btn-icon-naver.jpg');
}

#signModal .item-intro.text-muted.info {
    margin: 13px 0;
    font-size: 14px;
}
#signModal .item-intro.text-muted.info span {
    color: #3cc7fe; font-weight: 700;
    font-size: 17px;
}

#signModal .db-check img.img-responsive {
    display: inline-block; width: 93px; margin: 0 auto;
}

#signSuccessModal h4.modal-title {
    display: inline-block;
    font-size: 20px; font-weight: 500; letter-spacing: -.05em;
    padding-right: 3px; text-transform: capitalize;
    /*background: linear-gradient(to right, #00a1b5, #d43f3a);*/

    color: #00a1b5;
    background: -webkit-gradient(linear, left top, right top, from(#00a1b5), to(#d43f3a));
    background: -moz-gradient(linear, left top, right top, from(#00a1b5), to(#d43f3a));
    background: -o-gradient(linear, left top, right top, from(#00a1b5), to(#d43f3a));

    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
#signSuccessModal p {
    margin: 5px 0;
}
#signSuccessModal button[type="button"] {
    font-size: 13px; font-weight: 500;
    text-transform: capitalize;
    background-color: transparent;
}

#signSuccessModal button[type="button"].pull-left {
    color: #00a1b5;
    border: 1px solid #00a1b5;
}
#signSuccessModal button[type="button"].pull-right {
    color: #d43f3a;
    border: 1px solid #d43f3a;
}

#portfolioModal {
    background-color: #fff;
}
#portfolioModal button {
    margin-bottom: 100px;
}


.division-line {
    clear: both;
    width: 400px; height: 29px; margin: 0 auto 30px;
    border-bottom: 1px solid #ccc;
}
.login-group .division-line {
    width: 100%;
}
.login-group .division-line:before {
    content: 'or'; padding: 0 5px;
    color: #bbb; background-color: #fff;
    position: relative; top: 17px;
}

/* public class */
.float-clear {
    clear: both;
}

@media screen and (max-width: 476px) {
    #signModal .login-group {
        width: 300px;
    }
}

@media screen and (max-width: 365px) {
    #signModal .login-group {
        width: 250px;
    }
}

@media screen and (max-width: 767px) {
    #modal-contents img {
        width: 100%;
    }
}

.portfolio-image {
    /*max-width: 100%; height: auto; padding-top: 100%; overflow: hidden;*/
    background-color: #fff;
    width: auto; max-height: 100%; padding-top: 60%; overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
}

.portfolio-caption > h4 {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}



/* ------------------------------ custom ------------------------------ */
::selection {
    background-color: rgba(89, 0, 77, 1) !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:active {
    color: #c187f3 !important;
    font-weight: bold !important;
}
.nav li a:hover,
.nav li a:focus {
    font-weight: bold !important;
    color: #c187f3 !important;
}
header .intro-button {
    color: #fff !important;
    border: 3px solid #fff !important;
    margin-top: 50px;
}
.text-primary {
    color: rgba(89, 0, 77, .8) !important;
}
.motion-group .motion {
    border-bottom:  4px solid transparent !important;
    border-left:    4px solid transparent !important;
    border-right:   4px solid rgba(89, 0, 77, 1) !important;
    border-top:     4px solid rgba(89, 0, 77, 1) !important;
}
.motion-group > p { color: rgba(89, 0, 77, 1) !important; }

.text-muted .emphasis {
    display: block;
    font-weight: 700;
    color: rgba(89, 0, 77, 1);
}
.company-profile {
    display: block; width: 150px; margin: 10px auto 0;
    color: rgba(89, 0, 77, 1); font-weight: bold;
    text-decoration: underline !important;
}
.company-profile:hover,
.company-profile:focus,
.company-profile:visited,
.company-profile:active {
    color: rgba(89, 0, 77, 1);
}
.send-btn {
    color: #fff !important;
    border: 3px solid #fff !important;
}

.portfolio-image {
    background-position: center;
    background-size: cover;
}
.service-group .portfolio-item .portfolio-link .portfolio-hover {
    background: rgba(89, 0, 77, 0.5) !important;
}
#modal-contents img {
    max-width: 100%;
}
.btn-primary {
    background-color: rgba(89, 0, 77, 1) !important;
    border-color: rgba(89, 0, 77, 1) !important;
}
.btn-info {
    color: rgba(89, 0, 77, 1) !important;
    font-weight: bold;
    background-color: transparent !important;
    border: 1px solid rgba(89, 0, 77, 1) !important;
    margin: 0 auto; width: 100px;
}
#signModal .item-intro.text-muted.info span {
    color: rgba(89, 0, 77, 1) !important;
}
.swiper-pagination-bullet-active {
    background: rgba(89, 0, 77, .9) !important;
}


#digeracy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, .8);
}
#digeracy-popup h2 {
    cursor: pointer;
    color: #fff;
    letter-spacing: -1px;
    font-size: 13px;
    padding: 0 15px;
    text-align: center;
    margin: 10px 0;
}
#digeracy-popup h2 span {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

/* -------------------------------------------------- */

#digeracy-mini-window {
    position: fixed; left: 15px; bottom: 15px; z-index: 10000;
    
    background: rgba(51, 51, 51, .92);
    padding: 5px 20px;
}
#digeracy-mini-window.theblue {
    padding: 9px 20px 15px;
}

#digeracy-mini-window a {
    color: #919191; font-size: 12px;
}
#digeracy-mini-window a:hover {
    color: #919191 !important;
}

#digeracy-mini-window a img {
    width: 16px; height: 16px;
    position: relative; top: 4px;
}
#digeracy-mini-window.theblue a img {
    width: 16px; height: 16px;
    position: relative; top: -1px;
}

#digeracy-mini-window a span {
    margin-left: 5px; color: #919191; font-size: inherit;
}
#digeracy-mini-window a strong {
    color: #ffffff; font-size: inherit;
}
#digeracy-mini-window > img {
    position: absolute; top: 7px; right: 7px;
    display: block;
    width: 9px !important; height: 9px !important;
    cursor: pointer;
    background: transparent; border: 0; outline: none;
}

.decoration {
    clear: both; height: 20px;
}