/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* Layout */

.fl-page-content .container {
  max-width: 762px;
  }

.fl-post-feed {
  max-width: 762px;
  margin: auto;
  }  

.post {
  max-width: 802px;
  margin: auto;
  }
  
.page-content {
	max-width: 802px;
	margin: auto;
	} 
  
.avatar {
  border-radius: 50%;
  }  

.partner_page {
  max-width: 762px;
  margin: auto;
  }
  
#blog-search {
  max-width: 762px;
  margin: auto;
  }
  
.content-separator {
  max-width: 762px;
  margin: auto;
  }    

/* Typography */

h1, h2, h3, h4 {
  font-family: "futura-pt",sans-serif;
  margin-top: 30px;
  margin-bottom: 18px;
  }

h1 {
  font-size: 48px;
  }

h2 {
  font-size: 36px;
  font-weight: 700;
  }

h3, h4 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  }

h6 {
  font-family: "arno-pro",serif;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  }

body {
  font-family: "minion-pro",serif;
  font-size: 20px;
  letter-spacing: .03em;
  line-height: 1.8em;
  }

p {
  margin-bottom: 1.2em;
  }

blockquote {
  font-family: "arno-pro",serif;
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  border-left: 5px solid #01528b;
  margin-bottom: 1.2em;
  padding-left: 30px;

  }

.fl-post-feed-author {
  font-family: "futura-pt",sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #727272;
  }  
  
.fl-post-feed-author a {
  color: #727272;
  }
  
.fl-post-feed-author a:hover {
  text-decoration: none;
  }
  
.fl-post-author {
  font-family: "futura-pt",sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #727272;
  }
  
.fl-post-author a {
  color: #727272;
  }
  
.fl-post-author a:hover {
  text-decoration: none;
  }  

.fl-post-feed-title a:hover {
  color: #333;
  }

.fl-post-feed-title a:visited {
  color: #333;
  text-decoration: none;
  }

/* Top Bar */

.fl-page-bar *, .fl-page-bar h1, .fl-page-bar h2, .fl-page-bar h3, .fl-page-bar h4, .fl-page-bar h5, .fl-page-bar h6 {
  color: #ffffff;
  font-family: "futura-pt",sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  }


/* Header */

header:lang(he) {
	font-family: "Rubik",sans-serif;
	font-weight: 500;
	letter-spacing: 8px;
	}

header {
	font-family: "futura-pt",sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;  
	}
  
/* Navigation */

.fl-page-header-primary .fl-page-header-logo-col {
	width:14%;
	/*width: 9%;*/
	}

.fl-page-header-primary .fl-page-nav-col {
	width: 91%;
	}

.fl-page-nav .navbar-nav, .fl-page-nav .navbar-nav a {
  font-family: "futura-pt",sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 3px;  
  } 

.fl-page-nav:lang(he) .navbar-nav:lang(he), .fl-page-nav:lang(he) .navbar-nav:lang(he) a:lang(he) {
  font-family: "Rubik",sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 3px;  
  } 

.fl-page-nav ul.sub-menu {
  background-color: #ffffff;
  border-top: 3px solid #01528b;
  }
  
.fl-page-nav-search form {
  border-top: 3px solid #01528b;
  }  

.categories-nav a {
	font-family: "futura-pt",sans-serif !important;
	text-transform: uppercase !important;
	letter-spacing: 3px;
	color: #ffffff;
	margin: 16px;
	padding: 16px;
	background: #01528b;  
	max-width: 762px;
	border-radius: 3px;
	}
	 
.categories-nav a:hover {
	color: #ccdce8;
	} 
  
/* Give the link some padding and some color */

.fl-page-header .fl-page-nav .navbar-nav > li.cta-nav-button > a,
.fl-page-header .fl-page-nav .navbar-nav > li.cta-nav-button > a:active,
.fl-page-header .fl-page-nav .navbar-nav > li.cta-nav-button > a:visited {
    background-color: #942b2b;
    color: #fff !important;
    padding: 5px 18px !important;
    border-radius: 4px;
}

.cta-nav-button.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item.menu-item-home.menu-item-3617 {
	padding-top: 8px;
	}

