main section form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    line-height: 23px;
}

main section form .hidden {
    display: none;
}

main section form .visible {
    animation: animatezoom 0.6s;
}

main section form .hiddenEmp {
    display: none;
}

main section form .visibleEmp {
    animation: animatezoom 0.6s;
}

main section form .mayus {
    text-transform: uppercase;

}

main section form input::placeholder {
    text-transform: uppercase;
}

main section form .izq,
main section form .der {
    width: 35%;
    margin: 80px 20px;
    border: 1px solid #b8b8b8;
    box-shadow: 2px 2px 10px rgba(146, 146, 146, 0.3);
    box-sizing: border-box;
    padding: 40px;
    border-radius: 2px;
}

main section form input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 20px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #00b1cc;
    outline: none;
}

main section form label {
    display: block;
    margin: 10px 0px;
    color: #00b1cc;
    font-size: 18px;
}

main section form select {
    width: 40%;
    box-sizing: border-box;
    padding: 5px;
    margin: 8px 0px;
    background: #fefefe;
    color: #848484;
    font-size: 16px;
    border: 1.35px solid #00b1cc;
    border-radius: 6px;
}

main section form .institucion {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

main section form .institucion label {
    width: 100%;
}

main section form .institucion input {
    width: auto;
    margin: 0 10px;
    padding: 0;
}

main section form .obligatorios {
    color: red;
    text-align: left;
}

main section form .btns {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

main section form .registrarse,
main section form .cancelar {
    width: 40%;
    box-sizing: border-box;
    padding: 12px 20px;
    margin: 10px;
    border: none;
    border-radius: 12px;
    background-color: #00b1cc;
    color: white;
    font-size: 18px;
    cursor: pointer;
}


main section form button:hover {
    opacity: 0.8;
}

main section form .error {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    margin-top: 20px;
    background: #f3dede;
    border: 1px solid #a94442;
    border-radius: 20px;
    color: #a94442;
    position: relative;
    display: none;
}

main section form .error ul {
   width: 100%;
}

main section form .error ul li {
    list-style: none;
    margin: 5px 0;
}

main section form .error .icon-error {
    margin-right: 10px;
    color: #a94442;
}

main section form .error .close {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 1.25em;
    border-radius: 50%;
    background: #f3dede;
    cursor: pointer;
}

main section .modalB {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.4);
  overflow: scroll;
}

main section .modalB .bienvenido {
  padding: 10px;
  box-sizing: border-box;
  background: rgb(254, 254, 254);
  background: rgba(254, 254, 254, 0.9);
  margin: 8% auto;
  /* 5% from the top, 15% from the bottom and centered */
  width: 35%;
  /* Could be more or less, depending on screen size */
  border: 1px solid #00b1cb;
  box-shadow: 0px 0px 5px rgba(0, 177, 203, .5);
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

main section .modalB .bienvenido span {
  display: block;
  width: 100%;
  text-align: right;
}

main section .modalB .bienvenido span .close {
  font-size: 1.5em;
  color: #FE0303;
  margin-bottom: 20px;
  cursor: pointer;
}

main section .modalB .bienvenido h6 {
  text-align: center;
  font-size: 1.75em;
  color: #00b1cb;
  margin: 20px 0px;
}

main section .modalB .bienvenido p {
  text-align: center;
  line-height: 25px;
  margin: 20px;
}



@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0.5)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0.5)
    }

    to {
        transform: scale(1)
    }
}

@media screen and (max-width: 1180px) {

    main section form .izq,
    main section form .der {
        width: 40%;
    }
}

@media screen and (max-width: 1024px) {

    main section form .izq,
    main section form .der {
        width: 45%;
    }
}

@media screen and (max-width: 960px) {

    main section form .registrarse,
    main section form .cancelar {
        width: 45%;
        margin: 10px;
    }
}

@media screen and (max-width: 824px) {
    main section form .izq,
    main section form .der {
        width: 80%;
        margin: 20px  0;
    }
    
    main section .modalB .bienvenido {
      width: 60%;
    }
}

@media screen and (max-width: 480px) {
    main section form .izq,
    main section form .der {
        width: 100%;
        margin: 20px  0;
    }
    
    main section .modalB .bienvenido {
      width: 100%;
    }
}

@media screen and (max-width: 380px) {
    main section form select {
        width: 70%;
    }
    main section form .registrarse,
    main section form .cancelar {
        width: 70%;
    }
}