/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Estilos
   ========================================================================== */
html,body{
height:100%;
color:#666;
font: 'Open Sans', Helvetica, sans-serif !important;

font-size: 1em;
} 
.wrapper{
margin: auto;
height: auto;
min-height:100%;
}
 
.wrapper:after{
width: 10089px;
display:block;
clear:both;
}

header {
	width:100%;
	height:	100px;
}
header .main-head{
	width:100%;
	height:100px;
background: #EF7B21;

	}
header .main-head .left-logo{
	float:left;
	color:#FFF;
	font-size:25px;
	margin: 1% 0px 0px 10%;
	}
header .main-head .right-logo{
	float: right;
	margin: 1% 10% 0px 0px;
	}
.breadcrumb {
	width: 100%;
	height: 40px;
	margin: 0 0 30px 0 ;
	border-bottom: 1px dotted #666;
	}
.breadcrumb  ul{
	padding:0;
	margin:0;
	}
.breadcrumb  ul li{
	float:left;
	display:inline;
	list-style:none;
	margin:5px;
	color:#666;
	}
.breadcrumb  ul li a{
	color:#666;
	text-decoration:none;
	font-variant: small-caps;
	}
.breadcrumb  ul li a:hover{
	color:#ED861F;
	text-decoration:none;
	font-variant: small-caps;
	}
.breadcrumb ul li img{
	margin:0px;
	}

.main-nav ul{
	padding:0;
	margin:0;
	display: block;
	}
.main-nav ul li{
	margin: 3px 0px 0px 0px;
	background: #E2E6E9;
	}
.main-nav ul li a{
	width:160px;
	height:20px;
	color: #666;
	text-decoration:none;	
	padding: 10px 20px;	
	display: block;
	}	
.main-nav ul li a:hover{
	background: #D9DADE;
	}
.main-nav ul li a.active{
	background: #D9DADE;
	}
/* ---   contenido   ---*/
.content{
	width:80%;
	height:auto;
	margin: 3% auto  3% auto;
	}


.div50{
	float:left;
	width:49%;
	height:auto;
	}
	
.div50 h1{
	font-size: 20px;
	}
.div50 ul {
		padding:0;
	
	}
.div50 ul li{
	list-style: none;
	
	}
.div50 ul li a{ 
	color: #EF7B21;
	font-style:normal;
	text-decoration: none;
	}
	
.div50 ul li a:hover{ 
	color: #333;
	font-style:normal;
	text-decoration: none;
	}
	
.div25{
	float:left;
	width:23%;
	height:auto;
	margin: 0 1% 0 0;
	}	
.div25 h1{
	font-size: 20px;
	}
.div25 ul {
		padding:0;	
	}
.div25 ul li{
	list-style: none;	
	}
.div25 ul li a{ 
	color: #EF7B21;
	font-style:normal;
	text-decoration: none;
	}
.div25 ul li a:hover{ 
	color: #333;
	font-style:normal;
	text-decoration: none;
	}
	
.float-left{
	float:left
	}
.float-right{
	float:right
	}
.height630{
	height: 630px;	
	}
.margin5{
	margin:5px;
	}
.margint5{
	margin-top:5px;
	}
.margin10{
	margin:10px;
	}
.margin-top20{
	margin-top:20px;
	}
.marginl5{
	margin-left:5%;
	}
.clear{
	clear:both;
	}
.spacer20{
	width: 100%;
	height: 20px;
	float: left;	
	}
.spacer400{
	width: 100%;
	height: 200px;	
	}
footer{
	float: left;
	width: 100%;
	height:100px;
	margin: -100px auto 0;
	}

footer figure{
	float: left;
	padding:0 0 0 30px ;	
	}

.hieden{
	display: none;
	}	
/* links */
.content table td a{
	display:block;	
	}
.content .wrap1 ul li a.link{
	color: #EF7B21;
	font-style:normal;
	text-decoration: none;
	}

a.calendar{
	display: block;
	float: left;
	margin: 0px 10px 5px 100px;	
	}
a.calendar{
	background:url(../img/calendar.png) left no-repeat;
	height:30px;
	width:31px;		
	}
a.calendar:hover{
	background: url(../img/calendar.png) right no-repeat;
	height:30px;
	width:31px;		
	}
a.calendar span{
	display:none;
	height:30px;
	width:31px;				
	}

a.eliminar{
	background:url(../img/erase.png) left no-repeat;
	height:41px;
	width:40px;		
	}
a.eliminar:hover{
	background:url(../img/erase.png) right no-repeat;
	height:41px;
	width:40px;		
	}
a.eliminar span{
	display:none;
	height:41px;
	width:40px;				
	}



a.editar{
	background:url(../img/editar.png) left no-repeat;
	height:41px;
	width:32px;		
	}
a.editar:hover{
	background:url(../img/editar.png) right no-repeat;
	height:41px;
	width:32px;		
	}
