/*
Theme Name: David Miranda 2
Theme URI: http://www.nomine.fr/
Description: A child theme of the Twenty Eleven default theme for WordPress. (Removed options: header images, link color and background image)
Author: Alexis Nomine
Author url: http://www.nomine.fr/
Version: 2011
Tags: dark, black, orange, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-menu, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Template: twentyeleven
*/

/* import style from parent theme */



@import url('../twentyeleven/style.css');

@import url('../twentyeleven/colors/dark.css');



html, body {	

	font-weight: bold;

	color: #EEEEEE;

}

html#html {

	margin-top: 0px !important;

}

body{

	padding: 0;

	background: URL('./images/black-texture-bg.jpg') repeat;

	background-attachment: fixed;

}

/* general */

.greytext {

	color: #7D7D7D;

}

.nomargin-r {

	margin-right: 0px;

}

p, .column-menu li a, .entry-content li {	

    font-size: 0.84em;

    line-height: 18px;

    letter-spacing: -0.1px

}

ul ul li, ul ul li a {

	font-size: 1em !important;

}

a:focus img, a:hover img, a:active img {

	top: 0px !important;

	left: 0px !important;

}

img {

	max-width: 100% !important;

	padding: 0px !important;

	border: none !important;

}

/* header styling */

#site-title {

	margin: 0px;

	padding: 0px;

}

#site-title, #site-description, .divider-header {

	display: inline-block;

	font-size: 18px;

	text-transform: uppercase;

	margin-top: 15px;

}

#site-title a, #site-description, .divider-header {	

	font-size: 18px;

	line-height: inherit;

	font-weight: bold;

}

.divider-header {

	color: #858585;

}

#site-title a:hover, #site-title a:focus, #site-title a:active {

	color: #EEEEEE;

}

#site-description {

	margin: 0px;

}

#branding {

	padding-bottom: 0px;

	background: URL('./images/black-texture.jpg') repeat;

}

#branding .background-header {

	padding-top: 19px;

	min-height: 103px;

	overflow: hidden;

}

#branding hgroup{

	top: 0px;

	max-width: 1000px;

	margin: 0 auto;

	padding-left: 50px;

}

#branding{

	position: fixed;

	top:0;

	width:100%;

}

#headerslideshow {

	margin-top: 40px;

}

.admin-bar #branding{

	top:0px;

}

.entry-header, .entry-content h2 {

	margin: 0 -5px !important;

}

/* top menu styling */



#access{

	margin-top: -26px;

	height: auto;

	min-height: 18px;

	text-align: center;

	border: 1px solid rgb(127, 127, 127);

	border: 1px solid rgba(255, 255, 255, .3);

	background: rgba(255, 255, 255, 0.1);

    -webkit-background-clip: padding-box; /* for Safari */

    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */

    border-image: url("images/border.png") 10 0 1 0;

    border-style: solid;

    border-width: 4px 0 2px 0;

    margin-top: -29px;

    margin-bottom: 0px;

    text-align: center;

}

#access .menu-header-menu-container {

	width: 100%;

	max-width: 1000px;

	margin: auto;

	margin-top: -1px;

	padding-left: 50px;

    font-family: "Open Sans Condensed";

}

#access .menu{

	display: block;

	width: 100%;

	height: auto;

	margin: 0px;

	margin-top: auto;

}

#access .menu .menu-item{

	display: inline-block;

}

#ie7 #access .menu, #ie7 #access .menu .menu-item{

	display: inline-block;

	display: inline;

}



#access a{

	color: #7D7D7D;

	padding: 0px;

	line-height: normal;	

	font-size: 18px;

	font-weight: bold;

	text-transform: uppercase;

	text-shadow: 0px -1px 0px #000;

}

#access li {

	margin-right: 4%;

}

#access li:last-child {

	margin-right: 5%;

}

#access li:hover > a, #access a:focus, #access .current-menu-item > a,

#access .current-menu-ancestor > a, #access .current_page_item > a,

#access .current_page_ancestor > a{

	color: #FFFFFF;

	text-shadow: 0 0 10px rgba(240, 250, 250, 0.4);

	background: none;

}



/* body styling */

.page-title {

	display: none;

}

#page{

	display: flex;

	flex-direction: column;

	min-height: 100vh;

	max-width: none;

	margin: 0;

	background: none;

}

