/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #31b29d;
    text-shadow: none;
}

::selection {
    background: #31b29d;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	font-family: sans-serif;
	text-align: center;
	background: #fafafa;
}
section {
	position: relative;
	margin: 0 auto;
	padding: 0 5%;
	max-width: 1200px; 
	background: white;
}
ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}
a {
    color: #31b29d;
	text-decoration: none;
}
.desktop {
	display: none !important;
}
.home {
	position: relative;
	padding: 100px 0;
}
.home header {
	position: absolute;
	z-index: 5;
	width: 100%;
	top: 60px;
	text-align: center;
}
.home .banner {
	position: relative;
}
.home .banner img {
	width: 100%;
	max-width: 1000px;
	height: auto;
	margin: auto;
}
.home footer {
	position: absolute;
	bottom: 25px;
	z-index: 5;
	width: 100%;
	text-align: center;
	font-size: 12px;
}
.about {
	position: relative;
	padding: 25px 0;
	background: #c6c6c6;
}
.about .box {
	position: relative;
	background: white;
	margin: 0 25px;
	padding: 25px;
	text-align: left;
}
.about .box span {
	display: none;
}
.link ul {
	width: 100%;
	max-width: 1000px;
	margin: auto;
}
.link li {
	position: relative;
	margin: 20px;
}
.link li img {
	width: 100%;
	height: auto;
}
.link li .hover {
	position: absolute;
	width: 100%;
	bottom: 0;
	padding: 10px 0;
	background: rgba(0, 0, 0, 0.75);
}
.link li span {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	padding: 20px;
	font-family: sans-serif;
	font-size: 24px;
}
.link li.black a {
	color: black !important;
}
.link li.white a {
	color: white !important;
}
.link li.black .hover {
	color: black;
	background: rgba(255, 255, 255, 0.5);
}
.link li.white .hover {
	color: white;
	background: rgba(0, 0, 0, 0.75);
}
footer.main {
	width: 100%;
	max-width: 1000px;
	padding: 100px 0;
	margin: auto;
	text-align: center;
}
footer.main a {
	color: black;
}
.page {
	position: relative;
	padding: 100px 0 0 0;
}
.page header {
	position: absolute;
	z-index: 5;
	width: 100%;
	top: 60px;
	text-align: right;
}
.page .banner {
	position: relative;
}
.page .banner img {
	width: 100%;
	max-width: 1000px;
	height: auto;
	margin: auto;
}
.details {
	position: relative;
	padding: 25px 0;
	background: #c6c6c6;
}
.details .box {
	position: relative;
	margin: 0 25px;
	padding: 0;
	text-align: left;
}
.details .box .image {
	padding: 25px 0 0 0;
}
.details .box .size,
.details .box .image img {
	width: 100%;
	height: auto;
}
.details .box li {
	float: left;
	width: 100%;
	padding-bottom: 20px;
}
.details .box li img {
	margin: 0 10px 0 0;
}
.gallery .banner {
	position: relative;
}
.gallery .banner .mobile,
.gallery .banner .desktop {
	width: 100%;
	max-width: 1000px;
	height: auto;
	margin: auto;
}
.gallery .owl-controls .owl-prev,
.gallery .owl-controls .owl-next {
	display: none !important;
}
.gallery .owl-controls .owl-dots {
	position: absolute;
	width: 100%;
	bottom: 10px;
	text-align: center;
}			
.gallery .owl-controls .owl-dots .owl-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin: 0 5px;
	background: black;
}				
.gallery .owl-controls .owl-dots .owl-dot.active {
	background: #31b29d;
}	
.back {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 999;
	font-weight: bold;
	color: black;
}				
.back:hover {
	border-bottom: solid 1px black;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */
   
/* -------------------------------------------------- iPhone 6 Portrait */
@media only screen and (min-width: 375px) {
}
/* -------------------------------------------------- iPhone 6 Plus Portrait */
@media only screen and (min-width: 414px) {
}
/* -------------------------------------------------- iPad Portrait */
@media only screen and (min-width: 768px) {
}
/* -------------------------------------------------- iPad Landscape */
@media only screen and (min-width: 1024px) {
}
/* -------------------------------------------------- Desktop from 1025px */
@media only screen and (min-width: 1025px) {
	
					.desktop {
						display: block !important;
					}
					.mobile {
						display: none !important;
					}
					section {
						padding: 0;
					}
					.about {
						padding: 100px;
					}
					.about .box {
						max-width: 1000px;
						height: 640px;
						margin: auto;
						padding: 0;
						background: none;
					}
					.about .box .content {
						position: absolute;
						width: 500px;
						height: 560px;
						padding: 40px;
						text-align: left;
						background: white;
					}
					.about .box p {
						margin: 80px 0;
					}
					.about .box span {
						display: block;
						position: absolute;
					}
					.about .box span img {
						width: 200px;
						height: auto;
					}
					.about .box span.square1 {
						top: 0;
						right: 0;
					}
					.about .box span.square2 {
						top: 220px;
						right: 0;
					}
					.about .box span.square3 {
						top: 440px;
						right: 0;
					}
					.about .box span.rectangular1 {
						top: 0;
						right: 220px;
					}
					.about .box span.rectangular2 {
						top: 330px;
						right: 220px;
					}
					.link li {
						overflow: hidden;
					}					
					.link li.left {
						margin: 2.5% 2.5% 2.5% 0;
						width: 47.5%;
						float: left;
					}
					.link li.right {
						margin: 2.5% 0 2.5% 2.5%;
						width: 47.5%;
						float: left;
					}
					.link li .hover {
						opacity: 0;
						transition: opacity 1s ease-in-out;
					}	
					.link li:hover .hover {
						opacity: 1;
					}	
					.link li img {
						-moz-transition: all 0.5s;
						-webkit-transition: all 0.5s;
						transition: all 0.5s;
					}
					.link li:hover img {
						-moz-transform: scale(1.05);
						-webkit-transform: scale(1.05);
						transform: scale(1.05);
					}	
					.page header {
						position: absolute;
						z-index: 5;
						width: 100%;
						left: 0;
						top: 60px;
						text-align: center;
					}
					.details .box {
						max-width: 1000px;
						height: 650px;
						margin: auto;
						padding: 0;
						background: none;
					}
					.details .box h1 {
						margin: 0;
					}
					.details .box .content {
						position: absolute;
						width: 460px;
						height: 650px;
						text-align: left;
						right: 0;
					}
					.details .box .image {
						position: absolute;
						width: 500px;
						height: 650px;
						padding: 0;
						text-align: left;
						left: 0;
					}
					.details .box ul {
						position: absolute;
						width: 100%;
						bottom: -20px;
					}
					.details .box li {
						width: 50%;
						font-size: 12px;
					}
					.gallery .owl-controls {
						position: absolute;
						width: 100%;
						height: 100%;
						top: 0;
						left: 0;
					}				
					.gallery .owl-controls .owl-prev {
						display: block !important;
						position: absolute;
						width: 10px;
						height: 20px;
						top: 50%;
						left: 50px;
					}				
					.gallery .owl-controls .owl-next {
						display: block !important;
						position: absolute;
						width: 10px;
						height: 20px;
						top: 50%;
						right: 50px;
					}				
					.gallery .owl-controls .owl-dots .owl-dot {
						background: white;
					}				

}
/* -------------------------------------------------- Desktop from 1280px */
@media only screen and (min-width: 1280px) {
}
/* -------------------------------------------------- Desktop from 1600px */
@media only screen and (min-width: 1600px) {
}
@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}