@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Open+Sans:wght@400;700&family=Roboto:wght@400;700&display=swap');

/* Cambios Generales */

header{
    height: 72px;
    background: #0073cf;
}

header .btn-toolbar{
    height: 72px;
    background: url("../images/port_de_barcelona_logo.svg") scroll left no-repeat transparent;
    margin-left: 30px;
    align-items: center;
}

.header-btn{
    max-height: 24px;
}

#context{
    background-color: #EAEAF1;
}

#add-in-logo,#app-logo {
    height: 32px !important;
    width: 189px !important;
    margin-top: 15px;
    margin-left: 30px;
    background-image: url("../images/port_de_barcelona_logo.svg") !important;
    background-size: cover;
}

#inetum-logo {
    display: none;
}

body{
    font-family: "Open Sans", sans-serif;
    color: #4D5357 !important;
    padding-top: 90px;
}

h2, h4, #accesos-container h1, .tipos-acceso a, .breadcrumb{
    font-family: "Open Sans", sans-serif;
    color: #4D5357 !important;
}

.breadcrumb{
  background-image: none;
  padding-left: 0;
}

span.dt-column-title{
    color: #002664;
}

.btn {
    padding: 20px 30px 20px 30px;
    border-radius: 0;
    font-family: "Roboto", sans-serif !important;
}

.btn-primary, .btn-primary a, .btn-success {
    color: #FFF;
    background-color: #002664;
    border: 2px solid #002664;
    font-family: "Roboto", sans-serif !important;
    font-weight: 400;
    font-size: 14px;
}

.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:focus, .btn-success:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.footer{
    height: 50px;
    border-top: none;
    font-family: "Open Sans", sans-serif;
    padding-top: 20px;
    font-size: 12px;
    color: white;
    background: #0073cf;
    text-align: center;
}

.footer p:first-child, .footer p:last-child {
    display: none;
}

/* Cambios Login */

#accesos-header, #login-header{
    background-image: none;
}

.REAcces {
    height: 68vh;
    margin-top: 8%;
}

#login-form label{
  margin: 0;
}

#accesos-container img, #login-container .row .col img[src="/invesiteCTE/assets/images/logo-app.png"],#login-container .row .col img[src="/invesiteAdmin/assets/images/catalogo_tramites.png"], #login-container .row .col img[src="/invesiteRE/assets/images/app-logo.png"], #login-container .row .col img[src="/invesiteViewRE/assets/images/logo-app.png"], #login-container .row .col img[src="assets/images/app-logo.png"] {
    display: none;
}

/* Cambios CTE (selección de organismo) */

form.form-inline input.form-control {
    margin-right: 15px;
}

/* Cambios csv */

.validation-text{
    max-width: 55%;
}

/* Cambios catalog */

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link{
    border: none;
    color: #002664;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{
    color: #0073cf;
}

/* Cambios formularios */

