.date_picker_custom {
    position: relative;
}

.date_picker_custom .react-datepicker-popper {
    width: calc(100% + 125px);
}
tr.active {
    background-color: red;
}

.react-datepicker__month-container select {
    appearance: auto;
}

.main_article_preferences.custom {
    padding: 10px;
}

.main_article_preferences.custom ol {
    list-style: decimal;
    padding-left: 20px;
}

.main_article_preferences.custom ul {   
    padding-left: 20px;
}

.main_article_preferences.custom ul li{   
    list-style: disc;
}

.table_analysic tbody tr td {
    width: 100px !important;
    padding: 4px 6px;
    text-align: center;
}

.table_analysic thead tr th {
    padding: 4px 6px;
    text-align: center;
}

.table_analysic thead tr td {
    padding: 4px 6px;
    text-align: center;
}



.table_analysic tbody tr th.custom {
    width: 100px !important;
}

.table_analysic tbody tr td.custom {
    width: 100px !important;
}

.btn-upload {
  width: 100%;
  height: 38px;
  background: #cbcccf;
  border: 1px solid #343a40;
  border-radius: 5px;
  font-size: 13px;
  /* font-weight: 500; */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  &:hover {
    background: rgb(118, 118, 118);
    color: #fff;
  }
}

#add_file {
  display: none;
}
.add-but {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
}
.add-but span {
  text-align: center;
  width: 80%; margin: 0 auto;
}


