/*

	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; }
body { background-color: #eee; }

h1 {
	font-size: 30px;
	line-height: 1.5;
	text-shadow: 1px 1px 1px rgba(167, 221, 255, 0.5);
	margin: 0 0 10px 0;
}

h1 .noshdow {
	line-height: 1;
	text-shadow: none;
}

h2 { color: #909090; }

h2.def { color: inherit; }

h1, h2, h3 { font-weight: 300; }

h2, h3, footer i { font-size: 18px; }

p, form, ul { 1.221em; }

.subtitle { font-weight: bold; color: #909090; }

.portfolio-group .detail p { 1.211em; }

footer p, address {	1.221em; }

#templatemo_timeline .time_line_paragraph h1 { font-size: 17px; }

#logo a {
	color: #909090;
	margin-left: 10px;
	margin-right: 10px;
    vertical-align: middle;
}
#logo, #templatemo_timeline i {	font-size: 28px; }


#cpage, .cflag {
  visibility:hidden;
  display:none;
}

#countries-list {
  width:90%;
  padding-top:40px;
  margin-left:20px;
}

#countries-list ul {
    margin-bottom: 80px;
    text-align:left;
}

#countries-list li {
    display: inline-block;
    margin-right:40px;
    width:220px;
    margin-top:15px;
}


#countries-list .cs2 {
  text-decoration: line-through;
  color: #99A9B3;
}

#countries-list li span {
    padding-left: 34px;
    font-size: 17px;
}

#countries-list .alpha {
    background: none repeat scroll 0 0 #A7DDFF;
    color: #FFFFFF;
    display: block;
    font-size: 22px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 20px;
    text-align: center;
    vertical-align: middle;
    width: 40px;

}


.loading-image {
  background: transparent url("loader.gif") center no-repeat;
  margin-bottom: 10px;
}



.sb1 {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: #A7DDFF;
    border-image: none;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 0;
    padding: 5px 10px 5px 5px;
    text-align: center;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    margin-left: 5px;
    color: #2C3E50;
}

.sb2 {
  padding: 0 10px 7px ;
  padding-bottom: 0px;
  text-align: center;
}

.sb-search-input {
    background: none repeat scroll 0 0 #FEFEFE;
    border: 1px solid #D1D1D1;
    color: #2C3E50;
    padding: 10px;
    margin-right:0px;
}

button.sb3 {
  width: 220px;
  line-height: 40px;
  border-radius: 0px;
  background: #A7DDFF;
  border: none;
  margin-top: 5px;
    cursor: pointer;
  text-align:center;
}



#srch input[type=text], #suscribe input[type=text] {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
    outline: none;
  }

#srch input[type=text]:focus, #suscribe input[type=text]:focus {
 box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  border: 1px solid rgba(81, 203, 238, 1);
}


/* whatsapp */
.web{
    font-family:tahoma;
    font-size:12px;
    border-radius:10px;
    padding:10px;
}
.web h2 a{
    text-decoration:none;
    color:#444;
}
.web h2 a:hover{
    text-decoration:underline;
    color:#FF0000;
opacity: 0.75; filter: alpha(opacity=75);
}
.whatsapp{
    background-image: url('../images/whatsapp.png');
    border: 1px solid #5cbe4a;
    display: inline-block;
    position: relative;
    cursor: pointer;
    text-transform: none;
    color: #fff;
    border-radius: 5px;
    background-color: #5cbe4a;
    background-repeat: no-repeat;
    background-position: 5px;
    line-height: 1.2;
    text-decoration: none;
    text-align: left;
    padding: 6px 6px 6px 30px;
    letter-spacing: .6px;
    font-size:16px;
}


.ar {
  background: url('../images/AR.png') left no-repeat;
  padding-left: 30px;
  font-size: 125%;
}


.fr {
  background: url('../images/FR.png') left no-repeat;
  padding-left: 30px;
}


