@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('fonts/Saudi-Bold.ttf') format('truetype');
    /* font-weight: 500; */
    /* font-style: normal; */
}

* {
	font-family: 'DIN Next LT Arabic';
}

nav {
	background-color: #0b4332;
  z-index: 10;
}

.row {
	direction: rtl;
	margin-bottom: 20px;
}

#thumb {
	max-height: 142px;
	min-height: 142px;
	border-radius: 20px 20px 0px 0px;
}

#large-image {
	margin-bottom: 20px;
	width: 100% \9;
}

#btn-update, #btn-delete {
	margin-top: 50px;
	margin-right: 20px;

}

.container {
	direction: rtl;
	margin-top: 50px;
	margin-bottom: 50px;
}

#pl_detail_container {
	direction: rtl;
	text-align: justify;
	text-justify: inter-word;
	color: #025951;
}

.card {
	direction: rtl;
	/*height: 400px;*/
	border-radius: 20px!important;
}

.card-text {
	direction: rtl;
	text-align: justify;
    text-justify: inter-word;
	color: #025951;
}

.card-title {
	direction: rtl;
	color: #025951;
}

.card-link {
	direction: rtl;
  position: relative;
}

.half-color {
	direction: rtl;
  background: rgba(2, 89, 81, 0.5);
}

/* Google icons https://material.io/resources/icons BEGIN*/

/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: #bcffbb; /* Text color */ }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }

/* To set a custom icon color, define a CSS rule specifying the desired color for the font: */
/* .material-icons.green { color: #0b4332; } */

.horizontal-icons {
	display: inline;
    margin-inline-end: 10px;
    margin-inline-start: 10px;
    margin-bottom: 10px;
}


/* Google icons END */

#icon-link {
  position: relative;
  z-index: 7;
}

.circle-icon {
    background: #0b4332;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 100px;
    vertical-align: middle;
    padding: 9px;
}

.mobile-app-icon {
	position: relative;
  bottom: 0;
  right: 0;
	text-align: end;
	display: block;
	margin-right: 10px;
}

.sharethis-inline-follow-buttons {
	padding-bottom: 10px;
	margin-left: 10px;
}

/* Scroll Back To Top Button - BEGIN */
#toTop {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 50px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #0b4332; /* Set a background color */
  color: #bcffbb; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#toTop:hover {
  background-color: #025951; /* Add a nother color background on hover */
}
/* Scroll Back To Top Button - END */


.line-space {
  line-height: 1.7;
}

.login_form {
  display: block;
  text-align: center;
  align-content: center;
  margin-right: auto;
  margin: 0 auto;
  width: 50%;
  margin-left : 25%;
}

#submit_login_btn {
  margin-top: 20px;
  margin-bottom: 20px;
}


/*body {
    margin: 0;
    padding: 0;
    font-family: helvetica, sans-serif;
}*/

p {
    line-height: 1.8;
}

a {
    color: #48B0E4;
    text-decoration: none;
}

a:hover {
    color: #D9CA25 !important;
}

.user {
    color: #bcffbb;
}

.user a {
    color: #bcffbb;
}

.user a:hover {
    color: #D9CA25;
}

/*h1, h2, h3, h4, h5, h6 {
    font-family: 'Muli', sans-serif;
    font-weight: normal;
}*/

h1 {
    border-bottom: 1px solid #bbb;
    padding: 0 0 10px 0;
    margin: 10px 0 20px 0;
}

h2 {
    margin: 30px 0 20px;
}

ol {
    line-height: 1.5;
}

#header {
    padding: 10px 100px;
    font-size: 14px;
    background: #0b4332;
    color: #bcffbb;
    border-bottom: 4px solid #1cdf78;
    overflow: auto;
}

#header .logo {
    /*font-family: 'Muli', sans-serif;*/
    float: left;
    color: #bcffbb;
    font-size: 20px;
    margin-right: 10%;
}

