
.navbar ul li .active-link{
    color: #fff;
    font-family: 'montserratbold';
}
nav ul li .active-link::after {
    background: #fff;
    width: 100%;
}

.rrhh {
    width: 100%;
    height: 90vh;
    box-sizing: border-box;
    color: #FFF;
    background: #282324 url(../img/header-rrhh.jpg) no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.rrhh h2{
    color: white;
    text-align: left;
    line-height: 49px;
    font-size: 45px;

}
.cv-subtitle {
    font-size: 1.5em;
    margin-top: 16px;
    line-height: 27px;
}
.rrhh .container .col-2 {
    width: 60%;
}
.rrhh .container .col-1  {
    display: flex;
    align-items: center;
    padding-right: 5em;
}
.title-box-rrhh{
    padding-right: 6em;
}
.header-form{
   text-align: center;
   color: #656565;
   font-size: 25px;
   padding: 1.2em 0;
   font-family: 'montserratblack';
   -webkit-box-shadow: 1px 10px 10px -6px rgba(107,35,120,0.2);
    -moz-box-shadow: 1px 10px 10px -6px rgba(107,35,120,0.2);
    box-shadow: 1px 10px 10px -6px rgba(107,35,120,0.2);
}
/*Form*/

.container-formularios{
    border: 1px solid white;
    border-radius: 15px;
    background: #fff;
    -webkit-box-shadow: 7px 13px 36px -6px rgba(107,35,120,0.2);
    -moz-box-shadow: 7px 13px 36px -6px rgba(107,35,120,0.2);
    box-shadow: 7px 13px 36px -6px rgba(107,35,120,0.2);
}
.row-forms {
    width: 500px;
    margin: 0 auto;
}
.input-box {
    display: flex;
    flex-direction: column;
    position: relative;
}
.forms-container {
    padding: 3em;
}
.forms-container>div label {
    display: block;
}
.modal-main label, .title-forms {
    color: #6b2378;
    font-family: 'montserratbold';
    font-size: 0.9em;
}
.input-box input, .input-opciones {
    order: 2;
    padding: 1em 0;
}
.modal-main input, .input-opciones {
    border: none;
    border-bottom: 1px solid #e6e6e6;
    outline: none;
    width: 100%;
    color: #4c4c4c;
    font-family: 'montserratregular';
    font-size: 0.9em;
    transition: 0.2s ease all;
}
.bar {
    width: 100%;
}
.input-correo{
    margin: 2em 0;
}
.enviar-box{
    margin-top: 2em;
    text-align: center;
}
.enviar-cv, .btn-rrhh{
    background: linear-gradient(to right, rgba(171,56,145,1), rgba(78,45,103,1));
    color: white!important;
    font-size: 0.9em;
    width: 300px!important;
    padding: 1.2em;
    border-radius: 25px;
    font-family: 'montserratbold'!important;
    cursor: pointer;
    border: none;
    transition: .2s;
}
.btn-rrhh:hover{
    background: linear-gradient(to right, rgb(196, 67, 166), rgb(94, 51, 128));
    box-shadow: 0px 10px 49px -7px rgb(166, 55, 142, 0.4);
    transition: .2s;
}


.mensaje{
    padding: 1.2em;
    border-radius: 10px;
    font-family: 'montserratregular'!important;  
    background: #f4f4f4; 
    color: #4c4c4c;
    border: none;
    resize: none;
    margin-top: 1em;
    box-sizing: border-box!important;
    border: 1px solid transparent;
}
.mensaje:focus{
    outline: none !important;
    border: 1px solid rgb(231, 231, 231);
    box-sizing: border-box;
    transition: .2s;
}
.mensaje:focus::-webkit-input-placeholder {
    color: transparent;
    padding: 0 0;
    transition: .1s
}

/*Upload Button*/
.subircv-bcontainer {
    margin-top: 2em;
    cursor: pointer;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
    box-shadow: -1px 10px 21px -2px rgba(107,35,120,0.2);
    cursor: pointer;
}
.btn {
    border: 2px solid #fff;
    color: gray;
    background-color: white;
    padding: 1em;
    border-radius: 15px;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
}

