:root {
    --bckgd-1: #ffffff;
    --bckgd-2: #293676;
    --bckgd-2l: #5c70c7;
    --bckgd-3: #F57B2E;
    --bckgd-4: #EDEDED;
    --bckgd-5: #B1B1B1;
    --bckgd-6: #F9F9F9;
    --text-1: #272727;
    --text-2: #FFFFFF;
    --text-3: #666666;
    --text-4: #F57B2E;
    --text-5: #2A3576;
    --fontS-hg: 60px;
    --fontS-xl: 36px;
    --fontS-lg: 24px;
    --fontS-md: 20px;
    --fontS-md2: 14px;
    --fontS-sm: 12px;
    --fontS-xs: 10px;
}


html {
    /*background-image: url(https://konibit.com.mx/csb_demo_public/img/1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;*/
}

.page-wrapper .page-wrapper-middle {
    background: var(--bckgd-1);
}

.btn {
    border-radius: 20px !important;
}

/*Login Form*/
.login {
    background-image: url(https://cdn-demoen.konibit.com.mx/csb_demoen_public/img/BG.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    height: auto;
}

.login .logo {
    position: relative;
    top: 150px;
    z-index: 10;

}

.login .logo a img {}

.login .content {
    background-color: unset;
    /*grid-area: form;
    margin: 40px 10px 10px auto !important;*/
}

#loginForm,
.login .content #mainForm {
    background: var(--bckgd-1);
    border-radius: 15px;
    color: var(--text-1) !important;
    text-align: center;
    padding: 110px 35px 35px 35px;
    width: 100%;
    max-width: 420px;
    margin: auto;
    box-shadow: 0px 0px 6px rgb(0 0 0 / 40%);
}

.login .content .form-title {
    font-weight: 600 !important;
    font-size: var(--fontS-md);
    margin-bottom: 25px;
    text-align: left !important;
    color: var(--text-4) !important;
}

.login .content .form-control {
    border-radius: 10px !important;
    background-color: var(--bckgd-4) !important;
}

.login .content .forget-password {
    font-size: 14px;
    margin-top: 10px;
    display: block;
    float: none;
}

.login-actions {
    margin: 40px auto;
}

.login #passwordRevealer {
    color: var(--text-3) !important;
}

#doLogin {
    background-color: var(--bckgd-2);
    border-color: var(--bckgd-2);
    color: var(--text-2);
    border-radius: 45px !important;
    padding-left: 30px;
    padding-right: 30px;
}


/*Forget Form*/

#forgetForm {
    background: var(--bckgd-1);
    border-radius: 15px;
    color: var(--text-1) !important;
    text-align: center;
    padding: 110px 35px 35px 35px;
    width: 100%;
    max-width: 420px;
    margin: auto;
}

#forgetForm .form-actions {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

#forgetForm .form-actions #back-btn {
    padding: 10px 30px !important;
    background-color: unset;
    color: var(--text-5);
    font-size: var(--fontS-md2);
    font-weight: 600;
    border: thin solid var(--bckgd-1);
    margin-top: 15px;
}

#forgetForm .form-actions #back-btn:hover {
    border: thin solid var(--bckgd-2);
}

#forgetForm p {
    text-align: left !important;
}

#forgetForm .form-actions #doReset {
    padding: 10px 30px !important;
    background-color: var(--bckgd-2);
    color: var(--text-2);
    font-size: var(--fontS-md2);
    font-weight: 600;
    border: none;
}

#forgetForm .form-actions #doReset:hover {
    background-color: var(--text-1);
    color: var(--text-2);
}


