/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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

a {
    color: #3b3b3b;
    text-decoration: none;
}

a:hover {
    color: #b9e9e7;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 21px/30px Hectic, serif;
    color: #3b3b3b;
    background: #a3c5c4; /*url("../img/background-general.jpg");*/
}

.wrapper {
}

/* ===================
    ALL: Orange Theme
   =================== */

.general-container {
    text-align: center;
    padding-top: 25px;
}

.main-container {
    width: 1024px;
    height: 550px;
    margin: 0 auto;
    text-align: left;
    background: #7f7f7f;
    position: relative;
    -moz-box-shadow: 2px 2px 50px #282828;
    -webkit-box-shadow: 2px 2px 50px #282828;
    box-shadow: 2px 2px 10px #282828;
}

.main-container aside {
    float: left;
    width: 160px;
}

.main-container .main {
    padding-left: 20px;
    display: table;       
}

.main article {
    top: 0;
    right: 0;
    position: absolute;        
    float: right;
    width: 800px;
    display: table-cell;
    margin: 100px 20px 20px 40px;

}

.main article section {
    margin: 0 0px;

}

.main article section p {
    font: 24px/22px MarkerLitterBox, serif;
    letter-spacing: -0.02em;
}

.title {
    background: #7f7f7f url('../img/logo.jpg') no-repeat center;
    overflow: hidden;
    height: 166px;
    width: 160px;
    text-indent: -9000px;
    margin: 0 0 10px 0;
    padding: 0;    
}

.title a {
    height: 166px;
    width: 160px;
    display: block;
}

.footer-container {
    top: 0;
    right: 0;
    position: absolute;
}

.footer-container footer p {
    font: 18px/24px Hectic, serif;
    margin-right: 80px;
    text-indent: -70px;
}

.footer-container footer a {
    font: 30px/24px MarkerLitterBox, serif;
}

.footer-container footer a:hover {
    color: #ed0808;
}

.footer-container footer span {
    font: 36px/24px MarkerLitterBox, serif;
}

/* ==============
    Menu
   ============== */

nav ul {
    margin: 0 0 0 20px;
    padding: 0;
}

nav a {
    font: 22px/28px Hectic, serif;
    display: block;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
    text-decoration: none;
    font-weight: normal;
    color: white;
}

nav a.current {
    color: #b9e9e7;
}

/* ==============
    Links
   ============== */

.links {
    display: block;    
    margin-top: 15px;
    text-align: center;
}

.links .fb-like {
    margin: 0 auto;
    background: #7f7f7f;
}

.links .escuela {
    overflow: hidden;
    text-indent: -9000px;
    margin: 0;
    padding: 0;
    display: inline-block;
    
    background: url('../img/logo-surfagua.jpg') no-repeat center;
    height: 95px;
    width: 160px;
    text-indent: -9000px;
    margin: 0 0 10px 0;
}

.links .icon {
    height: 30px;
    width: 30px;   
    margin: 5px 0;
    padding: 0;
    overflow: hidden;
    text-indent: -9000px;
    margin: 0;
    padding: 0;
    display: inline-block;    
}

.links .icon:nth-of-type(2) {
    margin-left: 20px;
}

.links .icon:last-of-type {
    margin-right: 20px;
}

.links .facebook {
    background: url('../img/facebook.png') no-repeat center;
}

.links .twitter {
    background: url('../img/twitter.png') no-repeat center;
    display: none;
}