.list_menu_preferences {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  margin-bottom: 8px;
  border: 1px solid #ccc; }
  .list_menu_preferences li {
    border-bottom: 1px solid #ccc; }
    .list_menu_preferences li.active a {
      font-weight: bold;
      background-color: #ECECEC; }
    .list_menu_preferences li:last-child {
      border-bottom: none; }
    .list_menu_preferences li a {
      color: #495057;
      padding: 5px 10px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      -webkit-transition: all 0.3s ease-in-out 0s;
      -o-transition: all 0.3s ease-in-out 0s;
      transition: all 0.3s ease-in-out 0s; }
    .list_menu_preferences li .dropdown_preferents {
      border-top: 1px solid #ccc; }
      .list_menu_preferences li .dropdown_preferents:not(.show) {
        display: none; }
      .list_menu_preferences li .dropdown_preferents li a {
        padding: 5px 5px 5px 25px; }

.content_col_nopading {
  width: 100%; margin: 0 auto;
  display: flex;
  flex-direction: row; }

.list_control_box_preferences {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  /* flex: 1;
  -ms-flex: 1; */
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s; }
  @media only screen and (max-width: 980px) {
    .list_control_box_preferences {
      flex-direction: column; } }
  .list_control_box_preferences .content_left {
    flex: 1;
    -ms-flex: 1; }
    .list_control_box_preferences .content_left .content_column {
      display: flex;
      flex-direction: row;
      flex: 1;
      -ms-flex: 1;
      justify-content: space-between;
      /* padding: 8px 15px; */
      -webkit-transition: all 0.3s ease-in-out 0s;
      -o-transition: all 0.3s ease-in-out 0s;
      transition: all 0.3s ease-in-out 0s; }
      @media only screen and (max-width: 980px) {
        .list_control_box_preferences .content_left .content_column {
          flex-direction: column; } }
      .list_control_box_preferences .content_left .content_column .column_box {
        flex: 1;
        -ms-flex: 1;
        -webkit-transition: all 0.3s ease-in-out 0s;
        -o-transition: all 0.3s ease-in-out 0s;
        transition: all 0.3s ease-in-out 0s; }
        @media only screen and (max-width: 980px) {
          .list_control_box_preferences .content_left .content_column .column_box {
            margin-bottom: 15px; } }
        .list_control_box_preferences .content_left .content_column .column_box.mw_50 {
          max-width: 50%;
          -webkit-transition: all 0.3s ease-in-out 0s;
          -o-transition: all 0.3s ease-in-out 0s;
          transition: all 0.3s ease-in-out 0s; }
          @media only screen and (max-width: 980px) {
            .list_control_box_preferences .content_left .content_column .column_box.mw_50 {
              max-width: 100%; } }
  .list_control_box_preferences .content_right {
    width: 30%;
    background-color: #fff;
    padding: 10px;
    padding-top: 0;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s; }
    .list_control_box_preferences .content_right.custom_color {
      background-color: #F8F9FA; }
    @media only screen and (max-width: 980px) {
      .list_control_box_preferences .content_right {
        width: 100%; } }
    .list_control_box_preferences .content_right .main_article_preferences {
      border: 1px solid #ccc;
      min-height: 400px;
      padding: 10px; }
.content_right .list-flex {
  display: flex;
  justify-content: space-between;
}
.list-flex > div:first-child {margin-right: 2px;}
.list-flex > div:last-child {margin-left: 2px;}



.heading_box {
  margin-bottom: 10px; }
  .heading_box.op0 {
    opacity: 0; }
  .heading_box .title_preferences {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 3px;
    /*margin-top: 15px;*/
    color: #212529; }

.nodata {
  text-align: center;
  min-height: 136px;
  vertical-align: middle;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; }

.box_preferenc1 .group_textarea textarea {
  width: 100%;
  min-height: 180px;
  outline: none;
  border: 1px solid #ccc;
  padding: 10px; }

.box_preferenc1 .box_list_images {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 34px; }
  .box_preferenc1 .box_list_images .item_file {
    width: -moz-calc(100% / 5 - 10px);
    width: -webkit-calc(100% / 5 - 10px);
    width: calc(100% / 5 - 10px);
    margin: 5px;
    position: relative; }
    .box_preferenc1 .box_list_images .item_file .close {
      position: absolute;
      width: 24px;
      height: 24px;
      background-color: #F04444;
      border-radius: 50%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      -o-border-radius: 50%;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      opacity: 1;
      right: -8px;
      top: -8px;
      color: #fff;
      cursor: pointer;
      font-size: 14px; }
    .box_preferenc1 .box_list_images .item_file .img {
      width: 100%;
      height: 130px; }
      .box_preferenc1 .box_list_images .item_file .img img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        -o-object-fit: cover;
        object-fit: cover; }
    .box_preferenc1 .box_list_images .item_file .control_img label {
      color: #007BFF;
      font-size: 12px; }

.box_preferenc1 .group_selection {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px; }
  .box_preferenc1 .group_selection .choose_send {
    min-width: 140px; }
    .box_preferenc1 .group_selection .choose_send:disabled {
      pointer-events: none;
      opacity: 0.8; }

.filler_to_from .custom_select {
  min-width: auto;
  width: 100%;
  max-width: 260px; }

.custom_select {
  min-width: 100%;
  position: relative; }
  .custom_select .form_control {
    padding: 0 10px;
    width: 100%;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border: 1px solid #ccc;
    outline: none;
    min-height: 30px;
    color: #495057;
    position: relative; }
  .custom_select .item_dropdown {
    position: absolute;
    right: 1px;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; }
    .custom_select .item_dropdown::before {
      content: '\f078';
      font-family: "Font Awesome 5 Free";
      display: inline-block;
      vertical-align: middle;
      font-weight: 900;
      -webkit-transition: all 0.3s ease-in-out 0s;
      -o-transition: all 0.3s ease-in-out 0s;
      transition: all 0.3s ease-in-out 0s;
      color: #212529;
      font-size: 10px; }

.btn.btn_preference {
  height: 36px;
  background-color: #343A40;
  color: #fff;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s; }
  .btn.btn_preference:hover, .btn.btn_preference:focus {
    background-color: #151617; }

.control_textarea {
  display: flex;
  flex-direction: column; }
  .control_textarea .text_area_in {
    width: 100%;
    min-height: 270px;
    background-color: #fff;
    border: 0;
    padding: 10px; }
  .control_textarea .ssm_in {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px; }
    .control_textarea .ssm_in input.ssm_in {
      outline: none;
      background-color: #fff;
      padding: 5px 15px;
      min-width: 200px;
      border: 1px solid #ccc; }
.control_textarea .list_images {
    padding: 5px 10px;}
.form-control:focus {box-shadow: none;}
.btn.disabled, .btn:disabled {opacity: 1 !important;}





.list_images {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; }
  .list_images .img_item {
    width: -moz-calc(100% / 3 - 10px);
    width: -webkit-calc(100% / 3 - 10px);
    width: calc(100% / 3 - 10px);
    margin: 5px; }
    .list_images .img_item img {
      width: 100%;
      max-width: 100%;
      -o-object-fit: cover;
      object-fit: cover;
      height: 130px; }

.control_in_ecxel {
  display: flex;
  flex-direction: column; }
  .control_in_ecxel .text_content textarea {
    width: 100%;
    max-width: 230px;
    min-height: 450px;
    outline: none;
    background-color: #fff; }
  .control_in_ecxel .content_total {
    display: flex;
    flex-direction: column;
    margin-top: 10px; }
    .control_in_ecxel .content_total .line strong {
      font-weight: bold; }
    .control_in_ecxel .content_total .line span {
      font-weight: normal; }
  .control_in_ecxel .control_input_excel {
    margin-top: 20px;
    height: 30px;
    width: 100%;
    position: relative; }
    .control_in_ecxel .control_input_excel input {
      display: none; }
    .control_in_ecxel .control_input_excel label {
      position: absolute;
      left: 0;
      right: 0;
      height: 31px;
      top: 0;
      bottom: 0;
      border: 1px solid #ccc;
      display: flex;
      flex-direction: row;
      align-items: center;
      background-color: #fff;
      border-radius: 4px;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      -ms-border-radius: 4px;
      -o-border-radius: 4px;
      padding-left: 10px; }
      .control_in_ecxel .control_input_excel label:after {
        content: "Browse";
        position: absolute;
        right: 0;
        height: 30px;
        top: 0;
        color: #495057;
        background-color: #ccc;
        padding: 0 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        line-height: 1;
        cursor: pointer;
        font-size: 15px; }
  .control_in_ecxel .list_btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px; }
    .control_in_ecxel .list_btn button {
      margin-right: 10px;
      height: 32px;
      padding: 0 5px;
      border: none;
      font-size: 15px;
      border-radius: 4px;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      -ms-border-radius: 4px;
      -o-border-radius: 4px;
      -webkit-transition: all 0.3s ease-in-out 0s;
      -o-transition: all 0.3s ease-in-out 0s;
      transition: all 0.3s ease-in-out 0s; }
      .control_in_ecxel .list_btn button:disabled {
        opacity: 0.7;
        pointer-events: none; }
      .control_in_ecxel .list_btn button.btn_su1 {
        background: #007BFF;
        color: #fff; }
        .control_in_ecxel .list_btn button.btn_su1:hover, .control_in_ecxel .list_btn button.btn_su1:focus {
          background: #003fff; }
      .control_in_ecxel .list_btn button.btn_su2 {
        background: #DC3545;
        color: #fff; }
        .control_in_ecxel .list_btn button.btn_su2:hover, .control_in_ecxel .list_btn button.btn_su2:focus {
          background: #af2835; }
      .control_in_ecxel .list_btn button.btn_su3 {
        background: #343A40;
        color: #fff; }
        .control_in_ecxel .list_btn button.btn_su3:hover, .control_in_ecxel .list_btn button.btn_su3:focus {
          background: #131a22; }
      .control_in_ecxel .list_btn button:last-child {
        margin-right: 0; }
  .control_in_ecxel .control_submit {
    display: flex;
    flex-direction: column;
    margin-top: 35px; }
    .control_in_ecxel .control_submit .btn_su {
      width: 100%;
      margin-right: 10px;
      height: 32px;
      padding: 0 5px;
      border: none;
      font-size: 15px;
      border-radius: 4px;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      -ms-border-radius: 4px;
      -o-border-radius: 4px;
      -webkit-transition: all 0.3s ease-in-out 0s;
      -o-transition: all 0.3s ease-in-out 0s;
      transition: all 0.3s ease-in-out 0s;
      background-color: #17A2B8;
      color: #fff; }
      .control_in_ecxel .control_submit .btn_su:hover, .control_in_ecxel .control_submit .btn_su:focus {
        background-color: #106977; }

.popup_page .main_header_pop {
  height: 54px;
  background-color: #17A2B8;
  display: flex;
  flex-direction: row;
  align-items: center; }
  .popup_page .main_header_pop::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden; }
  .popup_page .main_header_pop .box_left,
  .popup_page .main_header_pop .box_right {
    float: left;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center; }
  .popup_page .main_header_pop .box_right .list_btn_control {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end; }

.popup_page .main_module1 .box_row {
  margin-right: -15px;
  margin-left: -15px;
  display: flex;
  flex-direction: row; }
  .popup_page .main_module1 .box_row::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden; }
  .popup_page .main_module1 .box_row .box_left_pop,
  .popup_page .main_module1 .box_row .box_right_pop {
    width: 50%;
    padding-left: 15px;
    padding-right: 15px; }
    .popup_page .main_module1 .box_row .box_left_pop .box_table,
    .popup_page .main_module1 .box_row .box_right_pop .box_table {
      background-color: #fff;
      min-height: 700px;
      border: 1px solid #ccc; }
      .popup_page .main_module1 .box_row .box_left_pop .box_table .table,
      .popup_page .main_module1 .box_row .box_right_pop .box_table .table {
        border-bottom: 1px solid #dee2e6; }
        .popup_page .main_module1 .box_row .box_left_pop .box_table .table th,
        .popup_page .main_module1 .box_row .box_left_pop .box_table .table td,
        .popup_page .main_module1 .box_row .box_right_pop .box_table .table th,
        .popup_page .main_module1 .box_row .box_right_pop .box_table .table td {
          border-bottom: 1px solid #ccc;
          border-right: 1px solid #ccc;
          padding: 4px; }
          .popup_page .main_module1 .box_row .box_left_pop .box_table .table th:last-child,
          .popup_page .main_module1 .box_row .box_left_pop .box_table .table td:last-child,
          .popup_page .main_module1 .box_row .box_right_pop .box_table .table th:last-child,
          .popup_page .main_module1 .box_row .box_right_pop .box_table .table td:last-child {
            border-right: none; }
  .popup_page .main_module1 .box_row .box_left_pop .box_header {
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 25px; }
    .popup_page .main_module1 .box_row .box_left_pop .box_header .box_left {
      display: flex;
      flex-direction: row; }
      .popup_page .main_module1 .box_row .box_left_pop .box_header .box_left label {
        font-weight: bold; }
      .popup_page .main_module1 .box_row .box_left_pop .box_header .box_left .list_btn_control_pop {
        padding-left: 10px;
        flex: 1;
        -ms-flex: 1; }
  .popup_page .main_module1 .box_row .box_right_pop .box_header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 125px;
    padding: 10px 0; }

.list_btn_control_pop {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  width: 100%; }
  .list_btn_control_pop.column {
    flex-direction: column; }
    .list_btn_control_pop.column .btn_control {
      margin-right: 0;
      margin-bottom: 5px; }
      .list_btn_control_pop.column .btn_control:last-child {
        margin-bottom: 0; }
  .list_btn_control_pop .btn_control {
    text-decoration: none;
    outline: none;
    border: none;
    outline: none;
    margin-right: 10px;
    background-color: #343A40;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    height: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 20px;
    justify-content: center; }
    .list_btn_control_pop .btn_control:last-child {
      margin-right: 0; }
    .list_btn_control_pop .btn_control.btn_001 {
      background-color: #343A40;
      color: #fff; }
      .list_btn_control_pop .btn_control.btn_001:hover, .list_btn_control_pop .btn_control.btn_001:focus {
        background-color: #131A22; }

@media print {
  body {
    margin: 0;
    color: #000;
    background-color: #fff; } }

table {
  width: 100%; }

.li-css {
  display: flex;
  align-items: center;
  padding: 2.8px 2px;
}
.li-css li {padding: 10px;}
.li-css input {
  margin-right: 3px;
  width: 16px; height: 16px;
}
.li-css label {
  font-weight: 500;
  cursor: pointer;
}
.li-css input {display: none;}

.custom_table .date, .custom_table .date .cont, .custom_table .time, .custom_table .time .cont {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.custom_table .date h6, .custom_table .time h6 {
  width: 20%;
}
.custom_table .date .cont, .custom_table .time .cont {
  width: 84%;
}
.custom_table .time .cont {
  justify-content: flex-start;
  /* margin: 5px 0 10px; */
}
.custom_table .time .cont > div {margin-right: 2px;}
.form-control {
  width: 100%;
  margin: 0 auto;
  height: calc(1.5em + 0.5rem);
}
.custom_table .date .wave {padding: 0 5px;}
.custom_table .time .form-control {
  line-height: 1;
}

.table-info tr td {height: 33px;}
.table-tr {height: 35px;}
.table th {padding: 0; line-height: 2;}

.auto-sms textarea {max-height: 145px;}


.custom_table .sms-flex, .custom_table .but-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.sms-flex h6 {width: 26%;}
.custom_table .but-list {
  margin: 10px 0 16px;
}
.custom_table .but-list .but-left {width: 38%;}
.custom_table .but-list .but-right {width: 54%; justify-content: space-between; display: flex;}
.but-list .but-left .btn_add {width: 47%;}
.but-list .but-right .btn_add {width: 49%;}

.react-datepicker-popper {
    z-index: 9999 !important;
}

button:disabled,
button[disabled]{
  border: 1px solid #999999!important;
  background-color: #cccccc!important;
  color: #666666!important;
}
