.container-contacto{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 100px auto;
}
body {
    font-family: 'Roboto', sans-serif;
    
}
.margenesArriba {
    margin-top: 60px;
    
}


.margenAbajo {
    margin-bottom: 2em;
}

.text-contacto-h1{
    margin: 5px auto;
    /*color: #3B536D;*/
    font-size: 40px;
    font-weight: 500;
    line-height: 47px;
    letter-spacing: 0.48px;
    text-align: center;
}

.text-contacto-p {
    color: #747474;
    font-size: 18px;
    font-weight: 300;
    line-height: 19px;
    letter-spacing: 0.32px;
    text-align: center;
    max-width: 500px;
    margin: 5px auto;
}
#contacto{
    
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 9px 15px #00000029;
    border-radius: 6px;
    margin: 40px auto;
    padding: 50px 100px;
}

.text-contacto-h2{
    width: 100%;
    color: #707070;
    font-size: 18px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.8px;
    text-align: center;
    margin: 20px auto;
}

#contacto div{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 350px;
}
.form-contacto-label {
    color: #707070;
    font-size: 18px;
    font-weight: 300;
    line-height: 19px;
    letter-spacing: 0px;
    margin-top: 10px;
}
.form-contacto-input {
    width: 100%;
    color: #4A4A4A;
    font-size: 18px;
    font-weight: lighter;
    line-height: 19px;
    letter-spacing: 0px;
    border: none;
    border-bottom: 1px solid #707070;
    outline: none;
}

.form-contacto-text-area {
    width: 100%;
    height: 100px;
    border: 1px solid #707070;
    border-radius: 6px;
    outline: none;
    resize: none;
    font-size: 18px;
    color: #203348;
}
form input[type="submit"].btn-primary{
    margin: 50px auto;
}
p.text_obligatorio {
    font-weight: lighter;
    margin-right: 24%;
    color: #888;
    font-size: 18px;
}
input.invalid {
    color: #FF4B4B;
    font-weight: 300;
    border-bottom: 1px solid #FF4B4B;
}
textarea.invalidText {
    color: #FF4B4B;
    font-weight: 300;
    border: 1px solid #FF4B4B;
}

/**/
.btn_contacto {
    width: 352px;
    height: 66px;
    outline: none;
    font-weight: 400;
    letter-spacing: 0px;
}
.btn_contacto:hover{
    background-color: #2F629A;
    outline: none;
}
/*NUEVOS FORMULARIOS SELECT*/
select {
    display: block;
    /*margin: 0 auto;*/
    margin: 20px 0;
    color: #989A9B;
    background-color: white;
    border-right: none;
    border-left: none;
    border-top: none;
    font-size: 25px;
    font-weight: 500;
}
select.invalid{
    border-bottom: 1px solid #FF4B4B;
}
.div_input_contact{
    margin: 20px 0;
}
.area_form_contacto {
    text-align: center;
    display: flex;
    flex-flow: column-reverse;
    margin-bottom: 2em;
    width: 100%;
    height: 5px;
    margin-top: 50px;
}
input.data_input_contacto { /*Introduce texto*/
    font-weight: lighter;
    color: #989A9B;
    text-align: left;
}

input.data_input_contacto::placeholder{
    text-align: left;
}

input[type=date] {
    width: 100%;
    font-size: 18px;
    font-weight: lighter;
    color: #203348;
}
input[type=text].data_input_contacto {
    width: 100%;
    font-size: 16px;
    font-weight: lighter;
}
input[type=text] {
    fill: none;
    border-top: none;
    border-right: none;
    border-left: none;
    text-align: left;
}
input:focus {
    outline: 0;
    border-bottom: 2px solid #203348;
}
/*LABEL*/
label.head_label, label.bottom_label1 {
    padding: 8px 0;
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 300;
    display: inline; /*none*/
    color: #989A9B;
    text-align: left;
    -webkit-animation: silo-fade 0.2s;
    -moz-animation: silo-fade 0.2s;
    animation: silo-fade 0.2s;
}

input.invalid + label.head_label, input:focus + label.head_label, input:not(:placeholder-shown) + label.head_label {
    display: block;
}

input.invalid + label.head_label + label.bottom_label1 {
    display: block;
    color: #FF4B4B;
    font-weight: 500;
    position: relative;
}

input:focus::-webkit-input-placeholder {
    opacity: 0;
}

input.valid {
    color: #203348;
    font-weight: 500;
}

input.invalid {
    color: #FF4B4B;
    font-weight: 300;
    border-bottom: 1px solid #FF4B4B;
}

input.invalid + label.head_label {
    color: #989A9B;
}    

input.quantity-field {
    border: 1.5px solid #C7C7C7;
    text-align: center;
}

#motivoCancela, #motivo_cuenta_Cancela, #motivo_cuenta_Reactiva, #nombreCobertura_Contratar, #datoEditar {
    height: auto;
    margin: 20px 0;
}

