@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);

body {
  background: #191c20;
  color: #4d5a6e;
  height: 100%;
}
body.not-front {
  padding-top: 100px; }

body.horses.not-front {
  padding-top: 0; }

body.news.not-front {
  padding-top: 0; }

body.news.not-front
{
   padding-top: 100px;
}
h1, .h1, h2, .h2, h3, .h3 {
  margin-bottom: 20px;
  font-family: 'Ubuntu', sans-serif;
  color: #cececf;
}



.page-header {
  color: #cececf;
  border-bottom: 1px solid #262d35;
  font-family: 'Ubuntu', sans-serif;
}

a {
  color: #4a576b; font-family: 'Ubuntu', sans-serif;}

a:focus, a:hover,a:visited {
  color: #029e6d; }

.navbar-nav {
  margin: 0; }

ul {
  margin: 0;
  padding: 0; }

.navbar-default.navbar-inverse {
  background-color: transparent;
  background: transparent;
  border: none; }

/*
*/
section.features {
  position: relative;
  height: 100%; }

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent !important; }

.navbar {
  min-height: 85px;
  margin-bottom: 0; }

.nav > li {
  position: relative;
  display: block; }

.navbar-default {
  font-size: 14px; }

.nav > li > a {
  position: relative;
  display: block; }

.navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 30px;
  text-transform: uppercase;
  font-family: 'Ubuntu', sans-serif;
  color: #FFF; }

.navbar-nav > li > a:hover {
  color: #32d0d5; }

.dropdown-menu > li > a {
  padding: 5px 20px;
  color: #FFF; }

.dropdown-menu {
  _background: #262d35 url(/images/pattern.png) repeat-x center;
  background: #000;
  border: none; }

.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a {
  color: #FFF; }

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #FFF !important;
  _background: #000 !important;
  background: transparent !important; }

.navbar-default .navbar-nav > li > a:hover {
  background: transparent !important;
  background: #000 !important; }

.dropdown-menu > li > a:hover {
  background: transparent !important;
  color: #32d6da !important; }

.lang {
  list-style: none;
  position: absolute;
  right: 20px;
  top: 0px;
}
.ar .lang a{
  font-weight:bold;
}
.en .lang a{
  font-family: 'Droid Arabic Kufi',tahoma;
  font-weight:bold;
}

.navbar-default.navbar-inverse .container {
  position: relative; }

.navbar-default .navbar-collapse, .navbar-inverse .navbar-form {
  margin-top: 20px; }

ul.lang li {
  display: inline-block; }

#pedigree {
  background: url("/images/pedigree.png") no-repeat left 0 #191c20;
  height: 350px;
  margin: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 12px; }

.level1, .level2, .level3, .level4 {
  position: relative;
}

.level1 {
  background: url("/images/level1.png") no-repeat center right transparent;
  height: 350px;
  padding-left: 2px;
  width:15%;
  padding-left:0;
  padding-right:0;
}
.olevel2{
    width: 20%;
    padding-right: 0;
    padding-left:10px;
}
.olevel3{
    width: 19%;
    padding-right: 0;
    padding-left:10px;
}

.olevel4{
    width: 12%;
    padding-right: 0;
    padding-left:10px;
}



.level2 {
  background: url("/images/level2.png") no-repeat right 50px transparent;
  height: 165px; }

.level2.om {
  background-position: right 46px; }

.level3 {
  background: url("/images/level3.png") no-repeat right 34px transparent;
  height: 87.5px; }

.level4 {
  height: 45px; }

.level3.om1 {
  background-position: right 28px; }

.level3.ab2 {
  background-position: right 21px; }

.level3.om2 {
  background-position: right 12px; }

#pedigree a.pedigree-link, #pedigree .pedigree-name {
  position: absolute;
  width:70px;
}

.parents {
  list-style: none; }

.parents li {
  display: inline-block; }

.parents li a {
  color: #5f6d80; }

.parents li a:hover {
  color: #eee; }

#ar {
  font-family: tahoma;
  font-size: 12px; }

.father a.pedigree-link, .father .pedigree-name {
  color: #35e1e3; }

.father a.pedigree-link:hover {
  color: #18a885; }

.mother a.pedigree-link, .mother .pedigree-name {
  color: #029e6d; }

.mother a.pedigree-link:hover {
  color: #029e6d; }

.level1 a.pedigree-link, .level1 .pedigree-name {
  top: 167px; }

.ab a.pedigree-link, .ab .pedigree-name {
  top: 85px; }

.om a.pedigree-link, .om .pedigree-name {
  top: 82px;
  left: -3px; }

.level3.ab1 a.pedigree-link,
.level3.ab1 .pedigree-name,
.level3.ab2 a.pedigree-link,
.level3.ab2 .pedigree-name,
.level3.om1 a.pedigree-link,
.level3.om1 .pedigree-name,
.level3.om2 a.pedigree-link,
.level3.om2 .pedigree-name {
  top: 46px;
  left: -10px; }

.level3.ab2 a.pedigree-link,
.level3.ab2 .pedigree-name {
  top: 33px; }

.level3.om1 a.pedigree-link,
.level3.om1 .pedigree-name {
  top: 40px; }

.level3.om2 a.pedigree-link, .level3.om2 .pedigree-name {
  top: 24px; }

.level4.ab1 a.pedigree-link, .level4.ab1 .pedigree-name {
  top: 30px; }

.level4.om1 a.pedigree-link, .level4.om1 .pedigree-name {
  top: 17px; }

.level4.ab2 a.pedigree-link, .level4.ab2 .pedigree-name {
  top: 21px; }

.level4.om2 a.pedigree-link, .level4.om2 .pedigree-name {
  top: 10px; }

.level4.ab3,
.level4.ab4,
.level4.om3,
.level4.ab4 {
  height: 40px; }

.level4.ab3 a.pedigree-link, .level4.ab3 .pedigree-name {
  top: 12px; }

.level4.om3 a.pedigree-link, .level4.om3 .pedigree-name {
  top: 5px; }

.level4.ab4 a.pedigree-link, .level4.ab4 .pedigree-name {
  top: 12px; }

.level4.om4 a.pedigree-link, .level4.om4 .pedigree-name {
  top: 5px; }

.logo {
  background: url("/images/logo.png") no-repeat 0 0 transparent;
  width: 280px;
  height: 70px;
  display: inline-block;
  margin-top: 5px; }

/*
.logo{
    background:url('/images/logo.png') no-repeat 0 0 transparent;
    width:280px;
    height:82px;
    display:inline-block;
    margin-top:5px;
}*/
a:hover {
  text-decoration: none; }

.popup-vimeo {
  color: #Fff; }

.btn:hover, .btn:focus, .btn.focus {
  color: #FFF; }

a:focus {
  outline: 0 !important; }

.breadcrumb {
  border-radius: none;
  background-color: transparent;
  padding-left: 0;
  margin-top:0;
  border-bottom: 1px solid #4c4c53; }

.breadcrumb a {
  color: #4c4c53; }

.breadcrumb > li + li:before {
  content: "/";
  color: #4c4c53; }

.breadcrumb > .active {
  color: #4c4c53; }

.caption h3 {
  font-size: 20px;
  color: #FFF;
  margin-top: 0;
  padding-top: 0; }

h3.name {
  margin-bottom: 20px; }

h3.section {
  color: #cececf;
  text-transform: uppercase;
  margin-bottom: 15px; }

#gallery, #videos {
  background: #191c20;
  padding: 20px 15px;
  margin: 0; }

h2.widget {
  color: #919193;
  text-transform: uppercase;
  border-bottom: 1px solid #4c4c53;
  text-align: center;
  padding-bottom: 5px;
  margin-bottom: 25px; }

.section-horses {
  color: #FFF; }

.section-horses h4 {
  color: #FFF; }

.section-horses h2 {
  color: #35e1e3; }

.section-horses .heading {
  margin-bottom: 40px; }

.section-horses h2 span {
  display: block;
  color: #0ec29c; }

.lead {
  font-size: 14px;
  line-height: 20px; }

.loop-box .lead {
  padding: 0 20px;
  padding-bottom: 30px;
  font-size: 14px;
  text-align: center; }

.about-us h3 span {
  display: block; }

.loop-box h2 span {
  display: block;
  color: #00B2E2; }

.read-more {
  display: block;
  text-align: left;
  color: #116e87; }

.loop-box {
  background-color: #262d35;
  height: 370px; }

.caption a:hover h3 {
  color: #18e2cf; }

.thumbnail {
  background-color: #262d35;
  padding: 0;
  border: none;
  color: #FFF;
  border-radius: 0; }

#gallery .thumbnail {
  background: transparent;
}



.description {
  color: #58667f;
  line-height: 25px;
  padding-bottom: 40px;
  font-size:14px;
}

.loop-box h2, .loop-box h3, .loop-box h4 {
  text-align: center;
  margin-left: 20px; }

.thumbnail .caption {
  color: #FFF;
  padding: 20px; }

.desc {
  color: #ddd; }

#main {
  padding-bottom: 20px;
  min-height: 400px; }

section {
  position: relative;
  overflow: hidden; }

.section-introduction {
  background-size: cover;
  margin-top: -110px;
}

.section-introduction .hero-novideo-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.section-introduction  video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); }

.section-introduction .hero-media-mask {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#59000000', endColorstr='#1A000000', GradientType=0); }

.section-introduction .hero-media-controller {
  right: 30px;
  bottom: 30px;
  position: absolute;
  width: 25px;
  height: 25px;
  opacity: 0.35;
  filter: alpha(opacity=35);
  transition: all 0.4s ease; }

.icon-sm {
  max-height: 25px;
  max-width: 25px; }

.section-introduction .video-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; }

.section-introduction .introduction {
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  position: absolute;
  top: 50%;
  z-index: 1000; }

.fade.in {
  opacity: 1; }

.section-introduction h1, .section-introduction h3 {
  color: #fff;
  }

.section-introduction h1, .section-introduction h3 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }

.loop-box h2, .loop-box h3, .loop-box h4 {
  margin-top: 0;
  padding-top: 15px; }

#footer h3 {
  font-size: 20px;
  margin-right: 20px;
  font-family: 'Ubuntu', sans-serif;
  color: #58667f; }

#footer h3.title-footer {
  margin-top: 40px;
  margin-bottom: 20px;
}

ul#social {
  list-style: none; }

ul#social li {
  display: inline-block; }

ul#social li a {
  display: block;
  width: 32px;
  height: 32px; }

ul#social li.facebook {
  background: url("/images/facebook.png"); }

ul#social li.twitter {
  background: url("/images/twitter.png"); }

ul#social li.linkedin {
  background: url("/images/linkedin.png"); }

ul#social li.google {
  background: url("/images/google.png"); }

ul#social li.instagram {
  background: url("/images/instagram.png"); }

ul#social li.vimeo {
  background: url("/images/vimeo.png"); }

#pedigree-info {
  display: block;
  font-size: 15px;
}

.sire-info, .sire-info a.pedigree-link,a.name-sire {
  color: #35e1e3;
  font-size:13px;
  font-weight:bold;
}

span.pedigree-name{
  font-size:13px;
  font-weight:bold;
}
.dam-info, .dam-info a.pedigree-link ,a.name-dam{
  color: #029e6d;
  font-size:13px;
  font-weight:bold;
}
.year, .color {
  display: inline-block;
  color: #eee; }

#footer-menu {
  list-style: none; }

#footer-menu li {
  float: left;
  width: 50%;
  line-height: 35px; }

.lead i {
    font-size: 10px;
    font-style: normal;
}
.lead i.empty{
  display:none;
}

#footer-menu li a {
  color: #58667f;
  font-size: 14px;
  font-family: 'Ubuntu', sans-serif;
  text-transform: uppercase; }

#footer-menu li a:hover {
  color: #37dfe1; }

#powered {
  padding-top: 40px;
  float:left;
}

#powered p {
  color: #58667f;
  padding-top: 10px; }

h4 a {
  color: #35e1e3; }

.section-introduction .video-play {
  color: #eaebec;
  transition: opacity 200ms; }

.btn-lg, .btn-group-lg > .btn {
  padding: 16px 26px;
  font-size: 19px;
  line-height: 1.33;
  border-radius: 4px; }




.icon-play {
  margin-left: 6px;
  margin-top: 0px; }

.learn-more {
  bottom: 50px;
  padding-top: 0;
  height: 90px;
  left: 50%;
  margin-left: -25px;
  width: 50px;
  overflow: hidden;
  position: absolute; }

.pause-video {
  bottom:60px;
  padding-top: 0;
  height: 90px;
  right: 0;
  width: 140px;
  overflow: hidden;
  position: absolute;
}

.section-introduction .video-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; }

.video-container .video-content {
  width: 100%;
  position: absolute;
  top: 50%; }

.video {
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  height: 100%; }

.video .overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* you were also missing a semi-colon here, which was breaking this and the background rule */
  background: url(/images/overlay-pattern.png) repeat; }

