@font-face{ font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.ttf"); }
@font-face{ font-family: "Montserrat-Regular"; src: url("../fonts/Montserrat-Regular.ttf"); }
@font-face{ font-family: "Montserrat-light"; src: url("../fonts/Montserrat-Light.otf"); }
@font-face{ font-family: "Montserrat-thin"; src: url("../fonts/Montserrat-Thin.otf"); }
body {
	width:100%;
	font-family: 'Montserrat';
	text-align:center;
	margin:0px;
	font-size: 12px;
}

header {
	width:100%;
	background-color:#4e4e4e;
	border-bottom: 0x solid rgba(255,255,255,0.3);
	display:inline-block;
	margin:0px;
	color: white;
	}
header img.logo {
	float:left;
	display:inline-block;
	height:50px;
	padding-top: 5px;
	}
header .menu {
	display:inline-block;
	float:right;
	padding-top: 0px;
	padding-right: 20px;
	}

header .dropdown {
  float: left;
  overflow: hidden;
}

header .dropdown .dropbtn {
  font-size: 12px;  
  border: none;
  outline: none;
  color: white;
  padding: 20px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}
header .navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #f97118;
}
header .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

header .dropdown-content a:hover { background-color: #ddd;}
header .dropdown:hover .dropdown-content { display: block;}

iframe {
	width:100%;
	
}
input[type=text].smcardress, input[type=password].smcardress {
	border: none;
	background-color: #f7f7f7;
	font-family: "Montserrat";
	padding: 12px 20px;
	margin: 3px 0;
	display: inline-block;
	border: 1px solid #ff9900;
	box-sizing: border-box;
}
input[type=button] {
	padding: 14px 20px;
	margin: 8px 0;
	cursor: pointer;
}
input[type=button].smcardress {
	border: none;
	background-color: #f7f7f7;
	color: white;
	font-family: "Montserrat";
}
input[type=button].smcardress:hover {opacity: 1;}
input[type=submit] {
	padding: 14px 20px;
	margin: 8px 0;
	cursor: pointer;
	border: none;
}
input[type=submit].smcardress {
	background-color: #222222;
	color: white;
	font-family: "Montserrat";
}
input[type=submit].smcardress:hover {
	color: #ff9900;
}
input[type=button].cancelbtn {
	//background-color: #808080;
	color: #bdbdbd;
}
input[type=button].cancelbtn:hover {
	color: red;
}
.menuform {
	margin:100px auto;
	display:inline-block;
	background: #ffffff;
	padding:10px;
}
button.cancelbtn {
		  width: auto;
		  padding: 10px 18px;
		  background-color: #f44336;
		}
.iconblock {
	display:inline-block;
	width:100px;
	height:100px;
	background: #ffffff;
	border-style: solid;
	border-width: 1px;
	border-color: #FF8000;
	padding:20px 20px 20px 20px;
	margin:10px;
	text-align: center;
	vertical-align: middle;
	line-height: 100px;
	color: #585858;
}
label.loginlab {
	font-size: 12px;
	font-weight:normal;
	width:100px;
	display:inline-block;
}
header h1 {
		display: block;
		font-size: 16px;
		-webkit-margin-before: 0em;
		-webkit-margin-after: 0em;
		-webkit-margin-start: 0px;
		-webkit-margin-end: 0px;
		font-weight: bold;
		float:left;}

table 	{border-collapse: collapse;
		 width:100%;
		
		}
th		{
		background-color:#F2F2F2;
		border: 1px solid #D8D8D8;
		}
th a 	{text-align:right;
		float: right;
		margin-right: 3px;
		}

tr		{border-bottom: 1px solid #D8D8D8;
		 font-size:10px;
		 color:#585858;
		 -webkit-transition-duration: 0.4s; /* Safari */
    	 transition-duration: 0.4s;
		 }
tr.grup_comptable{background-color:#e0e0e0;}
tr.resultatPiG {background-color:#f97118;color:white;}
tr:hover {
		color:black;
		background-color:#F2F2F2;
		}
td 		{padding-right: 5px;}
td.tdnum {text-align:right;}
a:link 	{text-decoration: none;
		 color:grey;
		}
		
#myInput {
    width: 100px; 
    font-size: 13px;
    float:right;
    border: 1px solid #ddd;
    margin: 0px 0px 5px 5px;
	display:inline-block;
	padding: 10px 15px;
}

header .btn	{text-decoration: none;
		 color:grey;
		 padding:10px 15px;
		 border: 1px solid #D8D8D8;
		 background-color: white;
		 cursor: pointer;
		 display: inline-block;
		 margin: 0px 0px 5px 5px;
		 float: right;
		}


input[type=date] {
	height: 37px;
	float:right;
    display:inline-block;
	margin: 0px 0px 5px 5px;
}

#toolset {  display: inline-block;
			float:right;
			border-left: 1px solid #D8D8D8;
			margin:15px 0px 5px 0px;
			padding: 0 15px 0 15px;
			/*height:72px;*/
	
}

#vista_client{
	margin:10px;
	padding:10px;
	border: 1px solid #ff7317;
}

