.modal-backdrop {
    z-index:99999;
}
.modal {
    z-index:999991;
}

.cat-a-medida-span {
    border-radius:2px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}
.cat-a-medida-span a {

    border: 1px solid #fff;
}
.blocks-banners {

    border-radius:2px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}
.cat-a-medida {
    padding:30px 0 0 0;
}




.blocks-banners-config-overflow {
    position:relative;
    z-index:0;
}

.social-link {
    margin: 0;
    padding: 0 0 20px 20px;
    float: right;
    position: relative;
    z-index: 10;
    top:40px;
}

.social-link li {
    float:left;
    list-style:none;
}

.social-link li a {
    color: #427BAD;
    font-size: 30px;
    float: left;
    padding:10px;
    background: rgba(255, 255, 255, 1);
    border-radius: 3px;
    margin: 0 0 0 20px;
}



.mecamaq-peu .logo {
    font-size:160px;
    color:#427BAD;
    overflow:hidden;
    height:75px;

}

.mecamaq-peu .logo-social-link {
    float:left;
    margin-right:40px;
}

.mecamaq-peu .logo .iconb {
    position:relative;
    top:-40px;
}

.mecamaq-peu .adresa {
    color: rgba(255, 255, 255, 0.49);
    float:left;
    font-size:13px;
    margin-top: 7px;
    margin-bottom:40px;
}

.mecamaq-peu .adresa strong {
    color:#CCC;
}

.peu-nav,
.peu-products {
    margin:0;
    padding:40px  0 0 50px;
}

.peu-nav li,
.peu-products li {
    list-style:none;
    padding-left:50px;
}

.peu-nav li a,
.peu-products li a {
    color:#427BAD;
    line-height:30px;
    font-size:13px;
    text-transform:uppercase;
    font-weight:bold;
}


.peu-nav {
    float:left;
    text-transform:uppercase;
    font-weight:bold;
}

.peu-products {
    float:left;
}

.menu-acc-sub {
    margin-bottom:30px;
}
header {
    position:relative;
    z-index: 99991;
}

.nav-inici {
    background:#F7F7F7;
    border-bottom: 1px rgba(57, 56, 63, 0.31) solid;
    position:absolute;
    width:100%;
    z-index: 9999;
    top:0;
    padding-top:30px;
    padding-bottom:40px;

    opacity:0;
    display:none;

}
.nav-inici-display {
    display:block;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

}

.menu-level2 ul {
    margin:0;
    padding:0;
}

.menu-level2 ul li {
   list-style:none;
}

.nav-inici-in {
    opacity:1;
    top:129px;

}

.menu-level2 {
    width:33%;
    display:block;
    float:left;
}
.menu-level2 a {
    width:90%;
    display:block;
    float:left;
    padding:5%;
    border-bottom:1px #ddd solid;
    font-size:14px;
    line-height:17px;
}

.menu-level2 ul  ul  ul  a {
    width:25%;
    padding:2% 2% 1% 2%!important;
    margin:5px 5px 0 0;
    font-size:12px;
    line-height:14px;
    font-weight:bold;
    background-color: rgb(255, 255, 255);

    border-radius:3px;
    border-color:transparent;
    text-align:center;
}

.btn-sub-desplegable {
    width: 100%;
    background: none;
    clear: both;
    text-align: center;
    border-top:1px #ddd dotted;
    margin-bottom:20px;
}

.btn-sub-desplegable li {
    list-style:none;
    display: inline-block;
}
.btn-sub-desplegable li a {
    width: 161px;
    height: 119px;
    float: left;
    padding: 20px 0 20px 0;
    text-align: center;
    display: inline-block;
}
.btn-sub-desplegable li a:hover {
    opacity:0.5;
}
.btn-sub-desplegable li a:active {
    opacity:1;
}

.btn-sub-desplegable li a img {
    max-height: 110px;
}
.btn-sub-desplegable li a h5 {
    padding-bottom:20px;
    margin:0 0!important;
}

.btn-sub-desplegable {
    display:none;
}


@media (min-width: 768px) and (max-width: 979px) {
    .menu-level2 a {
        font-size:12px;
        line-height:14px;
    }
}
.menu-level2 a:hover {
    opacity:0.5;
}
.menu-level2 h4 {
  padding:10px 0 0 0;
  margin:0;
  height: 24px;
  line-height:14px;
  font-size:14px;
  color:#555;
}