.cta-nav-button.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item.menu-item-home.menu-item-7546 {
	padding-top: 8px;
	}

.cta-nav-button.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item.menu-item-home.menu-item-8177 {
	padding-top: 8px;
	}


.cta-nav-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-home.menu-item-3617 {
	padding-top: 8px;
	}
	
.cta-nav-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-home.menu-item-7546 {
	padding-top: 8px;
	}
	
.cta-nav-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-home.menu-item-8177 {
	padding-top: 8px;
	}

.cta-nav-button.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item.menu-item-home.menu-item-8185 {
	padding-top: 8px;
	}


.cta-nav-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-home.menu-item-8185 {
	padding-top: 8px;
	}


/* Adjust the position for the fixed navigation menu */

.fl-page-header-fixed .fl-page-nav .navbar-nav > li.cta-nav-button > a {
  position: relative;  
  bottom: 6px;
  }

/* Give the button a hover & active state */

.fl-page-nav .navbar-nav > li.ss-nav-button > a:active,.fl-page-nav .navbar-nav > li.cta-nav-button > a:hover {
  color: #fff;  
  background-color:#992626;
  }

.fl-page-nav .navbar-nav > li.ss-nav-button > a:active,.fl-page-nav .navbar-nav > li.cta-nav-button > a:visited {
  color: #fff;  
  background-color:#992626;
  }

  
.nav a:before {
  font-family: "Font Awesome 5 Free";
  margin-right: 5px;
  font-weight:900;
  }

.nav .cta-nav-button a:before {
  content: "\f095";
  }
  
.nav:lang(he) .cta-nav-button:lang(he) a:before {
	display: none;
	}  

.nav:lang(he) .cta-nav-button:lang(he) a:after {
	content: "\f095";
	}  

.nav a:after {
	font-family: "Font Awesome 5 Free";
	margin-right: 5px;
	font-weight:900;
	}

/* Buttons */
 
.cta-button {
  font-family: "futura-pt",sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  }
  
/* Modules */

.about-text {
  font-size:22px;
  }

.about-heading {
  font-size:28px !important;
  font-weight: 700 !important;
  }

#about-us-text {
  max-width: 762px;
  margin: auto;
  }  
  
.widgettitle {
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  }  
    
#home-post-slider .fl-post-carousel-navigation path {
  fill: #ffffff;
  }    

.home-content {
  max-width: 762px;
  margin: auto;
  }

.rtl .fl-module-heading .fl-heading {
    text-align: right !important;
	}
	
.rtl .fl-post-carousel-text {
	text-align: right;
	}	
    
#additional-posts:lang(en) {
	display: none;
	}    

#additional-posts:lang(ar) {
	display: none;
	}    

#additional-posts:lang(fr) {
	display: none;
	}    

#additional-posts:lang(ru) {
	display: none;
	}    

#additional-posts:lang(es) {
	display: none;
	}    

.flags-description {
	line-height: 1.4em;
	padding-right: 45px;
	padding-left: 45px;
	}    
    
.flags-description a {
	color: #000;
	}    

.flags-description a:hover {
	color: #000;
	}    

#hero-heading {
	text-align: center !important;
	}

.fl-post-grids-post {
	-webkit-box-shadow: 5px 5px 5px 0px rgba(94,94,94,0.5) !important;
	-moz-box-shadow: 5px 5px 5px 0px rgba(94,94,94,0.5) !important;
	box-shadow: 5px 5px 5px 0px rgba(94,94,94,0.5) !important;
	}
    
/* Footer */

.fl-page-footer-widgets {
  text-align: center;
  }

.fl-page-footer-text {
  font-family: "arno-pro", serif;
  font-size: 14px;
  font-style: italic;  
  }
  
.fl-page-footer-widgets {
  font-family: "arno-pro", serif;
  font-size: 18px;
  font-style: italic;  
  }
  
.fl-page-footer-widgets h4 {
  font-family: "arno-pro", serif;
  font-size: 20px;
  font-style: italic;
  }  

.fl-page-footer-widgets a {
  color: #01528b;
  }

