/*! 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;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    font-family: 'Antic Didone', serif;
}
.menu{
        box-shadow: 0px 5px 8px rgba(0,0,0,0.5);
    background-color: rgba(255,255,255,0.7);
    width: 100%;
    height: 77px;
    position: fixed;z-index: 999;
    top: 0;
}
#menu {
    max-width: 800px;
    margin: 0 auto;
}
#menu ul {
    padding: 0;
    margin: 0;
}
#menu li:first-child {
    border-left: 0;
}
#menu li {
    display: inline-block;
    margin-top: 2px;
    width: 16%;
    text-align: center;
    border-left: 1px solid #000;
}

a{
    color: inherit;
    text-decoration: none;
}

#menu li a:hover{

    color:#297DC1
}

.proyecto-n a:hover{
    color:#297DC1
}

a.active{
    color: #297DC1;
    text-decoration: underline;
}

.social {
    position: absolute;
    top: 80px;
    right: 25px;
}

.social li{
    list-style-type: none;
    margin-bottom: 15px;
}

.footer{
    position: fixed;
    font-family: 'Hind',sans-serif!important;
    z-index: 999;
    color:#fff;
    padding: 10px 0;
    background: #000;
    text-align: center;
    bottom: 0;
    font-family: sans-serif;
    width: 100%;
    font-size: 13px;
}
.slicknav_menu,.logo-m {
    display:none;
}

.descripcion span{
    max-width: 800px;
    margin: 0 auto
}

.logo-m{
    position: fixed;
    top: 3px;
    z-index: 9999;
    left: 10px;
}

@media screen and (max-width: 880px) {
    /* #menu is the original menu */
    .menu,.logo-d {
        display:none!important;
    }

    .js .slicknav_menu,.logo-m {
        display:block;
    }
}

.info-pag{
    box-shadow: 0px 5px 8px rgba(0,0,0,0.5);
    background-color: rgba(255,255,255,0.8);
    max-width: 755px;
    font-size: 14px;
    margin: 85px auto;
    padding: 35px;
}
.logo-info{
    width: 100%;
    text-align: center;
}

.cincuenta{
    float: left;
    width: 50%;
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    padding-right: 20px;
}

.col-2{
    margin-bottom: 40px;
}

.paragraph{
    margin: 25px 0;
}

.social-d.clearfix {
    max-width: 550px;
    margin: 0 auto;
}
.contacto .social-d.clearfix{
    width: 100%;
    text-align: center;
    max-width: 100%;
}

.social-d ul{
    padding: 0;
    margin: 0;
}

.contacto .social-d li{
    width: auto;
    float: inherit;
}
.social-d li{
        display: inline-block;
    width: 43%;
    padding: 10px;
    float: left;
}

.social-d img{
    margin-right: 5px;
}

input, textarea{
        color: #C4C4C4;
    font-family: Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;
    font-style: italic;
    padding: 6px;
    border: 0;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.2);
    border-color: #C4C4C4;
    background-color: #FFFFFF;
    border-radius: 3px;
    resize:none;
}
input{
        margin-bottom: 10px;
        width: 90%;
}

textarea{
    width: 100%;
    height: 95px;
}

#form {
    margin: 20px 0 40px;
}

.cuarenta {
    float: left;
    width: 40%;
}

.sesenta {
    width: 60%;
    float: left;
}

#submit {
    background-color: #666;
    color: #fff;
    font-style: normal;
    padding: 5px 0;
    width: 200px;
    float: right;
    margin: 15px 0 0 0;
}

/*#slides{
    z-index: -1;
}*/

/*.slides-pagination{
        bottom: 85px;
}*/
.slides-pagination a{
            outline: 0;
}

.en-proceso .slides-pagination{
    bottom: 110px;
    }
.descripcion span{
    max-width: 800px;
    display: block;
    margin: 0 auto
}
.descripcion {
    font-family: 'Hind', sans-serif;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    padding: 10px;
    width: 100%;
    margin: 0 auto;
    min-height: 50px;
    left: 0;
/*    font-weight: 700;*/
    font-size: 13px;
    text-align: center;
    right: 0;
    color: #fff;
    bottom: 38px;
}

@media screen and (max-width: 410px){
    .footer{
        font-size: 10px;
    }
}

@media screen and (max-width: 480px){
    .cycle-slideshow div{
/*    line-height: 1.5em!important;
*/}
.center{
/*    bottom: 23px!important;
*/}
}

.cycle-slide.cycle-sentinel {
    text-align: center;
}

.cycle-slideshow div{
    padding: 0 15px;
    text-align: center;
    line-height: 2.6em;
	
}