#header ul.menu {
    list-style: none;
    float: left;
    margin: 0;
    padding: 0;
}

#header ul.menu li {
    float: left;
    padding: 4px 10px;
}

#header ul.menu li.selected a, #header ul.menu li.selected a:hover {
    color: #1b6d32;
    font-weight: bold;
}

#header a {
    color: #f3f7cc;
}

#header a:hover {
    color: #D9CA25;
}

#header .user {
    float: right;
    padding-top: 4px;
}

#content {
    padding: 30px 100px;
    text-align-last: right;
    color: #282828;
}

/* forms */
form {
    overflow: auto;
    width: fit-content;
}

.language-switcher {
    overflow: unset!important;
}

form p {
    width: 100%;
    overflow: auto;
}

label {
    /*float: left;*/
    clear: both;
    color: #333;
    margin-bottom: 4px;
}

input, textarea {
    clear: both;
    float: left;
    margin: 0 0 10px;
    background: #efefef;
    border: 0;
    padding: 6px 10px;
    font-size: 14px;
}

input[type=submit], a.button {
    background: #0b4332;
    color: #bcffbb;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.errorlist {
    color: #cc0033;
    float: left;
    clear: both;
    padding-left: 10px;
}

.helptext {
    margin: 0 0 20px 0;
    color: #aaa;
    clear: both;
    float: left;
    font-size: 13px;
}

/* messages */
ul.messages {
    margin: 10px 100px;
    padding: 0;
    list-style-type: none;
}

ul.messages li.success,
ul.messages li.warning,
ul.messages li.error,
ul.messages li.info {
    margin: 0;
    padding: 14px 20px;
    list-style: none;
    color: #fff;
}

ul.messages li.success {
    background: #81ce81;
}

ul.messages li.success a {
    color: #0ac33e;
}

ul.messages li.error {
    background: #a30029;
    color: #e9828e;
}

ul.messages li.error a {
    color: #e9828e;
}

ul.messages li.info {
    background: #faffae;
    color: #696b4e;
}

ul.messages li.info a {
    color: #1586de;
}

ul.messages li.warning {
    background: #de9404;
}

ul.messages li.warning a {
    color: #f49000;
}

ul.messages li a.close {
    margin: 0;
    float: right;
    opacity: 1;
    border: 0;
    box-shadow: none;
    text-shadow: none;
}

.login-form {
    /*float: right;*/
}

/* social-auth */
.social {
    float: right;
}

.social li {
    list-style: none;
    padding: 10px 20px;
    margin: 0 0 10px 0;
}

.social li a {
    width: 100%;
    height: 100%;
    display: block;
    color: #fff;
}

.social li.facebook {
    background: #3b5399;
}

.social li.twitter {
    background: #00cffa;
}

.social li.google {
    background: #de1710;
}


/* images */

.image-preview, .image-detail {
    max-width: 300px;
    float: left;
    margin: 0 20px 20px 0;
}

.image-detail {
    margin-top: 20px;
}

.image-info div {
    padding: 20px 0;
    overflow: auto;
}

.count {
    color: #aaa;
    border: 3px solid #bbb;
    border-radius: 26px;
    padding: 10px 20px;
    margin: 20px 10px 0;
}

a.like, a.follow {
    float: right;
    margin-top: -8px;
}

#image-list {
    overflow: auto;
}

#image-list .image {
    float: left;
    width: 220px;
    height: 300px;
    margin: 0 10px 10px 10px;
    border-top: 8px solid #12c064;
    background: #eee;
}

#image-list img {
    width: 220px;
    height: 220px;
}

#image-list .info {
    padding: 10px;
}

#image-list .info a {
    color: #333;
}

.image-likes div {
    float: left;
    width: auto;
    padding: 10px;
    text-align: center;
}

.image-likes img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

/* users */
#people-list img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 20px;
}

