/*
Theme Name: Avi Kurnas
Author: Yonatan Vissoker
Author URI: www.vissoker.co.il
Description: Branding Consultant Wordpress Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
*/

/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
  margin-bottom: 0;
  border-radius: 0;
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {height: 450px}

/* Set gray background color and 100% height */
.sidenav {
  padding-top: 20px;
  background-color: #f1f1f1;
  height: 100%;
}

/* Set black background color, white text and some padding */
footer {
  background-color: #555;
  color: white;
  padding: 15px;
}

/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width: 767px) {
  .sidenav {
    height: auto;
    padding: 15px;
  }
  .row.content {height:auto;}
}

/* =============================================================================

TYPOGRAPHY

============================================================================= */

h1, h2, h3, h4, h5, h6, p, li, a {
  font-family: 'Assistant', sans-serif;
  direction: rtl;
}

a.read_more {
    color: #f24a3e;
}

p {
	font-size: 16px;
}

/* =============================================================================

GENERAL

============================================================================= */

@media screen and (min-width: 768px) {
  .show_on_desktop_only {
    display: block
  }

  .show_on_mobile_only {
    display: none;
  }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  .show_on_desktop_only {
    display: none;
  }

  .show_on_mobile_only {
    display: block;
  }
}


/* =============================================================================

LOGO

============================================================================= */

@media screen and (min-width:320px) and (max-width:767px) {
  .navbar-brand {
    height: auto;
  }
}

/* =============================================================================

NAVIGATION

============================================================================= */

.navbar-nav li {
  float: right;
  letter-spacing: 1px;
  border-left: 1px solid #e3dad1;
}

.navbar-nav li a {
  color: #fff;
  text-shadow: 1px 1px 1px RGBA(0,0,0,.4);
}

.navbar-nav {
  background: #419cb2;
}

.nav>li>a:focus, .nav>li>a:hover {
  background-color: #f24a3e;
}

ul.fields, ul.articles {
    display: none;
    background: #378496;
    padding: 0;
}

ul.fields li, ul.articles li {
    list-style-type: none;
    text-align: center;
    width: 205;
    height: 40px;
    padding: 10px 0;
    border-bottom: 1px solid #fff;
}

ul.fields li:hover, ul.articles li:hover {
    background: #f24a3e;
}

ul.fields li:hover> ul.fields li a, ul.fields li a:hover, ul.articles li:hover> ul.articles li a, ul.articles li a:hover {
    text-decoration: none;
}

li#fields_of_activity, li#marketing_articles {
  position: relative;
}

li#fields_of_activity:hover~.fields li, li#marketing_articles:hover~.articles li {
    float: right;
}

.nav .open>a {
  background-color: #f24a3e;
}

.navbar-nav .open .dropdown-menu {
  background-color: #f58178;
  padding: 0;
}

.dropdown-menu>li>a {
  padding: 0 !important;
}

.dropdown-menu>li>a:hover {
  color: #fff;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
  background-color: #419cb2;
}

.nav>li>a:focus, .nav>li>a:hover {
    background-color: #419cb2;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
  background-color: #f2493d;
}

.kurnas-navbar-header {
  position: relative;
}

.mainmenu ul ul {
  background: transparent;
  padding: 0;
}

ul.sub-menu {
  list-style-type: none;
  display: none;
}

ul.sub-menu {
  list-style-type: none;
  display: none;
  position: absolute;
}

ul.sub-menu.open {
  display: block;
}

.sub-menu li.menu-item a:hover {
  text-decoration: none;
}

@media screen and (min-width: 1200px) {
  ul.sub-menu.open {
    position: absolute;
    background: #1c70b5;
    min-width: max-content;
    padding: 10px;
    box-shadow: 0 1px 5px #cecece;
  }
  .sub-menu li {
    position: relative;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .2);
    padding: 10px 0;
  }
  ul.sub-menu.open ul.sub-menu.open {
    right: 103%;
    top: -10px;
  }
  .sub-menu li.menu-item a {
    display: inline-block;
    width: max-content;
  }
}

