/* ==========================================================================
   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: #fafd05;
    text-shadow: none;
}

::selection {
    background: #fafd05;
    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: #fafd05;
}

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

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

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

.wrapper {
}

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

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

.main-container {
    width: 1024px;
    height: 550px;
    margin: 0 auto;
    text-align: left;
    background: #7f7f7f url('../img/background-fotos.jpg') no-repeat right top;
    position: relative;
    -moz-box-shadow: 5px 5px 50px #000;
    -webkit-box-shadow: 5px 5px 50px #000;
    box-shadow: 5px 5px 50px #000;        
}

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

.main-container .main {
    padding-left: 163px;
    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;

}

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

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

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

.footer-container footer a {
    font: 30px/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: #fafd05;
}

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

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

.links * {
    overflow: hidden;
    text-indent: -9000px;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.links .escuela {
    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;
}

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

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


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

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

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

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

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

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

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