/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   ★ Damiano! ★ Custom Styles 
   ========================================================================== */
body{ width: 1165px; margin:20px auto; font-family: 'Calibri', sans-serif; background-image: url(../img/subtle_dots.png); }
#header{ min-height: 156px; margin: auto; background: url(../img/imagen_header.png) no-repeat center; }
#logo_notarias{ float: left; margin-top: 6px; margin-left: 25px; margin-top: 30px; }
#informacion_usuario{ float: right; margin: 18px 50px; min-width: 334px; background-color: #333333; }
#datos_usuario{ width: 202px; float:left; }
#datos_usuario h3, #datos_usuario p { margin: 5px; color: #FFF; }
#foto_usuario{ margin: 0 1px;float:right; }
#foto_usuario img{ border: 1px solid #000; margin: 2px 0px; }
#barra_gris{ width: 1160px; height: 80px; float:left; background: url(../img/barra_menu.png) no-repeat center; }
#barra_gris h2, #barra_gris p{ color: #FFF; margin: 0; }
#titulo_pagina { float: left; padding: 0 25px; }
#titulo_pagina span{ font-size: 16px; }
#reloj_pagina{ float: right; padding: 15px 25px; }
.input_buscador{ background-image: url(../img/buscador.png)!important; float: left; border: none; border-radius: 3px; height: 25px; width: 204px; padding-left: 3px; }
.boton_buscador{ background-image: url(../img/boton_buscador.png); border:none; width: 23px; height:26px; border-radius:5px; float: left; margin-left: 2px; }
#content{ float: left; width: 1105px; background-color: #CCC; margin-left:18px; margin-top: -23px; padding: 40px 5px 40px 15px;}
#footer{ float: left; width:1126px; background-color: #4D4D4D; margin-left:18px; min-height:180px; font-size: 12px; border-bottom-right-radius: 15px; border-bottom-left-radius: 15px; margin-bottom: 20px; color: #CCC; }
.footer_izquierdo{ width:554px; min-height: 100px; float: left;  }
.footer_derecho{ width:554px; min-height: 100px; float: left; margin-top: 30px;  }
input[type="text"], input[type="password"], textarea{ background-image: url("../img/llenado.png"); width: 171px; height: 23px; text-indent: 5px; font-size: 12px; border: 1px solid #DDD; border-radius:3px; }
textarea{ height: 80px; resize: none; }
select{ height: 23px; font-size: 12px; border-radius: 3px; border:1px solid #DDD; }
.boton_naranja{ background-color: #f05a22; border:none; padding:5px; color:#FFF; border-radius: 3px; }
.boton_naranja:hover{ background-color: #F37B4E; }
#acordion { float: left; margin-left: -33px; margin-bottom: 15px; }
#acordion div { background-color: grey; }
#acordion div ul li{ width:263px; height:41px; border-bottom:1px #B0B0B0 solid; }
#acordion div ul li a{ margin: 5px; margin-top: 8px; float: left; }
#acordion { float:left; margin-top:0px; }
#acordion h3 { background-image:url('../img/boton.png'); background-repeat:no-repeat; width:263px; height:41px; margin-top:0px; margin-bottom:0px; font-weight: normal; font-size: 16px; }
#acordion h3 a, #acordion h3 span{ color: #FFF; text-decoration: none; padding: 5px; float: left; margin-top: 3px; cursor:pointer; }    
#acordion div{ display: none; }
.last-child{ background-image:url('../img/boton_abajo.png') !important; height: 63px !important; }
ul{ list-style-type: none; margin: 0; padding: 0; }
ul li a{ text-decoration: none; color: white!important; }
#content_box{ width: 800px; float: left; margin-left: 40px; }
#content_title{ width: 800px; height: 40px; float: left; background-color: #F37B4E;  background: -webkit-linear-gradient(bottom left, #F37B4E, #f05a22); border-top-left-radius: 3px; border-top-right-radius: 3px; }
#content_title h3{ text-align: right; margin-right: 20px; margin: 8px; color: #FFF; }
#content_info{ width: 770px; min-height: 40px; float: left; padding: 15px; background-color: #a4a4a4; min-height:400px; }
.tabla_naranja{ margin: 1em 0; border-collapse: collapse; width: 100%; }
.tabla_naranja td, .tabla_naranja th { border: 1px solid grey; padding: .6em 10px; text-align: center; font-size: 14px; font-family: calibri; }
.mensaje_success{ font-size: 20px; background-color: #b8e6b8; font-style: italic; padding: 0 10px; }
.mensaje_fail{ font-size: 20px; background-color: #E68A8A; font-style: italic; padding: 0 10px; }
.ligas_panel { float: right; }
.ligas_panel li{ float: left; margin: 0px 15px; }
.controls_panel { float: left; }
.controls_panel li{ float: left; margin: 0px 15px; }
.controls_panel li span{ font-size: 18px; margin-left: 5px; margin-top: 15px; color: #333333; text-align: center; }
.regresar{ float: right; margin-bottom: 15px; }
table{ float:left; margin: 15px 0; width:100%; }
table td, table th{ border: 1px solid grey; padding:5px 8px; text-align: center; background-color:#E6E6E6; }
table th{ background-color: #FF9966; color: #333333; }
table input[type='text'], table input[type='password'], table select{ width: 100%; border-color: #CCC; }
input[type='submit']{ float: right; }
textarea{ width: 99%; }

/* == Pagination === */
ul{border:0; margin:0; padding:0; }

#pagination-digg li{
    border:0; margin:0; padding:0;
    font-size:11px;
    list-style:none;
    margin-right:2px;
}
#pagination-digg a{
    border:solid 1px grey;
    margin-right:2px;
    background: #eee;
    color: black!important;
}
#pagination-digg .previous-off, #pagination-digg .next-off {
    border:solid 1px grey;
    color:#666;
    display:block;
    float:left;
    font-weight:bold;
    margin-right:2px;
    padding:3px 4px;
}
#pagination-digg .next a, #pagination-digg .previous a {
    font-weight:bold;
}
#pagination-digg .active{
    background:#F37B4E;
    color:#FFFFFF;
    font-weight:bold;
    display:block;
    float:left;
    padding:4px 6px;
}
#pagination-digg a:link, #pagination-digg a:visited {
    color:#666;
    display:block;
    float:left;
    padding:3px 6px;
    text-decoration:none;
}
#pagination-digg a:hover{
    border:solid 1px #666
}













/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    /*a[href]:after {
        content: " (" attr(href) ")";
    }*/

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
	.hidden-print{
		display: none;
	}
	#content_box{
		width: 1000px;
	}
	#content_info{
		width: 100%;
	}
	#informacion_usuario{
		margin: 18px 100px;
	}
}