.menu-level2 .img_file {
    position:relative;
    background:#fff;
    z-index:0;
    width:100%;
    height:80px;
    top:0;
    left:0;
    border-bottom:2px #ddd solid;
}

.menu-level2 img {
    max-height:153px;
}

/* FILTRE IMATGES*/
.img_file {
    position:relative;
    background:#fff;
    z-index:0;
    width:100%;
    height:100%;
    top:0;
    left:0;
}
.img_file img {
    position:relative;
    z-index:0;
}
.img_file div {
    position:absolute;
    z-index:0;
    background: rgba(0, 0, 0, 0.03);
    width:100%;
    height:100%;
    top:0;
    left:0;
}



@media (max-width: 1200px) {

    header ul li a {
        font-size: 11px;
    }

}

.constact {

    background-repeat:no-repeat;
    background-size: contain;
    background-image:url("../img/fons-constact.png");
}



#configuracion {
    margin:0!important;
}


#dist input,
#dist textarea,

#contact input,
#contact textarea,

#configuracion input,
#configuracion textarea {
    padding:9px 6px;
    height:auto;
}

.alert ul {
    padding: 0;
    margin: 0;
}

.alert li {
   list-style:none;
    font-size: 13px;
}



.checker-terms-state {
    margin:0 0 20px 0;
    position:relative;
}


.checker-terms-state a{
    color: #3ea5ce;
    font-size:14px;
}

.terms-reader-block {
    float:left;
    margin:4px 0 0 30px;
    font-size:14px;
    color:#333;
}


