@font-face {
  font-family: 'Admin Icons';
  src: url('/fonts/admin-icons/admin-icons.eot');
  src: url('/fonts/admin-icons/admin-icons.eot?#iefix') format('embedded-opentype'), url('/fonts/admin-icons/admin-icons.woff2') format('woff2'), url('/fonts/admin-icons/admin-icons.woff') format('woff'), url('/fonts/admin-icons/admin-icons.ttf') format('truetype'), url('/fonts/admin-icons/admin-icons.svg#Admin Icons') format('svg');
  font-weight: normal;
  font-style: normal;
}


/*.cu-flex-container*/

.cu-flex-container {
  display: flex;
}

.cu-flex {
  flex: 1;
}

.cu-flex-align-item-center {
  align-items: center;
}


/*.cu-loading-content*/

.cu-loading-content {
  margin-top: 30vh;
  text-align: center;
}

.cu-loading-content .header {
  color: #fff !important;
}

.cu-loading-content i {
  display: block;
  margin-bottom: 1rem;
}

li.search-field {
  width: 100%;
}

.chosen-container .default {
  width: 100% !important;
}

.form-group .switchery.switchery-default {
  display: block;
}

.footable.table,
.footable.table tbody {
  font-size: 13px;
}


/*.ui-language-dropdown*/

.language-dropdown,
.ui-language-dropdown {
  width: 250px;
}


/* require star */

.required:after {
  content: '*';
  color: #EB603C;
  padding-left: 6px;
}


/* override .tooltip style */

[data-toggle="tooltip"] {
  font-size: 15px;
  color: #514943;
}

.tooltip {
  opacity: 1 !important;
}

.tooltip-inner {
  color: #41362f !important;
  background: #fffbbb !important;
  border-radius: 1px !important;
  border: 1px solid #afadac;
  font-size: 14px;
  max-width: 320px !important;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
  text-align: left !important;
  /*white-space: pre-wrap;*/
}

.tooltip.top {
  width: 320px !important;
}

.tooltip.top .tooltip-inner {
  padding: 15px 25px !important;
}

.tooltip.top .tooltip-arrow {
  bottom: -10px !important;
  left: 50%;
  margin-left: -16px !important;
  border-top-color: #fffbbb !important;
  border-width: 16px 16px 0 !important;
}

.tooltip.bottom .tooltip-arrow {
  top: 1px !important;
  left: 50%;
  margin-left: -6px !important;
  border-bottom-color: #fffbbb !important;
  border-width: 0 6px 6px !important;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-left-color: #fffbbb;
  border-width: 5px 0 5px 5px;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-right-color: #fffbbb;
  border-width: 5px 5px 5px 0;
}


/*tab style: only for index.php related nav-tabs*/

#wrapper .nav-tabs li {
  border-bottom: 1px solid #adadad !important;
}

#wrapper .nav-tabs [data-toggle=tab] {
  color: #41362f !important;
  background: #e9e9e9 !important;
  margin-right: 4px;
  margin-top: 5px;
  padding-bottom: 13px;
  border-radius: 0;
  border: 1px solid #ddd !important;
  border-bottom: 0 !important;
}

#wrapper .nav-tabs .active a {
  background: #fff !important;
  border-top: 4px solid #EB603C !important;
  padding-bottom: 11px;
  margin-bottom: -1px;
}

#wrapper .nav-tabs [data-toggle=tab]:hover {
  background: #d6d6d6 !important;
}

#wrapper .nav-tabs .active a:hover {
  background: #fff !important;
  cursor: pointer;
}


/* .nav-second-style */

#wrapper .nav-second-style li {
  background: transparent !important;
  border: 0 !important;
}

#wrapper .nav-second-style .switch-languages-inside-modal {
  background: #486480 !important;
}

#wrapper .nav-second-style [data-toggle="tab"] {
  background: transparent !important;
  border: 0 !important;
}

#wrapper .nav-second-style .active a {
  border: 0 !important;
  background: transparent !important;
  color: #EB603C !important;
}

/*Status colors*/
.cu-status-primary {
  color: #14AA80;
}

.cu-status-success {
  color: #ED7251;
}

.cu-status-warning {
  color: #ED7251;
}

.cu-status-danger {
  color: #9FA0A0;
}


/*Password toggle*/
.password-switch {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  height: 24px;
  width: 24px;
  border: 0;
}

.password-switch input {
  display: none;
}

.password-switch svg {
  top: 0;
  left: 0;
}

