/*  
Theme Name:     Relsites
Theme URI:      http://relsites.com
Description: 	Relsites Theme
Author:         Ariel Hein
Author URI: 	http://relsites.com
Version:        5.6.4
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
textarea,
text {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix {
  display: inline-block;
}
/* start commented backslash hack \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* close commented backslash hack */

/* General */
html,
body {
  min-height: 100%;
}
body {
  font-family: "open_sans_hebrewregular", sans-serif;
  font-weight: 500;
  line-height: 1.8;
  font-size: 16px;
  color: #6f746d;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-family: "open_sans_hebrewbold", sans-serif;
  font-weight: 700;
  color: #25543d;
}
a {
  text-decoration: none;
}
a,
a:hover,
a:focus,
input[type="submit"] {
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* animate css */
.animated {
  visibility: hidden;
  animation-fill-mode: none;
  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  -o-animation-fill-mode: none;
  -ms-animation-fill-mode: none;
}
.visible {
  visibility: visible;
}
/* Grid */
.grid-wrapper {
  width: 100%;
  max-width: 1507px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.flex {
  display: flex;
}
.flex-jc {
  display: flex;
  justify-content: space-between;
}
/* Footer */
#footer {
  padding: 20px 0;
}
.footer-nav {
  background-color: #8f9d87;
  color: #fff;
  padding: 16px 20px 12px;
}
nav.footer-navigation {
  float: none;
  margin-bottom: 0;
}
.footer-logo {
  float: left;
}
ul#menu-footer li:before {
  content: "|";
  display: inline-block;
  margin: 0 3px 0 30px;
  position: relative;
  top: -1px;
  font-size: 12px;
}
ul#menu-footer li:first-child:before {
  display: none;
}
ul#menu-footer li {
  display: inline-block;
  font-size: 14px;
}
ul#menu-footer li a {
  color: #5f695d;
}
/* Footer ENDS*/
/* header */
.header-wrapper {
  box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  position: fixed;
  width: 100%;
  background: #fff;
}
.header-spacer {
  height: 130px;
  margin-bottom: 30px;
}
header#masthead {
  height: auto;
  width: 100%;
  padding: 0;
}
#logo {
  margin-left: 30px;
}
#logo a {
  display: inline-block;
}
ul#menu-main li {
  list-style-type: none;
  display: inline-block;
  margin-left: 20px;
}
ul#menu-main li a {
  color: #5f695d;
}
.menu-main-container {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

/* Search-form */
form#searchform {
  float: right;
}
input#s {
  float: right;
  border: 1px solid #d4d4d4;
  text-indent: 10px;
}
.icon-search {
  font-family: FontAwesome;
  font-size: 16px;
  color: #666e75;
  padding: 0;
  width: 27px;
  border: 0;
  background-color: transparent;
  height: 30px;
  position: absolute;
  right: 16px;
}
/* Page General */
#main-content {
  min-height: calc(100vh - 130px);
}
@media only screen and (max-width: 945px) {
  a#menu-toggler {
    display: block;
    position: absolute;
    left: 15px;
    top: 18px;
    height: 80px;
    width: 80px;
    z-index: 999999;
    padding: 0;
  }
  #menu-toggler > span {
    display: block;
    background-color: #5f7d58;
    width: 47px;
    height: 3px;
    border-radius: 0;
    position: absolute;
    opacity: 1;
    left: 0;
    right: 0;
    margin: auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transform-origin: center;
  }
  #menu-toggler > span:nth-child(1) {
    top: 25px;
  }

  #menu-toggler > span:nth-child(2) {
    top: 40px;
  }
  #menu-toggler > span:nth-child(2) > span {
    position: absolute;
    top: 0;
    height: 7px;
    width: 100%;
    text-align: center;
    line-height: 6px;
  }
  #menu-toggler > span:nth-child(3) {
    top: 57px;
  }
  #menu-toggler.open > span {
    background-color: #4f684a;
  }
  #menu-toggler.open > span:nth-child(1) {
    top: 40px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #menu-toggler.open > span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  #menu-toggler.open > span:nth-child(3) {
    top: 40px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  nav#site-navigation {
    position: fixed;
    width: 100%;
    right: -100%;
    top: 129px;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 99999;
    padding-top: 0;
    height: 100%;
    box-shadow: 1px 1.732px 10px 0px rgba(0, 0, 0, 0.25);
  }
  nav#site-navigation ul {
    padding: 65px 10px 0;
    text-align: right;
  }
}
