/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

body {
  font-family: 'Century Gothic',verdana,helvetica,sans-serif;
  font-size: 13px;
  margin: 0 auto;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
    outline: none;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* EW */
h1{
  font-size: 22px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #f00;
    color: #000;
    padding: 0.2em 10px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.clearfloat{clear:both;}
a{text-decoration: none; color:#000;}
a:hover{ color:#a29b9b;}
a.link_over_blau:hover{color:#29bbd5;}
.selected{color:#29bbd5;}
.ombra{-webkit-box-shadow:  1px 1px 1px 1px rgba(0, 0, 0, 0.3); box-shadow:  1px 1px 1px 1px rgba(0, 0, 0, 0.3);}
.ombra:hover{-webkit-box-shadow:  2px 2px 2px 2px rgba(0, 0, 0, 0.3); box-shadow:  2px 2px 2px 2px rgba(0, 0, 0, 0.3);}
#container{
	width:960px;
	margin: 0px auto;
	/*position: absolute;
    left: 50%;
    margin-top: 0px;   
    margin-left: -480px;*/
    /*background-color:rgba(255,0,0,0.2);*/
}
#capsalera{
	width:100%;
	/*background-color:rgba(255,0,250,0.2);*/
}
#capsalera_up{width:100%; height:63px;}
#logo{float:left; margin: 16px 0 0 35px;}
#search{float:right; margin: -2px 35px 0 250px;}
.search_input{
	width:126px;
	font-size: 10px;
	float:left;		
	
	 padding: 2px 5px;  
    text-shadow: 0px 1px 0px #fff;  
    outline: none;  
    background: -webkit-gradient(linear, left top, left bottombottom, from(#bcbcbe), to(#ffffff));  
    background: -moz-linear-gradient(top,  #bcbcbe,  #ffffff);  
    -webkit-border-radius: 0px;  
    -moz-border-radius: 0px;  
    border-radius: 0px;  
    border: 0px solid #717171;  
    -webkit-box-shadow: 0px 0px 5px #ffffff;  
    -moz-box-shadow: 0px 0px 5px #ffffff;  
    box-shadow: 0px 0px 5px #ffffff;   
}
.search_input:focus {  
    -webkit-box-shadow: 0px 0px 5px #007eff;  
    -moz-box-shadow: 0px 0px 5px #007eff;  
    box-shadow: 0px 0px 5px #007eff;  
}  

#search_button{margin:0 0 0 5px; cursor: pointer;}
#menu_top{float:right; font-size: 9px; font-weight: bold; margin: 16px 35px 0 0; min-width:250px; text-align:right;}

#menu_ppal{clear:both; width:100%; padding:5px 0; background-image: url('../../../contingut/m_pujadocuments/documents/images/fundamentals_no_tocar/fondo_menu_principal.png');}

#menu_desplegable{z-index:99; display: none; position: absolute; top:112px; width:960px;  margin-top:0 auto; background-image: url('../../../contingut/m_pujadocuments/documents/images/fundamentals_no_tocar/fondo_menu_desplegable.png'); }
#menu_desplegable ul{
	font-family: 'century gothic',verdana,helvetica,sans-serif;
	font-style:italic;
	font-size: 11px; 
	list-style-type: none;
	font-style: italic;
	}
#menu_desplegable li.menu_desplegable_nivell1{
	float:left;
	font-weight: bold;
  margin-right: 40px;
}
#menu_desplegable li.menu_desplegable_nivell1 ul{
	margin-left: -40px;
	font-weight: normal;
}
#menu_sidebar{
	float:left; 
	width:210px;
	font-family: 'century gothic',verdana,helvetica,sans-serif;
	font-style:italic;
	font-size: 12px; 
	
	}

#continguteapro{
	padding: 10px 0px;
}	
	
#contingut{
    width:100%;
    /*background-color:rgba(0,250,0,0.2);*/
    clear:both;
}
#footer{
	padding-top:50px;
	padding-bottom:60px; /* com el height de la footer_bar perque no s'amagui contingut sota*/
	width: 100%;
	clear:both;
	font-size: 10px;
	color:#1a171b;
}
/*per centrar taules al peu*/
#footer table{margin: 0 auto;
text-align: left; }

