/* 
 * 작성자 : 정인학
 * 작성일 : 2016-08-02
/*

/*-----------------------------------*\
	FONT
\*-----------------------------------*/

@font-face {
    font-family: MontserratB;
    src: url(../common/font/Montserrat-Bold.otf.eot);
    src: local("몬트세랫 볼드"), url(/common/font/Montserrat-Bold.woff) format("woff");
}

@font-face {
    font-family: MontserratSB;
    src: url(../common/font/Montserrat-SemiBold.otf.eot);
    src: local("몬트세랫 세미볼드"), url(/common/font/Montserrat-SemiBold.woff) format("woff");
}

@font-face {
    font-family: MontserratR;
    src: url(../common/font/Montserrat-Regular.otf.eot);
    src: local("몬트세랫 레귤러"), url(/common/font/Montserrat-Regular.woff) format("woff");
}

@font-face {
    font-family: MontserratL;
    src: url(../common/font/Montserrat-Light.otf.eot);
    src: local("몬트세랫 라이트"), url(/common/font/Montserrat-Light.woff) format("woff");
}

@font-face {
    font-family: MontserratUL;
    src: url(../common/font/Montserrat-UltraLight.otf.eot);
    src: local("몬트세랫 울트라 라이트"), url(/common/font/Montserrat-UltraLight.woff) format("woff");
}

@font-face {
    font-family: NanumBrush;
    src: url(../common/font/NanumBrush.otf.eot);
    src: local("나눔브러시"), url(/common/font/NanumBrush.woff) format("woff");
}


/*-----------------------------------*\
	COMMON
\*-----------------------------------*/

* {
    word-break: keep-all;
}

html,
body {
    width: 100%;
    height: 100%;
}

img,
a {}

h1 {
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    font-family: "MontserratL", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h4 {
    font-size: 14px;
    font-weight: bold;
    font-family: "MontserratL", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

p {
    font-size: 18px;
    text-align: center;
    font-family: "MontserratUL", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.line {
    border-width: 3px;
    max-width: 50px;
}

.form-control {
    color: #8d8e8e;
}


/* 하단 메세지 보내기 텍스트 컬러 */


/*-----------------------------------*\
	NAV
\*-----------------------------------*/

.navbar {
    padding: 15px 0;
    -webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
    transition: background .5s ease-in-out, padding .5s ease-in-out;
}

.navbar .container-fluid .navbar-header a {
    margin-left: 20px;
}

.navbar .container-fluid .collapse ul {
    margin-right: 20px;
}

.top-nav-collapse {
    padding: 0;
}

.navbar-inverse {
    background: transparent;
    border: 0;
}

.navbar-inverse .navbar-nav>li>a,
.navbar-inverse .navbar-header>a {
    color: #fff;
    font-weight: bold;
    font-family: "MontserratUL", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
    border-bottom: 3px solid #f05f40;
    background: transparent;
}

.top-nav-collapse {
    background: rgba(46, 46, 46, 0.85);
}

@media (max-width: 767px) {
    .navbar-inverse .navbar-nav>.active>a,
    .navbar-inverse .navbar-nav>.active>a:focus,
    .navbar-inverse .navbar-nav>.active>a:hover {
        border-bottom: 0;
    }
    .nav>li>a {
        padding: 10px 35px;
    }
    .top-nav-collapse {
        background: rgba(46, 46, 46, 0.9);
    }
    .navbar-inverse .navbar-toggle:focus,
    .navbar-inverse .navbar-toggle:hover,
    .navbar-toggle {
        border: 0;
        background: transparent;
    }
    .navbar-inverse .navbar-collapse {
        background: rgba(46, 46, 46, 0.85);
    }
}


/*-----------------------------------*\
	INTRO
\*-----------------------------------*/

@-webkit-keyframes fadeInUp {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 100%, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 100%, 0);
}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

#intro h1 {
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes bounce {
    from,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes bounce {
    from,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}

#intro a {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

#intro {
    height: 100%;
    padding-top: 100px;
    position: relative;
    background: url('../img/header.jpg') no-repeat center 50%;
    /*	background-attachment: fixed;*/
    /* transition-duration: 25s;*/
    background-size: cover;
    -o-background-size: cover;
}

#intro .title {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.icon-scroll,
.icon-scroll:before {
    position: absolute;
    left: 50.2%;
}

.icon-scroll {
    width: 32px;
    height: 54px;
    margin-left: -20px;
    top: 80%;
    -webkit-box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
    border-radius: 25px;
}

.icon-scroll:before {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    margin-left: -2px;
    top: 8px;
    border-radius: 4px;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: scroll;
    animation-name: scroll;
}

@-webkit-keyframes scroll {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(26px);
        transform: translateY(26px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(26px);
        transform: translateY(26px);
    }
}


/*
#intro:hover {
    transform: scale(1.5);
}
*/

#intro .container .row h1 {
    color: #fff;
}

#intro .container .row .line {
    border-color: #f05f40;
}

#intro .container .row p {
    color: rgba(255, 255, 255, 0.7);
}

