/*
Theme Name: bgu Child
Theme URI: http://underscores.me/
Template: bgu
Author: Web Media Group
Author URI: http://www.wmg.co.il
Description: Description
Version: 1.0.0.1499782347
Updated: 2017-07-11 17:12:27

*/

/* ==========================================================================
Custom CSS
   ========================================================================== */

@import "https://fonts.googleapis.com/css?family=Assistant&subset=hebrew";
body {
  font-size: 16px;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div,
ul,
li,
p,
a {
  font-family: "Assistant", sans-serif;
  direction: rtl;
}

header#desktop {
  background-size: cover;
  width: 100%;
  height: 300px;
  margin-top: 80px;
  z-index: 9999999;
}

.page-template-about_us header#desktop,
.home header#desktop,
.page-template-thankyou header#desktop {
  background-image: url("img/header_image.jpg");
}

.main_wrapper {
  margin: 0 auto;
  position: fixed;
  top: 0;
  z-index: 111;
  right: 0;
  left: 0;
  text-align: center;
}

#top_buttons {
  margin-top: 27px;
  float: left;
}

.background {
  background-color: white;
  z-index: 100;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 90px;
  width: 100vw;
}

a.why_us {
  margin: 0 3px;
  background: #0076aa;
  padding: 6px;
  display: inline-block;
  text-align: center;
  color: #ffffff;
  font-size: 17px;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

a:hover.why_us {
  background: #005377;
  text-decoration: none;
}

a.download_pdf {
  margin: 0 3px;
  background: #ffffff;
  padding: 6px 10px;
  display: inline-block;
  text-align: center;
  color: #0076aa;
  font-size: 17px;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  border: 1px solid #0076aa;
  box-sizing: border-box;
}

a:hover.download_pdf {
  background: #0076aa;
  text-decoration: none;
  color: white;
}

#left_menu {
  width: 200px;
  position: absolute;
  top: 0;
  left: 50px;
}

#titles {
  position: relative;
  margin: 200px auto 0 auto;
  text-align: center;
}

header h3 {
  margin: 0;
  color: #FFFFFF;
  font-size: 50px;
  font-weight: bold;
  /*text-shadow: 0px 0px 50px #000;*/
}

header h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: 24px;
  /*text-shadow: 2px 2px 4px #666666;*/
}

section {
  margin: 30px auto 0px auto;
}

.slick-slide img {
  display: block;
  position: absolute;
  bottom: 5px;
}

.sidebar {
  float: right;
  width: 29%;
}

.sidebar h4 {
  font-size: 2.5rem;
  color: #FFFFFF;
}

.sidebar_fixed {
  position: fixed;
  top: 2%;
  width: 340px;
}

.text-align-r {
  text-align: right;
}

.single #content #titles {
  margin-top: 0;
  display: inline-block;
  width: 60%;
}

.single .site-header #titles {
  display: none;
}

.coursesCarrousel {
  margin: 0px auto;
}

.coursesCarrousel h3 {
  margin: 5rem 0;
  font-weight: bold;
  color: #0076aa;
  font-size: 2.3rem;
  text-align: center;
}

.coursesCarrousel .slick-slider>div {
  direction: ltr !important;
}

.coursesCarrousel .slick-slider>div .small_box {
  width: 98.5%;
  background-repeat: no-repeat;
}

.coursesCarrousel .slick-slider .slick-prev,
.coursesCarrousel .slick-slider .slick-next {
  background-color: #FFFFFF;
  z-index: 1;
  height: 40px;
  width: 30px;
}

.coursesCarrousel .slick-slider .slick-prev:before,
.coursesCarrousel .slick-slider .slick-next:before {
  color: #0076aa;
}

.coursesCarrousel .slick-slider .slick-prev {
  right: -1px;
  border-radius: 5px 0px 0px 5px;
}

.coursesCarrousel .slick-slider .slick-next {
  left: 0px;
  border-radius: 0px 5px 5px 0px;
}

.coursesCarrousel .slick-slider .slick-prev,
.coursesCarrousel .slick-slider .slick-next {
  transition: all 0.5s ease;
}

