.flex {
    display: flex;
}


.container-modal{
position: fixed;
    z-index: 40000;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    background-color: rgba(0,0,0,.7);
    opacity: 0;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
}
.modal{
 
  margin: 0 auto;
  position: fixed;
  z-index: 40001;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #000;
  margin-top: 30px;
  margin-left: 10%;

  animation-name: fadeIn_Modal;
  animation-duration: 0.8s;
 
}
.modal .m-t-8 {
    margin-top: 8px;
}
.modal .f-s-p-24 {
    font-size: 24px;
    line-height: 32px;
}
.modal .flex-between {
    justify-content: space-between;
}
.modal-wrapper{
      outline: none;
    width: 100%;
    margin: 100px auto;

}
 .modal-wrapper {
    max-width: 600px;
}
.modal-header{
  width: 100%;
 
  border-radius: 10px 10px 0px 0px;
  border-bottom: 1px solid #ebebeb;
  display: flex; 
  padding: 10px 25px;
  box-sizing: border-box;
      align-items: center;
    justify-content: space-between;
  
}

.modal-header span{
  text-decoration: none;
  float: right;
  line-height: 32px;
  cursor: pointer;
  color: #aaa;
   box-sizing: border-box;;
}
.modal-header span.reply_name{
  margin-left: 5px;
  color: #000;
}
.modal-header .modal-heading{
    text-align: center;
    width: 100%;
}
.modal-body{
  
   padding: 16px 24px;
       background: #fff;
    width: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    border-radius: 4px;
    position: relative;
    box-sizing: border-box;;

}

.user-rate__modal {
    display: flex;
    flex-direction: column;
    align-items: center;
}
 .user-rate__modal>img {
    width: 96px;
}

.user-rate__modal textarea{
  box-sizing: border-box;
  height: 72px;
}

.user-rate__modal .h6 {
    font-size: 18px;
    line-height: 24px;
}
.form-group {
    position: relative;
}
.user-rate__modal .form-group {
    margin-top: 16px;
    width: 100%;
}
.user-rate__modal .form-input {
    position: relative;
    display: block;
    width: 100%;
    font-family: inherit;
    padding: 7.5px 11px;
    color: #444b52;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #cbd1d6;
    border-radius: 4px;
    transition: color .3s cubic-bezier(0,0,.4,1) , background-color .3s cubic-bezier(0,0,.4,1) , border-color .3s cubic-bezier(0,0,.4,1) , box-shadow .3s cubic-bezier(0,0,.4,1);
}

.modal-body .radio {
    display: flex;
    align-items: center;
}
.modal-body .radio input {
    position: relative;
    border: none;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
}
.modal-body .radio-sm input {
    margin-right: 8px;

}

.modal-body .radio input[type="radio"]:after {
    content: "";
    display: block;
    border-radius: 50%;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    position: relative;
    top: 0;
    border-color: #cbd1d6;
    border-width: 1px;
    border-style: solid;
    background: #fff;
}
.modal-body .radio input[type="radio"]:before {
    content: "";
    display: block;
    border-radius: 50%;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fff;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}
.modal-body .radio input[type="radio"]:before ,.modal-body .radio input[type="radio"]:after{
    width: 16px;
    height: 16px;
}

.modal-body .radio input[type="radio"]:checked::before {
    transform: scale(.625);
    z-index: 2;
    background: #cb1c22;
}

.modal-body.label {
    color: #444b52;
    display: inline-flex;
}
.modal-body .radio label {
    cursor: pointer;
    position: relative;
}
.modal .checkbox label, .modal .radio label {
    padding: 0;
}

.modal-footer{
  width: 100%;
  height: 80px;
  border-radius: 0px 0px 10px 10px;
  border-top: 1px solid #ebebeb;
   text-align: center;
}
#js-modal .modal-footer{
    padding: 15px 0 15px;
}

.modal-fotter button{
  float: right;
  margin-right: 10px;
  margin-top: 18px;
  text-decoration: none; 
}
/*.modal-body {
    display: flex;
}*/
.modal-body hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ebebeb;
    margin: 1rem 0;
    padding: 0;
}
.modal-body .m-r-16{
  margin-right:16px;
}
.modal-bodyt .flex-between {
    justify-content: space-between;
}
.modal-body .flex-wrap {
    flex-wrap: wrap;
}

.modal-body .cs-form--half {
    width: calc(50% - 8px);
    display: inline-block;
}
.modal-body .cs-form--full {
    width: 100%;
    display: block;
}

.modal-body .form-group {
    margin-bottom: 8px;
     box-sizing: border-box;
}

.container-modal.open{
  z-index: 1000;
  opacity: 1;
  visibility: visible;

}
.modal-body .form-input{
  box-sizing: inherit;
  position: relative;
    display: block;
    width: 100%;
   // font-family: inherit;
    font-size: 14px;
    padding: 7.5px 11px;
    color: #444b52;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    transition: color .3s cubic-bezier(0,0,.4,1) , background-color .3s cubic-bezier(0,0,.4,1) , border-color .3s cubic-bezier(0,0,.4,1) , box-shadow .3s cubic-bezier(0,0,.4,1);

}
#modal-wrapper  .cancel{
  cursor: pointer;
}
/****MEDIA QUERIES****/

@media screen and (min-width: 600px){

  #js-modal .modal{
    top: 0px;
    left: 35%;
  }


  .modal-header{
    width: 100%;
 
  }

  .modal-header a{
    line-height: 40px;
    margin-right: 10px;
  }

  .modal-body{
    width: 100%;
   
  }
  .modal-footer{
    width: 100%;
    height: 70px;   
  }

  .modal-footer button{
   // float: right;
    margin-right: 40px;
    margin-top: 10px;
  }

}

/*LARGE SCREEN*/
@media screen and (min-width: 1300px){

}

/****ANIMATIONS****/

@keyframes fadeIn_Modal {
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

@keyframes fadeIn_Container {
  from{
    opacity: 0;
  }
  to{
    opacity: 0.9;
  }
}