@charset "utf-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	/* font: inherit; */ /* Sino l'editor de text no es veu les negretes ni italic */
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* end Reset */


@font-face {
  font-family: Muli;
  src: url(../fonts/Muli-Regular.ttf);
}

body
{
	font-size: 15px;
	font-family: 'Muli',Helvetica,Arial,Lucida,sans-serif;
	background-color: #fff;
	color: #000;
}

header
{
/*	margin: auto;
    max-width: 1024px;
	*/
}


#headerHome
{
	padding: 40px;
	border-bottom: 1px solid #e21d1a;
	max-width: 1024px;
	margin: auto;
}

#logoHome
{
	max-width: 400px;
}

#header
{
	margin: auto;
    max-width: 1024px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}	

#header #logo
{
	
	width: 40%;
	padding: 5px;
	float:left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#header #logo img
{
	max-height: 100px;
	max-width: 75%;
	height: auto;
}


#header #banners
{
	width: 60%;
	float: right;	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#header #banners img
{
	display: block;
	max-width: 100%;
	height: auto;
}

#logoSmall
{
	width: 40px;
	height: auto;
	float: left;
	margin: 5px 0;
}

#content 
{
	margin: auto;
    max-width: 1024px;
	padding: 5px;
	clear: both;
	/*overflow: auto;*/ /* Si comento no m'agafa tot el contingut del section */
}
	

#footer{
	clear: both;
	font-size: 13px;
	border-top: 1px solid #e21d1a;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 20px;
}

#contFooter
{
	margin: auto;
	max-width: 1024px;
}

#contFooter img
{
	vertical-align: middle;
	width: 20px;
	margin-left: 20px;
}

#contFooter span
{
	
}

/* Menú superior */
#menuTop 
{
	clear: both;
	background-color: #e21d1a;
}

#menuTop nav
{
	margin: auto;
    max-width: 1024px;
	overflow: auto;
	height: 51px;
	background-color: #e21d1a;
}

#menuTop nav ul
{
	list-style:none;
	display: inline-block;
	overflow:hidden;
	float: left;
}

#menuTop nav > ul > li {
	float:left;
	text-align: center;
	padding: 10px;
	/*border: 1px solid #FFF;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;*/
}

#menuTop nav ul li a
{
	color: #FFF;
	padding: 5px 20px;
	display:block;
	text-decoration:none;
}

#menuTop nav ul li a:hover, #menuTop nav ul li a.active
{
	text-decoration:none;
	border-bottom: 1px solid #fff;
}

#menuTop #menuBar {
	display:none;
}

#menuTop .btMenu {
	display:none;
	padding:10px;
	background-color: #e21d1a;
	color: #FFF;
	text-decoration:none;
	font-weight: bold;
	height: 50px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}	

#menuTop nav ul li:hover > ul {
	display:block;
}

#menuTop nav ul li a.parentSubMenu:hover
{
	border-bottom: none;
}

#menuTop .subMenu
{
	display:none;
	position:absolute;
	background-color: #e21d1a;
}

#menuTop .subMenu li {
	position:relative;
	display: block;
	padding: 10px;
	height: 25px;
}

#menuTop .menuMbl
{
	display: none;
}

#menuTop #iconsRight
{
	float: right;
	color: #FFF;
	text-align: right;
	font-size: 13px;
	margin-right: 5px;
}

#menuTop #iconsRight img
{
	width: 30px;
}


h1{
	font-size: 18px;
	font-weight: bold;
	color: #000;
    text-align: left;
	margin: 20px 0;
}

h1.marcat
{
	position: relative;
	display: inline-block;
}

h1.marcat::after,h1.marcat::before
{
	content: '';
	position: absolute;
	width: 50px;
	height: 2px;
	background-color: #e21d1a;
}

h1.marcat::before
{
	top: -6px;
}

h1.marcat::after
{
	bottom: -8px;
	left: 0px;
}

h2{
	font-weight: bold;
    text-align: left;
	margin: 20px 0;
	color: #e21d1a;
	font-size: 14px;
}

h3
{
	font-weight: bold;
	font-size: 12px;
}

