*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-decoration: none !important;
	list-style: none;
	font-family: Cairo;
}

.preloader-wrapper {
    position: fixed;
    inset: 0;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.dual-spinner {
    width: 100%;
    height: 100%;
    border: 0.3rem solid #f42f4c;
    border-top: 0.3rem solid #0088cb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
}
.preloader-text {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    color: #0088cb;
    text-align: center;
    white-space: nowrap;
}


.top-part{
    background-color: #38393a;
    color: #d8d8d8;
	width: 100%;
	position: fixed;
	z-index: 5;
}
.top-part a{
    color: #d8d8d8;
}
.top-part .news-ticker a {
    transform: translateY(50%);
    transition: transform 0.6s ease, opacity 0.4s ease;
    position: absolute;
    top: 8px;
    right: 95px;
    left: 0;
    opacity: 0;
}
.top-part .news-ticker a.active {
    opacity: 1;
    transform: translateY(0%);
    z-index: 2;
}
.top-part .news-ticker a.exit-up {
    transform: translateY(-100%);
    opacity: 0;
    z-index: 1;
}

header{
	padding-top: 40px;
}
nav{
	height: auto;
    background-color: #ffffff;
}
nav .logo{
	width: 170px;
	margin-top: -20px;
}
nav .main-ul{
	display: inline-block;
	margin-top: 20px;
}
nav .main-ul .main-li{
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
}
nav .main-ul .main-li a{
	color: #38393a;
	padding: 5px 13px;
    display: block;
}
nav .main-li a:hover{
	color: #0088cb;
	text-decoration: none;
	transform: scale(1.05);
	transition: .3s;
}
nav .sub-ul{
    text-align: right;
	margin-top: 5px;
	position: absolute;
	background: #fff;
	border-radius: 0 0 10px 10px;
	display: none;
    min-width: 150px;
    padding: 0;
    font-size: 14px;
	z-index: 3;
}
nav .sub-ul .sub-li{
	line-height: 30px;
	border-top: 1px solid #e2e2e2;
	color: #38393a;
}
nav .sub-ul .sub-li a{
	color: #38393a;
	width: 100%;
	display: block;
	height: 100%;
	transition: transform 0.3s ease;
}
nav .sub-ul .sub-li a:hover{
	color: #0088cb;
	transform: scale(1.05);
	transition: .3s;
}
nav .sub-ul .sub-li:hover{
	background: #eeeeee;
}
nav .sub-ul .sub-li:last-child:hover{
	background: #eeeeee;
	border-radius: 0 0 10px 10px;
}
nav .main-li .href:hover{
	cursor: default;
}
.checkbtn{
	font-size: 18px;
	color: #38393a;
    position: absolute;
    top: 65px;
    left: 10px;
	cursor: pointer;
	display: none;
}
.rotate{
	transform: rotate(180deg);
}
#checkshow{
	display: none;
}
#checkhide{
	display: none;
}
.search-btn{
	font-size: 22px;
	color: #d8d8d8;
    position: absolute;
	left: 10px;
	top: 65px;
	cursor: pointer;
    z-index: 4;
}
input:focus {
    outline: none !important;
    box-shadow: none !important;
}
.search-icon{
    color: #0088cb;
}
.custom-search-input {
    border: none;
    color: #e2e2e2 !important;
    border-bottom: 2px solid #0088cb;
    transition: border-bottom-width 0.2s ease-in-out;
}
.custom-search-input::placeholder {
    color: #d8d8d8;
    opacity: 1;
}  
.custom-search-input:focus {
    border-bottom: 3px solid #0088cb;
    outline: none;
    box-shadow: none;
}



