:root {
  --btn-submit: #ff3567 !important;
  --info-legacy-theme: "";
  --success: '';
  --warning: '';
  --danger: '';
  --info: '';
  --primary-legacy-theme: #ff3567 !important;
  --primary-thin-legacy-theme: #39a2ff !important;
}

body {
  margin: 0px !important;
  font-family: Tahoma;
  letter-spacing: .04em;
  background-color: white !important;
}

* {
  outline: none !important;
}

.btn {
  cursor: pointer;
}

.btn-submit:hover {
  box-shadow: 2px 5px 10px #f5afbd !important;
}

.btn-submit {
  background: var(--btn-submit);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  padding: 15px 25px;
  font-size: 15px;
  letter-spacing: 0.1em;
  outline: none !important;
}

.btn-submit:focus, .btn-submit:active {
  outline: none !important;
}

.btn-submit-secondary-disable {
  background: #38373769;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  padding: 15px 25px;
  font-size: 15px;
  letter-spacing: 0.1em;
  pointer-events: none;
}

td button, td .btn, td .button {
  white-space: nowrap;
  border-radius: 1rem;
  line-height: 1;
  font-size: .8rem;
  padding: .45rem .5rem;
  height: unset;
  display: flex;
  align-items: center;
  letter-spacing: .035em;
}

.badge {
  border-radius: .5rem !important;
  padding: .26em .4em !important;
  color: #697686 !important;
  background-color: #e8f8ff !important;
  background-color: #f9fbfd !important;
  border: 1px solid #d9e2ef !important;
}

td button i, td .btn i, td .button i {
  font-size: .8em !important;
  height: unset !important;
  width: unset !important;
  margin-right: .3rem !important;
}

/*gợn sóng button*/
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background: white;
  animation: ink 2s;
  box-shadow: -1px 0 0 1px rgba(61, 173, 233, 0.75), -1px -1px 0 1px rgba(94, 142, 226, 0.25),
  -1px 1px 0 1px rgba(94, 142, 226, 0.25), 0 -1px 0 1px rgba(126, 110, 218, 0.5),
  0 1px 0 1px rgba(126, 110, 218, 0.5), 1px -1px 0 1px rgba(159, 79, 211, 0.25),
  1px 1px 0 1px rgba(159, 79, 211, 0.25), 1px 0 0 1px rgba(191, 47, 203, 0.75);
}

.ripple {
  position: relative;
  border: none;
  outline: none;
  cursor: pointer;
  background: #0db6e9;
  color: #f7f9ff;
  padding: 5px 60px;
  border-radius: 2px;
  font-size: 20px;
  width: 100%;
  overflow: hidden;
  letter-spacing: 2px;
  font-weight: bold;
}

@-webkit-keyframes ink {
  0% {
    opacity: 0.2;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(40);
    transform: scale(40);
  }
}

@keyframes ink {
  0% {
    opacity: 0.2;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(40);
    transform: scale(40);
  }
}

/*end gợn sóng button*/

.table thead th {
  border-bottom: 1px solid !important;
  border-bottom-color: #d8dbe094 !important;
  text-transform: uppercase;
  font-size: .8em;
  color: var(--primary-legacy-theme);
  white-space: nowrap;
}

button, a {
  outline: none !important;
  user-select: none !important;
}

.table th {
  border-top: none !important;
}

.children-title {
  font-size: .85em;
}

.btn.dropdown-toggle {
  background: #fff;
}

.btn.dropdown-toggle:focus, .form-control:focus {
  border-color: var(--primary-thin-legacy-theme) !important;
}

.form-control:focus {
  box-shadow: none !important;
}

.form-control:hover {
  box-shadow: none !important;
}

.form-control, .btn.dropdown-toggle, .datepicker input,
.select2-container--default .select2-selection--single,
.btn-action-primary, .select2-selection.select2-selection--single {
  height: calc(1.5em + 0.75rem + 3px) !important;
  /* box-shadow: 0px 2px 14px 0px #d5d5d538!important; */
}

.btn-action-primary, .btn-action-primary:hover {
  height: calc(1.5em + 0.75rem + 2px) !important;
  border: none !important;
}

.btn-action-primary {
  min-width: 84px;
}

.select2-dropdown {
  border: none !important;
  top: 3px;
}

.dropdown-item {
  padding: .65rem 1.25rem !important;
  transition: all .25s;
}

.c-header .c-header-nav .c-header-nav-link, .c-header .c-header-nav .c-header-nav-btn {
  color: rgba(0, 0, 21, 0.6) !important;
}

.dropdown-item.active, .dropdown-item:active {
  color: var(--primary-legacy-theme) !important;
}

.dropdown-item.active, .dropdown-item:active svg {
  fill: var(--primary-legacy-theme) !important;
}

