/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.category-slider {
	border-radius: 5px;
	padding: 0px 5px;
	white-space: nowrap;
	font-size: 20px;
	line-height: 30px;
	font-weight: 700 !important;
	color: #fff;
	letter-spacing: 0px;
}

.text-slider {
	white-space: nowrap;
	font-size: 13px;
	line-height: 20px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0px;
}

.dark .navbar-nav.nav-sm .nav-link {
	color: #fff;
}


.textShadow-gray {
	color: #cecece;
	text-shadow: 1px 1px #000;
}

/* Photo PDF */
.un-photo {
	max-width: 150px;
	height: 140px;
	width: 130px;
	margin: auto;
	visibility: hidden;
	cursor: pointer;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	box-shadow: 2px 2px;
}

.un-photo>img {
	visibility: visible;
	display: block;
	box-shadow: 0px 0px 7px 3px;
	transition: opacity 0.3s linear, transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) !important;
	transform: rotate(-20deg) translateY(80px) translateX(45px);
}

.un-photo:before {
	content: '';
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 1001;
	visibility: visible;
	opacity: 0;
	transition: opacity 0.4s linear;
	pointer-events: none;
}

.un-photo:hover {
	z-index: 1006;
}

.un-photo:hover>img {
	opacity: 1;
	z-index: 999;
	transform: rotate(-20deg) scale(1.2) translateY(30px) translateX(30px);
}

/* ---------------------------------- */
.un-photo__popup {
	z-index: 1005;
	position: fixed;
	display: inline-block;
	width: 80%;
	max-width: 800px;
	max-height: 120vh;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background: inherit;
	visibility: visible;
	z-index: 1007;
}

.un-photo__popup img {
	opacity: 1;
	width: auto;
	height: 500px;
	max-height: 100%;
	max-width: 100%;
	outline: solid 1px #000;
}

@supports (--row-size: calc(100% / var(--row-total))) {
	.un-photo__popup {
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.4s linear;
	}

	.un-photo__row {
		--row-size: calc(100% / var(--row-total));
		position: absolute;
		width: 100%;
		left: 0%;
		top: calc(0% + (var(--row-size) * var(--row-index)));
		height: var(--row-size);
		background: inherit;
		overflow: hidden;
		transform-origin: 0 0;
		transform-origin: calc(var(--random) * 50%) 50%;
		transform: scale(0.8) translate(0%, calc(var(--random) * 20%));
		transform: translate(0, 0) scale(1);
		animation-name: photo-bounce;
		animation-fill-mode: both;
		animation-direction: forwards;
		animation-delay: 0.1s;
		animation-duration: 0.4s;
		animation-timing-function: steps(1);
	}

	.un-photo__row-inner {
		opacity: 1;
		visibility: visible;
		position: absolute;
		background: inherit;
		width: 100%;
		height: calc(100% * var(--row-total));
		transform: translateY(calc(-1 * (100% / var(--row-total)) * var(--row-index)));
	}

	.un-photo:hover .un-photo__popup {
		opacity: 1;
	}

	.un-photo:hover:before {
		opacity: 0.4;
	}

	.un-photo:hover .un-photo__row {
		animation-name: photo-bounce2;
		animation-duration: 0.3s;
		animation-iteration-count: 1;
		animation-direction: reverse;
		animation-timing-function: steps(1);
	}
}

@keyframes photo-bounce {
	25% {
		transform: translate(-10%, 0%) scale(1);
	}

	50% {
		transform: translate(10%, -2%) scale(1.3);
	}

	75% {
		transform: translate(-3%, 2%) scale(0.9);
	}
}

@keyframes photo-bounce2 {
	25% {
		transform: translate(5%, 0%) scale(1);
	}

	50% {
		transform: translate(-10%, -2%) scale(1.3);
	}

	75% {
		transform: translate(10%, 5%) scale(0.9);
	}
}

/* END Photo PDF */
/* Revolution Slider Styles */
.hesperiden .tp-tab {
	border-bottom: 0;
}

.hesperiden .tp-tab:hover,
.hesperiden .tp-tab.selected {
	background-color: #E5E5E5;
}

.rounded-well {
	border-radius: 1rem !important;
}

.centerAlign {
	align-items: center;
}
.d-Center{
    flex-wrap: wrap;
    text-align: -webkit-center;
	text-align: -moz-center;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}
.textShadow {
	color: #fff !important;
	text-shadow: 1px 1px #000 !important;
}

.textLight {
	color: #000 !important;
	text-shadow: 1px 1px #fff !important;
}

.dark .textLight {
	color: #fff !important;
	text-shadow: 1px 1px #000 !important;
}
.textDark {
	color: #000 !important;
	text-shadow: 1px 1px #fff !important;
}

.dark .textLight:hover {
	color: #fff !important;
	text-shadow: 1px 1px #000 !important;
}

.outLine {
	color: #000;
	text-shadow: 1px 1px #fff;
	box-shadow: 0 0 0 0.25rem #009fd6;
}

.backShadow{
	background-color: #fff !important
}