.coursesCarrousel .slick-slider .slick-prev:hover,
.coursesCarrousel .slick-slider .slick-next:hover {
  background-color: #0076aa;
}

.coursesCarrousel .slick-slider .slick-prev:hover:before,
.coursesCarrousel .slick-slider .slick-next:hover:before {
  color: #ffffff;
}

.coursesCarrousel .slick-slider .slick-dots {
  bottom: -30px;
}

.coursesCarrousel .slick-slider .slick-dots li {
  margin: 0;
}

.coursesCarrousel .slick-slider .slick-dots li button:before {
  font-size: 22px !important;
}

#main_content {
  float: left;
  width: 70%;
  padding-right: 3%;
}

#main_content h1 {
  margin: 30px auto 20px auto;
  color: #0076aa;
  font-size: 28px;
  font-weight: bold;
}

#main_content h1.sub_title {
  color: #666666 !important;
  font-size: 24px !important;
}

#main_content h1:first-of-type {
  margin-top: 0;
}

#main_content h3 {
  color: #0076aa;
  font-size: 1.7rem;
  font-weight: bold;
}

.right_menu {
  margin-bottom: 20px;
  min-width: 300px;
}

.right_menu a {
  padding: 15px 30px;
  color: #000000;
  font-size: 19px;
  display: block;
  text-decoration: none;
}

.right_menu a.selected {
  color: #FFFFFF;
}

#menu1 {
  background-color: #F9F9F9;
}

#menu1 a {
  border-bottom: 1px solid #DBDBDB;
  border-top: 1px solid #DBDBDB;
  transition: background-color 0.3s ease-in-out, border-radius 0.3s ease-in-out, color 0.3s, width 0.3s ease-in-out;
}

#menu1 a.selected {
  color: white;
  background-color: #0076AA;
  width: 105%;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

#menu2 {
  background-image: url("img/Menu-2.png");
  background-repeat: no-repeat;
  height: 191px;
}

#menu3 {
  background-image: url("img/Menu-3.png");
  background-repeat: no-repeat;
  height: 191px;
}

.single .sidebar {
  float: left;
  width: 37%;
  height: 100vh;
  padding-left: 20%;
  vertical-align: bottom;
  position: absolute;
  left: 0%;
  top: 570px;
}

.single .sidebar #right_form {
  z-index: 99;
  top: 100px;
  width: 60%;
  margin-bottom: 30px;
  margin-top: 30px;
}

#right_form {
  margin: 0 auto;
  min-height: 280px;
  background-color: #333333;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 30px;
  text-align: center;
  width: 90%;
  min-width: 300px;
  top: 100px;
  z-index: 99;
}

#right_form .success {
  margin-top: 100px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: bold;
}

#right_form span {
  display: block;
  color: #FFFFFF;
  font-size: 22px;
  padding-bottom: 0px;
}

#right_form span:nth-child(2) {
  display: inline-block;
}

#right_form span.your-name {
  display: block;
}

#right_form span.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
  padding-right: 15px;
  text-align: right;
}

#right_form span.wpcf7-checkbox .wpcf7-list-item-label {
  padding-right: 10px;
  font-size: 1.7rem;
}

#right_form p {
  color: white;
  text-align: center;
  padding-right: 20px;
}

div.wpcf7 .ajax-loader {
  display: none;
}

input[type=text],
input[type=tel],
input[type=email] {
  width: 90%;
  padding: 7px 10px;
  background-color: #FFFFFF;
  border: none;
  margin: 8px 1%;
  font-size: 16px;
  color: #666666;
}

input[type=submit] {
  width: 90%;
  padding: 10px;
  margin: 8px 0;
  background-color: #0076aa;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
}

input[type=submit]:hover {
  background: #065c82;
}

::-webkit-input-placeholder {
  color: #666666;
  font-weight: bold;
  font-size: 16px;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: #666666;
  font-weight: bold;
  font-size: 16px;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #666666;
  font-weight: bold;
  font-size: 16px;
}

:-ms-input-placeholder {
  color: #666666;
  font-weight: bold;
  font-size: 16px;
}

#right_slider {
  width: 92%;
  margin: 0 auto;
  margin-bottom: 30px;
  min-height: 370px;
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  text-align: center;
  min-width: 300px;
}