#people-list .user {
    width: 180px;
    float: left;
    overflow: auto;
    padding: 10px;
}

#people-list .info {
    text-align: center;
}

img.user-detail {
    border-radius: 50%;
    float: left;
}

.profile-info {
    float: left;
    overflow: auto;
    margin-right: 20px;
}

.image-container {
    margin-top: 40px;
}

/* actions */
.action {
    clear: both;
    overflow: auto;
}

.action .images {
    float: left;
    margin: 0 10px 10px 0;
}

.action .date {
    font-style: italic;
    color: #ccc;
}

.select2-container--default .select2-results > .select2-results__options {
    overflow-y: visible !important;
    max-height: 200px !important;
}

#id_drug_no {
    direction: ltr !important;
}

.select2-container--open .select2-dropdown--below {
    height: 500px !important;
}

.select2-container .select2-selection--single {
    height: 30px !important;
}


.nav-link {
    color: #bcffbb !important;
}

.txt-logo {
    color: #bcffbb !important;
}

#search-et {
    background-color: #bcffbb;
}

#search-btn {
    color: #0b4332;
    background-color: #bcffbb;
}

#lang-sw {
    color: #bcffbb;
    background-color: transparent;
}

#lang-menu {
    background-color: #bcffbb;
}

footer {
    color: #bcffbb;
    background-color: #0b4332;
}

.badge-primary {
    color: #025951 !important;
    background-color: #bcffbb !important;
}

/* Modern Navbar styling */
.modern-navbar {
  background: linear-gradient(to right, #0b4332, #0b4332);
  padding: 0.25rem 1rem;
  min-height: 50px;
}

.brand-text {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}

.nav-icon {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

.navbar-nav .nav-item {
  margin: 0 3px;
}

.navbar-nav .nav-link {
  padding: 0.375rem 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.navbar-nav .nav-item.active .nav-link {
  border-bottom: 2px solid white;
  padding-bottom: 3px;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
}

.navbar-toggler {
  border: none;
  padding: 0.2rem 0.4rem;
  font-size: 1rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Navbar brand improvements */
.navbar-brand {
  padding: 0.25rem 0;
  font-size: 1rem;
}

.navbar-brand img {
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Compact buttons in navbar */
.nav-right .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
}

.nav-right .btn .material-icons {
  font-size: 18px;
}

/* Additional navbar optimizations */
.navbar-collapse {
  flex-grow: 1;
}

.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-item .nav-link {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.navbar-nav .nav-item .nav-link span {
  margin-left: 2px;
}

/* Dropdown improvements */
.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  margin-top: 0.25rem;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Language and user menu spacing */
.nav-right > * {
  margin-left: 0.25rem;
}

.nav-right .dropdown-toggle::after {
  margin-left: 0.25rem;
}

/* RTL fixes */
[dir="rtl"] .navbar-nav .nav-item .nav-link span {
  margin-left: 0;
  margin-right: 2px;
}

[dir="rtl"] .nav-right > * {
  margin-left: 0;
  margin-right: 0.25rem;
}

[dir="rtl"] .nav-right .dropdown-toggle::after {
  margin-left: 0;
  margin-right: 0.25rem;
}

  /* Fix content layout on mobile */
  @media (max-width: 767px) {
    #pl_detail_container, 
    #city_details_container,
    .content-container {
      padding-left: 10px !important;
      padding-right: 10px !important;
      overflow-x: hidden;
    }
    
    /* Fix image display on mobile */
    .text-center img {
      max-width: 100%;
      height: auto;
    }
    
    /* Improve comment section on mobile */
    .comments-section textarea {
      width: 100%;
    }
    
    /* Better spacing for action buttons on mobile */
    .action-bar {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .action-bar > div {
      margin-bottom: 10px;
      width: 100%;
    }
  }

.card-img-top-container  {
    border-radius: 20px 20px 0px 0px!important;
}

.card-footer {
    border-radius: 20px!important;
}