.cycle-slideshow{
        margin: 0 20px;
}

.cycle-carousel-wrap{
	/*width:100%;*/
}
.center{
    position: absolute;width: 100%;bottom: 33px;font-weight: 800
}

#prev {
    position: absolute;
    left: 4px;
}

#next {
    position: absolute;
    right: 4px;
}

.proyecto-n li{
    text-align: center;
}

.proyecto .descripcion{
    z-index: 9999;
    font-family: 'Hind', sans-serif;
    text-align: left;
}

.title-p{
    font-size: 15px;
    border-bottom: 1px solid;
    margin-bottom: 15px;
    display: inline-block;
}

.descripcion b{
    font-weight: 800;
    text-transform: uppercase;

}

@media screen and (max-width: 700px) and (min-width: 480px){
    .menu-p li{
        width: 15%!important;  
    }
}

#supersized{
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 768px){
    .portafolio .menu-p li {
    width: 50%!important;
    margin: 10px 0px!important;
}
.portafolio .menu-p li .color{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    display: none;
}
.proyecto-n li{
    width: 100%!important;
}
.portafolio-sub .menu-p {
    width: 100%!important;
    left: 0!important;
    top: 110px!important;
}
.logo-info img {
    max-width: 100%;
}
.portafolio-sub .descripcion{
/*    max-height: 80px;
*/    overflow: auto;
}
.descripcion{
/*    max-height: 55px;
*/    overflow: auto;
}
/*.proyecto-n ul {
    line-height: 1.5em!important;
}*/
.portafolio-sub .menu-p ul {
    padding: 0;
    margin: 0;
    text-align: center;
    }
/*    .portafolio-sub .proyecto-n {
    bottom: 56px!important;
    height: 24px!important;
    overflow: auto;
    min-height: auto!important;
}*/
    .portafolio-sub .menu-p li {
    width: 16%!important;
}
.portafolio .menu-p li .gris,.portafolio .menu-p li .color {
    width: 50%!important;
}
    .cincuenta,.cuarenta,.sesenta{
            width: 100%;
    padding-right: 0;
    margin-bottom: 15px;
    }
    input,.social-d li{
        width: 100%;
    }
/*    .descripcion{
        bottom: 56px;
        font-size: 12px;
    min-height: 55px;
    }*/
    .en-proceso .slides-pagination {
    bottom: 135px;
}
    .contacto .social-d.clearfix{
        text-align: left;
    }
    .portafolio .social{
            width: 120px;
    right: 10px;
    }
    .social li{
        display: inline-block;
    }
    .portafolio .menu-p {
     position: relative; 
     left: 0; 
     right: 0; 
     top: auto; 
    margin-top: 165px;
}
}


.portafolio .menu-p {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: -80px;
}

.portafolio .menu-p ul{padding: 0;margin: 0;}

.portafolio .menu-p li{
        width: 22%;
        margin: 0 10px;
    float: left;
    display: inline-block;
    position: relative;
}

.portafolio .menu-p li:hover .gris{
    opacity: 0;
}

.portafolio .menu-p li:hover .color{display: block;}

.portafolio .menu-p li .gris{
    width: 100%;
}
.portafolio .menu-p li .color{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}

.portafolio-sub .menu-p{
    width: 70px;
    position: absolute;
    z-index: 999;
    left: 15px;
    top: 100px;
}

.portafolio-sub .menu-p ul{
    padding:0;
    margin: 0;
}

.portafolio-sub .menu-p li{
    width: 100%;
    display: inline-block;
    position: relative;
    margin: 5px 0px;
}

.portafolio-sub .menu-p li .color{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}

.portafolio-sub .menu-p li .gris{
    width: 100%;
}

.portafolio-sub .menu-p li:hover .color{display: block;}

.portafolio-sub .menu-p li:hover .gris{
    opacity: 0;
}

.portafolio-sub .descripcion{
    max-width: 100%;
    min-height: 80px;
    bottom: 80px;
}
.portafolio-sub .proyecto-n{
    bottom: 37px;
        text-align: center;
    width: 100%;
    z-index: 999;
    position: fixed;
    min-height: 30px;
    background: rgba(255,255,255,0.7);
}

.proyecto-n li {
    display: inline-block;
    width: 17%;
}

.proyecto-n ul{
    padding: 0;
        line-height: 2.6em;
    margin: 0;
}

.gris.active{
    opacity: 1!important;
}


.portafolio-sub .slides-pagination{
    bottom:auto!important;
    top: 90px;
}

a:active,a:focus,a{
    outline: 0
}



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