#right_slider span {
  text-decoration: underline;
  display: block;
  color: #0076aa;
  font-size: 22px;
  padding-bottom: 0px;
}

.single #right_slider {
  width: 60%;
}

.boxes {
  width: 100%;
}

.box {
  border-radius: 6px !important;
  float: right;
  height: 220px;
  margin-left: 3%;
  margin-bottom: 23px;
}

.small_box {
  position: relative;
  width: 47%;
  padding: 0 !important;
}

.small_box .courseDetails {
  background-color: rgba(0, 168, 239, 0.68);
  position: absolute;
  bottom: 0px;
  padding: 15px 10px;
  width: 100%;
  height: 80px;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  transition: 0.5s;
}

.small_box:hover .courseDetails{
  height: 100px;
}

.small_box .courseDetails p {
  color: #FFFFFF;
  font-size: 1.6rem;
  margin: 0;
}

.small_box .courseDetails p.courseHoursDate {
  opacity:0;
  transition: 0.5s;
}
.small_box:hover .courseDetails p.courseHoursDate {
  opacity:1;
}

.small_box .courseDetails p.courseTitle {
  font-size: 1.9rem;
  font-weight: bold;
}

.fullwidth_box {
  padding: 0 !important;
  width: 97%;
}

.box_title {
  margin: 36px 20px 0 0 !important;
  color: #FFFFFF;
  font-size: 21px;
  font-weight: bold !important;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  -webkit-transform: translate3d(0px, 3px, 0);
  transform: translate3d(0, 3px, 0);
}

figure.effect-sadie:hover .box_title {
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  -webkit-transform: translate3d(0, -10px, 0);
  transform: translate3d(0, -10px, 0);
}

/***Effects***/

.grid {
  max-width: 100% !important;
  max-height: 100% !important;
  text-align: right !important;
  background-size: cover;
}

.grid img {
  border-radius: 20px;
}

/***Effects***/

#box1 {
  background-image: url("img/box1.jpg");
  background-size: cover;
}

#box2 {
  background-image: url("img/box2.jpg");
  background-size: cover;
}

#box3 {
  background-image: url("img/box3.jpg");
  background-size: cover;
}

#box4 {
  background-image: url("img/box4.jpg");
  background-size: cover;
}

#box5 {
  background-image: url("img/box5.jpg");
  background-size: cover;
}

/***Text Slider***/

.text_slider {
  background-color: #FFFFFF;
  border: 1px solid #f5f5f5;
  padding: 13px;
  position: relative;
  height: 220px;
}

.carousel-caption {
  height: 260px;
  width: 100%;
  margin-top: 100px;
  right: 0;
  left: 0;
}

#myCarousel p {
  font-style: italic;
  text-shadow: none;
  display: block;
  width: 90%;
  margin: 0 auto;
  color: #666666;
  font-size: 16px;
  text-align: right;
}

#myCarousel .item {
  margin-top: 280px;
}

.carousel-indicators {
  display: none;
  left: 17% !important;
  bottom: 0;
  top: 220px;
}

.carousel-indicators li {
  background-color: #666666 !important;
  border: 1px solid #666666 !important;
}

.carousel-indicators .active {
  width: 10px !important;
  height: 10px !important;
  margin: 1px !important;
  background-color: #0076aa !important;
  background-color: #0076aa !important;
}

/***Text Slider***/

.clear {
  clear: both;
}

header#mobile,
#mobile_header,
#lightbox {
  display: none;
}

.qu {
  float: right;
  width: 12%;
}

.qu_text {
  float: left;
  width: 87%;
}

.site-footer>div.site-info>div {
  font-size: 1.7rem;
}

.site-footer>div.site-info>div:nth-of-type(2) {
  color: white;
}

.site-footer>div.site-info>div a {
  color: white;
}

.intro-p {
  font-size: 19px;
  margin-bottom: 20px;
}

.intro-p .read-more {
  color: #0076aa;
}

.intro-p .read-more:hover {
  text-decoration: unset;
}

.wpcf7-validation-errors {
  border: none !important;
  color: red;
  text-align: center;
}

div.wpcf7-mail-sent-ok {
  border: none !important;
  color: #FFFFFF;
}

