@import url(http://fonts.googleapis.com/css?family=Lato|Lobster|Montserrat|Comfortaa);
@import url(https://fonts.googleapis.com/css?family=Amaranth);
@import url(https://fonts.googleapis.com/css?family=Orbitron);
@font-face{
   font-family: "jam";
   font-style: normal;
   font-weight: normal;
   src: url(font/jam.ttf);
}

@font-face{
   font-family: "fso";
   font-style: normal;
   font-weight: normal;
   src: url(../fonts/fso.otf);
}
@font-face{
   font-family: "fico";
   font-style: normal;
   font-weight: normal;
   src: url(../fonts/ElegantIcons.ttf);
}
/*
font-family: 'Lato', sans-serif;
font-family: 'Lobster', cursive;
font-family: 'Montserrat', sans-serif;
font-family: 'Comfortaa', cursive;
*/
/************************************************************************************
RESET CSS
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}#nav > ul > li > a
img, fieldset {
	border: 0;
}
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
	margin: 0;
}
/************************************************************************************
ESTILOS GENERALES
*************************************************************************************/
body {
	background:white url(../adiasis/imagenes/i/bgb.png) repeat-x;

	font: .81em/150% Arial, Helvetica, sans-serif;
	color: #666;
}
.headt1{      background: #093977c7; z-index:11;   width:100%;  position: relative;}



@media only screen and (min-width: 500px) {
.triangulo-2 {
     width: 0;
     height: 0;
     border-left: 100px solid #f0ad4e;
     border-top: 50px solid transparent;
     border-bottom: 50px solid transparent;
}

.arriba-izquierda:before {
  content: "";
position: relative;
top: -60px;
left: 0;
width: 0;
height: 0;
border-width: 0 25px 25px;
border-style: solid;
border-color: transparent transparent white;
}
.arriba-c:before {
  content: "";
position: relative;
top: -60px;
right: -805px;
width: 0;
height: 0;
border-width: 0 25px 25px;
border-style: solid;
border-color: transparent transparent white;
}
.arriba-bg:before {
  content: "";
position: relative;
top: -60px;
right: -355px;
width: 0;
height: 0;
border-width: 0 25px 25px;
border-style: solid;
border-color: transparent transparent white;
}

.arriba-sc:before {
  content: "";
position: relative;
top: -60px;
right: -100px;
width: 0;
height: 0;
border-width: 0 25px 25px;
border-style: solid;
border-color: transparent transparent white;
}

.arriba-obyg:before {
  content: "";
      position: relative;
      top: -60px;
      right: -520px;
      width: 0;
      height: 0;
      border-width: 0 25px 25px;
      border-style: solid;
      border-color: transparent transparent white;
}


.arriba-byg:before {
  content: "";
      position: relative;
      top: -60px;
      right: -215px;
      width: 0;
      height: 0;
      border-width: 0 25px 25px;
      border-style: solid;
      border-color: transparent transparent white;
}

.arriba-pie:before {
  content: "";
      position: relative;
      top: -45px;
      left: 50px;
      width: 0;
      height: 0;
      border-width: 25px 25px 25px 25px;
      border-style: solid;
      border-color: transparent transparent #0a3978;

}
}
.bgp img {
  max-width: 100%;

  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.bgp:hover img {
  -moz-transform: scale(1.0);
  -webkit-transform: scale(1.0);
  transform: scale(1.0);
}




@media screen and (max-width: 600px) {
  .parallax { 
    visibility: hidden;
   background-image: url("https://perucirugia.com/img/peru_cirugia_dr_raul_layme.jpg");

  /* Set a specific height */
  min-height: 0px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  }
}

@media screen and (min-width: 600px) {
.parallax {
  /* The image used */
  background-image: url("https://perucirugia.com/img/peru_cirugia_dr_raul_layme.jpg");

  /* Set a specific height */
  min-height: 500px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
}


img.vert-move {
    -webkit-animation: mover 1s infinite  alternate;
    animation: mover 1s infinite  alternate;
}
img.vert-move {
    -webkit-animation: mover 1s infinite  alternate;
    animation: mover 1s infinite  alternate;
}
@-webkit-keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}
@keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}



.s2:before, .s2:after {
   position:absolute;
   z-index:-2;
   content:"";
}
.s2 img{
  -webkit-box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
    -moz-box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
    box-shadow: 0 28px 16px -26px rgba(0, 0, 0);
}

   /* centre the content in the parallax layers */
  .title {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }



  /* style the groups
  --------------------------------------------- */

  #group4 {
    z-index: 2; /* slide under group 3 and 5 */
  }
  #group4 .parallax__layer--deep {
    background: rgb(184,223,101);
  }

.bgp{

   /* background: url(../img/peru_cirugia_dr_raul_layme.jpg);*/
}
.colorbg{}
.colort{color:black;}
.fontm{font-family: 'Amaranth', sans-serif;}
.fontt{font-family: arial}
.fonc{font-family: 'Orbitron', sans-serif;}
.font{font-family: 'Orbitron', sans-serif;}
.fontfso{font-family:'fso', sans-serif;}
.fontico{font-family:'fico', sans-serif;}
.f38{font-size:38px;}
.f24{font-size:22px;}
.f18{font-size:18px;}
.mrgt10{margin-top:10px !important;}
.mrgt20{margin-top:20px !important;}

.block{    padding:2px;
    display: inline-block;}
	.left{float: left;}
	.right{float:right;}

a {
	color: #026acb;
	text-decoration: none;
	outline: none;
}
a:hover {

}


p {
	margin: 0 0 1.2em;
	padding: 0;
}
/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}
/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #000;
}
#content h1, h2, h3, h4, h5, h6 {
    padding: 3px 15px;
    background: #f1f0f0;
    border-bottom: 1px dotted;
    color: #093977 !important;
    color: black;
}
#content input, #content textarea{border:1px solid #ccc}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
#pagewrap {
	width: 980px;
	margin: 0 auto;

}
#header {
	position: relative;
	min-height: 160px;
}
#logo{float:left; position:relative;min-width:250px;}
#icons{float: right; position:relative; min-width:250px;}
#topicons{
	float:right;
	color:#333;
	min-width:180px;
	padding-top:18px;
}
/*mi menu*/
  /* el menú en si mismo */
  #menuw{
  float: left;
  position: relative;
  clear: both;
  width: 100%;
  z-inex: 99999 /* el color de fondo */ background: -moz-linear-gradient(top, #18519b 0%, #012954 100%);
background:#0a3978;
}
#preciob{
    background: #08B4D6;;

    color: white;
   }
