:root {
  --main-color: #1e5a40;
  --primary-color: #2b8b9a;
  --secondary-color: #40ba86;
}

@font-face {
  font-family: 'Changa';
  src: url('../assets/fonts/Fonts/Changa-Light.eot');
  src: url('../assets/fonts/Fonts/Changa-Light.eot?#iefix') format('embedded-opentype'),
    url('../assets/fonts/Fonts/Changa-Light.woff2') format('woff2'),
    url('../assets/fonts/Fonts/Changa-Light.woff') format('woff'),
    url('../assets/fonts/Fonts/Changa-Light.ttf') format('truetype'),
    url('../assets/fonts/Fonts/Changa-Light.svg#Changa-Light') format('svg');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'jn';
  src: url('../assets/fonts/Fonts/jannaltregular.eot');
  src: url('../assets/fonts/Fonts/jannaltregular.eot') format('embedded-opentype'),
    url('../assets/fonts/Fonts/jannaltregular.woff2') format('woff2'),
    url('../assets/fonts/Fonts/jannaltregular.woff') format('woff'),
    url('../assets/fonts/Fonts/jannaltregular.ttf') format('truetype'),
    url('../assets/fonts/Fonts/jannaltregular.svg#jannaltregular') format('svg');
  font-weight: 400;
}

@font-face {
  font-family: 'jn';
  src: url('../assets/fonts/Fonts/jannaltbold.eot');
  src: url('../assets/fonts/Fonts/jannaltbold.eot') format('embedded-opentype'),
    url('../assets/fonts/Fonts/jannaltbold.woff2') format('woff2'),
    url('../assets/fonts/Fonts/jannaltbold.woff') format('woff'),
    url('../assets/fonts/Fonts/jannaltbold.ttf') format('truetype'),
    url('../assets/fonts/Fonts/jannaltbold.svg#jannaltbold') format('svg');
  font-weight: 700;
}


body {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: "jn", sans-serif;
  font-weight: 400;
  padding-top: 123px;
}

body.user-logged-in {
  padding-top: 185px
}

a {
  text-decoration: none !important;
}

section {
  padding: 50px 0;
}

.activities h3 {
  font-size: inherit;
}

/*.container {
  width: 100%;
  max-width: 100%;
  padding: 0 140px;
}*/
.newUILanding .btn img {
  width: 15px;
  margin-right: 10px;
}

p {
  font-size: 14px;
  line-height: 1.8;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.btn-outline-primary:hover {
  color: #fff !important;
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

/* end general */

/* start header-nav */
.ministry .header-nav {
  background-color: #fff;
  display: flex;
  flex-direction: row;
  height: 80px;
  padding: 0;
  justify-content: flex-start;
  position: relative;
}

.ministry .header-nav .interactive {
  background-color: #84bc47;
  /* background: rgba(0,0,0,0.15); */
  height: 100%;
  width: 315px;
  display: flex;
  color: #fff;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-weight: bold;
  margin: 0;
}

.ministry .header-nav .speech-bubble {
  position: relative;
  background: #40c2cc;
  border-radius: 17px;
  width: 130px;
  height: 70px;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
  color: #fff;
  display: flex;
  font-size: 16px;
}

.ministry .header-nav .afkarLink {
  background: transparent;
  border-radius: 17px;
  width: 119px;
  height: 60px;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
  color: #046f6d;
  display: flex;
  font-size: 16px;
  border: 2px solid #046f6d;
}

.ministry .header-nav .qrarLink {
  background: transparent;
  border-radius: 17px;
  width: 119px;
  height: 60px;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
  color: #046f6d;
  display: flex;
  font-size: 16px;
  border: 2px solid #046f6d;
}

.ministry .header-nav .speech-bubble:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top-color: #236f6d;
  border-bottom: 0;
  margin-left: -8px;
  margin-bottom: -8px;
}

.ministry .header-nav a img {
  width: 90px;
  height: auto;
  object-fit: contain;
  margin-left: 10px;
}

/* end header-nav */
/* start nav */
.ministry nav.navbar {
  /* height: 85px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.582); */
  position: relative;
  z-index: 2;
  background: var(--main-color);
  padding: 0;
}

.ministry nav.top-navbar {
  background: rgba(0, 0, 0, 0.15);
}

.client-layout .navbar-brand {
  flex-wrap: nowrap;
  margin-right: 0;
  height: 100% !important;
  padding: 20px 0;
  width: auto;
}

.image-icon {
  width: auto;
  height: auto;
  max-width: 100%;
}

.navbar-nav {
  padding-right: 0px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-items: center;
}

.client-layout .nav-item.active a.nav-link {
  color: var(--main-color) !important;
}

.ministry .newNav {
  margin-right: 30px;
  width: 98%;
}

.client-layout .nav-item {
  margin-right: 48px;
}

.navbar-expand-md .navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

/* end nav */
/* start header */
.client-layout .flex-page-content main {
  /* margin-top: -85px; */
  padding-bottom: 0;
}

.newUILanding .header-image-bg {
  /* min-height: 90vh; */
  position: relative;
  background: linear-gradient(90deg, rgba(47, 158, 141, 0.49) 0%, rgba(76, 206, 128, 0.5) 27%, rgba(30, 90, 64, 0.38) 56%, rgba(30, 90, 64, 0.36) 87%, rgba(30, 90, 64, 0.68) 100%), url('../images/sdaia-bg.jpeg');
  /* background: linear-gradient(to left, #5c54a054, #5c54a045,#5c54a082),url('../images/sdaia-bg.jpeg'); */
  background-size: cover;
  background-position: center;
  /* margin-top: 171px; */
  min-height: calc(100vh - 122px);
  overflow: hidden;
  position: relative;
}

.header-image-bg {
  color: white;
  text-align: center;
  min-height: 100vh;
  background: -webkit-gradient(linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.6)),
      to(rgba(0, 0, 0, 0.6))),
    url(../assets/img/hero.svg);
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../assets/img/hero.svg);
  background-size: cover;
  display: flex;
  align-items: center;
  /* font-size: 40px; */
}