@media screen and (min-width: 1320px) {
	.navbar-nav li {
		padding: 10px 50px !important;
	}
}

@media screen and (min-width: 1120px) and (max-width: 1319px) {
	.navbar-nav li {
		padding: 10px 30px !important;
	}
}


@media screen and (max-width: 1100px) {
	.navbar-brand {
		max-width: 85%;
	}
	.navbar-nav {
		margin-top: 40px !important;
	}
}

@media screen and (min-width: 903px) and (max-width: 952px) {
	.navbar-nav li {
		padding: 10px !important;
	}
}

@media screen and (min-width: 768px) and (max-width: 902px) {
	.navbar-nav li {
		padding: 0px !important;
	}
	.navbar-nav {
		margin-top: 50px !important;
	}
}

@media screen and (min-width: 768px) and (max-width: 802px) {
	.nav>li>a {
		padding: 10px !important;
	}
	.navbar-nav {
		margin-top: 55px !important;
	}
}

@media screen and (min-width: 1120px)
  .mainmenu .collapse ul ul {
	min-width: 280px !important;
  }

@media screen and (min-width: 768px) and (max-width: 1120px)
  .mainmenu .collapse ul ul {
	min-width: 180px !important;
  }
  .dropdown-menu>li>a {
    padding: 5px 10px !important;
  }

@media screen and (min-width: 768px) {
  .navbar {
    /*width: 1300px;*/
    margin: 0 auto;
  }

  .navbar-nav li {
    padding: 10px 15px;
    text-align: center;
    margin: 0 1px;
    background-color: #429cb2;
    text-align: center;
  }

  .navbar-brand {
    margin-top: -10px;
  }

  .navbar-nav {
    float: right;
    margin-top: 70px;
	background: #fff !important;
  }

  li#fields_of_activity:hover>ul.fields, li#marketing_articles:hover>ul.articles {
      display: block;
  }

  ul.fields, ul.articles {
      position: absolute;
      padding: 0;
  }

  ul#showArticles {
    right: 100%;
    top: 0;
    width: 290px;
  }

  #showArticles li {
    width: 290px;
  }

  .navbar-nav .dropdown-menu .caret {
	   transform: rotate(90deg);
  }

  .mainmenu .collapse ul li {
    position: relative;
    border-left: none;
	background-color: none !important;
  }

  .mainmenu .collapse ul li:hover>ul {
    display: block;
	width: min-content;
  }

  .mainmenu .collapse ul ul {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    background: #f58178;
  }

  .mainmenu .collapse ul ul li {
    position: relative;
	background: rgba(255,255,255,0) !important;
  }

  .mainmenu .collapse ul ul li:hover>ul {
    display: block;
  }

  .mainmenu .collapse ul ul ul {
    position: absolute;
    top: 0;
    right: 100%;
    min-width: 290px;
    display: none;
  }

  .mainmenu .collapse ul ul ul li {
    position:relative
  }

  .mainmenu .collapse ul ul ul li:hover ul {
    display:block
  }

  .mainmenu .collapse ul ul ul ul {
    position:absolute;
    top:0;
    right:-100%;
    min-width:250px;
    display:none;
    z-index:1
  }
}

