/*  ================================================
	Author: Codeberry
	Name: Scorpio
	URL: https://codeberry.net/product/scorpio
	Version: 1.0
	================================================ */

/* Import fonts and icons */
@import url("font-awesome.min.css");
@import url("bootstrap.min.css");
@import url("http://fonts.googleapis.com/css?family=Lato:400,600");
@import url("http://fonts.googleapis.com/css?family=Playfair+Display:400,600,700");

/* 1. Reset */
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,
img {
	border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style: normal;
	font-weight: normal;
}

ol,
ul,
li {
	list-style: none;
}

caption,
th {
	text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before,
q:after {
	content: '';
}

a img {
	border: none;
}

strong,
b,
strong *,
b * {
	font-weight: bold;
}

em,
i,
em *,
i * {
	font-style: italic;
}

/* 2. Content elements */
html {
	overflow: -moz-scrollbars-vertical;
	overflow-y: scroll;
	height: 100%;
	overflow-x: hidden;
}

body {
	font-size: 15px;
	font-family: "Lato", Helvetica, sans-serif;
	color: #222222;
	background: #f7f7f7;
	height: 100%;
	-webkit-text-size-adjust: 100%;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	line-height: 1.3;
	color: #222222;
	display: block;
	position: relative;
	z-index: 1;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small {
	color: #222222;
}

h1 {
	font-size: 50px;
	line-height: 1.5;
	letter-spacing: -1px;
	margin-top: 0px;
}

h2 {
	font-size: 40px;
	line-height: 1.25;
	letter-spacing: -1px;
	margin-top: 0px;
}

h3 {
	font-size: 26px;
	margin-top: 10px;
	line-height: 1.5;
	margin-bottom: 10px;
}

h4 {
	font-size: 20px;
	line-height: 1.4;
}

h5 {
	font-size: 17px;
	line-height: 1.5;
}

h6 {
	font-size: 14px;
	line-height: 1.5;
}

h1 a:hover
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
	color: #222222;
}

i, em {
	font-family: "Playfair Display", serif;
} 

strong {
	font-weight: 600;
	color: #222222;
}

a,
a > * {
	-webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
	   -moz-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
		-ms-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
			transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

a {
	color: #222222;
	text-decoration: none;
	outline: 0;
	-webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
	   -moz-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
		-ms-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
			transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

a:focus,
a:hover {
	color: #b0e0e6;
	text-decoration: none;
}

*,
*:after,
*:before {
	padding: 0;
	margin: 0;
	text-rendering: optimizeLegibility;
	outline: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

*:focus,
*:after:focus,
*:before:focus {
	outline: 0;
}

*:after,
*:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

p {
	line-height: 1.5;
	padding: 0;
	z-index: 1;
	position: relative;
	opacity: 1;
	-webkit-transition: all 0.2s ease 0s;
			transition: all 0.2s ease 0s;
}

p a,
dl a {
	color: #292b2b;
	text-decoration: none;
}

p a:hover,
dl a:hover {
	color: #3e4040;
	border-bottom: none;
	opacity: 1;
}

/* Clearfix elements */
.clear {
	clear: both;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
 
.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}
 
.clearfix {
	display: block;
}

.hidden {
	display: none;
	visibility: hidden;
}

*,
*:before,
*:after {
	-webkit-font-smoothing: antialiased; /* Prevents font-rendering switches during CSS transitions inside Flexslider for Safari and Chrome under MacOSX */
}

.flexslider {
	-webkit-transform: translateZ(0px);
}

/* Preloader elements */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #f7f7f7;
	z-index: 9999;
}

#status {
	z-index: 28;
	position: absolute;
	color: #ccc !important;
	top: 50%;
	height: 280px;
	width: 100%;
	margin-top: -140px;
}
 
.parent {
	width: 300px;
	margin: 0px auto;
	position: relative;
	height: 280px;
	z-index: 11;
}

.element .parent {
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(51, 51, 51, 0.4);
	-webkit-text-shadow: 0px 0 35px rgba(0, 0, 0, 0.2);
			text-shadow: 0px 0 35px rgba(0, 0, 0, 0.2);
}

.col-medium .parent {
	width: 620px;
	height: 580px;
}

#status .child {
	text-align: center;
}

.parent {
	display: table;
}

.child {
	display: table-cell;
	vertical-align: middle;
	padding: 0;
	padding: 0 35px;
}

.preloader8 {
   width:30px;
   height:30px;
   display:inline-block;
   padding:0px;
   text-align:left;
}

.preloader8 span {
	position:absolute;
	display:inline-block;
	width:30px;
	height:30px;
	border-radius:100%;
	background:#000000;
	-webkit-animation:preloader8 1.6s linear infinite;
			animation:preloader8 1.6s linear infinite;
}

.preloader8 span:last-child {
	-webkit-animation-delay:-0.8s;
			animation-delay:-0.8s;
}

@keyframes preloader8 {
	0% {
		transform: scale(0, 0);
		opacity:0.5;
	}

	100% {
		transform: scale(1, 1);
		opacity:0;
	}
}

@-webkit-keyframes preloader8 {
	0% {
		-webkit-transform: scale(0, 0);
		opacity:0.5;
	}

	100% {
		-webkit-transform: scale(1, 1);
		opacity:0;
	}
}

.col-medium .child {
	padding: 120px;
}
 
.child span {
	text-transform: uppercase;
 }

i.fa {
	font-family: "FontAwesome" !important;
}

/* Buttons */
.button {
	display: block;
	font-family: "Lato", Helvetica, sans-serif;
	font-style: normal;
	font-size: 11px;
	font-weight: 600;
	color: #222222;
	background: rgba(34, 34, 34, .1);
	border: solid 2px rgba(34, 34, 34, 0);
	padding: 12px 30px 13px;
	margin: 5px 0 10px 0;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: 1px;
	display: inline-block;
	border-radius: .25em;
	z-index: 1;
	position: relative;
	-webkit-text-shadow: none !important;
			text-shadow: none !important;
	-webkit-transition: all 0.2s ease 0s;
			transition: all 0.2s ease 0s;
}

.button:focus,
.button:hover {
	color: #ffffff;
	background: rgba(0, 0, 0, .5);
	border: solid 2px rgba(0, 0, 0, 0);
}

.col-medium .button {
	margin-top: 25px;
}

.button i {
	margin-right: 3px;
}

/* Header and main elements */
#main-content {
	width: 100%;
	position: relative;
	padding-left: 80px;
	padding-top: 80px;
	padding-bottom: 30px;
	z-index: 103;
	display: block;
	background: #f7f7f7;
}