#preciob:hover{border-radius: 2px;
    font-weight: 700;
    text-shadow: 1px 2px #5F5E5E;
    background: #1DCAEC;
    color: white;}

.preciobx{    box-shadow: 1px 3px 2px #232323;
    margin-right: 5px;
    margin-top: 35px;
    min-height: 45px;
    font-size: 19px;
    float: left;
    width: 150px;
    line-height: 100%;
    text-align: center;


       padding: 5px;}

#preciobs{
    background: #426F06;

    color: white;
   }

#preciobs:hover{background: #5B980A;
border-radius: 2px;
    font-weight: 700;
    text-shadow: 1px 2px #5F5E5E;
}

  .mi-menu  {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  height: 40px;
  max-width: 1000px;

}


  /* si es necesario, evitamos que Blogger de problemas con los saltos de línea cuando escribimos el HTML */
  .mi-menu  br { display:none; }

  /* cada item del menu */
  .mi-menu  li {
-webkit-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	-o-transition: all 0.3s ease-in;
  z-index:999;
    display: block;
    float: left; /* la lista se ve horizontal */
    height: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
  }
  .mi-menu li a {
  z-inex: 999999;
  border-left: 1px solid #000;
  border-right: 1px solid #666;
  color: white;
  display: block;
  background: #0a3978;
 font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  /* font-weight: bold; */
  line-height: 28px;
  padding: 0 9px;
  margin: 6px 0;
  text-decoration: none;
  -webkit-transition: color .2s ease-in-out;
  -moz-transition: color .2s ease-in-out;
  -o-transition: color .2s ease-in-out;
  -ms-transition: color .2s ease-in-out;
  transition: color .2s ease-in-out;
  }
  /* eliminamos los bordes del primer y el último */
  .mi-menu li:first-child a { border-left: none; }
  .mi-menu li:last-child a{ border-right: none; }
  /* efecto hover cambia el color */
  .mi-menu li:hover > a { color: white; }

  /* los submenús */

