/********************************      Basic Structure      ********************************/

html {
                font-size: 100%;
                height: 100%;
                margin-bottom: 1px; /* Always show a scrollbar to avoid jumping when the scrollbar appears  */
                }

body {
                font-family: Tahoma, Geneva, sans-serif;
                color: #555;
                background: #f0f0f0 url('../imatges/bg-body.gif') top left repeat-y;
                font-size: 12px;
                }

#body-wrapper {

                }                

/********************************      Elements styling      ********************************/

h1, h2, h3, h4, h5, h6 {
                font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
                color: #222;
                font-weight: bold;
                }

h1            { font-family: Calibri, Helvetica, Arial, sans-serif; font-size: 31px; font-weight: bold; color: #fff; 
				  position: absolute; top: -1000px;  /* Remove this line and delete the logo (in the HTML) if you don't want an image as a logo */
				}
				
h2            { font-size: 26px; padding: 0 0 10px 0; }
h3            { font-size: 17px; padding: 0 0 10px 0; }
h4            { font-size: 16px; padding: 0 0 5px 0; }
h5            { font-size: 14px; padding: 0 0 5px 0; }
h6            { font-size: 12px; padding: 0 0 5px 0; }


a              {
	color: #06C;
	text-decoration: none;
}
a:hover     {
	color: #006;
}

a:focus     { outline: 1px; }

strong       { font-weight: bold; }

small   		{ font-size: 0.85em; }

pre           { font-family: monospace; }

p {
                padding: 0px 0 0px 0;
                line-height: 1.5em;
                }

/********************************      General Classes      ********************************/

.clear {
                clear: both;
                }
				
.align-left {
                float: left;
                }
				
.align-right {
                float: right;
                }

/************ Button ************/
.button {
	font-family: Verdana, Geneva, sans-serif;
	display: inline-block;
	border: 1px solid #012d5b !important;
	color: #fff !important;
	font-size: 11px !important;
	cursor: pointer;
	background-color: #004994 !important;
	background-image: url(../imatges/bg_boto_blau.gif) !important;
	background-repeat: repeat-x !important;
	background-position: left top !important;
	padding-top: 4px;
	padding-right: 7px;
	padding-bottom: 4px;
	padding-left: 7px;	
}
                
.button:hover {
	text-decoration: none;
	background-color: #0080bc !important;
	background-image: url(../imatges/bg_boto_blau_on.gif) !important;
	background-repeat: repeat-x !important;
	background-position: left top !important;
                }

.button:disabled {
	text-decoration: none;
	border: 1px solid #333 !important;
	background-color: #999;
	background-image: url(../imatges/bg_boto_gris.png) !important;
	background-repeat: repeat-x;
	background-position: left top;
	cursor:help;
}

.minibutton {
				font-family: Verdana, Arial, sans-serif;
                display: inline-block;
                background: #4aa6d0 url('../imatges/bg_boto_blau.gif') top left repeat-x !important;
                border: 1px solid #012d5b !important;
                padding: 2px 3px 2px 3px !important;
                color: #ccc !important;
                font-size: 9px !important;
                cursor: pointer;
				text-align:center;
				float: left;
				margin-right:5px;
                }
				
.minibutton_actiu {
				font-family: Verdana, Arial, sans-serif;
                display: inline-block;
                background: #4aa6d0 url('../imatges/bg_boto_blau_on.gif') top left repeat-x !important;
                border: 1px solid #012d5b !important;
                padding: 2px 3px 2px 3px !important;
                color: #fff !important;
                font-size: 9px !important;
                cursor: pointer;
				text-align:center;
				float: left;
				margin-right:5px;
                }				
				
.minibutton:hover {
                text-decoration: none;
				background: #4aa6d0 url('../imatges/bg_boto_blau_on.gif') top left repeat-x !important;
				border: 1px solid #012d5b !important;
				color:#FFF !important;
                }
				
.minibutton img {
	padding-top:1px;
	margin-right:4px;
	float:left;
}				
				
a.remove-link {
				color: #bb0000;
				}

a.remove-link:hover {
				color: #000;
				}

/********************************      Sidebar      ********************************/

#sidebar {
	width: 180px;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	color: #CCC;
}

#sidebar #sidebar-wrapper {
                margin: 0 0 0 9px;
                }

#sidebar a,
#sidebar a:active {
                color:#ccc;
                }

#sidebar a:hover {
                color:#fff;
                }

#sidebar #sidebar-title {
                margin:0px 0 20px 15px;
				background-color:#CFC
                }

