/* My custome CSS */

/*this line to convert bootstrap to rtl language */
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, 
.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, 
.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, 
.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
	float: right;
}

.select2-container{
    display: block;
    height: calc(1.5em + .75rem + 2px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.select2-container--default .select2-selection--single{
    background-color: transparent; 
    border: 0px ; 
    border-radius: 0px; 
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  color: #444;
  line-height: 36px;
  direction: rtl;
  text-align: right;
}
.select2-container .select2-selection--single{
    height: 36px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 36px;
    position: absolute;
    top: 1px;
    left: 1px;
    width: 20px;
}
.card, .table-responsive{
	background-color: rgba(255,255,255,0)
}
body{
	background:#cc9933;
	direction: rtl;
}
.table td, .table th {
    vertical-align: middle;
}
h2{
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	font-size: 20px;
	margin-bottom: 20px;
}
#wraping section{
	margin-top: 150px;
	margin-bottom: 50px;
}
div.dataTables_wrapper div.dataTables_filter label{
	direction: rtl;
}
div.dataTables_wrapper div.dataTables_filter input{
	margin-right: 0.5em;
}
table.table-bordered.dataTable th, table.table-bordered.dataTable td{
	border-width: 1px;
}

.dt-buttons, .btn-group, .flex-wrap{
  background-color: #CCC !important;
}


/* ----------------------- This is the log in form ----------------------- */
.maindiv {
  display: flex;
  align-items: center;
  flex-direction: column; 
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 8% 20px 20px;
}
#formContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  padding: 0px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  text-align: center;
  padding: 20px;
}
/* TABS */
h2.inactive {
  color: #cccccc;
}
h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #5fbae9;
}
/* FORM TYPOGRAPHY*/
.maindiv input[type=button], .maindiv input[type=submit], .maindiv input[type=reset]  {
  background-color: #56baed;
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 16px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 5px 20px 40px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.maindiv input[type=button]:hover, .maindiv input[type=submit]:hover, .maindiv input[type=reset]:hover  {
  background-color: #39ace7;
}
.maindiv input[type=button]:active, .maindiv input[type=submit]:active, .maindiv input[type=reset]:active  {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}
.maindiv input[type=text],
.maindiv input[type=password] {
  background-color: #f2f0f0;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 85%;
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}
.maindiv input[type=text]:focus,
.maindiv input[type=password]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}
.maindiv input[type=text]:placeholder,
.maindiv input[type=password]:placeholder{
  color: #cccccc;
}
/* ANIMATIONS */
/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.fadeIn {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}
.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
  padding-bottom: 10px;
}
.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}
/* OTHERS */
#icon {
  width:80%;
}
/* ----------------------- This is the navbar of the application ----------------------- */
nav{
	direction:ltr;
	background-color:rgb(240, 239, 239);
	transition: all .5s;
	border-bottom: 1px solid #ccc;
}
nav #navbarTogglerDemo02{
	direction:rtl;
}
nav .collapse ul{
	padding:0px;
}
.navbar-light .navbar-nav .nav-link{
	color:#000000;
	font-weight:600;
}
nav #navbarTogglerDemo02 .dropdown-menu {
	right: -104%;
	min-width: 11rem;
}
nav #navbarTogglerDemo02 .dropdown-menu a{
	padding:5px;
}
nav #navbarTogglerDemo02 .dropdown-menu .dropdown-item {
	text-align: center;
}
nav #navbarTogglerDemo02 .dropdown-menu .dropdown-item:focus,
nav #navbarTogglerDemo02 .dropdown-menu .dropdown-item:hover {
	background-color: #e1e5e8;
}
nav #navbarTogglerDemo02 .dropdown-toggle::after {
	display: none;
}
.navbar {
    padding: .2rem 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
	padding-left: 1rem;
}

nav #navbarTogglerDemo02 .dropdown-menu .dropdown-submenu {
  position: relative;
}

nav #navbarTogglerDemo02 .dropdown-menu .dropdown-submenu > .dropdown-menu {
  top: -3px ;
  left: -175px;
  right: auto;
}
nav #navbarTogglerDemo02 .dropdown-menu .dropdown-submenu .dropdown-item {
	position: relative;
}
nav #navbarTogglerDemo02 .dropdown-menu .dropdown-submenu .caret{
  content: '';
  border: 4px solid transparent;
  border-right: 4px solid #000;
  margin-left: 2px;
  margin-bottom: 6px;
  display: inline-block;
  vertical-align: bottom;
  position: absolute;
  left: 0px;
  top: 45%;
}

/* ----------------------- This is the header of the application ----------------------- */
header{
	position: fixed;
	top: 45px;
	background: rgb(0, 0, 0);
	width: 100%;
	text-align: right;
	padding: 5px 0px;
	color: #FFF;
	font-weight: 600;
	z-index:1000;
}
header .notification a{
	text-decoration: none;
	color: #FFF;
}
header #backup a{
	margin: 22px auto;
}

/* ----------------------- This is the tab of in advance payment activation of the application ----------------------- */

/* Style the tab */
.tab {
  overflow: hidden;
  border-bottom: 1px solid #c3ece4;
  background-color:transparent;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: #fff;
  float: left;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  width: 24.5%;
  border: 1px solid #c7ede6;
  border-bottom: none;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: transparent;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/*datatables buttons */
.dt-buttons .btn-secondary{
  background-color: #007bff;
  border-color: #d5dced;
}
.dt-buttons .btn-secondary:hover{
  background-color: #ab6620;
  border-color: #d5dced;
}

/* ----------------------- This is the footer of the application ----------------------- */
footer{
	background-color:rgb(240, 239, 239);
	transition: all .5s;
	border-bottom: 1px solid #ccc;
}
footer #date, footer #clock{
	display: inline-block;
	width: 175px;
	text-align: center;
}
footer #greating{
	display: inline-block;
  width: auto;
  margin: auto 10px;
	text-align: center;
}

/* ----------------------- This is the media query of the application ----------------------- */
@media (min-width: 1200px) {}
@media (min-width: 980px) {}
@media (max-width: 979px) {
	nav{
		background-color:rgb(240, 239, 239);
	}
	nav .navbar-brand{
		margin-left: 10px;
	}
	nav .navbar-toggler{
		margin-right: 10px;
	}
	nav ul{
		padding: 0px;
		margin: 10px;
		text-align: center;
  }
  nav #navbarTogglerDemo02 .dropdown-menu .dropdown-submenu {
    position: relative;
  }
  
  nav #navbarTogglerDemo02 .dropdown-menu .dropdown-submenu > .dropdown-menu {
    top: 0 ;
    left: 100%;
    right: auto;
  }
  nav #navbarTogglerDemo02 .dropdown-menu .dropdown-submenu .caret{
    content: '';
    border: 4px solid transparent;
    border-right: 4px solid #000;
    margin-left: 2px;
    margin-bottom: 6px;
    display: inline-block;
    vertical-align: bottom;
    position: absolute;
    left: 0px;
    top: 45%;
  }
	.news .thumpContent .newsData p, .news .thumpContent .newsData a{
		position: static;
	}
	header #gdata{
		padding:0px;
	}
}
@media (min-width: 979px) and (max-width: 1100px) {
	header #header-logo{
		width: 200px;
		text-align: left;
		display: inline-block;
	}
}
@media (min-width: 768px) and (max-width: 979px) {}
@media (min-width: 480px) and (max-width: 767px) {}
@media (max-width: 500px) {}
@media (max-width: 480px) {}