/*Inside Logo*/
.page-logo img {
    content: url(https://cdn-demoen.konibit.com.mx/csb_demoen_public/img/LogoKinvori.png);
    max-width: 150px;
    height: auto;
}

/*Inside Menus*/
.page-header .page-header-top {
    background-color: #ffffff;
}

.page-header .page-header-menu {
    position: absolute;
    top: 10px;
    left: 300px;
    background-color: unset;
}

@media screen and (min-width:991px) {}


.page-header .page-header-menu .hor-menu {}

.page-header .page-header-menu .hor-menu .navbar-nav>li.active>a {
    background-color: unset;
    font-size: var(--fontS-md);
    font-weight: 600;
    color: var(--text-4);
}

.page-header .page-header-menu .hor-menu .navbar-nav>li>a {
    color: var(--text-5);
    background-color: unset;
    font-size: var(--fontS-md);
    font-weight: 600;

}

.page-header .page-header-menu .hor-menu .navbar-nav>li>a:hover,
.page-header .page-header-menu .hor-menu .navbar-nav>li>a:focus {
    background-color: unset !important;
    color: var(--bckgd-3) !important;
}

.page-header .top-menu .img-circle {
    display: none;
}

.top-menu .navbar-nav li a:hover {
    background-color: unset !important;
}

a.btn-logout {
    font-size: var(--fontS-md);
    font-weight: 600;
    color: var(--text-5);
}

a.btn-goUser {
    font-size: var(--fontS-md);
    font-weight: 600;
    color: var(--text-5);
}

a.btn-logout:hover {
    background-color: unset !important;
    color: var(--text-4);
}

a.btn-goUser:hover {
    color: var(--text-4);
}

/*Catalog*/


#activeProductsCategories .btn,
#inactiveProductsCategories .btn {
    background-color: var(--bckgd-3);
    border-color: var(--bckgd-3);
    border-radius: 20px !important;
    padding: 6px 40px !important;
    margin: 20px 10px;
}

#activeProductsCategories .btn.btn-outline,
#inactiveProductsCategories .btn.btn-outline {
    background-color: unset;
    border: solid thin var(--text-3);
    color: var(--text-3);
    margin: 20px 10px;
}

#activeProductsCategories .btn.btn-outline:hover,
#inactiveProductsCategories .btn.btn-outline:hover {
    background-color: var(--bckgd-4);
}

#allProducts .z_products .teaser .vfTitle3 {
    font-size: var(--fontS-hg);
    color: var(--text-1);
    font-weight: 600;
}

#allProducts .z_products .teaser p {
    display: none;
}

#allProducts .z-item {
    text-align: center;
    box-shadow: 0px 2px 7px 1px var(--text-3);
    border-radius: 15px !important;
    margin-top: 130px;
    margin-bottom: 40px;
    background-color: white;
}

#allProducts .z-item img {
    width: 70%;
    max-width: 170px;
    margin-top: -100px;
    filter: grayscale(1);
}

#allProducts .z-item:hover img {
    filter: grayscale(0);
}

#allProducts .z-item .s-details a.btn {
    background-color: var(--bckgd-2);
    border-radius: 25px !important;
    color: var(--bckgd-1);
}

#allProducts .z-item .s-details a.btn:hover {
    background-color: var(--text-1);
}

#allProducts .z-item .s-details a.itemAction {
    background-color: var(--bckgd-3);
    border-radius: 15px !important;
    color: var(--bckgd-1);
}

#allProducts .z-item .s-details {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    padding: 0 10px 10px 10px;
    height: 220px !important;
}

.btn.red:not(.btn-outline) {
    background-color: #5E8A25 !important;
    border-color: #5E8A25 !important;
}

.btn.red:not(.btn-outline):hover {
    background-color: #365411 !important;
    border-color: #365411 !important;
}

.btn.blue:not(.btn-outline) {
    background-color: #5E8A25 !important;
    border-color: #5E8A25 !important;
}

.btn.blue:not(.btn-outline):hover {
    background-color: #365411 !important;
    border-color: #365411 !important;
}

.btn.yellow:not(.btn-outline) {
    background-color: #5E8A25 !important;
    border-color: #5E8A25 !important;
}

.btn.yellow:not(.btn-outline):hover {
    background-color: #365411 !important;
    border-color: #365411 !important;
}