#sidebar #logo {
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 10px;
                }

#sidebar #profile-links {
                padding: 0 8px 20px 8px;
                text-align: right;
                line-height: 1.5em;
                }

/************ Sidebar Accordion Menu ************/

#sidebar #main-nav {
                width: 166px;
                padding: 0;
                margin: 0 0 0 15px;
                font-family: 'Open Sans', sans-serif;
                }

#sidebar #main-nav li {
                list-style: none;
                padding-bottom: 10px;
                text-align: right;
                }

#sidebar #main-nav li a.nav-top-item {
                background: transparent url('../imatges/bg_menu_blau.png') left center no-repeat; /* Background image for default color scheme - green */
                padding: 10px 15px;
                font-size: 14px;
                cursor: pointer;
                display: block;
                text-decoration: none;
                }
				
#sidebar #main-nav li a.current {
                background-image: url('../imatges/bg-menu-item-current.gif') !important;
                color: #0074b3;
                font-weight: bold;
                }
                
#sidebar #main-nav li.current:hover {
                color: #333;
                }

#sidebar #main-nav ul {
                padding: 0;
                font-size: 12px;
                margin: 0;
                }

#sidebar #main-nav ul li {
                list-style: none;
                margin: 0;
                text-align: right;
				padding: 0;
                padding: 8px 15px;
                display: block;
                color: #CCC;
                font-size: 13px;
                line-height: 1.2em;
                }

#sidebar #main-nav ul li:hover,
#sidebar #main-nav ul li.currentsubitem,
#sidebar #main-nav ul li.currentsubitem:hover {
                color: #fff;
				cursor:pointer;
                }

#sidebar #main-nav ul li.currentsubitem {
                background: transparent url('../imatges/menu-current-arrow.gif') right center no-repeat !important;
                }


/************ Messages ************/

#messages p,
#messages form {
                border-top: 1px solid #ddd;
                padding: 10px 0;
                }

#messages h4 {
                padding: 10px 0;
                }
				
#messages fieldset {
                margin: 0;
                }
				
#messages textarea {
                margin: 0 0 15px 0;
                }
/********************************      Main Content      ********************************/

/************ Layout ************/

#main-content {
	margin-top: 0;
	margin-right: 15px;
	margin-bottom: 0;
	margin-left: 200px;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
                }

.column-left {
                width: 48%;
                float: left;
                }
                
.column-right {
                width: 48%;
                float: right;
                }
               
#page-intro {
                font-size: 17px;
                padding: 0 0 20px 0;
                }

				
#footer {
				border-top: 1px solid #ccc;
				margin: 20px 0 0 0;
				padding: 20px 0;
				font-size: 12px;
                }
/************ Lists ************/

#main-content ul,
#main-content ol {
                padding: 10px 0;
                }

/* Unordered List */

#main-content ul li {
                background: url('../images/icons/bullet_black.png') center left no-repeat;
                /* padding: 4px 0 4px 20px; */
                }

/* Ordered List */

#main-content ol {
                padding: 0 0 0 24px;
                }

#main-content ol li {
                list-style: decimal;
                padding: 4px 0;
                }

/*************** Content Box ***************/

.content-box {
	border: 1px solid #ccc;
	background: #fff;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	float:left;
                }

.content-box-header {
	background: #e5e5e5 url('../imatges/bg-content-box.gif') top left repeat-x;
                margin-top: 0px;
                height: 40px;
                }

.content-box-header h3 {
                padding: 12px 15px 10px;
                float: left;
                }
				
.content-box-miniheader {
                background: #e5e5e5 url('../imatges/bg-content-box.gif') top left repeat-x;
                margin-top: 1px;
                height: 20px;
                }

.content-box-miniheader h5 {
                padding: 4px 6px 5px;
                float: left;
                }				

ul.content-box-tabs {
                float: right;
                padding: 12px 15px 0 0 !important;
				margin: 0 !important;
                }

ul.content-box-tabs li {
                float: left;
                margin: 0;
                padding: 0 !important;
                background-image: none !important;
                }
                
ul.content-box-tabs li a {
                color: #333;
                padding: 8px 10px;
                display: block;
                margin: 1px;
                border-bottom: 0;
                }

ul.content-box-tabs li a:hover {
                color: #57a000;
                }              
                
ul.content-box-tabs li a.current {
                background: #fff;
                border: 1px solid #ccc;
                border-bottom: 0;
                margin: 0;
                }