.mi-menu li a:hover{background: #fff; color: #0a3978}
  .mi-menu ul {
    border-radius: 0 0 5px 5px;
    left: 0;
    margin: 0;
    opacity: 0; /* no son visibles */
    position: absolute;
    top: 40px; /* se ubican debajo del enlace principal */
    /* el color de fondo */
    background: #222;
    background: -moz-linear-gradient(#222,#555);
    background: -webkit-linear-gradient(#22,#555);
    background: -o-linear-gradient(#222,#555);
    background: -ms-linear-gradient(#222,#555);
    background: linear-gradient(#222,#555);
    /* animamos su visibildiad */
    -moz-transition: opacity .25s ease .1s;
    -webkit-transition: opacity .25s ease .1s;
    -o-transition: opacity .25s ease .1s;
    -ms-transition: opacity .25s ease .1s;
    transition: opacity .25s ease .1s;
  }
  /* son visibes al poner el cursor encima */
  .mi-menu li:hover > ul { opacity: 1; }

   /* cada un ode los items de los submenús */
  .mi-menu ul li {
    height: 0; /* no son visibles */
    overflow: hidden;
    padding: 0;
    /* animamos su visibildiad */
    -moz-transition: height .25s ease .1s;
    -webkit-transition: height .25s ease .1s;
    -o-transition: height .25s ease .1s;
    -ms-transition: height .25s ease .1s;
    transition: height .25s ease .1s;
  }
  .mi-menu li:hover > ul li {
    height: 36px; /* los mostramos */
    overflow: visible;
    padding: 0;
  }
  .mi-menu ul li a {
    border: none;

    border-bottom: 1px solid #111;
    margin: 0;
    /* el ancho dependerá de los textos a utilizar */
    padding: 5px 20px;
    min-width: 250px;
  }
  /* el último n otiene un borde */
  .mi-menu ul li:last-child a { border: none; }

.captions{    width: 41%;
    right: 2%;
    top: 45%;
    position: absolute;
    z-index: 999999; }
.s1{font-size:38px; padding:15px; text-shadow:2px 1px 3px #333;  color:white; line-height:36px;
	-webkit-transform: skew(-20deg);
	   -moz-transform: skew(-20deg);
	     -o-transform: skew(-20deg);
		 transform: skew(-20deg);
	 }


#logoh{width:290px; min-height:120px; float:left; position:relative; margin-right:15px;}




#linkh{width:350px; min-height:120px; float:left; position:relative; margin-left:5px;}
#derh{width:200px; min-height:120px; float:right; position:relative;margin-left:5px;}
#texth{    margin-top: 55px;    line-height: 100%;
    color: white;
    font-size: 18px;}
.home{ width:45px; height:36px;  position: relative; padding:1px; float:left;}
.home a{ width:40px; height:36px; background:url(../img/mulbg.png) no-repeat scroll 0 -450px; text-indent: -5000px; position: absolute;
  display: block; opacity:0.4;
filter:alpha(opacity=40);}
.home a:hover{background:url(../img/mulbg.png) no-repeat scroll 0 -450px; opacity:0.9;
filter:alpha(opacity=90);}

.mail{ width:45px; height:36px;  position: relative; padding:1px; float:left;}
.mail a{ width:40px; height:36px; background:url(../img/mulbg.png) no-repeat scroll -44px -450px; text-indent: -5000px; position: absolute;display: block; opacity:0.4;
filter:alpha(opacity=40);}
.mail a:hover{background:url(../img/mulbg.png) no-repeat scroll -44px -450px; opacity:0.9;
filter:alpha(opacity=90);}

.fav{ width:45px; height:36px;  position: relative; padding:1px; float:left;}
.fav a{ width:40px; height:36px; background:url(../img/mulbg.png) no-repeat scroll -175px -450px; text-indent: -5000px; position: absolute;
  display: block; opacity:0.4;
filter:alpha(opacity=40);}
.fav a:hover{background:url(../img/mulbg.png) no-repeat scroll -175px -450px; opacity:0.9;
filter:alpha(opacity=90);}

.face{ width:45px; height:36px;  position: relative; padding:1px; float:left;}
.face a{ width:40px; height:36px; background:url(../img/mulbg.png) no-repeat scroll -85px -450px; text-indent: -5000px; position: absolute;display: block; opacity:0.4;
filter:alpha(opacity=40);}
.face a:hover{background:url(../img/mulbg.png) no-repeat scroll -85px -450px; opacity:0.9;
filter:alpha(opacity=90);}

.twit{ width:45px; height:36px;  position: relative; padding:1px; float:left;}
.twit a{ width:40px; height:36px; background:url(../img/mulbg.png) no-repeat scroll -130px -450px; text-indent: -5000px; position: absolute;display: block; opacity:0.4;
filter:alpha(opacity=40);}
.twit a:hover{background:url(../img/mulbg.png) no-repeat scroll -130px -450px; opacity:0.9;
filter:alpha(opacity=90);}

.per a { position:relative; float:left; padding:1px; width:40px; height:36px; background:url(../img/mulbg.png) no-repeat scroll 0px -366px; opacity:0.4; text-indent: -5000px;
filter:alpha(opacity=40);}
.per a:hover{background:url(../img/mulbg.png) no-repeat scroll 0px -366px; opacity:0.9;
filter:alpha(opacity=90);}


.sol a{ position: relative; padding:1px; float:left;width:40px; height:36px; background:url(../img/mulbg.png) no-repeat scroll -80px -370px; text-indent: -5000px; opacity:0.4;
filter:alpha(opacity=40);}
.sol a:hover{background:url(../img/mulbg.png) no-repeat scroll -80px -370px; opacity:0.9;
filter:alpha(opacity=90);}


.sec a{ position:relative; float:left; padding:1px; width:40px; height:36px; background:url(../img/mulbg.png) no-repeat scroll -120px -370px; text-indent: -5000px; opacity:0.4;
filter:alpha(opacity=40);}
.sec a:hover{background:url(../img/mulbg.png) no-repeat scroll -120px -370px; opacity:0.9;
filter:alpha(opacity=90);}


/* site description */
#site-description {
    color: #FFFFFF;
    left: 160px;
    position: absolute;
    top: 30px;
}
#searchform {
	position: absolute;
	right: 10px;
	bottom: 14px;
	z-index: 100;
	width: 160px;
}
#searchform #s {
	width: 140px;
	float: right;
	background: #fff;
	border: none;
	padding: 6px 10px;
	/* border radius */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	/* transition */
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}

/* ============ start  nav*/

		#nav
		{    float: left;
			max-width: 1000px; /* 1000 */
			font-family: 'Open Sans', sans-serif;
			font-weight: 400;

		}

			#nav > a
			{
				display: none;
			}

			#nav li
			{
				position: relative;
			}
				#nav li a
				{
					color: #fff;
					display: block;
				}
				#nav li a:active
				{
					background-color: black !important;
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #0573C0;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{    z-index: 999;
				height: 3.75em; /* 60 */
				    background-color: rgba(16, 45, 81, 0.87);
			}
				#nav > ul > li
				{list-style:none;

					height: 100%;
					float: left;border-right:1px solid #0a418a;
				}
					#nav > ul > li > a

					{
					    z-index: 1000;
    background: #051E3E;
					    padding: 0px 11px;
						font-family: 'Bai Jamjuree', sans-serif;
						list-style:none;
						font-size: 18px; /* 24 */
						line-height: 2.5em; /* 60 (24) */
						text-align: center;
					}


						#nav > ul > li:not( :last-child ) > a
						{
							border-right: 1px rgb(0, 0, 0);
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							background-color: rgb(0, 0, 0);
						}


				/* second level */

				#nav li ul
				{ z-index: 1000;
					background-color: rgba(2, 32, 53, 0.85);
					display: none;
					position: absolute;
					top: 100%;
				}
					#nav li:hover ul
					{ z-index: 1000;
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{

    font-size: 14px;
    border-top: 1px solid rgba(2, 34, 78, 0.81);
    padding: 5px;
						}
#nav li ul li{list-style:none;}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color: rgba(2, 32, 53, 0.85); color:white;
							}


		@media only screen and ( max-width: 62.5em ) /* 1000 */
		{
			#nav
			{
				width: 100%;
				position: static;
				margin: 0;
			}
		}

		@media only screen and ( max-width: 40em ) /* 640 */
		{
			html
			{
				font-size: 75%; /* 12 */
			}

			#nav
			{
				position: relative;
				top: auto;
				left: auto;
			}
				#nav > a
				{
					float: left;
    padding: 15px;
    width: 96%;

    text-align: left;
   font-size:20px;color:white;
    background-color: #0573C0;
    position: relative;
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 3px solid #fff;

						top: 35%;
						width:25px;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
			}
				#nav:target > ul
				{
					display: block;
				}
				#nav > ul > li
				{
					width: 100%;list-style: none;
					float: none;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #000;
						}


				/* second level */

				#nav li ul
				{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;
				}
		}








.clearfix::after
{
	content: '';
	display: table;
	clear: both;
}

#content ul {
  list-style: none;
  padding: 0;
}
#content li {
  padding-left: 1.3em;
}
#content li:before {
  content: "\f00c"; /* FontAwesome Unicode */
  font-family: FontAwesome;color: #093977;
  display: inline-block;
  margin-left: -1.3em; /* same as padding-left set on li */
  width: 1.3em; /* same as padding-left set on li */
}
/*===============end  nav*/
#main-nav {
	width: 100%;

	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
