/*==========================
 CSS Index  
============================
01. Global Style
02. Custom Grid
04. Card
05. Button
05. Widget Counter
06. Module
07. Footer
==========================*/

/****************************
  01. Global Style
****************************/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.csmf-admin-panel {
  font-family: "Rethink Sans", sans-serif;
  background-color: #eee;
  box-sizing: border-box;
  padding: 20px;
  margin-left: -20px;
}
.csmf-d-flex {
  display: flex !important;
  align-items: center;
}

.csmf-justify-between {
  justify-content: space-between;
}
.csmf-items-center {
  align-items: center;
}
@media only screen and (max-width: 782px) {
  .csmf-admin-panel {
    margin-left: -10px;
  }
}
/****************************
  02. Custom Grid
****************************/
.csmf-container {
  max-width: 1320px;
  margin: auto;
  padding: 0 15px;
}
.csmf-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 -15px;
  row-gap: 32px;
}
.csmf-row [class^="csmf-col-"] {
  padding: 0 16px;
}
.csmf-row .csmf-col-1-of-2 {
  width: 50%;
}
.csmf-row .csmf-col-1-of-3 {
  width: 33.3333%;
}
.csmf-row .csmf-col-2-of-3 {
  width: 66.6667%;
}
.csmf-row .csmf-col-1-of-4 {
  width: 25%;
}
.csmf-row .csmf-col-2-of-4 {
  width: 50%;
}
.csmf-row .csmf-col-3-of-4 {
  width: 75%;
}

.csmf-col-12 {
  width: 100%;
}

.csmf-col-11 {
  width: 91.66%;
}
.csmf-col-10 {
  width: 83.33%;
}
.csmf-col-9 {
  width: 75%;
}
.csmf-col-8 {
  width: 66.66%;
}
.csmf-col-7 {
  width: 58.33%;
}
.csmf-col-6 {
  width: 50%;
}
.csmf-col-5 {
  width: 41.66%;
}
.csmf-col-4 {
  width: 33.33%;
}
.csmf-col-3 {
  width: 24.99%;
}
.csmf-col-2 {
  width: 16.66%;
}
.csmf-col-1 {
  width: 8.33%;
}
@media only screen and (max-width: 1024px) {
  .csmf-row .csmf-col-1-of-4 {
    width: 50%;
  }
  .csmf-col-3 {
    width: 50%;
  }
}
@media only screen and (max-width: 767px) {
  .csmf-row .csmf-col-1-of-2,
  .csmf-row .csmf-col-1-of-3,
  .csmf-row .csmf-col-2-of-3,
  .csmf-row .csmf-col-1-of-4,
  .csmf-row .csmf-col-2-of-4,
  .csmf-row .csmf-col-3-of-4 {
    width: 100%;
  }

  .csmf-col-3 {
    width: 100%;
  }
}

.csmf-page-title {
  color: #363d57;
  font-family: "Rethink Sans";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 46px;
  margin: 0;
}
.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

/****************************
  04. Button
****************************/
.csmf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #030611;
  font-size: 16px;
  font-weight: 500;
  height: 50px;
  line-height: 1;
  padding: 0 20px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  border: 0;
  border-radius: 4px;
  font-size: 18px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  font-weight: 500;
  z-index: 0;
}
.csmf-button::after {
  content: "";
  position: absolute;
  transition: all 0.9s ease 0s;
  z-index: -1;
  height: 100%;
  left: -35%;
  top: 0;
  transform: skew(30deg);
  transform-origin: top left;
  width: 0;
}
.csmf-button:hover {
  background-color: #5c636a;
  border-color: #565e64;
}
.csmf-button:hover:after {
  height: 100%;
  width: 135%;
}
.csmf-button-primary {
  border-radius: 10px;
  background: #1fbf98;
  color: #fff;
  font-family: "Rethink Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 25px;
}
.csmf-button-primary:after {
  background: #de6815;
}
.csmf-button-secondary {
  background: #de6815;
}
.csmf-button-secondary:after {
  background: #f7c600;
}