.more {
  margin-bottom: 10px;
  color: #116e87;
  margin-right: 20px;
  float: right; }

.article {
  width: 100%;
  padding: 5px;
}

.article img.img-news {
  width: 38%;
  margin-right: 5px;
  display: inline-block;
  vertical-align: top; }


a:hover {
  color: #029e6d;
}

.article a.link-news,
.article a.link-news:visited,
.article a.link-news:focus,
.media-heading a,
.media-heading a:visited,
.media-heading a:focus
 {
  width: 42%;
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  line-height: 20px;
  color: #35e1e3;
}

.article a.link-news:hover,
.media-heading a:hover{
  color:#029e6d;
}

.media-heading a,
.media-heading a:visited,
.media-heading a:focus{
  margin-top:20px;
  width:auto;
}


.thumnail {
  max-width: 100px;
  height: 100px; }

.footer {
  background: url("/images/footer-bg.png") repeat-x 0 0 #262d35;
  padding: 20px 45px; }

.section-video iframe {
  width: 100%;
  height: 100%; }

.navbar-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1033;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

.intro-header,#mobile-header{
  background: no-repeat 0 0;
  background-attachment: scroll;
  background-size: cover;
  -o-background-size: cover;
  height: 730px;
  color: #FFF;
}

.news .intro-header{
  margin-top:-110px;
}

