@font-face {
  font-family: 'Droid Arabic Naskh';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/naskh/DroidNaskh-Regular.eot);
  src: url(../fonts/naskh/DroidNaskh-Regular.eot?#iefix) format('embedded-opentype'),
       url(../fonts/naskh/DroidNaskh-Regular.woff2) format('x-woff2'),
       url(../fonts/naskh/DroidNaskh-Regular.woff) format('woff'),
       url(../fonts/naskh/DroidNaskh-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Droid Arabic Naskh';
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/naskh/DroidNaskh-Bold.eot);
  src: url(../fonts/naskh/DroidNaskh-Bold.eot?#iefix) format('embedded-opentype'),
       url(../fonts/naskh/DroidNaskh-Bold.woff2) format('x-woff2'),
       url(../fonts/naskh/DroidNaskh-Bold.woff) format('woff'),
       url(../fonts/naskh/DroidNaskh-Bold.ttf) format('truetype');
}

body {
  padding-top: 20px;
  background: url('../images/back2.jpg');
}
.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 40px;
  border-top: 1px solid #eee;
}
.row > div {
    float:right;
}

/* Main marketing message and sign up button */
.text-muted {
    text-align: center;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Droid Arabic Naskh';
    text-shadow: #777 1px 1px;
}

.panel-heading h2 {
    margin:0;
    padding:0;
    text-align: right;
    
}
/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
  direction: rtl;
  padding-right:0;
}

.nav-justified > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
  font-weight: bold;
  color: #777;
  text-align: center;
  background-color: #e5e5e5; /* Old browsers */
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:         linear-gradient(to bottom, #f5f5f5 0%,#e5e5e5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  background-repeat: repeat-x; /* Repeat the gradient */
  border-bottom: 1px solid #d5d5d5;
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  background-color: #ddd;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
          box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:last-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:first-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

.clearfix{
    margin: 10px;
}


.moduals {
    text-align: right;
}

.moduals h4, .moduals h3 {
    font-family: 'Droid Arabic Naskh';
}

.moduals h2 {
    font-size: 140%;
}

.moduals .list-group {
    padding:5px 0;
}

.moduals.panel {
    padding:0;
}

.list-group-item.success,.list-group-item.success:hover{
    background: #5cb85c;
    border-color: #5cb85c;
    color:#FFF;
}
.list-group-item.workingon,.list-group-item.workingon:hover{
    background: #ec971f;
    border-color: #ec971f;
    color:#FFF;
}

.col-centered{
    float: none;
    margin: 0 auto;
}

.form-signin h2 {
    text-align: right;
}
.form-signin label {
    float: right;
}

.en {
    text-align: left;
    direction: ltr;
}
.ar {
    text-align: right;
    direction: rtl;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}

.opts {
    margin-right: 40px;
    margin-bottom: 20px;
}
.opts label {
    margin-right:5px;
}

.questions {
    text-align: right;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  width: 100%;
  margin: auto;
}

.panel-body h3 {
    text-align: right;
}
.panel-body {
    direction: rtl;
}
#myCarousel .item img {
    height: 345px!important;
    width: 460px!important;
}

@media (min-width: 768px) {
  .nav-justified {
    max-height: 52px;
  }
  .nav-justified > li > a {
    border-right: 1px solid #d5d5d5;
    border-left: 1px solid #fff;
  }
  .nav-justified > li:last-child > a {
    border-left: 0;
    border-radius: 5px 0 0 5px;
  }
  .nav-justified > li:first-child > a {
    border-right: 0;
    border-radius: 0 5px 5px 0;
  }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
}