#background-color {
	background: #f7f7f7;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 102;
}

.pushed-left #main-content,
.pushed-left #background-color {
	-webkit-transform: translate3d(200px, 0px, 0px);
			transform: translate3d(200px, 0px, 0px);
}

.pushed-left-alt #main-content,
.no-csstransforms3d .pushed-left #main-content,
.pushed-left-alt #background-color,
.no-csstransforms3d .pushed-left #background-color {
	-webkit-transform: translateX(200px);
		-ms-transform: translateX(200px);
			transform: translateX(200px);
}

#main-content,
#background-color {
	-webkit-transition: -webkit-transform 0.33s cubic-bezier(0.33, 0, 0.2, 1) 0s;
			transition: transform 0.33s cubic-bezier(0.33, 0, 0.2, 1) 0s;
}

/* Column elements */
.col-small {
	width: 300px;
	height: 280px;
	margin: 10px;
	background: #eaeaea;
	float: left;
	position: relative
}

.col-medium {
	width: 620px;
	height: 580px;
	margin: 10px;
	background: #eaeaea;
	float: left;
	position: relative
}

.col-medium-alt {
	width: 620px;
	height: 580px;
	margin: 10px;
	background: #eaeaea;
	float: left;
	position: relative
}

.col-large {
	width: 940px;
	height: auto;
	margin: 10px;
	float: left;
	position: relative
}

.col-extra-large {
	width: 1260px;
	height: auto;
	margin: 10px;
	position: relative
}

.col-small.auto,
.col-medium.auto {
	height: auto !important;
}

.col-small.double {
	height: 580px;
}

.col-medium.half {
	height: 280px;
}

.col-small.color {
	padding: 17px 35px;
}

.col-medium.color,
.col-large.color,
.col-extra-large.color {
	padding: 65px 80px;
	/*background: #b0e0e6;*/
	background: #e5e2d8
}

.col-medium.slate {
	padding: 65px 80px;
}

.element .col-small,
.element .col-medium,
.element .col-large {
	margin: 0
}