:root {
  --main-bg-color: #7CC8FF;
  --font-size-title: 60px;
  --font-size-subtitle: 20px;
  --padding-title: 30px;
  --margin-style-title: dotted;
  --margin-style-subtitle: solid;
  --border-size-title: 3px;
  --padding-input: 20px;
  --background-input: #EAEAF1;
  --font-size-text-mandatory-fields: 10px;
  --font-size-text-title-group-fields: 20px;
  --width-form-description: 70%;
  --scroll-bar-color: grey;
  --font-color-header: #4D5357;
  --color-radio-and-checkbox: #0449FE;
  --shadow-color: #C9D8FF;
  }
  
  label{
    margin-right: 5px
  }

  .readOnly {
    color: #84888D !important;
  }

  .alert{
    margin-top: 5px;
  }

  /*RADIO BUTTONS*/
   
  .invesForm_input[type="radio"] {
    -webkit-appearance: none;
    margin-right: 15px;
    -moz-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 50%;
    outline: none;
    vertical-align: middle;
  }
   
  .invesForm_input[type="radio"]:checked {
    border-color: var(--color-radio-and-checkbox);
    background-color: var(--color-radio-and-checkbox);
    box-shadow: inset 0 0 0 6px #ffff;
  }
   
  .invesForm_input[type="radio"]:focus-visible {
    box-shadow: 0 0 0 1px var(--shadow-color)
  }
   
  .invesForm_input[type="radio"]:checked:focus-visible {
    box-shadow: 0 0 0 2px var(--shadow-color), inset 0 0 0 6px #fff;
  }
   
  .invesForm_input[type="radio"]:disabled {
    border-color: #8A8A8A;
    cursor: not-allowed;
  }
   
  .invesForm_input[type="radio"]:disabled:checked {
    background-color: #8A8A8A;
    border-color: #8A8A8A;
    cursor: not-allowed;
  }
   
  /* FIN ESTILOS RADIO BUTTONS*/
   
   
  /*CHECKBOX*/
   
  .invesForm_input.invesForm_checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: white;
    transition: all 0.3s ease;
    vertical-align: middle;
  }
   
  .invesForm_input.invesForm_checkbox:checked {
    background-color: var(--color-radio-and-checkbox);
    border-color: var(--color-radio-and-checkbox);
  }
   
  .invesForm_input.invesForm_checkbox:checked::before {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: white;
  }
   
  .invesForm_input.invesForm_checkbox:focus {
    box-shadow: 0 0 0 2px var(--shadow-color)
  }
   
  .invesForm_input.invesForm_checkbox:disabled {
    background-color: #e9ecef;
    border-color: #ced4da;
    cursor: not-allowed;
  }
   
  .invesForm_input.invesForm_checkbox:disabled:checked {
    background-color: #adb5bd;
  }
   
  .invesForm_input.invesForm_checkbox:disabled:checked::before {
    color: #f8f9fa;
  }
   
  /*FIN ESTILOS CHECKBOX*/
   
  /* SELECT */
  .invesForm_select {
    width: 50% !important;
    background-color: var(--background-input) !important;
    border: 0px !important;
    padding: 0px 10px;
    height: 100%;
  }
   
  /*FIN ESTILOS SELECT*/
   
  /*TEXT AREA*/
  textarea {
    overflow: auto;
    overflow-x: hidden;
    background-color: var(--background-input) !important;
  }
   
  input[type="text"]:focus,
  textarea:focus {
    outline: none;
    border-color: transparent;
  }
   
  input[type="text"],
  textarea, input[type="password"]{
    color: #516d8a !important;
    height: calc(1.5em + .75rem + 2px);
    border: 0px !important;
    padding: var(--padding-input) !important;
    background-color: var(--background-input) !important;
    border-radius: 0 !important;
  }

  select {
    border: 0px !important;
    background-color: var(--background-input) !important;
    border-radius: 0 !important;
    height: 40px !important;
  }
   
  textarea::-webkit-scrollbar-track {
    background-color: #F5F5F5;
  }
   
  textarea::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
  }
   
  textarea::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background-color: var(--scroll-bar-color);
  }
   
  /* FIN ESTILOS TEXT AREA*/
   
  /* FILE */
   
  .invesForm_file {
    background-color: var(--background-input) !important;
    height: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #516d8a;
    padding: 20px;
    position: relative;
    overflow: hidden;
  }
   
  .invesForm_file::file-selector-button {
    height: 70%;
    padding: 0 20px;
    margin: 10px;
    margin-bottom: 10px;
    background-color: #002664;
    color: white;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
  }
   
  /*FIN ESTILOS FILE*/
   










.invesForm_formContainer, #form_container, .form-control, .invesForm_input{
  font-family: 'Open Sans', sans-serif;
}

.divOculto{
display: none;
}

.invesForm_formDescription {
  padding: 5% 0% 10% 10%;
  background-image: url(../images/background-form.png);
  background-size: cover;
  font-family: 'Open Sans', sans-serif !important;
}

.invesForm_formDescription > h2 {
  font-size: var(--font-size-title) !important;
  color: var(--font-color-header) !important;
  border: none;
}

.invesForm_formDescription > h3 {
  font-size: var(--font-size-subtitle) !important;
}

#dividing-line {
  border: 1px solid;
  color: var(--main-bg-color);
}

#text-mandatory-fields {
  font-size: var(--font-size-text-mandatory-fields) !important;
  margin-top: 10%;
}

.text-title-group-fields {
  font-size: var(--font-size-text-title-group-fields) !important;
  margin-top: 5%;
  margin-bottom: 5%;
}

.main-container {
  padding: 30px;
}

input[type="checkbox"] + label {
  display: inline;
}
.labelAllLine{
  width: 100% !important;
}