/*Product page*/
.profile-sidebar {
    float: none;
    width: auto;
    margin: 0;
}

.profile-sidebar .profile-sidebar-portlet {
    display: grid;
    grid-template-areas: "a a i" "b b b" "c c c";
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.profile-sidebar .profile-userpic {
    grid-area: b;
}

.profile-sidebar .profile-userpic img {
    border-radius: 0 !important;
    width: 100%;
    height: auto;
}

.profile-sidebar .profile-usertitle {
    grid-area: b;
    align-self: center;
    text-align: left;
}

.profile-sidebar .profile-usertitle .profile-usertitle-name {
    font-size: var(--fontS-hg);
    color: var(--text-2);
    font-weight: 700;
    padding: 10px 30px;
}

/* cambiar de color titulo y subtitulo producto
.profile-sidebar .profile-usertitle  .profile-usertitle-name {
    color: var(--text-4) !important;
}

.profile-sidebar .profile-usertitle .profile-usertitle-name span.product-subtitle {
    color: var(--text-2) !important;
}
*/

.profile-sidebar .profile-usertitle .profile-usertitle-name span.product-subtitle::before {
    content: ' ';
    clear: right;
    display: block;
}

.profile-sidebar .profile-userbuttons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 72px;
    z-index: 10;
    margin: 0;
    padding: 10px;
    border-radius: 40px !important;
    background-color: var(--bckgd-1);
    width: fit-content;
    width: -moz-fit-content;
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    column-gap: 10px;
}

.profile-sidebar .profile-userbuttons a {
    padding: 10px 15px;
    margin: 0px !important;
    border-radius: 40px !important;
    font-size: 20px;
    vertical-align: middle;
}

.profile-sidebar .profile-userbuttons a.primary {
    background-color: var(--bckgd-2);
    border: thin solid var(--bckgd-2);
    color: var(--text-2);
}

.profile-sidebar .profile-userbuttons a.primary:hover {
    background-color: var(--text-1);
    border: thin solid var(--text-1);
}

.profile-sidebar .profile-userbuttons a.secondary {
    background-color: var(--bckgd-1);
    color: var(--text-5);
    border: thin solid var(--bckgd-2);
}

.profile-sidebar .profile-userbuttons a.secondary:hover {
    color: var(--text-1);
    border: thin solid var(--text-1);
}

.profile-sidebar .profile-usermenu {
    grid-area: c;
    padding: 10px;
    margin: 0;
    background-color: var(--bckgd-6);
}

.profile-sidebar .profile-usermenu .nav {
    display: flex;
    flex-direction: row;
}

.profile-usermenu ul li.active a {
    color: var(--text-4);
   /* background-color: unset !important;*/
  /* border-bottom: 4px solid var(--bckgd-3) !important;*/
    margin-left: -2px;
    border-left: none !important;
    font-weight: 600;
}

.profile-usermenu ul li a {
    color: var(--text-5);
   /* background-color: unset !important;*/
    background-color: var(--bckgd-6) !important;
    margin-left: -2px;
    font-weight: 600;
    font-size: var(--fontS-md);
}

.profile-usermenu ul li:hover > a {
    color: var(--text-4);
}

.profile-usermenu ul li {
    border: none !important;
}

.page-content-inner .profile-content .portlet.light {
    background-color: var(--bckgd-6) !important;
}


.profile-usermenu .sub-product > a{
    border-left: 2px solid var(--text-4) !important;
}

.profile-usermenu .sub-product > a::after{
    content: "\23F7";
}

.profile-usermenu .sub-product ul {
    background-color: var(--bckgd-1);
}


.profile-usermenu .sub-product:hover ul {
    background-color: var(--bckgd-1) !important;
    display: flex !important;
    flex-direction: column !important;
    position: absolute;
    z-index: 1;
}