@media screen and (min-width:320px) and (max-width:767px) {
  .navbar-toggle .icon-bar {
    background: #F24A3E;
    height: 4px;
    width: 30px;
    }

    .navbar-nav {
      margin-bottom: 0;
    }

  .navbar-brand {
    display: block;
    margin: 10px auto 0 auto;
    padding: 0;
    width: 144px;
    float: none;
    text-align: center;
    position: relative;
  }

  .navbar-toggle {
    position: absolute;
    right: 0;
    top: 55px;
  }

  .navbar-nav li {
    border-left: none;
    float: none;
    text-align: center;
    list-style-type: none !important;
    padding: 5px 0;
  }

  .navbar-toggle span.icon-bar {
    transition: all 0.15s;
  }

  .navbar-toggle span:nth-child(2) {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
  }

  .navbar-toggle span:nth-child(3) {
    opacity: 0;
  }

  .navbar-toggle span:nth-child(4) {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
  }

  .navbar-toggle.collapsed span:nth-child(2),
  .navbar-toggle.collapsed span:nth-child(4) {
    transform: rotate(0);
  }

  .navbar-toggle.collapsed span:nth-child(3) {
    opacity: 1;
  }

  ul.fields, ul.articles {
      position: relative;
      padding: 0;
  }

  ul.sub-menu.open {
    display: block;
    text-align: center;
    padding: 0;
  }
  ul.sub-menu.open li {
    padding: 5px;
    background: #0159a2;
    border-bottom: 1px solid #004884;
  }
  ul.sub-menu.open li a {
    color: #fff;
  }
  ul.sub-menu.open li ul.sub-menu.open li {
    background: #0063b5;
    border-bottom: 1px solid #0159a2;
  }

}

/* =============================================================================

CLICK TO CALL

============================================================================= */

.ctc {
  position: absolute;
  left: 15px;
  top: 55px;
  float: left;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
}

i.fa.fa-phone.fa-2x {
    color: #f24a3e;
}

/* =============================================================================

AVI KURNAS MAIN IMAGE ON HOMEPAGE & SERVICES ON HOMEPAGE

============================================================================= */

.avi_main_image {
  float: right;
}

.homepage_services {
  float: right;
}

@media screen and (min-width: 768px) {
  .homepage_main_section {
    /*width: 1300px;*/
    margin-top: 80px;
    padding: 0;
  }
}

@media screen and (min-width:320px) and (max-width:767px) {
  .homepage_services h1 {
    text-align: center;
    font-size: 28px;
    line-height: 30px;
  }

  .homepage_main_section {
    background: #e8e8e8;
  }

  .homepage_services, .avi_main_image {
    float: none;
  }

  .avi_main_image img {
	margin: auto;
  }

  .icons {
    width: 80%;
    margin: 0 auto;
  }

  .tourism, .consumption, .demographics, .branding, .education {
    padding: 20px 0 0 0;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    box-shadow: 0px 1px 1px 0px #b7b5b5;
    background: #fff;
  }

  .tourism ul, .consumption ul, .demographics ul, .branding ul, .education ul {
    padding: 0;
  }

  .tourism li, .consumption li, .demographics li, .branding li, .education li {
    list-style-type: none;
    margin: 20px 0;
    border-top: 1px solid #e8e8e8;
    padding-top: 10px;
  }

  .tourism li img, .consumption li img, .demographics li img, .branding li img, .education li img {
    max-width: 220px;
  }

  .tourism .icons-title, .consumption .icons-title, .demographics .icons-title, .branding .icons-title, .education .icons-title {
    text-align: center;
    display: block;
    width: 80%;
    line-height: 1.3;
    font-weight: bold;
    font-size: 20px;
    margin: -20px auto 0 auto;
    padding: 10px 0;
    text-shadow: 0px 1px 0px RGBA(255,255,255,0.2);
    }

/* =============================================================================

TOUIRISM

============================================================================= */

  .tourism .icons-title {
    background: RGBA(211, 211, 211,0.7);
    box-shadow: 0px 1px 1px 0px #b7b5b5;
    }

/* =============================================================================

CONSUMPTION

============================================================================= */

  .consumption .icons-title {
    background: RGBA(143, 170, 254,0.7);
    box-shadow: 0px 1px 1px 0px #758dda;
    }

/* =============================================================================

DEMOGRAPHICS

============================================================================= */

  .demographics .icons-title {
    background: RGBA(227, 206, 123,0.7);
    box-shadow: 0px 1px 1px 0px #c3b376;
    }

/* =============================================================================

BRANDING

============================================================================= */

  .branding .icons-title {
    background: RGBA(174, 29, 29,0.7);
    box-shadow: 0px 1px 1px 0px #a01313;
    }

/* =============================================================================

EDUCATION

============================================================================= */

  .education .icons-title {
    background: RGBA(27, 144, 124,0.7);
    box-shadow: 0px 1px 1px 0px #051f1b;
    }
}

