/*! 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
   ========================================================================== */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:700italic,400,300);

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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{
    background: url(../../img/bg_image7.jpg) repeat-x center 44px;
    color: #555;
    font-family: 'Open Sans', sans-serif;
    font-size: .9em;
}
.bg_section_home{
    background: url(../../img/bg_image7.jpg) repeat-x center -415px;
}
a {
    color: #555;
}
h2{
    color:#e21837;
    font-size: 2.8em;
    font-weight: lighter;
    margin:0;
}
h3{
    font-size: 1.6em;
    letter-spacing: 1px;
}
h4{
    color: #0355a6;
    text-transform: uppercase;
}

.container{
    margin: 0 auto;
    min-height: 500px;
    width: 100%;
}

a{
    text-decoration: none;
}
a:hover{
    color: #08C;
}

header{
    margin-left: calc((100% - 970px) / 2);
    width: 970px;
}
nav.menu{
    text-align: left;
    position: relative;
    width: 100%;
}
nav.menu a{
    border: 1px solid transparent;
    border-radius: 5px;
    display: inline-block;
    color: #555;
    min-width: 90px;
    padding: 15px 9px;
    text-align: center;
}

nav.menu a + ul{
    background: url(../img/bg_menu.png) #FFF;
    border: 1px solid #52c1ec ;
    box-shadow: 0 10px 50px -10px rgba(0,0,0,.75);
    display: none;
    height: auto;
    margin: 0;
    padding: 20px 20px 0 15px;
    position: absolute;
    top: 65px;
    width: 680px;
    z-index: 1;
}
nav.menu a + ul:after{
    border: 11px solid transparent;
    border-bottom: 11px solid #f4f3ed;
    content: '';
    display: block;
    left: 165px;
    height: 1px;
    position: absolute;
    top: -18px;
    width: 1px;
}

nav.menu a + ul li{
    display: inline-block;
    margin: 0 0 20px 10px;
    padding: 0;
    vertical-align: top;
    width: 160px;
}
nav.menu a + ul li:hover{
    box-shadow: 0 3px 5px -5px rgba(0,0,0,.75);
}
nav.menu a + ul li a{
    display: block;
    padding: 5px 10px 15px;
    text-align: left;
    transition: .3s all ease-in;
    width: calc(100% - 20px);
}

nav.menu a + ul li a:hover{
    background: #fefbd2;
    border: 1px solid #FFF;
}

nav.menu a + ul li a big{
    border-bottom: 1px solid rgba(0,0,0,.1);
    display: block;
    padding-bottom: 5px;
    width: 100%;
}
nav.menu a + ul li a img{
    background: #fefbd2;
    height:102px;
    padding: 0 24px;
    margin-left: -10px;
    margin-bottom: 9px;
    width: 102px;
}
.certification{
    margin-bottom: 40px;
    margin-top: 20px;
}
.certification a{
color: #555;
}
.certification > div, .certification> img{
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 130px);
}
.certification a img, .certification > img{
    width: 110px !important;
    height: 100px !important;
    box-shadow: none !important;
    margin: 0 !important;
    border: 0 !important;
}
.certification > div{
    margin-left: 20px;
}
.certification > div h3{
    width: auto;
    display: inline-block;
    margin-top: 0px;
}
.certification-submenu{

}
.certification-submenu li img{
    width: 130px;
    height: 120px;
    border:  1px solid #ddd;
}
.certification-submenu li{

    width: 150px !important;
}
.certification-submenu li big{
    line-height: 20px;
    margin-top: 20px;
    padding-bottom: 5px;
}
nav.menu a + ul li a small{
    margin-left: 10px;
}
nav.menu a.active, nav.menu2 a.active{
    background: #52c1ec ;
    border-color:#52c1ec ;
    color: #FFF;
    transition: all ease-in .3s;
}


/* SOCIAL BUTTONS */

nav.social{
    /*background: rgba(255,255,255,.75);*/
    background: url(../img/bg_top2.jpg) no-repeat center -20px;
    text-align: right;
    width: 100%;
}
nav.social div{
    margin-left: calc((100% - 970px) / 2);
    width: 970px;
}
nav.social a{
    display: inline-block;
}
nav a:hover{
    color: #08C;
}