background: #18519b; /* Old browsers */
background: -moz-linear-gradient(top,  #18519b 0%, #012954 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#18519b), color-stop(100%,#012954)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #18519b 0%,#012954 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #18519b 0%,#012954 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #18519b 0%,#012954 100%); /* IE10+ */
background: linear-gradient(to bottom,  #18519b 0%,#012954 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#18519b', endColorstr='#012954',GradientType=0 ); /* IE6-9 */

	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 10px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #fff;

	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}




/* ====================================== MENU*/

/*Strip the ul of padding and list styling*/

#menur{     /* float: left; */
    position: relative;
    clear: both;
    width: 100%;
    z-inex: 99999 /* el color de fondo */ background: -moz-linear-gradient(top, #18519b 0%, #012954 100%);
    background:  #062B5A;
    margin: auto;
    min-height: 55px;}
#menur ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;
}

/*Create a horizontal list with spacing*/
#menur li {
	display:inline-block;
	float: left;
	margin-right: 1px;
}

/*Style for menu links*/

#menur li a {
	display:block;
padding:5px 15px;
	min-width:50px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #fff;
	background:  #062B5A;
	text-decoration: none;
}


#c{clear:both}
/*Hover state for top level links*/
#menur li:hover a {
	background: #fff; color: #062B5A;
}