.dark .backShadow {
	background-color: #212529 !important
}
.dark .outLine {
	color: #fff;
	text-shadow: 1px 1px #000;
	box-shadow: 0 0 0 0.25rem rgb(222 222 222 / 50%);
}

.outLine:hover {
	color: #fff;
	text-shadow: 1px 1px #000;
	box-shadow: 0 0 0 0.25rem rgb(55 55 55 / 50%);
}

.dark .outLine:hover {
	box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 50%);
	border-color: #fff;
	box-shadow: 0 0 0 0.25rem #fff;
}

.todayPDF {
	padding-right: 10px;
	display: flex;
	align-items: flex-end;
}

/* common */
.ribbon {
	width: 147px;
	height: 150px;
	overflow: hidden;
	position: absolute;
}

.ribbon::before,
.ribbon::after {
	position: absolute;
	z-index: -1;
	content: '';
	display: block;
	border: 5px solid #8d242e;
}

.ribbon span {
	position: absolute;
	display: block;
	width: 225px;
	padding: 12px 0;
	background-color: #DC3545;
	/* box-shadow: 0 5px 10px rgba(0,0,0,.1); */
	box-shadow: 0 0 0 3px #DC3545, 0px 21px 5px -18px rgb(0 0 0 / 60%);
	color: #fff;
	line-height: 40px;
	font: 700 22px/1 'Lato', sans-serif;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	text-transform: uppercase;
	text-align: center;
	border: 1px dashed;
}

/* top left*/
.ribbon-top-left {
	top: -10px;
	left: -10px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
	border-top-color: transparent;
	border-left-color: transparent;
}

.ribbon-top-left::before {
	top: 0;
	right: 0;
}

.ribbon-top-left::after {
	bottom: 0;
	left: 0;
}

.ribbon-top-left span {
	right: -25px;
	top: 30px;
	transform: rotate(-45deg);
}

.Urgent {
	position: fixed !important;
	z-index: 2000;
	bottom: 0px;
	right: 0;
	margin: 5px !important;
	width: fit-content;
	background: #DC3545;
	color: #fff;

}

.notif {
	background-image: linear-gradient(to bottom, #ff000080, #dc3545);
	color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
	padding: 5px 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
	border: 1px solid;
	/* background-color: #dc3545; */
	border-color: #d10;
}

#urgentNews {
	position: fixed !important;
	z-index: 2000;
	bottom: -18px;
	right: 0;
	margin: 5px !important;
	width: -webkit-fill-available;
}

.preText {
	text-align: justify;
	text-align: justify;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: normal;
	line-height: 2;
}

.sticky-sidebar-wrap {
	min-height: fit-content !important;
	margin-bottom: 5px;
}

.rev_slider li.tp-revslider-slidesli {
	background-color: white !important
}

.dark .rev_slider li.tp-revslider-slidesli {
	background-color: #333 !important
}

.pdfPic {
	width: 100%;
	height: 125px;
	
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top;
	border: 1px solid;
	border-radius: 5px;
	transition: 1s ease;
	/* transform: rotate(-20deg) translateY(60px)  translateX(45px); */
}

.pdfPic:hover {
	background-position: bottom;
	border: 1px solid #009fd6;
	border-radius: 10px;
	box-shadow: 0px 0px 10px 1px #009fd6;
}

.fluid-width-video-wrapper {
	position: unset !important;
}

.theLogo {
	width: 250px;
	height: 80px;
	background-image: url("/static/images/logo.webp");
	background-size: contain;
	background-repeat: no-repeat;
}

.HeaderCard {
	height: 125px;
	border: 1px solid #009fd6;
	border-radius: 10px;
	box-shadow: 0px 0px 3px 1px #009fd6;
}
.HeaderRed {
	height: auto;
	border: 2px solid #dc3545;
	border-radius: 5px;
	box-shadow: 0px 0px 3px 1px #dc3545;
}
.fixed-150 {
	height: 150px!important;
	object-fit: cover;
	object-position: top;
	transition: 0.5s ease-out;
}
.fixed-150:hover {
	object-position: bottom;
	transform: scale3d(1.1, 1.1, 1.1);
}
.fixed-200 {
	height: 200px!important;
	object-fit: cover;
	object-position: center;
	transition: 0.5s ease-out;
}
.fixed-200:hover {
	object-position: bottom;
	transform: scale3d(1.1, 1.1, 1.1);
}
.fixed-50 {
	/* width: 100px; */
	height: 75px!important;
	object-fit: cover;
	object-position: top;
	transition: 0.5s ease-out;
}
.fixed-50:hover {
	object-position: bottom;
	transform: scale3d(1.1, 1.1, 1.1);
}


