/*
Theme Name: Albasta
Theme URI: Author URI: https://www.albasta.com
Description: My Theme
Author: ThemeinProgress.
Author URI: https://www.albasta.com
*/


@font-face { font-family: logo; src: url(Somar-Black.otf); }
@font-face { font-family: thetitle; src: url(Kalligraaf_SemiBold.woff); }
@font-face { font-family: contentfont; src: url(Kalligraaf-Light.ttf); }



html {
    height: 100%;
    min-height: 100%;
    direction: rtl;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: #F4F4F4;
}

.wrapper {
    margin: 0 auto;
    background-color: #FFF;
}

.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding-bottom: 20px;
	background-color:#FFF; 
	border-bottom:1px solid #EEE;
}

.share-icon {
  position: absolute;
  bottom: 8px;
  left: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #555;
}

.share-icon:hover {
  color: #007bff;
}

.logo {
    width: 50%;
    font-family: 'logo';
	font-weight: normal;
    font-size: 40px;
    text-align: center;
    margin: 0;
	padding-top: 10px;
	color:#000;
}

.logo a {
    text-decoration: none;
	color:#000;

}

.tools {
    width: 25%;
    text-align: left;
    padding: 15px 0 0 10px;
}

.container {
    margin: 0 auto;
    padding: 20px;
    background-color: #FFF;
}
article{font-size: 15px;}
article p{margin-top: 0; margin-bottom: 0;}

em{
	font-size:16px;
	display: block;
	font-family:thetitle;
	font-style:normal;
	color: #000;
	font-weight:bold;
	margin: 30px 0 5px 0;
}


blockquote {
	background: #F5F4F6;
	padding:10px 15px 10px 15px;	
	margin:20px 0 20px 0;

}


blockquote p{
	padding:0;
	margin:0;
    color: #7F7F7F;
	font-weight: normal;
}


blockquote strong{
	font-weight:medium;
	font-size: 16px;
	color:#F9B61A;
}



.wpcf7-textarea, .wpcf7-text {
    text-align: right;
}

.wpcf7-email, .wpcf7-url {
    text-align: left;
}

.wpcf7-submit {
    font-family: contentfont;
}

.toolbar {

    border-top: solid 1px #CCD1CA;
	font-family: contentfont;
    font-size: 14px;
    color: #6A6A6A;
	height: 20px;
	margin-top:10px;
	width:100%;
}

.div1 {
    float: right;
    text-align: right;
}

.div2 {
    float: left;
    text-align: left;
	padding:5px 3px 0 0; 
	display:block;"
}

.menu {
    background-color: #FFF;
    text-align: right;
    font-family: 'contentfont';
    font-size: 13px;
    padding: 3px 10px 3px 10px;
	border-bottom:1px solid #EEE; 
	color:#000;
}

.menu a {
    text-decoration: none;
    color: #000;
}

.menu a:hover {
    text-decoration: underline;
    color: #404640;
}

img {
    max-width: 100%;
    height: auto;
}

.spacer {
    height: 20px;
    margin-bottom: 20px;
}

h2 {
	font-weight: normal;
    text-align: right;
    line-height: 0.1em;
    margin: 10px 0 30px 0;
    font-family: thetitle;
}

h2 span {
    font-size: 20px;
    background: #FFF;
    padding-left: 10px;
}

.label {
    border-bottom: 3px solid #CCC;
    margin-bottom: 20px;
    color: #464646;
    padding: 0;
    font-size: 20px;
}

.title {
	font-family: thetitle;
    border-bottom: 1px solid  #CCD1CA;
    margin-bottom: 10px;
    color: #000;
    padding: 0 0 10px 0;
    font-size: 20px;
	margin:0 0 10px 0; 
	text-align:right;
}

.label a {
    text-decoration: none;
    color: #000;
}

.label a:hover {
    color: red;
}

h3 {
    text-align: right;
    border-bottom: 1px dotted #CCC;
    line-height: 0.1em;
    margin: 0 0 30px 0;
    font-family: thetitle;
    font-size: 18px;
}

h3 span {
    color: #CC1919;
    background: #FFF;
    padding-left: 10px;
}

h3 a {
    color: red;
}

.box{
	font-family: contentfont;
	border-radius: 3px; 
	border:1px solid #CCC; 
	padding:10px 15px 10px 15px; 
	text-align:justify;
	margin-bottom: 20px;
}




.facthome { font-size:14px; }

.fact {
	font-size: 14px;
    margin-bottom: 20px;
}

.fact a{
color:#000;
text-decoration:none;
}


.fact a:hover{
 color:#9AA39A;

}

.facttitle{
	color: #000;
	font-family:thetitle; 
	font-size:16px;
	padding:10px 0 5px 0;
}

.facttitle a{
color:#000;
text-decoration:none;
}


.facttitle a:hover{
 color:red;
}

article strong{font-size:16px;}
.factbox{
	font-family: contentfont;
	border-radius: 3px; 
	border:1px solid #CCC; 
	padding:5px 15px 5px 15px; 
	text-align:justify;
	margin-bottom: 5px;
}