/*Style for dropdown links*/
#menur li:hover ul a {
	background: #f3f3f3;
	color: #2f3036;
	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/
#menur li:hover ul a:hover {
	background: #19c589;
	color: #fff;
}

/*Hide dropdown links until they are needed*/
#menur li ul {
	display: none;
z-index:9999;
}

/*Make dropdown links vertical*/
#menur li ul li {
	display: block;
	float: none;
}

/*Prevent text wrapping*/
#menur li ul li a {
margin:0px;
	width: auto;
	min-width: 100px;
	padding: 0 20px;z-index:9999;
}

/*Display the dropdown on hover*/
#menur ul li a:hover + .hidden, .hidden:hover {margin:0px;
	display: block;
}

/*Style 'show menu' label button and hide it by default*/
#menur .show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	color: #fff;
	background: #062348;
	text-align: center;
	padding: 10px 0;
	display: none;margin:0px;
}

/*Hide checkbox*/
#menur input[type=checkbox]{
    display: none;
    -webkit-appearance: none;
}

/*Show menu when invisible checkbox is checked*/
#menur input[type=checkbox]:checked ~ #menu{
    display: block;
}


/*Responsive Styles*/

@media screen and (max-width : 760px){
#footer .f18{font-size:14px;}
	/*Make dropdown links appear inline*/
	#menur ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	#menur li {
		margin-bottom: 1px;
	}
	/*Make all menu links full width*/
	#menur ul li, li a {

	}
	/*Display 'show menu' link*/
	#menur .show-menu {
		display:block;
	}
.s1 {font-size:15px;}
}



#main-nav a:hover {
	color: #fff;

background: #012954; /* Old browsers */
background: -moz-linear-gradient(top,  #012954 0%, #090b0f 56%, #18519b 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#012954), color-stop(56%,#090b0f), color-stop(100%,#18519b)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #012954 0%,#090b0f 56%,#18519b 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #012954 0%,#090b0f 56%,#18519b 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #012954 0%,#090b0f 56%,#18519b 100%); /* IE10+ */
background: linear-gradient(to bottom,  #012954 0%,#090b0f 56%,#18519b 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#012954', endColorstr='#18519b',GradientType=0 ); /* IE6-9 */

}
#content {
font-family: 'Monda', sans-serif;
font-size:17px;
	color: rgb(46, 45, 45);
background:#fff;
	margin: 30px 0 30px;
	padding: 20px 35px;
	width: 600px;
	float: left;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}




/*formulario */
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);