.panel{
    background:#FFF;
    box-shadow: 0 10px 20px -10px rgba(0,0,0,.75);
    min-height: 300px;
    margin: 0 auto 20px;
    position: relative;
    width: 100%;
}
.panel div{
    background:rgba(255,255,255,.9);
    min-height: 220px;
    padding: 40px;
    position: absolute;
    width: calc(50% - 80px);
}

.panel div img{
    text-align: right;
}

.panel form{
    box-sizing: border-box;
    min-height: 520px;
    padding: 20px;
}
.panel form li{
    margin: 10px 0;
    height: 30px;
}
.panel form li span{
    display: inline-block;
    height: 30px;
    padding: 10px;
    width: 120px;
}
.form_login input{
    width: 200px;
}


input{
    border: 1px solid #CCC;
    height: 18px;
    padding: 5px;
}

.certification{
    margin-bottom: 40px;
    margin-top: 20px;
}
.certification a{
color: #555;
}
.certification > div, .certification> img{
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 130px);
}
.certification a img, .certification > img{
    width: 110px !important;
    height: 100px !important;
    box-shadow: none !important;
    margin: 0 !important;
    border: 0 !important;
}
.certification > div{
    margin-left: 20px;
}
.certification > div h3{
    width: auto;
    display: inline-block;
    margin-top: 0px;
}
.certification-submenu{

}
.certification-submenu li img{
    width: 130px;
    height: 120px;
    border:  1px solid #ddd;
}
.certification-submenu li{

    width: 150px !important;
}
.certification-submenu li big{
    line-height: 20px;
    margin-top: 20px;
    padding-bottom: 5px;
}

.tiles{
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
    /*width: 100%;*/
}
.tiles:after{
    content: '';
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}
.tiles a{
    display: block;
    color: #FFF;
    min-height: 180px;
    width: 100%;
}
.tiles div{
    padding: 10px;
    width: calc(inherit - 20px);
}

.tiles article{
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}
.tiles article img{
    height: inherit;
      /*margin-top: -42px;*/
    margin-top: -10px;
}
.tiles.normal article img{
    margin-top: -20px;
    height: auto;
}

.tiles article p, .tiles article h3{
    bottom: 0;
    background: rgba(255,255,255,.75);
    color: #555;
    margin:0;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    padding: 10px;
    position: absolute;
    width: calc(100% - 20px);
    transition: ease-in all .3s;
}
.tiles article p span{
    display: none;
    font-size: .72em;
    line-height: 1.2em;
    margin: 30px 10px 0 9%;
    text-align: left;
    width: 90%;
}
.span3:hover p{
    height: 30px !important;
    font-size: normal !important;
    background: rgba(255,255,255,.75) !important;
    color: #555 !important;
    font-weight: bold !important;
    font-size: 1em !important;
}

.tiles article p:last-child{
    margin: 0;
}

.tiles article h3{
    background: rgba(255,255,255,.75);
    font-size: 2.4em;
    font-weight: lighter;
    height: 60px;
}

.tiles article h4{
    font-size: 3em;
    font-weight: lighter;
    margin: 20px;
    position: absolute;
    top: 0;
}


.tiles article:hover p{
    background: rgba(0,0,0,.9);
    color: #FFF;
    font-size: 1.4em;
    font-weight: lighter;
    height: calc(100% - 20px);
}

.tiles article:hover p.bg_green{
    background: #44AD29;
}
.tiles article:hover p.bg_purple{
    background: #2839D7;
}
.tiles article:hover p.bg_orange{
    background: #ff8a00;
}
.tiles article:hover p.bg_blue{
    background: #0764a7;
}
.tiles article:hover p.bg_red{
    background: #DD0000;
}

.tiles article:hover p span{
    display: block;
}



.span1, .span2, .span3{
    box-sizing: border-box;
    display: inline-block;
    *display: inline;
    height: 180px;
    vertical-align: top;
    zoom: 1
}
.span1{
    width: 32%;
}
.span2{
    height: 390px;
    width: 66%;
}
.span3{
    text-align: justify;
     height: auto;
    width: 100%;
}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

.right{
    float: right;
}
.w100{
    display: block;
    width: 100%;
}


.msg_error{
border:1px solid #F00;
background: #FFE;
display:block;
color:#D00;
padding:10px;
width:340px;
}