/* Bottom elements */
.placement-bottom {
	position: absolute;
	bottom: 0px;
	left: 0;
	width: 100%;
	z-index: 2;
	padding: 25px 35px;
	-webkit-text-shadow: 0px 0 30px rgba(0, 0, 0, 0.4);
			text-shadow: 0px 0 30px rgba(0, 0, 0, 0.4);
}

.placement-bottom.no-text-shadow {
	-webkit-text-shadow: 0px 0 30px rgba(0, 0, 0, 0);
			text-shadow: 0px 0 30px rgba(0, 0, 0, 0);
}

.placement-bottom h2 {
	-webkit-text-shadow: 0px 0 30px rgba(0, 0, 0, 0.4);
			text-shadow: 0px 0 30px rgba(0, 0, 0, 0.4);
}

.placement-bottom.right-side {
	padding: 17px 35px;
	text-align: right;
	color: #222222;
	opacity: 1;
}

.col-medium .placement-bottom.left-side {
	color: #222222;
	padding: 65px 80px;
	text-align: left;
	opacity: 1
}

.placement-bottom p {
	opacity: 1;
}

a:hover .placement-bottom {
	background: #393939;
	-webkit-transition: all 0.2s ease 0s;
			transition: all 0.2s ease 0s;
}

a:hover .placement-bottom p {
	color: #222222;
	-webkit-transition: all 0.2s ease 0s;
			transition: all 0.2s ease 0s;
}

.top {
	position: absolute;
	top: 0;
	right: 0;
	padding: 17px 35px;
}
 
.project-title {
	opacity: 1;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 240px;
	padding: 15px 35px 20px;
	-webkit-transition: all 0.2s ease-in-out 0s;
			transition: all 0.2s ease-in-out 0s;
}

.portfolio .project-title h4,
.about .project-title h4 {
	font-size: 26px;
}

.hidden-below {
	opacity: 0;
	position: absolute;
	bottom: -40px;
	left: 35px;
	-webkit-transition: all 0.2s ease 0.1s;
			transition: all 0.2s ease 0.1s;
}

.element:hover .hidden-below {
	opacity: 1;
	bottom: 30px;
	-webkit-transition: all 0.2s ease 0.1s;
			transition: all 0.2s ease 0.1s;
}

.with-hidden-below:hover .project-title {
	bottom: 60px;
	-webkit-transition: all 0.2s ease-in-out 0s;
			transition: all 0.2s ease-in-out 0s;
}

.arrow-wrapper {
	opacity: 0;
	position: absolute;
	right: 45px;
	bottom: 30px;
}

a:hover .arrow-wrapper {
	opacity: 1;
	right: 35px;
	-webkit-transition: all 0.2s ease-in-out 0.1s;
			transition: all 0.2s ease-in-out 0.1s;
}

.overflow,
.element {
	overflow: hidden;
}

.overflow-visible {
	overflow: visible !important
}

.break {
	display: block;
	position: relative;
	height: 20px;
	width: 100%;
}

.whole-tile {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
	z-index: 55;
	padding: 17px 35px;
}

.element-links {
	-webkit-transition: background 0.2s ease 0s;
			transition: background 0.2s ease 0s;
}

.element-links:hover {
	background: #d3d3d3;
	-webkit-transition: background 0.2s ease 0s;
			transition: background 0.2s ease 0s;
}

.loader {
	display:none;
}

/* Image elements */
.images {
	display: block;
	position: relative;
}

.images img {
	width: 100%;
	display: block;
	max-width: 100% !important;
	z-index: 9;
}

 img {
	box-shadow: #000000 0 0 0;
}

.images img {
	opacity: 0.8;
	-webkit-transition: all 0.2s ease 0s;
			transition: all 0.2s ease 0s;
}

.element:hover .images img {
	opacity: 0.6;
	-webkit-transition: all 0.2s ease 0s;
			transition: all 0.2s ease 0s;
}

.element.no-hover:hover .images img,
img.fancybox-image,
.flexslider img {
	opacity: 0.8;
}

.image-above {
	z-index: 2;
	position: relative;
	background: #eaeaea;
	display: block;
	width: 300px;
	height: 280px;
}

.image-below {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
}

.element.hybrid:hover .images img {
	opacity: 0.8;
}