.checker input { opacity:0;  height:20px; width:20px; position:absolute; top:-5px; left:0; z-index:10 }
.checker span {

    display:block;
    cursor: pointer;
    position:relative;

    width:16px;
    height:16px;

    top: 6px;
    left:5px;
    border-radius:3px;



    -webkit-box-shadow:0 0 2px rgba(0,0,0,0.5);
    -moz-box-shadow:0 0 2px rgba(0,0,0,0.5);
    box-shadow:0 0 2px rgba(0,0,0,0.5);
    background: #ffffff;

    background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
    background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
    background: linear-gradient(top, #ffffff 0%, #eeeeee 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );


}
.checker span:after {

    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity:0;
    content: '';
    position: absolute;
    width: 13px;
    height: 5px;
    background: transparent;
    top:0;
    left:3px;
    border:3px solid  #333;
    border-top: none;
    border-right: none;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.checker span.checked {

    background: #ffffff;

    background: -webkit-linear-gradient(top, #eeeeee 0%, #dddddd 100%);
    background: -moz-linear-gradient(top,  #eeeeee 0%, #dddddd 100%);
    background: -o-linear-gradient(top,  #eeeeee 0%, #dddddd 100%);
    background: -ms-linear-gradient(top,  #eeeeee 0%, #dddddd 100%);
    background: linear-gradient(top,  #eeeeee 0%, #dddddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );

}
.checker span.checked:after {

    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;

}











.ajax-loader-new {
    display:none;
}


.ajax-loader-new-v1 {

    position: absolute;
    border: 2px solid #427BAD;
    border-right-color: transparent;
    border-radius: 50%;

    margin-left: -15px;
    margin-top: -15px;
    width: 26px;
    height: 26px;
    z-index: 9999999999999;

    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);

    top:50%;
    left:50%;
    opacity:0;

    -webkit-transition: all 300ms ease-in-out;




}

.ajax-loader-new-v2 {

    position: absolute;
    border: 5px solid rgb(54, 54, 54);
    border-bottom-color: transparent;
    border-radius: 50%;
    margin-left: -10px;
    margin-top: -10px;
    width: 10px;
    height: 10px;
    z-index: 9999999999999;

    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);

    top:50%;
    left:50%;
    opacity:0;

    -webkit-transition: all 300ms ease-in-out;

}


.ajax-loader-new-in .ajax-loader-new-v1  {
    opacity:0.5;
    -webkit-animation: spin 3000ms linear infinite;
    -moz-animation: spin 3000ms linear infinite;
    animation: spin 3000ms linear infinite;

    -webkit-transition: all 300ms ease-in-out;
}

.ajax-loader-new-in .ajax-loader-new-v2  {
    opacity:0.5;
    -webkit-animation: spin 1000ms linear infinite;
    -moz-animation: spin 1000ms linear infinite;
    animation: spin 1000ms linear infinite;

    -webkit-transition: all 300ms ease-in-out;
}



@-webkit-keyframes spin { from {-webkit-transform: rotate(0deg);} to { -webkit-transform: rotate(360deg); } }
@-moz-keyframes spin { from {-moz-transform: rotate(0deg);} to { -moz-transform: rotate(360deg); } }
@keyframes spin { from { transform: rotate(0deg);} to { transform: rotate(360deg); } }

.nav-esquerra {
    display:none;
}





.td-init-class {
    margin-top:20px;
    margin-bottom:0;
    padding-top:10px;
    padding-bottom:10px;
    border-bottom:solid 1px #ddd;
    font-size:14px;
    font-weight:bold;
}










.cat-a-medida-span .img_file {
    position:absolute;
    width:80%;
    height:80%;
    right:5%!important;
    top:30px;
    left:auto;
}

.cat-a-medida-span:hover {
    opacity:0.7;
}

.cat-a-medida-span .img_file div {

}
.cat-a-medida-span .img_file div.img {

    position:absolute;
    width:100%;
    height:100%;
    right:0;

    background-color:#fff;
    background-repeat: no-repeat;
    background-size: contain;
    background-position:50% 50%;
}
.cat-a-medida-span h2 {
    position:relative;
    z-index:3;
    padding:15px 0 0  15px!important;
    margin:0!important;
    width:40%;
}
.cat-a-medida-span-summary {
    margin:5px 0 0 15px!important;
    position:relative;
    z-index:3;
    width:30%!important;
    color:#666;
}
.cat-a-medida-span .btn-m {

    z-index:3;
    margin:0 0 0 15px!important;
}

.cat-a-medida-span-pro .img_file div.img {

    background-position:80% 50%;
}

.products-pdf h3 span{
    font-weight:100;
}
.phone-submenu .container h2,
.phone-submenu .container h3 {
    font-weight:bold!important;
}

.phone-submenu .container h2 .active:hover,
.phone-submenu .container h3 .active:hover,
.phone-submenu .container h2 .active,
.phone-submenu .container h3 .active {
   color:#FFF!important;
    cursor:default!important;
}
.arrow-r {
    color:#eee!important;
    font-weight:200!important;
}



.nav-stacked .active a {
    background:#427BAD;
}

.nav-stacked  a {
    background: #f9f9f9;
}
.nav-stacked  a:active {
    background: #FFF!important;
}

@media (max-width:979px) {


    .sp-visible-phone {
        height:31px;
    }

    .products-pdf,
    .products-content {
        padding-top:20px!important;
    }
    .phone-submenu.visible-phone {
        position:fixed;
        z-index:999999999;
        width:100%;
        height:31px;
        top:45px;
        box-shadow:0 2px 5px rgba(0, 0, 0, 0.1);
    }

    #title-sMenu {
        background-image: url(../img/bg-sup-phone_base.png)!important;
        background-position: top right;
        background-repeat:repeat-x;
        background-size:20px 31px ;
    }

    .phone-submenu  {
        overflow-x:auto;
        overflow-y:hidden;
        min-height: 31px!important;
        max-height: 31px!important;
    }

    .phone-submenu .container {
        padding-left:10px;
    }

    .phone-submenu .container h2,
    .phone-submenu .container h3 {
        margin:0!important;
        font-size:12px!important;
        padding:0!important;
    }

    .phone-submenu .container h2 a,
    .phone-submenu .container h3 a {

        height: 31px;
        padding: 0 24px 0 0;
        background-image: url(../img/bg-sup-phone.png);
        background-repeat: no-repeat;
        background-position: top right;
        background-size: auto 31px ;
        line-height: 31px;
        float: left;
    }

    .phone-submenu .container h2 .active:hover,
    .phone-submenu .container h3 .active:hover,
    .phone-submenu .container h2 .active,
    .phone-submenu .container h3 .active {
        color:#333!important;
        cursor:default!important;
    }


    .arrow-r {
        display:none;
    }


    .phone-submenu-2 {

    }

    .phone-submenu-2 li {

    }

    [class*="span"], .uneditable-input[class*="span"], .row-fluid [class*="span"] {
        float: none;
        display: block;
        width: 100%;
        margin-left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }



    .row-fluid [class*="span"]:first-child {
        margin-left: 0;
    }
    .row, .thumbnails {
        margin-left: 0;
    }
    .container {
        width: auto;
    }



    .cat-a-medida-span-pro {
        margin:0 3% 3% 3%;
        width:94%;
    }

    .blocks-pres {
        margin-bottom:4%!important;
    }

    .cat-a-medida-span-pro .img_file div.img {
        background-position:100% 50%;
    }
    .cat-a-medida-span-pro h2 {
        width:100%;
    }
    .cat-a-medida-span-pro .img_file {
        width: 70%;
        height: 70%;
        top:50px;
    }
    .menu-pres-open .blocks-pres {

        height: 200px!important;

    }



    .hidden-phone {
        display:none!important;
    }

    .visible-phone {
        display:block!important;
    }



/*@media (max-width: 767px) { */

    .footer {
        display:none;
    }

    .overflow-scrolling {
        background-color: #FFF;
    }

    .nav-esquerra {
        display:block;
    }



    .navbar-inner  {
        border-radius:0!important;
        border-left:0!important;
        border-right:0!important;
        background-color:#fff;
    }



    .navbar.visible-phone .logo-phone {
        height:24px;
        width:130px;
        position: relative;
        top:1px;
        margin-left: 5px;
    }
    .navbar.visible-phone .menu-phone {
        height:15px;
        width:20px;
        margin-top: 5px;
    }


    .peu-nav-phone .img_file {
       padding:10px;
       width:auto;
       border-radius:3px;
       background:#fff;
       text-align:center;
    }
    .peu-nav-phone .img_file div {

        background: rgba(0, 0, 0, 0.03);
        border-radius:3px;


        border:1px #fff solid;


        background: -moz-radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.11) 100%);
        background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.11)));
        background: -webkit-radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.11) 100%);
        background: -o-radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.11) 100%);
        background: -ms-radial-gradient(center, ellipse cover,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.11) 100%);
        background: radial-gradient(ellipse at center,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.11) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#1c000000',GradientType=1 );

        top:-1px;
        left:-1px;
    }


    .peu-nav-phone,
    .peu-nav-phone li {
        padding:0!important;
        margin:0!important;
        width:100%!important;
    }

    .peu-nav-phone {
        display:block;
        margin-top:1px!important;
        margin-bottom:15px!important;
    }

    .peu-nav-phone .social-link li{
        float:left;
    }
    .peu-nav-phone .social-link {
        width:auto;
      }

    .peu-nav-phone .logo,
    .peu-nav-phone .adresa {
        display:none;
    }
    .peu-nav-phone  ul {
        margin:0;
    }

    .peu-nav-phone img {
        max-height:50px;
    }


    .peu-nav-phone li a {
        border-bottom:1px solid rgba(0, 0, 0, 0.09);
        border-top:1px solid rgba(255, 255, 255, 0.8);
        list-style-type: none;
        overflow: hidden;
        display:block;
        text-decoration:none;
        text-overflow:ellipsis;
        white-space:nowrap;
        overflow:hidden;
        display:block;
        text-transform:none;
        font-weight:700;
        letter-spacing:0.2px;
        font-size:14px;
        line-height:25px;
        padding:3px;
        background: rgba(255, 255, 255, 0.8);
        background: -moz-linear-gradient(top,  rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.06) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.05)), color-stop(100%,rgba(0,0,0,0.06)));
        background: -webkit-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.06) 100%);
        background: -o-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.06) 100%);
        background: -ms-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.06) 100%);
        background: linear-gradient(to bottom,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.06) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d000000', endColorstr='#0f000000',GradientType=0 );

        text-shadow: 1px 1px 1px #FFF;


    }
    .peu-nav-phone   li a {
        padding:10px 20px 8px 20px;
    }

    .peu-nav-phone li.active ul li.active  ul li a,
    .peu-nav-phone li.active ul li a,
    .peu-nav-phone  ul  li a {
        padding:4px 20px 4px 20px;

        font-size:11px!important;
        line-height:18px!important;

        background: -moz-linear-gradient(top,  rgba(0,0,0,0.09) 0%, rgba(0,0,0,0.1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.09)), color-stop(100%,rgba(0,0,0,0.1)));
        background: -webkit-linear-gradient(top,  rgba(0,0,0,0.09) 0%,rgba(0,0,0,0.1) 100%);
        background: -o-linear-gradient(top,  rgba(0,0,0,0.09) 0%,rgba(0,0,0,0.1) 100%);
        background: -ms-linear-gradient(top,  rgba(0,0,0,0.09) 0%,rgba(0,0,0,0.1) 100%);
        background: linear-gradient(to bottom,  rgba(0,0,0,0.09) 0%,rgba(0,0,0,0.1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#17000000', endColorstr='#1a000000',GradientType=0 );


    }



    .peu-nav-phone li.active ul li.active  ul li.active a,
    .peu-nav-phone li.active ul li.active a,
    .peu-nav-phone li.active a {
        background: rgba(255, 255, 255, 0.8);
    }




    .peu-nav-phone li a .iconb {
        margin-right: 10px;
        color: #FFF;
        border: 0!important;
        line-height: 29px;
        font-size: 15px;
        padding: 0 0 0 0;
        width: 25px;
        height: 25px;
        float: left;
        text-align: center;
        border-radius: 2px;
        text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 1px;
        box-shadow: 0 0 1px #fff!important;
        border-bottom: 1px rgba(0, 0, 0, 0.1) solid!important;
        background-color: #427BAD;
    }



    .overflow-scrolling  {
        overflow-y:auto!important;
        -webkit-overflow-scrolling:touch;
        -moz-overflow-scrolling:touch;
        padding:0;
        margin:0 0 0  0;
        position:absolute;
        width:100%;
        height:100%;
    }

    .nav-esquerra-backgraund {
        -webkit-transform: translate3d(0,0,0);
        -webkit-transition: all 300ms ease-in-out;
        -moz-transform: translate3d(0,0,0);
        -moz-transition: all 300ms ease-in-out;


    }


    .wrapper-in .nav-esquerra-backgraund {
        -webkit-transform: translate3d(-270px,0,0);
        -moz-transform: translate3d(-270px,0,0);
    }
    .nav-esquerra-backgraund {
        background-color:#fff;
        position:fixed;
        box-shadow:0 0 7px rgba(0, 0, 0, 0.3);
        top:0;
        left:0;
        bottom:0;
        right:0;
        z-index:1;
    }

    .nav-esquerra {
        position:fixed;
        width: 270px;
        background-size:200px;
        height:100%;
        padding:10px 0 0 0;
        top:-10px;
        z-index:0;
        right:0;
    }

    .option-scroll {
        width:100%;
        bottom:0;
        left: 0;
        right: 0;
        top:48px;
        z-index:2;
        position:fixed;

        overflow-y:scroll;
        -webkit-overflow-scrolling:touch;
        -webkit-transform:translate3d(0,0,0);
    }


    .fons-m1,
    .fons-m2 {
        padding-left: 20px;
        padding-right: 20px;
    }


    .banners-home {
        padding-top:4%!important;
    }

    .blocks-pres .row-fluid {
        padding:1px!important;
    }
    .blocks-pres .row-fluid a {
        padding:0 20px 0 20px!important;
        background: #F7F7F7;
    }

    .banner-superior .text {
        padding-top:0!important;
        padding:0 20px 0 20px!important;
    }

    .social-link {
        float:none;
        height:20px;
        margin-top:20px;
    }
    .social-link li a {
        color:#427BAD;
        background-color:#fff;
    }

    .social-link li .lang {
            font-size:12px;
        font-weight:bold;
        padding:5px 8px 3px 8px;
    }

    .social-link li.active .lang {
      background-color:#427BAD;
        color:#fff;
    }

    .social-link {
        background:#eee;
        margin:0;
        padding-top:9px;
        padding-bottom:8px;
        padding-left:10px;
        height:30px;
        border-bottom:1px solid rgba(170, 170, 170, 0.37);
    }

    .blocks-banners-config-overflow .frame img {
        width:240px;

    }

    .models-social-share {
        padding-top:10px!important;
        padding-bottom:10px!important;
    }
    .blocks-banners-config-overflow {
        padding-top:65px;
    }

    .models-container h2 {
        padding-top: 20px!important;
    }
    .models-container {
        padding-top:20px!important;
        padding-bottom:20px!important;
    }
    .models-container  a.btn-m {
        display:block!important;
        float:none!important;

    }
    .models-container  .models-header ul li{
        float:none!important;
    }
    .models-container  .models-header {
             height:auto;
    }



    .menu-pres-open .blocks-pres .btn-m {
        display:none;
    }



    .fons-s {
        padding-left:20px;
        padding-right:20px;
        font-size:12px;
    }
    .fons-s table td {
        padding:2px;
    }
    .cat-a-medida-span:hover {
        opacity:1;
    }

}

 @media (max-width:979px) {


     .products-pdf h3 span{
         display:block;
         font-size:3px;
         line-height:3px;
         font-weight:bold;
         color:#FFF;
     }

     .products-pdf  a.btn-m {
         width:100%!important;
     }

     #no-more-tables td p {
            margin:5px 0 5px 0;
         font-weight:bold;
     }

     #no-more-tables td  a.btn-m {
         display:block!important;
         float:none!important;
         width:80%!important;
     }


    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;

    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #no-more-tables tr {   margin-bottom:1px; }

    #no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align:left;

        padding-top:0;
        padding-bottom:0;

        line-height:22px;
    }
     #no-more-tables .td-spacer td {
         padding-left:0!important;
     }
    #no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;

        padding-top:0;
        padding-bottom:0;

        white-space: nowrap;
        text-align:left;
        font-weight: bold;

        line-height:9px;


    }



    /*
    Label the data
    */
    #no-more-tables td:before { content: attr(data-title); }

    #no-more-tables tr.td-header {
        display:none!important;
    }

     #no-more-tables tr  td.opcional-s-de-serie-inexistente {
        padding:10px 20px 10px 20px;
    }


     .table-models td,
     .table-models {
         width:100%!important;
         margin:0!important;
        
     }

     .products-pdf  #no-more-tables .td-products-tr,
     .products-pdf  #no-more-tables .td-accessories{
         display:none!important;
     }


     .menu-config-model {
         margin:20px 0 20px 0!important;
     }



     #configuracion {
         margin-top:0!important;
     }

     .modal-backdrop {
         z-index:0;
     }
     .menu-accessories .tipo{
         bottom: 0!important;
     }

     .img-polaroid {
         padding:0!important;
     }



     .models-imatge img {
        max-height:300px;
     }
     .models-container {
         position:relative;
     }
     .models-container h2 {
         position:absolute;
         top:20px;
         padding:0!important;
         margin:0!important;
         border:0!important;
     }
     .models-imatge .img_file {
         padding-top:0!important;
     }

     .products-presentation .img-index  img {
         max-height:400px!important;
     }
     .products-presentation .img-index {
         padding-top:0!important;
     }
 }

