/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.salam-section {
  gap: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.salam-featured-image {
  cursor: pointer;
  background-color: #fff;
}

#salam-updating-data {
  height: 30px;
  width: 30px;
  border: 5px solid;
  position: absolute;
  border-radius: 100%;
  border-top-color: transparent;
  animation: data-updating 0.5s infinite;
}

@keyframes data-updating {
  0%   { transform: rotate(0deg) }
  100% { transform: rotate(360deg) }
}

#centers-filter .salam-featured-image {
  padding: 15px;
  flex-basis: calc(20% - 12px);
}

#levels-filter .salam-featured-image,
#languages-filter .salam-featured-image {
  padding: 3px;
  flex-basis: 25%;
}

.salam-featured-image img {
  width: 100%;
  height: 250px;
}

#levels-filter .salam-featured-image img {
  height: 140px;
}

.salam-entry-title {
  margin: 0;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

#genders-filter .salam-featured-image {
  padding: 10px;
  flex-basis: 25%;
}

#genders-filter .salam-featured-image,
#centers-filter .salam-featured-image,
#languages-filter .salam-featured-image {
  box-shadow: 0 0 10px 0 var( --e-global-color-primary );
}

#genders-filter .salam-featured-image:hover,
#centers-filter .salam-featured-image:hover,
#languages-filter .salam-featured-image:hover {
  box-shadow: 0 0 30px 0 var( --e-global-color-primary );
}

#select-cert {
  gap: 35px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 75px;
}

#select-cert .salam-cert-img {
	cursor: pointer;
	outline: 8px solid;
	border: 2px solid #000;
	flex-basis: calc(25% - 28px);
	box-shadow: 0 0 40px 0 #000;
	background-color: #000;
}

#select-cert .salam-cert-img img {
  height: 100%;
}

#salam-design-cert {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 999999;
  position: fixed;
  background-color: rgba(0,0,0,0.85);
}

#salam-chosen-cert-processing {
  display: flex;
  flex-basis: 20%;
  align-items: center;
  flex-direction: column;
  background-color: #f9f9f9;
  justify-content: space-between;
}

#salam-chosen-cert-processing-header {
  color: #000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
}

#salam-chosen-cert-processing-inputs-wrapper {
  width: 100%;
  padding: 15px;
  overflow: hidden scroll;
}

/* customize the scrollbar */
/* Restyling the scroll in firefox */
#salam-chosen-cert-processing-inputs-wrapper {
	scrollbar-width: 5px;
	scrollbar-color: #c9c9c9 transparent;
}

/* Restyling the scroll in chrome, opera, edge, safari,...etc */
#salam-chosen-cert-processing-inputs-wrapper::-webkit-scrollbar {
	width: 5px;
}

#salam-chosen-cert-processing-inputs-wrapper::-webkit-scrollbar-track {
	background-color: transparent;
}

#salam-chosen-cert-processing-inputs-wrapper::-webkit-scrollbar-thumb {
	height: auto;
	background-color: #c9c9c9;
	border: 1px solid var(--risam-global-bkg-primary-color);
}

.salam-chosen-cert-processing-input-label {
  color: #555;
  margin-bottom: 8px;
}

.salam-chosen-cert-group-label {
  color: #555;
  margin-bottom: 18px;
}

#salam-student-name-input {
  margin-bottom: 0.9rem;
  border: 1px solid #c9c9c9; 
}

.salam-chosen-cert-processing-input-read-only {
  border-radius: 3px;
  padding: 0.5rem 1rem;
  border: 1px solid #c9c9c9;
  background-color: #f1f1f1;
}

#salam-chosen-cert-processing-footer {
  width: 100%;
  display: flex;
  padding: 10px;
  border-top: 2px solid;
  justify-content: space-evenly;
  background-color: var(--e-global-color-primary);
}

.salam-chosen-cert-processing-btn {
  padding: 2px 0;
  color: #000000;
  flex-basis: 42%;
  border: 2px solid;
  font-weight: 500;
  border-radius: 0;
}

.salam-chosen-cert-processing-btn:focus,
.salam-chosen-cert-processing-btn:hover {
  color: #f9f9f9;
  border-color: #000;
  background-color: #000;
}

#salam-chosen-cert-processing-save #salam-updating-data {
	width: 15px;
	height: 15px;
	border-width: 2.5px;
}

#salam-design-cert .salam-chosen-cert-img {
  display: flex;
  flex-basis: 80%;
  align-items: center;
  justify-content: center;
}

#salam-design-cert #salam-chosen-cert-img-wrapper {
  display: flex;
  box-shadow: 0 0 50px #000;
}

@keyframes modal-zoom-in {
  0%   { transform: scale(0) }
  100% { transform: scale(1) }
}

@keyframes modal-zoom-out {
  0%   { transform: scale(1) }
  100% { transform: scale(0) }
}