.select2-dropdown, .vc-popover-content {
  -webkit-box-shadow: 0 4px 5px 0 rgba(60, 75, 100, .14), 0 1px 10px 0 rgba(60, 75, 100, .12), 0 2px 4px -1px rgba(60, 75, 100, .20);
  box-shadow: 0 4px 5px 0 rgba(60, 75, 100, .14), 0 1px 10px 0 rgba(60, 75, 100, .12), 0 2px 4px -1px rgba(60, 75, 100, .20);
}

.select2-results__option.select2-results__message {
  position: relative;
  z-index: 1;
  display: block;
}

.select2-results__option.select2-results__message:before {
  content: 'Danh sách trống!';
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 1;
  z-index: 999;
  display: block;
  z-index: 1;
  background: white;
  width: 100%;
  padding-left: .25rem;
  color: rgb(150, 150, 150);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary-thin-legacy-theme) !important;
}

.sub-header-wrapper {
  width: 100%;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  background: #f2f2f2de !important;
  background: #f3f3f3de !important;
}

.sub-header-wrapper > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  /* border-bottom: 1px solid #d9e2ef; */
}

.title-page {
  white-space: nowrap;
  margin-right: 15px;
}

td.group-action .btn, td.group-action button {
  -webkit-box-shadow: 0 1px 15px 0 rgba(60, 75, 100, .14), 0 2px 1px -1px rgba(60, 75, 100, .12), 0 1px 3px 0 rgba(60, 75, 100, .20) !important;
  box-shadow: 0 1px 15px 0 rgba(60, 75, 100, .14), 0 2px 1px -1px rgba(60, 75, 100, .12), 0 1px 3px 0 rgba(60, 75, 100, .20) !important;
}

.card {
  border-radius: .5rem !important;
}

.modal-dialog, .modal-dialog .modal-header, .modal-content {
  border-top-left-radius: .5rem !important;
  border-top-right-radius: .5rem !important;
}

.modal-header {
  padding: .75rem 1rem !important;
}

.form-group {
  margin-bottom: 0px !important;
  margin-top: 1rem !important;
}

.form-group.no-label {
  margin-top: 0 !important;
}

.form-control:disabled, .form-control[readonly] {
  background: #fff !important;
  /*cursor: not-allowed;*/
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px !important;
  right: 10px !important;
}

.datepicker input:nth-child(1), .select2-selection.select2-selection--single,
.form-control, .btn.dropdown-toggle:not(.dropdown-toggle-split), .datepicker input {
  border: 1px solid !important;
  border-color: #edeeef !important;
  border-color: #0000001a !important;
  border-color: #00000012 !important;
  box-shadow: 0px 2px 14px 0px #d5d5d538 !important;
}

.datepicker input:nth-child(1), .select2.select2-container,
.select2-container--default .select2-selection--single, .dropdown.btn-group,
.form-control, .btn.dropdown-toggle:not(.dropdown-toggle-split), .datepicker input,
.select2-search__field {
  border-radius: .4rem !important;
}

.datepicker input:nth-child(1):hover {
  box-shadow: none !important;
}

.datepicker input:nth-child(1):focus {
  box-shadow: none !important;
  border-color: var(--primary-legacy-theme) !important;
}

.datepicker {
  position: relative;
}

.datepicker input {
  padding-left: 2.25rem !important;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.dropdown.btn-group {
  min-width: 100%;
}

.dropdown.btn-group .dropdown-menu {
  transform: none !important;
  bottom: unset !important;
  left: 0;
  top: 100% !important;
}

.dropdown.btn-group button.btn {
  padding-right: 0;
}

.datepicker input, .form-control, .form-control:focus, .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #4f5d73 !important;
}

.datepicker:after {
  font-family: FontAwesome;
  font-size: .95em;
  content: "\f073";
  padding-right: 0 !important;
  vertical-align: middle;
  font-weight: 900;
  position: absolute;
  left: 0.75rem;
  top: 50%;
  line-height: 1;
  transform: translateY(-50%);
  color: #717171;
}

button > i {
  font-size: 12px !important;
  margin: 0px !important;
}

.mt-3p5 {
  margin-top: 1.15rem;
}

.spinner-grow.text-primary.text-primary {
  color: var(--primary-legacy-theme) !important;
}

.action-btn-wrapper {
  display: flex;
}

.action-btn-wrapper button {
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: .2rem;
  -webkit-box-shadow: 0 1px 8px 0 rgba(60, 75, 100, .08), 0 2px 1px -1px rgba(60, 75, 100, .08), 0 1px 3px 0 rgba(60, 75, 100, .08);
  box-shadow: 0 1px 8px 0 rgba(60, 75, 100, .08), 0 2px 1px -1px rgba(60, 75, 100, .08), 0 1px 3px 0 rgba(60, 75, 100, .08);
}