.heroPattern {
  position: absolute;
  left: 0;
  bottom: 0;
}

.header h2 {
  color: var(--main-color);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
}

.header h2.slide-title {
  color: #fff;
  font-weight: bold;
}

.header h3 {
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 20px;
  color: #eee;
}

.section-flex {
  margin-top: 100px !important;
}

.section-flex .icons-group {
  width: 90%;
}

.section-flex .icons-group>* {
  margin: 20px;
  padding: 5px;
  justify-content: center;
  display: flex;
  /* flex-direction: column;
  align-items: center; */
  width: 31%;
  border: 0.5px solid rgba(255, 255, 255, 0.4);
  padding: 10px;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04), 0 1px 6px rgba(0, 0, 0, 0.04);
  background-color: #f3f3f3;
  border-radius: 10px;
}

.section-flex .icons-group .image-icon {
  width: 80px;
  height: 80px;
  max-width: 70px;
  padding: 5px;
  object-fit: contain;
}

[dir="rtl"] .toolbar .toolbar-tray-horizontal .toolbar-menu {
  text-align: right
}

.newUILanding .icons-group p {
  color: rgb(7, 7, 7);
  font-weight: 600;
  font-size: 30px;
  margin: 10px 0;
}

.newUILanding .icons-group h4 {
  color: #484e56;
  font-size: 16px;
  margin: 10px 0 4px 0px;
}

.header-button {
  background-color: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: 25px;
  padding-left: 28px;
  padding-right: 28px;
}

/* end header */
/* start activities */
.newUILanding .activities {
  background-color: #fff;
  /* background-image: url(../assets/img/activity.svg); */
  background-repeat: no-repeat;
  background-position: 110%;
}

.newUILanding .activities h2 {
  color: var(--main-color);
  font-weight: 600;
  margin-bottom: 0;
  font-size: 25px;
}

.newUILanding .activities .btn-group .btn {
  border: 2px solid var(--main-color);
  border-radius: 0 !important;
  background-color: transparent;
  color: var(--main-color);
  width: 200px;
  margin: 0 !important;
}

.newUILanding .activities .btn-group .btn.active {
  background-color: var(--main-color) !important;
  color: #fff;
}

.newUILanding .activities .oneActivity {
  border-radius: 5px;
  border: 1px solid #40c2cc;
  padding: 20px 10px;
  box-shadow: 0px 5px 10px #0000000d;
  background-color: #fff;
  height: 150px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-around;
  overflow: hidden;
}

.newUILanding .activities .oneActivity h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.newUILanding .activities .oneActivity img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  margin-left: 10px;
}

.newUILanding .activities .oneActivity p {
  color: var(--primary-color);
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
}

.newUILanding .activities .btn {
  margin-top: 40px;
  border-radius: 25px;
  color: var(--main-color);
  font-weight: 600;
  border-color: var(--main-color);
  font-size: 14px;
  padding-left: 28px;
  padding-right: 28px;
}

.newUILanding .activities .col-lg-3 {
  padding: 10px;
}