.profile-usermenu .sub-product:hover ul li a:has(.collapse) {
    background-color: var(--bckgd-1) !important;
    display: flex !important;
    flex-direction: column !important;
    position: absolute;
    z-index: 1;
}


.profile-usermenu .sub-product ul {
    display:none !important;
}


/*
.profile-usermenu .sub-product ul.in {
    background-color: var(--bckgd-4) !important;
}
*/

.profile-usermenu .sub-product ul a {
    font-size: 16px;
    padding: 10px;
}

/*.profile-usermenu .sub-product ul:hover li.active {
    color:var(--text-5) !important;
}*/

.mt-element-ribbon .ribbon.ribbon-color-info {
    background-color: #4EBE3B !important;
    border-radius: 30px !important;
}

.mt-element-ribbon .ribbon.ribbon-color-danger {
    background-color: #1691C6 !important;
    border-radius: 30px !important;
}

.mt-element-ribbon .ribbon.ribbon-color-warning {
    background-color: #EFC943 !important;
    border-radius: 30px !important;
}

.mt-element-ribbon .ribbon.ribbon-color-success {
    background-color: #23C9A1 !important;
    border-radius: 30px !important;
}

.mt-element-ribbon .ribbon.ribbon-color-default {
    background-color: #B3B3B3 !important;
    border-radius: 30px !important;
}

/* Chat */
#custom_fc_button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

/*Footer*/
footer {
    background-color: var(--bckgd-5);
    color: var(--text-2);
    font-weight: 600;
    padding: 25px 10px !important;
    border: none !important;
}

#footer-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

#footer-logo {
    max-width: 150px;
}

#tNc-link {
    color: var(--text-2);
    font-weight: 600;
}


@media (min-width: 768px) and (max-width: 1024px) {
  
     
    .profile-sidebar .profile-usertitle  .profile-usertitle-name {
        font-size: 2.5em !important;
    }
  }
  

  @media (min-width: 481px) and (max-width: 767px) {
  
    .profile-sidebar .profile-usertitle  .profile-usertitle-name {
        font-size: 2.2em !important;
    }
    
  }

  @media (min-width: 320px) and (max-width: 480px) {
  
    .profile-sidebar .profile-usertitle  .profile-usertitle-name {
        font-size: 1.2em !important;
    }

    .profile-sidebar .profile-usertitle .profile-usertitle-name {

        margin: 5px !important;
    }

    .profile-usermenu ul li a{
        font-size: var(--fontS-sm) !important;
    }

    #productdescription section {
        padding: 5px !important;
        margin: 0 !important;
    }

    #productdescription section div {

        font-size: var(--fontS-md) !important;
    }

    #productdescription section div span {

        font-size: var(--fontS-md) !important;
    }

    .txt-section-txtWithImg{
        display: block !important;
    }

    .txt-txtWithImg img {
        display: none;
    }

    a.btn-logout {
        font-size: var(--fontS-sm);
        font-weight: 600;
        color: var(--text-5);
    }

    
    a.btn-goUser {
        font-size: var(--fontS-sm);
        font-weight: 600;
        color: var(--text-5);
    }

    .page-header .page-header-menu .hor-menu .navbar-nav>li>a {

        font-size: var(--fontS-sm);
    }

    .btn-logout span{
        display: none;
    }

    .btn-logout,
      .btn-goUser{
          padding:5px !important;
      }


   .page-header .page-header-top .top-menu .navbar-nav {
        position:absolute; 
        top:23px; 
        left:230px;
       
    }

    .page-header .page-header-menu .hor-menu .nav {
        position: relative;
        z-index: 1;
        top:20px;
        right: 25px;
    }

    .page-header .page-header-menu .hor-menu .navbar-nav li.active a{
        background-color: var(--bckgd-4) !important;
        font-size: var(--fontS-md) !important;
        color: var(--text-4) !important;
    }
    
  }
  
   /*Ajuste de img para descripción de producto*/
  .txt-txtWithImg img{
    width: 100%;
  }