.upload-btn-wrapper input{
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    height: 100%;
    cursor: pointer;
}
.upload-icon{
    width: 20px;
}
.icon-upload-container{
    background: #71A829;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    cursor: pointer;
}
.icon-upload-container img{
    position: absolute;
    left: 10px;
    top: 8px;
}
/*Permitir animation*/
.input-box input:focus::-webkit-input-placeholder {
    color: transparent;
    padding: 0 0;
    transition: .1s
}
.input-box input, .input-opciones {
    order: 2;
    padding: 1em 0;
}
.bar {
    width:100%
}
.bar:before, .bar:after 	{
  content:'';
  height:1px;
  width:0;
  bottom:1px;
  position:absolute;
  background:#4C0C61;
  transition: 0.25s ease-out all;
  -moz-transition:0.25s ease-in all;
  -webkit-transition:0.25s ease-in all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%;
}

input:focus ~ .bar:before, input:focus ~ .bar:after {
  width:50%;
}
.highlight {
  position:absolute;
  height:60%;
  width:100px;
  bottom:0;
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* ANIMATIONS IINPUT */
@-webkit-keyframes inputHighlighter {
  from { background:#4C0C61; }
  to   { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
  from { background:#4C0C61; }
  to   { width:0; background:transparent; }
}
@keyframes inputHighlighter {
  from { background:#4C0C61; }
  to   { width:0; background:transparent; }
}


.creditos .container .col-1 p{
    margin-bottom: 3em;
}

.creditos .container .col-1{
    order: 2;
}
.creditos .container .col-2{
    order: 1;
}
.creditos:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 700px;
    height: 100%;
    background: url(../img/left.png) no-repeat left;
    background-size: contain;
    z-index: -1;
}

/**/
.file-upload-container{
    text-align: center;
}
#file-upload-filename{
    font-size: 0.8em;
    color: rgb(173, 173, 173);
    font-family: 'montserratlight';
    margin-left: 2em;
}


@media (min-width: 1000px){
    .rrhh{
        position: relative;
    }
    .capa1{
        z-index: 1;
    }
    .capa2{
        z-index: 2;
    }
    .capa3{
        z-index: 3;
    }
    .bcg-shape {
        position: absolute;
        height: 220px;
        width: 100%;
        bottom: 0;
        left: 0;
    }
    .form-cv{
        position: relative;
        top: 100px;
    }
    .first-box {
        justify-content: flex-start;
    }
    .creditos .container .col-2 {
        width: 50%;
        position: relative;
        left: 50px;
        left: -10px;
    }
    .second-box {
        justify-content: center;
    }
    footer {
        margin-top: 15em;
    }
    .rrhh-creditos .container {
        justify-content: space-around;
    }
    .creditos .container .col-1 {
        padding: 0;
    }
}

@media (max-width: 1000px){
    .rrhh{
        height: auto;
    }
    .rrhh .container{
        flex-direction: column;
    }
    .rrhh .container .col-2 {
        width: 100%; 
    }

    .title-box-rrhh {
        padding-right: 0;
    }
    .form-cv{
        margin-top: 2em;
    }
    .rrhh-creditos .container .col-1{
        margin-top: 3em;
        order: 1;
    }
    .rrhh-creditos .container .col-2{
        margin-top: 3em;
        order: 2;
    }  
    .rrhh h2 {
        margin-top: 2em;
    }  
}
@media (max-width: 800px){

    .forms-container {
        padding: 1em;
    }
    .row-forms{
        width: 100%;
    }
    .rrhh-creditos .container .col-1{
        text-align: center;
    }
    .rrhh .container .col-1{
        text-align: center;
        padding-right:0;
    }
    .rrhh .container .col-1 .title-box-rrhh, .rrhh h2{
        text-align: center;
    }
    .rrhh{
        padding: 2em 1em;
    }
   
}
@media (max-width: 600px){

    .header-form{
        padding: 0.9em 0;
    }
    .header-form p{
        font-size: 0.8em;
        padding: 0 1em;
    }
    .modal-main label, .title-forms {
        font-size: 0.8em;
    }
    .modal-main input, .input-opciones {
        font-size: 0.8em;
    }
    .rrhh-creditos .purple-bold {
        font-size: 16px;
    }
}
@media (max-width: 500px){

    .rrhh h2 {
        font-size: 5vw;
        line-height: 20px;
        width: 90%;
        margin: 0 auto;
        margin-top: 2em;
    }
    .cv-subtitle{
        font-size: 3.5vw;
    }

    .creditos:before {
        content: '';
        position: absolute;
        left: 0;
        top: 100px;
        width: 300px;
        height: 100%;
        background: url(../img/left.png) no-repeat left;
        background-size: contain;
        z-index: -1;
    }
}