.content-box-content {
	padding-bottom:5px;
	padding-top:5px;
	padding-left:10px;
	padding-right:10px;
    font-size: 13px;
    border-top: 1px solid #ccc;
}
                
				
/************ Table ************/
/*
#main-content table, table {
                border-collapse: collapse;
				margin-bottom:15px;
}
                
#main-content table thead, table thead  {				
	border-bottom: 2px solid #aaa;				
}
#main-content table thead th, table thead th {
	font-size: 10px;
    border-bottom: 1px solid #ddd;
	background-color:#CCC;
	color:#949494;
	font-weight:bold;
	cursor:pointer;
	z-index:3;
}
				           
#main-content tbody, tbody {
                border-bottom: 1px solid #ddd;

                }
                
#main-content tbody tr, tbody tr {
                background: #fff;
				height:20px !important; 
                }
              
#main-content tbody tr.alt-row, tbody tr.alt-row {
                background: #f3f3f3;
				height:20px !important; 
                }
                
#main-content tbody tr:hover, tbody tr:hover {
	background-color: #CAD9FF !important;
	color:#000 !important;
                }	
				
#main-content table td,
#main-content table th,  table td,  table th {
	padding: 3px;
	vertical-align:middle;
	 font-size: 11px;
}        

			
#main-content table tfoot td .bulk-actions {
                padding: 15px 0 5px 0;
                } 
				
#main-content table tfoot td .bulk-actions select {
                padding: 4px;
				border: 1px solid #ccc;
                }          

		*/	

/*************** Pagination ***************/

#main-content .pagination {
	text-align: left;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
                }
.pagination a {
	margin-top: 0;
	margin-right: 5px;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 1px;
	padding-right: 6px;
	padding-bottom: 1px;
	padding-left: 6px;
                }

.pagination a.disabled {
	color:#999;
}

.pagination a.number {
				border: 1px solid #ddd;
                }

.pagination a.current {
	border-color: #004994 !important;
	color: #fff !important;
	background-color: #004994;
	background-repeat: repeat-x;
	background-position: left top;
                }
				
.pagination a.current:hover {
				text-decoration: underline;
                }

/************ Shortcut Buttons ************/

#info_button {
	margin-top:-20px;
	right:0px; 
	width:25px; 
	font-size:10px;
	margin-left:50px;
	color:#FFF
}

.shortcut-button {
	border: 1px solid #ccc;
	background: #f7f7f7 url('../images/shortcut-button-bg.gif') top left no-repeat;
	display: block;
	width: 80px;
	height:77px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
                }

.shortcut-button span {
	border: 1px solid #fff;
	display:block;
	text-align: center;
	color: #555;
	font-size: 13px;
	line-height: 1.3em;
	height:70px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
                }

.shortcut-button span img {

                }

.shortcut-button:hover {
                background: #fff;
				
                }
				
.shortcut-button span:hover {
	color: #039;
                }

ul.shortcut-buttons-set li {
                float: left;
                margin: 0 15px 0 0;
				padding: 0 !important;
				background: 0;
                }


/*************** Notifications ***************/

.notification {
	position: relative;
	padding: 0;
	border: 1px solid;
	background-position: 10px 6px !important;
	background-repeat: no-repeat !important;
	font-size: 13px;
	width: 99.8%;
	background-image:url(../imatges/icones/tick.png);
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0;
                }
                

.attention {
                background: #fffbcc url('../imatges/icones/atencio.png') 10px 11px no-repeat;
                border-color: #e6db55;
                color: #666452;
                }

.information {
                background: #dbe3ff url('../imatges/icones/informacio.png');
                border-color: #a2b4ee;
                color: #585b66;
                }

.success {
		background-image:url(../imatges/icones/ok.png);
		background-color:#d5ffce;
        border-color: #9adf8f;
        color: #556652;
}

.error {
	border-color: #df8f8f;
	color: #665252;
	background-color: #ffcece;
	background-image:url(../imatges/icones/error.png);
	background-repeat: no-repeat;
}
				
.loading {
                background: #dbe3ff url('../imatges/icones/loading_blau.gif');
                border-color: #a2b4ee;
                color: #585b66;
                }			

.notification div {
	display:block;
	font-style:normal;
	line-height: 1.5em;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 36px;
                }

.notification .close {
                color:#990000;
                font-size:9px;
                position:absolute;
                right:5px;
                top:5px;
                }

/* Notification for form inputs */