#footer_bar{
	position:fixed;
	left:0px;
	bottom:0px;
	width:100%;
	line-height:40px;
	background-color:rgba(195,195,195,0.7);
	color:#4e4d4e;
	text-align: center; 
	z-index:100;
}
#trama_superior{
	position:fixed;
	left:0px;
	top:0px;
	width:100%;
	line-height:250px;
	background-image:url('../../../contingut/m_pujadocuments/documents/images/fundamentals_no_tocar/trama_superior.png');
	background-repeat: repeat-x;
	z-index: -10;
}
#trama_inferior{
	position:fixed;
	left:0px;
	bottom:0px;
	width:100%;
	line-height:250px;
	background-image:url('../../../contingut/m_pujadocuments/documents/images/fundamentals_no_tocar/trama_inferior.png');
	background-repeat: repeat-x;
	background-position:bottom left;
	z-index: -10;
}
#entrada_idiomes{position:relative; top:-55px; left:535px;}
/********************* catàleg ***********************/
.visible{display:inherit;}
.novisible{display:none;}

#contenidor_cataleg{max-width:960px; margin: 30px 0 0 0;}
#contenidor_dret{float:right; width:750px;}
#cap_productes{float:right; width:100%;}
.per_marge_dret{padding-right: 40px;}
#llista_productes{ float:right; width:100%;}
#llista_productes_titol{font-size: 13px; font-weight: bold;  /*border-bottom: 1px solid #000000; padding: 0 0 5px 0;*/}
#numero_articles{font-style: italic;}
#llista_productes_titol_resultat{font-size: 16px; font-weight: normal;}

/*selectors catalegindex*/
#llista_productes_selectors{padding:10px 0; font-size: 12px; font-style: italic; font-weight:bold; background-image: url('../../../contingut/m_pujadocuments/documents/images/fundamentals_no_tocar/fons_cataleg_selectors.png'); background-repeat:no-repeat;}
.selector_prods{cursor: pointer; }
.selector_prods:hover{color:#a29b9b;}
.selector_activat{color:#a29b9b;} /*per marcar-lo quan s'ha activat el selector*/
.selector_prods_capa{font-size:8px; line-height:8px; background-color: #ffffff; position:absolute; top:0px; left:0px;
box-shadow: 2px 2px 2px 2px #ccc;
-webkit-box-shadow: 2px 2px 2px 2px #ccc;
-moz-box-shadow: 2px 2px 2px 2px #ccc;

}
.selector_input{
	font-size: 6px;
}

#selector_prods_capa_colleccio{
	position: relative;
	left:0px;
	top:0px;
	z-index:998;
	display:none;
	/*border:1px solid #CCCCCC;*/
	padding: 5px 5px;
	width:150px;
}
#selector_prods_capa_dissenyador{
	position: relative;
	left:50px;
	top:0px;
	z-index:998;
	margin-left:0px;
	display:none;
	/*border:1px solid #CCCCCC;*/
	padding: 5px 5px;
	width:150px;
}

#selector_prods_capa_preu{
	position: relative;
	left:120px;
	top:0px;
	z-index:998;
	/*margin-left:210px;*/
	display:none;
	/*border:1px solid #CCCCCC;*/
	padding: 5px 5px;
	width:70px;
}
/*FI selectors catalegindex*/

