/* fix alert message web2py  */
div.w2p_flash.alert{
  word-wrap: break-word;
}
#closeflash{
  position: absolute;
  right: -2px;
  top: -2px;
  height: 18px;
  width: 18px;
}
#closeflash i{
  color: #9a3a15;
  height: 18px;
  width: 18px;
  font-size: 20px;
}

/* style for modal */
.overlayy {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 20;
  transition: .3s all;
}
.overlayy.active {
  opacity: 1;
  visibility: visible;
}
.modal-wrap .modal-dialog{
  max-width: 605px;
}
.modal-wrap .modal-title{
  font-size: 20px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 0;
}
.modal-wrap .modal-help_message{
  align-self: flex-start;
  font-size: 16px;
  margin-left: 20px;
  font-style: italic;
}

.modal-wrap .modal-content,
.modal .modal-content{
 margin-top: 50px; 
}
#main_data_tehn{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wrap-modal__data {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  width: 85%;
}
.wrap-modal__data:last-child {
  margin-bottom: 0;
}
.wrap-modal__data .wrap-item2{
  width: 100%;
}
.wrap-modal__data label{
  font-size: 15px;
  margin: 0;
  min-width: 250px;
  white-space: inherit;
}
.wrap-modal__data textarea{
  resize: vertical;
  min-height: 40px;
  max-height: 200px;
  margin-bottom: 0px;
}
.wrap-modal__data input,
.wrap-modal__data textarea {
  padding: 5px;
}
.wrap-modal__data input, 
.wrap-modal__data select, 
.wrap-modal__data textarea {
  width: 100%;
  border: 1px solid #767676;
  font-size: 15px;
  line-height: 15px;
  height: 35px;
}
.wrap-modal__data input:focus-visible, 
.wrap-modal__data select:focus-visible, 
.wrap-modal__data textarea:focus-visible,
.wrap-modal__data .phone-input:focus-visible{
  outline: none;
}
.wrap-modal__data_check{
  display: none;
  visibility: hidden;
}
.phone-input::placeholder{
  color:rgb(179, 179, 179)
}
.wrap-modal__data .phone-input,
#enter_mobile_number{
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  padding: 0;
}
.row-phone {
  border: 1px solid #767676;
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #fff;
}
.block-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 5px;
}
.country-code,
.phone-inp {
  font-size: 15px;
  line-height: 15px;
}
.country-code:after{
  content: '|';
  margin-right: 5px;
}

.phone-input{
  width: 100%;
  outline: none;
  border: none;
}

.row-phone .form-control{
  padding: 0;
}
.row-phone .form-control:focus{
  border: none;
  box-shadow: none;
}

.row-phone:focus-within{
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

.row-phone.disabled {
  background-color: #e2f3f9;
}

.modal-footer {
  background-color: #fff;
  border-top: none;
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
}
.btn-primary:disabled{
  cursor: not-allowed;
  background-color: #6d6d6d;
  border-color: #6d6d6d;
}
.fade.in {
  opacity: 1;
  /* top: 10%; */
}

/* style call-center and tech-support buttons */
.wrap-modal__open, 
.wrap-modal-call-center__open {
  position: fixed;
  top: 78%;
  right: 1%;
  background: #00a9e0;
  border-radius: 50%;
  height: 130px;
  width: 130px;
  cursor: pointer;
  text-align: center;
  z-index: 100;
}
.wrap-modal__open .wrap-img {
  position: relative;
  height: 130px;
  width: 130px;
}
.wrap-modal__open img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.wrap-modal-call-center__open {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* end style call-center and tech-support buttons */

.modal .modal-body{
  font-size: 15px;
  max-height: 500px;
  overflow: auto;
}
.modal-body .row-phone{
  border: 1px solid #767676;
  border-radius: 1px;
}

/* style for validation modal */
.modal-wrap .uncorrect-data {
  border: 1px solid #ff2d2d;
}
.modal-wrap .correct-data {
  border: 1px solid #40ff40;
}
.modal-wrap .correct-data .correct-data,
.modal-wrap .uncorrect-data .uncorrect-data{
  border: none;
}
/* end style for validation modal */

.modal h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
}
.modal h4 {
  font-size: 18px;
}

@media (max-width: 665px){
  .wrap-modal__data {
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    margin-bottom: 15px;
  }
  .modal-dialog{
    width: 90%;
    margin: 0 auto;
  }
  .modal-wrap .modal-content,
  .modal .modal-content{
    margin-top: 20px;
  }
  .modal .modal-header h3{
    font-size: 17px;
    text-align: left;
    margin-bottom: 0;
  }
  .modal h4 {
    font-size: 15px;
  }
  .modal .modal-body{
    font-size: 14px;
  }
  .wrap-modal__data textarea{
    min-height: 150px;
  }
}
@media (max-width: 425px){
  .modal-wrap .modal-title,
  .wrap-modal__data input, 
  .wrap-modal__data select,
  .country-code{
    font-size: 16px;
  }
  .modal-wrap .modal-title{
    line-height: 20px;
  }
  .wrap-modal__data input, 
  .wrap-modal__data select{
    height: 40px;
  }
  .wrap-modal__data label{
    font-size: 14px;
    color: rgb(48, 48, 48);
    min-width: 100%;
  }
  .wrap-modal__data input, 
  .wrap-modal__data select,
  .wrap-modal__data textarea,
  .wrap-modal__data label{
    width: 100%;
  }
  .wrap-modal__data{
    width: 90%;
  }
}
@media (max-height: 665px){
  #id_new_enera_1 .modal-dialog,
  #id_new_enera_1 .modal-content{
    height: 90%;
  }
}
@media (max-height: 600px){
  .wrap-modal__open, 
  .wrap-modal-call-center__open{
    top: auto;
    bottom: 3px;
  }
}

/* end style for modal */



[class^="icon-"], [class*=" icon-"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  line-height: 14px;
  vertical-align: middle;
  background-image: url(../images/glyphicons-halflings.png);
  background-position: 14px 14px;
  background-repeat: no-repeat;
}
[class^="icon-"], [class*=" icon-"] {
  background-image: url(../images/glyphicons-halflings_new.png);
}
.icon-user {
  background-position: -168px 0;
}
.icon-lock {
  background-position: -287px -24px;
}
.icon-off {
  background-position: -384px 0;
}
.icon-user {
  background-position: -168px 0;
}
.user-icon-wrap .drop .dropdown-menu a{
  display: flex;
  align-content: center;
  padding: 7px 10px;
  line-height: 16px;
}

.modal-active-profile .modal-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-block{
  width: 200px;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.modal-block:last-child{
  margin-bottom: 0;
}
.modal-block label{
  margin-bottom: 0;
}
.modal-block input{
  height: 35px;
  padding: 5px;
  width: 100%;
  font-size: 15px;
}