input.invalid + label.head_label + label.bottom_label1 {
    display: block;
    color: #FF4B4B;
    font-weight: 500;
    position: relative;
}

label.bottom_label1 {
    display: block;
    color: #FF4B4B;
    font-weight: 500;
    position: relative;
    padding: 0;
    font-size: 18px;
}

textarea.invalid {
    color: #FF4B4B;
    font-weight: 300;
    border: 1px solid #FF4B4B;
    font-size: 18px;
}

.bottom_label1 {
    display: block;
    color: #FF4B4B;
    font-weight: 500;
    position: relative;
    font-size: 18px;
}
/*ALERT*/
#screen_alert_select {
    background-color: white;
    width: 650px;
    height: 440px;
    position: fixed;
    border-radius: 5px;
    text-align: center;
    z-index: 5001;
    top: calc(58% - 250px);
    left: calc(45% - 250px);
    display: none;
}
#screen_alert_select2 {
    background-color: white;
    width: 650px;
    height: 365px;
    position: fixed;
    border-radius: 5px;
    text-align: center;
    z-index: 5001;
    top: calc(58% - 250px);
    left: calc(45% - 250px);
    display: none;
}
#msn_alert_select, #msn_alert_select2 {
    font-size: 18px;
    margin: 40px 30px;
    text-align: justify;
}

.btns_select {
    height: 45px;
    /*background: #5F9FE5 0% 0% no-repeat padding-box;*/
    border-radius: 4px;
    border: 1px solid #5F9FE5;
    opacity: 1;
    text-align: center;
    font: Bold 18px/10px Roboto;
    letter-spacing: 0.25px;
    color: #FFFFFF;
}
/*SPINNER*/
#cover {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    z-index: 110;
    width: 100%;
    height: 100%;
    display: none;
}

.spinnerScreen {
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    z-index: 110;
    display: none;
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #203348;
    width: 70px;
    height: 70px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}
/*  || ANIMATIONS  */

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* MEDIA QUERIES */
@media only screen and (max-width: 600px) {

    .container-contacto{
        margin: 50px auto;
    }
    
    #contacto{
        width: 100%;
        padding: 20px;
    }
        
    #contacto div{
        width: 100%;
    }
    #rc-imageselect, #RecaptchaField1 {
        transform: scale(0.77);
        -webkit-transform: scale(0.77);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
    /**/
    input::placeholder {
        font-size: 18px;
    }

    input.invalid + label.head_label + label.bottom_label1 {
        top: 96px;
    }
    .div_input_contact{
        width:100%;
    }

    label.bottom_label1 {
        font-size: 16px;
    }

    textarea.invalid {
        font-size: 16px;
    }

    .bottom_label1 {
        font-size: 16px;
    }

    #screen_alert_select {
        width: 365px;
        height: 580px;
        top: calc(45% - 250px);
        left: calc(68% - 250px);
    }
    #msn_alert_select, #msn_alert_select2 {
        font-size: 16px;
    }
    .btns_select {
        margin: 0px 0 10px 0;
        font-size: 16px;
        width: 205px;
    }

    #screen_alert_select2 {
        width: 400px;
        height: 510px;
        top: calc(50% - 250px);
        left: calc(62% - 250px);
    }
}

@media only screen and (min-width: 600px) {

    .container-contacto{
        margin: 50px auto;
    }
    
    #contacto{
        width: 100%;
        padding: 20px;
    }
        
    #contacto div{
        width: 90%;
    }
    input.controls {
        width: 95%;
    }

    input.invalid + label.head_label + label.bottom_label1 {
        top: 96px;
        width: 100%;
    }
    .div_input_contact {
        width: 100% !important;
    }
    label.bottom_label1 {
        font-size: 18px;
    }

    textarea.invalid {
        font-size: 18px;
    }

    .bottom_label1 {
        font-size: 18px;
    }
    #contacto div {
        width: 100%;
    }
    #screen_alert_select {
        width: 580px;
        height: 540px;
        top: calc(50% - 250px);
        left: calc(44% - 250px);
    }
    #msn_alert_select, #msn_alert_select2 {
        font-size: 18px;
    }
    .btns_select {
        margin: 0px 0 10px 0;
        font-size: 18px;
        width: 280px;
    }

    #screen_alert_select2 {
        width: 570px;
        height: 490px;
        z-index: 5001;
        top: calc(52% - 250px);
        left: calc(46% - 250px);
    }
}
@media only screen and (min-width: 992px) {

    .container-contacto{
        margin: 100px auto;
    }
    
    #contacto{
        width: 80%;
        padding: 20px;
    }
        
    #contacto div{
        width: 100%;
    }

    #screen_alert_select {
        width: 650px;
        height: 440px;
        top: calc(58% - 250px);
        left: calc(45% - 250px);
    }
    .btns_select {
        margin: 0px 0 0px 0;
        width: auto;
    }
    #screen_alert_select2 {
        width: 650px;
        height: 365px;
        top: calc(58% - 250px);
        left: calc(45% - 250px);

    }
}