#feedback-page{
	text-align:center;
}

#form-main{
	width:100%;
	float:left;
	padding-top:0px;
}

#form-div {
	background-color:rgba(72,72,72,0.4);
	padding-left:35px;
	padding-right:35px;
	padding-top:35px;
	padding-bottom:50px;
	width: 450px;
	float: left;
	left: 50%;
	position: absolute;
  margin-top:30px;
	margin-left: -260px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

.feedback-input {
	color:#3c3c3c;
	font-family: Helvetica, Arial, sans-serif;
  font-weight:500;
	font-size: 18px;
	border-radius: 0;
	line-height: 22px;
	background-color: #fbfbfb;
	padding: 7px 7px 7px 54px;
	margin-bottom: 10px;
	width:85%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
  border: 3px solid rgba(0,0,0,0);
}

.feedback-input:focus{
	background: #fff;
	box-shadow: 0;
	border: 3px solid #3498db;
	color: #3498db;
	outline: none;
  padding: 13px 13px 13px 54px;
}

.focused{
	color:#30aed6;
	border:#30aed6 solid 3px;
}
 #gall img{ width:299px; transition:all 250ms;}
 #gall img:hover{ margin-bottom:2px; opacity:0.9; width:289px; }
/* Icons ---------------------------------- */
#name{
	background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
	background-size: 30px 30px;
	background-position: 11px 4px;
	background-repeat: no-repeat;
}

#name:focus{
	background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
	background-size: 30px 30px;
	background-position: 8px 5px;
  background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email{
	background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
	background-size: 30px 26px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}
#wsp{background-size: 30px 26px;
background-position: 11px 8px;
background-repeat: no-repeat;
background-image: url(https://image.flaticon.com/icons/svg/33/33447.svg);}
#global{background-size: 30px 26px;
background-position: 11px 8px;
background-repeat: no-repeat;
background-image: url(../img/global.svg);}
#email:focus{
	background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
	background-size: 30px 30px;
  background-position: 11px 8px;
	background-repeat: no-repeat;
}

#comment{
	background-image: url(http://rexkirby.com/kirbyandson/images/comment.svg);
	background-size: 30px 30px;
	background-position: 11px 4px;
	background-repeat: no-repeat;
}

textarea {
    width: 100%;
    height: 150px;
    line-height: 150%;
    resize:vertical;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
	background-color:white;
}

#button-blue{
margin-left: 5px;
font-family: 'Montserrat', Arial, Helvetica, sans-serif;
float: left;
width: 120px;
border: #fbfbfb solid 4px;
cursor: pointer;

color: rgb(12, 12, 12);
font-size: 18px;
padding-top: 12px;
padding-bottom: 12px;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
margin-top: -4px;
font-weight: 700;
border-radius: 10px;
}

#button-blue:hover{

	color: #0493bd;
}

.submit:hover {
	color: #3498db;
}

.ease {
	width: 0px;
	height: 40px;
	background: #fbfbfb url(img/enviarf.png) right no-repeat;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
	-ms-transition: .3s ease;
	transition: .3s ease;
}

.submit:hover .ease{
  width:250px;
  background-color:white;
}

@media only screen and (max-width: 580px) {
#footer .f18{font-size:12px;}
#prciob{line-height: 10px;}
#derh{min-height:55px;}
	#form-div{
		left: 3%;
		margin-right: 3%;
		width: 88%;
		margin-left: 0;
		padding-left: 3%;
		padding-right: 3%;
	}
#texth{margin-top:15px; min-height: 30px;}

}



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


}


