/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: auto;
}

body {
    padding-top: 150px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    overflow-y: scroll;
    background-color:#222222;
    color:#eeeeee;
    font-family: 'Noto Sans KR', sans-serif;

}

.mb-2 {
    margin-bottom: 1rem !important;
}

#mainNav {
    position: fixed;
    padding-top:4px;
    left: 0;
    z-index: 999999;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
}

#mainNav .nav-container {
    display: flex;
    align-items: center;
    width: 100%;
}

#mainNav .nav-ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding-left: 0;
    float: none !important;
}

#mainNav .nav-main-ul {
    flex: 1 1 auto;
}

#mainNav .nav-lang-ul {
    margin-left: auto;
    justify-content: flex-end;
}

.nav-item {
    margin:10px;
    list-style-type: none;
}

.nav-item.nav-lang {
    margin-left: 4px;
    margin-right: 4px;
}

.nav-item.nav-lang .nav-link {
    font-size: 0.9em;
    opacity: 0.85;
}

b, strong {
    font-weight:400 !important;
}

.img-portfolio {
    margin-bottom: 30px;
    border:1px solid #111111;
    padding:1px;
}

.img-hover:hover {
    opacity: 0.8;
    border:1px solid #444444;
    padding:1px;
    }

/* Home Page Carousel */

header.carousel {
    height:auto;
    background-color:#444444;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: auto;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

a {
    color: #f5c451;
}

a:visited {
    color: #dbb15a;
}

a:hover,
a:focus {
    color: #ffdc8b;
    text-decoration: underline;
}

#mainNav .nav-link,
#mainNav .nav-link:visited {
    color: #f5c451;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus,
#mainNav .nav-item.active .nav-link {
    color: #ffdc8b;
}

#links .link-card {
    margin: 0 0 0.95rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(245, 196, 81, 0.28);
    border-radius: 10px;
    background: rgba(245, 196, 81, 0.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#links .link-card:hover {
    background: rgba(245, 196, 81, 0.12);
    border-color: rgba(255, 220, 139, 0.5);
    transform: translateY(-1px);
}

#links .link-card > a {
    display: inline-block;
    font-size: 1.2em;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

#links .link-card-date {
    font-size: 0.82em;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #d8c799;
    margin-bottom: 0.35rem;
}

#links .link-card-preview {
    color: #e9e3d5;
}

.slide-in-caption {
	position: absolute;
	background:rgba(220,220,220,0.7);
	color: #fff;
	z-index: 100;
		-webkit-transition: all 300ms ease-out;
		-moz-transition: all 300ms ease-out;
		-o-transition: all 300ms ease-out;
		-ms-transition: all 300ms ease-out;	
		transition: all 300ms ease-out;
	left: 0;
	width:100%;
	height:100%;
	text-align: left;
	padding:0px;
	left: 0px;
	top:0%;
	opacity:0.0;
	text-align:center;
	padding-left:23%;
	padding-right:23%;
	border:1px solid #111111;
}

.slide-in-caption h3
{
	font-size:14px;
	background:rgba(230,230,230,0.04);
	padding:2%;
	
	color:#000000;
	margin-top:50%;
}

.slide-out-caption {
    position: absolute;
    background:rgba(128,128,255,1.0);
	color: #fff;
	z-index: 100;
		-webkit-transition: all 600ms ease-out;
		-moz-transition: all 600ms ease-out;
		-o-transition: all 600ms ease-out;
		-ms-transition: all 600ms ease-out;	
		transition: all 600ms ease-out;
	left: 0;
	width:100%;
	height:100%;
	text-align: left;
	padding: 0;
	left: 0%;
	top:0%;
	opacity:1;
	padding-right:5px;
	padding-top:25%;
	text-align:right;
	border:1px solid #111111;
}

.slide-out-caption h3
{
	font-weight:normal;
	font-size:35px;
	padding:2%;
	color:#eeeeee;
	margin:0px;
}

.slide-out-caption p
{
	font-weight:normal;
	font-size:18px;
	padding:2%;
	color:#112266;
	margin-top:-15px;
}

.img-portfolio-mainpage:hover .slide-in-caption {
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	opacity: 0.9;
	transform: scale(1.1);
}

.img-portfolio-mainpage:hover .slide-out-caption {
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	opacity: 0.43;
	transform: scale(1.1);
}


/* Responsive Styles */
@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }

    #mainNav .nav-container {
        flex-wrap: wrap;
    }

    #mainNav .nav-main-ul,
    #mainNav .nav-lang-ul {
        width: 100%;
    }

    #mainNav .nav-lang-ul {
        margin-left: 0;
        justify-content: flex-end;
    }
}

.selectable div:hover {
   background-color:#ddffdd;
   cursor:pointer;
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Modal Body */
.modal-body {padding: 2px 16px;}

/* Modal Footer */
.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top: -300px; opacity: 0} 
    to {top: 0; opacity: 1}
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.container {
    font-weight: 50;
    font-size:1.55rem;
}

h2 {
    font-weight:200;
}

.main-bg {
    background-image: url(../data/still01.jpg);
    background-position-y: bottom;
    background-position-x: right;
    background-repeat: no-repeat;
    width: 100%;
    position: fixed;
    top: 0;
    background-size: cover;
    height: 100vh;
    filter: grayscale(1) contrast(2) opacity(0.1);
}

.gray-bar {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    background-color: #222222;
    height:50px;
    z-index: 999;
}