.post-tag{
	font-size:12px;
	background: #FFF;
	color: #2C8A82;
	padding: 1px 2px 1px 2px;
	margin-left: 2px;
}

.contribute{
	font-size:12px; 
	border-radius:3px; 
	padding: 5px 10px 5px 10px;
	border:1px #CCC solid; 
	background:#567B95; 
	color:#FFF;
	font-weight:bold; 
	font-family:contentfont;
	height:30px;
}

.post-tag a{color: #2C8A82;}


.post-category{
	font-size:12px;
	border: 1px #B6BABA solid;
	border-radius: 3px;
	background: #F1F8F5;
	color: #2C8A82;
	padding: 0px 2px 0px 2px;
	margin-left: 2px;
}

.post-category a{color: #2C8A82;}


.mainbox{

	font-family:contentfont;
	text-align:justify;
	margin-bottom:10px;
	background:#FFF; 
	padding:10px; 
	border:#CCD1CA 1px solid; 
	border-radius:3px;
}

.seplist {
    border-top: 1px dotted #CCC;
    margin: 5px 0;
    text-align: justify;
}

.footer {
	margin:0 auto;
    color: #000;
    background-color: #F4F4F4
    text-align: center;
    padding: 10px 15px 15px 15px;
    height: 30px;
	border-top: 1px solid #EEE;
	font-family: 'contentfont';
    font-size: 16px;
	
}

.footer a {
    color: #000;
}

.bottom-nav {
    font-family: contentfont;
    font-size: 20px;
    width: 100%;
    margin: 10px 0 20px;
}

.bottom-nav a {
    color: #232323;
    text-decoration: none;
}

.bottom-nav-left {
    float: left;
}

.bottom-nav-right {
    float: right;
}


a{text-decoration:none;}

@media screen and (max-width: 320px) {
    .wrapper {
        width: 100%;
    }
}

@media screen and (min-width: 321px) and (max-width: 480px) {
    .wrapper {
        width: 100%;
    }
    .label {
        width: 100%;
        color: #000;
    }
	
	.title{font-size:17px;}
}

@media screen and (min-width: 768px) {
    .wrapper {
        width: 600px;
    }
}


.tag-cloud-link{
	margin:10px;
	padding:10px;
}

input{
	width: 80%;
	height:35px;
}

button
{
	width: 20%;
	vertical-align: middle;
	height:35px;
}

textarea{
		width: 80%;
}



    .table {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      width: 100%;
      max-width: 600px;
      margin: 20px auto;
    }

    .cell {
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 10px;
      text-align: center;
      background-color: #F6F6F6;
	  color: #000;
      font-size: 12px;
      font-family: contentfont;
    }
	  
	  
	 .cell:hover {
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 10px;
      text-align: center;
      background-color: #5F695A;
	  color: #FFF;
      font-size: 12px;
      font-family: contentfont;
    }


    .menu-toggle {
      cursor: pointer;
      font-size: 28px;
		font-weight: normal;
    }
    .sidebar {
      position: fixed;
      top: 0;
      right: -250px; /* Start hidden in RTL */
      width: 250px;
      height: 100%;
      background-color: #FFF;
      color: #000;
      transition: right 0.3s ease;
      z-index: 1001;
      box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
	 text-align:right;
		font-size: 18px;
		font-weight: bold;
		font-family: thetitle;
    }
    .sidebar.open {
      right: 0; /* Slide in for RTL */
    }
    .sidebar a {
      display: block;
      padding: 15px;
      text-decoration: none;
      color: #000;
      border-bottom: 1px solid #EEE;
      transition: background-color 0.3s;
    }
    .sidebar a:hover {
      background-color: #444;
	color: white;
    }
    .overlay {
      display: none;
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
    }
    .overlay.active {
      display: block;
    }


// new css
.commentsarea,
.commentform,
.commentcontent {
    direction: rtl;
    text-align: right;
	font-family:contentfont;
}

.commentform label,
.commentform input,
.commentform textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
	font-family:contentfont;
}

	
.arabic-pagination {
    text-align: center;
    direction: rtl;
    margin: 10px auto;
    width: 100%;
    max-width: 560px; /* Strictly limit width */
    overflow: hidden;
    white-space: nowrap;
	font-family:contentfont;
}

.arabic-pagination ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* Prevents new lines */
    gap: 4px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.arabic-pagination li {
    display: inline-block;
}

.arabic-pagination a,
.arabic-pagination span {
    padding: 6px 10px; /* Adjusted for better fit */
    text-decoration: none;
    background: #e0e0e0;
    color: #333;
    border-radius: 50px; /* Rounded buttons */
    font-size: 14px;
    min-width: 30px;
    text-align: center;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Current Page */
.arabic-pagination .current {
    background: #d81b60;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
}

/* Hover Effect */
.arabic-pagination a:hover {
    background: #d81b60;
    color: white;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .arabic-pagination ul {
        justify-content: center;
        gap: 2px;
    }

    .arabic-pagination a,
    .arabic-pagination span {
        padding: 5px 8px;
        font-size: 13px;
        min-width: 25px;
    }
}