#main{

	flex: 1;

	max-width: 1000px;

	width: 100%;

	margin: -15px auto 0;

	padding: 118px 0 0 0;

	background: URL('./images/black-texture-content.jpg') repeat;

	border-top: none;

	overflow: hidden;

	-moz-box-shadow: 0 0 30px rgba(0,0,0,0.9), inset 0 0 2px rgba(255,255,255,0.2);

	-webkit-box-shadow: 0 0 30px rgba(0,0,0,0.9), inset 0 0 2px rgba(255,255,255,0.2);

	box-shadow: 0 0 30px rgba(0,0,0,0.9), inset 0 0 2px rgba(255,255,255,0.2);

}



/* layout margins adjustments */



#content{

	margin: 0 29% 0 2.6%;

	width: 68.4%;

}

#primary{

	margin-top: 16px;

	margin-top: 45px !important;

}

#secondary {

	margin-top: 16px;

	margin-right: 2.6%;

	width: 23.8%;

}



.one-column #primary{

	margin: 16px 0 0 0;

}

.one-column #page{

	max-width: none;

}

.one-column #content{

	margin: 0 2.6%;

}



.left-sidebar #content{

	margin: 0 2.6% 0 29%;

	width: 68.4%;

}

.left-sidebar #secondary {

	margin-left: 2.6%;

	width: 23.8%;

}

.widget ul{

	margin-left:15px

}



/* content styling */



a{

	color: #7D7D7D;

}

.entry-title, .entry-title a, .singular .entry-title,

.type-page .entry-content h2{

	color: #7D7D7D;	

	font-size: 18px;

	font-weight: bold;

	padding: 2px;

	margin: 10px 0;

	line-height: 18px;

}

.entry-title a {

	padding: 0px;

}

.entry-title, .singular .entry-title,

.type-page .entry-content h2, .bgborder {

	background-color: rgba(255, 255, 255, 0.1);

	border: 1px solid rgb(127, 127, 127);

	border: 1px solid rgba(255, 255, 255, .3);

    border-image: url("images/border.png") 0 0 21 10;

    -webkit-background-clip: padding-box; /* for Safari */

    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */

}

.entry-content h2 + p {

	margin-top: 15px;

}

.entry-content, .entry-summary  {

	padding: 0px;

}

.entry-content p {

	padding-right: 45px;

}

.nopadding p {

	padding-right: 0px;

}

.entry-content strong{

	color: #7D7D7D;

}

.entry-content ul {

	margin-left: 0px;

}

.entry-content > ul {

	margin-top: 15px;

}

.entry-content li{

	margin-bottom: 10px;

	list-style: none;

}

.entry-content>ul>li:before {

	content: "·";

	margin-right: 5px;

	font-weight: bold;

	color: #7D7D7D;

}

.entry-content li li{

	list-style-type: none;

}

.entry-title, .entry-title a:hover{

	color: #FFFFFF;

}

.hentry {

	border: none;

	padding-bottom: 0px !important;

}

.singular.page .hentry{

	padding: 0;

}

.entry-meta {

	color: inherit;

}

.entry-meta .edit-link{

	display: none;

}

.entry-title, .entry-content h2, .bgborder {

	border: 1px solid rgb(127, 127, 127) !important;

	border: 1px solid rgba(255, 255, 255, .3) !important;

	border-image: url("images/border.png") 7 4 5 4 !important;

    border-style: solid !important;

    border-width: 4px 7px 2px 3px !important;

}

.bgborder {

	min-height: 25px;

	border-image: url("images/border.png") 15 8 1 10;

	color: #7D7D7D;

	font-weight: bold;

}

a.bgborder {

	text-decoration: none;

	padding: 5px;

}

a.bgborder:hover {

	color: #FFFFFF;

}

.entry-header .comments-link a{

	border: none;

	background: transparent url(images/comment-bubble.png) no-repeat;

	color: #666;

	top:auto;

	bottom:1.5em;

	background-position-x: 0;

	background-position-y: 0;

	height: 35px;

}

/*.entry-meta .comments-link{

	display: none;

}*/

.single-author .entry-meta .by-author {

	display: initial !important;

}

.entry-header .comments-link a:hover,

.entry-header .comments-link a:focus,

.entry-header .comments-link a:active {

	background-position-y: -35px;

	background-color: transparent;

	color:black;

}



/* images styling */