/* end activities */
/* start charts */
.charts {
  background-color: #f3f3f3;
  /* background-image: url(../assets/img/chartsBg.svg); */
  background-repeat: no-repeat;
  background-position: 0 20px;
  background-size: 33.3%;
}

.charts h2 {
  color: var(--main-color);
  font-weight: 600;
  text-align: right;
  margin-bottom: 40px;
  font-size: 27px;
}

.charts .card {
  background-color: #fff;
  height: 100%;
}

.charts .card h4 {
  width: 40%;
  color: var(--main-color);
  text-align: right;
  font-size: 17px;
  margin-top: 20px;
  font-weight: 600;
  margin-right: 15px;
  line-height: 1.5;
}

.charts .card h4 span {
  display: block;
  color: var(--primary-color);
  font-size: 30px;
  margin-bottom: 10px;
}

.chartContainer {
  width: 60%;
  margin-top: 20px;
}

/* end charts */
/* start archieved */
.newUILanding .archieved .btn-group .btn.active {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

.newUILanding .archieved .btn-group .btn {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/* end archieved */
/* start upperFooter */
.upperFooter {
  background-color: #fff;
  display: flex;
  justify-content: center;
  padding: 40px 0;
  flex-direction: row-reverse;
  border-top: 1px solid #40c2cc;
  clear: both;
}

.upperFooter img {
  height: 25px !important;
  object-fit: contain;
  margin: 0 20px;
  width: auto;
}

/* end upperFooter */
/* start footer */
.footer {
  background-color: var(--primary-color);
  padding: 50px 0;
}

.footer h5 a {
  color: var(--main-color);
  text-align: right;
  font-weight: 600;
  font-size: 20px;
  /* text-align: right; */
  display: block;
}

.footer p,
.footer a {
  color: #fff;
  margin-bottom: 10px;
  text-align: right;
  font-size: 14px;
}

.bottomFooter p {
  color: #fff;
  margin-bottom: 0;
}

.bottomFooter img {
  width: 20px;
  object-fit: contain;
  margin-right: 10px;
}

.bottomFooter {
  margin-top: 15px;
  border-top: 1px solid #fff;
  padding-top: 50px;
  display: flex;
  flex-direction: row;
  text-align: right;
}

/* end footer */
/* start loggedHeader */
.loggedHeader {
  height: 60px;
  background-color: rgba(0, 0, 0, 0.15);
}

.userInfo img {
  height: 50px;
  border-radius: 50%;
}

[lang=ar] .userInfo img {
  margin-left: 20px;
}

[lang=en] .userInfo img {
  margin-right: 20px;
}

.insideLoggedHeader {
  padding: 0 60px;
  width: 100%;
}

.loggedHeader a {
  color: #fff;
  font-size: 14px;
}

.rtInsideLoggedHeader a {
  margin-right: 30px !important;
}

/* end loggedHeader */
/* start reponsive table */
.table-responsive-stack tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.table-responsive-stack td,
.table-responsive-stack th {
  display: block;
  /*
  flex-grow | flex-shrink | flex-basis   */
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.table-responsive-stack .table-responsive-stack-thead {
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .table-responsive-stack tr {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-bottom: 3px solid #ccc;
    display: block;
  }

  /*  IE9 FIX   */
  .table-responsive-stack td {
    float: left\9;
    width: 100%;
  }
}

/* end responsive table */

.has-glyphicons .ministry {
  background: var(--main-color);
}

.activitiesDiv .tab1 .item {
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(221, 221, 221, 0.6);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.activitiesDiv .tab1 .item .item-top {
  padding: 1rem;
  min-height: 150px;
}

.activitiesDiv .tab1 .item .item-bottom a {
  padding: 1rem;
  border-top: 4px solid var(--main-color);
  background: #f8fafc;
  font-weight: 700;
  display: block;
}

.activitiesDiv .tab2 .item {
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(221, 221, 221, 0.6);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.activitiesDiv .tab2 .item .item-top {
  padding: 1rem;
  min-height: 150px;
}

.activitiesDiv .tab2 .item .item-bottom a {
  padding: 1rem;
  border-top: 4px solid var(--main-color);
  background: #f8fafc;
  font-weight: 700;
  display: block;
}

.item-bottom a {
  color: var(--primary-color);
}

.item-bottom a span.fa {
  color: #969899;
}

.rating {
  text-align: center;
  background: #f3f6f7;
  border-radius: 10rem;
  padding: 1px 5px;
}

.details-rate-cont {
  padding-top: 20px;
  ;
}

.ministry {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
}

/* .icons-group .item {
  display: flex;
  margin-bottom: 30px;
} */