.navbar-custom.is-visible {
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0); }

.navbar-custom.horses.not-front {
  background: transparent;
  border-bottom: none; }

.navbar-custom.is-fixed {
  position: fixed;
  top: -90px;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s; }

.navbar-custom.not-front {
  background: #262d35 url(/images/pattern.png) repeat-x center;
  border-bottom: 2px solid #191c20;
}
.about-us .navbar-custom.not-front,.news.detailed .navbar-custom.not-front{
   background:transparent;
  border-bottom:none;
}
.about-us .intro-header{
    margin-top:-100px;
}

.navbar-custom.horses.not-front.is-fixed {
  background: #262d35 url(/images/pattern.png) repeat-x center;
  border-bottom: 2px solid #191c20; }

.navbar-custom {
  transition: background-color 0.3s;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

.intro-header .site-heading {
  padding: 200px 0; }

.site-heading h1 {
  color: #FFF; }

.header-image .thumbnail {
  width: 100%; }

.ImgThumbnail {
  width: 100%;
  height: 250px;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
}

.carousel,
.item,
.active {
    height: 100%;
}
.carousel-inner {
    height: 100%;
}
.fill {
    width: 100%;
    height: 100%;
    background: no-repeat 0 0;
    background-attachment: scroll;
    background-size: cover;
    -o-background-size: cover;
    color: #FFF;
}

.article img.img-news {
    width: 100px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: top;
    height: 100px;
}

video#video { 
    _position: fixed;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    background-size: cover; 
}
.ar #navbar{
  margin-right:50px;
}
.ar .form-horizontal .control-label{
  float:right;
}
.ar .form-horizontal .col-lg-3,
.ar .form-horizontal .col-lg-6
{
  float:right;
}
.ar .form-control{
  text-align:right;
}
.ar .site-heading h1{
  direction:rtl;
}


.ar .section-stallions h3{
  text-align:right;
}

.ar .breadcrumb{
  direction:rtl;
}

.ar .col-sm-3{
    float:right;
}

.ar h2.heading.text-center{
  direction:rtl;
}

.ar h3,.ar .h3{
  text-align:right;
}

.section-introduction h3{
  text-align:center;
}


.ar .description{
    text-align:right;
}

.ar .page-header{
    direction:rtl;
}

.ar section#horses-category{
  direction:ltr;
}