#intro .container .row .btn-default {
    border: none;
    border-radius: 300px;
    background: #ee4b28;
    padding: 15px 40px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 40px;
}

#intro .container .row .btn-default:hover {
    background: #eb3812
}

@media (max-width: 767px) {
    #intro .container .row h1 {
        margin-top: 120px;
	}
	.btn-default {
		display: none;
    }
}


/*-----------------------------------*\
	ABOUT
\*-----------------------------------*/

@-webkit-keyframes animatedBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 0;
    }
}

@keyframes animatedBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 0;
    }
}

#about {
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    background: url('../img/text-slide.jpg');
    background-position: 0px 0px;
    background-repeat: repeat-x;
    -webkit-animation: animatedBackground 50s linear infinite;
    animation: animatedBackground 50s linear infinite;
}

#about .container-fluid .row .line {
    border-color: #f05f40;
}

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

#about .container-fluid .row:nth-child(2) {
    margin-top: 80px;
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

#about .container-fluid .row .profile {
    margin-top: 40px;
}

#about .container-fluid .row .about-box p {
    font-size: 14px;
}

@media (max-width: 767px) {
    #about .container-fluid .row:nth-child(2) {
        margin-top: 0px;
    }
    #about .container-fluid .row h1 {
        font-size: 40px;
    }
}


/*-----------------------------------*\
	PORTFOLIO 1
\*-----------------------------------*/

#portfolio1 {
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    background: #fafafa;
}

#portfolio1 .item-box {
    cursor: pointer;
}

#portfolio1 .container-fluid .line {
    border-color: #f05f40;
}

#portfolio1 .container-fluid .row:nth-child(1) p {
    margin-bottom: 35px;
}

#portfolio1 .container-fluid .row:nth-child(2) .item-box {
    margin: 15px;
}

#portfolio1 .container-filter {
    margin: 0 0 30px 0;
    padding: 0;
    text-align: center;
	font-family: Montserratl;
}

#portfolio1 .container-filter li {
    list-style: none;
    display: inline-block;
    cursor: pointer;
}

#portfolio1 .container-filter li a {
    display: block;
    margin-left: 15px;
    margin-right: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
}

#portfolio1 .container-filter li a.active {
    color: #f05f40;
}

#portfolio1 .item-box {
    position: relative;
    overflow: hidden;
    display: block;
}

#portfolio1 .item-box a {
    display: inline-block;
}

#portfolio1 .item-box:hover .item-mask {
    opacity: 1;
    visibility: visible;
}

#portfolio1 .item-box:hover .item-mask .item-caption {
    bottom: 30px;
    opacity: 1;
    color: #fff;
}

#portfolio1 .item-box:hover .item-container {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0s;
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0s;
    width: 100%;
}

#portfolio1 .item-container {
    transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    width: 100%;
    transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
    -moz-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
    -webkit-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
    -o-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
}

#portfolio1 .item-mask {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    height: 100%;
    position: absolute;
    transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}

#portfolio1 .item-mask h5,
.item-mask h6,
.item-mask p {
    margin-bottom: 0px;
}

#portfolio1 .item-mask p {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 400;
    margin-top: 0;
    text-align: left;
}

#portfolio1 .item-mask .item-caption {
    position: absolute;
    bottom: -60px;
    left: 0px;
    padding-left: 30px;
    padding-right: 30px;
    text-align: left;
    transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    opacity: 0;
}

.img-responsive,
.thumbnail>img,
.thumbnail a>img,
.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
    margin: 0 auto;
}

@media (max-width: 767px) {
    #portfolio1 .container-fluid .row h1 {
        font-size: 40px;
    }
}


/*-----------------------------------*\
	FIXED
\*-----------------------------------*/

#fixed .fixed-bg {
    background: url('../img/parallax1.jpg') no-repeat center;
    background-attachment: fixed;
    padding: 120px 0;
    background-size: cover;
}

#fixed .container .row {
    text-align: center;
}

#fixed .container .row .font-awesome {
    padding-top: 30px;
}

#fixed .container .row p,
#fixed .container .row a:hover,
#fixed .container .row i {
    color: #fff;
    text-decoration: none;
}

#fixed .container .row i:hover {
    color: #eb3812;
}

@media (max-width: 767px) {
    #fixed .fixed-bg {
        background: url('../img/parallax1.jpg');
        background-position: -500px -50px;
    }
}


/*-----------------------------------*\
	HISTORY
\*-----------------------------------*/

#history {
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    background: #fff;
}

#history .container .line {
    border-color: #f05f40;
}

#history .container .timeline small {
    color: #8a8a8a;
}

#history .container .timeline {
    position: relative;
    margin-top: 40px;
	font-family: Montserratl;
}

#history .timeline:before {
    background-color: #e8e8e8;
    width: 1px;
    height: 100%;
    content: "";
    position: absolute;
    left: 50%;
    display: block;
    top: 0;
}

#history .timeline .timeline-item {
    position: relative;
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
    margin-bottom: 80px;
    float: left;
    clear: left;
    z-index: 1;
}

#history .timeline .timeline-item:before {
    content: "";
    position: absolute;
    background-color: #cdcdcd;
    border: 1px solid #cdcdcd;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    top: 17px;
    right: -4px;
}

