.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
  .modal.in .modal-dialog {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}
    .modal-title span{
    font-size:20px;
    color:#333;
      display:block;
      text-align:left;
      line-height:30px;
        font-weight:bold;
      padding-left:5px;
    }
.modal-title .xq{
    font-size: 13px;
    color: #999;
    font-weight: normal;
    line-height: 20px;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 5px;
}
.modal-content{
margin:auto;}
    #mymodal-agreey .modal-body .agree-main h5 {
    font-size: 13px;
    color: #d10000;
    text-align: left;
    line-height: 24px;
} 
     #mymodal-agrees .modal-body .agree-main h5 {
    font-size: 13px;
    color: #d10000;
    text-align: left;
    line-height: 24px;
}  
    #mymodal-agree .modal-body .agree-main h5 {
    font-size: 13px;
    color: #d10000;
    text-align: left;
    line-height: 24px;
}
.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;

  position: relative;
width:100%;
  height:100%;
      display: flex;
    align-items: center;
  margin:auto;
}

.modal-dialog {
    width: 500px;
}


.modal-dialog {
    width: 600px;
    margin: 30px auto;
}


.modal-dialog {
    position: relative;
    width: auto;
    margin: 0px;
}

.modal-content {
    -webkit-box-shadow:none;
    box-shadow:none
}

.modal-content {
    border-radius: 6px;
    width: 100%;
    margin: auto;
    max-width: 300px;

}  
  .modal-header {
    margin-left:15px;
    margin-right:15px;
    padding-top:10px;
    padding-bottom: 15px;
 border-bottom: #dedede 1px dashed;
}  
  
   #mymodal-agreey .modal-body {
    padding: 0px;
}
   #mymodal-agrees .modal-body {
    padding: 0px;
}
    #mymodal-agree .modal-body {
    padding: 0px;
      padding-top:0px;
}

.modal-body {
    background:none;
    padding: 30px 0;
    text-align: center;
}

.modal-body {
    position: relative;
    padding: 15px;
}
   #mymodal-agreey .modal-body .agree-main p {
    font-size: 13px;
    color: #808080;
    text-align: left;
    line-height: 24px;
}
   #mymodal-agrees .modal-body .agree-main p {
    font-size: 13px;
    color: #808080;
    text-align: left;
    line-height: 24px;
}
    #mymodal-agree .modal-body .agree-main p {
    font-size: 13px;
    color: #808080;
    text-align: left;
    line-height: 24px;
}
   #mymodal-agreey .modal-body .agree-main h6 {
    font-size: 13px;
    text-align: left;
    font-weight: bold;
}
   #mymodal-agrees .modal-body .agree-main h6 {
    font-size: 13px;
    text-align: left;
    font-weight: bold;
}
    #mymodal-agree .modal-body .agree-main h6 {
    font-size: 13px;
    text-align: left;
    font-weight: bold;
}

    .modal-footer {
    text-align: center;
    border-top: none;
}

.modal-footer {
    padding: 15px;
    text-align: center;
  display:none;
 
}
    .modal-footer .btn.btn-primary {
  background: #edb207;
    border: none;
    text-align: center;
    margin: auto;
    padding: 10px;
    color: #fff;
      border-radius:10px;
}

.modal-footer .btn {
    width: 100px;
    outline: none;
}

    
 .modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.fade.in {
    opacity: 1;
}

.modal {
    top: 20%;
}
#mymodal-agreey{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
  background:rgba(0, 0, 0, 0.65);
 
}
#mymodal-agrees{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;

    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
  background:rgba(0, 0, 0, 0.65);

}

#mymodal-agree{
    position: fixed;
    z-index: 99;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background:rgba(0, 0, 0, 0.9);
    width: 100%;
    height:100%;
  top:0;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}
 .modal-header .close{
    display:block;
   font-size:40px;
    }

@media only screen and (max-width: 768px){
  #mymodal-agree{
z-index:999999999 !important;
  }
  
  #c_portalresebizads_banner-16037819659182830 {
    width: auto;
    max-width: none;
    min-width: 300px;
    height: auto;
    max-height: none;
    min-height: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    display: none;
}
  
  
  
}