.input-notification {
				background-position: left 2px;
				background-repeat: no-repeat;
				padding: 2px 0 2px 22px;
				background-color: transparent;
				margin: 0 0 0 5px;
				}

/* Notification for login page */

#login-wrapper #login-content .notification {
				border: 0;
				background-color: #141414;
				color: #fff !important;
				}
				
/*************** Forms ***************/
form {
	padding:0px;
	margin:0px;
}
form .labelimatges {
	display: block;
	font-weight: bold;
}
				
form label {
	display: block;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 3px;
	padding-left: 0px;
	color:#BBB;
	font-size:10px;
}		
				
form .minilabel {
	display: block;
	font-weight: bold;
	font-size:12px;
                }
             
form fieldset legend {
                font-weight: bold;
                margin-bottom: 10px;
                padding-top: 10px;
                }
                
form p small {
                font-size: 0.75em;
                color: #777;
                }

form input.text-miniinput, .text-miniinput {
	padding: 1px;
	font-size: 10px;
	border: 1px solid #d5d5d5;
	color: #333;
}
	
form input.text-invisible {
	padding-right:1px;
	font-size: 10px;
	border: 1px solid #FFF;
	color: #333;
}	
	
	
form input.text-input,
form textarea,
form .wysiwyg, .text-input {
	padding: 3px;
	font-size: 13px;
	border: 1px solid #d5d5d5 !important;
	color: #333;
	height:16px;
}

form input.text-input12
{
	padding: 3px;
	font-size: 12px;
	border: 1px solid #d5d5d5 !important;
	color: #333;
	height:16px;
}

form input.text-input:focus {
	border: 1px solid #C0C0C0 !important;
}

form select.select-input{
	font-size: 13px;
	border: 1px solid #d5d5d5 !important;
	color: #333;
	padding:0 !important;
	margin:0 !important;	
	height:24px !important;
}

.mini_select {
	font-size:11px;
	padding:2px;
	border: 1px solid #d5d5d5 !important;
	color: #333;
}
  
            
form .mini-input {
	width: 80% !important;
	font-size:10px !important;
	padding: 1px !important;
                }			
			
form .small-input {
                width: 25% !important;
                }
                
form .medium-input {
                width: 50% !important;
                }
				
form .tresquarts-input {
                width: 85% !important;
                }				
                
form .large-input {
	width: 97.5% !important;
                }
				
				
                
form textarea {
                width: 97.5% !important;
                font-family: Arial, Helvetica, sans-serif;
                }
                
form select {
                padding: 4px;
                background: #fff;
                }
				
form input[type="checkbox"],
form input[type="radio"] {
				padding: 0;
                background: none;
				border: 0;
                }				

/********************************      Login Page      ********************************/

body#login {
                color: #fff;
                background: #222 url('../imatges/bg-login.gif');
				}
				
#login-wrapper {
                background: url('../imatges/bg-login-top.png') top left repeat-x;
				}

#login-wrapper #login-top {
	width: 100%;
	text-align: center;
	padding-top: 85px;
	padding-right: 0;
	padding-bottom: 95px;
	padding-left: 0;
				}
				
#login-wrapper #login-content {
				text-align: left;
				width: 300px;
				margin: 0 auto;
				}
				
#login-wrapper #login-content label {
	font-weight: normal;
	font-size: 14px;
	color:#BBB;
	float: left;
	width: 50px;
	padding-top: 3px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
				}
				
#login-wrapper #login-content input {
				width: 200px;
				float: right;
				margin: 0 0 20px 0;
				border: 0;
				background: #fff;
				}
				
#login-wrapper #login-content p {
	padding-top: 10px;
	padding-right:0px;
	padding-bottom:0px;
	padding-left: 0px;				
				}
				
#login-wrapper #login-content #remember-password {
				float: right;
				}
				
#login-wrapper #login-content #remember-password input {
				float: none;
				width: auto;
				border: 0;
				background: none;
				margin: 0 10px 0 0;
				}
				
#login-wrapper #login-content .button {
				width: 60px;
				margin-top: 20px;
				}


.recuadre {
	border: 1px solid #ccc;
	background: #f7f7f7 url('../images/shortcut-button-bg.gif') top left no-repeat;
	display: block;
	width: 95%;
	margin: 10px 10px 10px 10px;
	padding: 5px 5px 5px 5px;
}

.border_rodo {
	border:1px solid #ccc;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#capa_cap {
	font-size: 10px;
	background-color:#CCC;
	color:#949494;
	font-weight:bold;
	height:13px;
	padding:3px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #949494;
}