.btn.btn-primary[disabled] {
  cursor: context-menu !important;
}

.btn-primary, .btn-secondary {
  transition: all ease-out .3s;
  white-space: nowrap;
}

.btn-primary:hover {
  box-shadow: 2px 5px 10px rgba(51, 150, 255, 0.66) !important;
}

.btn-primary:active, .btn-secondary:active {
  transform: scale(.97);
}

.btn-primary:active {
  box-shadow: 2px 3px 7px rgba(51, 150, 255, 0.66) !important;
  transform: scale(.96);
}

.btn-secondary:hover {
  box-shadow: 2px 5px 10px rgba(139, 153, 168, 0.66) !important;
}

.btn-primary:active {
  box-shadow: 2px 3px 7px rgba(139, 153, 168, 0.66) !important;
  transform: scale(.96);
}

.btn-primary {
  background: var(--primary-legacy-theme) !important;
  -webkit-box-shadow: 0 5px 1px 0 rgba(60, 75, 100, .14), 0 2px 1px -1px rgba(60, 75, 100, .12), 0 1px 3px 0 rgba(60, 75, 100, .20) !important;
  box-shadow: 0 0px 5px 0 rgba(60, 75, 100, .14), 0 2px 1px -1px rgba(60, 75, 100, .12), 0 1px 3px 0 rgba(60, 75, 100, .20) !important;
}

.content-fade-in {
  opacity: 0;
  animation-name: fadeInBottom;
  animation-timing-function: ease-out;
  animation-duration: .4s;
  animation-fill-mode: forwards;
  animation-delay: .1s;
}

