﻿/*
    1.  MODAL
    2.  BUTTONS
*/

#modal {
  width: 100%;
  max-width: 460px;
  padding: 0;
  border-radius: 10px;
}

#modal .modal-content {
  padding: 15px 25px;
  padding-bottom: 0;
  text-align: center;
}

#modal h2 {
  float: none;
  text-align: center;
  font-size: 24px;
  color: #494949;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 15px;
}

#modal .description {
  text-align: center;
  font-size: 16px;
  color: #494949;
  font-weight: 400;
  min-height: 0;
  line-height: 1.6;
}

#modal .modal-controls {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#modal button {
  width: 150px;
  max-width: 150px;
  margin-right: 15px;
  margin-left: 15px;
}

#modal .close {
  color: #fff;
  font-size: 20px;
  top: 15px;
  right: 15px;
}

.rtl #modal .close {
  left: 15px;
  right: auto;
}
/**************************/
/*         Buttons        */
/**************************/
#modal.decline button,
#modal.modified button,
#modal.modified button.accept,
#modal.confirm button.accept,
#modal.confirm button.decline:hover,
#modal.confirm button.decline,
#modal.confirm button.accept:hover,
#modal.modified button.accept:hover,
#modal.modified button:hover,
#modal.decline button:hover,
#modal.cancel button,
#modal.success button.accept:hover,
#modal.success button.accept,
#modal.cancel button:hover {
  border-width: 2px;
  line-height: 35px;
}

#modal.cancel .mark,
#modal .mark {
  color: #0099f0;
}

#modal.confirm .mark,
#modal.decline .mark,
#modal.modified .mark,
#modal.decline .mark {
  color: #e1706f;
}

.space-between {
  justify-content: space-between;
}

#modal.decline button.btn-red,
#modal.cancel button.btn-red,
#modal.cancel button.btn-white:hover {
  width: 68px;
  height: auto;
  color: #fff;
  line-height: 1.5;
  background-color: #f75985;
  border: 2px solid #f75985;
  border-radius: 2px !important;
}

#modal.decline button.btn-white,
#modal.cancel button.btn-white {
  width: 68px;
  height: auto;
  color: #a0a0a0;
  line-height: 1.5;
  background-color: #ededed;
  border: 2px solid #ededed;
  border-radius: 2px !important;
}

#modal.cancel button.btn-white:hover,
#modal.decline button.btn-red:hover,
#modal.cancel button.btn-red:hover {
  opacity: 0.6;
}

#modal.ltr {
}

#modal.ltr .title,
#modal.ltr .description {
  text-align: left;
}

#modal.ltr button {
  margin: 0;
}

#modal.ltr button:last-child {
  margin-right: 15px;
  margin-left: 15px;
}

#modal.ltr .description {
  text-align: left;
}

#modal.ltr .modal-controls {
  justify-content: flex-end;
}

.rtl #modal.ltr .title,
.rtl #modal.ltr .description {
  text-align: right;
}

.msg .custom-txt {
  overflow: auto;
}
.msg .custom-txt table {
  table-layout: fixed;
}

.last-page .close-arrow {
  margin-top: 15px;
}