h2.post-title {
    background: #888;
    border-radius: 5px;
    padding: 0px 5px ;
    border-top: 1px solid #889;
    border-bottom: 1px solid #889;
    text-align: center;
}
h2.post-title a {
    color: #FFFFFF;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px #333333;
}
.post {
	margin-bottom: 20px;
}
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 26px/120% Arial, Helvetica, sans-serif;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}
figure.post-imagen img {
    float: left;
    margin: 5px;
    max-width: 260px;
}
#sidebar {
	width: 280px;
	float: right;
	margin: 30px 0 30px;
}
.widget {
	color: #333;
background: #F3F4F5;
margin: 0 0 30px;
padding: 10px 20px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.widgettitulo {
    background: none repeat scroll 0 0 #666666;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    margin: 0 0 5px;
    padding: 6px 0;
    text-align: center;
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 2px 0;
	list-style: none;
	clear: both;
	border-top: solid 1px #949393;
}
section.widget ul li a {
	color: rgb(39, 38, 38);
    font-family:Oswald;
    font-style: italic;
    font-size: 1.2em;
    padding: 11px;
    display: block;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease-out;
}
section.widget ul li a:hover {
	background: #fff;
    color: #6B6B6B !important;
    text-decoration: none;
}

/*=========SLIDER LIGHTBOX*/
.lb-album{
	width: 900px;
	margin: 0 auto;
	font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
}
.lb-album li{
list-style:none;
	float: left;
	margin: 5px;
	position: relative;
}
.lb-album li > a,
.lb-album li > a img{
	display: block;
}
.lb-album li > a{
width: 150px;
/* height: 150px; */
position: relative;
padding: 10px;
background: #042442;
-webkit-box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(18, 96, 116, 0.3) inset;
-moz-box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(11, 69, 97, 0.3) inset;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px 4px 4px 4px;
}
.lb-album li > a span{
	position: absolute;
	width: 150px;
	/*height: 150px;*/
	top: 10px;
	left: 10px;
	text-align: center;
	line-height: 150px;
	color: white;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	font-size: 24px;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
background: -moz-linear-gradient(top,  rgba(0,0,0,0.69) 0%, rgba(0,0,0,0.69) 4%, rgba(0,0,0,0) 99%, rgba(0,0,0,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.69)), color-stop(4%,rgba(0,0,0,0.69)), color-stop(99%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0.69) 0%,rgba(0,0,0,0.69) 4%,rgba(0,0,0,0) 99%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,0,0,0.69) 0%,rgba(0,0,0,0.69) 4%,rgba(0,0,0,0) 99%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,0,0,0.69) 0%,rgba(0,0,0,0.69) 4%,rgba(0,0,0,0) 99%,rgba(0,0,0,0) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,0,0,0.69) 0%,rgba(0,0,0,0.69) 4%,rgba(0,0,0,0) 99%,rgba(0,0,0,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b0000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */


	-webkit-transition: opacity 0.3s linear;
	-moz-transition: opacity 0.3s linear;
	-o-transition: opacity 0.3s linear;
	-ms-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
}
.lb-album li > a:hover span{
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
.lb-overlay{
	width: 0px;
	height: 0px;
	position: fixed;
	overflow: hidden;
	left: 0px;
	top: 0px;
	padding: 0px;
	z-index: 99;
	text-align: center;
	background: -moz-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.47) 0%, rgba(0,0,0,0.47) 3%, rgba(0,0,0,0.79) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(0,0,0,0.47)), color-stop(3%,rgba(0,0,0,0.47)), color-stop(100%,rgba(0,0,0,0.79))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.47) 0%,rgba(0,0,0,0.47) 3%,rgba(0,0,0,0.79) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.47) 0%,rgba(0,0,0,0.47) 3%,rgba(0,0,0,0.79) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.47) 0%,rgba(0,0,0,0.47) 3%,rgba(0,0,0,0.79) 100%); /* IE10+ */
