/********************************************/

/*                                          */

/*              PRODUCTS HEADER             */

/*                                          */

/********************************************/

.products-header {
    background-color: rgba(39, 46, 64, 0.99);
    text-align: center;
}

.products-header .logo-jal {
    max-width: 170px;
    margin: 30px 0 10px 0;
}

.products-header.scrolled {
    position: fixed;

    top: 0;
    width: 100%;
    z-index: 100;
}

.products-header.scrolled .logo-jal {
    max-width: 90px;
    margin: 16px 0 6px 0;
}

/* Fixed bottom bar */

.products-header .bar {
    z-index: 10;
    left: 0;
    width: 100%;
    padding: 1em 0;
    text-align: center;
    -webkit-transform: translate3d(0, 0, 0);
    position: relative;
    top: inherit;
    /* Fix for Chrome flicker on Mac ...party like we're in 2012! */
}

.products-header .barfixed {
    position: fixed;
    top: 65px;
    padding: 0.5em 5em 1em 5em;
}

/* Fixed bottom subbar */

.products-header .subbar {
    left: 0;
    width: 100%;
    padding: 0.7em 5em;
    text-align: center;
    background: #42a6f7;
    -webkit-transform: translate3d(0, 0, 0);
    position: relative;
    top: inherit;
    display: none;
}

.products-header .subbarfixed {
    position: fixed;
    z-index: 9;
    top: 124px;
}

@media screen and (min-width:972px) {
    .products-header .subbarfixed {
        top: 105px;
    }
}



/********************************************/

/*                                          */

/*              NAV BAR HOMEPAGE            */

/*                                          */

/********************************************/

a:focus {
    outline: none;
    text-decoration: none;
}

.productscontainer {
    background-color: #fff;
    margin-bottom: 100px;
}

.productscontainer .productlist {
    padding-top: 20px;
    position: relative;
}

.productscontainer .productlistfixed {
    position: fixed;
    top: 60px;
}

.productscontainer .productlist a {
    color: #333;
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
}

.productscontainer .productlist a.subtype {
    padding-left: 20px;
}

.productscontainer .productlist .subcontainer {
    display: none;
}

.productscontainer .productlist a.active {
    font-weight: 600;
    color: #018cfb;
}

.productscontainer .products {
    float: right !important;
}

.productscontainer .products a {
    color: #333;
}

.productscontainer a:hover {
    text-decoration: none;
}

.productscontainer .row {}

.productscontainer .row > div {

    padding: 0;
}

.productscontainer .row div p {
    text-align: center;
    min-height: 76px;
}

.products {
    min-height: 600px;
}


.products .row > div {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel {
    width: 98%;
    margin: 0 auto;
}



.intbutton, a .intbutton{
    width: 70%;
    height: 50px;
    background-color: rgba(1, 140, 253, 0.90);
    position: absolute;
    font-weight: 300;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    color: white;
    opacity: 0;
    transition: all 0.05s ease-in;
    cursor: pointer;



    font-size: 11px;
    text-align: center;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    

    display: flex;
    align-items: center;
    justify-content: center;
    
}

.intbutton a{
    color: white;
}

.grid__item:hover .intbutton{
    opacity: 1;
}

.details {
    top: calc(50% - 60px);
}
.details:hover,
.moreinfo:hover {
    background-color: rgba(1, 140, 253, 1);
}

.moreinfo {
    top: calc(50% + 10px);
}

.plepbtn{
    top: calc(50% + 80px);
}

.intbutton.plepbtn {
    background-color: #FFF200;
}
a .plepbtn{
    color: black;
}
.plepbtn:hover {
    background-color: #f2e710;
}

.nuevo:after{
    display: block;
    content: '';
    width: 80px;
    height: 80px;
    background: url('../img/producto-nuevo.png') center;
    background-size: contain;
    position: absolute;
    top: 10px;
    right: 10px;
}

.plep .details{
    top: calc(50% - 120px);
}
.plep .moreinfo{
    top: calc(50% - 50px);
}
.plep .plepbtn{
    top: calc(50% + 20px);
}

#plepModal video{
    max-width: 100%;
    width: 100%;
}

.modal{
    z-index: 1000000000000;
}

/***********************************************/
/*                                             */
/*                   MODALS                    */
/*                                             */
/***********************************************/