/****************************
  04. Card
****************************/
.csmf-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 10px 10px 40px 10px rgba(3, 11, 41, 0.04);
}
.csmf-card-title {
  color: #363d57;
  font-family: "Rethink Sans", sans-serif;
  font-size: 45px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -1.35px;
  text-align: center;
  margin: 15px 0px;
}
.csmf-card-counter {
  display: flex;
  justify-content: space-between;
}
.csmf-card-counter h3 {
  color: #686e81;
  text-align: center;
  font-family: "Rethink Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}
.csmf-card-counter p {
  color: #363d57;
  text-align: center;
  font-family: "Rethink Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -1.35px;
  margin: 0px;
}
.csmf-card-description {
  font-size: 16px;
  color: #808589;
}

/****************************
  05. Widget Counter
****************************/
.csmf-admin-widget-area {
  padding: 40px 0;
}
.csmf-widget-card {
  transition: all 0.3s;
}
.csmf-widget-card:hover {
  box-shadow: 10px 10px 0px 0px rgba(3, 6, 17, 0.06), 6px 14px 24px 0px rgba(18, 16, 16, 0.1);
}
.csmf-widget-card .csmf-card-title {
  font-size: 24px;
}
.card-counter {
  font-size: 30px;
  color: #030611;
  font-weight: 700;
}
.used-time {
  font-size: 16px;
  color: #808589;
}

/****************************
  06. Module
****************************/
.csmf-module-area {
  background-color: #fff;
  box-shadow: 6px 14px 24px 0px rgba(18, 16, 16, 0.1);
  padding: 40px 0;
}
.csmf-area-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.module-option {
  display: flex;
  align-items: center;
  gap: 12px;
}
.module-option-lebel {
  font-size: 16px;
  color: #030611;
}
.section-title {
  font-size: 24px;
  font-weight: 500;
  color: #030611;
}

/* Sigle Module */
.csmf-single-module {
  background-color: #fff;
  box-shadow: 3px 3px 0px 0px rgba(3, 6, 17, 0.06), -3px -3px 0px 0px rgba(3, 6, 17, 0.06);
  transition: all 300ms ease;
  border-radius: 4px;
}
.csmf-single-module:hover {
  box-shadow: 3px 3px 10px 0px rgba(18, 16, 16, 0.1), -3px -3px 10px 0px rgba(18, 16, 16, 0.1);
}
.csmf-single-module .csmf-module-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  height: 100px;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  background-image: url("public/images/widgets-thumb/thumb-button.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.csmf-single-module .csmf-module-thumb .csmf-module-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 300ms ease;
}
.csmf-single-module .csmf-module-thumb .csmf-module-view .csmf-module-view-action {
  font-size: 14px;
  font-weight: 500;
  background-color: #f7c600;
  padding: 5px 10px;
  text-decoration: none;
  color: #fff;
}
.csmf-single-module:hover .csmf-module-thumb .csmf-module-view {
  visibility: visible;
  opacity: 1;
}
.csmf-single-module .csmf-module-thumb .csmf-state-label {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  position: absolute;
  top: 20px;
  right: 20px;
}
.csmf-single-module .csmf-module-thumb .csmf-state-label.csmf-state-free {
  background-color: #de681580;
}
.csmf-single-module .csmf-module-thumb .csmf-state-label.csmf-state-paid {
  background-color: #f7c600;
}
.csmf-single-module .csmf-module-thumb .csmf-state-label .csmf-state-label-text {
  color: #ffffff;
  font-size: 12px;
  padding: 2px 5px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold;
}
.csmf-single-module .csmf-module-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.csmf-single-module .csmf-module-footer .csmf-moudle-name {
  color: #808589;
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
  flex-grow: 1;
  margin: 0;
}

/****************************
  07. Footer
****************************/
.csmf-copyright {
  color: #1d2542;
  font-family: "Rethink Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 27px; /* 150% */
  text-align: center;
  margin-top: 100px;
  display: inline-block;
  width: 100%;
}
