/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

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

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

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

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

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

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

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}


html, body {
    width: 100%;
    height: 100%;
}
/*body {
    min-width: 700px;
}*/

p {
    margin-top: 0;
    color: #7c7e80;
}
h1,h2 {
    margin: 10px 0;
    color: #004c92;
}
h3,h4,h5,h6 {
    color: #fdb813;
}


/*
Home styles
*/
.top.home,
.bottom.home {
    height: 25%;
}
.top.home {
    border-bottom: 1px solid #f2a50a;
    position: relative;
    background: #fdb813;
    margin-top: 0;
}
.bottom.home {
    border-top: 1px solid #01467a;
    background: #004c92;
}
.main.home {
    height: 60%;
    position: relative;
    background: #fff;
    margin: 0 !important;
}
.front-container {
    display: table;
    position: relative;
    height: 100%;
    width: 90%;
    margin: 0 auto;
}
/*
End of Home styles
*/

/*
Structure
*/
.top,
.main,
.bottom {
    width: 100%;
    float: left;
}
.top,
.bottom {
    height: 15%;
    position: fixed;
}
.top {
    border-bottom: 1px solid #f2a50a;
    background: #fdb813;
    top: 0;
    z-index: 5;
}
.bottom {
    bottom: 0;
    border-top: 1px solid #01467a;
    background: #004c92 url(../img/bottom-tagline.png) no-repeat;
    background-size: auto 100%;
    background-position: right;
}
.main {
    height: 70%;
    overflow: auto;
    position: relative;
    background: #fff;
}
.disclaimer {
    height: 10px;
    color: #fff;
    margin: -5px 0;
    font-size: 0.6em;
    position: absolute;
    top: 50%;
    left: 200px;
}
/*
End of Structure
*/

/*
Social styles
*/
.social-container {
    height: 35px;
    width: auto;
    margin: -17px 0;
    position: absolute;
    top: 50%;
    left: 30px;
}
.social {
    display: block;
    width: 35px;
    height: 35px;
    margin: 0 10px;
    float: left;
    text-indent: -999999em;
}
.social.facebook {
    background: url(../img/social-facebook.png);
    background-size: 100%;
}
.social.twitter {
    background: url(../img/social-twitter.png);
    background-size: 100%;
}
.social.instagram {
    background: url(../img/social-instagram.png);
    background-size: 100%;
}
/*
End of Social styles
*/

.main.bg {
    background: url(../img/bg.png) no-repeat;
    background-size: auto 90%;
    background-position: bottom left;
}

.home-logo {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    height: auto;
    margin: 0;
}

.home-logo img {
    width: 100%;
    height: auto;
    float: left;
}

.home-video {
    display: table-cell;
    height: 100%;
    width: 50%;
    padding: 30px;
    margin: 0;
}

.home-video iframe {
    width: 100%;
    height: 100%;
}

.top-logo {
    height: 100%;
    width: auto;
}

.main-menu {
    width: 700px;
    height: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    bottom: 10px;
    right: 0;
}

.main-menu-item {
    display: inline-block;
    height: 100%;
    margin: 0 10px;
    position: relative;
    float: left;
    font-weight: bold;
    text-align: center;
}

.main-menu-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #004c92;
}

/*Just for home*/
.main-menu.home {
    width: 100%;
    text-align: center;
}
.main-menu.home .main-menu-item {
    float: none;
}
/*End of Just for home*/