.password-switch input~svg[status="checked"] {
  display: inline-block;
  color: rgba(0, 0, 0, 0.87);
  fill: rgb(255, 80, 0);
  height: 24px;
  width: 24px;
  transition: opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms;
  position: absolute;
  opacity: 0;
  transform: scale(0);
  user-select: none;
}

.password-switch input~svg[status="unchecked"] {
  display: inline-block;
  color: rgba(0, 0, 0, 0.87);
  fill: rgba(0, 0, 0, 0.87);
  height: 24px;
  width: 24px;
  transition: opacity 1000ms cubic-bezier(0.23, 1, 0.32, 1) 200ms;
  position: absolute;
  opacity: 1;
  user-select: none;
}

.password-switch input:checked~svg[status="checked"] {
  display: inline-block;
  color: rgba(0, 0, 0, 0.87);
  fill: rgb(255, 80, 0);
  height: 24px;
  width: 24px;
  transition: opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  position: absolute;
  opacity: 1;
  transform: scale(1);
  user-select: none;
}

.password-switch input:checked~svg[status="unchecked"] {
  display: inline-block;
  color: rgba(0, 0, 0, 0.87);
  fill: rgba(0, 0, 0, 0.87);
  height: 24px;
  width: 24px;
  transition: opacity 650ms cubic-bezier(0.23, 1, 0.32, 1) 150ms;
  position: absolute;
  opacity: 0;
  user-select: none;
}

@-webkit-keyframes emph {
  10% {
    -webkit-transform: none;
    transform: none;
    opacity: .5
  }

  to {
    opacity: 0;
    -webkit-transform: scale(1.2);
    transform: scale(1.2)
  }
}

@keyframes emph {
  10% {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: .5
  }

  to {
    opacity: 0;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2)
  }
}

.password-switch .point:before,
.password-switch .point:after {
  display: block;
  position: absolute;
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: currentColor;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  will-change: transform, opacity;
  opacity: 0;
  left: -8px;
  top: -8px;
}

.password-switch input:checked~.point:before,
.password-switch input:not(:checked)~.point:after {
  -webkit-animation: emph 0.5s;
  animation: emph 0.5s;
  -webkit-animation-delay: inherit;
  animation-delay: inherit
}

/* input.form-control */
input.form-control.error {
  background: rgb(251, 227, 228);
  border: 1px solid #fbc2c4;
  color: #8a1f11;
}

/* override onoffswitch-label style */
.onoffswitch {
  width: 37px;
  height: 22px;
}

.onoffswitch-label {
  height: 100%;
  box-sizing: border-box;
  border-radius: 22px;
  border: 1px solid #aaa6a0;
  background-color: #e3e3e3;
  transition: border-color 0.3s, background-color 0.3s;
}

.onoffswitch-inner {
  display: none;
}

.onoffswitch-switch {
  right: 15px;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 1px solid #aaa6a0;
  border-radius: 100%;
  /* box-shadow:0 1px 3px rgba(0, 0, 0, 0.4); */
  transition: right 0.3s;
}

.onoffswitch-checkbox:checked+.onoffswitch-label {
  background-color: #79a22e;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
  right: -1px;
}

.onoffswitch-checkbox:focus+.onoffswitch-label,
.onoffswitch-checkbox:focus+.onoffswitch-label .onoffswitch-switch {
  border: 1px solid #007bdb;
}

.onoffswitch-label:after {
  content: 'No';
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 21px;
  position: absolute;
  right: -40px;
}

.onoffswitch-checkbox:checked+.onoffswitch-label:after {
  content: 'Yes'
}

/* rewrite swal */
.sweet-alert {
  padding: 2rem 3rem 0 2rem;
}

.sweet-alert .sa-icon {
  display: none !important;
}

.sweet-alert h2 {
  margin: 0;
  font-size: 1.8rem;
  text-align: left;
  text-shadow: none;
}

.sweet-alert p {
  text-align: left;
  margin-bottom: 1rem;
}

.sweet-alert .sa-button-container {
  margin: 0 -3rem;
  border-top: 1px solid #eee;
  text-align: right;
  padding: 1rem 2rem;
}

.sweet-alert .sa-button-container button {
  margin: 0 0.5rem;
  padding: 0.1rem 0.8rem;
  background-color: #fff !important;
  color: #4dabff;
  border: 1px solid #4dabff;
  border-radius: 3px;
  box-shadow: none !important;
}

/* googple auto dropdown z-index  */
.pac-container.pac-logo {
  z-index: 10000;
}

.cropper-point {
  background-color: white !important;
}

.cropper-line { 
  background-color: white !important;
}