﻿

/*Vars*/
:root {
    --clr-primary: #00164e;
    --clr-secondary: #5b87da;
    --clr-secondary-90: #dae2f1;
    --clr-secondary-98: #F8F9FC;
    --clr-neutral-33: #5d667e;
    --clr-success: #268D3D;
    --clr-danger: #d10023; 
    --clr-gray: #5B5B5B;
    --ff-primary: 'Montserrat', sans-serif;
  }


  .color-primary {
    color: var(--clr-primary);
  }

  .color-secondary {
    color: var(--clr-secondary);
  }

  .color-danger {
    color: var(--clr-danger);
  }

  .color-white {
    color: white;
  }

  body {
    font-family: var(--ff-primary);
    font-size: 16px;
    color: var(--clr-neutral-33);
    background-color: #F8F8F8;
    /*background-image: url(../assets/bg-body.jpg);*/
    background-size: cover;
  }
  
  
  
  
  
  /*Layout*/
  .mat-stepper-horizontal, .mat-stepper-vertical {
    background-color: transparent;
    color: white;
    
  }


  .mat-stepper-horizontal-line {
    border-color: rgba(255, 255, 255, .5) !important;
    border-width: 0 0 0 2px !important;
    min-height: 58px !important;
    margin: -28px 35px !important;
    border-left-style: solid;
  }

  @media (max-width:991px) {
    .mat-stepper-horizontal-line {
        
        border-width: 2px 0 0 0 !important;
        min-width: 58px !important;
        min-height: 19px !important;
        margin: 0 -28px !important;
        border-left-style: solid;
      }
  }

    .mat-stepper-horizontal > .mat-card /*, .mat-stepper-vertical*/ {
      width: min(960px,90%);
      margin: 0 auto;
    }
  
    
    



  .mat-stepper-horizontal .mat-horizontal-content-container {
    /* width: 65%; */
    flex-grow: 1;
    

  }
   
  
  
    .mat-toolbar .toolbar-title {
      display: none;
      background-color: white;
    }
  
  
  .grid {
    display: grid;
    grid-template-columns: auto 40vw;
    grid-gap: 0;
    height: 100vh;
  }
  
  .grid-item {
    padding: .5rem;
  }
  
    .grid-item:nth-child(1) {
      background-color: #f8f8f8;
      grid-row-start: 1;
      grid-column-start: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
    }
  
    .grid-item:nth-child(2) {
      grid-row-start: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      
      padding-right: 20%;
    }
  
    .grid-item:nth-child(3) {
      background-color: white;
      border-radius: 18px 18px 0 0;
      box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
      grid-row-start: 1;
      grid-column-start: 1;
      width: 100%;
      height: 80%;
      align-self: end;
      justify-self: end;
    }
  




.mat-toolbar {
    background-color: transparent;
    color: white;
    margin-left: 12vw;
    width: min(1400px, 90%);
margin-inline: auto;
    /*width: 80%; margin-left: auto;*/
}

.toolbar-logo { padding-top: 2em; }
.toolbar-login label { 
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    font-family: var(--ff-primary);
}

.toolbar-login label:hover, .toolbar-login label.active { color: rgba(255, 255, 255, 1)}
.toolbar-login label:not(:last-child) {
    margin-right: 0.5em;
}

@media (max-width:991px) {  
    .toolbar-login label { 
        color:var(--clr-primary);
    }

    .toolbar-login label.active {
        color: var(--clr-secondary);
    }
}


.main-content {
    margin-top: 2em;
    width: min(1400px, 90%);
    margin-inline: auto;
}

@media (max-width:991px) {
    .main-content, .mat-toolbar {
    width: 100%;
    }
}

.mat-step-header .mat-step-label.mat-step-label-active:hover {
    opacity: 1;
}

.mat-step-header .mat-step-label.mat-step-label-active {
    color: white;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 1rem;
    opacity: .7;
    
}
.mat-step-label.mat-step-label-active.mat-step-label-selected {
    opacity:1;        
}

.mat-horizontal-stepper-header .mat-step-icon {
    margin-right:18px;
}
.mat-step-header .mat-step-icon:not(.mat-step-header .mat-step-icon-selected):not(.mat-step-icon-state-done) {
    background-color: #9198AC;
    color: white;
}

