/*
Project         :  Dashboard
Version         :  0.1
Author          :  Ron
Developer       :  Kareem Sultan (HTML-CSS)
Framework       :  Bootstrap 4
Date            :  23/9/22      
*/

/* ============================================ *
 * Contents
 1- root
 2- body
 3-
 * ============================================ */

/* ============================================ *
 * root
 * ============================================ */

:root {
  --white: #fff;
  --gray: #f8f8f8;
  --gray-dark: #343a40;
  --black: #000000;
  --primary: #225e90;
  --secondary: #6b91b2;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f4faff;
  --dark: #343a40;
  --havan: #c6891f;
  --brown: #3b1f11;
  --softblue: hsl(206deg 71% 66%);
}

/* ============================================ *
 * body
 * ============================================ */

.page-title {
  color: var(--primary);
}

/* ============================================ *
 * fonts
 * ============================================ */

.ff-rancho {
  font-family: 'rancho', sans-serif;
}

/* ============================================ *
 * texts
 * ============================================ */

.text-havan {
  color: var(--havan);
}
.text-brown {
  color: var(--brown);
}
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
/* ============================================ *
 * backgrounds
 * ============================================ */

/* .bg-light {background-color: var(--light);} */

/* ============================================ *
 * borders
 * ============================================ */

.border-gray {
  border-color: #eee !important;
}
.border-radius-8 {
  border-radius: 8px;
}

/* ============================================ *
 * checkbox
 * ============================================ */