.fl-page-footer-widgets a:hover {
  color: #4d86ae;
  }

/* Links */

.post-content a {
	background-image: linear-gradient(#fff 82%, #4d86ae 50%);
	background-repeat: repeat-x;
	font-size: 1em;
	color: #000000;
	}  

.post-content a:hover {
	background-image: linear-gradient(#fff 82%, #ccdce8 50%);
	text-decoration: none;
	}
	
.page-content a {
	background-image: linear-gradient(#fff 82%, #4d86ae 50%);
	background-repeat: repeat-x;
	font-size: 1em;
	color: #000000;
	}  

.page-content a:hover {
	background-image: linear-gradient(#fff 82%, #ccdce8 50%);
	text-decoration: none;
	}

.partner_page a {
	background-image: linear-gradient(#fff 82%, #4d86ae 50%);
	background-repeat: repeat-x;
	font-size: 1em;
	color: #000000;
	}  

.partner_page a:hover {
	background-image: linear-gradient(#fff 82%, #ccdce8 50%);
	text-decoration: none;
	}

.ssba a:hover {
	background-image: none;
	}
  
/* Gravity Forms */

.gform_wrapper label.gfield_label {
  font-family: 'futura-pt', sans-serif;
  }
  
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
  font-family: 'futura-pt', sans-serif;
  font-weight: 400;
  }
  
button, input[type=button], input[type=submit] {
  font-family: "futura-pt",sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: rgba(1, 82, 139, 0.9);
  border: 1px solid rgba(1, 82, 139, 0.9);
  }

button:hover, input[type=button]:hover, input[type=submit]:hover {
  background: #01528b;
  color: #ffffff;
  border: 1px solid #01528b;
  }

input#gform_submit_button_1.gform_button.button {
	text-align: center !important;
	} 
  
/* Mobile */

@media only screen and (max-width: 768px) {
    .callout-left {
    display: none;
    }
  }
  
@media only screen and (min-width: 769px) {
    .callout-right {
    display: none;
    }
  }
  
/* Languages */
  
body:lang(ru) {
  font-size: 24px;
  }
  
h1:lang(ru), h2:lang(ru), h3:lang(ru), h4:lang(ru) { 
  margin-top: 40px;
  margin-bottom: 24px;
  }

h2:lang(ru) {
  font-size: 38px;
  }

h3:lang(ru) {
  font-size: 30px;
  }

blockquote:lang(ru) {
  font-size: 26px;
  }

.widgettitle:lang(ru) {
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  }  
  
body:lang(he){
  font-family: "David Libre",serif;
  }
  
h1:lang(he) {
  font-family: "Rubik",sans-serif;
  font-weight: 500;
  }

h2:lang(he), h3:lang(he), h4:lang(he) {
  font-family: "Rubik",sans-serif;
  font-weight: 700;
  }
  
h3:lang(he), h4:lang(he) {
  letter-spacing: 8px;
  }

h1:lang(he), h2:lang(he), h3:lang(he), h4:lang(he) { 
  margin-top: 40px;
  margin-bottom: 24px;
  }

h6:lang(he) {
  font-family: "David Libre",serif;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  }
    
.wpsdc-drop-cap:lang(he) {
  float: right;
  padding: 0.2em 0em 0.25em 0.05em;
  font-size: 6em;
  line-height: 0.45em;
  color: #013a62;
  }
  
blockquote:lang(he) {
  font-size: 18px;
  border-right: 5px solid #01528b;
  border-left:none;
  padding-right: 30px;
  }
  
  
  
/* Post Carousel */

.rtl .fl-post-carousel-text {
    direction: rtl;
	}

li.menu-item-language-current a:before {
    content: url('globe.svg');
    display: inline-block;
    margin-left: 5px;
    float: left;
}

li.menu-item-language-current a:hover::before {
    content: url('globe-hover.svg');
    display: inline-block;
    margin-left: 5px;
    float: left;
}

li.menu-item-language-current a span.wpml-ls-native {
    display: none;
}

li.menu-item-language-current ul.sub-menu a span {
    display: none;
}

li.menu-item-language-current ul.sub-menu a span.wpml-ls-native {
    display: block;
}