section{
    background: #FFF;
    padding-left: calc((100% - 970px) / 2);
    padding-right: calc((100% - 970px) / 2);
    text-align: justify;
    width: 970px;
}

.one_tile{
    display: inline-block;
    position: relative;
    vertical-align: top;
    text-align: left;
    width: auto;
    transition: all ease-in .2s;
}
.one_tile img{
    opacity: .9;
}

.one_tile h3{
    background: rgba(0,0,0,.1);
    bottom:15%;
    color: #FFF;
    text-shadow: 1px 3px 3px rgba(0,0,0,.5);
    font-size: 3em;
    font-weight: lighter;
    left: 5%;
    margin: 0;
    padding: 10px;
    position: absolute;
    transition: all ease-in .2s;
}

.one_tile:hover img{
    opacity: 1;
}
.one_tile:hover h3{
    background: rgba(225,0,40,1);
}



footer{
     /* background: #333;
    color: #CCC;
    width: 100%;*/
    background: url('../img/bg_image5.jpg');
color: #555;
width: 100%;
background-position-y: -160px;
}
footer nav.menu2{
    background: #DEF3FE;
    line-height: 40px;
    width: 100%;
}
footer nav.menu2 div{
    display: block;
    margin: 0 auto;
    text-align: center;
    min-width: 970px;
}

footer nav.menu2 a{
    color: #08C;
    display: inline-block;
    margin: 0 50px;
    padding: 3px 10px;
}

footer .submenu{
    margin: 0 auto;
    height: 180px;
    font-size: .84em;
    margin-top: 40px;
    width: 970px;
     transition: all ease-in .3s;
}

footer .submenu nav{
    float: right;
}
footer .submenu nav a{
    color: #999;
    display: inline-block;
    margin: 0 10px;
}

footer .menu2 .active2
{
background: #52c1ec url(../img/tab_arrow.png) no-repeat center 38px !important;
transition:none !important;

}
footer .menu2 ul{
    height: 300px;
    background: url(../img/bg_menu.png) #FFF;
    margin: 0;
    padding: 20px;
    -webkit-box-shadow: inset 0px 7px 8px -10px #7e7e7e, inset 0px -7px 8px -10px #7e7e7e;
    box-shadow: inset 0px 7px 8px -10px #7e7e7e, inset 0px -7px 8px -10px #7e7e7e;
    border-top: 1px #c7c7c7 solid;
    position: relative;
    display: none;
}
footer .menu2 ul li{
    display: inline-block;
    margin: 10px;
    text-align: left;
    vertical-align: top;
    color: #0355a6;
    width: 190px;

}
footer .menu2 ul li a{
    margin: 0;
    padding: 0;
}
footer .menu2 ul li big{
    color: #333;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,.1);
    display: block;
    width: 100%;
}
footer .menu2 ul li small{
    margin-top: 10px;
    width: 190px;
    display: block;
    line-height: normal;
    font-size: 13px;
    width: 100%;
}

footer .menu2 ul:after {
   /* border: 11px solid transparent;
    border-bottom: 11px solid #f4f3ed;
    content: '';
    display: block;
    left: 940px;
    height: 1px;
    position: absolute;
    top: -18px;
    width: 1px;*/
}





.content{
    display: inline-block;
    margin-left: 20px;
    min-height: 340px;
    vertical-align: bottom;
    position: relative;
    width: calc(50% - 20px);
}

.content.img img{
    bottom: 0;
    position: absolute;
    right: 0;
}
.shape{
    background:#f2f9ff;
    color: #47aadc;
    margin-top: 20px;
    width: 450px;
}
.shape ul{
    display: inline-block;
    margin: 10px;
    padding: 0;
    width: 270px;
}
.shape ul b{
    color: #0355a6;
}

.shape ul li{
    padding: 5px 0;
    text-decoration: none;
    margin-left: 20px;
}

.shape span{
    display: inline-block;
    height: inherit;
    vertical-align: top;
    width: 160px;
}
.shape span img{
    height: inherit;
}



em{
    color: #F00;
    display: inline-block;
    height: 16px;
    text-align: center;
    width: 16px;
}
form li{
    margin: 10px;
    list-style: none;
    width: 100%;
}

form label{
    display: inline-block;
    text-align: right;
    margin-right: 15px;
    width: 90px;
}
input, textarea,select{
    border: 1px solid #999;
    display: inline-block;
    padding: 5px;
    width: 280px;
}
input[type="checkbox"],
input[type="radio"]{
    width: 30px;
}
textarea{
    min-height: 140px;
}


