.error-page {
  margin-left: 5%;
}

.user-lateral {
  color: wheat;
  margin-left: 9px;
}

.user-transition {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  transition: margin-left .3s linear, opacity .3s ease, visibility .3s ease;
}

.sidebar-mini.sidebar-collapse .sidebar .user-panel > .user-transition {
  margin-left: -10px;
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  visibility: hidden;
}

.sidebar-mini.sidebar-collapse .main-sidebar:hover .user-panel > .user-transition,
.sidebar-mini.sidebar-collapse .main-sidebar:hover .logo-xl, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel > .user-transition {
  display: inline-block;
  margin-left: 4%;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  visibility: visible;
}

.sidebar-mini.sidebar-collapse .main-sidebar:hover .user-panel > .user-transition,
.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel > .user-transition {
  display: block !important;
  -webkit-transform: translateZ(0);
}

.img-close{
  width: 20px;
  float: right;
}

.img-close:hover{
  opacity: 0.5;
  cursor: pointer;
}

.chkbox {
  transform: scale(1.5);
  margin: 3px;
}

.page-collapse {
  visibility: collapse;
}

.pagination {
  display: inline-block;
  padding-right: 210px;
}

.pagination a {
  width: 40px;
  height: 40px;
  font-size: 12px;
  text-align: center;
  color: #9352c6;
  float: left;
  padding: 10px 0 8px 0;
  text-decoration: none;
  border: 1px solid #9352c6;
  border-radius: 5px;
  margin: 2px;
  white-space: nowrap;
}

.pagination a.active {
  width: 40px;
  height: 40px;
  font-size: 12px;
  text-align: center;
  background-color: #9352c6;
  border-radius: 5px;
  margin: 2px;
  color: white;
  white-space: nowrap;
}

.pagination a:hover:not(.active) {
  color: #FFF;
  background-color: #9352c6;
}

.iconausuari {
  display: inline-block;
  border-radius: .25rem;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  padding: .375rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
}


/* ------------------------------  
	        GENERAL
------------------------------- */

html {
  height: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  height: 100%;
  margin: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

footer {
  margin-top: 40px;
}

div {
  border: none;
  box-shadow: none;
}

.content-header {
  margin-bottom: 40px;
  padding: 20px 1rem;
  text-align: center;
  background-color: aliceblue;
  border: 1px;
  border-style: outset;
}

h1 {
  font-size: 26px;
  font-weight: 100;
}

.content-header h1 {
  font-size: 26px;
  margin-top: 20px;
  margin-left: 20px;
  font-weight: 400;
}

h2 {
  font-size: 24px;
  margin-top: 20px;
  margin-left: 20px;
}

h3 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
}

label {
  font-weight: 300;
  font-size: 14px;
}

th {
  font-weight: 400;
}

td {
  font-weight: 300;
}

nav.main-header {
  color: #FFF;
  background-image: linear-gradient(to right, rgb(24, 100, 183), rgb(179, 19, 129) );
  border: none;
}

