.modal-content {
    background-color:#fff !important;
    -ms-flex-direction:inherit !important;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1050;
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9);
}

.modal-content{
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 700px;
  background-color:#fff !important; -ms-flex-direction:inherit !important;
}

.modal .close {
  color: #0c0c0c;
  position: absolute;
  right: 7px;
  padding: 8px;
  z-index: 10;
  cursor: pointer;
  line-height: 1;
  font-size: 28px;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: .3s;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
 
@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.login-container .form-title {
  padding-bottom: 10px;
}

.form-title, .form-title h2 {
  font-size: 44px;
  line-height: 1.2;
  color: #231f20;
}

.form-subtitle, .form-subtitle h5 {
  font-size: 16px;
}

.form-horizontal input {
  padding-right: 10px;
  padding-left: 10px;
}
  
  /* 100% Image Width on Smaller Screens */  
  
.horizontal-thumbnail .wrapper .nav .nav-items {
  width: 91% !important; 
  top: 60%;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: unset !important;
  flex-direction: unset !important;
  left: 7%;
}

.field-brief-content .rte_content ul li {
  text-indent: 0px !important;
}

.field-brief-content .rte_content p img {
  height: auto !important;
}
.horizontal-thumbnail .wrapper .nav>a.next-text {
  right: -3%;
}

.horizontal-thumbnail .wrapper .nav>a {
  display: none  !important;
}


.horizontal-thumbnail .wrapper {
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin-bottom: 10px;
}
  
@media (min-width: 414px) {
  .unsubscribe-form{
      min-height: 77vh;
  }
}

@media (max-width: 414px) {
  .rte_content iframe{
    width:100%;
  }
  
  .horizontal-thumbnail {
    margin-bottom: 0px !important;
  }
  
  .horizontal-thumbnail .wrapper .nav .nav-items {
    width: 91%;
    margin-top: 0 !important;
    margin-left: 16px !important;
  }

  .horizontal-thumbnail {
    margin-bottom: 0 !important;
  }

  .horizontal-thumbnail .wrapper ul.slides {
    margin-top: 0 !important;
  }

  .field-brief-content .rte_content span, .field-brief-content .rte_content p {
    clear: both; line-height:1.4;
  }
}


.on-page-editor .inquiry-form input[type="submit"] {
  background: #c50b20;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none !important;
  -Webkit-appearance: none;
  font-weight: 700;
  letter-spacing: -.5px;
  text-align: center;
  font-size: 15px;
  display: inline-block;
  transition: 0.4s;
  padding: 10px 20px;
  text-transform: uppercase;
  position: relative;
  z-index: 10;
  transition: 0.2s;
  border: none;
  margin-right: 15px;
  margin-bottom: 15px;
  border-radius: 0;    
}

.on-page-editor .inquiry-form input[type="submit"]:hover {
  letter-spacing: 0.1px;
  transition: 0.2s;
  color: #fff;
  text-decoration: none;
  box-shadow: 3px 5px 10px #999;
  text-indent: -4px;
}
  
.col-12.post-content ul li {
  font-size: 20px;
}
  /*for zoom img */
.zoomImg{cursor:pointer; float: right;}
.popShadow{ width:100%; height:100vh; position:fixed; top:0%; left:0%; z-index:99999; background-color:transparent; opacity:0.5; display:none; }
.popupShow{  max-width:1000px;  position:absolute;  z-index:999999; display:none; background: #fff; margin: 0; box-shadow: rgba(0, 0, 0, 0.8) 0px 5px 25px;}
.closeBtn {
  cursor:pointer;
  top: 10px;
  right: 3px;
  position: absolute;
  border: 0;
  font-size: 27px;
  padding: 0;
  margin: 0 2px 0 0 ;
  line-height: 0;
  color: #999;
  font-weight: bold;
  min-height: 14px;
  background:transparent;
}
.popupShow .closeBtn:hover{color:#d00;}
.popupShow .imgChagne{width:100%; max-height: 100%;}

/* for right Side text*/
.rtPicCont{ margin: 4px 0px 15px 0px; background-color: white; display: flex; flex-direction: column;}
.rtPicCont img, .rtPicCont .zoomImg{float: none;}
.rtPicCont div{font-weight: 400; font-size: 12px; line-height: 1.4em; margin-top:0px; color: #231F20; display: inline-block;}
.rtPicCont div a{ color:#e00; text-decoration: none; display: inline-block; border-bottom:2px dotted #BBB;}
.rtPicCont div a:hover{ color: #e00; border-bottom: 1px solid #D44 ; text-decoration: none !important; }
.rtPicCont.imgLeft{float:left; margin-right:15px;}
.rtPicCont.imgRight{float:right; margin-left:15px;}
.rtPicCont.imgCenter{float: none; margin-bottom: 30px;}


/* graying out state fields */
.dis_fields_gryOut label {
  background: none transparent !important;
}

.dis_fields_gryOut input, .dis_fields_gryOut select {
  background: #dddddd !important;
}

.dis_fields_gryOut input.error {
  margin-bottom: 15px;
}

.show {
  display: block;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

@media (min-width: 576px){
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
  }
}

.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  content: "";
}

.modal#userlogin, .modal#forgot-password {
  padding-top: 0 !important;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0;
  pointer-events: none;
}

.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}

@media (min-width: 576px){
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
}

@media (min-width: 576px){
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
}

.modal .modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) !important;
  width: 50%;
  max-width: 50%;
}

.modal.fade .modal-dialog{
  transition: transform .3s ease-out,-webkit-transform .3s ease-out;
}

@media (max-width: 992px){
  .modal .modal-dialog {
    width: auto;
    max-width: inherit;
  }
}

.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}

.post-content ul{
  margin-left: 0px;
}

@media (max-width: 1024px){
  #myModalLandingSelector .modal-dialog {
    width: 80%;
    max-width: 80%;
  }

  #distributorPopup .modal-dialog {
    width: 80%;
    max-width: 80%;
  }

  #myModalLandingSelector .modal-content {
    width: 100%;
  }

  #distributorPopup .modal-content {
    width: 100%;
  }
}

#myModalLandingSelector .modal-header .close {
  position: absolute;
  right: 5px !important;
  top: 5px;
}

#distributorPopup .modal-header .close {
  position: absolute;
  right: 5px !important;
  top: 5px;
}

a.btnbasesite, .btnbasesite{
  color: #fff;
  background: #d00;
  height: 44px;
  border: none;
  outline: none;
  border-radius: 0;
  padding: 10px 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 10px;
}

a.btnbasesite:hover, .btnbasesite:hover{
  color: #fff;
  background: #d00;
  border: none;
}

@media (max-width: 767px){
  #myModalLandingSelector .modal-dialog .modal-footer .btnbasesite {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  #distributorPopup .modal-footer .apiLocation{
    margin-right: 10px;
  }
  #distributorPopup.modal .modal-dialog {
    width: 100%;
    max-width: 95%;
    left: 50%;
  }
}