a.editar span{
	display:none;
	height:41px;
	width:32px;				
	}

	
a.detalle{
	background:url(../img/detail.png) left no-repeat;
	height:35px;
	width:40px;		
	}
a.detalle:hover{
	background:url(../img/detail.png) right no-repeat;
	height:35px;
	width:40px;		
	}
a.detalle span{
	display:none;
	height:35px;
	width:40px;				
	}

a.volver{
	background:url(../img/return.png) left no-repeat;
	height:39px;
	width:33px;		
	}
a.volver:hover{
	background:url(../img/return.png) right no-repeat;
	height:39px;
	width:33px;		
	}
a.volver span{
	display:none;
	height:39px;
	width:33px;				
	}

a.nuevo{
	background:url(../img/new1.png) left no-repeat;
	height:43px;
	width:32px;
	}	
a.nuevo:hover{
	background:url(../img/new1.png) right no-repeat;
	height:43px;
	width:32px;
	}
a.nuevo span{
	display:none;
	height:43px;
	width:32px;
	}


a.newup{
	display:block;	
	}

a.newup span {
	float:left;
	margin:10px 0 0 0;
	color:#666666;
	}	
a.newup:hover span{
	color: #ED861F;
	}
a.newup div{
	float:left;
	background:url(../img/new1.png) left no-repeat;
	height:35px;
	width:32px;
	margin: 0 0 0 5px;
	
	}
a.newup:hover div{
	float:left;
	background:url(../img/new1.png) right no-repeat;
		height:35px;
	width:32px;
	margin: 0 0 0 5px;	
	}

/* mensajes error >< exito */
.popup {
    background: url(../img/back.png) repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 5;
}

.popup .success {
	position:relative;
	margin: 15% 35%;
	width: 30%;
	height: 200px;	
    background: #fff;
	border: #70A83B 4px solid;
	color: #666;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1em;
	text-align: left;
	padding:1%;
}
.popup .success .cerrar {
	float:right !important;
	height:10px;
	width:10px;
}
.popup .success figure {
	float:left;
	height:70px;
	width:70px;
}
.popup .success h1 {
	float:left;
	font-size:2.5em;
	line-height: 1em;
	margin: 20px 0 0 30px;
	color: #70A83B;
	font-weight:normal;
}
.popup .success p {
	float:left;
	width: 100%;
	font-size:1.5em;
	margin: 30px 0 0 0;
	color: #666;
}

.popup .fail {
	position:relative;
	margin: 15% 35%;
	width: 30%;
	min-height: 200px;
	height: auto;
    background: #fff;
	border: #C74F40 4px solid;
	color: #666;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1em;
	text-align: left;
	padding:1%;
}
.popup .fail .cerrar {
	float:right !important;
	height:10px;
	width:10px;

}

.popup .fail a div.button-warning{
	float:right;
	width: 125px; 
	height: 25px;
	border: 1px solid #999;
	background: #999;
	color: #fff; 
	margin: 5px;
	text-align:center;
	padding:5px;	 
	} 
.popup .fail a div:hover.button-warning{
	float:right;
	width: 125px; 
	height: 25px;
	border: 1px solid #999;
	background: #666;
	color: #fff;
	margin: 5px;
	text-align:center;
	padding:5px;	 
	} 
	
.popup .fail figure {
	float:left;
	height:70px;
	width:70px;
}

.popup .fail h1 {
	float:left;
	font-size:2.5em;
	line-height: 1em;
	margin: 20px 0 0 30px;
	color: #C74F40;
	font-weight:normal;
}
.popup .fail p {
	float:left;
	width: 100%;
	font-size:1.5em;
	margin: 30px 0 0 0px;
	color: #666;
}
/*  CALENDARIO SACIT */


/* ==========================================================================
   IE 10  
   ========================================================================== */

.ie10 .content form div.select {
    float:left;
	width:200px;
	height:30px;
	border: 1px solid #999;	
	background: #f7f7f8 url(../img/select.png) no-repeat center;
	margin:5px;
	padding:0;
	-webkit-border-radius: 5px; /* Android ≤ 1.6, iOS 1-3.2, Safari 3-4 */
     border-radius: 5px; /* Android 2.1+, Chrome, Firefox 4+, IE 9+, iOS 4+, Opera 10.50+, Safari 5+ */	 
    overflow: hidden;
} 
.ie10 .content form div.select select {
	background: transparent;
   width: 230px;
   padding:0;
   margin:0;
   font-size: 0.8em;
   line-height: 0;
   border: 0;
   border-radius: 0;
   height: 34px;
   -webkit-appearance: none;
   }


/* ==========================================================================
   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-marginzs 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.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@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 */
}

@media only screen and (max-width: 1400px) {
	body{ font-size:78%; }
}
/* ==========================================================================
   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;
    }
}
