
#thanks-modal-two {
  background: rgba(0, 0, 0, 0.8);
}


#thanks-modal-two .modal-dialog {
max-width: 643px !important;
}
#thanks-modal-two .modal-dialog .modal-content {
background-color: #bfc2c7;
background-size: cover;
background-repeat: no-repeat;
width: 100%;
height: auto;
border: none;
border-radius: 0 !important;
overflow: hidden;
}
#thanks-modal-two .modal-dialog .modal-content .modal-header {
border: none;
background: transparent;
padding: 0;
}
#thanks-modal-two .modal-dialog .modal-content .modal-header button {
border: none;
outline: none;
opacity: 1;
display: block;
margin: 0;
padding: 0;
width: 100%;
background-color: #bfc2c7;
}
#thanks-modal-two .modal-dialog .modal-content .modal-header button span {
color: #FFFFFF;
text-align: right;
float: right;
padding: 0 10px 0 0;
font-size: 30px;
}
#thanks-modal-two .modal-dialog .modal-content .modal-footer {
border: none;
height: 50px;
background: #FFFFFF;
border-radius: 0;
overflow: hidden;
display: block;
padding: 0;
}
#thanks-modal-two .modal-dialog .modal-content .modal-footer:after {
position: absolute;
content: "";
width: 57%;
height: 50px;
transform: skew(36deg);
-webkit-transform: skew(36deg);
-moz-transform: skew(36deg);
-o-transform: skew(36deg);
background: #e17314;
left: -20px;
bottom: 0;
}
#thanks-modal-two .modal-dialog .modal-content .modal-footer h2 {
position: relative;
z-index: 1;
font-size: 17px;
color: #fff;
left: 25%;
transform: translateX(-50%);
display: inline-block;
font-weight: 700;
text-transform: uppercase;
margin: 12px 0;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body {
padding: 0;
}
#thanks-modal-two .modal-dialog .modal-content .body-inner {
display: flex;
width: 100%;
}
#thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right {
width: 100%;
display: inline-block;
padding: 136px 27px;
position: relative;
text-align: center;
}
#thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right h3 {
font-size: 21px;
font-weight: 600;
color: #000000;
}
#thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right h4 {
font-size: 18px;
margin-top: 15px;
font-weight: 400;
color: #000;
text-align: center;
}
/* #thanks-modal-two .modal-dialog {
  max-width: 780px !important;
  margin: 0 auto;
}
#thanks-modal-two .modal-dialog .modal-content {
  background: #e17314;
  width: 100%;
  height: auto;
  border: none;
  border-radius: 0 !important;
  position: relative;
}
#thanks-modal-two .modal-dialog .modal-content .modal-header {
  position: absolute;
  border: none;
  background: transparent;
  padding: 0;
  right: 0;
  z-index: 1;
}
#thanks-modal-two .modal-dialog .modal-content .modal-header button {
  border: none;
  outline: none;
  opacity: 1;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}
#thanks-modal-two .modal-dialog .modal-content .modal-header button span {
  color: #FFFFFF;
  text-align: right;
  float: right;
  padding: 0 10px 0 0;
  font-size: 30px;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body {
  padding: 15px 15px 0 15px;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-right {
  position: relative;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-right img {
  max-height: 345px;
  display: block;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-right h3 {
  position: absolute;
  right: -100px;
  top: 58%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 30px;
  text-transform: capitalize;
  margin-bottom: 0;
  color: #FFFFFF;
  width: 310px;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-left{
  padding-left: 30px;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-left, #thanks-modal-two .modal-dialog .modal-content .modal-body .inner-right {
  position: relative;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-left h2, #thanks-modal-two .modal-dialog .modal-content .modal-body .inner-right h2 {
  font-size: 26px;
  margin-top: 25px;
  color: #FFFFFF;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-left p, #thanks-modal-two .modal-dialog .modal-content .modal-body .inner-right p {
  font-size: 18px;
  color: #FFFFFF;
} */

@media (max-width: 576px) {
  #thanks-modal-two .modal-dialog .modal-content .modal-footer h2{
    left: auto;
    text-align: center;
    transform: none;
  }

  #thanks-modal-two .modal-dialog .modal-content {
    background: #bfc2c7;
    width: 100%;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner {
    display: block;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-left, #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right {
    width: 100%;
    padding: 15px;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-left img, #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right img {
    max-width: 75%;
    display: block;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-left img.remax-logo, #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right img.remax-logo {
    max-width: 75px !important;
    right: 15px;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-left h3, #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right h3 {
    text-align: center;
    margin-top: 0;
    font-size: 15px;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-left h4, #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right h4{
    text-align: center;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-left input, #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right input {
    height: 45px !important;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner p.name {
    text-transform: uppercase;
    background: #BF9447;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 23px;
    height: 45px;
    padding: 7px 0;
    position: relative;
    bottom: 8px;
    margin-bottom: 5px;
  }
  #thanks-modal-two .modal-dialog .modal-content .modal-footer {
    /* display: none; */
    text-align: center;
  }
  #thanks-modal-two .modal-dialog .modal-content .modal-footer:after {
    width: 111%;
  }
  #thanks-modal-two .modal-dialog .modal-content .modal-header button span {
    color: #393939;
  }
  #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-left h3, #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right h3{
    color:#000000;
   }
     #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-left h4, #thanks-modal-two .modal-dialog .modal-content .body-inner .inner-right h4{
     color:#000000;
     font-size: 15px;
     }

