@import "http://webfonts.ru/import/nautilus.css";

	/* 1. CSS resets
	2. Universal styles
	3. Portfolio styles
	4. CSS3 flip
	5. Timeline styles
	6. Contact styles
	7. Media queries */


/* 1. CSS resets 
--------------------------------------*/
p {	margin: 0; }
ul { padding: 0; }
li { list-style: none; }
a { text-decoration: none; }

/*  2. Universal styles
--------------------------------------*/

/* * {	font-family: 'Open Sans', sans-serif; } */
* {	font-family: 'Nautilus Pompilius'; }
body { background:url("../images/back11.png");margin-top:0;}

h1 {
	font-size: 30px;
	line-height: 1.5;
	text-shadow: 1px 1px 1px rgba(167, 221, 255, 0.5);
	margin: 0 0 10px 0;
}

/* h2 { color: #909090; } */
h2 {color: #FFFFFF;}

h1, h2, h3 { font-weight: 300; }

h2, h3, footer i { font-size: 18px; }

form, ul { font-size: 20px; }

p, ul {font-size: 21px;}

.subtitle { font-weight: bold; color: #909090; }

.portfolio-group .detail p { font-size: 15px; }

footer p, address {	font-size: 14px; }

#templatemo_timeline .time_line_paragraph h1 { font-size: 24px; }

#logo a {	
/* top: 8px;
position: relative;
left: 40px; */
margin:-13px 18px;
position: absolute; 
}
#logo, #templatemo_timeline i {	font-size: 50px; }

.main-container { 
	max-width: 1200px;
	margin: 0 auto;	
	/* background: rgb(26, 24, 24); */
	background:url("../images/background.jpg");
	box-shadow: 0 0 5px rgba(107, 110, 112, 0.4); 
}

.content-container {
	box-sizing: border-box;
	max-width: 1170px;
	width: 100%;
	margin: 0 auto;
	padding: 15px;
}
.content { padding-top: 15px; }

.main-nav { border-bottom: #DDDDDD 1px solid; }

.main-nav li {
	margin-right: 2px;
	/* background-color: rgba(255, 255, 255, 1); */
	background-color: /* #B46A11 */#513A1E;
	box-shadow: 1px 1px 1px rgba(80, 80, 80, 0.4);
}

.main-nav li a { display: block; padding: 12px 24px; }

/* .main-nav li.active { background-color: #A7DDFF; padding: 12px 24px; } */
.main-nav li.active { background-color: /* #E97F00 */#3F2715; padding: 12px 24px; color: white;}

/* .main-nav li a:hover { background-color: DFF; } */
.main-nav li a:hover { background-color:  #F6C929; }


nav {
	overflow: hidden;
	padding: 20px 30px 20px 20px;
}

ul.nav {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

ul.nav li {	cursor: pointer; display: inline-block; }
ul.nav li.active {	cursor: default; }
ul.nav li, .portfolio-group .detail h3, .templatemo_form button {
	/* text-transform: uppercase; */
	    text-transform: capitalize;
}

p { line-height: 1.8em; }
a { color: white; } 
i {	color: #909090; }
footer {
	margin-top: 10px;
	padding: 15px 20px 10px 20px;
	overflow: hidden;
	/* background-color: rgba(237, 237, 237, 0.4); */
	clear: both;
}
footer p {	
	float: left;
	margin-top: 6px;
	color: white;
}
footer i {	
	display: inline-block;
	padding: 5px; 
}
footer i:hover, footer i:active { color: #F6C929; }

ul.checkmark li:before { 
	font-family: 'FontAwesome'; 
	content: '\f058'; 
	margin:0 5px 0 -15px; 
	color: #929292; 
} 
ul.pad-left {	
	overflow: auto;	
	padding-left: 30px;	
	line-height: 1.8em; 
}
img.shadow { box-shadow: 5px 10px 10px -5px rgba(0,0,0,0.5); }
p.justify { text-align: justify; }
.templatemo-detail img { 
	max-width: 250px; 
	width: 100%; 
	height: auto;
	margin-right: 15px;	
	margin-bottom: 15px; 
}
.fa { margin: 6px; color: #E97F00;}
.left { float: left; }
.right { float: right; }
.center-text { text-align: center; }

/* 3. Portfolio styles
-----------------------------------------*/
#portfolio-content {
	margin:  0 auto;
	display:-webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}
#portfolio-content img { 
	width: 250px; 
	height: 250px; 
	border:0px ;
	border-radius: 5px;
}
.portfolio-group {
	display: inline-block;
	width: 250px;
	height: 250px;
	position: relative;
	margin: 15px 10px;
}
.portfolio-group img {
	width:100%;
	height:100%;
	position:absolute;
	display:block;
	box-shadow: 5px 10px 10px -5px rgba(0,0,0,0.5);
}
.portfolio-group .detail {
	display:block;
	width:100%;
	height:100%;	
	position:absolute;
	/* background-color: rgba(255, 255, 255, 0.7); */
	background-color:#181718;
	box-shadow: 5px 10px 10px -5px rgba(0,0,0,0.5);
}
.portfolio-group .detail h3 {
	padding: 15px 10px 0 10px;
}
.portfolio-group .detail p {
	/* text-align: justify; */
  padding: 0px 2px 11px;
  line-height: 19px;
}
.portfolio-item { 
	display:block; 
	width:100%; 
	height:100%; 
}
.portfolio-item .btn {
	width: 80px;
	height: 30px;
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: 5px;
	/* background-color: rgba(255, 255, 255, 0.5); */
	background-color: #B46A11;
	-webkit-box-shadow: 1px 1px 1px rgba(51, 51, 51, 0.44);
	-ms-box-shadow: 1px 1px 1px rgba(51, 51, 51, 0.44);
	box-shadow: 1px 1px 1px rgba(51, 51, 51, 0.44);
}
.portfolio-item .btn:hover { background-color: #6F88EE; }
.pagination { width: 100%; }
.pagination li {
	width: 30px;
	height: 30px;
	line-height: 30px;	
	background-color: white;
	-webkit-box-shadow: 1px 1px 1px rgba(51,51,51,0.4);
	-ms-box-shadow: 1px 1px 1px rgba(51,51,51,0.4);
	box-shadow: 1px 1px 1px rgba(51,51,51,0.4);
	margin-right: 10px;
	border: 1px solid rgba(44, 44, 44, 0.1);
}
.pagination li:last-child {	margin-right: 0; }
.pagination li.active, .pagination li:hover { background-color: #A7DDFF; }

/*  4. CSS3 flip
	http://stackoverflow.com/questions/13474210/css3-3d-flip-animation-ie10-transform-origin-preserve-3d-workaround
	http://www.cssplay.co.uk/menu/css3-3d-card.html
	http://cssdeck.com/labs/gddxuzki
-------------------------------------------------------------------------------------*/
.portfolio-group .portfolio-item img,  .portfolio-group .portfolio-item .detail {
	-webkit-transition:0.5s ease-in-out;
	-moz-transition:0.5s ease-in-out;
	transition:0.5s ease-in-out;
}
.portfolio-group .detail {
	-moz-transform:perspective(800px) rotateY(180deg);
	-webkit-transform:perspective(800px) rotateY(180deg);
	transform:perspective(800px) rotateY(180deg);
}
.portfolio-group img {
	-moz-transform:perspective(800px) rotateY(0deg);
	-webkit-transform:perspective(800px) rotateY(0deg);
	transform:perspective(800px) rotateY(0deg);
}
.portfolio-item:hover > .detail {
	-moz-transform:perspective(800px) rotateY(0);
	-webkit-transform:perspective(800px) rotateY(0);
	transform:perspective(800px) rotateY(0);	
}
.portfolio-item:hover > img {
	-webkit-transform:perspective(800px) rotateY(-179.9deg);
	-moz-transform:perspective(800px) rotateY(-179.9deg);
	transform:perspective(800px) rotateY(-179.9deg);	
}
.portfolio-group img, .portfolio-group .detail {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* 5. Timeline styles
--------------------------------------------------------------*/
#templatemo_timeline { background: #fff; }
#templatemo_timeline .container-fluid {
    background: url("../images/time_line_bg.jpg") repeat-y center top;
}
#templatemo_timeline .time_line_caption {
    background: #f15556;
    padding: 10px 20px 10px 20px ;
    border-radius: 5px;
    line-height: 40px;
    clear: both;
    color: #fff; 
}
#templatemo_timeline .time_line_paragraph {
    background: #e6e6e6;
    border-radius: 5px;
    margin-top: 50px;
    overflow: hidden;
}
#templatemo_timeline {	margin-top: -50px; }
#templatemo_timeline .time_line_paragraph a {
    color: #000;
    text-decoration: underline;
}
#templatemo_timeline .time_line_paragraph h1 {
    text-align: left;
    margin: 0;    
    line-height: 30px;
    color: #000;
    padding: 20px 20px 20px 20px;
    clear: both;
}
#templatemo_timeline .time_line_paragraph p {
    padding: 0px 20px 20px 20px;
    text-align: left;
    margin: 0;
    line-height: 2em;
    color: #000;
}
#templatemo_timeline i { padding: 20px 20px 0 0; }

/*	6. Contact Styles 
--------------------------------------------------------------*/
.templatemo_contactmap {
	float: left;
	width: 60%; 
	height: auto; 
	max-width: 680px; 
	max-height: 400px; 
	padding-right: 15px;
	margin-bottom: 30px;
	box-sizing: border-box;
}
#templatemo_map { 
	width: 100%; 
	height: 400px; 
}
form {
	float: right;
	font-weight: 400;	
  	max-width: 470px;
  	width: 40%;
}
address {
	margin: 15px 0px;
	color: white;
	font-size: 15px;
}
address.head {
top: 2%;
left: 30%;
font-size: 17px;
position: absolute;
}
span.btn {
	display: block;
	font-size: 13px;
	line-height: 30px;
	margin: 0 auto;
	text-transform: capitalize;
	border: none; 
	cursor: pointer; 
}
.templatemo_form button {
  width: 160px;
  line-height: 34px;
  color: #ffffff;
  border-radius: 0px;
  background: #a2c044;
  border: none;
  margin-top: 10px;
}
.templatemo_form input {
	height: 34px;	
	margin-bottom: 5px;
}
.templatemo_form textarea {
  	height: 130px;
}
.templatemo_form input, .templatemo_form textarea {
	font-family: 'Open Sans', sans-serif; /* for Firefox */
	font-size: 14px; 
	padding: 6px 2%;
	width: 95%;
	border: 1px solid #e5e5e5;
}

/* 7. Media queries 
-----------------------------------------------------*/
@media screen and (max-width: 980px) {
	.templatemo_contactmap { 
		width: 100%; 
		max-width: 600px; 
		margin-left: auto; 
		margin-right: auto;
		padding: 0;
		float: none;
	}
	form {	
		float: none;
		max-width: 600px; 
		width: 100%;
		margin: 15px auto;
	}
}


@media screen and (max-width: 806px) and (min-width: 701px) {
	#logo {
	  /*      float: none;
		text-align: center;
		margin: 1px 2px;
		width:10%;
		height: 10%; */
		/* margin: 214px -7px; */
		 top: 4px;
		left:2px;
        position: relative;
	}
	.main-nav ul { float: none;}
	address.head { display:none;}
}

@media screen and (max-width: 1100px) {

address.head{ display:none;}

}
@media screen and (max-width: 700px) {
#logo {
		float: none;
		text-align: center;
		margin: 230px -7px;
		position:absolute;
		display:none;
	} 
	.main-nav ul {
		display: block;
		float: none;
		padding: 0;
	}
	.main-nav ul.nav li {
		width: 96%;
	}
	address.head { display:none;}
	.main-nav ul.nav li a { padding: 2%; }
	.main-nav ul.nav li.active { padding: 0; padding: 2% 0; }
	.main-nav ul.nav li a:hover { padding: 2%; }

	header {
		padding-top: 0;
		padding-bottom: 0;
	}
	h1 { margin-top: 0;	}
	h2 { margin-bottom: 20px; }
	form {
		width: 100%;
	}
}
@media screen and (max-width: 600px) {
	.about-detail ul { padding-left: 20px;	}
	address.head { display:none;}
	img.left {
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	footer p {
		float: right;
		margin-bottom: 15px;
	}
	.social { clear: both; }
}
@media screen and (max-width:480px) {
	.main-nav li { 
		margin-left: 0; 
		margin-right: 0;	
	}
	.main-nav ul.nav li.active { padding: 0; padding: 2% 0; }
	 address.head { display:none;}
}
@media screen and (max-width:400px) {
	
address.head { display:none;}
		
	.main-nav li {
		width: 80px;
	    margin-left: 0;
	    margin-right: 0;
	    font-size: 12px;
	    text-align: center;
	    line-height: 30px;
	}
	.main-nav ul.nav li a { padding: 2%; }
	.main-nav ul.nav li.active { padding: 0; padding: 2% 0; }
	.main-nav ul.nav li a:hover { padding: 2%; }
}