.element.hybrid .image-above {
	-webkit-transition: opacity ease-in-out 0.3s;
			transition: opacity ease-in-out 0.3s;
}

.element.hybrid:hover .image-above {
	opacity: 0;
	-webkit-transition: opacity ease-in-out 0.3s;
			transition: opacity ease-in-out 0.3s;
}

/* List elements */
ul.unordered-list {
	padding: 0px 0px 13px 15px;
}

ul.unordered-list li {
	list-style: circle;
	line-height: 1.5;
	font-size: 15px;
	font-family: "Lato", Helvetica, sans-serif;
	opacity: 0.7;
}

ol {
	padding: 0px 0px 13px 17px;
}

ol li {
	list-style: decimal;
	line-height: 1.5;
	font-size: 15px;
	font-family: "Lato", Helvetica, sans-serif;
	opacity: 0.7;
}

ol li a {
	color: #c3c3c3;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

ol li a:hover {
	color: #222222;
	text-decoration: none;
}

/* Footer elements */
footer {
	margin: 1em;
}

footer .social-media {
	padding-bottom: 10px;
	display: block;
}

footer p {
	font-size: 13px;
}

.copyright-info {
	margin: 2em 0 0 0;
	color: #292b2b;
}

@media only screen and (max-width: 767px) {
	.copyright-info {
		text-align: center;
	}
}

.copyright-info p {
	font-size: 13px;
}

.copyright-info p a:hover {
	color: #222222;
}

/* Social elements */
.social-media {
	font-size: 0;
	display: inline-block;
	margin: 0;
}

.social-media li {
	display: inline-block;
	margin: 5px 15px 0 0;
}

@media only screen and (max-width: 767px) {
	.social-media {
		text-align: center;
	}
}

.social-media li a {
	height: 40px;
	display: table;
	float: left;
	text-align: center;
}

.social-media li a i {
	color: #292b2b;
	font-size: 16px;
	display: table-cell;
	vertical-align: middle
}

.social-media li a:hover i {
	color: #949595;
	font-size: 16px;
}

.project-title .social-media {
	margin-bottom: 15px;
	margin-top: 15px;
}

.social-icon {
	position: absolute;
	bottom: -30px;
	right: 15px;
	text-align: right;
	z-index: 0;
}

.social-icon i {
	font-size: 175px;
	color: #474747;
	opacity: 0.03;
	display: inline-block;
	width: 300px;
}

i.fa.inactive {
	opacity: 0.4
}

/* Responsive elements */
@media only screen and (max-width: 1360px) {
	#main-content {
		width: 990px;
		padding-top: 30px;
		padding-left: 30px;
	}

	.col-extra-large {
		width: 940px;
	}
}

@media only screen and (max-width: 992px) {
	#main-content {
		width: 700px;
		padding-top: 60px;
		padding-left: 60px;
	}

	.col-large,
	.col-extra-large {
		width: 620px;
		height: auto;
	}
}

@media only screen and (max-width: 767px) {
	#main-content {
		width: 320px;
		padding-top: 50px;
		padding-left: 0px;
		margin: 0 auto;
		position: relative;
	}

	.col-medium {
		width: 300px;
		height: 280px;
	}

	.col-large,
	.col-extra-large,
	.col-medium, 
	.col-medium.half {
		width: 300px;
		height: auto;
	}

	.col-medium.color,
	.col-medium.slate {
		padding: 17px 35px;
		height: auto;
	}

	h2 {
		font-size: 26px;
		font-weight: 400;
		margin-top: 10px;
		line-height: 1.3;
		letter-spacing: 0;
	}

	.col-medium .button {
		margin-top: 5px;
	}

	.element .parent {
		-webkit-text-shadow: 0px 0 30px rgba(0, 0, 0, 0.4);
				text-shadow: 0px 0 30px rgba(0, 0, 0, 0.4);
	}

	.col-medium .parent {
		width: 300px;
		height: 280px;
	}

	.col-medium .child {
		padding: 35px;
	}

	.child h3 {
		font-size: 19px;
	}

	.col-medium .placement-bottom {
		position: relative;
		padding: 0 !important;
	}
}

@media only screen and (max-width: 480px) {
	.flexslider .caption {
		position: absolute;
		right: 35px;
		bottom: 18px;
	}

	.element {
		margin-bottom: 0 !important;
	}
}