/* #thanks-modal-two .modal-dialog .modal-content .modal-body .mobile-row {
  flex-direction: column-reverse;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .border-mobile {
  border-top: 1px solid #FFFFFF;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-right img {
  margin: 0 auto;
  max-height: 300px;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-right h3 {
  font-size: 25px;
  text-align: center;
  margin: 0;
  width: 270px;
  right: -120px;
  top: 50%;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-left h2 {
  margin-top: 15px;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-left p {
  font-size: 16px;
}
#thanks-modal-two .modal-dialog .modal-content .modal-body .inner-left{
  padding-left: 0 !important;
}*/

} 
@media (min-width: 768px) and (max-width: 991px) {
  #thanks-modal-two {
    overflow: auto;
}
}






















#thanks-modal-one {
  background: rgba(0, 0, 0, 0.8);
}


#thanks-modal-one .modal-dialog {
max-width: 643px !important;
}
#thanks-modal-one .modal-dialog .modal-content {
background-color: #bfc2c7;
background-size: cover;
background-repeat: no-repeat;
width: 100%;
height: auto;
border: none;
border-radius: 0 !important;
overflow: hidden;
}
#thanks-modal-one .modal-dialog .modal-content .modal-header {
border: none;
background: transparent;
padding: 0;
}
#thanks-modal-one .modal-dialog .modal-content .modal-header button {
border: none;
outline: none;
opacity: 1;
display: block;
margin: 0;
padding: 0;
width: 100%;
background-color: #bfc2c7;
}
#thanks-modal-one .modal-dialog .modal-content .modal-header button span {
color: #FFFFFF;
text-align: right;
float: right;
padding: 0 10px 0 0;
font-size: 30px;
}
#thanks-modal-one .modal-dialog .modal-content .modal-footer {
border: none;
height: 50px;
background: #FFFFFF;
border-radius: 0;
overflow: hidden;
display: block;
padding: 0;
}
#thanks-modal-one .modal-dialog .modal-content .modal-footer:after {
position: absolute;
content: "";
width: 57%;
height: 50px;
transform: skew(36deg);
-webkit-transform: skew(36deg);
-moz-transform: skew(36deg);
-o-transform: skew(36deg);
background: #e17314;
left: -20px;
bottom: 0;
}
#thanks-modal-one .modal-dialog .modal-content .modal-footer h2 {
position: relative;
z-index: 1;
font-size: 17px;
color: #fff;
left: 25%;
transform: translateX(-50%);
display: inline-block;
font-weight: 700;
text-transform: uppercase;
margin: 12px 0;
}
#thanks-modal-one .modal-dialog .modal-content .modal-body {
padding: 0;
}
#thanks-modal-one .modal-dialog .modal-content .body-inner {
display: flex;
width: 100%;
}
#thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right {
width: 100%;
display: inline-block;
padding: 136px 27px;
position: relative;
text-align: center;
}
#thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right h3 {
font-size: 21px;
font-weight: 600;
color: #000000;
}
#thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right h4 {
font-size: 18px;
margin-top: 15px;
font-weight: 400;
color: #000;
text-align: center;
}


@media (max-width: 576px) {
  #thanks-modal-one .modal-dialog .modal-content .modal-footer h2{
    left: auto;
    text-align: center;
    transform: none;
  }

  #thanks-modal-one .modal-dialog .modal-content {
    background: #bfc2c7;
    width: 100%;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner {
    display: block;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-left, #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right {
    width: 100%;
    padding: 15px;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-left img, #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right img {
    max-width: 75%;
    display: block;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-left img.remax-logo, #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right img.remax-logo {
    max-width: 75px !important;
    right: 15px;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-left h3, #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right h3 {
    text-align: center;
    margin-top: 0;
    font-size: 15px;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-left h4, #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right h4{
    text-align: center;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-left input, #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right input {
    height: 45px !important;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner p.name {
    text-transform: uppercase;
    background: #BF9447;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 23px;
    height: 45px;
    padding: 7px 0;
    position: relative;
    bottom: 8px;
    margin-bottom: 5px;
  }
  #thanks-modal-one .modal-dialog .modal-content .modal-footer {
    /* display: none; */
    text-align: center;
  }
  #thanks-modal-one .modal-dialog .modal-content .modal-footer:after {
    width: 111%;
  }
  #thanks-modal-one .modal-dialog .modal-content .modal-header button span {
    color: #393939;
  }
  #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-left h3, #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right h3{
    color:#000000;
    font-size: 22px;
   }
     #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-left h4, #thanks-modal-one .modal-dialog .modal-content .body-inner .inner-right h4{
     color:#000000;
     font-size: 18px;
     }

    }