img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img{

	border: none;

	padding: 0;



/*David was here. I would like to remove shadows only from 

large images, the ones not owned by a gallery object*/



	/*-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.4);

	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.4);

	box-shadow: 2px 2px 2px rgba(0,0,0,0.4);*/

}

.thumb-image img {

	border: solid 2px rgba(0, 0, 0, 0) !important;

	margin-bottom: 20px;

}

.thumb-image img:hover, .thumb-image img.active {

	cursor: pointer;

	border: solid 2px #FFFFFF !important;

}

a:focus img[class*="align"],

a:hover img[class*="align"],

a:active img[class*="align"],

a:focus img[class*="wp-image-"],

a:hover img[class*="wp-image-"],

a:active img[class*="wp-image-"],

#content .gallery .gallery-icon a:focus img,

#content .gallery .gallery-icon a:hover img,

#content .gallery .gallery-icon a:active img {

	background: none;

	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);

	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);

	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);

	position: relative;

	left:-1px;

	top:-1px;

}

#headerslideshow{

	height:288px;

	margin-bottom: -25px;

}

img.size-large{

	max-width: 70%;

}



/* footer styling */



#colophon{

	width: 100%;

	background: URL('./images/black-texture-content.jpg') repeat;

	margin: 15px auto 0px auto;

}

#site-info{

	font-size: 12px;

	text-align: center;

	clear: both;

	padding-bottom: 15px;

}

.footer-navigation {

	max-width: 1000px;

	margin: 0 auto;

	text-align: center;

}

.column-menu {

	display: inline-block;

	margin-top: 20px;

	margin-bottom: 20px;

	text-align: left;

	vertical-align: text-top;

	border-image: none;

    border-style: none solid none none;

    border-width: thin thin 1px;

	border-color: #7D7D7D;

	width: 24%;

}

.column-menu:last-child {

	border-right: none;

}

.column-menu ul {

	list-style: none;

	margin: auto auto auto 15px;

}

.column-menu:first-child ul {

	margin-left: 8px;

}

.column-menu li {

	text-align: left;

	line-height: 15px;

	word-wrap: break-word;

}

.column-menu li:first-child a {

	color: #FFFFFF;

}

/* iphone 4+ */

@media (max-width:800px){

	#main{

		padding-top: 0;

	}

	#site-title a{

		width: 300px;

		height: 40px;

	}

	#headerslideshow{

		display: none;

	}

}



/* iphone 3- */

@media (max-width:400px){

	#site-title a{

		width: 150px;

		height: 20px;

	}

}



/* IE7, IE8, IE9, IE10 */

@media screen\0 {

	#access .menu-header-menu-container {

		margin-top: 3px;

	}

}

#access{

    border-width: 1px\9\0;

    margin-top: -28px\9\0;

}

.entry-title {

    border-width: 1px\9\0 !important;

}

html#ie7 .entry-title, html#ie8 .entry-title,

html#ie7 .entry-content h2, html#ie8 .entry-content h2 {

	min-height: 28px !important;

    border-width: 1px !important;

}

html#ie7 #access, html#ie8 #access{

	min-height: 28px;

    border-width: 1px;

    margin-top: -28px;

    background: url(images/pixel-opacity.png) repeat;

}

html#ie7 .entry-title, html#ie7 .singular .entry-title,

html#ie7 .type-page .entry-content h2,

html#ie8 .entry-title, html#ie8 .singular .entry-title,

html#ie8 .type-page .entry-content h2{

    background: url(images/pixel-opacity.png) repeat !important;

}

html#ie7 .entry-title, html#ie8 .entry-title {

    border-width: 1px !important;

}

/* contact form styling */

label, input[type="text"], input[type="email"], textarea {

	font-family: Helvetica, "Open Sans", sans-serif;

}

.contact-form{ max-width:30em; margin: 0 auto;}



.textwidget input[type='text'], .textwidget textarea { width: 100% !important; }

.contact-form .clear-form { clear: both; }

.contact-form input[type='text'] { width: 100%; margin-bottom: 13px; }

.contact-form select { margin-bottom: 13px; }

.contact-form textarea { height: 200px; width: 100%; float: none; margin-bottom: 13px; }

.contact-form input[type='radio'], .contact-form input[type='checkbox'] { float: none; margin-bottom: 13px; }