a
{
	color: #000;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

a.marc
{
	border: 1px solid;
	padding: 5px;
}

hr
{
	margin: 20px 0;
	clear: both;
}

p
{
	margin: 10px;
}

input{
	padding: 2px;
}

/*.content
{
	background-color: #E8E8E8;
	padding: 20px;
	border-radius: 10px;
	margin: auto;
}*/

/*#home
{
	background-color: #839299;
	color: #FFF;
}
*/
#home #llibres
{
	width: 75%;
	max-width: 286px;
	height: auto;
}

.contForm
{
	width: 50%;
	float: right;
}


label 
{
	display: block;
	margin: 5px 0;
	color: #000;
	font-weight: normal;
}

label.error
{
	color: #be0b09;
	border: 0;
	position: absolute;
	margin-top: 0px;
	font-size: 12px;
}

.form
{
	/*overflow: auto;*/
	display: inline-block;
	width: 100%;
}

.form input[type="text"],.form input[type="password"], .form select, .form input[type="date"],.form input[type="number"], .form textarea, .form input[type="tel"], .form input[type="email"]
{
	border: 1px solid #000;
	height: 30px;
	padding-left: 5px;
	padding-right: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	color: #000;
	background-color: #FFF;
	font-family: 'Muli',Helvetica,Arial,Lucida,sans-serif;
}

.form input[type="file"]
{
	display: none;
}

.form input[type="number"]
{
	text-align: right;
}

.large
{
	display: block;
	margin: 5px 0 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;	
}

.medium
{
	display: inline-block;
	margin: 5px 0 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 50%;
}

.small
{
	display: inline-block;
	margin: 5px 0 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;	
}

.marcar
{
	background-color: #fbfbfa !important;
	border: 1px solid #e21d1a;
}


.disabled
{
	color: #7d7d7d !important;
	border: 1px solid #7d7d7d !important;
}

.button
{
	background-color: #e21d1a;
	color: #fff;
	padding: 10px;
	font-size: 15px;
	font-family: 'Muli',Helvetica,Arial,Lucida,sans-serif;
	font-weight: bold;
	border: 1px solid #e21d1a;
	width: calc(100% - 20px);
	margin: 10px;
	cursor: pointer;
}

.button:hover
{
	color: #000;
	text-decoration: none;
}

.buttonMedium
{
	background-color: #e21d1a;
	color: #fff;
	padding: 5px 10px;
	font-size: 15px;
	font-family: 'Muli',Helvetica,Arial,Lucida,sans-serif;
	font-weight: bold;
	border: 1px solid #e21d1a;
	cursor: pointer;
	min-width: 200px;
	margin: 2px;
}

.buttonMedium:hover
{
	color: #000;
}

.buttonSmall
{
	background-color: #e21d1a;
	color: #fff;
	padding: 5px 10px;
	font-size: 15px;
	font-family: 'Muli',Helvetica,Arial,Lucida,sans-serif;
	font-weight: bold;
	border: 1px solid #e21d1a;
	cursor: pointer;
}

.buttonSmall:hover
{
	color: #000;
}


.buttonFile
{
	color: #fff;
	padding: 5px 15px 5px 40px;
	font-size: 15px;
	font-family: 'Muli',Helvetica,Arial,Lucida,sans-serif;
	max-width: 200px;
	margin: 10px;
	cursor: pointer;	
	background: #e21d1a url("/images/icon_subir.png") 15px center no-repeat;
	display: inline-block;
}

.buttonFile:hover
{
	color: #000;
}

.note-editor.note-airframe, .note-editor.note-frame
{
	border: 1px solid #000}

.panel
{
	border-radius: 0px;
}

.note-editable
{
	color: #000;
}

.popup {
    /*left: 0;*/
    position: absolute;
    /*top: 0;*/
    width: 100%;
    z-index: 1001;
}
 
.content-popup {
    margin:0px auto;
    
    position:relative;
    padding:10px;
    max-width:350px;
    border-radius:4px;
    background-color:#FFFFFF;
    box-shadow: 0 2px 5px #666666;
}
 
.content-popup h2 {
    color:#000;
    border-bottom: 1px solid #000;
    margin-top: 0;
    padding-bottom: 4px;
	margin-right: 40px;
}
 
.popup-overlay {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
    display:none;
    background-color: #777777;
    cursor: pointer;
    opacity: 0.7;
}
 
.close {
    position: absolute;
    right: 10px;
	cursor: pointer;
}


.center
{
	text-align: center;
}

.colLeft
{
	padding: 5px;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*border: 1px solid red;*/
}

.colRight
{
	padding: 5px;
	float: right;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/*border: 1px solid blue;*/
}

.left
{
	padding-right: 5px;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.right
{
	float: right;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.w25
{
	width: 25%;
}

.w33
{
	width: 33.33%;
}

.w40
{
	width: 40%;
}

.w50
{
	width: 50%;
}

.w60
{
	width: 60%;
}

.w75
{
	width: 75%;
}

.w100
{
	width: 100%;
}

.boxShadow
{
	box-shadow: 2px 2px 10px #000; 
	padding: 10px; margin: 10px;
}

.clear
{
	clear: both;
}

.textSmall
{
	font-size: 10px;
}

.textMarcat
{
	color: #FF0000;
}

.textOk
{
	color: #3CB371;
}

.textKo
{
	color: #be0b09;
}

.required
{
	color: #e21d1a;
}

.textBlack
{
	color: #000;
}

.bold
{
	font-weight: bold;
}

.frame
{
	border: 1px solid black;
	padding: 20px;
	border-radius: 10px;
	margin: auto;
	max-width: 800px;
}

.responsive {
  max-width: 100%;
  height: auto;
}

.banner {
  max-width: 512px;
  max-height: 125px;
}

#options label
{
	margin-right: 20px;
}

/*#date
{
	border: 1px solid #9F9FA0;
	padding: 10px;
    margin: 20px auto;
    max-width: 250px;
	box-shadow: 2px 2px 5px #9f9fa0;
}
*/

.hand
{
	cursor: pointer;
}

.icon
{
	background-color: #e47202;
	padding: 5px;
}

.result
{
	padding: 20px;
	margin: 20px auto;
	max-width: 450px;
	line-height: 18px;
}

.error
{
	border: 2px solid #be0b09;
}

.ok
{
	border: 2px solid #6caa63;
}


.middle
{
	display: table-cell;
	vertical-align:middle;
}

.sep
{
	border-bottom: 1px dashed #000;
	margin: 150px 0 30px;
}	

.print
{
	display: none;
}


.contTable
{
	display: inline-block;
	margin: 40px 0;
	width: 100%;
	color: #000;
}

.tableList
{
	width: 100%;
	border: 1px solid #000;
}

.tableList th
{
	background-color: #e47202;
	color: #FFF;
	
}

.tableList th, .tableList td
{
	border: 1px solid #000;
	padding: 5px;
	vertical-align:bottom;
}


.tableTiquet
{
	width: 100%;
}

.tableTiquet th
{
	border-bottom: 2px solid #000;
	font-weight: bold;
	text-align: left;
	vertical-align: bottom;
}

.tableTiquet th, .tableTiquet td
{
	padding: 5px;
}

.tableTiquet tr td
{
	vertical-align: middle;
}

.tableTiquet tfoot tr
{
	border-top: 2px solid #000;
	border-bottom: none;
	font-weight: bold;
}	
	
.tableTiquet .resum
{
	margin-top: 10px;
	border-top: 2px solid #000;
	text-align: right;
}

.tableTiquet form
{
	display: inline;
}
	
.grid tr
{
	border-bottom: 1px solid #5A5A5A;
}	

.miniTable 
{
	display: inline-block;
	padding: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: left;
}

.miniTable tr
{
	border: none;
}

.tableDetailProducts
{
	width: calc(100% - 20px);
	margin: 10px;
	border: 1px solid #000;
}

.tableDetailProducts tr
{
	border: none;
}

.tableDetailProducts th
{
	border-bottom: 1px solid #000;
}

.tableDetailProducts td
{
	padding: 2px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}



#buttonsClient
{
	padding-top: 27px;
}

#intro
{
	display: inline-block;
	margin-bottom: 10px;
}

.iconsMenu
{
	width: 103px;
	height: 104px;
}

#menuHomeIcons img
{
	margin-right: 20px;
}

.catalog
{
	/*width: calc(20% - 10px);*/
	float: left;
	margin: 5px;
	text-align: center;
	width: 190px;
	display: inline-block;
}

.catalog .portada
{
	border: 1px solid #e21d1a;
	width: 190px;
	height: 190px;
	display: table-cell;
	vertical-align: middle;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.catalog .portada img
{
	max-height: 90%;
	max-width: 90%;
}

.catalog .title
{
	margin-top: 5px;
	height: 40px;
	overflow: hidden;
	color: #000}

/******************************************/
.boxEstatProduct
{
	width: 20px;
	height: 20px;
	display: inline-block;
		overflow: hidden;
	font-size: 19px;
	font-weight: bold;
}

.red
{
	background-color: #DC143C;
}

.orange
{
	background-color: #FFA500;
}

.purple
{
	background-color: #955095;
}

.green
{
	background-color: #3CB371;
}

.notificacio
{
	width: 100%;
	border: 1px solid #000;
	background-color: #FFF;
	margin: 10px 0;
	display: table;
	height: 70px;
}

.notificacio .ico
{
	display: table-cell;
	vertical-align: middle;
	background-color: red;
	width: 45px;
	text-align: center;
	height: 100%;
}

.notificacio .avis
{
	display: table-cell;
	vertical-align: middle;
}	

.notificacio .read
{
	display: table-cell;
	vertical-align: bottom;
	text-align: center;
	/*background: #FFF  url("/images/aviso_ge_fons_leido.png") left no-repeat;*/
	width: 60px;
	padding: 0px 0px 5px 0;
}	

.notificacio .read a
{
	/* box-shadow: 0 2px 5px #666666; 
	border-top: 1px solid #000;
	border-left: 1px solid #000; */
}

.notificacio .read a:hover
{
	color: #5cab2c;
	text-decoration: none;
}	

.notificacio .read .readOk
{
	color: #5cab2c;
}

.notificacio .read .icoOk
{
	margin-bottom: 5px;
}