.user-checkbox {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.show-checkbox {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.input-container {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.user-checkbox + label {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 27px;
  margin-bottom: 0;
}

.show-checkbox + label {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 27px;
  margin-bottom: 0;
}

.user-checkbox + label::before {
  content: ' ';
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  width: 14px;
  height: 14px;
  background-color: rgb(237, 231, 216);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(222, 209, 178);
  border-radius: 2px;
  box-shadow: none;
}

.show-checkbox + label::before {
  content: ' ';
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  width: 14px;
  height: 14px;
  background-color: rgb(237, 231, 216);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(222, 209, 178);
  border-radius: 2px;
  box-shadow: none;
}

.user-checkbox:checked + label::after {
  content: ' ';
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjMzMzMjMwIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+');
  background-repeat: no-repeat;
  background-size: 13px 13px;
  background-position: center center;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0px;
  left: 0px;
  top: 0px;
  text-align: center;
  background-color: transparent;
  font-size: 10px;
  height: 25px;
  width: 13px;
}

.show-checkbox:checked + label::after {
  content: ' ';
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjMzMzMjMwIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+');
  background-repeat: no-repeat;
  background-size: 13px 13px;
  background-position: center center;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0px;
  left: 0px;
  top: 0px;
  text-align: center;
  background-color: transparent;
  font-size: 10px;
  height: 25px;
  width: 13px;
}

/* ============================================ *
 * menu
 * ============================================ */
.left-menu-container {
  max-width: 1150px;
}
.left-menu-container span {
  margin-bottom: 9px;
  display: inline-block;
}
.box-item {
  padding-top: 15px;
  padding-bottom: 15px;
}

.box-item .box {
  min-height: 220px;
  border: 1px solid rgba(191, 191, 191, 0.78);
  box-shadow: 0px 0px 15px 2px rgba(83, 88, 86, 0.2);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-title > h2 {
  font-size: 1rem;
  font-weight: bold;
}
.logo img {
  max-height: 70px;
}

.left-menu-container a {
  color: var(--black);
  font-size: 16px;
  font-weight: 500;
  margin-right: 1rem;
}

.left-menu-container a.active {
  border-bottom: 0.2rem solid var(--secondary);
  padding-bottom: 0.2rem;
}
.left-menu-container a:hover {
  border-bottom: 0.2rem solid var(--secondary);
  padding-bottom: 0.2rem;
}

nav#navbar {
  padding: 0em 3rem;
  min-height: 80px;
}
a:hover {
  text-decoration: none;
}
/* ============================================ *
 * sub menu
 * ============================================ */

.submenu-item {
  padding-top: 15px;
  padding-bottom: 15px;
}

.submenu-item .box {
  min-height: 100px;
  border: 1px solid rgba(191, 191, 191, 0.78);
  box-shadow: 0px 0px 15px 2px rgba(83, 88, 86, 0.2);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.submenu-title > h2 {
  font-size: 1rem;
  font-weight: bold;
}

/* ============================================ *
 * login page
 * ============================================ */

.form-control {
  border-color: #c7c7c7;
}

.btn,
.form-control {
  border-radius: 5px;
}

main.login-page {
  background-color: #f4faff;
  padding-top: 4rem;
}

.login-form-container {
  max-width: 450px;
}

.form-wrapper {
  border-radius: 8px;
  box-shadow: 0px 0px 16px 5px #eee;
}
.rule {
  color: #888b86;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 0;
  position: relative;
  text-align: center;
  text-transform: uppercase;
}
.rule:after {
  background: #e1e2e1;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 0;
}
.rule__text {
  background: #fff;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  z-index: 1;
}
.listStyleNone > li {
  list-style: none;
  text-align: left;
  font-size: 12px;
}
.loginForm {
  padding: 40px 40px 45px !important;
}
.fullHeight {
  min-height: 100vh;
  overflow: auto;
  background-color: #888888;
}

/* ============================================ *
 * userSummary page
 * ============================================ */
.table th,
.table td {
  padding: 0.4rem;
}
.filters-inputs {
  gap: 10px;
}

.users-summary-table thead {
  border-radius: 8px;
}
.users-summary-table td {
  max-width: 250px;
  overflow-x: auto;
}

/* ============================================ *
 * footer
 * ============================================ */
footer {
  background: var(--primary);
  /*padding: 21px;*/
  color: var(--white);
  /*position: fixed;*/
  width: 100%;
  bottom: 0;
  font-size: 13px;
}
/* ============================================ *
 * mobile menu
 * ============================================ */
.mobile-menu-btn {
  cursor: pointer;
}
.mobile-menu {
  position: fixed;
  top: 0;
  background: var(--white);
  z-index: 9;
  width: 80%;
  height: 100vh;
  padding-top: 18px;
  overflow-y: auto;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1) 0s;
  transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1) 0s;
}

.mobile-menu span {
  display: block;
  padding: 10px 10px;
  text-align: center;
}

.mobile-menu a {
  color: var(--primary);
  padding: 0px 40px;
  font-size: 16px;
  font-weight: 600;
}
.mobile-menu.active {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  box-shadow: 10px 10px 8px #888888;
}
a.active {
  color: var(--a-hover-color);
  font-weight: bold;
}

.grid-input {
  cursor: pointer;
}

.grid-input input,
.grid-input select {
  display: none;
}

/* media queries */
@media (max-width: 768px) {
  .fullHeight {
    height: 100%;
    overflow: auto;
  }
  .loginForm {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
.cursor-pointer {
  cursor: pointer;
}
.row.cfm-events-wrap .psudoDiv:before, 
.row.cfm-events-wrap .psudoDiv:after {
  margin: 0; 
  margin-top: 0;
  margin-bottom: 0;
  position: absolute;
  left: 10px;
  max-width: 150px;
}
.row.cfm-events-wrap {
  position: relative;
}
.row.cfm-events-wrap .psudoDiv:before {
  top: 0px;
}
.row.cfm-events-wrap .psudoDiv:after {
  bottom: 0px;
}
.row.cfm-events-wrap .d-flex.event-date,
.row.cfm-events-wrap .d-flex.event-info a {
  padding: 0px 20px;
}
.row.cfm-events-wrap .d-flex.event-date p {
  margin-bottom: 0px;
}
.row.cfm-events-wrap .d-flex.event-date {
  row-gap: 20px;
}
.row.psudoDiv {
  row-gap: 20px;
}
@media (max-width: 575px) {
.row.cfm-events-wrap .psudoDiv:before, 
.row.cfm-events-wrap .psudoDiv:after {
  left: 0px;
  max-width: 100%;
}
}