/* =============================================================================

HOMEPAGE CAROUSEL

============================================================================= */

.carousel-control.left, .carousel-control.right {
  background-image: none;
}

.carousel-control .glyphicon-chevron-left {
  left: 0;
  background: #F24A3E;
}

.carousel-control .glyphicon-chevron-right {
  right: 0;
  background: #F24A3E;
}

.carousel-caption {
  color: #000;
  text-shadow: none;
}

#customersCarousel {
  border-bottom: 1px solid #e8e8e8;
}

#customersCarousel h3 {
  font-weight: bold;
}

.carousel-indicators li {
  border: 2px solid #f24a3e;
}

.carousel-indicators {
  bottom: 0;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	div#customersCarousel img {
		max-height: 120px !important;
	    max-width: 200px !important;
	}
	.carousel-inner {
		min-height: 520px !important;
	}
	#customersCarousel h3 {
		margin-top: 0 !important;
	    font-size: 24px !important;
	}
	div#tourismCarousel img {
		max-width: 160px;
	}
	div#tourismCarousel .carousel-caption h3 {
		margin-top: 0 !important;
	}
	.tourism_slider {
    	margin-top: 50px;
	}
}

@media screen and (min-width: 768px) {
  #customersCarousel {
    /*width: 1300px;*/
    margin: 0 auto;
  }

  .carousel-caption {
    right: 0 !important;
    text-align: right;
    top: 0;
    width: 40%;
    padding-top: 0;
    left: 50%;
  }

  #customersCarousel h3 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  #customersCarousel p {
    font-size: 16px;
  }

  .carousel-control .glyphicon-chevron-right, .carousel-control .glyphicon-chevron-left {
    width: 50px;
    height: 50px;
    padding: 10px;
  }

  .customers_slider {
    margin-top: 40px;
  }

  .carousel-inner {
    min-height: 350px;
  }

  div#customersCarousel img {
    max-height: 220px;
    margin-left: 5%;
  }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  .carousel-caption {
    position: relative;
    text-align: justify;
    padding: 0 15px;
    left: 0;
    margin-top: 30px;
  }

  .carousel-caption h3 {
    text-align: center;
  }

  .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
    top: 25%;
  }

  .carousel-control .glyphicon-chevron-left {
    left: 15%;
    color: #F24A3E;
    background: none;
  }

  .carousel-control .glyphicon-chevron-right {
    right: 15%;
    color: #F24A3E;
    background: none;
  }

  .carousel-inner>.item {
    padding-top: 20px;
    min-height: 520px;
  }

  .carousel-indicators {
    bottom: 0px;
    left: 0;
    width: 100%;
    margin-left: 0;
    margin-top: 30px;
  }

  div#customersCarousel img {
    max-height: 150px;
    margin: 0 auto 60px auto;
  }

  .carousel-indicators li {
    width: 8px;
    height: 8px;
  }
}


/* =============================================================================

MAIN CONTENT

============================================================================= */

.main_content h2 {
    color: #419cb2;
}

.main_content p {
    text-align: justify;
}

@media screen and (min-width: 768px) {
  .main_content p {
      font-size: 16px;
  }

  .main_content {
    margin-bottom: 40px;
  }
}

/* =============================================================================

HOMEPAGE CONTACT FORM

============================================================================= */

#hompageForm input {
    display: block;
    text-align: right;
    /* float: right; */
    margin: 10px 0 auto auto;
    height: 45px;
    min-width: 250px;
    padding: 10px;
}