#history .timeline .timeline-item:after {
    content: "";
    right: 0px;
    background-color: #eaeaea;
    left: auto;
    position: absolute;
    top: 20px;
    z-index: -1;
    width: 35px;
    height: 1px;
}

#history .timeline .timeline-item.pull-right {
    position: relative;
    width: 50%;
    padding-left: 40px;
    padding-right: 0;
    margin-top: 80px;
    margin-bottom: 0;
    float: right;
    clear: right;
}

#history .timeline .timeline-item.pull-right:after {
    right: auto;
    left: 0px;
}

#history .timeline .timeline-item.pull-right:before {
    left: -3px;
}

@media (max-width: 767px) {
    #history .container .row h1 {
        font-size: 40px;
    }
}


/*-----------------------------------*\
	PORTFOLIO 2
\*-----------------------------------*/

#portfolio2 {
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    background: #fafafa;
}

#portfolio2 .container .row .line {
    border-color: #f05f40;
}

#portfolio2 .container .row .portfolio-box img {
    -webkit-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
}

#portfolio2 .container .row .portfolio-box img:hover {
    -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translate(0, -4px);
    transform: translate(0, -4px);
    -webkit-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
    cursor: pointer;
}

#portfolio2 .container .row .portfolio-box .modal-dialog .modal-content .modal-body img {
    -webkit-box-shadow: none;
    box-shadow: none;
}

#portfolio2 .container .row:nth-child(2) {
    margin-top: 40px;
}

#portfolio2 .container .row .portfolio-box p {
    font-size: 14px;
    color: #000;
    font-family: "MontserratR", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 20px 0 40px;
}

#portfolio2 .container .line {
    border-color: #000;
}

#portfolio2 .modal .modal-backdrop.in {
    opacity: 0.8;
}

#portfolio2 .container .row:nth-child(3) {
    margin-top: 0px;
}

#portfolio2 img {
	-webkit-filter: grayscale(1); 
	filter: grayscale(1); 
	transition: all 0.4s;
}

#portfolio2 img:hover {
	-webkit-filter: grayscale(0); 
	filter: grayscale(0);
}

.modal-content .modal-header .modal-title {
    color: #000;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}

.modal {
	cursor: url('http://mazedaka.dothome.co.kr/course/scroll/img/cursor-close.png') 19 19, auto;
}

@media (max-width: 767px) {
    #portfolio2 .container .row h1 {
        font-size: 40px;
    }
}


/*-----------------------------------*\
	LOCATION
\*-----------------------------------*/

#location {
    background: #f5f5f5;
    text-align: center;
    padding: 50px 0;
    cursor: pointer;
}

#location .container-fluid .more-btn h1 {
    font-size: 24px;
    font-weight: bold;
}

#location .container-fluid .more-btn span {
    font-size: 20px;
}

#location .container-fluid .more-btn:hover {
    color: #ee4b28
}


/*-----------------------------------*\
	CONTACT
\*-----------------------------------*/

#contact {
    height: auto;
    padding-top: 100px;
    text-align: center;
    background: url('../img/contact-bg.jpg') fixed;
    /*padding: 90px 0 100px;*/
    background-size: cover;
}

#contact .container .row .line {
    border-color: #f05f40;
}

#contact .container .row h1 {
    color: #fff;
}

#contact .container .row p {
    color: #fff;
}

#contact .container .row .address p {
    color: #999999;
    text-align: left;
    font-size: 14px;
}

#contact .container .row .address a {
    color: #ddd;
    text-align: left;
    font-size: 14px;
    text-decoration: none;
    font-style: italic;
    letter-spacing: 2px;
}

#contact .container .row:nth-child(2) {
    margin-top: 40px;
}

#contact .container .row .form-group .form-control {
    background: rgba(96, 112, 125, 0.2);
    border: 0;
	box-shadow: none;
}

#contact .container .row .form-group .btn-default {
    background: #ee4b28;
    border: 0;
    color: #fff;
    padding: 10px 0;
}

#contact .container .row .form-group .btn-default:hover {
    background: #eb3812;
    border: 0;
}

#contact .container .row .form-group .btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: none;
}

#contact .container-fluid .row .copyrights {
    background: #000;
    border-top: 1px solid #333;
    color: #999999;
    padding: 40px;
    margin-top: 215px;
    font-size: 13px;
}

@media (max-width: 767px) {
    #contact {
        height: auto;
    }
    #contact .container .row h1 {
        font-size: 40px;
    }
    #contact .container-fluid .row .copyrights {
        margin-top: 50px;
        padding: 15px;
    }
}
/* top 바로가기 영역 */
#back-top {position: fixed; margin: 0; bottom: 40px; right: 18px; display: block; cursor: pointer; z-index: 999; line-height: 12px; font-size: 10px; padding: 7px; border-radius: 10%; background: #292c35; text-align: center; color: #fff;}
#back-top a {display: block; text-align: center; width: 30px; height: 30px; color: #fff; transition: 1s; text-decoration: none;}
#back-top i {display: block; font-size: 15px;}