.mat-step-icon-state-error.mat-step-icon {
    background-color: #eb5873 !important;
}


.mat-stepper-horizontal[_ngcontent-xwy-c10], .mat-stepper-vertical[_ngcontent-xwy-c10] {
    align-items: start;
}

@media (min-width:992px) {
    .mat-stepper-horizontal/*, .mat-stepper-vertical*/ {
      display: flex;
      flex-direction: row-reverse;
      justify-content:center;
      height: calc(100vh-140px);            
      align-items: flex-start;
      margin-top: 1em;
    }
  }



  .mat-horizontal-stepper-header-container {
flex-wrap: wrap;
justify-content: start;
/* flex-direction: column !important; */

}




.mat-tab-link {
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
}
.mat-tab-link:hover {
    background-color: var(--clr-secondary-90);
    /* border-bottom: 2px solid var(--clr-secondary); */
}
.mat-tab-link.active {
    opacity: 1;
    color: var(--clr-primary);
    border-bottom: 2px solid var(--clr-primary);
    background-color: transparent;
}






.mat-tab-nav-bar, .mat-tab-header {
    border-bottom: 2px solid rgba(0,22,78,.15);
    /*width: 80%; margin-left: auto;*/
    /* margin-left: 12vw; */
    width: min(1400px, 96%);
margin-inline: auto;
}

.fondo-forms {
    border-radius: 20px;
    background-color: #fff;
    /* box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.1); */
    box-shadow: 0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);
    padding: 3em;
    

}

.mat-drawer-container {
    color: inherit;
  }

@media (max-width:991px) {
    .formStepper .mat-horizontal-content-container .mat-card { 
        padding: 1.25em;
    }
}

.mat-card > .mat-card-actions:last-child {
    margin-bottom: 0;
}

form[_ngcontent-nrw-c7], form.formDorlet {
    padding: 0;
}


.mat-card-header .mat-card-header-text {
    margin: 0;
}

.mat-card-header .mat-card-title {
    color: var(--clr-primary);
    font-weight: 600;
font-size: 28px;
line-height: 34px;
font-family: var(--ff-primary);
}

.mat-dialog-container {
    padding: 2em;
    border-radius: 1.5em;
    color: var(--clr-neutral-33);
    line-height: 1.2;
    font-size: 15px;
    width: 400px;
    text-align: center;
}




.mat-dialog-title {
    color: var(--clr-primary);
    font-weight: 600;
font-size: 24px;
line-height: 1.1;
font-family: var(--ff-primary);
letter-spacing: -0.015em;
}
.mat-dialog-actions {
    height: auto;
    min-height: unset;
}


.btn-lg {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: normal;
    padding: .65em 1.5em;
    font-family: 'Montserrat' !important;
}
.mat-button, .mat-raised-button, .mat-icon-button, .mat-stroked-button, .mat-flat-button, .mat-fab, .mat-mini-fab {
    font-family: 'Montserrat' !important;
    color: var(--clr-primary);
    border: 0;
}



.btn-rounded {
     border-radius: 30px;
     border: 0;
}

.btn-rounded-left {
    border-radius: 30px 0 0 30px;
}

.btn-rounded-right {
    border-radius:  0 30px 30px 0;
}

.btn-primary {
    background: var(--clr-primary);
    color: white;
}
.btn-secondary {
    background: var(--clr-secondary);
    color: white;
    box-shadow: none !important;
}

.btn-secondary:hover {
    background: var(--clr-primary);
    
}


.btn-success {
    background: var(--clr-success);
    color: white;
    box-shadow: none !important;
}
.btn-gray {
    background: var(--clr-gray);
    color: white;
    box-shadow: none !important;
}

button {
    cursor: default;
}

.btn-link {
    box-shadow: none !important;
    color: var(--clr-primary)
}

.btn-link:hover {
    color: var(--clr-secondary);
}

.btn-next::after {    
    content: "\f061";
    font: normal normal normal 15px/1 FontAwesome;
    font-weight: 400;
    margin-left: .5em;
}

.btn-search::before {    
    content: "\f002";
    font: normal normal normal 15px/1 FontAwesome;
    font-weight: 400;
    margin-right: .5em;
}

.btn-prev::before {    
    content: "\f060";
    font: normal normal normal 15px/1 FontAwesome;
    font-weight: 400;
    margin-right: .5em;
}

