/**
* Third Parts customize
*/

body{
  overflow-y: auto;
}

/* width */
body::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--bs-light-gray); 
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--bs-secondary); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--bs-gray); 
}

/**
* Bootstrap
*/
.content{
  padding: 1rem 0.5rem;
}
textarea.form-control{
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  max-height: 200px;
}

/**
* libs/intl-tel-input
*/

.iti{
  width: 100%;
}

.material-symbols-outlined{
  vertical-align: middle!important;
}

.loadingIcon{
  display: none;
}

.rotate{
  animation: rotation 2s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

input.dateTimeInput[readonly]{
  background-color: inherit;
}

/**
* Pace.js
*/

.pace-done #loading{
  display: none;
}

.pace-running .wrapper{
  filter: blur(4px);
}

.pace-running #loading{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  z-index: 99;
}

/**
* Utilities
*/

.previewImage{
  display: block;
  max-height: 300px !important;
}

/* Headerbar */

#siteStatusNotification small{
  font-size: 0.8rem;
  vertical-align: middle!important;
}

.dt_actions_bar{
  border-radius: 4px;
  background-color: #eee;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.mtop-16{
  margin-top:16px;
}

/* JqxWidgets */

.jqx-grid-cell-phramework{
  display: flex;
  align-items: center!important;
}

.jqx-grid-cell-phramework > div{
  margin: 0px !important;
  padding: 4px 8px !important;
}

.jqx-grid-cell-phramework.text-center{
  justify-content: center !important;
}

.jqx-grid-cell-phramework.text-end{
  justify-content: right !important;
}

.jqx-grid-cell-phramework > button{
  margin: 4px 8px !important;
}

.jqx-grid-cell-phramework > div.jqx-checkbox-phramework{
  position: relative !important;
  top: unset !important;
  left: unset !important;
  display: flex !important;
  align-items: center!important;
  padding: 0 !important;
  width: 100% !important;
  justify-content: center !important;
}

.jqx-checkbox-phramework > div{
}

.jqx-grid-cell-image img{
  max-width: 40px;
  max-height: 28px;
}

.jqx-grid-column-header-phramework{
  font-weight: 600 !important;
}

.jqx-grid-empty-cell-phramework > span{
  top: unset !important;
}

.jqx-grid-btn{
  border: none;
  padding: 1px 5px;
  margin: 12px 0px;
  border-radius:2px;
}

.sortableElement{
  cursor: move;
  padding: 8px 5px;
  border: 1px solid #ccc;
  background-color: white;
  width: 33%;
  min-width: 400px;
  margin-top: 5px;
}
.btn-with-action{
  margin-right: 12px;
}

.action-icon-btn{
  background-color: transparent;

  padding: 0;
  color: white;
  border: none;
}

.jqx-rc-all-phramework{
  z-index: 99;
  backdrop-filter: blur(5px); 
}

/**
* Sidebar
*/

.sidebar [aria-expanded=true]:after, 
.sidebar [data-bs-toggle=collapse]:not(.collapsed):after {
  top: 1.4rem;
  transform: rotate(-135deg);
}

.sidebar [data-bs-toggle=collapse]:after {
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  content: " ";
  display: inline-block;
  padding: 2px;
  position: absolute;
  right: 1.5rem;
  top: 1.2rem;
  transform: rotate(45deg);
  transition: all .2s ease-out;
}

.sidebar-link, a.sidebar-link{
  background: unset;
}

.sidebar-nav{
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 5px;
}

.sidebar-nav .collapsing li span:first-child,
.sidebar-nav .collapse li span:first-child{
  margin-left: 30px;
}

.sidebar-link, a.sidebar-link {
  padding: 0.5rem 1rem;
}

.sidebar-brand{
  line-height: 1.2rem;
}

.version{
  color: white;
  font-size: 0.8rem;
  margin-bottom: 10px;
  opacity:0.8;
}

.vr{
  margin: 0 8px;
}

/* Modals */
.z-index-parent-modal{
  z-index: 1029;
}

/* Sortable */
#imageListGrid .sortableElement img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

nav > span.breadcrumb-item:last-child{
  font-weight: bold;
}

/* Icons */
.material-symbols-outlined{
  font-variation-settings:
  'wght' 100
}

.material-symbols-outlined.refresh:after{
  content: 'refresh';
}

.material-symbols-outlined.toggle_on:after{
  content: 'toggle_on';
}

.material-symbols-outlined.toggle_off:after{
  content: 'toggle_off';
}

.material-symbols-outlined.list:after{
  content: 'list';
}

.material-symbols-outlined.arrow_drop_down:after{
  content: 'arrow_drop_down';
}

.material-symbols-outlined.arrow_drop_up:after{
  content: 'arrow_drop_up';
}

.material-symbols-outlined.fullscreen:after{
  content: 'fullscreen';
}

.material-symbols-outlined.add_circle:after{
  content: 'add_circle';
}

.material-symbols-outlined.do_not_disturb_on:after{
  content: 'do_not_disturb_on';
}

/* Bootstrap tables */
.table .btn span.material-symbols-outlined{
  color: var(--bs-secondary-rgb);
  font-variation-settings:
  'wght' 500
}

.table .btn:hover span.material-symbols-outlined{
  color: var(--bs-dark);
}

.table .imageInTable{
  width: 30px; 
  height: 30px; 
  aspect-radio: 1 / 1;
}

#addFromMediaModal .fixed-height{
  padding-bottom: 60px !important;
}

/* Sweet Alert 2 */
.swal2-styled.swal2-confirm {
  all: unset;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  color: #495057;
  cursor: pointer;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  text-align: center;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  vertical-align: middle;
  background-color: #3b7ddd;
  border-color: #3b7ddd;
  color: #fff;
}

.swal2-styled.swal2-confirm:active {
  background-color: #2f64b1;
  border-color: #2c5ea6;
  color: #fff;
}

.swal2-styled.swal2-confirm:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(88 145 226 / 50%);
}

.swal2-styled.swal2-cancel{
  all: unset;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  color: #495057;
  cursor: pointer;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  text-align: center;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  vertical-align: middle;
}

.swal2-styled.swal2-cancel:focus{
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(59 125 221 / 25%);
}

.swal2-styled.swal2-cancel:hover{
  color: #495057;
  text-decoration: none;
  background-color: transparent !important;
  background-image: unset !important;
}

/* Dropzone */

.dropzone {
  border: 1px dashed var(--bs-gray);
  border-radius: 1rem;
}

.dropzone .dz-button strong{
  color: var(--bs-primary);
}

.dropzone .dz-button .material-symbols-outlined{
  font-size: 4rem;
}

.dropzone img[data-dz-thumbnail]{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.dropzone.featuredExist .dz-progress{
  display: none !important;
}

.dropzone.featuredExist{
  pointer-events: none !important;
}

.dropzone.featuredExist .dz-preview{
  pointer-events: all !important;
}

nav .active{
  font-weight: bold;
}
.btn-action{
  padding: .1rem;
}
.btn-default{
  background-color: #eee;
}
table .btn{
  padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: none;
}

.btn-primary {
  background-color: #008055;
  border-color: #008055;
  color: #fff;
}
.btn-primary:hover {
  background-color: #006944;
  border-color: #006944;
}
.sidebar, .sidebar-content {
    background: #006944;
}
.item.active>.sidebar-link {    
  background: transparent !important;
    border-left-color: #333;
    color: #e9ecef;
}
.sidebar-item.active .sidebar-link, .sidebar-item.active .sidebar-link:hover, .sidebar-link:hover{
  background-color:#004226;
    border-left-color: #333;
    color: #e9ecef;
}