/*
Theme Name: Twenty Twenty Two-child
Theme URI: http://example.com/twenty-twenty-two-child/
Description: Australian Friends of Magen David Adom
Author: Calvin Stein
Author URI: http://example.com
Template: twentytwentytwo
Version: 1.0.0
*/

header.white_header_row {
    padding-top: unset;
    padding-bottom: unset;
    z-index: 5;
    opacity:0.9;
    position: fixed;
    top:0;
    left: var(--wp--custom--spacing--outer);
    right: 0;
}

header.color_header_row {
    padding-top: unset;
    padding-bottom: unset;
    z-index: 5;
    opacity:0.9;
    background-color: white;
}
/* white_header_background is used by functions.php */
.white_header_background{
  background-color: white;
}

figure.color_headerlogo,
figure.white_headerlogo {
  z-index: 5;
  float: left;
  display : table;
  }

figure.color_headerlogo img,
figure.white_headerlogo img {
  z-index: 5;
  max-width: 212px;
  max-height: 110px;
  width: calc(70px + 6.45vw) !important;
}

hr.color_header_separator,
hr.white_header_separator {
 color: black;
 opacity: 0 !important;
 width: calc(50px + (10.2vw - 100px)) !important;
}

.color_header_donate,
.white_header_donate {
  opacity: 1;
  z-index: 5;
  display: inline-block;
  margin-top: 2px !important;
  padding-top: calc(13px + 0.045vw) !important;
  padding-bottom: calc(13px + 0.045vw) !important;
  padding-left: calc(15px + 0.045vw) !important;
  padding-right: calc(15px + 0.045vw) !important;
  border: none;
  color: black;
  float: left;
}
/* menus */
nav.color_header_menu,
nav.white_header_menu {
  z-index: 5;
  opacity: 1;
  width: 50%;
  float: left;
}

.color_header_menu li,
.white_header_menu li {
    width: calc(60% - 0.045vw) !important;
}

.color_header_menu.wp-block-navigation .wp-block-navigation-item,
.white_header_menu.wp-block-navigation .wp-block-navigation-item {
  width: 15%;
}

.color_header_row  a ,
.white_header_row  a {
  font-size: small;
  font-weight: 900;
  line-height: normal;
  padding-right: 1em;
  text-decoration: none;
}

.white {
  color: white !important;
  /*background-color: blue;*/
}

.black {
  color: black !important;
  /*background-color: yellow;*/
}

@media only screen and (max-width: 600px) {
  nav.color_header_menu,
  nav.white_header_menu {
    width: 10%;
  }
}
/* to make mobile menu page narrower
.wp-block-navigation__responsive-container.is-menu-open {
    width: 50%;
}

@media only screen and (max-width: 850px) {
  .color_header_donate,
  .white_header_donate {
    font-size: 60% !important;
    padding: 1.8em !important
  }
    hr.color_header_separator,
    hr.white_header_separator {
    display: none;
  }
/*  figure.color_headerlogo img,
  figure.white_headerlogo img {
  width: calc(212px - 0.045vw) !important;
  }*/
  figure.header_video {
    margin-top: -0px;
  }
}

/*@media only screen and (max-width: 782px) {
  figure.color_headerlogo img ,
  figure.white_headerlogo img {
  width: calc(212px - 0.045vw) !important;
  }
}*/



/* page template*/
h1.alignwide.wp-block-post-title {
    margin-bottom: 0px !important;
}

hr.wp-block-separator.alignwide.is-style-wide {
    margin-top: 3px;
}


/*footer */
.wp-container-20.wp-block-group.footer_group {
  padding-top: unset !important;
  padding-bottom : unset;
}

.wp-container-16.is-content-justification-space-between.is-nowrap.wp-block-group.alignwide.footer_row {
  padding-top: unset !important;
  padding-bottom: unset !important;
}

.wp-container-19.wp-block-columns footer_columns {
  padding-top: unset !important;
}



/*home page*/

/*dont display title of home page*/
.page-id-189 .wp-block-post-title{
display:none;
}


figure.header_video {
 margin-top: -20px;
  z-index: -5;
  overflow: hidden;
  border: none;
}

.column_pictures img {
    height: 383px;
}

h1.what_we_do_heading {
    font-size: 400% !important;
}

p.what_we_do_text {
    font-size: 160% !important;
}

.wp-container-10.wp-block-columns.alignfull.column_pictures img {
    height: 383px;
}

@media only screen and (max-width: 850px) {
  h1.what_we_do_heading {
      font-size: 100% !important;
  }
  p.what_we_do_text {
      font-size: 100% !important;
  }
}

/*logos page*/
.wp-block-spacer {
  padding-left: unset;
}
  /*logos options*/

.wp-container-7.wp-block-group.alignfull.logogroup.has-background-background-color.has-background {
  padding-top: unset;
  padding-bottom: unset;
  margin: 0px ;
}

.wp-container-6.is-nowrap.wp-block-group.logorow.has-background-background-color.has-background {
padding: unset;
margin; 0px;
}

.wp-container-9.wp-block-group.alignfull.logogroup.has-background-background-color.has-background {
padding-top: unset;
padding-bottom: unset;
margin: 0px ;
}

.wp-container-8.is-nowrap.wp-block-group.logorow.has-background-background-color.has-background  {
padding-top: unset;
padding-bottom: unset;
padding-left: unset ;
margin: 0px;
}


figure.wp-block-image.size-full.is-resized.logopagelogo {
      z-index: 5;
}

figure.wp-block-video.logopagevideo {
    margin-top: -395px;
    z-index: -5;
}