.en {
  background: url('../images/EN.png') left no-repeat;
  padding-left: 30px;
}


#cpage2 ul {
  font-size:18px;
}



.main-container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	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);
	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 a:hover { background-color: #A7DDFF; }

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;
}

p { line-height: 1.8em; }
a { color: black; }
i {	color: #909090; }
i.fa3 {	color: inherit; }



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: #909090;
}
footer i, .social i {
	display: inline-block;
	padding: 5px; 
}
footer i:hover, footer i:active, .social i:hover, .social i:active, .link3 a:hover { color: #A7DDFF; }

ul.checkmark li:before { /*http://astronautweb.co/snippet/font-awesome/*/
	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; }
.fa2 {
  font-family: Georgia,serif;
  color: #909090;
}
.left { float: left; }
.right { float: right; }
.center-text { text-align: center; }
.right-text { text-align: right; }
.just-text { text-align: justify; }
.clrfloat {  clear: both; }


a.link1:hover, #cpage2 a:hover {
/*opacity: 0.75; filter: alpha(opacity=75);*/
color:#A7DDFF;
}


.link2 {
    color: #47A3DA;
    font-weight: 600;
}

a.link3:hover img {
	-webkit-transform: scale(1.03);
	transform: scale(1.03);
    opacity: 0.95;
    filter: alpha(opacity=95);
}

.link4 {
    border-bottom: 1px dotted;
}

a.link5:hover {
opacity: 0.5; filter: alpha(opacity=50);
}

img.imgtop {
  max-height:220px;
}


.nanogallery { display: inline-block }

.picture {
font: 12px/1.4em Arial, sans-serif;
display: inline-block;
overflow: hidden;
max-width: 90%;
vertical-align: top;}

.picture img {
margin: 2px;
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
cursor: -moz-zoom-in;
cursor: -webkit-zoom-in;
cursor: zoom-in;
max-height:250px;
}



.picture2 {
font: 12px/1.4em Arial, sans-serif;
display: inline-block;
overflow: none;
vertical-align: top;
}

.picture2 img {
margin: 2px;
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
cursor: -moz-zoom-in;
cursor: -webkit-zoom-in;
cursor: zoom-in;
max-height:250px;
}


#cpage2 a {
  font-weight:500;
}

.templatemo-detail img.visited {
	max-width: 850px;
	width: 90%;
}

.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 400px;
  margin: 20px auto;
}



/* 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; 
}
.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);
	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: 10px;
	line-height: 1.8em;
}
.portfolio-item { 
	display:block; 
	width:100%; 
	height:100%; 
}
.portfolio-item .btn {
	width: 80px;
	height: 30px;
	border: 1px solid rgba(0, 0, 0, 0.09);
	background-color: rgba(255, 255, 255, 0.5);
	-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);
    font-size:14px;
}
.portfolio-item .btn:hover { background-color: #A7DDFF; }
.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;
}

#disqus_thread{
     position: relative;
     clear:both;
}

#disqus_thread:after{
     content: "";
     display: block;
     height: 55px;
     width: 100%;
     position: absolute;
     bottom: 0px;
     background:white;
}

/* 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 .time_line_paragraph p.rite {
    text-align: right;
}

#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 {
	font-weight: 400;
  	max-width: 470px;
  	width: 40%;
}

form.srchfrm {
  	width: 100%;
}

address {
	margin: 15px 0px;
}

span.btn {
	display: block;
	font-size: 12px;
	line-height: 30px;
	margin: 0 auto;
	text-transform: uppercase;
	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;
	}
	.main-nav ul { float: none;	}
}
@media screen and (max-width: 700px) {
	#logo {
		float: none;
		text-align: center;
	}
	.main-nav ul {
		display: block;
		float: none;
		padding: 0;
	}
	.main-nav ul.nav li {
		width: 96%;

	}
	.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;	}
	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; }
}
@media screen and (max-width:400px) {
	.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%; }
}