.producte{
	float:left;
	width:230px;
	height: 311px;
	overflow:hidden;
	margin:20px 20px 0 0;
	/*border:1px dotted #0000CC;*/
	
}
.producte_imatge{ width: 230px; height: 260px; overflow:hidden; }
.producte_descripcio{}
.producte_nomcoleccio{font-weight: bold; font-size: 12px; font-style: italic; /*border-top: 1px dotted #000000;*/ padding-top: 5px; text-align: center;}
.producte_preu{font-weight: bold; font-size: 10px; font-style: italic; text-align: center;}
.producte_preu_barrat{text-decoration: line-through; }
.producte_preu_descompte{font-weight: bold; font-size: 10px; font-style: italic; text-align: center; text-decoration: none;}

/*extranet*/
.titol_seccio_extranet{font-size: 14px; font-weight:bold; color:#FFFFFF; background-color: #000000; padding: 5px; margin: 20px 0 20px 0; cursor:pointer;}
.content_seccio_extranet{display:none;}

/* 
  LOADING AJAX
 Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('../../../contingut/m_pujadocuments/documents/images/fundamentals_no_tocar/progress.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    /*overflow: hidden;   */
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

/* FI LOADING AJAX*/


#producte_detall_esquerra{
	width:350px;
	margin: 20px 20px 0 0;
	padding-bottom: 70px;
	float:left;
	
}
#producte_detall_dreta{
	width: 350px;
	margin: 15px 0 30px 0;
	padding-bottom: 90px;
	float:right;
	font-weight: bold; font-size: 12px; font-style: italic;
}

#producte_detall_nom{ font-size: 20px; }
#producte_detall_preu{font-size: 25px; }
.producte_detall_preu_barrat{font-size: 25px;  text-decoration: line-through; }
#producte_detall_preu_descompte{ font-size: 25px; }
#producte_detall_referencia{margin: 5px 0 15px 0; display:none;}
.producte_detall_titol{margin:5px 0 5px 0; height:26px; background:url('../../../contingut/m_pujadocuments/documents/images/fundamentals_no_tocar/fons_cataleg_detall_desplegable.png'); background-repeat:no-repeat; cursor: pointer;}
.producte_detall_content{font-weight: normal;}
#producte_detall_comparteix{margin: 15px 0 0 0;}
#tallesicolors{margin: 15px 0;}
.tallesicolors_atribut{margin: 10px 0;}
.tallesicolors_atribut select {
   background: transparent;
   padding: 5px;
   font-size: 12px;
   line-height: 1;
   border: 1px solid #000000;
   border-radius: 0;
   height: 34px;
   
   }
.tallesicolors_atribut_color {
    float:left;
    margin-right: 10px;
    border:1px solid #FFF;
    width:25px;
    height:25px;
  }