.links .flickr {
    background: url('../img/flickr.png') no-repeat center;
    display: none;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Estilos por páginas
   ========================================================================== */

.inicio {
    background: #585858;
}

.inicio .general-container {
    padding-top: 90px;
}

.inicio .main-container {
    background: #585858;
    text-align: center;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.inicio .main-container a {
    margin: 0 auto;
    display: inline-block;
    width: 500px;
    height: 345px;
    /*background: url('../img/entrada.gif'); */
}

.filosofia .main-container {
    background: #7f7f7f url('../img/background-filosofia.jpg') no-repeat right top;
}

.filosofia .main article section p {
    font: 24px/30px Hectic, serif;
}

.galeria .main-container {
    background: #7f7f7f url('../img/background-galeria.jpg') no-repeat right top;
}

.galeria h4 {
    position: absolute;
    margin-bottom: 0;
    top: 65px;
    left: 190px;
}

.galeria h5 {
    position: absolute;
    margin-bottom: 0;
    bottom: 180px;
    right: 60px;
}


.la-escuela .main-container {
    background: #7f7f7f url('../img/background-la-escuela.jpg') no-repeat right top;
}

.la-escuela .main article {
    margin-top: 90px;
}

.la-escuela .main article section h3 {
    text-indent: 190px;
    margin-top: 0;
    margin-bottom: 5px;
}

.la-escuela .main article section p:first-of-type {
    margin-top: 0;
}

.la-tienda .main article {
    margin-top: 110px;
}

.la-tienda .main-container {
    background: #7f7f7f url('../img/background-la-tienda.jpg') no-repeat right top;
}

.la-tienda .main article section h3 {
    text-indent: 140px;
    margin-top: 0;
    margin-bottom: 5px;
}

.la-tienda .main article section p:first-of-type {
    margin-top: 0;
}

.la-tienda .footer-container footer p {
    
}

.links-amigos .main-container {
    background: #7f7f7f url('../img/background-links.jpg') no-repeat right top;
}

.monitores .main-container {
    background: #7f7f7f url('../img/background-monitores.jpg') no-repeat right top;
}

.monitores .main article {
    margin-right: 40px;
}

.monitores .main article section h3 {
    margin-bottom: 0;
}

.monitores .main article section h3:first-of-type {
    text-indent: 100px;
    margin-top: 0;
}

.monitores .main article section p {
    margin-top: 0;
}

.tarifas .main-container {
    background: #7f7f7f url('../img/background-tarifas.jpg') no-repeat right top;
}

.tarifas .main article section strong {
    color: #ed0808;
    font-weight: normal;        
}

.tarifas .main article section h3 {
    margin-left: 40px;
}


/* ==========================================================================
   Tabla
   ========================================================================== */

.lista {    
    margin-left: 60px;
    font: 20px/22px MarkerLitterBox, serif;
    *border-collapse: collapse; /* IE7 and lower */
    border-spacing: 0;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    -webkit-box-shadow: 0 0px 7px #2b2725; 
    -moz-box-shadow: 0 0px 7px #2b2725; 
    box-shadow: 0 0px 7px #2b2725;         
    background: #fff;
}

.lista tr:hover {
    background: #b9e9e7;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;     
}    
    
.lista td, .lista th {
    border-left: 1px solid #a0a0a0;
    border-top: 1px solid #a0a0a0;
    padding: 6px 20px;
    text-align: center;
}

.lista th {
    color: #fff;
    background-color: #2b2725;
    border-top: none;
}

.lista td:first-child, .lista th:first-child {
    border-left: none;
}

.lista th:first-child {
    -moz-border-radius: 12px 0 0 0;
    -webkit-border-radius: 12px 0 0 0;
    border-radius: 12px 0 0 0;
}

.lista th:last-child {
    -moz-border-radius: 0 12px 0 0;
    -webkit-border-radius: 0 12px 0 0;
    border-radius: 0 12px 0 0;
}

.lista th:only-child{
    -moz-border-radius: 12px 12px 0 0;
    -webkit-border-radius: 12px 12px 0 0;
    border-radius: 12px 12px 0 0;
}

.lista tr:last-child td:first-child {
    -moz-border-radius: 0 0 0 12px;
    -webkit-border-radius: 0 0 0 12px;
    border-radius: 0 0 0 12px;
}

.lista tr:last-child td:last-child {
    -moz-border-radius: 0 0 12px 0;
    -webkit-border-radius: 0 0 12px 0;
    border-radius: 0 0 12px 0;
}

/* ==========================================================================
   Slideshow
   ========================================================================== */

.slider-wrapper { 
    background: #fff;

    -webkit-box-shadow: 0px 3px 6px rgba(0,0,0,.5) !important;
    -moz-box-shadow: 0px 3px 6px rgba(0,0,0,.5) !important;
    box-shadow: 0px 3px 6px rgba(0,0,0,.5) !important;
    
    position: absolute;
    display: table-cell;

    -webkit-transition: -webkit-transform .15s linear;
    -moz-transition: -moz-transform .15s linear;
    transition: transform .15s linear;
}

#grande.slider-wrapper {
    height: 371px;
    top: 120px;
    left: 210px;
    float: left;
    width: 580px;
}

#pequeno.slider-wrapper {
    height: 125px;
    bottom: 50px;
    right: 50px;
    float: left;
    width: 160px;
}

#pequeno.slider-wrapper img {
    border: 10px solid white;
}

.rotar-izquierda {
    -webkit-transform: rotate(-3deg);    
    -moz-transform: rotate(-3deg);
    transform: rotate(-3deg);
}

.rotar-derecha {
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    transform: rotate(2deg);
}

#grande.theme-default .nivoSlider {    

    margin-bottom: 0 !important;
    border: 10px solid white;
}

#grande .nivoSlider {
    height: 371px !important;
}

#grande .nivo-main-image {
    height: 371px !important;
    width: 580px;
}

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

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    .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;
    }

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

/* ==========================================================================
   Other medias
   ========================================================================== */


/* iPad [portrait + landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .footer-container footer p {
        font: 18px/24px Hectic, serif;
        margin-right: 2em;
        text-indent: -3em;
        margin-top: 0.5em;
    }

    .footer-container footer a {
        font: 26px/24px MarkerLitterBox, serif;
    }

    .footer-container footer span {
        font: 36px/24px MarkerLitterBox, serif;
    }
}

/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 480px) {
    .footer-container footer p {
        font: 18px/24px Hectic, serif;
        margin-right: 2em;
        text-indent: -3em;
        margin-top: 0.5em;
    }

    .footer-container footer a {
        font: 26px/24px MarkerLitterBox, serif;
    }

    .footer-container footer span {
        font: 36px/24px MarkerLitterBox, serif;
    }
}

