/* Css for the form */
/* Fix the button on the left side of the page */

/* Position the Popup form */
.login-popup {
  position: relative;
  text-align: center;
  width: 100%;
}
/* Hide the Popup form */
.form-popup {
  background: white;
  z-index: 9;
}
/* Styles for the form container */

/* Hover effects for buttons */
.form-container .btn:hover,
.open-button:hover {
  opacity: 1;
}
/* FORM ELEMENTS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form h1 {
  margin-bottom: 1.5rem;
}

.my-form li,
.my-form .grid > *:not(:last-child) {
  margin-bottom: 1.5rem;
}

.my-form select,
.my-form input,
.my-form textarea {
  width: 100%;
  line-height: 1.5;
  padding: 15px 10px;
  border: 1px solid var(--borderFormEls);
  color: var(--white);
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.14),
    0 7px 10px -5px rgba(0, 188, 212, 0.4) !important;
}

.my-form textarea {
  height: 170px;
}

.my-form ::placeholder {
  color: inherit;
  /*Fix opacity issue on Firefox*/
  opacity: 1;
}

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus,
.my-form button:enabled:hover,
.my-form button:focus,
.my-form input[type="checkbox"]:focus + label {
  background: var(--bgFormElsFocus);
}

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus {
  transform: scale(1.02);
}

.my-form *:required,
.my-form select {
  border: none;
  color: black;
  background-repeat: no-repeat;
  background-position: center right 12px;
  background-size: 10px 10px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.14),
    0 7px 10px -5px rgba(0, 188, 212, 0.4) !important;
}

.my-form *:required {
  color: black;
  border: none;
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg);
}

.my-form *:disabled {
  cursor: default;
  filter: blur(2px);
}

/* FORM BTNS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form .required-msg {
  display: none;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg)
    no-repeat center left / 10px 10px;
  padding-left: 20px;
}

.my-form .btn-grid {
  position: relative;
  overflow: hidden;
  transition: filter 0.2s;
}

.my-form button {
  font-weight: bold;
}

.my-form button > * {
  display: inline-block;
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.my-form button .back {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-110%, -50%);
}

.my-form button:enabled:hover .back,
.my-form button:focus .back {
  transform: translate(-50%, -50%);
}

.my-form button:enabled:hover .front,
.my-form button:focus .front {
  transform: translateX(110%);
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Custom CSS */
input, input[type="text"], input[type="email"], input[type="search"], input[type="password"], textarea{
  float: none;
}
.my-form li{
  margin-bottom: 1rem;
  text-align: left;
}
form label.error {
  color: #ff0000;
  font-size: 13px;
}
.my-form input.valid,
.my-form textarea.valid{
   background-image:url("../images/success.svg");
   background-repeat: no-repeat;
   background-size: 18px;
}
.my-form textarea.valid{
  background-position:top 10px right 15px;
}
.my-form input.valid:focus{
 background: none;
}
#success,
#error {
    display: none;
    font-size: 15px;
    margin-bottom: 15px;
}
#success span,
#erro span {
    display: block;
}

#success span {
    color:#4CAF50;
}

#error span {
    color:#F44336;
}
.modal-content{
  border-radius: 2px;
}
.success-modal{
    padding: 50px;
    text-align: center;
    display:none;
}
.success-modal span{
 display: block;
}
.success-modal span img{
  width: 100px;
  margin: 0 auto;
  display: block;
}
.success-modal h4{
  margin: 15px 0;
}
.success-modal p{
  margin: 0;
  line-height: 1.6em;
}