.tallesicolors_atribut_color:hover {border:1px solid #333; cursor:pointer;}
#productes_relacionats{clear:both;}
.productes_relacionats_titol{font-weight: bold; font-size: 14px; font-style: italic; border-bottom: 1px solid #000;}
.productes_relacionats_box{width:115px; height: 145px; float:left; margin:25px 25px 0 0; overflow: hidden; padding: 3px;}
.productes_relacionats_imatge_prod{width: 112px; max-height: 142px;}

.linia_dotted_sota{
	padding:5px 0 5px 0;
	border-bottom: 1px dotted #000000;
	font-size: 10px;
}
.linia_dotted_sota_10{
	padding:8px 0 8px 0;
	border-bottom: 1px dotted #000000;
	font-size: 10px;
}

/*cistella de la compra*/
.cistella_taula_resum{font-size: 11px; width:100%; text-align: left;}
.cistella_resultat{text-align:right; font-size:11px; background-color: #F8F8F8; margin-top:15px; padding: 20px 20px; border-bottom: 1px dotted #000000; border-top: 1px dotted #000000;}
.cistella_estil_preu_total{font-size: 16px; font-weight: bold;}
.boto_eliminar_producte_cistella{cursor: pointer;}

/********************* FI catàleg ***********************/

/******************** Formularis ************************/
/*newsletter*/
#fsubscripcio, #fsubscripcio_ok, #fsubscripcio_ko{background-color: rgba(255,255,255,0.7); width: 600px; margin: 25px auto;}
/*fi newsletter*/



.caixa_formulari {
  position: relative;
  width: 225px;
  height: 100%;
  border: 0px solid #ddd;
  background-color: #fff;
  padding-left: 30px;
  color: #9D9F9E;
  overflow: hidden;
  float: left;
}

.fade {
  width: 215px;
  height: 380px;
}

.caixa_formulari input {
  border: 0px;
  background-color: #F0F1F1;
  width: 215px;
  height: 15px;
  padding: 5px 5px 5px 5px;
  /*font-family: arial;*/
  font-size: 10px;
  color:#9D9F9E;
}

.caixa_formulari textarea {
  border: 0px;
  background-color: #F0F1F1;
  width: 215px;
  height: 130px;
  padding: 5px;
  /*font-family: arial;*/
  font-size: 10px;
  color:#9D9F9E;
}

.caixa_formulari label {
  background-color: #F0F1F1;
}

.fons_groc_label {
  background-color: #F0F1F1;
  width: 225px;
  height:100%;
  padding: 2px 0 2px 15px;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 10px;
}

.fons_groc_label_2 {
  background-color: #F0F1F1;
  width: 225px;
  padding: 2px 0 2px 15px;
  margin-bottom: 0px;
  font-weight: bold;
  font-size: 10px;
}

#boto {
  position:relative;
  top: 10px;
  left: 0px;
  margin-bottom: 20px;

}


form fieldset {
  border: 0
}

#message {
  width: 215px;
  margin: 60px 0 0 10px;
  font-size: 10px
}

#message h2 {
  font-size: 10px;
}

#message p {
  font-weight: bold;
  margin: 6px 0px;
}

#checkmark {
  position: relative;
  top: 0px;
  left: 60px;
}  
/*abans a les pàgines*/
 .forms{font-size: 12px;  padding: 0px 20px 20px 20px; display: block;}
  /*.forms a{color:#7d7d7d;}*/
  .forms a:hover{text-decoration: underline;}
  .forms input[type="text"],input[type="file"],input[type="password"],input[type="file"],textarea,select{border:1px solid #000; font-size: 10px; width: 255px; height: 18px; font-size: 11px;}
  .forms textarea{height: 55px; width: 555px; font-size: 11px; }
  .forms .check{margin: 0 10px 0 0; }
  .forms h1{text-align:center; padding:5px; margin:0; font-size:12px; font-weight: bold; background-color: #9c9ea0; color:#FFFFFF;}
  
  .forms_res {display:none; font-size: 12px; padding: 0 20px 20px 20px;}

  form{
    margin: 10px 0 0 0;
    font-size: 10px;
    }
  input[type="button"]{
  width:255px;
  height:25px;
  display:block;
  font-size: 11px; 
  font-weight: bold; 
  color:#fff;
  background-color: #000;
  cursor: pointer;
  margin: 30px 0 0 0;
  border:1px solid #000;
  }
  .forms input[type="checkbox"]{
    margin: 10px 5px 10px 10px;
  }
  .tancat{display:none;}
  .error {
  color: #c00;
  text-align: left;
  margin: 0 0 0 10px;
  }
  #contacte_selector{
    background:none;
-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2FFFFFF,endColorstr=#B2FFFFFF);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2FFFFFF,endColorstr=#B2FFFFFF);
zoom: 1;
    background-color: rgba(255,255,255,0.7);
    width: 295px;
    padding:0px 50px 30px 50px;
  }
  #boto_tornar{margin: 0 0 10px 0;}
  .professional_desplegable{
    width: 488px;
    height: 14px;
    padding:5px 36px;
    background-color: #d8d8d8;
    color:#000;
    margin: 15px 0;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
  }
  .form_col_esquerra{float:left; margin: 10px 0 0 0;}
  .form_col_dreta{float:right; margin: 10px 0 0 0;}
  /*fi abans a les pàgines*/
/* FI Formulari contacte */


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