.uk-button, .uk-button .intbutton {
    margin: 0;
    border: none;
    overflow: visible;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    -webkit-transition: .1s ease-in-out;
    transition: .1s ease-in-out;
    -webkit-transition-property: color,background-color,border-color,box-shadow;
    transition-property: color,background-color,border-color,box-shadow;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    border-radius: 8px;
    background-origin: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uk-button-large {
    padding: 0 40px;
    line-height: 53px;
    font-size: 16px;
    border-radius: 0px;
    background-color: transparent;
    color: #018cfb;
    border: 1px solid #018cfb;
}


.modal-dialog{
    margin-top: 62px;
}

.modal-content{
    border-radius: 0;
}

.modal-footer{
    border-top: none;
    text-align: center;
}

.modal-header h4.modal-title{
    color: #018cfb;
    font-size: 30px;
    font-weight: 200;
    margin-top: 0px;
    padding-right: 20px;
    line-height: 1.2;
}

.modal-body img{
    display: block;
    max-width: 70%;
    margin: 20px auto 0 auto;
    max-height: 260px;
}

.modal-body, .modal-footer{
    background-color: #fff;
}

.modal-body p.desc{
    margin-top: 0 !important;
    color: #4F5260;
    font-weight: 300;
    font-size: 18px;
}

.modal-body .correo-modal{
    border-bottom: 1px solid #84889f;
    text-align: left;
    padding: 2px 8px 0px 8px;
    height: 32px;
    overflow: scroll;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 20px;
}

.modal-body .correo-modal:focus{
    outline: none;
    background-color: rgba(1, 140, 251, 0.1);
}

.modal-body p.correo-modal-error{
    margin: 0 !important;
    color: #CC0000;
    font-size: 13px;
    padding-left: 8px;
    display: none;
}

.modal-footer .uk-button-large{
    background-color: #018cfb;
    color: white;
    width: 48%;
    margin-right: 2%;
    padding: 0;
}

.modal-footer .uk-button-large:hover{
    background-color: transparent;
    color: #018cfb;
}

.modal-footer .btn-close{
    width: 48%;
    line-height: 53px;
    border-radius: 0;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    color: #aaa;
    font-weight: 400;
    letter-spacing: 1.4px;
    padding: 0;
    transition: all 0.2s ease-in;
    background-color: transparent;
}

.modal-footer .btn-close:hover{
    background-color: #f5f5f5;
}

[contentEditable=true]:empty:not(:focus):before{
    content:attr(data-text)
}

.modal-body .modal-sending,
.modal-body .modal-postsend{
    display: none;
}



/***********************************************/
/*                                             */
/*                   FOOTER                    */
/*                                             */
/***********************************************/


footer{
    padding: 60px 0 80px 0;
    background-color: rgba(0,0,0,0.9);
    color: rgba(255,255,255,0.7);
    font-family: 'Raleway', sans-serif;
}

footer .footerlogo{
    max-width: 80px;
}

footer .footertagline{
    font-size: 12px;
}

footer .footercoltitle{
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    padding-bottom: 0.71429rem;
    color: white;
    border-bottom: 1px solid #555;
    margin-bottom: 2rem;
}

footer ul{
    padding: 0;
}

footer li{
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    letter-spacing: 0.05rem;
    padding-bottom: 10px;
    margin-top: 10px;
    padding-left: 6px;
}

footer li.last{
    border-bottom: none;
}

footer a{
    color: rgba(255,255,255,0.8);
    transition: all 0.2s ease-in;
}

footer a:hover, footer a:focus{
    text-decoration: none;
    color: white;
    text-decoration: none;
    outline: none;
}

footer .footercontact{
    font-size: 13px;
}

footer .footericon{
    max-width: 12px;
    margin-right: 8px;
    opacity: 0.7;
}

footer hr{
    opacity: 0.1;
    border-bottom: 1px solid black;
    margin-bottom: 10px;
}

footer .footerlegal{
    font-size: 12px;
    letter-spacing: 0.01rem;
    color: rgba(255,255,255,0.4);
}

footer .footerlegal a{
    color: rgba(255,255,255,0.6);
    transition: all 0.2s ease-in;
    margin: 0 20px;
}

footer .footerlegal a:hover{
    color: rgba(255,255,255,0.9);
}

.modal-footer .uk-button{
    display: inline-block;
}



@media screen and (max-width:1000px) {
    .intbutton {
        font-size: 2.6vw;
    }
}


@media screen and (max-width:768px) {
    
    
    /* ==========================================================================
       Mobile menu
       ========================================================================== */
    
    header .nav .logo-jal-menu {
        width: 30vw;
        max-width: 200px;
        margin: 40px 0 10px 0;
    }
    
    header .nav > ul li {
        font-weight: 200;
        font-size: 5vw;
        padding: 3vw 10vw 3vw 20vw;
        line-height: 1.2;
        position: relative;
    }
    
    header .nav ul a img{
        width: 8vw;
        position: absolute;
        left: 10vw;
        top: 1.7vw;
    }
    
    
}
    
@media screen and (max-width:700px) {
    .products nav #digilogicshomeicon {
        margin-bottom: 0px;
    }

    .productscontainer .view {
        padding-top: 60px;
    }

    .intbutton {
        font-size: 3.8vw;
        width: 90%
    }
}

@media screen and (max-width:500px) {
    .grid{
        width: 100%;
    }
    .productscontainer .view {
        padding-top: 0px;
    }
    .intbutton, a .intbutton {
        font-size: 4.5vw;
        width: 100%;
        position: relative;
        height: 30px;
        line-height: 30px;
        margin: 20px 0;
        color: rgba(1, 140, 253, 0.95);
        background-color: transparent;
        opacity: 1;
    }
    
    .intbutton a{
        color: rgba(1, 140, 253, 0.95);
    }
    
    .details:hover,
    .moreinfo:hover {
        background-color: transparent;
    }

    .grid__item{
        width: 46%;
        margin-left: 2%;
    }

    .nuevo:after {
        width: 50px;
        height: 50px;
    }
}
