/*
 Theme Name:   olein press child
 Theme URI:    http://localhost/oleinpress-child/
 Description:  olein press child Theme
 Author:       ecomputer
 Author URI:   http://localhost
 Template:     oleinpress
 Text Domain:  oleinpress-child
*/
/*cabecera*/

/*logotipo*/
.custom-logo {


	width: 117px;
  	height: 117px;
	float: right;

	
}


/*Color cabecera*/
.site-branding {
  background-color: #40729f;	
	line-height: 0;
}

div .titulo{
	margin-bottom:0;
	padding-bottom:0;
font-size: 50px;
margin-top: 20px;
	}

.site-description {
	
	margin-left: auto;
    margin-right: auto;


}

/*Color enlaces*/
a,a:active, a:visited{

	color:#77a105;
	text-decoration: underline;
}
a:hover{

	color:#77a105;
	text-decoration: none;
}

.widget-area a, a:active, a:visited, a:hover{
color:#77a105;

}
#wp-members input[type="submit"],input[type="reset"], input[type="submit"],input[type="reset"]:hover, input[type="submit"]:hover{

	background: #57b3fa;
}

.copyright_wrap{
	background-color: #2a272a;
}
.copyright_text p{
	color:#6d6b71;
}


.site-footer{
	background-color: #2d2b2e;
	bottom:0px;
	}
.direccion_1{
	width: 60%;
	float:left;
	bottom:0;

}
.direcciones{
	bottom:0;
}
.direccion_2{
	width: 40%;
	float:right;
	bottom:0;
}
.diseno{
	clear: both;
	background-color: #2a272a;
	width:100%;
    position:absolute;
    left:0;




}
.diseno div{
	padding-left: 60px;

	margin-top:-40px;

}
.titulopie{
	font-size: 1.5em;
	text-transform: uppercase;
}
#page{
	
min-height:100%;
    position:relative;

}
footer{
	width:100%;
    
    
    bottom:0px;
    left:0;


}
html,
body {
    margin:0;
    padding:0;
    height:100%;
    bottom: 0;
}
.direccion_2 a{
	color:#17c8f4;
	text-decoration: none;
}
.direccion_2{
	color:#FFFFFF;
}
.eden-checkbox, .pull-right, .w3eden.user-dashboard, .navigation.post-navigation{
	display:none!important;
}
.single-wpdmpro code{
	background-color:#FFFFFF!important;
}

h3.comment-reply-title, .comment-form-comment, .form-submit, .comment-notes ,.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url {

	display:none;
}
.logged-in-as a:first-child{
	display: none;
}
.logged-in-as a{
font-size: 20px;
text-transform: uppercase;
}
add_action('send_headers', function () {

    if (preg_match('#/download/([a-z0-9]+)_([0-9]{4})#i', $_SERVER['REQUEST_URI'], $matches)) {

        $cau  = strtoupper($matches[1]);
        $year = $matches[2];

        $filename = $cau . '_' . $year . '.txt';

        header('Content-Type: text/plain');
        header('Content-Disposition: attachment; filename="' . $filename . '"');
    }

});

