@media (max-width: 767px) {

  .modal-content {
    margin: auto;
    position: fixed ;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none ;
    overflow-y: scroll;
    z-index: 99991 ;
  }

  .madalWhile {
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998 ;
    width: 100%;
    height: 120%;
  }

  .madalWrap  {
    width: 90%;
    height: 250px;
    margin: auto;
    position: fixed ;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border: 2px solid #e60039;
  }

  #modalInner a:hover {
    text-decoration: none;
  }

  #modalInner p {
    padding: 8%;
    text-align: center;
    font-size: 120%;
    font-weight: bold;
  }

  #modalInner p span.txtRed {
    color: #e60039;
  }

  #modalInner p span.txtSmall {
    font-size: 80%;
  }

  .madalWrap ul {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #f5f5f5;
    padding: 5% 0;
    text-align: center;
  }

  .madalWrap ul li {
    width: 35%;
    display: inline-block;
    margin: 0 2%;
    text-align: center;
  }

  .madalWrap ul li a {
    display: block;
    padding: 9% 0;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    color: #fff;
    font-size: 120%;
    font-weight: bold;
    webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -ms-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
  }

  .madalWrap ul li a:hover {
    text-decoration: none;
    opacity: .5;
    -webkit-opacity: .5;
    -moz-opacity: .5;
    filter: alpha(opacity=50);
    -ms-filter: "alpha(opacity=50)";
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -ms-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
  }

  .madalWrap ul li:first-child a {
    background: #e60039;
  }

  .madalWrap ul li:last-child a {
    background: #333;
  }

  #modal-overlay {
    z-index: 1 ;
    display: none ;
    position: fixed ;
    top: 0 ;
    left: 0 ;
    width: 100% ;
    height: 120% ;
    background-color: rgba( 0,0,0, 0.75 ) ;
    z-index: 99990 ;
  }



}

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

  .madalWrap  {
    width: 90%;
    height: 220px;
    margin: auto;
    position: fixed ;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border: 2px solid #e60039;
  }

}

@media (min-width: 768px) {

  .modal-content {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none ;
    z-index: 99991 ;
  }

  .madalWhile {
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998 ;
    width: 100%;
    height: 100%;
  }

  .madalWrap {
    width: 700px;
    height: 300px;
    margin: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999 ;
    background: #fff;
    border: 2px solid #e60039;
  }

  #modalInner p {
    padding: 50px 0;
    text-align: center;
    font-size: 180%;
    font-weight: bold;
  }

  #modalInner p span.txtRed {
    color: #e60039;
  }

  #modalInner p span.txtSmall {
    font-size: 80%;
  }

  .madalWrap ul {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #f5f5f5;
    padding: 40px 0;
    text-align: center;
  }

  .madalWrap ul li {
    width: 35%;
    display: inline-block;
    margin: 0 2%;
    text-align: center;
  }

  .madalWrap ul li a {
    display: block;
    padding: 20px 0;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    color: #fff;
    font-size: 120%;
    font-weight: bold;
    webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -ms-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
  }

  .madalWrap ul li a:hover {
    text-decoration: none;
    opacity: .5;
    -webkit-opacity: .5;
    -moz-opacity: .5;
    filter: alpha(opacity=50);
    -ms-filter: "alpha(opacity=50)";
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -ms-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
  }

  .madalWrap ul li:first-child a {
    background: #e60039;
  }

  .madalWrap ul li:last-child a {
    background: #333;
  }

  #modal-overlay {
    z-index: 1 ;
    display: none ;
    position: fixed ;
    top: 0 ;
    left: 0 ;
    width: 100% ;
    height: 120%;
    background-color: rgba( 0,0,0, 0.75 ) ;
    z-index: 99990 ;

  }

}
