.cardForm-Field50 {
  float: left;
  width: 50%;
}



/* Makes the default card text easier to read */
.jp-card .jp-card-front .jp-card-display, .jp-card .jp-card-back .jp-card-display {
  text-shadow: 0 1px 2px #1D1F20;
}
/* Changes the default styles */
.jp-card .jp-card-front, .jp-card .jp-card-back {
  background: #27ae60!important;
}
.card-container form {
 max-width: 350px;
 text-align: center;
}
.form-container form {
  margin: 10px auto;
}
.form-container input {
  margin: 0 0 10px 0;
  /* padding: 0; */
  font-size: 16px;
  float: left;
  padding: 5px 0;
  box-sizing: border-box;
  webkit-box-shadow: none;
  box-shadow: none;
  /* width: 50%; */
  display: block;
}
input.secondRow {
  float: left;
  display: block;
  width: 100%;
}

.form-container label {
  text-align: left;
  float: left;
  padding: 5px 0 0px 5px;
  width: 100%;
  font-family: arial;
  text-transform: uppercase;
  font-size: 14px;
  /* font-weight: bold; */
}

input.button {
  width: 100%;
  padding: 11px;
  border: none;
  box-shadow: none;
  border-radius: 0;
  /* background: #CCCCCC; */
}
/*input.button:hover {
  background: #27ae60;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}*/
 input:not([type=submit]):not([type=file]) {
   /* omg so much cleaner */
  border: 1px solid #DDD;
    -webkit-box-shadow: 
      inset 0 0 0px  rgba(0,0,0,0.1),
            0 0 0px rgba(0,0,0,0.1); 
    -moz-box-shadow: 
      inset 0 0 0px  rgba(0,0,0,0.1),
            0 0 0px rgba(0,0,0,0.1); 
    box-shadow: 
      inset 0 0 0px  rgba(0,0,0,0.1),
            0 0 0px rgba(0,0,0,0.1); 
    padding: 10px;
}
.form-container input[name="name"]{
  width: 100%;
}
.form-container input[name="number"]{
  width: 100%;
}
.form-container input[name="cvc"]{
  border-left: 0px;
}

.CardDefault, .CardDefault:hover {
  background: gray;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.CardWarning,.CardWarning:hover {
  background: red;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.CardGood, .CardGood:hover {
  background: #27ae60;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-container input.incorrectInfo {
  border: red solid 1px;
}



/* Amine Added This for the popup */

.openBtn {
margin-top: 30px;
/*margin-left: calc(50% - 80px);*/
padding:1em 30px;
text-align: left;
width: 300px;
display: block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #3D9970;
font-size: 26px;
text-decoration: none;
letter-spacing: 1px;
text-transform: uppercase;
color: #fafafa;
z-index: 0;
}
.openBtn:hover {
  opacity: 0.75;cursor:pointer;
}

.obscure {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  content: '';
  background: rgba(9, 9, 9, 0.67);
  z-index: 1;
}

.popup {
width: 55%;
padding: 10px 75px;
transform: translate(-50%, -50%) scale(0.5);
position: absolute;
top: 50%;
left: 50%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 5px;
background: #fff;
text-align: center;
z-index: 3;
}
.popup .closeBtn {
display: inline-block;
position: absolute;
bottom: 20px;
right: 20px;
font-weight: bold;
text-decoration: none;
color: #333;
line-height: 10px;
}

.animationOpen, .animationClose {
  display: block;
  -webkit-transition: all ease .2s;
  transition: all ease .2s;
}

.animationOpen {
  -webkit-transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.animationClose {
	opacity: 0;
  -webkit-transform: translate(-50%, -50%) scale(.5);
  transform: translate(-50%, -50%) scale(.5);
}

@media screen and (max-width: 600px ) {
h1 {
margin-bottom: 10px;
font-size: 22px;
}

h2 {
font-size: 15px;
line-height: 15px;
margin-bottom: 30px;
}
.popup{
width: 100%;
height:100%;
padding: 10px 5%;}
}


.carousel-content {
    color:black;
    display:flex;
    align-items:center;
}