@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }
  50% {
    opacity: .35;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.vc-title {
  font-weight: 500 !important;
  font-size: .9em !important;
}

.vc-day-content {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.vc-weekday {
  font-weight: 500 !important;
}

table thead th, .vc-weekday {
  color: #6a88b5 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--primary-legacy-theme) !important;
}

.page-link:focus {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.table {
  margin-bottom: .75rem !important;
}

.pagination .page-link {
  padding: .3rem .65rem !important;
}

.page-item .page-link {
  color: var(--primary-legacy-theme) !important;
}

.page-item.active .page-link {
  color: #fff !important;
}

.page-item.disabled .page-link {
  color: #8a93a2 !important;
}

.row {
  margin-right: -10px !important;
  margin-left: -10px !important;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--primary-legacy-theme) !important;
  background-color: var(--primary-legacy-theme) !important;
}

.btn.btn-outline-info {
  background: #f4fdff;
}

.btn.btn-outline-danger {
  background: #fff5f5;
}

.dropdown:not(.btn-group) .btn.dropdown-toggle {
  min-width: 100%;
}

.select2-search--dropdown .select2-search__field {
  padding: 4px 6px !important;
}

.btn-action-primary {
  border-radius: 2rem !important;
  line-height: 1 !important;
}

.dot-custom {
  font-size: .95em;
  letter-spacing: .03em;
  position: relative;
  line-height: 1;
  white-space: nowrap;
}

.dot-custom:not(.no-dot) {
  padding-left: 1em;
}

.dot-custom:not(.no-dot):after {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: '';
}

.dot-success {
  color: var(--success);
}

.dot-success:after {
  background: var(--success);
}

.dot-info {
  color: var(--info);
}

.dot-info:after {
  background: var(--info);
}

.dot-warning {
  color: var(--warning);
}

.dot-warning:after {
  background: var(--warning);
}

.dot-danger {
  color: var(--danger);
}

.dot-danger:after {
  background: var(--danger);
}

.dot-secondary {
  color: #9a9a9a;
}

.dot-secondary:after {
  background: #9a9a9a;
}

/*----------------loading-tv------------------*/
.pop-up-background, .pop-up-background-all-page {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  position: fixed;
  touch-action: none;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-tap-highlight-color: transparent;
}

.pop-up-background-all-page ~ {
  background: white;
}

.loading-wrapper {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.4);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 9999;
}

.v-notices.is-top {
  z-index: 9999;
}

/*{*/
/*  position: absolute*/
/*;*/
/*  left: 50%*/
/*;*/
/*  top: 50%*/
/*;*/
/*  transform: translate(-50%, -50%)*/
/*;*/
/*  width: 20px*/
/*;*/
/*  height: 20px*/
/*;*/
/*  padding: 12px*/
/*;*/
/*  border-radius: .25rem*/
/*;*/
/*  background: rgba(136, 136, 136, .5)*/
/*;*/
/*  background: #e6e6e6*/
/*;*/
/*!* background: linear-gradient(135deg,#fec899, #e6e6e6); *!*/
/*  box-sizing: content-box*/
/*;*/
/*  z-index: 1000*/
/*;*/
/*  position: absolute*/
/*;*/
/*}*/

.loading-content {
  position: relative;
  display: block;
  height: 20px;
  width: 20px;
}

.l {
  position: absolute;
  width: 33.3%;
  height: 33.3%;
  background-color: var(--primary-thin-legacy-theme);
  animation: loading-l 1.5s infinite ease-in-out;
}

.l.l1 {
  animation-delay: .1s;
}

.l.l2 {
  animation-delay: .2s;
}

.l.l4 {
  animation-delay: .2s;
}

.l.l3 {
  animation-delay: .3s;
}

.l.l5 {
  animation-delay: .3s;
}

.l.l7 {
  animation-delay: .3s;
}

.l.l6 {
  animation-delay: .4s;
}

.l.l8 {
  animation-delay: .4s;
}

.l.l9 {
  animation-delay: .5s;
}

.l1,
.l2,
.l3 {
  top: 0;
}

.l4,
.l5,
.l6 {
  top: 33.3%;
}

.l7,
.l8,
.l9 {
  top: 66.6%;
}

.l1,
.l4,
.l7 {
  left: 0;
}

.l2,
.l5,
.l8 {
  left: 33.3%;
}

.l3,
.l6,
.l9 {
  left: 66.6%;
}

.element-loading {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.element-loading .spinner-border-sm {
  border-width: 0.15em;
  color: var(--primary-thin-legacy-theme);
}

.element-loading i {
  font-size: 1rem;
  color: var(--primary-legacy-theme);
}

@keyframes loading-l {
  0% {
    transform: scale(.95, .95)
  }
  50% {
    transform: scale(.05, .05)
  }
  100% {
    transform: scale(.95, .95)
  }
}

/*--------------- end loading-tv -----------------*/

@keyframes fade-scale {
  0% {
    opacity: 0;
    /* transform: translate(0); */
    transform: scale(.1) translateY(-80.8px, 36px);
  }
  70% {
    opacity: .1;
  }
  100% {
    opacity: 1;
    transform: translate(-80.8px, 36px) scale(1);;
  }
}

textarea.form-control {
  height: auto !important;
}

/*--------------- valid input -----------------*/
.form-input-wrapper {
  position: relative;
}

.valid-error {
  line-height: 1;
  color: red;
  font-size: .85em;
  margin-top: .5em;
  animation: fade-down ease-out .2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.input-valid-error input {
  border: 1px solid #ff7070 !important;
  transition: border .3s;
}

@keyframes fade-down {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  70% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  }
}

/*--------------- end valid input -----------------*/

/*---------upload ảnh------------*/
.wrap-custom-file {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 150px;
  /*margin: 10px 10px 5px 0px;*/
  text-align: center;
}

.wrap-custom-file input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  overflow: hidden;
  opacity: 0;
}

.wrap-custom-file label {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  padding: 0 0.5rem;
  cursor: pointer;
  background-color: #fff;
  border-radius: 4px;
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
}

.wrap-custom-file label span {
  display: block;
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #777;
  -webkit-transition: color 0.4s;
  transition: color 0.4s;
}

.wrap-custom-file label:hover {
  -webkit-transform: translateY(-0.5rem);
  transform: translateY(-0.5rem);
  transition: transform .5s, box-shadow .5s;
  box-shadow: 2px 2px 5px #b1b1b1;
}

.wrap-custom-file label:hover span {
  color: #333;
}

.wrap-custom-file label {
  background-size: cover;
  background-position: center;
  border: 1px dashed cornflowerblue;
  border-radius: 10px;
  /*box-shadow: 2px 2px 5px #cdcdcd;*/
}

.wrap-custom-file label i {
  margin-top: 3rem;
  font-size: 25px;
}

.wrap-custom-file label.file-ok {
  border: none;
  box-shadow: 2px 2px 5px #b1b1b1;
}

.wrap-custom-file label.file-ok span {
  height: 30px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.3rem;
  font-size: 1.1rem;
  color: #6a0700;
  background-color: rgba(255, 255, 255, 0.7);
}

/*---------end upload ảnh--------*/


.hidden {
  display: none !important;
}

.txt-uppercase {
  text-transform: uppercase;
}

.btn-primary-outline {
  border-radius: 25px;
  border: 1px solid rgb(72, 30, 236);
  color: rgb(72, 30, 236);
  padding: 12px 25px;
  fill: rgb(72, 30, 236);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  background: white;
}

.text-center {
  text-align: center;
}

.scroll-left {
  overflow: hidden;
  position: relative;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  padding-left: 101%;
  margin: unset !important;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%)
  }
}

.shaka-spinner, .shaka-scrim-container, .shaka-bottom-controls {
  display: none !important;
}
