.dashboard-wrapper {
    visibility: visible !important;
    transition: visibility 0.3s;
}
.dashboard-info-wrapper {
    display: grid;
    align-content: start;
    align-items: initial;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    justify-content: start;
    justify-items: start;
    gap: 16px;
    margin-bottom: 3rem;
}
.info-item-box {
    position: relative;
    text-align: center;
    /* background: #5cc55a; */
    padding: 34px 14px 0;
    border-radius: 10px;
    min-height: 160px;
}
.info-item-box {
    background: #48b4f9 url(https://sharifict.com/wp-content/themes/sharifict/assets/img/stars.png) repeat top center;
}
.info-item-box {
    /* background-color: #48b4f9; */
    width: 100%;
    height: auto;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: 2s;
}
.info-item-box:hover {
    /* background: #259323; */
    background: #b11117;/*#0672b7;*/
    animation-name: movebg;
    animation-duration: 2s;
}

.item-box-count {
    position: absolute;
    left: 24px;
    top: 12px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    border-radius: 50%;
    line-height: 30px;
    border: solid 2px #fff;
    color: #fff;
    text-align: center;
    font-weight: 700;
}

.item-box-icon {
    width: auto;
    height: 56px;
    margin: 0 auto;
    color: #ffffff;
    fill: #ffffff;
    margin-bottom: 1rem;
}
.item-box-icon svg {
    width: auto;
    height: 56px;
    color: #ffffff;
    fill: #ffffff;
}

.info-item-box h2 {
    font-weight: 900;
    color: #fbfafa;
    font-size: 20px;
}

.dashboard-box-wrapper {
    border: 1px solid #ec353c;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    font-family: "IRANSansXpro", "IRANYekanX", "Vazir","Roboto", "Helvetica", "Arial", sans-serif;
}

.dashboard-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ec353c !important;
    color: #fff;
    padding: 4px 8px;
}
.dashboard-box-header .box-title {
    display: flex;
    margin-bottom: 0;
}

.dashboard-box-header .box-title-icon {
    margin-left: 0.3rem;
}

.dashboard-box-header .box-title-icon svg {
    width: 24px;
    height: auto;
    color: #fff;
    fill: #fff;
}

.dashboard-box-header .box-title-text{
    font-size: 20px;
    line-height: normal;
}

.box-button-wrapper a.gotab {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: .5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.box-button-wrapper a.gotab, 
.box-button-wrapper button.gotab {
    color: #fff;
    border: 0;
    border-radius: 4px;
    background-color: #b11117;
    transition: background-color 0.3s, color 0.3s;
}

.box-button-wrapper a.gotab:hover, 
.box-button-wrapper button.gotab:hover {
    background-color: #8e0e12;
}

.dashboard-box-body {
    color: #000;
    overflow-y: auto;
    height: 380px;/* 155px */
}

.dashboard-full-wrapper .dashboard-box-body {
    color: #000;
    overflow-y: auto;
    height: 155px;/* 155px */
}

/* width */
.dashboard-box-body::-webkit-scrollbar {
  width: 6px;
}

/* Track */
.dashboard-box-body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #8e0e12; 
  border-radius: 10px;
  background: #ee5258;
}
 
/* Handle */
.dashboard-box-body::-webkit-scrollbar-thumb {
  background: #8e0e12; 
  border-radius: 10px;
}

/* Handle on hover */
.dashboard-box-body::-webkit-scrollbar-thumb:hover {
  background: #8e0e12; 
}

.dashboard-box-content {
    padding: 4px 8px;
}

.dashboard-full-wrapper {
    display: block;
    margin-bottom: 3rem;
}

.dashboard-half-wrapper {
    display: grid;
    align-content: start;
    align-items: initial;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    justify-content: start;
    justify-items: start;
    gap: 16px;
    margin-bottom: 3rem;
}
.half-item-box {
    width: 100%;
    height: auto;
    position: relative;
    /* text-align: center; */
    /* background: #5cc55a; */
    padding: 0;
    min-height: 160px;
}

.blog-posts-wrapper {
    display: grid;
    align-content: start;
    align-items: initial;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    justify-content: start;
    justify-items: start;
    gap: 16px;
    margin-bottom: 3rem;
}
.blog-post {
    width: 100%;
    height: auto;
    position: relative;
    /* text-align: center; */
    /* background: #5cc55a; */
    padding: 0;
    min-height: 60px;
}


.blog-post {
  display:flex;
  border:solid 1px #ccc;
  padding: 4px 6px;
  margin-bottom:1rem;
  border-radius: 6px;
  gap: 15px;
}

.blog-post a, .blog-post a:hover {
  display: flex;
  color: #000000;
  box-shadow: none;
  text-decoration: none;
  justify-content: center;
  align-items: center;
}

.blog-thumbnail {
  max-width: 240px!important;/* 150px */
  width: 240px!important;/* 150px */
  height: auto!important;
  border-radius: 6px!important;
  border: none;
  box-shadow: none;
}

.blog-post .blog-content-wrapper {
  /* padding: 20px 10px; */
  padding: 0;
  padding-right: 6px;
}

.blog-post .blog-content {
  font-size: 14px;
  text-align: right;
  margin-block-start: 0;
  margin-block-end: 0;
}

.blog-post .blog-content-wrapper h4 {
    font-size: 1.0rem;
    /* padding: 0; */
    /* margin: 0; */
    /* margin-bottom: 0; */
}

/* tabs */
.switch-tabs-buttons {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.switch-tab-button {
    color: #b11117;
    background-color: transparent;
    border-color: #b11117;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.switch-tab-button:hover {
    color: #fff;
    background-color: #ec353c;
    border-color: #ec353c;
}
.switch-tab-button.active {
    color: #fff;
    background-color: #b11117;
}

.switch-tab-content {
    flex: 1;
    flex-grow: 1;
    display: none;
    padding: 20px;
    /* border: 1px solid #ccc; */
    /* border-top: none; */
}
  
  
.switch-tab-content.active {
    display: block;
}
  
.switch-tab-content.show {
    display: block;
}

@media (max-width: 767px) {
    .dashboard-info-wrapper {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    .dashboard-half-wrapper {
        grid-auto-flow: row;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
    }
    .blog-posts-wrapper {
        grid-auto-flow: row;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
    }

    .blog-post a {
        width: 100%;
        flex-direction: column;
    }
      
    .blog-thumbnail {
        max-width: 100%!important;/* 150px */
        width: 100%!important;/* 150px */
    }
      
    .blog-post .blog-content-wrapper {
        /* padding: 20px 10px; */
        width: 100%;
        padding-right: unset;
        padding: 6px;
    }
}

@keyframes movebg {
  from {background-color: #e91820;background-position-x: 0%;}
  to {background-color: #b11117;background-position-x: 49.9995%;}
}