/* Generated by Font Squirrel (http://www.fontsquirrel.com) on November 20, 2013 */
@font-face {
    font-family: 'gotham';
    src: url('gotham-bold-webfont.eot');
    src: url('gotham-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('gotham-bold-webfont.woff') format('woff'),
         url('gotham-bold-webfont.ttf') format('truetype'),
         url('gotham-bold-webfont.svg#gothambold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'gotham';
    src: url('gotham-book-webfont.eot');
    src: url('gotham-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('gotham-book-webfont.woff') format('woff'),
         url('gotham-book-webfont.ttf') format('truetype'),
         url('gotham-book-webfont.svg#gothambook') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'gothamlight';
    src: url('gotham-light-webfont.eot');
    src: url('gotham-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('gotham-light-webfont.woff') format('woff'),
         url('gotham-light-webfont.ttf') format('truetype'),
         url('gotham-light-webfont.svg#gothamlight') format('svg');
    font-weight: lighter;
    font-style: normal;

}

body {
    font-family: "gotham";
    font-size: 16px;
    color: #000;
    padding: 0;
    margin: 0;
    background-color: #fafafa;
}

input[type=text], input[type=password], input[type=number] { font-family: "gotham";}
input[type=number].error{border: 1px solid red;}
input[type=submit] { font-family: "gotham" !important;}
input[type=button] { display: block; width: auto; font-size: 14px; font-weight: bold; text-transform: uppercase; height: 37px; cursor: pointer;
    border: 1px solid #038c34; background-color: #0f4d96; color: #FFF; right: 7px; bottom: -13px; margin-bottom: 20px; position: absolute;}
input[type=button]:hover { background-color: #666; border: 1px solid #666;}

textarea { font-size: 14px; padding: 5px; font-family: "gotham"; border: 0; border-bottom: 1px solid #dddddd; width: 100%; height: 80px;
    margin-bottom: 10px }

input.custom-combobox-input { width: 100%; background-color: #FFF; background-image: url(); border: 1px solid #ebebeb;}

.p-bottom-20 { margin-bottom: 20px}
.c-pointer { cursor: pointer }
.btn-primary { background-color: #0f4d96 !important; border-color: #0f4d96 !important; }
.btn-primary:hover { opacity: 0.8 }

#idsucursal { clear: both}
#idclient, #idsucursal { float: right;}

.clear { clear: both; }

.custom-combobox { position: relative; display: block;}
a.custom-combobox-toggle { position: absolute; top: 2px; right: 0; background-image: url(); background-color: #FFF; height: 28px}
.ui-autocomplete .ui-state-focus {
    background:rgb(39, 108, 255);
    color:white;
}

.ui-autocomplete { 
    max-height: 400px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

.ui-autocomplete .ui-menu-item:hover { background: transparent !important; border: 0 !important;
    padding: 3px 1em 3px .4em !important; margin: 0 !important; font-weight: bold}

/* IE 6 doesn't support max-height
   * we use height instead, but this forces the menu to always be this tall
   */
  * html .ui-autocomplete {
    height: 400px;
  }

a { font-family: "gotham"; font-size: 16px; color: #0f4d96 !important; text-decoration: none}
a:hover, a.active, a.focus { opacity: 0.8; color: #0f4d96 !important;}

/* UTILS */
.left { float: left;}
.right { float: right;}
.clear { clear: both;}

.margin20 { margin: 10px;}
.m-top-10 { margin-top: 10px; }

.mayus { text-transform: uppercase;}

.top { width: 100%; height: 52px; }
.top-content { width: 975px; margin: auto;}
.top-search  { width: 320px}

#search { margin-top: 12px}
#search input[type=text] { width: 279px; border-top: 0; border-left: 0; margin-right: 10px; -webkit-appearance: none}
#search input[type=submit] { background-image: url(../img/lupa.png); background-repeat: no-repeat; border: 0; width: 23px; height: 23px; cursor: pointer;}

.nav-content { width: 975px; margin: auto;}

.box {
    -webkit-box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    -moz-box-shadow:    -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    box-shadow:         -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9e9e9;
    min-height: 50px;
    height: 50px;
    display: table;
    width: 100%;
    margin-bottom: 10px;
    background-color: #FFF;
 }

 .box h2 { text-transform: uppercase; font-size: 18px; margin: 0; font-weight: bold !important}
 .box-content { margin: 20px;  }
 .box-top {  border-bottom: 1px solid #e9e9e9; height: 50px; position: relative;}
 .box-list-docs .box-top { border-bottom: 0 !important; }
 .box-top h2 { padding: 15px;}

 .box-content input[type=text]:focus, .box-content textarea:focus, .box-content input[type=password]:focus, #login input[type=text]:focus, 
 #login input[type=password]:focus  { background-color: #e8e8e8}
 .box-content input[readonly]:focus { background-color: #fff}

/* FORMS ERRORS */
label.error { font-size: 11px !important; color: red; padding: 0 !important;}

/* FORMS INFOS */
label.info { font-size: 11px !important; color: #0f4d96; padding: 0 !important}

/* LOGIN */
.container-login { height: 100% }
.login{
    /*position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -178px;
    margin-left: -266px;*/
    width: 533px;
    -webkit-box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    -moz-box-shadow:    -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    box-shadow:         -1px 2px 3px 0px rgba(0, 0, 0, 0.07); 
    background-color: #FFF;
    margin: auto;
    padding: 15px;
}

/*.login-top { text-align: center; }
.login-top img { margin: 15px auto;}
#login { width: 315px; margin: 15px auto;}
#login label { font-size: 16px; display: block; padding: 8px 0; }
#login input[type=text], #login input[type=password] { width: 315px; border: 1px solid #ebebeb !important; padding: 5px; font-size: 16px}

input[type=submit] { display: block; width: 95px; font-size: 14px; font-weight: bold; text-transform: uppercase; height: 37px; cursor: pointer;
    border: none!important;}
input[type=submit]:hover { background-color: #666; border: 1px solid #666;}
input[type=submit].submit-solicitar { width: auto}
#login a { display: block; text-align: right; color: #a3a3a3; padding: 5px 0;}

/* MENU */
.nav-content ul { margin: 0; padding: 0;}
.nav-content ul li { float: left; list-style-type: none}
.nav-content ul li a { color:#424242;}
.nav-content ul li a span { display: block; padding: 12px 0; margin-right: 25px; font-size: 14px}

/* MIDDLE */
.middle { margin: 0 auto; width: 975px; clear:both; /*min-height: 200px; height: 200px; display: table;*/ }
.middle-right { width: 317px; padding-top: 20px}
.middle-left { padding-top: 20px; width: 645px;}

/* FOOTER */
.footer { width: 975px; margin: auto; clear: both;}
.footer-content { padding: 5px 0; font-size: 12px}
.footer-content a { font-size: 12px}

/* FAQS */
.box-list-faqs .box-content a { display: block; font-size: 14px; font-weight: 400; height: 54px; 
    border-bottom: 1px dashed #d1d1d1}
.box-list-faqs .box-content a:hover, .box-list-faqs .box-content a.active { text-decoration: none; background-color: #f6f6f6}
.box-list-faqs .box-content a:last-child {
    border-bottom: 0;
}
.box-list-faqs .box-content a span { display: block; padding-top: 20px; padding-left: 20px}
.box-list-faqs .box-content { margin-left: 0; margin-right: 0; margin-top: 0}
td.resposta { display: none; border-bottom: 1px dashed #d1d1d1; background-color: #e9e9e9; }
.list-faqs-resposta { padding: 5px; }
tr.pregunta:hover { background-color: #e9e9e9; }

/* INCIDENCIES */
#form-incidencia select { float: none}
span.estat-pendent, span.estat-resolta { display: block; width: 21px; height: 20px; background-image: url(../img/estat.png); 
    background-repeat: no-repeat; background-position: bottom left}
span.estat-resolta { background-position: top left}
table.incidencies-list { font-family: Arial; font-size: 12px}
table.incidencies-list tr td { border-bottom: 1px dashed #d1d1d1; height: 80px}
table.incidencies-list thead tr td { height: 40px}

table.incidencies-list tr:hover { background-color: #f6f6f6; cursor: pointer}

span.resposta-on, span.resposta-off { display: block; width: 26px; height: 26px; background-image: url(../img/resposta.png);
    background-repeat: no-repeat; background-position: bottom left}
span.resposta-on { background-position: top left}
.incidencia-tema { font-family: "Arial"; font-size: 12px}
.incidencia-data, .incidencia-descrip { font-family: "Arial"; font-size: 11px}
.incidencia-linia { border-bottom: 1px solid #e9e9e9}
.box-incidencia-item .box-content { margin-left: 0; margin-right: 0; margin-top: 0}
.box-incidencia-item .box-content table td{ padding-left: 20px; padding-right: 20px; padding-top: 20px}
input[type=button].button-relative { right: auto; bottom: auto; position: relative; }

.box-incidencia-respostes-item { background-color: #f4f4f4; box-shadow: none}
.box-incidencia-respostes-item .box-content { margin-left: 0; margin-right: 0; margin-top: 0}
.box-incidencia-respostes-item .box-content table td{ padding-left: 20px; padding-right: 20px; padding-top: 20px}

/* DOCUMENTS */
a.docs-down { display: block; width: 17px; height: 19px !important; background-position: top left; background-repeat: no-repeat; 
    background-image: url(../img/file_down.png)}
a.docs-down:hover { background-position: bottom left; }

.box-list-docs .box-content, .box-incidencies .box-content { margin-right: 0; margin-left: 0; margin-top: 0}

h3.padding-h3 { margin: 20px;}

.box-list-docs table thead td, .box-incidencies table thead td { background-color: #fafafa; height: 45px; border-bottom: 1px solid #eaeaea; padding: 0 10px;
    font-weight: bold; color: #b6b6b6; text-transform: uppercase; font-family: "gotham"}
.box-list-docs table thead td a, .box-incidencies table thead td a { color: #b6b6b6; font-size: 12px}
.box-list-docs table thead td a:hover, .box-incidencies table thead td a:hover { text-decoration: none; color: #000;}

.box-list-docs table thead td a span, .box-incidencies table thead td a span { display: block; float: left;}

span.ico-ordre { background-image: url(../img/ico-ordre.png); width: 8px; height: 9px; margin-left: 5px; opacity: 0.5}
a:hover span.ico-ordre { background-position: bottom left; opacity: 1}
a.order-active { color: #000 !important;}

span.ordre-desc { background-position: bottom left;}
a:hover span.ordre-desc { background-position: top left}
span.byorder-active { opacity: 1}

.box-content thead span { display: block; float: left; margin-top: 5px;}

/* ORDRES */
.thead-order { float: left; margin-left: 5px}
.thead-order svg { color: #dee2e6; }
a.order-active-asc svg, a.order-active-desc svg, .thead-order svg:hover{ color: #0f4d96; }
a.thead-order-asc  { margin-left: -10px }
/*
a.thead-order-asc, a.thead-order-desc { width: 14px; height: 12px; display: block; background-repeat: no-repeat; }
a.thead-order-asc { background-image: url(../img/ico-ordre-asc.png); background-position: bottom}
a.thead-order-asc:hover, a.order-active-asc { background-position: top}
a.thead-order-desc { background-image: url(../img/ico-ordre-desc.png); background-position: top}
a.thead-order-desc:hover, a.order-active-desc { background-position: bottom }

/* AGENDA */
/*.ui-datepicker { width: 100% !important; height: 830px; border: 0 !important;}
.ui-datepicker-group { width: 205px; margin-right: 8px; height: 215px;
    -webkit-box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    -moz-box-shadow:    -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    box-shadow:         -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9e9e9 !important;
    margin-bottom: 8px}
.ui-widget-header { background: url() !important; border: 0 !important; height: 40px; border-radius: 0 !important }
.ui-datepicker-next,.ui-datepicker-prev{display:none;} 
.ui-datepicker .ui-datepicker-title { text-align: center !important; font-family: "gotham"; text-transform: uppercase; margin: 0 !important;
    font-size: 16px; padding: 8px; border-bottom: 1px solid #e9e9e9 !important;}
.ui-datepicker-calendar thead { display: none}
.ui-datepicker-multi .ui-datepicker-group table { margin: auto !important; margin-top: 10px !important; width: 92% !important; 
    font-family: "Arial"; font-size: 14px }
 .ui-datepicker-multi .ui-datepicker-group table a { font-family: "Arial"; font-size: 14px }*/

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 0 !important;
    background: url() !important; background-color: #f3f3f3 !important}

.ui-widget-content .ui-state-disabled { opacity: 1 !important}
.ui-widget-content .ui-state-disabled span { background-color: #e4e4e4 !important}

.service-day a.ui-state-default { display: block; border: 1px solid #0f4d96 !important;}

a.ui-state-default { cursor: pointer !important;}
/*.ui-tooltip{
    font-family: "gotham" !important;
    width: 256px;
    height: 65px;
    min-height: 65px;
    display: table;
    -webkit-box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.07) !important;
    -moz-box-shadow:    -1px 2px 3px 0px rgba(0, 0, 0, 0.07) !important;
    box-shadow:         -1px 2px 3px 0px rgba(0, 0, 0, 0.07) !important;
    border: 1px solid #0f4d96 !important;
    border-radius: none !important;
    font-size: 13px !important
}*/

#form-incidencia { margin: 20px}
.top, input[type=submit] { background-color: #0f4d96}
/* BOX HOME */
.box-home {
  background-color: #fff;
  border: 1px solid #e9e9e9;
  box-shadow: -1px 2px 3px 0 rgba(0, 0, 0, 0.07);
  height: 289px;
  margin-bottom: 15px;
  width: 315px;
}

.nav { border-bottom: 1px solid #e4e4e4;}

.box-home-top { border-bottom: 1px solid #e9e9e9; position: relative;}
.box-home-top span { 
    display: block; 
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    margin-top: 18px;
    margin-left: 10px;
    float: left;
}

.box-home-top a { display: block; position: absolute; top: 5px; right: 5px;
    text-transform: uppercase; background-color: #e9e9e9; color: #585858;
    padding: 10px; font-weight: bold;}
.box-home-top a:hover { text-decoration: none; }

.home-factures .documento, .home-factures .incidencia, .home-factures .promocion { 
    border-bottom: 1px dashed #ededed; 
}
/*<!--<img src="<?= $this->pdomini.$this->path_templates ?>/img/file_pdf.png">-->*/
.home-factures .documento .pdf-ico {
    background-image: url('../img/file_pdf.png');
    width: 20px;
    height: 23px;
    display: inline-block;
}


.home-factures .documento .download-ico {
    background-image: url('../img/file_down.png');
    width: 17px;
    height: 19px;
    display: inline-block;
    position: absolute;
    margin-right: 15px;
    background-position: bottom;
    top:6px;
    left: 35px;
}
.home-factures .documento .download-ico:hover {
    background-position: top;
}

.home-factures a {
  border-bottom: 1px dashed #ededed;
  clear: both;
  display: block;
  font-family: "Arial";
  font-size: 11px;
  padding: 15px 22px;
}

.home-factures a span { font-size: 12px}
.home-factures a img { float: left; margin: 0 10px}

.home-agenda #datepicker { width: 95%; margin: auto;}
.home-agenda #datepicker table a, .home-agenda .ui-widget-content .ui-state-disabled span { font-family: "Arial"; font-size: 14px}
.home-agenda .ui-datepicker { height: 200px} 
.home-agenda .ui-datepicker-title { font-size: 13px; line-height: normal !important}

.iconografia { clear: both;  width: 775px; height: 25px; margin: auto; padding: 15px 0;}
.iconografia span { display: block; background-repeat: no-repeat; float: left; margin-right: 4px; text-transform: lowercase;
    padding-left: 23px; margin-right: 15px }
span.estatpendent, span.estatresolt { width: auto; height: 20px; background-image: url(../img/estat.png)}

span.estatpendent, span.respostano { background-position: bottom left}
span.estatresolt, span.respostako { background-position: top left;}

span.filedown { width: auto; height: 19px; background-image: url(../img/file_down.png)}
span.filepdf { width: auto; height: 23px; background-image: url(../img/file_pdf.png)}
span.respostano, span.respostaok { width: auto; height: 26px; background-image: url(../img/resposta.png); padding-left: 28px}

/* USER TOP */
.user-top { width: 500px; color: #FFF; margin-top: 6px}
.user-top a { color: #FFF !important; display: block; float: right; margin-left: 10px}
a.logout-top { display: block; width: 38px; height: 38px; background-image: url(../img/ico-logout-top.png)}
a.logout-nav { display: block; float: right; padding: 11.5px 0px; font-size: 12px; color:#424242;}
a.home-top { display: block; width: 38px; height: 38px; background-image: url(../img/ico-home-top.png) }
a.user-top-link { margin-top: 10px}

.user-top svg { font-size: 26px; margin-top: 6px; }

/* DADES EMPRESA  */
.box-dades a { font-size: 12px}
.box-dades-map { margin-top: 20px}

/* ICONES SOCIAL NETWORK TOP */
.network-social-top { float: left; margin-top: 20px}
.network-social-top a { display: block; width: 29px; height: 29px; float: right; margin-right: 2px}
a.facebook-top { background-image: url(../img/facebok.png) }
a.youtube-top { background-image: url(../img/youtube.png) }
a.instagram-top { background-image: url(../img/instagram.png)}
a.pinterest-top { background-image: url(../img/pinterest.png) }
a.linkedin-top { background-image: url(../img/linkedin.png) }
a.googleplus-top { background-image: url(../img/googleplus.png)}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 10px 0;
  border-radius: 4px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  background-color: #eeeeee;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #ffffff !important;
  cursor: default;
  background-color: #0f4d96;
  border-color: #0f4d96;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #999999;
  cursor: not-allowed;
  background-color: #ffffff;
  border-color: #dddddd;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}


table.factures-list tbody tr td { cursor: default;}

.promocion-home img {
    max-width: 100%;
}

.top-content > a > img {
  height: 100%;
}



/** ESTADISTIQUES **/

.select-dates {
    position: absolute;
    right: 20px;
    top:8px;
}

.select-dates input[type="text"] {
    text-align: center;
    width: 115px;
}

.select-dates input[type="submit"] {
    display: inline;
    height: 33px;
}

.select-dates span {
    font-weight: bold;
}

.ui-datepicker { /*width: 100% !important; height: 830px;*/ border: 0 !important;}
.ui-datepicker-group { width: 24%; margin-right: 8px; height: 215px;
    -webkit-box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    -moz-box-shadow:    -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    box-shadow:         -1px 2px 3px 0px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9e9e9 !important;
    margin-bottom: 8px}
.ui-widget-header { background: url() !important; border: 0 !important; border-radius: 0 !important }
.ui-datepicker-next,.ui-datepicker-prev{display:none;} 
.ui-datepicker .ui-datepicker-title { text-align: center !important; font-family: "gotham"; text-transform: uppercase; margin: 0 !important;
    font-size: 16px; padding: 8px; border-bottom: 1px solid #e9e9e9 !important;}
.ui-datepicker-calendar thead { display: none}
.ui-datepicker-multi .ui-datepicker-group table { margin: auto !important; margin-top: 10px !important; width: 92% !important; 
    font-family: "Arial"; font-size: 14px }
 .ui-datepicker-multi .ui-datepicker-group table a { font-family: "gotham"; font-size: 14px }

 table.rallada tbody tr {
    /*background-color: red;*/
 }

  table.rallada tbody tr:nth-child(2n) {
    background-color: #fff5e6;
 }

  table.rallada {
    border-collapse: collapse;
  }

.blanc {
    color: #fff;
}

.box-form-clients .gracias {
  color: green;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.icon_center {
    display: block;
    height: 200px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.73);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.73);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.73);
}

.icon_center img {
  position: relative;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.foto-box .info span {
  display: block;
  height: 19px;
  text-overflow: ellipsis;
  padding: 0px 12px;
  white-space:nowrap;
  width: 191px;
  overflow: hidden;


}

.foto-box:hover .info span {
    height: auto;
    padding-bottom:10px; 
    position: absolute;
    white-space: normal;
}


.foto-box:hover .carpeta .info span {
    overflow: visible;
}
/*.foto-box .info span {
    height: auto;
    padding-bottom:10px; 
    position: absolute;
    white-space: normal;
    background-color: red;

  
}*/

#bannerHome {
    margin-bottom: 25px;
    display: none;
}

#bannerHome img {
    margin:0 auto;
    display: block;
}

.footer-content ul {
    list-style: none;
    color:#424242;
}

.box.link i {
    font-size: 36px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    left:16px;
}

.box.link a {
    display: block;
    color: #0f4d96 !important;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding-left: 60px;
    padding: 17px;
    padding-left: 42px;
}

.box.link a span {
    
    margin: 17px;  
}

#enquesta ul {
    list-style: none;
    padding: 0px;
}

#enquesta ul li {
    float: left;
    width: 33%;
    margin-bottom: 15px;
}

#enquesta ul li.checked, #enquesta.alta ul li:hover {
    background-color: #eef5f5;
    border-radius: 5px;
}
#enquesta span {
    font-size: 14px;
}
#enquesta h2 {
    font-size: 16px !important;
    margin: 0px;
    padding: 15px;
    text-transform: none;
    font-weight: bold;
}

#enquesta textarea {
    width: 100%;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(203, 203, 203);
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
}

#enquesta table tbody tr td, 
#enquesta table tbody tr td {
    
    padding: 15px 20px;
    padding-bottom: 0px;
}

#enquesta table tr:hover { 
    background-color: #FFF; 
    cursor: auto;
}

#enquesta input[type="submit"] {
  color:#fff;
  width: 109px;
  height: 47px;
  text-transform: none;
  border:none;
  border-radius: 5px;
  background-color: #0f4d96;
  margin-bottom: 15px;

}



#list-recanvis h2 {
    color: #761648;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
}

#list-recanvis .nivell {
    text-align: center;
    padding-bottom: 14px;
    padding-top: 20px;
    border-bottom:1px solid #e9e9e9;
    display: none;
}

#list-recanvis .opcio {
    display: none;
    background-color: rgb(233, 233, 233);
    width: 215px;
    height: 75px;
    max-height: 75px;
    text-align: center;
    margin-right: 12px;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);    
}

#list-recanvis .opcio span {
    display: block;
    position: absolute;
    text-transform: uppercase;
    font-size: 16px;
    top:50%;
    width: 100%;
    left:0px;
    transform: translateY(-50%);
    
}

#list-recanvis .opcio.active {
    background-color: #0f4d96;
    color:#ffffff;
}

/*
#list-recanvis .opcio:nth-child(5n) {
    margin-right: 0px;
}*/

#recanvis table {
    border-collapse: collapse;
    text-transform: uppercase;
}
#recanvis table thead {
    background-color: #0f4d96;
    color:#fff;
    font-weight: bold;
}

#recanvis table  {
    font-size: 13px;
}

#recanvis table thead td {
    padding: 10px 22px;
}

#recanvis table tbody tr td {
    padding: 0px 22px;
    margin-bottom: 15px;
}

#recanvis table input {
    width: 50px;
    text-align: center;
}


#recanvis table tbody tr:nth-child(2n) {
    background-color: #e9e9e9;
}


table#recanvis tr td:nth-child(4),table#recanvis tr td:nth-child(6) { text-align : right;}
table#recanvis tr td:nth-child(5) { text-align : center;}
table#recanvis tr td:nth-child(7) { text-align : center;}
table#recanvis tr td:nth-child(8) { text-align : center;}

table#recanvis .input-tabla {
    width: 80px;
}

table#recanvis .comprar, #carrito-recanvis .treure { cursor: pointer; position: relative; }
input:disabled~.comprar { cursor: default!important; opacity: 0.5; }

#recanvis tbody tr td:nth-child(2){font-size: 0;}
.stock.verd{color: #0abb31; text-align: center; display: block; font-size: 14px;}
.stock.taronja{color: #ff9e07; text-align: center; display: block; font-size: 14px;}
.stock.vermell{color: #bb0a0a; text-align: center; display: block; font-size: 14px;}

.semafor{display: none; font-size: 12px;}
td .semafor{display: block;}
.semafor .stock{text-align: left; display: inline-block; margin-right: 10px;}
td .semafor .stock{ margin-left: 25px; }



#div_cercador_referencia {
    text-align: center;
    padding-bottom: 35px;
    margin-bottom: 50px;
    border-bottom: 1px solid #e9e9e9;
}

#cercar_referencia {
    width: 300px;
    text-align: center;
    height: 50px;
    font-size: 20px;
}

#cercar_referencia:focus {
    border-color:#0f4d96;
}

.fancybox-wrap.fancybox-opened {
    top:50% !important;
    transform: translateY(-50%) !important;
}

/*CARRITO*/
#carrito_total, #carrito_descompte, #carrito_pnet{font-weight: bold;}
table#cart_recambios th { background-color: #6c6c6c; color: #fff; }
table#cart_recambios tbody, table#cart_recambios tbody .quantitat { font-size: 14px; }
table.dataTable tbody tr.selected { background-color: #ffffff!important; }

h1.enviadaOK { background-color: #a0bf41; font-size: 16px; padding: 15px; color: #fff; }
a.continuarComprant { font-size: 14px; font-weight: bold; text-transform: uppercase;
    padding: 10px 15px 10px 15px; cursor: pointer; border: none!important; background-color: #0f4d96;
    display: inline-block; color: #fff; margin-left: 15px; margin-bottom: 15px; }
#label-recollida{display: block; height: 20px;}
#label-recollida span{display: none; margin-right: 15px; }

table#recanvis .comprar~span { position: absolute; background-color: #e9e9e9; padding: 10px;
    font-size: 14px; margin-left: 13px; color: #000; font-family: "gotham"; white-space: nowrap; cursor: default;
    -moz-animation: cssAnimation 0s ease-in 2s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 2s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 2s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 2s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards; }

@keyframes cssAnimation {
    to {
        opacity: 0;
        overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        opacity: 0;
        visibility:hidden;
    }
}

.entenc_block.error{border-bottom: 1px solid red;}
#envio.error, #portes.error { border-color: red!important; }

#recanvis-compres .list-compres .compra {
    border: 1px solid #cecece;
    width: 100%;
    
    margin-bottom: 10px;
}

#recanvis-compres .list-compres .compra .petit {
    padding: 10px 15px;
    cursor: pointer;
    -webkit-transition: background-color 500ms linear;
    -ms-transition: background-color 500ms linear;
    transition: background-color 500ms linear;
}

#recanvis-compres .list-compres .compra .petit:hover, #recanvis-compres .list-compres .compra.active .petit {
    background-color: #cfcfcf;
}

#recanvis-compres .list-compres .compra .gran {
    padding: 10px 15px;
    display: none;
}

#recanvis-compres .colorgris {
    color: #a2a2a2;
}
#recanvis-compres .list-compres .compra .petit i {
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

#recanvis-compres .list-compres .compra.active .petit i {

    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    
}
#recanvis-compres .selector a {
    display: inline-block;
    background-color: rgb(233, 233, 233);
    width: 234px;
    height: 75px;
    max-height: 75px;
    text-align: center;
    margin-right: 12px;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
}

#recanvis-compres .selector a.active {
    background-color: #c7c7c7;
    font-weight: bold;
}

#recanvis-compres .selector a span {
    display: block;
    position: absolute;
    text-transform: uppercase;
    font-size: 16px;
    top: 50%;
    width: 100%;
    left: 0px;
    transform: translateY(-50%);
}

#list-recanvis #pdf {
    text-align: center;
    font-size: 26px !important;
    margin-top: 10px;
}

a.fancybox.pdf {
    display: block;
    background-color: #761648;
    width: 220px;
    padding-top: 18px;
    padding-bottom: 18px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

span.no-comandes {
    font-size: 16px;
    margin-top: 25px;
    display: inline-block;
}

.controlhores-datasel { margin: 10px !important; }
.controlhores-datasel .container { padding: 0; }

#custom-search-input button{
    margin: 2px 0 0 0;
    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;
    padding: 0 4px 0 4px;
}

#custom-search-input button:hover{
    border: 0;
    box-shadow: none;
}

#custom-search-input svg, .controlhores-datasel .date svg, .controlhores-add svg{
    font-size: 23px;
    color: #000;
}

#ui-datepicker-div { z-index: 1000 !important; }
.top-controlhores button, .box-home-top button { margin: 10px }
.input-group-append { margin-left: 0 !important }

.documento.container .row { padding: 10px 0; }

/* calendari*/
.calendariWeb { background-color: #ffffff; width: 100%; font-size: 14px}
.calendariGestioTop { text-transform: uppercase; text-align: left!important; display: block; font-family: 'gotham'; border: 0 !important;}
.calendar table td { padding: 0!important; color: #000000; border: 1px solid #f2f2f2; position: relative; width: 14.28%; height: 35px;}
.calendar table td span, .calendar table td a{ padding: 9px 5px; display: block; font-size: 14px; font-family: 'gotham';}
.calendar table td a { color: #000000!important; cursor: pointer; height: 39px; width: 100%; z-index: 999;
    position: absolute; top: 0; font-size: 14px; font-family: 'gotham';}

.calendariGestioDiaTDFinde { background-color: #eceae9 }

.calendar-home table td span, .calendar-home table td a{ font-size: 12px; padding: 7px 5px;}

.border0, .border1 { position: absolute; width: 100%; }
.border0{bottom: 0;}
.border1{bottom: 3px;}

.calendariGestioTop { padding-bottom: 10px !important; font-weight: 700 }
.tduncalendar { padding-bottom: 10px }
.llegenda-calendar { height: 10px; width: 10px; float: left; border-radius: 4px; margin: 15px 5px 15px 10px; }
.llegenda-calendar-title { font-size: 12px; padding: 10px 5px 10px 10px;}
.llegenda-content { width: 115px }

/* select multiple */
.ms-parent { max-width: 100% !important; width: 100% !important;}
.ms-choice { width: auto !important; border: 0 !important; max-width: 100% !important; line-height: 29px !important}
.ms-drop { width: auto !important}
.ms-choice > span { top: 3px !important;}
.ms-choice > span.placeholder { color: #999 !important;}

.dropdown-menu { padding: 0; }
.dropdown-menu ul li { float: none }
.dropdown-menu ul li a span { padding: 3px 16px; }
.dropdown-menu ul li a { color: #0f4d96 !important; }