/* 
Theme Name: RodolfoOficial20
Theme URI: https://www.rodolfo-sancho.com
Description: Web Oficial de Rodolfo Sancho
Version: 1
Author: Mireia
 */

*{
	margin: 0;
	padding: 0;
}

body{
	background-color: #ffffff;
	color: #333;
	font-size: .9em;
	line-height: 1.5em;
	font-family: 'Roboto', sans-serif;
}

p{
	margin: 0 0 10px 0;
    text-align: justify;
}

.container{
	margin-top: 20px;
}

h1{
	font-family: 'Raleway', sans-serif;
    background: #4a998d;
	color: #eee;
    padding: 5px;
    text-align: center;
    margin: -17px auto 0 auto;
	width: 250px;
	font-size: 1.2em;
	font-weight: 200;
	text-transform: lowercase;
}

a:link, a:visited, a:active{
	 color: #4a998d;
	 text-decoration: none;
}

a:hover{
	color: #777;
   	text-decoration: none;
}

strong{
	font-weight: bold !important;
	color: #000;
}

em{
	color: #888;
}

img, iframe{
	max-width: 100% !important;
	height: auto;
}

.contenido{
	margin: 20px auto;
}

/* ****************************************************************** 
							NAV & HEADER
******************************************************************** */
nav{
	background-color: #000;
	height: 100px;
}

.logo{
	margin: 15px auto 0 3%;
}

.logo img{
	max-width: none !important;
}

.logo a{
	display: block;
}

.sociali{
	z-index: 9;
	line-height: 105px;
}

.sociali a{
	padding: 0px 10px;
}

.fa-2x{
	font-size: 1.5em !important;
}

.menu{
	font-family: 'Raleway', sans-serif;
	z-index: 10;
	position: relative;
	text-transform: uppercase;
	margin: 0 auto;
	line-height: 100px;
}

.menu ul{
	list-style: none;
	text-align: right;
	display: block;
}

.menu ul li{
	display: inline-block;
	letter-spacing: 1px;
	padding: 0 2%;
	position: relative;
}

.menu a:link, nav a:visited, nav a:active{
	text-decoration: none;
	color: #eeeeee;
}

.menu a:hover{
	border-bottom: 2px #4a998d solid;
	color: #eeeeee;
}

.menu ul li:hover > ul{
	display: block;
}

.menu ul li:hover > li a{
	display: block;
	background-color: #ccc;
}

.menu ul ul{
	display: none;
    left: 60px;
    top: 60px;
    position: absolute;
    line-height: 0;
}

.menu ul li ul li{
    background-color: #000;
    padding: 15px 10px;
    width: 100%;
	position: relative;
    top: 0px;
    left: -45px;
	text-align: left;
}

/* ****************************************************************** 
							SLIDER
******************************************************************** */
.rslides{
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
	z-index: 1;
}

.rslides li{
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
}

.rslides li:first-child{
  position: relative;
  display: block;
  float: left;
}

.rslides img{
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}

.rslides_container{
  margin-bottom: 30px;
  position: relative;
  float: left;
  width: 100%;
}

.rslides_nav{
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
 top: 50%;
  left: 0;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("themes/themes.gif") no-repeat left top;
  margin-top: -55px;
}

.rslides_nav:active{
  opacity: 1.0;
}

.rslides_nav.next{
  left: auto;
  background-position: right top;
  right: 0;
}

.rslides_nav:focus{
  outline: none;
}

.rslides_tabs{
  margin-top: 10px;
  text-align: center;
}

.rslides_tabs li{
  display: inline;
  float: none;
  *float: left;
  margin-right: 5px;
}

.rslides_tabs a{
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
}

.rslides_here a{
  background: #222;
  background: rgba(0,0,0, .8);
}

.caption{
  position: absolute;
  display: block;
  bottom: -20px;
  left: 0;
  right: 0;
  padding: 15px;
  text-align: center;
  background: #000;
  background: rgba(0,0,0, .8);
  color: #fff;
}

/* ****************************************************************** 
							NOTICIAS
******************************************************************** */

.contenidoPosts{
	margin: 10px auto 50px auto;
}

.post{
	background-color: #eee;
    margin: 13px;
	max-width: 31% !important;
	padding-left: 0 !important;
    padding-right: 0 !important;
}

.post h2{
	font-size: 1.3em;
	padding: 0px 15px;
}

h2{
	font-family: 'Raleway', sans-serif;
	color: #4a998d;
	font-weight: 200;
}

.featured{
	margin-bottom: 15px;
}

.featured img:hover{
	opacity: .5;
	filter: alpha(opacity=50);
	-moz-opacity: .5;
}

.postcontent{
	margin: 10px 0;
}

.postcontent p{
	padding: 0px 15px;
}

.more{
	background-color: #ddd;
    padding: 5px;
    margin: 0;
    text-align: right;
    font-size: .9em;
}

.date-noticias{
    font-size: .8em;
    color: #666;
    margin-top: -35px;
    margin-left: 15px;
}

.postsingle{
	margin: 0 auto;
	max-width: 900px !important;
}

.postsingle img{
	margin: 20px 0;
}

.contentS img{
    box-shadow: 0 0 0 1px #ddd;
    padding: 4px;
    margin: 0 5px;
}

.contentS img:hover{
	opacity: .5;
	filter: alpha(opacity=50);
	-moz-opacity: .5;
}

blockquote{
	border-left: 10px #4a998d solid;
    padding: 10px 20px;
	margin: 10px auto;
}

.wp-pagenavi{
	margin-top: 25px;
}

/* ****************************************************************** 
							PAGINAS
******************************************************************** */
.titulo{
	border-top: 1px #4a998d solid;
    margin: 10px auto 30px auto;
}