@media (max-width: 767px) {

    .products-presentation .img-index img {
        max-height:300px!important;;
    }

    .products-presentation .img-index {
        padding-top:0!important;
    }

    .models-imatge img {
        max-height:200px;
    }
    .models-container h2 {
        top:10px;
            font-size:20px;
           line-height:40px;
            padding:0!important;
             margin:0!important;
            border:0!important;
    }
    .models-imatge .img_file {
        padding-top:20px!important;
    }




}

@media (max-width: 400px) {


    .blocks-banners .title p {
        line-height:23px!important;
        font-size:18px!important;

    }

    .blocks-banners  {
       background-size:100%!important;
    }

}

.locks-pres-accesorios .cat-a-medida-span-summary {
    width:80%!important;
}

.locks-pres-accesorios .img_file {
    top: 120px;
    height:40%;

}




@media (max-width:979px) {


    .container.gallery {
        padding-bottom:20px!important;
        padding-top:30px!important;
    }

    .gallery  .media .span2,
    .cat-a-medida-span,
    .blocks-banners,
    .cat-a-medida-span-pro {
        width:29.6%;
        float:left;
        margin: 0 0 3% 3%;
        padding:0;
    }

    .gallery  .media .span2 a {
        height:150px;
    }

    .media-content img {
            width:100%;
    }

    .navbar.visible-phone .menu-phone {
        margin-top: 2px;
    }
    .navbar-inner img {
        position:absolute;
        width: 153px;
        top: 12px;
        right: 13px;
    }

    .img_file  {
      text-align:center;
    }

    .blocks-banners .film{
        -webkit-transform: scale(0.8)!important;
        right:-37px!important;
        top:90px!important;
    }

    .models-table-features {
        width:45%!important;
        margin: 0 0 0 3%;
    }

    .products-pdf h3 span {
        display:inline;
        color:#FFF;
        font-size:24px;
        font-weight:200;
    }

    .models-container a.btn-m {
        width:auto!important;
        float:left!important;
        margin-bottom:20px;
    }

}