#salam-design-cert #salam-chosen-cert-img-wrapper.zoom-in {
  position: relative;
  align-items: center;
  justify-content: center;
  animation: modal-zoom-in .8s;
}

#salam-design-cert #salam-chosen-cert-img-wrapper.zoom-out {
  animation: modal-zoom-out .8s;
}

#salam-design-cert .salam-chosen-cert-element {
	margin: 0;
  color: #000;
  cursor: pointer;
  position: absolute;
	line-height: 1;
  margin-block-end: 0;
	margin-block-start: 0;
	font-family: serif;
}

#salam-student-name,
#salam-teacher-name {
  top: 0;
	left: 0;
	display: none;
}

#_salam-cert-level,
#_salam-cert-usage {
	bottom: 10px;
	color: #d79950;
	position: absolute;
}

#_salam-cert-level {
	left: 10px;
}

#_salam-cert-usage {
	left: 35px;
}

.cert-control {
	gap: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cert-control .range {
	width: 80%;
	height: 2px;
	cursor: pointer;
	appearance: none;
	border-radius: 50px;
	background-color: #ddd;
}

.cert-control .range:focus-visible{
	outline: none;
}

.cert-control .number {
	padding: 0;
	width: 65px;
	height: 30px;
	color: #bebebe;
	font-size: 14px;
	border: 1px solid;
	font-weight: 600;
	text-align: center;
	transition: all .2s ease-in-out;
	-moz-appearance: textfield; /* Removes arrows from input type number Firefox */
}

.cert-control .number:focus {
	outline: none;
	color: var(--risam-global-secondary-color);
}

.cert-control .range::-moz-range-thumb, /* Firefox */
.cert-control .range::-webkit-slider-thumb { 
	width: 14px;
	height: 14px;
	cursor: pointer;
	appearance: none;
	border-radius: 50%;
	background-color: var(--e-global-color-primary);
}

/* Firefox */
.cert-control .range::-moz-range-thumb {
  border: none;
}

.cert-control .number::-webkit-inner-spin-button,
.cert-control .number::-webkit-outer-spin-button {
  margin: 0;
}

#seperator {
	display: block;
	margin: 30px -20px 15px;
	border-top: 2px solid #c1c1c1;
}

#teacher-error {
  color: #fff;
  font-weight: 500;
  text-align: center;
}

/* Dashboard Reports */
#salam-reports-page-wrapper {
	margin-left: -20px;
	position: relative;
}

#salam-report-header {
	top: 32px;
	z-index: 999;
	position: sticky;
	margin-bottom: 25px;
	padding: 10px 20px 10px;
	background-color: #316c93;
}

#salam-report-topbar {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	justify-content: space-between;
}

#salam-reports-heading {
	margin: 0;
	color: #ffffff;
	font-size: 2.5rem;
	text-align: center;
	font-family: "Roboto Slab";
	text-shadow: 0 0 10px rgb(0 0 0 / 25%);
}

#salam-reports-actions-wrapper {
	gap: 15px;
	display: flex;
}

#salam-delete-report,
#salam-export-csv-report {
	color: #fff;
	width: 180px;
	cursor: pointer;
	font-size: 16px;
	padding: 6px 12px;
	font-weight: 500;
	border: 2px solid;
	border-radius: 5px;
	background-color: transparent;
}

#salam-delete-report {
	display: none;
}

#reports-user-filter {
	gap: 10px;
	display: flex;
	padding: 10px;
	align-items: stretch;
	justify-content: center;
	background-color: #fff;
	box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
}

#reports-user-filter .select-reports-filter {
	width: 205px;
	color: #8e8e8e;
	font-weight: 500;
	padding: 5px 35px;
	border-radius: 0;
	border: 1px solid #ccc;
}

#reports-user-filter .filter-option {
	font-weight: 500;
}

#reports-filter {
	padding: 0 20px;
	flex-wrap: wrap;
	justify-content: flex-start;
}

#reports-filter .report-wrapper {
	padding: 5px;
	cursor: pointer;
	background-color: #fff;
  flex-basis: calc(20% - 22px);
	box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
}

#reports-filter .report-wrapper.selected {
	position: relative;
	outline: 3px solid #dd0000;
}

#reports-filter .report-wrapper.selected::after {
	top: 0;
	right: 0;
	width: 25px;
	color: #fff;
	height: 25px;
	display: flex;
	content: '\f335';
	font-size: 25px;
	position: absolute;
	align-items: center;
	font-family: 'dashicons';
	justify-content: center;
	background-color: #dd0000;
}

#reports-filter .cert-img {
	display: flex;
	border: 1px solid #ddd;
}

#reports-filter .cert-img img {
	width: 100%;
	height: 100%;
}

#reports-filter .cert-report,
#reports-filter .cert-report li:last-child {
	margin-bottom: 0
}

#reports-filter .cert-report li span:first-child {
	font-weight: 500;
}

#reports-filter .cert-report-title h4 {
	margin: 0;
}