background: radial-gradient(ellipse at center,  rgba(0,0,0,0.47) 0%,rgba(0,0,0,0.47) 3%,rgba(0,0,0,0.79) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78000000', endColorstr='#c9000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}
.lb-overlay > div{
	position: relative;
	color: #fff);
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	width: 550px;
	margin: 10px auto 0px auto;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	-webkit-transition: opacity 0.3s linear 1.3s;
	-moz-transition: opacity 0.3s linear 1.3s;
	-o-transition: opacity 0.3s linear 1.3s;
	-ms-transition: opacity 0.3s linear 1.3s;
	transition: opacity 0.3s linear 1.3s;
}
.lb-overlay div h3,
.lb-overlay div p{
	padding: 0px 20px;
	width: 200px;
	font-size:14px;
	height: 60px;
}
.lb-overlay div h3{
	font-size: 36px;
	float: left;
	text-align: right;
	border-right: 1px solid rgba(27,54,81,0.4);
}
.lb-overlay div h3 span,
.lb-overlay div p{
	font-size: 16px;
	font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	font-style: italic;
}
.lb-overlay div h3 span{
	display: block;
	line-height: 6px;
}
.lb-overlay div p{
	text-align: left;
	float: left;
	width: 260px;
}
.lb-overlay a.lb-close{
	background: rgba(27,54,81,0.8);
	z-index: 1001;
	color: #fff;
	position: absolute;
	top: 43px;
	left: 50%;
	font-size: 15px;
	line-height: 26px;
	text-align: center;
	width: 50px;
	height: 23px;
	overflow: hidden;
	margin-left: -25px;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	-webkit-transition: opacity 0.3s linear 1.2s;
	-moz-transition: opacity 0.3s linear 1.2s;
	-o-transition: opacity 0.3s linear 1.2s;
	-ms-transition: opacity 0.3s linear 1.2s;
	transition: opacity 0.3s linear 1.2s;
}
.lb-overlay img{
	/* height: 100%; For Opera max-height does not seem to work */
	max-height: 100%;
	position: relative;
	-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
}
.lb-overlay:target {
	width: auto;
	z-index:999;
	height: auto;
	bottom: 0px;
	right: 0px;
	padding: 80px 100px 120px 100px;
}
.lb-overlay:target img {
	-webkit-animation: fadeInScale 1.2s ease-in-out;
	-moz-animation: fadeInScale 1.2s ease-in-out;
	-o-animation: fadeInScale 1.2s ease-in-out;
	-ms-animation: fadeInScale 1.2s ease-in-out;
	animation: fadeInScale 1.2s ease-in-out;
}
.lb-overlay:target a.lb-close,
.lb-overlay:target > div{
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
@-webkit-keyframes fadeInScale {
  0% { -webkit-transform: scale(0.6); opacity: 0; }
  100% { -webkit-transform: scale(1); opacity: 1; }
}
@-moz-keyframes fadeInScale {
  0% { -moz-transform: scale(0.6); opacity: 0; }
  100% { -moz-transform: scale(1); opacity: 1; }
}
@-o-keyframes fadeInScale {
  0% { -o-transform: scale(0.6); opacity: 0; }
  100% { -o-transform: scale(1); opacity: 1; }
}
@-ms-keyframes fadeInScale {
  0% { -ms-transform: scale(0.6); opacity: 0; }
  100% { -ms-transform: scale(1); opacity: 1; }
}
@keyframes fadeInScale {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/*
	100% Height for Opera as the max-height seems to be ignored, not optimal for large screens
	http://bricss.net/post/11230266445/css-hack-to-target-opera
*/
x:-o-prefocus, .lb-overlay img {
    height: 100%;
}
/* END SLIDER*/

/*---FOOTER---*/
#footer {
min-height:250px;
   border-top: 2px solid #ccc;
padding: 5px;
background:none repeat scroll 0 0 #0a3978;
/* border-radius: 5px 5px 5px 5px; */
clear: both;
color: #fff;
font-size: 90%;
text-align: center;
}
#footer a {
	color: #fff;
}
#fright{float:right;}
.clear{clear:both;}
#fleft{float:left; width.250px; text-align:left;}
#fleft img{width:150px; }
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }
/***************************************************
----- CONDICIONALES DE MEDIA QUERIES -----
****************************************************/
@media screen and (max-width: 980px) {
	#pagewrap {
		width: 95%;
	}
	#content {
		width: 60%;
		padding: 3% 4%;
	}
	#content hr{ opacity:0.7; color;#ccc;}
	figure.post-imagen img {
    float: left;
    margin: 5px;
    max-width: 230px;
    }
	#sidebar {
		width: 30%;
	}
	#sidebar .widget {
		padding: 8% 7%;
		margin-bottom: 10px;
	}
}
@media screen and (max-width: 650px) {

#linkh{margin-top:5px; min-height:75px;}
	#header {
		height: auto;
	}
	#searchform {
		position: absolute;
		top: 5px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 150px;
	}
	#main-nav {
		position: static;
	}
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}
	/* site description */
	#site-description {
		margin: 0 0 15px;
		position: static;
		text-align: center;
	}
	#content {
		width: auto;
		float: none;
		margin: 20px 0;
	}
	figure.post-imagen img {
    float: left;
    margin: 5px;
    max-width: 180px;
    }
	#sidebar {
		width: 100%;
		margin: 0;
		float: none;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin: 0 0 10px;
	}
}
@media screen and (max-width: 480px) {
	html {
		-webkit-text-size-adjust: none;
	}
	#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}
	figure.post-imagen img {
    float: left;
    margin: 5px;
    max-width: 130px;
    }
}
/* http://www.elegantthemes.com/blog/resources/elegant-icon-font*/