@media (max-width:767px) {


    .gallery  .media .span2,
    .cat-a-medida-span,
    .blocks-banners,
    .cat-a-medida-span-pro {
        width:45.6%!important;
        float:left;
        margin: 0 0 3% 3%!important;
        padding:0;
    }
    .navbar.visible-phone .menu-phone {
        margin-top:5px;
    }

    .blocks-banners-config {
        width:94%!important;
        margin: 0 0 3% 3%!important;
    }


}

@media (max-width:500px) {

    .gallery  .media .span2,
    .cat-a-medida-span,
    .blocks-banners,
    .cat-a-medida-span-pro {
        width:94%!important;
        float:left;
        margin: 0 0 3% 3%;
        padding:0;
    }
    .navbar.visible-phone .menu-phone {
        margin-top: 5px;
    }

    .products-pdf h3 span {
        display:block;
    }
    .models-table-features {
        width:100%!important;
        margin:0;

    }

    .models-container a.btn-m {
        width:90%!important;
        float:left!important;
        margin-bottom:10px;
        margin-right:0;
        margin-left:0;
        border:0!important;
        padding:3px 5% 3px 5%!important;
    }



}
#no-more-tables td a.btn-m {
    width:90%!important;

    padding:3px 5% 3px 5%!important;
}

.util-de-plegado .models-table-features {
    display:none;
}


