/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 34px;
  height: 24px;
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 78px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
/*aside#layout-menu {*/
/*    z-index: 9999;*/
/*}*/
.image-upload .thumb .profilePicPreview {
    width: 100%;
    height: 280px;
    display: block;
    /*border: 3px solid #f1f1f1;*/
//box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
    border-radius: 10px 10px 0px 0px;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    background-color: rgb(0 0 0 / 15%);
    overflow: hidden;
}

.image-upload .thumb .profilePicPreview.logoPicPrev {
    background-size: contain !important;
    background-position: center;
}

.image-upload .thumb .profilePicUpload {
    font-size: 0;
    opacity: 0;
}
.avatar-edit{
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: -6px;
}
.image-upload .thumb .avatar-edit label {
    text-align: center;
    background: #abc81f;
    color: #000;
    /*position: absolute;*/
    /*left: 0;*/
    /*top: -50px;*/
    line-height: 45px;
    font-size: 18px;
    cursor: pointer;
    padding: 2px 25px;
    width: 100%;
    border-radius: 0px 0px 10px 10px;
    transition: all 0.3s;
}

.image-upload .thumb .avatar-edit label:hover {
    transform: translateY(-3px);
}

.image-upload .thumb .profilePicPreview .remove-image {
    position: absolute;
    top: -9px;
    right: -9px;
    text-align: center;
    width: 55px;
    height: 55px;
    font-size: 24px;
    border-radius: 50%;
    background-color: #df1c1c;
    color: #fff;
    display: none;
}

.image-upload .thumb .profilePicPreview.has-image .remove-image {
    display: block;
}
/*Dark mode*/
.dark-style a img.light-logo{
    display:none;
}
.dark-style a img.light-menu-hover{
    display:none;
}
.dark-style a img.dark-menu-hover{
    display:none;
}
.dark-style.layout-menu-collapsed a img.dark-menu-hover{
    display: block;
}
.dark-style.layout-menu-collapsed.layout-menu-hover a img.dark-menu-hover{
    display: none;
}
.dark-style.layout-menu-collapsed a img.dark-logo{
    display: none;
}
.dark-style.layout-menu-collapsed.layout-menu-hover a img.dark-logo{
    display: block;
}
/*Light mode*/
.light-style a img.dark-logo{
    display:none;
}
.light-style a img.dark-menu-hover{
    display:none;
}
.light-style a img.light-menu-hover{
    display:none;
}
.light-style.layout-menu-collapsed a img.light-menu-hover{
    display: block;
}
.light-style.layout-menu-collapsed.layout-menu-hover a img.light-menu-hover{
    display: none;
}
.light-style.layout-menu-collapsed a img.light-logo{
    display: none;
}
.light-style.layout-menu-collapsed.layout-menu-hover a img.light-logo{
    display: block;
}

button.swal2-deny.btn.btn-label-secondary {
    display: none !important;
}
button.swal2-cancel.btn.btn-label-danger {
    display: none !important;
}
#template-customizer .template-customizer-open-btn{
    display: none !important;
}
.avatar-xxl {
    width: 9rem !important;
    height: 9rem !important;
}
.pac-container {
    z-index: 10000 !important;
}


.custom-file {
    position: relative;
    display: inline-block;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin: 0;
    opacity: 0;
}


.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 2.5rem;
    padding: .75rem .5rem;
    line-height: 1.25;
    color: #495057;
    background-color: #171515;
    border: 1px solid #465307;
    border-radius: .25rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.custom-file-label::after {
    content: 'Seleccionar archivo';
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}