.dropdown {
    display: none;
    width: 220px;
    margin: 0 -110px;
    padding: 0 10px;
    position: absolute;
    top:25px;
    left: 50%;
    z-index: 5;
    border-radius: 0;
    background: #004c92;
    box-shadow: -3px 3px 5px 0 rgba(0,18,66,0.4);
}
.dropdown-item {
    width: 100%;
    height: 40px;
    margin: 0;
    border-bottom: 1px solid #fff;
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item a {
    padding: 10px 0;
}
.dropdown-item a:hover {
    color: #fff;
}
.dropdown a {
    color: #fdb813;
}
.main-menu-item:hover .dropdown {
    display: block;
}

/*Content*/
.content {
    width: 70%;
    padding: 20px 150px 20px 20px;
    position: absolute;
    right: 0;
}
.service-img {
    width: 30%;
    height: 100%;
    background: blue;
    position: absolute;
    left: 0;
    top: 0;
}
.service-img-design {
    background: url(../img/service-design.jpg) no-repeat;
    background-size: 100%;
    background-position: center;
}
.service-img-btl {
    background: url(../img/service-btl.jpg) no-repeat;
    background-size: 100%;
    background-position: center;
}
.service-img-vallas {
    background: url(../img/service-vallas.jpg) no-repeat;
    background-size: 100%;
    background-position: center;
}
.two-columns {
    -webkit-column-count:2; /* Chrome, Safari, Opera */
    -moz-column-count:2; /* Firefox */
    column-count:2;
}
.content.wide {
    width: 100%;
    -webkit-column-count:1; /* Chrome, Safari, Opera */
    -moz-column-count:1; /* Firefox */
    column-count:1;
    padding: 20px 60px;
}
.content h3 {
    margin-bottom: 0;
}
/*End of content*/

.form {
    width: 300px;
    float: left;
}
.label {
    width: 100%;
    height: 20px;
    float: left;
    color: #004c92;
    font-weight: bold;
}
.input {
    width: 100%;
    height: 30px;
    float: left;
    padding: 0 10px;
    margin-bottom: 10px;
    color: #4b4b4b;
    border: none;
    border-radius: 3px;
    background: #e6e6e6;
}
.short-input {
    width: 240px;
}


.i-name {
    background: url(../img/icon-name.png) no-repeat;
}
.i-country {
    background: url(../img/icon-country.png) no-repeat;
}
.i-email {
    background: url(../img/icon-email.png) no-repeat;
}
.i-phone {
    background: url(../img/icon-phone.png) no-repeat;
}
.i-company {
    background: url(../img/icon-company.png) no-repeat;
}
.i-message {
    background: url(../img/icon-message.png) no-repeat;
}
.contact-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    float: left;
    background-size: 80%;
    background-position: center;
}


.textarea {
    height: 150px;
    padding: 5px 10px;
    resize: none;
}
.btn {
    display: block;
    width: auto;
    max-width: 150px;
    height: 30px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background: #004c92;
}

.contact-info {
    float: left;
    max-width: 500px;
    text-align: center;
    position: relative;
    padding: 100px 30px;
    z-index: 2;
}
.contact-info p {
   color: #004c92;
   margin: 0;
   font-weight: bold; 
}
.contact-img {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    background: url(../img/derecha-contactos.jpg) no-repeat;
    background-size: 70%;
    background-position: center;
}


/*Gallery*/
.portfolio {
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery {
    width: 680px;
    height: 360px;
    margin: -180px -340px;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}
.gallery-item {
    display: block;
    width: 150px;
    height: 100px;
    margin: 10px;
    float: left;
    border-radius: 3px;
    background: #cdcdcd;
}
.gallery-item-audio {
    height: 150px;
    position: relative;
    background: #191919;
}
.item-audio-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 3px;
    opacity: 0.5;
}
.gallery-item-audio p {
    padding: 10px;
    font-weight: bold;
    color: #fff;
    position: relative;
    z-index: 2;
}
.gallery-item audio {
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    z-index: 2;
    border-radius: 0 0 3px 3px;
}
.gallery-item-link {
    display: block;
    width: 100%;
    height: 100%;
}
.gallery-item-img {
    border-radius: 0;
}

.side-menu {
    width: 240px;
    margin: 0;
    list-style: none;
    padding: 10px;
    font-size: 0.9em;
    background: #004c92;
    border-radius: 10px;
    position: fixed;
}
.side-menu-item {
    
}
.side-menu-item a {
    color: #fff;
    text-decoration: none;
}
.side-menu-item a:hover {
    color: #fdb813;
}
.products {
    float: left;
    width: 500px;
    padding: 0;
    margin: 0 0 0 260px;
}
.products-item {
    display: table;
    list-style: none;
    width: 100%;
    height: 100px;
    float: left;
    margin-bottom: 20px;
}
.products-item img {
    display: inline-block;
    width: 150px;
    height: 100px;
    float: left;
}
.products-item-name,
.products-item-att {
    display: table-cell;
    padding: 15px;
    color: #004c92;
    vertical-align: middle;
}
.products-item-img {
    border-radius: 3px;
    box-shadow: -1px 1px 6px rgba(0,0,0,0.5);
}
.products-item-name {
    width: 250px;
    font-size: 14px;
    font-weight: bold;
}
.products-item-att {
    width: 200px;
    font-size: 12px;
}

.fixed {
  position:fixed;
  top:0;
  z-index:99999;
}

/*
==========================================================================
   Media Queries
==========================================================================
*/
/*IPAD*/
@media only screen and (max-width : 1024px) {
    .content h1 {
        margin: 0;
    }
    .products {
        float: left;
        width: 450px;
        padding: 0;
        margin: 0 0 0 200px;
    }
    .side-menu {
        width: 180px;
        font-size: 0.8em;
        background: #004c92;
        border-radius: 10px;
        position: fixed;
    }
    .side-menu-item {
        margin-bottom: 5px;
    }
}