select{
border:1px solid #CCC;
height:30px;
font-size:1em;
padding:5px 9px;
}



button,
input[type="button"]{
    background: #e21837;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 10px;
    color: #FFF;
	min-height:30px;
    font-size: 1.2em;
    padding: 10px 15px;
    min-width: 120px;
    text-align: center;
    height: 40px;
    width: auto;
}
.bt_normal{
background:#555 !important;
}

.button{
display:inline-block;
border-radius:5px;
border:1px solid #09C;
background: #DEF;
clear:both;
font-size:.9em;
margin:3px 2px;
padding:5px 9px;
min-width:120px;
text-align:center;
}


blockquote{
    background: #EEE;
    box-shadow: -10px 0 0 #144683;
    margin:50px 70px;
    padding: 20px;
    font-size: 1.4em;
}


.list_style{
	background:url(../img/list_style.png) no-repeat center left;
	display:block;
	margin-bottom:2px;
	padding:5px;
	padding-left: 24px;
}

table td{
	padding:9px 3px;
}

.listado td{
border-bottom:1px solid #CCC;
border-right:1px solid #DDD;
}
table.listado tbody tr:nth-child(odd){
background:#EEE;
}


table thead{
background:#555;
color:#FFF;
text-transform: uppercase;
font-size:.84em;
font-weight:bold;
}



/* ==========================================================================
   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;
    }
}





.modal{
	background: rgba(0,0,0,.75);
	position: fixed;
	left: 0;
	top:0;
	width: 100%;
	height: 100%;
	z-index: 999;
	visibility: hidden;
	opacity: 0;
	   -webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    -ms-transition: 0.8s;
    transition: 0.8s;
        -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    -ms-transition-delay: 0.2s;
    transition-delay: 0.2s;


    /*display: none;*/
    /*visibility: hidden;
    display: none;
        -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -ms-transition-delay: 0.5s;
    transition-delay: 0.5s;*/
}

.modal .popup{
	z-index: 99;
	position: absolute;
	left: 50%;
	top:0;
	 left: 50%;
    transform: translate(-50%, 0);
	background: #DDD;
	width: 600px;
	min-height: 100px;
	border-radius: 5px;
	padding: 10px;
	    box-shadow: 0 3px 30px rgba(0,0,0,.8);
    -moz-box-shadow: 0 3px 30px rgba(0,0,0,.8);
    -webkit-box-shadow: 0 3px 30px rgba(0,0,0,.8);

    opacity: 0;
    -webkit-transform: translate(-50%,-100%);
    -moz-transform: translate(-50%,-100%);
    -ms-transform: translate(-50%,-100%);
    -o-transform: translate(-50%-50%,,-100%);
    transform: translate(-50%,-100%);

    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
    -ms-transition-delay: 0.1s;
    transition-delay: 0.1s;
}
.popup .close{
	background: url(../img/icon_close.png);
	background-size: contain;
	width: 40px;
	height: 40px;
	position: absolute;
	right: -15px;
	top:-15px;
	cursor: pointer;
	z-index: 100;
}
.popup_content{
	width: calc(100% - 40px);
	min-height: 100px;
	/*background:url('../img/bg_popup.jpg');*/
	padding: 20px;
	color: #000;
}
.popup_content .logo{
	z-index: 1;
	/*background: url(http://www.naportec.com.ec/wp-content/themes/naportec/img/logotipo.png) #fff;*/
	background-size: 50%;
	background-repeat: no-repeat;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top:0;
	opacity: 0.08;
	background-position: right;
	display: none;

}
.popup_content .content{
	z-index: 2;
}
.modal.active{
visibility: visible;
opacity: 1;
	/*opacity: 1;
	visibility: visible;
    display: block;
        -webkit-transition: 10s;
    -moz-transition: 10s;
    -o-transition: 10s;
    -ms-transition: 10s;
    transition: 10s;*/
}

.modal.active .popup{
	    opacity: 1;
	   -webkit-transform: translate(-50%,35%);
    -moz-transform: translate(-50%,35%);
    -ms-transform: translate(-50%,35%);
    -o-transform: translate(-50%,35%;
    transform: translate(-50%,35%);*/


}


