/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

body{
    height: 100%;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

.wrap{
    width: 960px;
    margin: 0 auto;
}
.info_hd{
    background: #5B5B5F;
    color: #fff;
}
.info_hd p{
    display: inline-block;
    margin: 5px 0;
    font-size: 15px;
}
#top_head{
    padding: 20px 0; 
}
#logo{
    display: inline-block;
}
#menu_nav{
    display: inline-block;
    float: right;
}
#menu_nav ul{
    padding: 0;
    margin: 0;
}
#menu_nav ul li{
    list-style-type: none;
}
#menu_nav ul a{
    display: inline-block;
    vertical-align: top;
    margin: 0 20px;
    border-left: 5px solid transparent;
    padding-left: 5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #211915;
}
#menu_nav ul a:last-child{
    margin-right: 0;
}
#menu_nav ul a:hover{
    border-left: 5px solid #E63A15;
}
#menu_nav .m_act{
    border-left: 5px solid #E63A15;
}

/*=============
    HOME
  ============*/

#main{
color: #5B5B5F;
position: relative;
}
#slide_hm{
    position: relative;
}
#slide_hm > div{  
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.text_hm{
    color: #fff;
    _float: left;
    padding-top: 60px;
    font-size: 55px;
    line-height: 0.85;
    font-weight: normal;
    text-shadow: 0 0 10px rgba(0,0,0,0.4);
}


#slide_qs{
    height: 245px;
    background: url(../images/bg_qs.jpg) no-repeat center; 
    background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 1px 0;
}
.tit_pg, .tit_pg2{
    background: url(../images/bg_titqs.png);
    height: 90px;
    margin-top: 77px;
    padding: 1px 0;
}
.tit_pg h2, .tit_pg2 h2{
    text-transform: uppercase;
    line-height: 1;
    font-size: 31px;
    font-weight: 600;
    margin: 10px 0;
    border-left: 12px solid #E63A15;
    padding: 5px 10px;
    color: #211915;
}
.tit_pg2{
    background: url(../images/bg_tit2.png);
}

/*=================
    QUIENES SOMOS
  =================*/

#conten_qs{
    padding-top: 30px;
}
#conten_qs .info_qs{
    padding-left: 130px;
}
#conten_qs .info_qs p{
    background: url(../images/fl_qs.png) no-repeat;
    padding-left: 40px;
    font-size: 18px;
    font-weight: 500;
}

#cont_cronlg{
    margin-top: 90px;
}
#cont_cronlg h2{
    color: #DEDFE3;
    line-height: 0.61;
    font-size: 33px;
    font-weight: 800;
}
#cont_cronlg .info_cron{
    height: 513px;
    background: url(../images/bg_cron.png);
}
#cont_cronlg .info_cron img{
    margin-top: 80px;
}
#cont_cronlg .info_cron .wrap{
    position: relative;
}
#cont_cronlg .info_cron p{
    position: absolute;
    line-height: 1.2;
    font-size: 14px;
    text-align: center;
}
#cont_cronlg .info_cron p:nth-child(1){
    bottom: -28px;
    left: 118px;
}
#cont_cronlg .info_cron p:nth-child(2){
    left: 277px;
    top: 20px;
}
#cont_cronlg .info_cron p:nth-child(3){
    bottom: -61px;
    right: 379px;
}
#cont_cronlg .info_cron p:nth-child(4){
    right: 215px;
    top: 37px;
}
#cont_cronlg .info_cron p:nth-child(5){
    bottom: -76px;
    right: 225px;
}

#cont_nact{
    margin-top: 80px;
}
#cont_nact h2{
    color: #E63A15;
    line-height: 0.65;
    font-size: 35px;
    font-weight: 800;
    color: #E63A15;
}
#cont_nact .info_na{
    background: #E63A15;
    padding: 15px 0 35px;
}
#cont_nact .info_na p{
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    padding-left: 90px;
}

#cont_equipo{
    margin-top: 80px;
}
#cont_equipo h2{
    color: #C6C6C6;
    line-height: 0.61;
    font-size: 33px;
    font-weight: 800;
}
#cont_equipo .info_eq{
    background: url(../images/bg_eqp.png) no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 1px 0;
}
#cont_equipo .bloq_eq{
    text-align: center;
    width: 1150px;
    margin: 80px auto;
}
#cont_equipo .box_eq{
    width: 160px;
    display: inline-block;
    vertical-align: top;
    line-height: 1.2;
    margin: 0 50px;
    color: #211915;
}
#cont_equipo .box_eq h3{
    font-weight: 500;
    margin-bottom: 10px;
}
#cont_equipo .box_eq p{
    font-size: 14px;
    text-align: justify;
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid #211915;
}

/*======================
    PROD. Y SERVICIOS
  ======================*/