hr {
  height: 3px;
  margin-left: 0;
  margin-top: 12px;
  padding-left: 0;
  background: linear-gradient(to right, #1a70ca, #b51280);
}

section.content-header{
  border: none;
  background-color: #FFF;
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
  font-weight: 700;
  text-align: left;
  color: #1a70ca;
}

.box {
  border: 0px;
  background: white;
  margin: 2%;
  padding: 3%;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.row {
  margin: 0;
  padding-left: 0;
  padding-right: 0; 
}

.content-col {
  padding-left: 0;
  padding-right: 0;
}

.content-wrapper > .content {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.content-wrapper{
  background-color: #FFF;
}

.boto-menu-superior {
  margin-left: 5px;
  margin-right: 5px;
  color:#FFF;
  border: none;
}

.boto-menu-superior:hover{
  color: #b51280;
  border: none;
  background-color: #FFF;
  text-shadow: none;
  text-decoration: none;
}

i.nav-icon {
  padding-right: 5px;
}

i.fas.fa-bars {
  color: #FFF;
}



/* ------------------------------  
	      PANTALLA D'ENTRADA
------------------------------- */

strong {
  font-weight: 700;
}

.nav-item .bi-code {
  top: -4px;
  position: relative;
}

h1.titol-inici {
  margin-top: 30px;
  font-weight: 500;
}

.titol-inici span {
  font-weight: 600;
}

.logo-caira-portada{
  margin-top: 50px;
}

h6.inicia-sessio {
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: 300;
  font-size: 16px;
}

.titol-inici-container {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  text-align: left;
  color: #FFF;
  margin: 0%;
  background-image: linear-gradient(to right, rgb(24, 100, 183), rgb(179, 19, 129) );
  /* border-bottom-right-radius: 160px; */
}

.titol-col {
  padding-left: 80px;
}

.img-portada {
  padding: 20px;
}

.logo-tothomweb-portada{
  margin-top: 18px;
}

hr.hr-inici {
  height: 1px;
  margin-top: 10px;
}

/* ------------------------------  
	          LOGIN
------------------------------- */

body.login-page {
  font-family: 'Lato', sans-serif;
  background-image: linear-gradient(to top right, #4f58ce, #b951c1);
  background-repeat: no-repeat;
}

.login-logo {
  margin-top: 20px;
}

.link-back {
  margin-left: 20px;
  color: #9352c6;
  font-weight: 400;
  font-size: 20px;
  text-decoration: none;
}

.link-back:hover {
  text-shadow: none;
  text-decoration: none;
}

.login-logo .link-back {
  margin-top: 20px;
  color: #ffffff;
}

.login-logo .link-back:hover {
  color: #ffffff;
  font-weight: 700;
}

.login-box {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.card {
  height: auto;
  max-width: 1000px;
  margin-left: 5%;
  margin-right: 5%;
  background-color: #FFF;
  border-radius: 10px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  padding-right: 20px;
  padding-left: 20px;
  overflow:hidden;
}

.img-login {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30%;
}

.login-card-body {
  margin-top: 25%;
  font-weight: 300;
}

.form-control {
  border-radius: 50;
  font-weight: 300;
}

.form-group {
  width: 100%;
}

.col-btn-entrar {
  padding-right: 0;
  padding-left: 0;
}

.btn-entrar {
  padding: 8px 16px;
  text-align: center;
  border-radius: 50px;
  color: #FFF;
  background-color: #9352c6;
  border: none;
  white-space: nowrap;
}

.btn-entrar:hover {
  color: #FFF;
  background-color: #5a56ce;
  border: none;
}

/* ------------------------------  
	          PERFIL
------------------------------- */

.modal-window {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal-window > div {
  width: 550px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2em;
  background: #fff;
}

@media (max-width: 700px){
  .modal-window > div {
    width: 80%;
  }
}

.modal-window header {
  font-weight: bold;
}
.modal-window h1 {
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 15px;
}
.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  width: 40px;
 text-decoration: none;
 padding: 10px;
}
.modal-close:hover {
  color: black;
}
.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}
.modal-window .btn i {
  padding-right: 0.3em;
}

.box-profile {
  width: auto;
  height: 100%;
  background-color: #FFF;
  border: solid 1px lightgrey;
  border-radius: 10px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  margin-top: 0;
  margin-bottom: 10px;
}

.dades-perfil {
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 5px;
  padding-bottom: 40px;
  padding-top: 20px;
  border-bottom: solid 1px lightgrey;
  border-radius: 0;
}

.list-group {
  padding: 4.8%;
}

.label-credentials{
  font-weight: 300;
}

.list-credentials{
  padding: 3px;
}

.list-group-item {
  border: none;
  padding-top: 5px;
  padding-bottom: 5px;
}

#rol, #user_rol {
  width: 30%;
}

.botons-opcions {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 0;
}

.btn.boto-opcions {
  margin-top: 15px;
  margin-left: 5px;
  margin-right: 5px;
  background-color: #FFF;
  color: #b51280;
  font-weight: 300;
  border: solid 1px #b51280;
  border-radius: 50px;
}

.btn.boto-opcions:hover {
  color: #5a56ce;
  border: solid 1px #5a56ce;
  border-radius: 50px;
  background-color: #FFF;
  text-shadow: none;
  text-decoration: none;
}

.row-modificar {
  min-height: 6em;
  display: flex;
  justify-content: center;
}

.col-modificar{
  margin: 0;
  padding: 0;
}

.modificar-credenciales-siteimprove, 
.modificar-dades-personals {
  height: 100%;
  margin: 15px;
  padding-top: 0;
  padding-bottom: 0;
  border: none;
  box-shadow: none;
  border-top: none;
}

.modificar-credenciales-siteimprove {
  margin-right: 0;
  margin-left: 10px;
  padding-left: 8%;
}

.modificar-dades-personals {
  margin-left: 0;
  margin-right: 10px;
  padding-right: 8%;
}

.btn.btn-eliminar {
  margin-top: 10px;
}

.btn-modificar-dades {
  margin-bottom: 20px;
}

/* ------------------------------  
	        RESET PASS
------------------------------- */

body.reset-pwd {
  font-family: 'Lato', sans-serif;
  background-image: linear-gradient(to top right, #4f58ce, #b951c1);
  background-repeat: no-repeat;
}

.reset-pwd-box {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.card-reset-pwd {
  width: 800px;
  height: 400px;
  background-color: #FFF;
  border-radius: 10px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  padding-right: 50px;
  padding-left: 50px;
}

.reset-pwd-title {
  margin-top: 50px;
  margin-bottom: 20px;
}

.btn-new-pwd {
  padding: 8px 16px 8px 16px;
}

.btn-cancelar {
  color: #9352c6;
}

.btn-cancelar:hover {
  color: #5a56ce;
  text-decoration: none;
}

/* ------------------------------  
	    PANTALLA INICI PERFIL
------------------------------- */

h1.titol-inici-personalitzat {
  margin-top: 75px;
}

.hola-personalitzat {
  margin-top: 60px;
  margin-bottom: 5px;
}

.row-inici {
  padding-bottom: 25px;
}

.btn-analitza-container {
  margin-top: 30px;
  margin-left: 60px;
}

.btn-analitza {
  margin-top: 10px;
  margin-bottom: 15px;
  color: #9352c6;
}

.btn-analitza:hover {
  color: #5a56ce;
  text-decoration: none;
}

/* ------------------------------  
	          ANALISI
------------------------------- */

.card-informe {
  padding: 40px;
  padding-top: 10px;
}

.form-informe {
  margin-top: 53px;
}

.label-informe {
  margin-top: 20px;
}

.btn-analitzar-web {
  padding: 8px 16px 8px 16px;
  margin-top: 0;
}

/* ------------------------------  
	      GESTIÓ USUARIS
------------------------------- */

.card-afegir-usuaris, 
.card-usuaris {
  margin: 15px;
  height: auto;
}

.user-role{
  width: 100%;
}

.title-usuaris {
  margin-top: 40px;
}

.form-usuari {
  margin-bottom: 8px;
}

.btn-afegir-usuari {
  margin-top: 5px;
  margin-bottom: 40px;
}

.btn-reset-usuari {
  margin-top: 5px;
  margin-bottom: 40px;
}

.user-id-box {
  margin-top: 40px;
}

/* ------------------------------  
	        SELECTOR
------------------------------- */

#selector_pages {
  margin-bottom: 0;
}

.selector-bloc {
  border: 2px solid black;
  margin-bottom: 1%;
  margin-top: 1%;
}

td.selector-point {
  padding: 1px;
  padding-left: 1%;
  vertical-align: middle;
  border: 1px solid #ddd;
  word-break: break-all;
}

li.selector-point {
  display: block;
}

label.selector-point {
  font-weight: 500;
  padding: 0;
  margin: 0;
}

.box-selector {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 3%;
}

.titol2-selector {
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center; 
  width: 100%;
}

div.selector-bloc {
  background-color: #FFF;
  border: none;
  padding-bottom: 5px;
}

#buscador {
  background-image: url('/layout/dist/img/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 12px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  width: 100%; /* Full-width */
  font-size: 16px; /* Increase font-size */
  padding: 12px 20px 12px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 12px; /* Add some space below the input */
}

.buscador-selector {
  border-radius: 10px;
}

td.selector-point {
  background-color: #FFF;
  border: none;
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: 300;
  margin-top: 5px;
}

.btn-generar-informe {
  padding: 8px 16px 8px 16px;  
}

a.btn-paginador {
  margin: 0;
  background-color: #FFF;
  font-weight: 400;
  border: solid 0.5px lightgrey;
}

a.btn-paginador.prev,
a.btn-paginador.next {
  padding-top: 10px;
  padding-bottom: 10px;
}

.pagination a:hover {
  color: inherit;
  background-color: rgb(250, 250, 250);
}

/* ------------------------------  
	        RESULTATS
------------------------------- */

.results-box {
  min-width: 780px;
  padding-bottom: 40px;
}

.title-projects {
  margin-top: 40px;
  margin-bottom: 20px;
}

.card-body.p-0 .table tbody > tr > td:first-of-type,
.card-body.p-0 .table thead > tr > th:first-of-type {
  padding-left: 5px;
}

span.badge-warning {
  color: #9352c6;
  background-color: #FFF;
  border: none;
}

span.badge-success {
  color: #3eaca8;
  background-color: #FFF;
}

.hidden-row {
  margin-top: 40px;
  background-color: #FFF;
  visibility: collapse;
}

.table-errors {
  margin: auto;
  width: 50%;
  border: none;
}


.table-errors2 {
  margin: auto;
  width: 25%;
  text-align: center;
  border: none;
}

.table th.th-errors,
.table td.td-errors {
  border-top: none;
}

.created-by{
  display: flex;
  margin-top: 35px;
}

.created-by p{
  display: inline-flex;
  margin-bottom: 0px;
  position: relative;
}

.created-by img{
  top: -5px;
  position: relative;
  margin-top: 0px;
}

/* ------------------------------  
	        INFORMES
------------------------------- */

.informes td, .informes th {
  vertical-align: middle !important;
}

.informe-actions .btn-entrar{
  margin: 4px;
  width: 100%;
}

.informe-actions .btn-cancelar{
  width: 100%;
}

.contract {
  border-radius: 45px;
  background-image: linear-gradient(to right, rgb(24, 100, 183), rgb(179, 19, 129) );
  border: none;
  color: #FFFFFF;
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
  padding: 10px;
  width: 160px;
  transition: all 0.4s;
  cursor: pointer;
  margin: 5px;
  font-weight: 500;
}
.contract span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.4s;
}
.contract span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}
.contract:hover span {
  padding-right: 14px;
}
.contract:hover {
  font-weight: 700;
  color: #FFFFFF;
}
.contract:hover span:after {
  opacity: 1;
  right: 0;
}
.button_cont{
  display: flex;
}
.contract-text{
  font-size: 11px;
  text-align: center;
  margin-bottom: 4px;
}