div.wpcf7-response-output {
  margin: 1em 0.5em 1em !important;
}

.single .contactBlock {
  display: none;
}

form label {
  text-align: right;
  color: white;
}

@media screen and (max-width: 768px) {
  #responsive-menu {
    margin-top: 50px !important;
  }
  .single #content #titles {
    width: 100%;
  }
  .single #main #main_content {
    width: 100%;
  }
  .popup_mobile_div {
    z-index: 99999;
    width: 100%;
    padding: 6px 0;
    text-align: center;
    position: fixed;
    bottom: 0px;
    background-color: #0076aa;
    color: #FFFFFF;
  }
  section {
    width: 90%;
    margin: 0 auto;
  }
  #main_content {
    width: 100%;
  }
  #logo,
  .sidebar,
  header#desktop {
    display: none;
  }
  #main_content .small_box {
    width: 96%;
    right: 1%;
    margin-left: 0% !important;
    padding: 0 !important;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 20px;
  }
  .main_wrapper {
    width: 100%;
  }
  .main_wrapper #titles {
    padding: 20px 0;
  }
  header#mobile {
    height: auto;
    width: 100%;
    display: block;
  }
  .single .main_wrapper {
    padding: 20px 0;
  }
  .single .slick-slider>div {
    direction: ltr !important;
  }
  .single .slick-slider>div .small_box {
    width: 99%;
    margin-left: 0;
  }
  .single .course_details {
    margin: 0 auto;
    margin-right: auto;
  }
  .single .course_details>div:not(.clear) {
    width: 40%;
    margin: 10px;
  }
  header#mobile {
    background-image: url("img/header_image.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }
  #titles h3 {
    font-size: 28px !important;
  }
  #mobile_header {
    z-index: 999999999;
    height: 100px;
    display: block;
  }
  .mobile_div {
    width: 100%;
    display: block;
    text-align: center;
  }
  .mobile_div img {
    margin-top: 15px;
    margin-right: 13px;
  }
  .menu-btn {
    margin-right: 20px;
  }
  .menu-btn div {
    position: absolute;
    right: 20px;
    top: 64%;
    padding-right: 8px;
    margin-top: -0.5em;
    line-height: 1.2;
    font-size: 18px;
    font-weight: 200;
    vertical-align: middle;
    z-index: 99;
  }
  .menu-btn span {
    color: #FFFFFF;
    display: block;
    width: 19px;
    height: 3px;
    margin: 0px 0px 4px 0px;
    background: #000000;
    z-index: 99;
  }
  .responsive-menu {
    margin-top: 19px;
    padding-top: 20px;
    z-index: 9999999;
    display: block;
    height: 100%;
    width: 80%;
    position: absolute;
    background: #FFFFFF;
    border-left: 3px solid #0076aa;
    display: none;
  }
  .responsive-menu a {
    color: #0076aa;
    line-height: 40px;
    display: none;
    width: 100%;
    text-align: right;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
  }
  .expand {
    display: block !important;
  }
  #main_content {
    margin-top: 30px;
  }
  #main_content h1 {
    font-size: 22px !important;
    width: 100%;
    text-align: center;
  }
  #main_content h1.sub_title {
    font-size: 16px !important;
  }
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    /*dim the background*/
    display: none;
  }
  #closePopUp {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 20px;
    font-weight: bold;
    color: #666666;
  }
  #lightbox {
    z-index: 999999;
    background: #FFFFFF;
    position: absolute;
    top: 20%;
    border-radius: 23px;
    left: 1.5%;
    padding: 35px 20px;
    margin: 0 auto;
    width: 97%;
    height: 320px;
    text-align: center;
    display: none;
  }
  #lightbox span {
    display: block;
    font-size: 16px;
    font-weight: bold;
  }
  .site-footer {
    text-align: center;
  }
  .contactBlock div.wpcf7 {
    padding-top: 20px;
  }
  .contactBlock div.wpcf7 form {
    text-align: center;
  }
  .contactBlock div.wpcf7 form .ajax-loader {
    display: block !important;
  }
  .contactBlock div.wpcf7 .wpcf7-response-output {
    margin: 0em 0.5em 1em;
  }
  .single .contactBlock {
    display: block;
  }
}