.models-header .imgde100-images {
    display:none;
}
.models-header .btn-m.imgde100-images {
    display:block;
}


.img4000-images {
    display:none;
}
.btn-m.img4000-images {
    display:block;
}

.models-table-top {
    font-size:13px;
    line-height: 16px;
}




.menu-top {
    position:fixed;
    right:20px;
    z-index:99999999999999;
    background:#FFF;
    padding:5px 10px 5px 10px;
    bottom:0;
    font-size:17px;
    border-radius:4px 4px 0 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}


.accessories-model .sombra-acc-ancho {

    position:absolute;
    width:100%;
    height:100%;
    z-index:0;
    top:0;
    padding:0 50px 0 50px;
    left:-50px;
}
.accessories-model .sombra-acc-ancho{
    box-shadow:inset 0 -10px  30px rgba(0, 0, 0, 0.2);
}

.qu-modal-footer {
    padding: 14px 15px 15px;
    margin-bottom: 0;
    text-align: right;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}
.qu-modal-body {
    position: relative;
    padding: 15px;
    overflow:hidden;
}
.qu-modal-body .accessories-model {
    text-align:center;
}

.qu-modal-body .accessories-model img{
    width:100%;
    position:relative;
    bottom:-15px;
}

.qu-modal .close {
    z-index:2;
    position:absolute;
    right:10px;
    top:5px;
}