.btn-send::after {    
    content: "\f1d8";
    font: normal normal normal 15px/1 FontAwesome;
    font-weight: 400;
    margin-left: .5em;
}


footer {
    display: none;
}

/* .mat-form-field input {
    background: #F3F3F3;
    border: 1px solid #A6AAB4;
    border-radius: 5px;
    padding: .5em;
} */

/*Quitar dichoso border-bottom inputs material*/



/* .mat-form-field-appearance-legacy .mat-form-field-underline {   
    height: 0 !important;
} */

.mat-form-field:not(.mat-paginator-page-size-select) { width: 100%;}



.icon-self-end .mat-form-field-prefix {

    align-self: flex-start;
    padding-top: .5em;
    margin-right: .1em;
}  
  

.mat-form-field-appearance-outline .mat-form-field-outline {
    color: #A6AAB4;
    background-color: #f3f3f3;;

}


.btn-upload-img, .btn-upload-pdf {
    padding-top: 1em;
    padding-bottom: 1em;
    font-weight: 600;
    

}

.btn-upload-img span, .btn-upload-pdf span { 
    display: flex;
    align-items: end;
}

.btn-upload-img i::before, .btn-upload-pdf i::before {
    font-size: 2rem;
    color: var(--clr-secondary);
    margin-right: .5em;
    
}

.btn-upload-img i, .btn-upload-pdf i {
    margin-bottom: .25em;}


    .datos .captcha-container > .image-container img.ng-star-inserted {
        max-width: 72% !important;
      }

.mat-checkbox-layout {
    white-space: normal !important;
}
.mat-checkbox-inner-container { margin: 0 1em 0 !important;}
.mat-checkbox-layout .mat-checkbox-label {
    line-height: normal;
}


    
      
@media (max-width:991px) {  
    
    .fechas, .datos, .captcha, .mat-form-field {
      display: block !important;
    }

    .mat-step-text-label {
        display: block;
    }
    .mat-horizontal-stepper-header-container {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        background-color: var(--clr-primary);
        color: white;
        padding: 0 1em;
    }
    .mat-horizontal-stepper-header .mat-step-icon {
        margin-right: 0;
        margin-bottom: .75em;
    }
    .mat-horizontal-stepper-header { 
        padding: 1.2em 0;
        height: auto;
    }
    .mat-step-header  {
        flex-direction: column;
        justify-content: center;
        
    }
    .mat-step-header .mat-step-label.mat-step-label-active {
        font-size: .75rem;
        font-weight: normal;
        /* margin-right: 1em; */
        max-width: 50px;
        text-align: center;
    }
    .mat-tab-link {
        font-size: .9rem;
        padding: 0 14px;
    }

    .mat-horizontal-content-container {
        padding: 0;
    }

}

@media (max-width: 479px) {
    .mat-horizontal-stepper-header-container {
        justify-content:space-between;
    }
}

.mat-error {
    color: #c22128;
}



.mat-toolbar, .mat-toolbar h1, .mat-toolbar h2, .mat-toolbar h3, .mat-toolbar h4, .mat-toolbar h5, .mat-toolbar h6 {
    font: 500 16px/32px var(--ff-primary),"Helvetica Neue",sans-serif;
}

.mat-paginator-page-size-label {
    width: 100% !important;
  }


  /*helper eo*/

  .d-flex {
    display: flex;
  }

  .align-items-center {
    align-items: center;
  }

.w-100 { width: 100%;}


@media (max-width: 991px) {
    .visible-lg-up {
    display: none;
    }
}

@media (min-width: 992px) {
    .visible-lg-down {
    display: none;
    }
}

.mat-card:not(.fondo-forms) {
    box-shadow: none;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

table.mat-table {
    font-family: var(--ff-primary);
    border-collapse: collapse;
}

th.mat-header-cell {
    background-color: var(--clr-secondary-90);
    color: var(--clr-primary);
    font-weight: bold;
    font-size: 0.8rem;
}

table.mat-table td {
    background-color: var(--clr-secondary-98);
    /* border: 4px solid white; */
    padding: .5em;
}

mat-paginator {
    font-size: 0.8rem;
}


.active[_ngcontent-njx-c12]  {
    background-color: #268D3D;
}


/*BS table responsive*/
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


.mat-drawer-content {
    height: 100vh;
}