#hompageForm input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    background: #f24a3e;
    color: #fff;
    text-align: center !important;
    text-shadow: 1px 1px 0px #000;
    font-size: 16px;
}

form#hompageForm {
    padding-top: 10px;
}

.hr_green {
  background-color: #419cb2;
  height: 2px;
}

div#wpforms-117 {
  direction: rtl;
}

div#wpforms-117 {
  direction: rtl;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0 4px 1px #dcdcdc;
  background: #f3f3f3;
}

#wpforms-submit-117 {
  -webkit-appearance: button;
  cursor: pointer;
  background: #f24a3e !important;
  color: #fff !important;
  text-align: center !important;
  text-shadow: 1px 1px 0px #000;
  font-size: 16px;
  min-width: 250px;
}

div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium {
  max-width: 250px;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  .contact_homepage {
      border: 1px solid #e8e8e8;
      margin-bottom: 20px;
  }

  form#hompageForm input {
    border: 1px solid #e8e8e8;
  }

  #hompageForm input[type=submit] {
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	#wpforms-submit-117 {
		min-width: 100px;
	}
	div#wpforms-117 input {
    	min-width: 180px;
	}
}

/* =============================================================================

FOOTER

============================================================================= */
.vissoker p {
    color: #f24a3e;
}

/* =============================================================================

ABOUT AVI KURNAS

============================================================================= */

.about_avi_kurnas {
  float: right;
  max-width: 863px;
  text-align: right;
}

.about_avi_kurnas ul {
  padding: 0 15px;
}

.about_avi_kurnas h2 {
    color: #f24a3e;
}

@media screen and (min-width: 768px) {
  .about_avi_kurnas {
    padding-right: 50px;
    margin-bottom: 100px;
  }

  .about_avi_kurnas ul li {
      font-size: 16px;
      line-height: 30px;
  }

  .about_avi_kurnas p {
    font-size: 16px;
  }
}

@media screen and (min-width:320px) and (max-width: 767px) {
  .about_avi_kurnas ul li {
      font-size: 15px;
      line-height: 24px;
  }

  .about_avi_kurnas {
    margin-bottom: 40px;
  }
}

/* =============================================================================

TOURISM CAROUSEL INNER

============================================================================= */

div#tourismCarousel img, div#consumptionCarousel img, div#demographicsCarousel img {
    max-height: 200px;
}

div#tourismCarousel .carousel-caption h3, div#consumptionCarousel .carousel-caption h3, div#demographicsCarousel .carousel-caption h3 {
  text-align: right;
  color: #f24a3e;
  margin-top: 50px;
}

.hr_red {
  background-color: #f24a3e;
  height: 2px;
}

@media screen and (min-width: 768px) {
  #tourismCarousel .carousel-inner, #consumptionCarousel .carousel-inner, #demographicsCarousel .carousel-inner {
    min-height: 410px;
  }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  div#tourismCarousel img, div#consumptionCarousel img, div#demographicsCarousel img {
      margin: 0 auto;
      max-width: 220px;
  }
}

/* =============================================================================

RIGHT SIDEBAR PAGE

============================================================================= */
.right-sidebar-section {
  margin-top: 0;
}

/* =============================================================================

BREADCRUMBS

============================================================================= */
p#breadcrumbs {
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 0;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
	p#breadcrumbs {
    	border-top: 1px solid #fff;
    	border-bottom: 1px solid #fff;

	}
}

/* =============================================================================

FULL WIDTH PAGE

============================================================================= */
.tourism_slider.full-width-page-slider {
    margin-top: 100px;
}

.full-width-page-slider h3 {
	font-size: 36px;
    margin-bottom: 20px;
	font-weight: bold;
	color: #000 !important;
	margin-top: 0 !important;
}

.full-width-page-slider img {
	max-height: 220px;
    margin-left: 5%;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
	.tourism_slider.full-width-page-slider {
    	margin-top: 0px;
	}
}