#slide_pys{
    height: 245px;
    background: url(../images/bg_pys.jpg) no-repeat center; 
    background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 1px 0;
}
#slide_pys .tit_pg{
    background: url(../images/bg_tit2.png);
}
#conten_pys, #conten_ce{
    text-align: center;
    padding: 60px 0;
}
#conten_pys .box_left, #conten_ce .box_left{
    display: inline-block;
    vertical-align: top;
    width: 335px;
    margin-right: 15px;
    text-align: left;
}
#accord_pys h3{
    border-top: 1px dashed #211915;
    border-right: 1px dashed #211915;
    border-bottom: 1px dashed #211915;
}
#accord_pys .ui-widget-content{
    padding: 5px 0;
}
#accord_pys .ui-widget-content p{
    text-align: right;
    margin: 0;
    padding: 5px 3px;
    border-bottom: 1px dashed #211915;
    cursor: pointer;
}
#accord_pys .ui-widget-content p:hover{
    background: #eee;
}
#accord_pys .ui-widget-content p:last-child{
    border-bottom: none;
}
#accord_pys .ui-widget-content .act_acrd{
    background: #5B5B5F;
    color: #fff;
}
#accord_pys .ui-widget-content .act_acrd:hover{
    background: #5B5B5F;
}
#conten_pys .box_right, #conten_ce .box_right{
    display: inline-block;
    vertical-align: top;
    width: 615px;
    text-align: left;
    border: 1px dashed #1D1D1B;
    padding: 15px;
    line-height: 1.2;
}
#conten_pys .cont_pgs h3, #conten_ce .cont_pgs h3{
    color: #E63A15;
    font-size: 29px;
    line-height: 1;
    font-weight: 400;
    margin-top: 0;
}
#conten_pys .cont_pgs h3 b, #conten_ce .cont_pgs h3 b{
    font-weight: 900;
}
#conten_pys .cont_pgs h4, #conten_ce .cont_pgs h4{
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 500;
}

#conten_pys .cont_pgs > div, #conten_ce .cont_pgs > div{
    /*float: left;*/
}

#conten_pys .cont_pgs p, #conten_ce .cont_pgs p{
    font-size: 14px;
    margin: 10px 0;
}

#conten_pys .cont_pgs > div:nth-child(3){
    background: #C6C6C6;
    padding: 5px 10px;
    margin-top: 10px;
    color: #000;
}

#conten_pys .cont_pgs > div:nth-child(4){
    margin-top: 10px;
    border: 1px dashed #211915;
    padding: 10px 15px;
}
#conten_pys .cont_pgs > div:nth-child(5){
    background: #E63A15;
    padding: 10px 15px;
    color: #fff;
    margin-top: 10px;
}

#conten_pys .cont_pgs > div:nth-child(6){
    margin-top: 10px;
    border: 1px dashed #211915;
    padding: 10px 15px;
}

/*
#conten_pys .cont_pgs > div:nth-child(1){
    margin-right: 50px;
}

#conten_pys .cont_pgs > div:nth-child(2){
    border: 1px dashed #211915;
    padding: 10px 32px 30px 15px;
    margin-top: 50px;
}

#conten_pys .cont_pgs > div:nth-child(3){
    float: right;
}

#conten_pys .cont_pgs > div:nth-child(4){
    float: right;
    width: 245px;
    background: #C6C6C6;
    padding: 5px 10px;
    margin-top: 10px;
    color: #000;
}
#conten_pys .cont_pgs > div:nth-child(5){
    margin-top: 10px;
    border: 1px dashed #211915;
    padding: 10px 15px;
}
#conten_pys .cont_pgs > div:nth-child(6){
    float: right;
    background: #E63A15;
    padding: 10px 15px 57px;
    color: #fff;
    width: 190px;
    margin-top: 10px;
}
*/

/*==================
    CASOS DE EXITO
  ==================*/

#slide_ce{
    height: 245px;
    background: url(../images/bg_ce.jpg) no-repeat center; 
    background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 1px 0;
}
#conten_ce .cont_pgs > div:nth-child(1){
    _float: right;
     width: 280px;
}
#conten_ce .cont_pgs > div:nth-child(2){
   float: right;
   margin-bottom: 70px;
}
#conten_ce .cont_pgs > div:nth-child(3){
    border: 1px dashed #1D1D1B;
    padding: 10px 15px;
    margin-top: 90px;
}
#conten_ce .cont_pgs > div:nth-child(4){
    float: right;
}
#conten_ce .cont_pgs h3{
    font-size: 22px;
}
#conten_ce .cont_pgs h3 b{
    font-size: 28px;
}

/*======================
    NUESTROS CLIENTES
  ======================*/