@media only screen and (max-width : 768px) {
    .bottom {
        background-size: auto 50%;
        background-position: right;
    }
    .content {
        width: 100%;
        padding: 20px;
    }
    .main.bg {
        background: #fff;
    }
    .two-columns {
        -webkit-column-count:1; /* Chrome, Safari, Opera */
        -moz-column-count:1; /* Firefox */
        column-count:1;
    }
     .main-menu {
        position: absolute;
        bottom: 0;
    }
    .top-logo {
        width: auto;
        height: 85%;
    }
    .service-img {
        width: 100%;
        height: 200px;
        position: relative;
        left: 0;
        top: 0;
    }
    .products {
        float: left;
        width: 450px;
        padding: 0;
        margin: 0 0 0 260px;
    }

}

/*SMART PHONES*/
@media only screen and (max-width : 650px) {
    .bottom {
        background: #004c92;
    }
    .top {
        height: auto;
        border-bottom: none;
    }
    .top,
    .bottom {
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        overflow: auto;
        float: left;
    }
    .top {
        overflow: visible;
    }
    .top-logo {
        height: auto;
        width: 100%;
    }
    .main {
        height: auto;
        overflow: auto;
        margin: 0 !important;
    }
    .top.home,
    .bottom.home {
        float: left;
        height: auto;
        overflow: visible;
    }
    .bottom {
        height: auto;
        overflow: auto;
    }
    .social-container {
        height: 35px;
        width: 100%;
        margin: 10px 0;
        position: relative;
        top: 0;
        left: 0;
        float: left;
        text-align: center;
    }
    .social {
        display: inline-block;
        float: none;
    }
    .disclaimer {
        width: 100%;
        height: auto;
        padding: 0 10px;
        margin: 0 0 10px 0;
        position: relative;
        top: 0;
        left: 0;
        float: left;
        font-size: 0.8em;
        text-align: center;
    }
    .content {
        position: relative;
        float: left;
    }
    .content.wide {
        padding: 20px;
    }
    .main-menu {
        width: 100%;
        height: auto;
        overflow: visible;
        position: relative;
        float: left;
        bottom: 0;
        right: 0;
    }
    .main-menu-item {
        display: inline-block;
        min-height: 40px;
        height: auto;
        width: 100%;
        margin: 0;
        padding: 5px;
        border-bottom: 1px solid #ffcc51;
    }
    .home-logo {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .home-video {
        display: none;
    }
    .contact-icon {
        display: none;
    }
    .contact-img {
        display: none;
    }
    .form {
        width: 100%;
    }
    .short-input {
        width: 100%;
    }
    .contact-info {
        padding: 60px 0 40px 0;
    }
    .service-img {
        width: 100%;
        height: 110px;
        position: relative;
        left: 0;
        top: 0;
    }
    .gallery {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        position: relative;
        top: 0;
        left: 0;
        float: left;
        text-align: center;
    }
    .gallery-item {
        display: inline-block;
        width: 180px;
        height: 120px;
        margin: 10px;
        float: none;
        border-radius: 3px;
        background: #cdcdcd;
    }
    .gallery-item img {
        width: 100%;
        height: 100%;
    }
    .side-menu {
        width: 100%;
        float: left;
        padding: 5px;
        position: relative;
    }
    
    /**/
    .products {
        width: 100%;
        margin: 20px 0 0 0;
    }
    .products-item {
        height: auto;
        overflow: auto;
        text-align: center;
        border-bottom: 5px solid #004c92;
    }
    .products-item img {
        display: inline-block;
        width: 150px;
        height: 100px;
        float: none;
    }
    .products-item-name,
    .products-item-att {
        padding: 5px;
        float: left;
    }
    .products-item-name {
        width: 100%;
        font-size: 1em;
        margin: 0;
    }
    .products-item-att {
        width: 100%;
    }
}

/*SOLO IPAD VERTICAL*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .home-logo {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .home-video {
        display: none;
    }
    .contact-img {
        display: none;
    }
    .form {
        width: 100%;
    }
    .short-input {
        width: 100%;
    }
    .contact-info {
        padding: 60px 0 40px 0;
    }
    .contact-icon {
        display: none;
    }
    .main-menu {
        position: absolute;
        bottom: 0;
    }

    /**/
    .side-menu {
        width: 100%;
        float: left;
        padding: 5px;
        position: relative;
    }
    .products {
        width: 100%;
        margin: 20px 0 0 0;
    }
}


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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