.news.ar #more{
  direction:rtl;
}

#more p{
  font-size:14px;
  line-height:30px;
  color:#58667f;
}



.section-about-us{
    font-size: 14px;
    text-align: left;
    font-weight: normal;
    margin-bottom:20px;
    margin-top:20px;    
    line-height:30px;
}

#mobile-header{
    display:none !important;
}



a.mes-news {
    width: 130px;
    height: 120px;
    display: inline-block;
    background-size: cover;
    background-repeat:no-repeat;
    background-color:transparent;
    margin-top:3px;
    margin-right:5px;
}

.my-mobile{
  display:none;
}

@media (max-width: 480px) {
  .slider .section-introduction{
    margin-top:110px;
  }
  .slider .carousel{
    height:330px;
  }
  .slider .fill{
    height:330px;
  }
  .non-mobile{
    display:none;
  }
  .my-mobile{
    display:block;
  }
  .lang{
    top:50px;
  }
  .section-introduction video{
    top:40%;
  }
  .section-introduction .introduction{
    top:50%;
  }
  .slider .section-introduction .introduction{
    top:38%;
  }
  .footer{
    background:transparent;
  }
  ul.nav.navbar-nav{
    background:#191c20 !important;
  }

  #mobile-header{
    display:block !important;
    background-size:100%;
  }
  .intro-header,.intro-header-mobile-x{
    background-size:100%;
  }
  .intro-header{
    display:none;
  }

  #mobile-header{
    display:block;
    background-repeat:no-repeat;
  }
  .hidden-x{
    display:none;
  }
  #pedigree{
    background:none;
  }

  #pedigree .col-md-4{
    display:none;
  }

  #pedigree .level1{
      float:left;
      background:none;
      padding-left:0;
      padding-right:0;
  }
  #pedigree .olevel{
      float:left; 
      width: 110px;
      padding-left:0;
      padding-right:0;
  }
  #pedigree .olevel4{
     float:left;  
      width:60px;
      padding-left:0;
      padding-right:0;
  }
}

@media  (min-width : 800px) and (max-width: 1280px) {
    .section-introduction{
        margin-top:-225px;
    }
}

@media only screen and (min-device-width : 375px)  and (max-device-width : 667px) and (orientation : landscape) {

  #pedigree .col-md-4{
    display:none;
  }
  #pedigree{
    background:none;
  }
  .level1{

  }
  #pedigree .level1{
      float:left;
      background:none;
      padding-left:0;
      padding-right:0;
  }
  #pedigree .olevel{
      float:left; 
      width: 185px;
      padding-right:0;
  }
  #pedigree .olevel4{
     float:left;  
      width:100px;
      padding-right:0;
  }
  .section-introduction {
    margin-top: -110px;
  }
}