#slide_clt{
    height: 245px;
    background: url(../images/bg_clt.jpg) no-repeat center; 
    background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 1px 0;
}
#conten_clt{
    margin: 50px auto 70px;
}
#conten_clt h3{
    font-weight: 500;
    font-size: 19px;
    margin: 12px 0;
}
#conten_clt .clte_bloq{
    border: 1px dashed #211915;
    text-align: center;
}
#conten_clt .clte_bloq img{
    margin: 30px 45px;
}
#conten_clt .clte_bloq img:last-child{
    margin-right: 0;
}

/*=================
    CONTACTO
  ================*/

  #conten_ct{
    margin: 70px 200px;
    /*text-align: center;*/
  }
  .ct_left{
    display: inline-block;
    vertical-align: top;
    text-align: left;
  }
.ct_left p{
    display: inline-flex;
    vertical-align: top;
    margin: 0 15px;
    line-height: 1.2;
    font-size: 14px;
}
.ct_right{
    display: inline-block;
    vertical-align: top;
    text-align: left;
    margin-left: 50px;
    font-size: 14px;
  }
#form_ct div{
    margin-bottom: 15px;
}
#form_ct div:nth-child(3){
    margin: 0;
}
#form_ct p{
    margin: 5px 0;
}
#form_ct input{
    width: 320px;
    padding: 15px 10px;
    border: 1px solid #211915;
  }
#form_ct textarea{
    width: 320px;
    padding: 15px 10px;
    border: 1px solid #211915;
    height: 120px;
  }
  #form_ct .btn_enviar{
    padding: 15px;
    background: #C2C3C9;
    color: #fff;
    float: right;
    margin: -15px 0 0;
  }




footer{
    background: #5B5B5F;
    border-top: 3px solid #E63A15;
    padding: 30px 0 15px;
    color: #fff; 
}
footer .wrap > div{
    display: inline-block;
    vertical-align: top;
}
.info_foot1{
    margin-left: 70px;
}
.info_foot1 p{
    margin: 0;
}
.info_foot2{
    text-align: right;
    float: right; 
}
.info_foot2 img{
    margin: 0 3px;
}
.desk{
    display: block;
}
.mov{
    display: none;
}


@media only screen and (max-width: 1000px){

    .desk{
        display: none !important;
    }
    .mov{
        display: block;
    }
    .wrap{
        width: 95%; 
    }
    #logo{
        margin-bottom: 20px;
    }
    #menu_nav{
        background: #fff;
        text-align: center;
        float: none;
        width: 100%;
        display: none;
    }
    #menu_nav ul a{
        display: block;
        border-left: none;
        margin: 0 0 7px;
        padding-top: 7px;
        border-top: 1px solid #ddd;
        font-size: 14px;
    }

    #menu_nav ul a:hover{
        border-left: none;
    }
    #btn_mov{
        float: right;
        margin: 5px 15px 0 0;
        cursor: pointer;
    }
    .info_hd p{
        font-size: 11px;
    }
    #top_head{
        padding-bottom: 0;
    }
    .text_hm{
        font-size: 40px;
    }
    #menu_nav .m_act{
        border-left: none;
        color: #E63A15;
    }

    #conten_qs .info_qs{
        padding: 30px 0 0 0;
    }
    #cont_nact .info_na p{
        padding-left: 0;
    }
    #cont_equipo .bloq_eq{
        width: 100%;
    }
    #cont_equipo .box_eq{
        margin-bottom: 40px;
    }
    #conten_pys .box_left, #conten_ce .box_left{
        margin-bottom: 30px;
    }
    #conten_pys .cont_pgs, #conten_ce .cont_pgs{
        width: 99%;
        padding: 0;
        text-align: center;
    }
    #conten_pys .cont_pgs > div, #conten_ce .cont_pgs > div{
        float: none !important;
        width: 95% !important;
        padding: 10px 0 !important;
        margin: 15px auto;
    }

    .ct_left{
        text-align: left;
        margin: 0 auto;
        width: 400px;
    }
    .ct_left p{
        text-align: left;
        margin: 20px 0;
    }
    #form_ct input, #form_ct textarea{
        max-width: 95%;
    }




    footer{
        padding: 15px 0;
        font-size: 13px;
        position: relative;
    }  
    .info_foot1{
        margin-left: 0;
    }
    .info_foot1 .mov{
        font-size: 12px;
    }
    .cron_mov img{
        text-align: center;
        max-width: 100%;
    }
    .info_foot2{
        position: absolute;
        top: 15px;
        right: 15px;
    }

}

@media only screen and (max-width: 500px){
	
	#conten_pys .cont_pgs, #conten_ce .cont_pgs{
        width: 50%;
        padding: 0;
        text-align: center;
    }

    .ct_right{
        margin-left: 0;
        width: 90%;
    }
    .ct_left{
        width: 90%;
    }
    .ct_left img{
        width: 100%;
    }

}



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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