.fixed-100 {
	/* width: 100px; */
	height: 100px!important;
	object-fit: cover;
	object-position: top;
	transition: 0.5s ease-out;
}
.fixed-100:hover {
	object-position: bottom;
	transform: scale3d(1.1, 1.1, 1.1);
}
.highlightNumber{
	font-style: italic;
	font-size: 24px!important;
	font-family: sans-serif!important;
	/* top | right | bottom | left */
	margin: 0 5px 10px 0  ;	
}
.rai2{
	background-image: url(/static/images/rai2.webp);
	background-color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
	background-blend-mode: darken;
    text-align: right;
	font-size: 16px;
}
.vid2{
	background-image: url(/static/images/vid2.webp);
	background-color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
	background-position: right;
	background-blend-mode: darken;
    text-align: left;
	font-size: 16px;
}

/* UI DatePicker */

	.ui-datepicker td span, .ui-datepicker td a{
		text-align: center;
	}
	.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
		border: 1px solid #495057;
		background: #009fd6!important;
		font-weight: bold;
		color: #ffffff!important;
		border-radius: 10px;
	}
	.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
		opacity: 1;
		font-weight: normal;
	}
	.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, .ui-datepicker-rtl .ui-datepicker-group {
		float: none;
		font-family: 'Droid Arabic Kufi';
		border: 2px solid var(--themecolor);
	}
/* Gallery Home */
.week-posts {
	list-style: none;
}

.week-posts li .entry-image {
	display: none;
}

.week-posts > li {
	counter-increment: step-counter;
}

.week-posts > li .grid-inner::before {
	content: "0" counter(step-counter)'.';
	position: absolute;
	right: 0;
	font-size: 26px;
	font-weight: 700;
	color: #00a0d6c2;
	line-height: 1;
}

.week-posts > li .grid-inner {
	padding-right: 48px;
}

.dark .week-posts > li::before { color: #00a0d64d; }

/* MISC */
.KW_progressContainer {
	left:0;
	width: 100%;
	height: 0.4em;
	margin-bottom: 0px;
	position: fixed;
	bottom: 0px;
	overflow: hidden;
	background-color: #fff;
	content: "";
	display: table;
	table-layout: fixed;
}
  
.KW_progressBar {
	width: 0%;
	float: left;
	height: 100%;
	z-index:999999;
	max-width: 100%;
	background-color:#009fd6;
	/* background-color:#d60000; */
	-webkit-transition: width .6s ease;
	-o-transition: width .6s ease;
	transition: width .6s ease;
}

/* Select 2 */

.dark .select2-search input{ background-color: #373738; color: #fff;}
.dark .select2-search { background-color: #2e2e31; }
.dark .select2-results { background-color: #2e2e31; }
.dark .select2-container--default .select2-selection--single{background-color: #373738;	}
.dark .select2-container--default .select2-results__option--selected{background-color:#fff ; color: #009fd6; font-weight: bold;}
.dark .select2-selection--single  .select2-selection__rendered  { color: #fff!important;  }
.dark .select2-selection--single { background-color: #383838!important;  }
.dark .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {color: #fff;  background-color: #383838; border-color:  #686c6f  #686c6f #383838  #686c6f;}
.dark .nav-link { color: #EEE; 
	/* background-color: #646664;  */
	margin-left: 1px; }

/* Clock */

.dark .clockpicker-popover .popover-content{
	background-color: #212529;
}
.dark .clockpicker-popover .popover-title{
	background-color: #212529;
	color: #dfdbdb;
}
.dark .clockpicker-plate{
	background-color: #212529;
}
.dark .clockpicker-tick{
	color: #dfdbdb;
	text-shadow: 1px 1px #000;

}
.dark .popover.bottom>.arrow:after, .popover.bottom>.arrow:after{
	border-bottom-color : transparent
}

.unselectable {
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  }

/* HeadPulse Animation */
.HeadPulse {
	/* margin:100px; */
	/* display: block; */
	/* width: 22px; */
	/* height: 22px; */
	/* border-radius: 50%; */
	cursor: pointer;
	background-color: fade(red, 65%);
    box-shadow: 0 0 0 fade(red, 40%);
	animation: HeadPulse 1.5s infinite;
	
  }
  .HeadPulse:hover {
	animation: none;
  }
  
  @-webkit-keyframes HeadPulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 fade(red, 40%);
	  }
	  70% {
		  -webkit-box-shadow: 0 0 0 10px transparent;
	  }
	  100% {
		  -webkit-box-shadow: 0 0 0 0 transparent;
	  }
  }
  @keyframes HeadPulse {
	0% {
		-moz-box-shadow: 0 0 0 0 fade(red, 40%);
		box-shadow: 0 0 0 0 fade(red, 40%);
	  }
	  70% {
		  -moz-box-shadow: 0 0 0 10px transparent;
		  box-shadow: 0 0 0 10px transparent;
	  }
	  100% {
		  -moz-box-shadow: 0 0 0 0 transparent;
		  box-shadow: 0 0 0 0 transparent;
	  }
  }
 
.button__badge {
	background-color: #d41527bf;
    color: white;
	font-weight: bold;
    border-radius: 0px 0px 0px 7px;
	letter-spacing: 1px;
    padding: 3px 10px;
    position: absolute;
    font-size: 12px;
    top: 0;
    right: 0;
}