@import url('resets.css');

/*******************/

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{ color:#000; font: 12px Arial, Helvetica, sans-serif;}
p{margin-bottom:10px;}
h3{margin-bottom:10px;}
a{ color:#000; text-decoration:none;}
a:hover{ color:#c30300;}

.tab_content{display:none;}


#wrapper{ width:960px; margin:10px auto 0; min-height:790px;}
header{ width:960px; overflow:hidden; border-bottom:3px solid #fe0002; padding-bottom:9px;}
header div.headerIzq{ width:170px; float:left;}
nav{ width:760px; float:right; margin-top:63px;}
nav ul{}
nav ul li{ float:left; margin-right:100px;}
nav ul li:last-child{ margin-right:0;}
nav ul li a{ display:block; width:115px; height:14px; background:url(../img/menu.gif) no-repeat 0 0; overflow:hidden; line-height:100px; float:left;}

nav ul li.nosotros a{ background-position:0 0;}
nav ul li.carta a{ background-position:-205px 0;}
nav ul li.servicios a{ background-position:-406px 0;}
nav ul li.contacto a{ background-position:-638px 0;}

nav ul li.nosotros a:hover,
nav ul li.nosotros a.active{ background-position:0 -16px;}
nav ul li.carta a:hover,
nav ul li.carta a.active{ background-position:-205px -16px;}
nav ul li.servicios a:hover,
nav ul li.servicios a.active{ background-position:-406px -16px;}
nav ul li.contacto a:hover,
nav ul li.contacto a.active{ background-position:-638px -16px;}






div.middle{ clear:both; padding-bottom:20px;}

div.efectoHome{ background: url(../img/home/home-02.gif) no-repeat 0 0; width:960px; height:571px;}





div.main{ clear:both; padding-bottom:10px; margin-bottom:10px; width:100%; overflow:hidden;}
/*div.main img{ display:none;}*/
div.main article { width:540px; padding-right:0px; float:left; line-height:20px;}
div.main article.conBorde { width:515px; padding-right:25px; border-right:1px solid #CCC; float:left; }
div.main article h3{margin-bottom:10px;}
div.main article h4{ font-size:15px; color:#323232; font-weight:bold; clear:both; margin-bottom:10px;}
div.main article p{ font-size:13px; color:#323232; text-align:justify; margin-bottom:10px;}

div.main article ul { margin:0 0 10px;}
div.main article ul li{ background:url(../img/bullet.gif) no-repeat 0 8px; padding-left:11px; font-size:12px;}

div.main article ul.menues{ padding-bottom:30px;}
div.main article ul.menues li{ float:left; padding:0 10px 0 0; background:none; font-weight:bold;}
div.main article ul.menues li a{ font-weight:bold; color:#323232; font-size:15px;}
div.main article ul.menues li a:hover,
div.main article ul.menues li a.active{color:#fe0002;}

div.main article div.eventos{ float:left; width:240px; margin:0px 60px 0 0;}
div.main article div.eventos:last-child{margin-right:0;}
div.main article div.eventos h3{ margin-bottom:0;}
div.main article div.eventos ul { margin-left:5px;}


div.main aside{ font-size:15px; text-align:justify; color:#323232; float:right; width:401px; line-height:20px;}
div.main aside figure{ padding:0; margin:0;}
div.main aside h3{ font-size:17px; color:#c30300; font-weight:normal;}
div.main aside ul.first{ margin-bottom:20px;}
div.main aside ul li{ font-size:14px;}



footer{ clear:both; padding:10px 0 10px; border-top:3px solid #fe0002;}

footer div.footerIzq{float:left; width:900px;}

footer ul.musica { float:left;}
footer ul.musica li {float:left; margin-right:2px; padding-top:2px;}
footer ul.musica li.musica { padding-top:0px; margin-right:8px; color:#999; font-weight:bold;}
footer ul.musica li a{ display:block; width:13px; height:11px; background:url(../img/play.png) no-repeat 0 0; float:left; overflow:hidden; line-height:100px;}
footer ul.musica li.play a{background-position:0 0;}
footer ul.musica li.pausa a{background-position:-13px 0;}

footer ul.musica li.play a:hover{background-position:0px -17px;}
footer ul.musica li.pausa a:hover{background-position:-13px -17px;}

footer ul.musica li.play a.active{background-position:0px -17px;}
footer ul.musica li.pausa a.active{background-position:-13px -17px;}

footer div.footerIzq div.texto{ margin-left:270px; float:left; font-weight:bold; color:#fe0002; font-size:13px;}
footer div.footerIzq div.texto a{ color:#fe0002; font-weight:bold;}

footer div.lopatao{ width:27px; float:right;}


div.slideLogos{ width:375px;}

.slides_container {
	width:375px;
	display:none;
}

.pagination {
	list-style:none;
	margin:0 15px 0 0;
	padding:0;
	clear:both;
	text-align: center;
	float:right;
}
.pagination li{ float:left; margin-left:5px;}
.pagination a { display:block; width:12px; height:12px; background:url(../img/paginador.jpg) no-repeat left top; overflow:hidden; line-height:200px;}
.pagination .current a { background-position:left bottom;}


div.slideLogos .slides_container div{ width:375px; min-height:250px;}
div.slideLogos div ul li{ float:left; width:125px; text-align:center; min-height:80px; line-height:80px;}

p#vtip { display: none; position: absolute; padding: 4px 5px; left: 0px;  background-color: #e40100; z-index: 9999; color:#FFFFFF; font-weight: normal; font-size:14px; border-radius:4px;}
p#vtip #vtipArrow { position: absolute; bottom: -5px; left: 15px;}



form.form { width:100%;}
form.form div{ clear:both; margin-bottom:5px;}
form.form div label{ width:130px; float:left; font-size:16px; color:#323232; }
form.form div input[type=text],
form.form div input[type=email],
form.form div textarea{ border:1px solid #CCC; padding:3px; width:373px; font-family:Arial, Helvetica, sans-serif; font-size:11px;}
form.form div textarea{ height:6em;}

form.form div#resultContacto{padding-left:130px; color: #F90; display:none; font-weight:bold;}
form.form div#resultContacto span{color:#659d02; display:block; background:url(../img/ok.png) no-repeat 0 0; padding:3px 0 5px 30px;}
form.form span.error{ clear:both; color:#F00; display:block; margin-left:130px;}
form.form div.button{ text-align:right;}
div.noview{ display: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: 100%;
}

/*
 * 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}