#vista_client label{
	margin:10px;
	height:18px;
	line-height: 20px;
}

#arxiu_sepa {
	display:none;
}

.icono{
  height: 16px;
  width:  16px;
  cursor: pointer;
  margin-top: 2px;
}
#vista_client input{
	border: none;
	background-color: #f7f7f7;
	font-family: "Montserrat";
}
#vista_client select{
	border: none;
	background-color: #f7f7f7;
	font-family: "Montserrat";
}
#vista_client input[type="text"]:disabled {
  background: #d8d8d8;
}
#vista_client .vista_subgrup{
	text-align: left;
	padding:5px;
	margin-bottom:5px;
	border: 1px solid #d8d8d8;
}
#vista_client .vista_subgrup_element{
	height:20px;
	text-align: left;
	padding:5px;
	margin-bottom:5px;
	border: 1px solid #d8d8d8;
	display: inline-block;
	background-color: #f7f7f7;
}

#vista_client form{
	text-align: left;
}

.tabulator {
	font-size:12px;
	border: 1px solid #ff7317;
	border-top-color: #ff7317;
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: #ff7317;
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: #ff7317;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: #ff7317;
    border-left-style: solid;
    border-left-width: 1px;
}
.tabulator .tabulator-header {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    border-bottom: 1px solid #999;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #ff7317;
    background-color: #777777;
    color: #fdfdfd;
    font-weight: 500;
}
.tabulator .tabulator-header .tabulator-col {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    border-right: 1px solid #aaa;
    background: #e6e6e6;

    background-color: #989898;
    text-align: left;
    vertical-align: bottom;
    overflow: hidden;
}
.tabulator-row .tabulator-cell {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 4px;
    border-right: 1px solid #ff7317;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tabulator .tabulator-row-odd {
    background-color: #fdfdfd;
}

.tabulator .tabulator-row-even {
    background-color: white;
}
.tabulator-row.tabulator-selectable:hover {
    background-color: #f9f9f9;
	font-weight: 550;
    cursor: pointer;
}

/* The Modal CSS */
.imgcontainer { text-align: center; margin: 0; position: relative; padding:16px 16px 0 16px; }
h2.titolcontainer { position: relative; margin-bottom: 4px; text-align:left; font-size: 17px; }
.container { padding: 16px;	}
		
span.psw { float: right; padding: 14px 0 14px 0; margin:8px 0 8px 0;}

/* The Modal (background) */
.modal {  display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.4); 
		  overflow: auto; /* Enable scroll if needed */ }

/* Modal Content/Box */
.modal-content { background-color: #fefefe; border: 1px solid #888; margin: 5% auto 15% auto; width: 334px; }
/* The Close Button (x) */
.close { position: relative; float:right; color: #000; font-size: 35px; font-weight: bold; }
.close:hover, .close:focus { color: red; cursor: pointer; }

/* Add Zoom Animation */
.animate { -webkit-animation: animatezoom 0.6s; animation: animatezoom 0.6s }
@-webkit-keyframes animatezoom { from {-webkit-transform: scale(0)} to {-webkit-transform: scale(1)} }
@keyframes animatezoom { from {transform: scale(0)} to {transform: scale(1)} }
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) { span.psw { display: block; float: none; } .cancelbtn { width: 100%; } }