/* ######### Global Rules ######## */
/* ###############################*/

body{
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  background: #ddd;
}

.nopadding{ padding: 0; }
.roundedtop{ border-radius: 5px 5px 0 0; }


p,h1,h2,h3,h4,div{ font-family: 'Roboto', sans-serif; direction: rtl; text-align: right;}
h1{ 
  font-size: 36px; 
  font-weight: 300;
}

h2{ 
  font-size: 26px; 
  font-weight: 300;
}
h4{ font-size: 18px; font-weight: 900; }
ul{ list-style: none; }
p .btn{ margin-left: 20px; }
hgroup{ margin-bottom: 30px; }
.uppercase{ text-transform: uppercase; }
.xbold{ font-weight: 900; }
.entry-content{ text-align: right; direction: rtl; font-size: 1.2em; }
.entry-content ul li{
    float: none;
    list-style-type: disc;
}
h1 small{
  font-family: 'Dancing Script', cursive;
  font-size: 16px;
  color: #999;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  text-transform: none;
}
p.lead{ font-weight: 300; }
p.lead a{ margin-left: 10px; }
.dark p.lead{ color: #ccc; }
p.lead em{ 
  font-family: 'Dancing Script', cursive; 
  color: #3498db; 
  font-style: normal;
  font-size: 28px;
}
p.lead small{ font-size: 15px; font-weight: 400; }
p.lead.solo{ margin-bottom: 0; }

a, a:hover, a:focus{ color: #854912; }
a:hover{ text-decoration: none; }
a.btn{ color: #f5f5f5; }

.thumbnail .caption{
  text-align: right;
  direction: rtl;
}

.clear{
  clear: both;
}


/* ######### Header Area ######### */
/* ###############################*/


/* Navigation Menu */
header{ min-height: 62px; }

header .outer{
    overflow: hidden;
    height: inherit !important;
    position: relative;
}

section.white-transparent {
  background: rgba(255, 255, 255, 0.85098);
  position: fixed;
  top: 0;
  z-index: 200;
  width: 100%;
  height: 60px;
}

/*.navbar{ 
  width: 100%;
  margin-bottom: 0;
}

.navbar ul{ margin: 0; }

.navbar li{ display: inline; float: right;}

.navbar-default{
  background: none;
  border: none;
}

.navbar-default .navbar-nav>li>a{
  display: block; 
  background: #444;
  background: rgba(0,0,0,.33);
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  padding: 20px;
  border-left: rgba(255,255,255,.4) 1px dotted;
  transition:background 0.5s ease, color 1s ease;
  -webkit-transition:background 0.5s ease, color 1s ease;
}

.navbar-default .navbar-nav>li>a:hover, 
.navbar-default .navbar-nav>li>a:focus{
  background: #854912;
  color: #FFFFFF; 
}

.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:hover, 
.navbar-default .navbar-nav>.active>a:focus{
  background: #854912;
  color: #FFFFFF;
  font-weight: bold;
}

.navbar-default .navbar-collapse, 
.navbar-default .navbar-form,
.navbar-header {
  float: right;
  float: right;
}
*/
/*.navbar-default .navbar-brand{
    display: block;
    padding: 0;
    margin: 21px 10px;
    height: 20px;
    line-height: 20px;
    font-size: 20px;
    color: #fff;
    text-shadow: -2px 1px 0 #B3D3C9, -4px 3px 0 rgba(0,0,0,0.15);
}

.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus{
  color: #854912;
  text-shadow: -2px 1px 0 #cc8646, -4px 3px 0 rgba(0,0,0,0.15);
}*/

.site-name-in-nav{
    line-height: 60px;
    font-size: 20px;
    color: #fff;
    display: block;
    position: fixed;
    z-index: 201;
}

.site-name-in-nav:hover{ color: #854912; }

#pageTitle{
  text-align: center;
}

#pageTitle h1{
  font-size: 61px;
  color: #FFFFFF;
  text-shadow: -4px 2px 0 #B3D3C9,-4px 7px 0 rgba(0,0,0,0.15);
}


section.inner.no-title{ padding-top:60px; padding-bottom: 0px; }
.tab{ 
  padding: 25px 30px 30px 30px; 
  height: 99px; 
  margin-top: 0; 
  margin-bottom: 60px; 
  background: #4b9925; 
  display: inline-block; 
  color: #f5f5f5;
  border-radius: 0 0 2px 2px; 
  float: right;
  font-weight: 900; 
  font-size: 29px;
}
section.inner.dark h2:first-child{ padding: 0; height: auto; }
section.dark, 
section.green{ 
    background: #222; 
    color: #f5f5f5; 
    padding-bottom: 0; 
    padding-top: 60px;  
}

section.green,
header.green{
  background: #4b9925;
}

section.dark p, 
section.green p{ 
  color: #999; 
  padding: 0; 
}
section.inner .divider{ height: 30px; margin-top: 60px; border-top: rgba(0,0,0,.2) 1px dotted; }

section.dark .divider, 
section.green .divider{ 
  border-top: rgba(255,255,255,.3) 1px dotted; 
}

section.inner .divider.inline{ margin-top: 30px; }

.clients img{ opacity: 0.9; border-radius: 2px; }

/*
This is the visible area of you carousel.
Set a width here to define how much items are visible.
The width can be either fixed in px or flexible in %.
Position must be relative!
*/
.jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/*
This is the container of the carousel items.
You must ensure that the position is relative or absolute and
that the width is big enough to contain all items.
*/
.jcarousel ul {
    width: 20000em;
    position: relative;

    /* Optional, required in this case since it's a <ul> element */
    margin: 0;
    padding: 0;
}

/*
These are the item elements. jCarousel works best, if the items
have a fixed width and height (but it's not required).
*/
.jcarousel li {
    /* Required only for block elements like <li>'s */
    float: left;
    margin-right: 30px;
    width: 165px;
}
.jcarousel li img{ width: 100%; }
.jcarousel nav{ clear: both; float: left; margin-top: 20px; width: 100%; text-align: center; }
.jcarousel-prev{ margin-right: 27px; }
.jcarousel-prev, .jcarousel-next{ 
  display:inline-block; 
  /* float: left; */
  font-size: 18px; 
  width: 28px; 
  height: 28px;  
  color: #f5f5f5;
  line-height: 30px;
  text-align: center;
  background: #3498db;
}
.owl-carousel div img{ margin: 0 auto; }
.testimonials nav{ text-align: right; }
.testimonials .jcarousel-prev{ margin-right: 10px; }
.testimonials .jcarousel-prev, .testimonials .jcarousel-next{
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 24px;
}

#contact{ position: relative; }
#contact .container{ position:relative; z-index: 10; }
#contact .contactbox{ background: #222; color: #f5f5f5; border-radius: 2px; }
#contact .contactinfo{ margin: 30px 0 30px 20px; }
#contact .contactbox h1{ margin-top: 0px; margin-bottom: 30px; font-weight: 700; text-transform: uppercase; }
#contact h2{ margin-top: 0; font-weight: 900; font-size: 29px; }
#contact h4{ margin-bottom:5px; color: #ccc; margin-top: 15px; }
#contact h4.address{ font-size: 36px; color: #FFFFFF; }

#contact .contactinfo div{ margin-top: 20px; }
#contact .contactinfo div h4{ margin: 0 0 10px 0; color: #f5f5f5; }
#contact form{ margin: 30px 20px 30px 0; }
#contact form h4{ margin-bottom: 30px; }
form input, form textarea{ font-family: 'Roboto', sans-serif; font-size: 14px; color: #999; text-align: right; direction: rtl; padding-right: 10px; }
form div.textfield{ margin-bottom: 20px; }
form input{ width: 100%; border: none; height: 38px; }
form textarea{ width: 100%; border: none; height: 85px; resize: none; }
form .textarea{ width: 70%; float: right; }
form .btn{ float: left; height: 85px; width: 26.5%; padding:0; border: none; position: relative; }
form .btn input{ 
  background: #854912; 
  color: #fff; 
  font-weight: 900; 
  height: 85px;
  width: 100%;
  font-size: 24px;
}

form .btn input:hover{
  background-color: #DB822F;
  border-color: #FF9E44;
}

form .btn .fa-spin{
  position: absolute;
  top: 42%;
  left: 44%;
  opacity: 0;
}

.help-block{
  text-align: right;;
  direction: rtl;
}

/* Footer Area*/
footer{
  padding: 0;
  margin-top: 40px;
  background: #222; 
  color: #f5f5f5;
}

body.home footer{ 
  padding: 60px 0 0 0; 
  margin-top: 0;
}

footer p{
  padding: 20px 0;
  margin-bottom: 0;
}

footer p{ 
  /*color: #999;*/
  color: #FFFFFF; 
}

footer h1{ margin-bottom: 30px; }

footer div.container div.row h2.tab{ margin-top: -60px; }

.testimonials .jcarousel li{ width: 360px; }
.testimonials .jcarousel li img{ width: 70px; }
.testimonials p{ padding-left: 24px; margin-bottom: 15px; font-size: 20px; }
.testimonials .fa-quote-right,
.testimonials .fa-quote-left{  position: relative; font-size: 16px; }
.testimonials .fa-quote-right{ right: 5px; margin-left: 5px; }
.testimonials .fa-quote-left{ margin-right: 5px; }
div.author { padding-left: 50px; float: left; }
/*.testimonials div img{ float: left; margin-right: 12px; margin-left: 20px; }*/
.testimonials .name, .testimonials .title{ display: block; }
.testimonials .name{ font-weight: 700; font-size: 14px; padding-top: 12px; text-align: right; direction: rtl; }
.testimonials .title{ font-size: 13px; color: #999;  text-align: right; direction: rtl; }

footer .end{ border-top: rgba(255,255,255,.3) 1px dotted; }

.footer-nav-container{ 
  padding: 20px 0;
  box-sizing: content-box;
}

#footer-menu-ul{ display: table; width: 100%; }

#footer-menu-ul li{ 
  display: table-cell; 
  float: none;
  text-align: center;
  font-size: 1.2em;
}

#footer-menu-ul li a{ color: #fff; }
#footer-menu-ul li a:hover{ color: #4B9925; }

/* Fade-move animation for second dialog */
.my-mfp-slide-bottom .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;

  -webkit-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -moz-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -ms-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -o-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -moz-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -ms-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -o-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
  opacity: 0;
  -webkit-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -moz-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -ms-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -o-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg{
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out; 
  -moz-transition: opacity 0.3s ease-out; 
  -o-transition: opacity 0.3s ease-out; 
  transition: opacity 0.3s ease-out;

}
/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg{ opacity: 0.9; }

/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg{ opacity: 0; }


/* magnific PopUp */
.mfp-bg { background: #fff; }

.white-popup-block {
color: #000 !important;
  width: 60%;
  margin: 0 auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 0px;
  /*background: #f5f5f5;*/
}
.white-popup-block .caption{ position: absolute; bottom: 0; width: 100%; left: 0; padding: 20px; background: #222; background: rgba(0,0,0,0.7); }
.white-popup-block .caption h2{ color: #f5f5f5; margin-top: 0; float: left; }
.white-popup-block .caption p{ color: #999; font-size: 14px; width: 100%; margin: 0; float: left; }
.white-popup-block h2{ color: #222; margin-top: 5px; font-weight: 400; }
.white-popup-block p{ color: #666; font-size: 13px; }
.white-popup-block img{ width: 100%; }
.white-popup-block audio{
  max-width: 80%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  margin-top: 40px;
}
.mfp-close-btn-in .mfp-close{
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: auto;
  height: auto;
  padding: 5px;
  line-height: 18px;
  position: absolute;
  right: 0;
  top: 0;
}

.big-noBg{
  color: #222;
  font-size: 28px;
  font-weight: 300;
  line-height: 30px;
}

.big-dark{
  background: #222;
  color: #f5f5f5;
  font-size: 28px;
  padding: 8px 20px;
  font-weight: 300;
  line-height: 34px;
}
.md-blue{
  background: #3498db;
  color: #f5f5f5;
  font-size: 24px;
  padding: 4px 10px;
  font-family: 'Dancing Script', cursive;
  width: auto;
  text-align: center;
  line-height: 30px;
}
.md-blue span{
  display: block;
  font-size: 30px;
  transform:rotate(-8deg);
  -ms-transform:rotate(-8deg); /* IE 9 */
  -webkit-transform:rotate(-8deg); /* Opera, Chrome, and Safari */
  margin-top: -5px;
}

.sm-blue{
  background: #3498db;
  color: #f5f5f5;
  font-size: 14px;
  padding: 6px 10px;
}

/* Main navigation */
.inner-page-header{
  width: 100%;
  height: 60px;
  position: relative;
}

.inner-page-header > .container{ height: inherit; }

nav.main{ position: relative; z-index: 100; bottom: 82px; right: 0; }
nav.main > ul{ float: right; padding: 0; margin: 0; margin-bottom: 0px; }
nav.main > ul > li{ float: right; position: relative; }
nav.main > ul > li > ul{ 
  position: absolute; 
  bottom: 60px;
  left: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  display: none;
}
nav.main > ul > li > ul li a{
  padding: 10px 20px;
}
nav.main li a{ 
  display: block; 
  background: #444;
  background: rgba(0,0,0,.33);
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  padding: 20px;
  border-left: rgba(255,255,255,.4) 1px dotted;
  transition:background 0.5s ease, color 1s ease;
  -webkit-transition:background 0.5s ease, color 1s ease; /* Safari */
}

nav.main li.active a, 
nav.main li a:hover, 
nav.main li a:focus{
  background: #854912;
  color: #FFFFFF;
}

nav.main li.sub li a{ background: #222; }
nav.main > ul > li:last-child > a{ border-right:rgba(255,255,255,.4) 1px dotted; }
nav.main li.sub li a:hover{ background: #161616; }

/* responsive navigation */
div.menu-toggle{
  padding: 22px 26px;
  background: #222;
  color: #999;
  text-align: center;
  cursor: pointer;
  float: right;
}
.rsmenu{
  width: 100%;
  display: none;
  background: #222;
  padding: 30px 0;
  z-index: 300;
  position: relative;
}
.rsmenu ul{
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rsmenu > ul{
  border-bottom: rgba(255,255,255,0.33) 1px dotted;
}
.rsmenu > ul > li{
  width: 100%;
  text-align: center;
  border-top: rgba(255,255,255,0.2) 1px dotted;
  float: none;
}
.rsmenu ul li.sub:before{
  content: "\f0ab";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  float: left;
  font-size: 14px;
  color: #999;
  margin-top: 13px;
  margin-left: 20px;
}
.rsmenu ul li.sub ul{ background: #191919; }
.rsmenu ul li.sub ul li a{ 
  color: #888; 
  font-size: 15px;
  border-top: rgba(255,255,255,0.05) 1px dotted;
}
.rsmenu > ul li a{
  display: block;
  width: 100%;
  padding: 10px 50px;
  font-size: 16px;
  color: #ccc;
  transition:all 0.5s ease;
  -webkit-transition:all 0.5s ease; /* Safari */
}
.rsmenu > ul > li.selected a, 
.rsmenu > ul > li a:hover{ color: #854912; font-weight: 900; background: #292929; }
.rsmenu > ul > li > ul{ display: none; }
.rsmenu ul li.sub ul li a:hover,
.rsmenu ul li.sub ul li.selected a{ background: #111 }

@media screen and (max-width: 600px) {
  #footer-menu-ul{ padding-right: 0; }
}


/* Regular Pages */
.page-not-found h1{ margin: 40px 0; }
.page-not-found p{ font-size: 18px }

body.single-recommendations h1{ margin-bottom: 0px; }
body.single-recommendations article.type-recommendations .entry-header{ height: 55px; }
.recommendation-content{ font-size: 15px; }

/* Archives */
.type-articles, .type-recommendations{ margin-top: 25px; }

body.post-type-archive-recommendations article:first-child{ margin-top: 0; }

article.type-recommendations .entry-header{ 
  height: 40px;
  margin-bottom: 15px;
}

.site-name-row, .site-name-row > div{ 
  height: inherit;
  direction: ltr;
}

/* Diplomas */
.img-subtitle {
  text-align: center;
  font-weight: bold;
}

#diplomas-container .entry-content{ padding-bottom: 25px; }

.diplomas li{ cursor: pointer; }

@media screen and (max-width: 600px) {
  .site-name-separator, .site-name-subtitle{ display: none; }
  .diplomas li img{
    max-width: 70%;
    margin: 20px auto;
  }
}

/* Workshops */
.workshop-image{ 
  display: block;
  width: 80%; 
}