@media all and (max-width: 750px){
	nav .main-ul{
		position: absolute;
		width: 100%;
		background: #ffffff;
		right: -100%;
		top: 90px;
		padding: 0;
		text-align: center;
		transition: all .5s;
		z-index: 3;
	}
	nav .logo{
		margin-top: 0px;
	}
	.checkbtnhide{
		top: -100px;
	}
	nav .main-ul .main-li{
		display: block;
		line-height: 50px;
		border-bottom: 1px solid #e2e2e2;
	}
	nav .main-ul .main-li a{
		color: #38393a;
        padding: 0px 13px;
	}
	nav .sub-ul{
		text-align: center;
		background: #fafafa;
	}
	nav .sub-ul .sub-li a:hover{
		color: #0088cb;
		transition: .3s;
	}
	.checkbtn{
		display: block;
	}
	#checkshow:checked ~ .main-ul{
		right: 0;
	}
	#checkhide:checked ~ .main-ul{
		right: -100%;
	}
	#checkshow:checked ~ .checkbtnshow{
		top: -100px;
	}
	#checkshow:checked ~ .checkbtnhide{
		top: 65px;
        left: 10px;
	}
	#checkhide:checked ~ .checkbtnhide{
		top: -100px;
	}
	#checkhide:checked ~ .checkbtnshow{
		top: 0px;
	}
    .search-btn{
        top: 65px;
        left: 50px;
    }
	nav .main-li a:hover{
		color: #0088cb;
	}
	nav .main-li:hover{
		background: #eeeeee;
	}
	nav .sub-ul{
		position: static;
		border-radius: 0;
		display: none;
	}
	nav .sub-ul .sub-li{
		line-height: 45px;
	}
}


.scrolling-wrapper {
	overflow-x: hidden;
	white-space: nowrap;
	scroll-behavior: smooth;
}
.scrolling-wrapper .card {
	display: inline-block;
	width: 300px;
	margin-right: 0.51rem;
}
.card-img {
	height: 200px;
	object-fit: cover;
	opacity: 0.8;
}
.card-img-overlay {
	background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background-color: rgba(0,0,0,0.5);
	border: none;
	color: white;
	font-size: 2rem;
	padding: 0.5rem 1rem;
	cursor: pointer;
}
.carousel-btn.prev {
	right: 8px;
}
.carousel-btn.next {
	left: 10px;
}
.carousel-container {
	position: relative;
}


.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    padding: 0;
}
.carousel-item {
	height: 400px;
	position: relative;
}

.carousel-item img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.carousel-caption {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.6);
	padding: 20px;
	color: #fff;
	text-align: center;
}

.thumb-img {
	height: 80px;
	object-fit: cover;
	cursor: pointer;
	opacity: 0.6;
	border: 2px solid transparent;
	transition: 0.3s;
}
.thumb-img.active {
	opacity: 1;
	border-color: #0088cb;
}
.carousel-all-imgs::-webkit-scrollbar-thumb {
    background: #f42f4c;
    border-radius: 10px;
}
.carousel-all-imgs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.most-viewed-item {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.most-viewed-item img {
	width: 95px;
	height: 102px;
	object-fit: cover;
}

.most-viewed-item h6 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
}
.carousel-all-imgs::-webkit-scrollbar {
    height: 4px;
}


.last-news-img{
	object-fit: cover;
	width: 100%;
}
.ad-section {
  position: relative;
  background: linear-gradient(to left, #0088cb 60%, rgba(0, 136, 203, 0)), 
              url("../../imgs/user/ads-bg.png") no-repeat center left;
  background-size: contain;
  color: white;
  padding: 3rem 1rem;
  border-radius: 1rem;
  overflow: hidden;
}

.footer{
	background-color: #272727;
}
.footer img{
	width: 200px;
}


.bg-facebook-light{
    background-color: #3B5998;
}
.bg-facebook{
    background-color: #2b447b;
}
.bg-twitter-light{
    background-color: #1DA1F2;
}
.bg-twitter{
    background-color: #167dbc;
}
.bg-youtube-light{
    background-color: #ea0808;
}
.bg-youtube{
    background-color: #c60e0e;
}
.bg-instagram-light{
    background-color: #E1306C;
}
.bg-instagram{
    background-color: #bf275a;
}


/* custom css */
.bg-light-blue{
	background-color: #0088cb;
}
.border-right-light-blue {
  border-right: 4px solid #0088cb;
}
.border-bottom-light-blue {
  border-bottom: 2px solid #0088cb;
}
.font-size-14{
    font-size: 14px;
}
.text-trim-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-trim-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.max-width-700{
    max-width: 700px
}
.news-link{
	color: #707070;
}
.news-link:hover{
	color: #0088cb;
	transform: scale(1.05);
	transition: .3s;
}
.news-white-link{
	color: #fff;
	text-decoration: none;
}
.news-white-link:hover{
	text-decoration: underline !important;
	transform: scale(1.05);
	transition: 1s;
}
.text-light-blue{
	color: #0088cb;
}

#news-ticker {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
}

#news-ticker a {
    height: 1.5em;
    line-height: 1.5em;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl;
    color: #000; /* أو حسب تنسيقك */
    text-decoration: none;
}