.contact-form label { color: #AAA; margin-bottom: 3px; float: none; font-weight: bold; display: block; }

.contact-form label.checkbox, .contact-form label.radio { margin-bottom: 3px; float: none; font-weight: bold; display: inline-block; }

.contact-form label span { color: #EEE; margin-left: 4px; }



.CleanContact { text-align: left; width: 30em; display: block; border:0; padding-top: 1em; margin:0 auto;}

.CleanContact input[type="text"] { width: 100%; margin-bottom: .5em; }

.CleanContact label { clear: none; display: inline; text-align: left; }

.CleanContact textarea{ width: 100%; height: 15em; margin-bottom: .5em; font-size: 1.2em}

.CleanContact label em { font-weight: bold; font-style: normal; color: red; }

.CleanContact_msg { font-weight: bold;  padding: 1em; -moz-border-radius: 5px; -webkit-border-radius: 5px;  }

.CleanContact_msg.ok{ background-color: #8dff87; border: solid 1px #e6f4d7; color: #000; margin: 2em 0 2em 0;}

.CleanContact_msg.err{ background-color: #ff9595; border: solid 1px #fff; color: #000;}



.mejs-container{

	margin: 0 auto;

}eight: bold;  padding: 1em; -moz-border-radius: 5px; -webkit-border-radius: 5px;  }

.CleanContact_msg.ok{ background-color: #8dff87; border: solid 1px #e6f4d7; color: #000; margin: 2em 0 2em 0;}

.CleanContact_msg.err{ background-color: #ff9595; border: solid 1px #fff; color: #000;}



.mejs-container{

	margin: 0 auto;

}

.mejs-poster img{

	max-width: 100%;

}

/* media queries */

@media all and (max-width: 998px) {

	#branding hgroup, #access .menu-header-menu-container {

		padding-left: 25px;

	}

	#main {

		margin-top: 15px;

	}

	.resp-bottom {

		clear: both;

	}

}

@media all and (max-width: 800px) {

	#branding {

		min-height: 150px;

	}

	#branding hgroup, #access .menu-header-menu-container {

		padding-left: 50px;

	}

	#main #content {

		margin-left: 50px !important;

	}

	#main {

		margin-top: 150px;

	}

	#primary {

		margin-top: 25px !important;

	}

	.entry-content p {

		padding-right: 0px;

	}

}

@media all and (max-width: 427px) {

	#branding {

		min-height: 175px;

	}

	#branding hgroup, #access .menu-header-menu-container {

		padding-left: 25px;

	}



	#main #content {

		margin-left: 25px !important;

	}

	#main {

		margin-top: 170px;

	}

	#primary {

		margin-top: 25px !important;

	}

}



/* Header Responsive */

#togglemenu, #togglemenubutton {

	display: none;

}

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

	#branding {

		min-height: 50px;

	}

	#main {

		margin-top: 25px;

	}

	#branding .background-header {

		min-height: initial;

		padding-top: 0;

	}

	#site-title, #site-description {

		display: block;

		margin-top: 0;

		padding-top: 0;

	}

	#branding .divider-header {

		display: none;

	}

	#branding #site-description {

		margin-top: -10px;

	}

	#access .menu-header-menu-container {

		padding-left: 0;

	}

	#access {

		margin-top: -5px;

		min-height: 0;

	}

	#togglemenu, #togglemenubutton {

		display: inline-block;

		position: absolute;

		top: 8px;

		right: 0;

		width: 60px;

		height: 40px;

		cursor: pointer;

	}

	#togglemenubutton {

		background-color: rgba(255, 255, 255, 0.1);

		background-image: url("./images/menubutton.png");

	    background-position: center center;

	    background-repeat: no-repeat;

		border: none;

	    color: #ffffff;

	    font-size: 2em;

	}

	#togglemenu {

		opacity: 0;

		margin: 0;

	}

	#togglemenu + div .menu {

		display: none;

	}

	#togglemenu:checked + div .menu {

		display: block;

	}

	#togglemenu:checked + div .menu {

		margin: 0;

	}

	#togglemenu:checked + div .menu .menu-item {

		clear: both;

		width: 100%;

		text-align: center;

		margin: 0;

		padding: 5px 0;

		border-bottom: solid 1px;

	}

}

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



}

/* Varios */

article#post-1134 .entry-title:first-child, article#post-1139 .entry-title:first-child {

	display: none;

}

#cboxLoadedContent {

	background-color: #000000 !important;

}



/* margen de bulletpoints*/

ul, ol {

    margin: 0 0 0 2.5em;

}