/* cv */

.textod{
	background-color: #eee;
   	padding: 10px;
    display: block;
    margin: 10px 0px;
	text-align: left;
}

.textod p{
	text-align: left;
}

/* ****************************************************************** 
							FILMOGRAFIA
******************************************************************** */
.filmo{
	margin-top: 20px;
}

.featured-filmo img{
	border: 1px #81c4ba solid;
	max-width: none !important;
	padding: 5px;
}

.featured-filmo img:hover{
	opacity: .5;
	filter: alpha(opacity=50);
	-moz-opacity: .5;
}

.titulo-filmo{
	margin: 0 0 20px 0;
}

.imgflex{
	padding: 0;
}

.imgflex img{
	width: auto !important;
	height: auto !important;
	padding: 5px;
    border: 1px #4a998d solid;
    background: #fff;
}

.trailer{
	margin: 20px 0;
}

.trailer iframe{
	width: 100%;
}

.featured-filmo{
	margin-right: 35px;
	margin-bottom: 5px;
}

.imgfilmo{
	padding-right: 15px;
    padding-left: 15px;
}

.fotosfilmo{
	padding-left: 0 !important;
    margin-left: -5px;
	margin-top: 35px;
}

.fotosfilmotit{
	margin: 30px 0 0 15px;
    border-top: 1px #bbb solid;
    max-width: 96% !important;
    flex: 0 0 96% !important;
}

.fotosfilmotit h3{
	background: #fff;
    width: 100px;
    margin-top: -10px;
	padding: 0 10px;
}

.fg-default.fg-gutter-10{
	padding-left: 20px !important;
}

/* ****************************************************************** 
							FOOTER
******************************************************************** */
.datos{
	background-color: #111;
	padding: 0 20px;
	color: #666;
}

.proyectos, .repre, .fsocial{
	margin: 20px auto;
	padding: 10px;
	text-align: center;
}


h3{
	text-transform: uppercase;
	margin: 20px 0;
	font-weight: 200;
}

.proyecto{
	background-color: #222;
    padding: 10px;
	margin: 5px 0;
	text-align: left !important;
}

.proyecto h4{
	font-weight: 200;
}

.proyecto h4 a:link, .proyecto h4 a:visited, .proyecto h4 a:active{
	 color: #666;
	 text-decoration: none;
}

.proyecto h4 a:hover{
	color: #eee;
   	text-decoration: none;
}

.repre img{
	display: block;
    margin: 10px auto;
}

.repre p{
	text-align: center;
}

.fsocial a{
	padding: 0 15px;
}

footer{
	background-color: #000;
	color: #eee;
	clear: both;
	padding: 10px;
}

footer .copy p, footer .legal p{
	color: #666;
	text-align: center;
	font-size: .9em;
}

footer .copy span, footer .copy span a{
	color: #444;	
}

/* ****************************************************************** 
						MEDIA QUERIES 
******************************************************************** */
@media (max-width: 1200px){
	.post{
		margin: 11px !important;
	}
	
	.featured-filmo{
		margin-right: 75px;
		margin-bottom: 2%;
	}
	
	.imgflex img{
		display: block;
		margin: 0 -15px;
	}
	
	.fotosfilmotit{
		margin: 30px 0 0 0px !important;
	}
	
	.fg-default.fg-gutter-10{
		padding-left: 10px !important;
	}
	
	.fg-default.fg-left{
		text-align: center !important;
	}
}

@media (max-width: 1024px){
	nav{
		padding: 10px;
	}
	
	.menu ul { 
		display: none !important;
	}
	
	ul li span{
		display: block;
	}
}

@media (max-width: 992px){
	.fa-2x{
		font-size: 1.3em !important;
	}
	
	.sociali{
		line-height: 0;
    	text-align: right;
    	margin-top: 40px;
	}
	
	.post{
		max-width: 47% !important;
		margin: 10px !important;
	}
	
	.featured-filmo{
		margin-right: 0;
		padding-right: 0 !important;
		margin-bottom: 3% !important;
	}
	
	.imgflex img{
    	margin: 0 auto 15px auto !important;
	}
	
	.fsocial a {
		padding: 4px !important;
	}
	
	.nomostrar{
		display: none;
	}
}

@media (min-width: 992px) and (max-width: 768px){
	.post{
    	max-width: 47% !important;
	}
}

@media (max-width: 767px){
	.sociali{
    	margin-top: -50px !important;
	}
	
	.post{
		max-width: 94% !important;
		margin: 10px !important;
	}
	
	.filmo{
		margin-left: 0 !important;
	}
	
	.filmo, .featured-filmo{
		margin: 0 auto;
	}
	
	.fsocial a {
		padding: 15px !important;
	}
	
	.repre p{
		text-align: center;
	}
	
	.fa-2x{
		font-size: 1.8em !important;
	}
}

@media (max-width: 576px){
	.container{
   	 	width: 95% !important;
	}
	
	.navbg {
    	height: 130px !important;
	}
	
	.logo{
		text-align: center;
		margin: 0;
	}
	
	.sociali{
		text-align: center;
    	margin-top: -30px !important;
	}

	.filmo{
		margin-right: 0 !important;
	}
	
	.featured-filmo img, .logo img{
		max-width: 100% !important;
	}
	
	.proyectos, .repre, .fsocial{
		text-align: center;
	}
}

@media (max-width: 415px){
	.imgflex img{
		width: 100% !important;
	}
	
	.featured-filmo{
		padding-right: 15px !important;
		margin-bottom: 5%;
	}
	
	.fotosfilmo{
		padding-left: 15px !important;
		margin-left: 0 !important;
	}
}