html, body {
    height: 100%;
    margin: 0;
    font-family: 'Thasadith', sans-serif!important;
    font-size: 18px!important;
}
h1, h2, h3, h4, h5, h6{font-family: 'Oswald', sans-serif!important; font-weight: normal!important;}

h3, .h3 {
    font-size: 1.1875rem;
    line-height: 1.4!important;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h4, .h4 {
    font-size: 1.125rem;
    line-height: 1.4!important;
    margin-top: 0;
    margin-bottom: 0.5rem!important;
}

p {
    margin: 0 0 9px;
    font-family: 'Thasadith', sans-serif!important;
    font-size: 18px!important;
    line-height: 1.5!important;
}
.bg-full {
    height: 100%;
    width: 100%;
    background-image: url(images/bg-full.jpg);
    background-size: cover;
    position:fixed;

}

.full-height {
    height: 30%;
    width: 100%;
    background: transparent;
    display:none;
}
.table {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%!important;
    width: 100%;
}
.tablecell {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width:100%;
}

.contenido{ background: #fff; margin-top: 90px;}

#navigationtop {
    position: fixed;
    top: 0;
    background-color: #fff;
    padding: 0px;
    font-size: 20px;
    z-index: 1000;
    width:100%;
}
.align-left{text-align: left;}
.center{text-align: center;}
.align-right{text-align: right;}

.white{color:#fff;}

.logo-movil{display:block; padding: 0.8rem 0; text-align: center; width:100%; background: #fff;}
.logo-movil img{display:inline-block; max-width:200px;}

.title-bar {background: #681C1C;}
.title-bar-title{position:relative;}
.title-bar-title::after {
    display: block;
    width: 35px;
    height: 35px;
    content: '';
    background-image: url(img/engine.png);
    background-size: cover;
    position: absolute;
    top: 0;
    right: -40px;
}

/*NAVIGATION*/

.bg-menu {
    background: #681C1C;
}

.top-bar, .top-bar ul {
    background-color: #fff;
}
.menu a{font-family: 'Oswald', sans-serif; font-weight: 300; color:#000; text-transform: uppercase; font-size: 0.8rem; padding: 0.6rem!important;}

#navigationtop{
    box-shadow: 0 0 20px 5px rgba(0,0,0,0.5);
}
.menu .menu-text{padding: 0rem 1rem;}

.menu .menu-text img {max-width: 100px;}

.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
    border-color: #000 transparent transparent;
}
.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a{
    padding-right: 20px!important;
}
#responsive-menu{position:absolute; box-shadow: 0 2px 4px 0 rgba(0,0,0,0.3);}
#responsive-menu::after {
    display: block;
    width: 0;
    height: 0;
    border: inset 12px;
    content: '';
    border-top-width: 0;
    border-bottom-style: solid;
    border-color: #fff transparent #fff;
    position: absolute;
    top: -10px;
    left: 0.7rem;
}

.sub-menu{position:absolute; background: #fff; box-shadow: 0 2px 4px 0 rgba(0,0,0,0.3);}

.sub-menu::after {
    display: block;
    width: 0;
    height: 0;
    border: inset 12px;
    content: '';
    border-top-width: 0;
    border-bottom-style: solid;
    border-color: #fff transparent #fff;
    position: absolute;
    top: -10px;
    left: 0.7rem;
}


.caption-slider{ background: rgba(0,0,0,0.5); position:relative;  left:0; bottom:0; right:0;}
.caption-slider .cell, .caption-slider h2, .caption-slider h3{margin: 0!important;}
.caption-slider p{margin: 0!important; line-height: 1;}
.caption-slider h2{padding-top:2rem;}
.caption-slider p{padding-bottom: 2rem;}



a {color: #1591b7;}
a:hover {color: #869631;}
.button{ background:  #1591b7; color:#fff; font-family: 'Oswald', sans-serif; text-transform: uppercase;}
.button:hover{ background:  #007396; color:#fff;}
.callout a.button-home {
    display:block;
    vertical-align: middle;
    margin: 0 0 1rem 0;
    padding: 0.85em 1em;
    border: 1px solid transparent;
    border-radius: 6px;
    -webkit-transition: background-color 0.25s ease-out, color 0.25s ease-out;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
    font-family: inherit;
    font-size: 1.3rem;
    -webkit-appearance: none;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    background-color: #B91517;
    color: #fefefe;
}
.callout a.button-home:hover {
    background-color: #000;
    color: #fff;
    -webkit-transition: background-color 0.25s ease-out, color 0.25s ease-out;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
}
.button {padding: 0.45em 1em;font-size: 1.2rem;}

td .button{margin-bottom: 0;}

.logo {display:block;}

.box-image{position:relative;}

.box-bottom{position:absolute; bottom:-1px; left:0; top:50%; right:0; text-align: center;
            background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.4));
            padding: 1rem 0;
            transition-duration: 1s}
.box-image:hover .box-bottom{top:75%; background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1)); transition-duration: 1s}

.box-bottom h3, .box-bottom a{color:#fff; position: absolute; bottom:1rem; display:block; width:100%;}

.lista-productos .box-bottom{position:relative; bottom:auto; left:0; top:auto; right:0; text-align: left;
                             background-image: none;
                             padding: 0 0;
                             margin-bottom: 0.5rem;
                             transition-duration: 2s}
.lista-productos .box-bottom h3, .lista-productos .box-bottom a{color:#000; position: relative; bottom:auto; display:inline-block; width:auto; font-size: 20px; line-height: 1;}
.lista-productos .current{font-weight:700;}
.lista-productos .current::after{
    display:block;
    width:35px;
    height:30px;
    content:'';
    background-image: url(img/hoja.svg);
    background-size: cover;
    position:absolute;
    top:-5px;
    right:-40px;
}
.lista-productos .box-image:hover .box-bottom{background-image:none;}
.lista-productos .box-image:hover .box-bottom a{border-bottom: solid 1px green;}

/*USER*/
.user-nav{ font-size: 16px; display:block; width:100%;}
ul.user{list-style:none; margin:0; padding:0 1rem; text-align: right;}
ul.user li{display:inline-block!important; width:auto!important; margin-left: 1rem; cursor: pointer;}
.user-nav li a{display:inline-block!important; color:#fff; background: none!important; text-transform: none;}
.user-nav li a:after{display:none!important;}
.user-nav li a:hover{background: none!important; color:#1591b7;}
.user-nav li ul{top:100%; left:0!important; text-align: left;}
ul.user li li{display:block!important; width:100%!important; margin-left: 0;}

.green {color:green;}
.itemsel{display:inline-block; text-transform: uppercase; font-size: 13px; color: green; line-height: 42px; vertical-align: top;}
/*USER*/

/** CARRUSEL **/
.carousel{position:relative;margin-bottom:2rem;line-height:1;}
.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left;}
.carousel .item>img{display:block;line-height:1;}
.carousel .active,.carousel .next,.carousel .prev{display:block;}
.carousel .active{left:0;}
.carousel .next,.carousel .prev{position:absolute;top:0;width:100%;}
.carousel .next{left:100%;}
.carousel .prev{left:-100%;}
.carousel .next.left,.carousel .prev.right{left:0;}
.carousel .active.left{left:-100%;}
.carousel .active.right{left:100%;}
.carousel-control{
    position: absolute;
    top: 50%!important;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 10;
    color: #fefefe;
    font-family: arial;
    color:#ffffff;
    width:38px!important;
    height:38px!important;
    line-height:28px!important;
}
.carousel-control.right{left:auto;right:5px;}
.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90);}
.carousel-caption{position:absolute;left:0;right:0;top:0;padding:5px 0px 5px 0px; background:rgba(38, 152, 190, 0.75); width: 100%;}
.carousel-caption h4,.carousel-caption p{color:#ffffff;}
.carousel-caption p{font-size: 18px; margin-bottom: 0; padding: 0; text-indent: 15px;}
.caption-orbit{position:absolute; bottom:0; right:0; left:0;}
/** FIN CARRUSEL **/
.orbit-container img{width: 100%}



/*REsponsive table*/
.alignright{text-align: right;}
.responsive-card-table {
    border-collapse: collapse;
}

.responsive-card-table.unstriped tbody {
    background-color: transparent;
}

.responsive-card-table th {
    background-color: #1591b7;
    color:#fff;
    text-align: center!important;
}
.responsive-card-table th a{ font-size: 0.8rem;color:#fff;}
.responsive-card-table th img{width:16px!important;}

.responsive-card-table tr,
.responsive-card-table th,
.responsive-card-table td {
    border: 1px solid #1591b7;
}
.responsive-card-table td .button{color:#fff;}

.pagination .current {background: #1591b7;}

/*IDIOMAS*/
.lang-nav {position:absolute; top:0; right:0; padding: 0 1rem;}
.lang-nav ul{list-style: none; margin: 0; padding:0; text-align: right;}
.lang-nav ul li{display:inline-block;}
.lang-nav ul li a{display:block; padding: 2px 4px; text-transform: uppercase; font-size: 11px; border:solid 1px transparent;}
.lang-nav ul li a.current{font-weight:700; border:solid 1px #1591b7;}



.custom-select {
    position: relative;
    font-family: Arial;
    width: 110px;
    float:right;
}

.custom-select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background: url(img/language.svg) 96% / 25% no-repeat #1591b7;
}

/* Style the arrow inside the select element: */

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
    color: #ffffff;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.4) transparent;
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: #1591b7;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.4);
}


/* CAUTION: Internet Explorer hackery ahead */


select::-ms-expand {
    display: none; /* Remove default arrow in Internet Explorer 10 and 11 */
}

.custom-select .hidden{display: none;}

/* Target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width:0\0) {
    select {
        background: none\9;
        padding: 5px\9;
    }
}
/*IDIOMAS*/


@media screen and (max-width: 640px) {
    #navigationtop {position: fixed!important;}
    .alignright{text-align: left;;}
    .responsive-card-table {

    }
    .responsive-card-table thead tr {
        position: absolute;
        top: -9999em;
        left: -9999em;
    }
    .responsive-card-table tr {
        border: 1px solid #0a0a0a;
        display: block;
        margin-bottom: 1rem;
    }
    .responsive-card-table tr + tr {
        margin-top: 1.5rem;
    }
    .responsive-card-table td {
        border: none;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        border-bottom: 1px solid #0a0a0a;
        padding-left: 50%;
        position: relative;
    }
    .responsive-card-table td:before {
        content: attr(data-label);
        display: inline-block;
        font-weight: bold;
        line-height: 1.5;
        margin-left: -100%;
        width: 100%;
        position: relative;
        z-index: 1;
    }
    .responsive-card-table td:after {
        content: '';
        position: absolute;
        background: #e6e6e6;
        width: 45%;
        height: 95%;
        left: 1px;
        top: 1px;
        z-index: 0;
    }
}

.responsive-card-table a, a h5{color:#1591b7;}

.responsive-card-table input{margin-bottom:0;}

/*END Responsive Table*/


.absolute-full{position:absolute; top:0; bottom:0; left:0; right:0;}

.align-center{text-align: center;}
.align-right{text-align: right;}
.right{float:right;}
.nomargin{margin:0;}

.cont-destacados{padding:0 0 2rem 0;}

header{background: #fff;}


.page-title{background: #1591b7; padding: 1rem 0; margin-bottom:2rem;}
.page-title h2{color: #fff;}


.breadcrumb{margin-bottom: 2rem;}
.breadcrumb a{color: #888; text-transform: uppercase; font-size: 12px;}
.breadcrumb a:last-child{font-weight: 700;}


form ul{list-style:none; margin-left: 0;}
form.ficha [type='text'], form.ficha select, form.ficha [type='number'], form.ficha [type='tel'], form.ficha [type='email'] {color:#1591b7;}

.callout.grey{background:#f8f8f8;}
.search{ padding:1rem 1rem 0 1rem;
         background:#eee;
         margin-top: -2rem;
         margin-bottom: 2rem; 
         border-bottom: solid 1px #ccc;}

.reveal h3{color:#fff!important;background: #1591b7; margin: -1rem -1rem 1rem -1rem; padding: 1rem;}
.reveal .close-button, .reveal .close-button:hover, .reveal .close-button:focus {
    color: #1591b7;
}



.reveal {
    z-index: 1006;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: none;
    padding: 1rem;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fefefe;
    position: fixed;
    top: 20%;
    right: 28%;
    left:20%;
    margin-right: auto;
    margin-left: auto;
    overflow-y: auto;
    box-shadow: 0 0 60px 0 rgba(0,0,0,0.3);
}

.reveal#minicart {width: 80% ;max-width: 80%;  margin: 0  0 auto 0!important; top:110%!important; left:10%!important; right:10%!important; position:fixed!important;
                  min-height: 200px; max-height: 400%;}


.orbit-previous, .orbit-next{cursor:pointer!important;}
.orbit-container h2, .orbit-container h3{color:#fff!important;}

footer{background: #333; padding: 2rem  0 0 0; margin-top:2rem; bottom:0;}
footer p, footer a, footer a:hover{color: #eee;}
.footer-bottom{ background: #666; padding: 2rem  0 1rem 0;}


.triangle {
    width: 0; 
    height: 0; 
    border-top: 20px solid #1591b7;
    border-right: 90px solid transparent;
    border-left: 90px solid transparent; 
    margin:-1rem auto 1rem auto!important;
}

label.control-label{font-weight:700; color:#1591b7;}

ul.socials{list-style:none; margin:0; padding:0;}
ul.socials li{display:inline-block; margin-right: 6px;}

/*PRODUCTS*/
.fullwidth{width:100%;}
.fullwidth img{width:100%;}
.colors{}
.colors ul{list-style:none; margin:0; padding:0; width:100%; overflow:visible;}
.colors ul li{display:inline-block; width:40px; height:40px; margin: 0 10px 4px 0;}
.colors ul li img, .colors ul li a, .colors ul li a img{display:block; width:100%; margin:0;}
.colors ul li:hover{width:46px; height:46px; margin: -3px 7px 1px -3px;}
.callout .colors{margin-left: 10px;}


.colors ul li.select{width:46px; height:46px; margin: -3px 7px 1px -3px; box-shadow: 0 0 0 4px #FFE500;}
.trough{text-decoration:line-through; color:#888; font-size:1rem; font-weight: 300; vertical-align: middle;}
h6 p{display:inline-block;}

.datos{position:relative;}
.star{position:absolute; top:0; left:0; width:140px; height:140px; z-index: 9999;}
.star img{display:block; width:100%;}

.sep{margin: 3rem 0;}
section{ background: #eee;}

h3 .subfamily{color:#000;font-size: 2.5rem;}
.varia{text-transform: uppercase; font-size: 9px;}

[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea {
    width: 95%!important;
    height: 2.4375rem;}
.input-prepend .add-on, .input-append .add-on {
    float: left;
    display: block;
    width: 4%!important;
    min-width: 16px;
    height: 2.4375rem!important;
    margin-right: -1px;
    padding: 0!important;
    font-weight: normal;
    line-height: 2.4375rem!important;
    color: #000;
    text-align: center;
    text-shadow: 0 1px 0 #ffffff;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px 0 0 3px;
    -moz-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
}

/* FIN PRODUCTS*/


.no-movil{display:none;}


@media print, screen and (min-width: 64em){
    .bg-menu {background: #fff;}
    .user.menu.dropdown{margin:0 0;  vertical-align: middle;}
    .menu li .submenu{display:none;}
    .menu li:hover .submenu{display:block;}
    #responsive-menu{position:relative; box-shadow:none;}
    .sub-menu::after {display: none;}
    .lang-nav {position:relative; top:auto; right:auto; padding: 0;}
    .user{padding: 0;}
    .no-movil{display:block;}
    .logo-movil{display:none;}
    h1, .h1 {font-size: 5rem; line-height:1; margin: 0;}
    h2, .h2 {font-size: 4rem; line-height:1; margin-top: 2rem;}
    .caption-orbit{position:absolute; bottom:0; right:0; left:0;}
    .full-height {
        height: 70%;
        width: 100%;
        background: transparent;
        display:block;
    }
    .caption-slider{ background: rgba(38, 152, 190,0.5);}
    .menu {display: block; width:100%;}
    .menu li {display: inline-block;}
    .reveal, .reveal.tiny, .reveal.small, .reveal.large {
        right: 20%;
        left: 20%;
        margin: 0 auto;
    }
    .page-title{background: #1591b7; padding: 2rem 0 1rem 0; margin-bottom:2rem;}
    .user-nav li a{color:#1591b7!important;}
}

.alert-box{ border:solid 1px #e63434; padding:10px; color:#e63434; background: rgba(255,255,255,0.8); margin-bottom: 6px; font-weight: 700;}
.sub-help{ display:block; margin-top: -16px; font-size: 11px;}
.payment_box{padding-left: 1.5rem;}

@media print, screen and (min-width: 40em){
h1, .h1 {
    font-size: 3rem!important;}
  h2, .h2 {
    font-size: 2.5rem!important; }
  h3, .h3 {
    font-size: 1.9375rem!important; }
  h4, .h4 {
    font-size: 1.5625rem!important; }
  h5, .h5 {
    font-size: 1.25rem!important; }
  h6, .h6 {
    font-size: 1rem!important; } 

}

/*BLOQUES ADMIN*/
.cell .block_options img { height: 1px!important;}
.cell:hover .block_options img {height: auto!important;}

.cell .block_expanded, .cell .admin_item_edit, .cell .block_options a {}
.cell:hover .block_expanded, .cell:hover .admin_item_edit, .cell:hover .block_options a  {}
    
    .cell .block_options {
    border: 1px solid #DFDFDF;
    margin-bottom: 1px;
    padding: 1px 0px 3px 1px;
    background-color: #FFF;
    overflow: visible;
    height:1px;
    opacity: 0;
    filter: alpha(opacity=0); /* For IE8 and earlier */
    transition-duration: 0.5s;
    
}
 .cell .block_options img{position:absolute;}
 .cell .admin_item_edit {display:none;}

.cell:hover .block_options {
    border: 1px solid #DFDFDF;
    margin-bottom: 10px;
    padding: 5px 0px 3px 5px;
    background-color: #FFF;
     overflow: hidden;
    height:auto;
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    transition-duration: 0.5s;
}
 .cell:hover .block_options img{position:relative;}
 .cell:hover .admin_item_edit {display:block;}


.cell:hover .imgBlock {
    opacity: 0.7;
    filter: alpha(opacity=70); /* For IE8 and earlier */
    transition-duration: 1s;
}

.cell{margin-bottom: 1rem;}

.cell .cell{margin-bottom: 0;}

#fullWidth .cell:hover{
    box-shadow: 0 0 0 2px #ccc;
    transition-duration: 1s;
}
#fullWidth .cell:hover .cell{
    box-shadow: none!important;
    transition-duration: 1s;
}

.edit-video{position:relative;}

.edit-video .cont{position:absolute; top:60px; width:100%; text-align: center; background: rgba(0,0,0,0); z-index: 100;}
.edit-video .button{background-color: #fff!important; color:#333;}

#fullWidth ul {
    margin-left: 1.25rem;
    list-style-type: disc;
}

#fullWidth ul li {list-style-type: disc;  line-height: 1.6!important;}

#fullWidth ul, #fullWidth ol, #fullWidth dl {
    margin-bottom: 1rem;
    list-style-position: outside;
    line-height: 1.6!important;
}


/*INTRANET*/
.nav-pills.nav-left li {
    float: none;
    display:block;
}
.nav-pills .active>a, .nav-pills .active>a:hover {
    color: #ffffff;
    background-color: #1591b7;
}