.single #main_content {
  width: 60%;
}

.single .course_details {
  margin-top: 4rem;
  display: flex;
  justify-content: flex-end;
}

.single .course_details>div:not(.clear) {
  display: inline-block;
  background-color: #0076aa;
  padding: 25px 10px 18px 10px;
  color: #FFFFFF;
  text-align: center;
  border-radius: 9px;
  font-size: 1.5rem;
}

.single .course_details>div:not(.clear) strong {
  font-size: 1.7rem;
}

.single .course_details>div:not(.clear) i {
  font-size: 5rem;
  margin-bottom: 10px;
}

.single .subtitles {
  background-color: #0076aa;
  width: 100%;
  color: #FFFFFF;
  text-align: center;
  padding: 13px 0 13px 0;
}

.single .subtitles p {
  margin: 0;
}

.single .subtitles p.sub_title_line1 {
  font-size: 3.2rem;
  font-weight: bold;
}

.single .subtitles p.sub_title_line2 {
  font-size: 2.3rem;
}

.single .container-fluid {
  padding: 0;
}

.single .container-fluid .contactBlock {
  background-color: #333333;
  width: 100%;
  color: #FFFFFF;
  padding: 10px 0 20px 0;
}

.single .container-fluid .contactBlock h4 {
  padding-right: 10px;
}

.single .site-footer>div.site-info {
  padding: 1rem 0;
}

.single .site-footer>div.site-info>div {
  padding: 0.5rem 0;
}

.single #main {
  padding-bottom: 40px;
}

@media screen and (min-width: 769px) {
  #logo {
    margin-top: 0px;
    display: flex;
  }
  section {
    width: 1170px;
    max-width: 100%;
  }
  .single #title {
    top: 40px;
  }
  .single #main_content {
    float: right;
  }
  .single header#desktop {
    height: 350px;
  }
  .single .course_details>div {
    margin: 0 8px;
    min-width: 180px;
  }
  .single .coursesCarrousel {
    width: 60%;
  }
  .single .contactBlock input[type=text],
  .single .contactBlock input[type=tel],
  .single .contactBlock input[type=email] {
    width: 19%;
    display: inline-block;
    vertical-align: bottom;
  }
  .single .contactBlock .wpcf7-checkbox {
    width: 18%;
    display: inline-block;
    vertical-align: top;
    padding-top: 19px;
  }
  .single .contactBlock input[type=submit] {
    width: 16%;
    display: inline-block;
    vertical-align: bottom;
  }
  .single .contactBlock .wpcf7-not-valid-tip {
    direction: rtl;
    display: block;
    position: absolute;
    top: 20px;
    right: 10px;
    width: auto;
    margin: 0;
    padding: 0;
  }
  .site-footer>div.site-info>div {
    padding: 2rem 0;
  }
  .site-footer>div.site-info>div:nth-of-type(1) {
    text-align: left;
  }
  .site-footer>div.site-info>div:nth-of-type(2) {
    text-align: right;
  }
}

.site-footer {
  background-color: #333333;
}

.single .gray-background {
  background-color: #f5f5f5;
  padding-bottom: 40px;
}

@media screen and (max-width: 1160px) and (min-width: 768px) {
  .single .course_details>div {
    min-width: unset;
  }
  .single .sidebar {
    padding-left: 0;
    top: 650px;
  }
  .single #main_content {
    padding-right: 15px;
  }
  .home .site-content {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .home #main_content {
    width: 55%;
    padding-left: 5%;
  }
  .home .right_menu {
    min-width: 340px;
  }
  .home #right_form {
    min-width: 340px;
  }
  .home #right_slider {
    min-width: 340px;
  }
}

.home #right_form {
  display: none;
}

.home .sidebar #right_form {
  display: block;
  width: 100%;
}

.home .sidebar #right_slider {
  width: 100%;
}

@media screen and (min-width: 1160px) {
  .single .sidebar {
    padding-left: 10%;
  }
}

@supports (-ms-ime-align: auto) {
  #right_form {
    position: static !important;
  }
}


.postid-118 .site-header {
  background-position: right;
}

.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
  direction: rtl !important;
}