.qu-modal-body h2 {
    border-bottom: 1px solid #eee;
    width: 100%;
    padding:20px 15px 15px 15px;
    left: -15px;
    top:-15px;
    position: relative;
    text-align: center;
    font-size:25px;
    line-height:30px;

    margin:0;

    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    -webkit-border-radius:  6px 6px 0 0;
    -moz-border-radius: 6px 6px  0 0;
    border-radius:6px 6px 0 0;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;

    text-shadow: 0 1px 0 #fff;
    z-index:1;
}
.qu-modal-body h2 p {
    margin:0;
    padding:0;
}

.qu-modal {
    position:absolute;
    top: 10%;
    left: 50%;
    z-index:999999999;
    width: 560px;
    margin-left: -280px;
    background-color: #ffffff;
    border: 1px solid rgb(255, 255, 255);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
    display:none;
}
.qu-modal2 {
    z-index:999999998;
    position:absolute;
    top:5%;
}


.qu-modal-body  .loader {
    margin:100px 250px 90px;
}


.terms-reader {
    cursor:pointer;
    color:#427BAD;;

}
.accessories-ajax li .text-btn:hover {
    color: rgb(50, 50, 50);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.accessories-ajax li .text-btn:active {
    color:rgb(189, 189, 189);
}

.accessories-ajax li .text-btn {
    color:rgb(189, 189, 189);
    cursor:pointer;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}





.menu-config-load-form {
    margin-top:3px!important;
    clear:both;
}


@media (max-width:767px) {
    .qu-modal {
        width:90%;
        left:0;
        margin-left:5%;
    }
    .qu-modal-body  .loader {
        margin:100px 50% 90px;
        position:relative;
        left:-10px;
    }


    .qu-modal-body .accessories-model {
         font-size:12px;
        line-height:18px;
    }
    .qu-modal-body .accessories-model  h2 {
        font-size:23px;
        line-height:27px;
    }



}