/*
Theme Name: AllonKira
Theme URI: http://www.allonkira.com
Description: AllonKira (asteria) child theme
Version: 0.8.1
Author: Itay Basoni
Author URI: http://www.ibasoni.com
Template: asteria
*/

@import url("../asteria/style.css");
/*@import url(http://fonts.googleapis.com/earlyaccess/opensanshebrewcondensed.css);*/
/*@import url(http://fonts.googleapis.com/earlyaccess/notosanshebrew.css);*/

@font-face {
  font-family: "anka_clmbold";
  src: url("fonts/ankaclm-bold-webfont.eot");
  src: url("fonts/ankaclm-bold-webfont.eot?#iefix") format("embedded-opentype"),
    url("fonts/ankaclm-bold-webfont.woff") format("woff"),
    url("fonts/ankaclm-bold-webfont.ttf") format("truetype"),
    url("fonts/ankaclm-bold-webfont.svg#anka_clmbold") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "retro_perspectiveregular";
  src: url("fonts/retper-webfont.eot");
  src: url("fonts/retper-webfont.eot?#iefix") format("embedded-opentype"),
    url("fonts/retper-webfont.woff") format("woff"),
    url("fonts/retper-webfont.ttf") format("truetype"),
    url("fonts/retper-webfont.svg#retro_perspectiveregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "mirimedium";
  src: url("fonts/miriwin-webfont.eot");
  src: url("fonts/miriwin-webfont.eot?#iefix") format("embedded-opentype"),
    url("fonts/miriwin-webfont.woff") format("woff"),
    url("fonts/miriwin-webfont.ttf") format("truetype"),
    url("fonts/miriwin-webfont.svg#mirimedium") format("svg");
  font-weight: normal;
  font-style: normal;
}

.cf7sr-g-recaptcha {
  transform: scale(0.81);
  -webkit-transform: scale(0.81);
  transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  position: relative;
  right: -48px;
}
#sidebar .wpcf7 {
  width: 241px;
}

/* slider font */
/*.nivoSlider .nivo-caption .nivoinner, */
#zn_nivo,
.slider-wrapper,
.slide_wrap,
.banner ul li,
#accordion,
.kwicks li,
#accordion {
  max-height: 440px;
}
.nivoSlider .nivo-caption .nivoinner h3.entry-title {
  /*font-family: 'Open Sans Hebrew Condensed', sans-serif !important;*/
  /*font-family: 'Noto Sans Hebrew', sans-serif !important;*/
  /*font-family: 'anka_clmbold' !important;*/
  font-family: "retro_perspectiveregular" !important;
  font-family: "mirimedium" !important;
  word-spacing: 10px;

  font-size: 34px !important;
}
.nivoSlider .nivo-caption .nivoinner h3.entry-title a {
  float: right;
  margin-right: 20px;
  /*font-style: italic;*/
}
.nivoSlider .nivo-caption .nivoinner p {
  background: rgba(9, 9, 9, 0.7) !important;
  padding: 10px;
}

/* making the slider dynamic */
.slide_wrap,
.slider-wrapper,
#zn_nivo {
  height: auto !important;
}
.nivo-caption {
  width: 100%;
}

/* header */
.header .logo {
  float: right;
}
#topmenu {
  position: absolute;
  bottom: 0;
  left: 0;
}
#topmenu ul li {
  padding-bottom: 15px;
}
#topmenu ul li ul {
  margin-top: 15px;
}
body #topmenu ul li a {
  font-weight: bold;
}

/* Make sub menus open to the left */
#topmenu ul li ul li ul {
  left: 0;
  right: 100%;
}

/* giving the arrow down on the menu a bit of space */
#topmenu ul li span {
  padding-left: 0;
  padding-right: 5px;
}

/* remove extra space in homepage */
.homeposts_title {
  margin-top: 0 !important;
}

/* shrinking the text-area height in the sidebar for homepage */
#sidebar .wpcf7-textarea {
  min-height: 50px;
  height: 50px;
}

/*body.home #sidebar .widget {  
  margin-top: 0;
}*/

body.home .lay4_wrap {
  padding-right: 10px;
  padding-left: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.homepage-box-container {
  width: 33%;
  min-width: 220px;
  padding: 0 10px 20px 10px;
  display: inline-block;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.homepage-box-container.cancel-round .homepage-box,
.homepage-box-container.cancel-round .homepage-box > h1,
.homepage-box-container.cancel-round .homepage-box > p {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}

.homepage-box {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;

  min-height: 170px;
  width: 100%;

  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;

  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.homepage-box img {
  width: 100%;
  display: block;
}
.homepage-box h1 {
  margin: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-size: 1.3em;
  position: absolute;
  top: 0;
}
.homepage-box p:empty {
  display: none;
}
.homepage-box h1 p {
  margin: 0;
}
.homepage-box > p {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;

  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;

  padding: 10px;
  margin: 0;

  box-sizing: border-box;
  -webkit-box-sizing: border-box;

  transition: bottom 0.2s ease-in-out;
  -webkit-transition: bottom 0.2s ease-in-out;

  font-size: 1em;
  position: absolute;
  bottom: -100%;
  line-height: 15px;
}

.homepage-box:hover > p {
  bottom: 0;
}
.home_blocks .delimiter {
  clear: both;
  margin-bottom: 10px;
  height: 10px;
  padding: 0 10px 0 20px;
}
.home_blocks .delimiter p {
  border-bottom: 1px solid #bababa;
}

.lay2 {
  padding: 0;
}

.ast_blocks {
  padding-bottom: 0;
  padding: 5px 0;
}

/* fix up link icons on image hover */
.img_hover .icon_round {
  padding-left: 0;
  text-align: center;
}

/* making the sidebar smaller */
.single_wrap {
  width: 74%;
  float: right;
}
#sidebar {
  width: 25%;
  float: left;
  border-left: none !important;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding-right: 20px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
body #sidebar .widget .widgettitle {
  margin-right: 0;
}
.search_term #searchsubmit,
.error_msg #searchsubmit,
#searchform #s {
  border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
}
#sidebar #searchform #s,
#home_widgets #searchform #s {
  width: 70%;
}
input[type="submit"] {
  cursor: pointer;
}
/* expanding content container to put the sidebar all the way left */
body .fixed_site .center,
body .fixed_site .midrow_wrap,
body .fixed_site .header3 .top_head .center {
  width: 99% !important;
}

/* flipping arrow from left to right */
.fa-angle-double-right {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

/* flipping the search button to the left */
#sidebar #searchsubmit,
#footer #searchsubmit,
#home_widgets #searchsubmit {
  left: 0;
}

/* optimize category page */
.lay4_wrap {
  width: 74%;
  float: right;
}

.lay4 .post_content {
  float: left;
}

.lay4 .post_image {
  float: right;
  width: 23%;
}

.more-link,
.moretag {
  right: inherit;
  left: 0;
  color: #ffffff !important;
  background-color: #e41717 !important;
  line-height: normal;
}

.more-link:hover,
.moretag:hover {
  background-color: #e41717 !important;
}

/*scroll up button change color*/
.to_top {
  background-color: #464646 !important;
}

.to_top:hover {
  background-color: #fafafa !important;
}

/* sidebar title color change*/
#sidebar .widget .widgettitle,
#sidebar .widget .widgettitle a {
  color: #464646;
}

/* cf7 hight change */

.wpcf7-text {
  padding: 5px;
  width: 95%;
}

/* footer */

.head_soc {
  display: none;
}

.copytext {
  float: none;
}

#copyright {
  background-color: #464646;
}

/* remove extra spacing from footer to page bottom */
.footefixed {
  margin-bottom: 20px;
}

.more-link,
.moretag {
  -webkit-border-radius: 0 5px !important;
  -moz-border-radius: 0 5px !important;
  border-radius: 0 5px !important;
}

/*home page fix*/
.panel-grid-cell .panel {
  text-align: center;
}

.panel-grid-cell .widget-title {
  text-align: center;
}

/* home page title disable*/
body.postid-2609,
body.page-id-2609 .single_post .postitle {
  display: none;
}

.metaslider .caption-wrap {
  font-size: 100px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: transparent !important;
  color: white;
  opacity: 0.7;
  margin: 0px;
  display: block;
  width: 100%;
  line-height: 6.4em;
}

/*border line to sidebar in home page */
#pgc-2609-2-4 {
  border-style: outset;
  border-right-color: silver;
  border-left: none;
  border-bottom: none;
  border-top: none;
}

/* footer*/
#footer {
  letter-spacing: 1px;
}
.copytext p span {
  text-align: center !important;
  color: #fff !important;
  letter-spacing: 1px;
}
#footer .ast_fb_widget iframe {
  height: 281px !important;
  background: #fff;
  padding-bottom: 10px;

  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}
#footer .widgets .widget ul li a:hover {
  text-decoration: underline;
}
#footer .widgets .widget.widget_recent_entries ul {
  margin-top: -9px;
}

#sidebar .socialmedia-buttons {
  text-align: center;
}

/* hide links widget in homepage. */
/* hide what's new widget in homepage. */
body.home #sidebar .widget_mylinkorder,
body.home #sidebar .widget_recent_entries {
  display: none;
}

.to_top:hover {
  background-color: #db5959 !important;
}

#footer .widgets .bwp_gallery {
  width: 48%;
}
#footer .widgets .bwp_gallery div[class^="bwg_standart_thumbnails"] {
  text-align: right !important;
}

/* remove contact form from Sidebar on contact page & newsletter page */
body.page-id-3183 #sidebar .widgets .widget_black_studio_tinymce,
body.page-id-5 #sidebar .widgets .widget_black_studio_tinymce {
  display: none;
}

.copytext a {
  color: #fff !important;
}

.wpcf7-submit {
  float: none;
  background-color: #2dcb73 !important;
  outline: none;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

/* remove search on sidebar in search results page. */
body.search-results #sidebar .widget_search {
  display: none;
}
/* valign the first widget in the sidebar */
body.search-results #sidebar .widget:nth-child(2) h3.widgettitle {
  margin-top: 0;
}

.lay4 .hentry {
  padding: 20px 0;
  margin: 0 20px;
}
.lay4 .hentry .moretag {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 0;
  background-color: #2dcb73 !important;
}

.alignnone {
  margin: 0 !important;
}

.thn_post_wrap,
.thn_post_wrap div {
  text-align: justify !important;
}

#sidebar .widget_recent_entries li a,
#sidebar .widget_pages li a {
  word-spacing: 1px;
}
#sidebar img.newsletter {
  max-width: 120px;
  height: auto;
}
.fixed_wrap {
  border-radius: 0;
  -webkit-border-radius: 0;
}
.page_tt {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

/* fit tables in content */
.thn_post_wrap table {
  width: 100% !important;
  table-layout: fixed;
}
.thn_post_wrap table td {
  width: 100% !important;
}

.fixed_site {
  width: 90%;
  margin: 0 auto;
  max-width: 1180px;
}

/*
---------------------------------------------------------------------------------------
                            MEDIA QUERIES
---------------------------------------------------------------------------------------
*/
@media (max-width: 1500px) {
  body.home .lay4_wrap {
    padding-right: 30px;
  }

  /* cancel homepage-box hover effect on mobile */
  .homepage-box > p {
    bottom: 0;
  }

  .header .logo {
    margin-bottom: 30px;
  }
}

@media (max-width: 1200px) {
  /* reposition the mobile-menu button */
  #simple-menu {
    position: absolute;
    left: 0;
    bottom: 10px;
    display: block;
  }
  #sidr-main .pad_menutitle {
    text-align: center;
  }
  #sidr-main .pad_menutitle > i {
    float: left;
  }
  .sidr ul li ul li a {
    display: block;
  }
  #topmenu {
    display: none;
  }
}

@media (max-width: 1044px) {
  /* turn links to buttons */
  #sidebar .widget_recent_entries li,
  #sidebar .widget_pages li {
    position: relative;
  }

  #sidebar .widget_recent_entries li i,
  #sidebar .widget_pages li i {
    position: absolute;
    color: #fff;
    right: 10px;
    top: 10px;
  }

  #sidebar .widget_recent_entries li a,
  #sidebar .widget_pages li a {
    display: block;
    background-color: #2dcb73;
    color: #fff;
    padding: 5px 25px 5px 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
  }

  /* move sidebar to the bottom */
  #sidebar {
    float: none;
    width: 100%;
  }
  /**/
  #sidebar .widgettitle {
    margin-top: 0;
  }
  #sidebar .widget {
    width: 50%;
  }

  body.home .lay4_wrap {
    padding-right: 0;
    width: 100%;
  }

  /* stretch lay4_wrap, post container */
  .single_wrap,
  .lay4_wrap {
    width: 100%;
  }
}

@media (max-width: 780px) {
  /*.cf7sr-g-recaptcha {
	transform: scale(0.85);
    -webkit-transform: scale(0.85);
  }*/
  #pgc-2609-2-4 {
    border: none;
  }
  .metaslider .caption-wrap {
    font-size: 40px;
  }

  /* stretch homepage boxes to half */
  .homepage-box-container {
    width: 50%;
  }

  /* homepage welcome text resize */
  .welcmblock span {
    font-size: 16px !important;
  }
  .welcmblock h1,
  .welcmblock h1 span {
    font-size: 20px !important;
  }

  .nivoSlider .nivo-caption .nivoinner h3.entry-title {
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  /* stretch homepage boxes to half */
  .homepage-box-container {
    width: 100%;
    float: none;
  }
  .home_blocks .delimiter {
    padding: 0 10px;
    position: relative;
    top: -10px;
    margin-bottom: 5px;
  }
  #sidebar .widget {
    width: 100%;
  }
  .socialmedia-buttons {
    text-align: center;
  }
  .socialmedia-buttons img {
    width: 50px;
    height: 50px;
  }

  .header .logo {
    text-align: center;
    width: 100%;
  }

  /* reposition the mobile-menu button */
  #simple-menu {
    position: static;
  }
  #simple-menu > i {
    position: relative;
    top: 2px;
  }

  /* making the titles smaller */
  body .page_tt .postitle {
    margin: 0;
    font-size: 20px !important;
  }

  .hentry .post_content {
    float: none;
    width: 100% !important;
    padding-right: 10px;
    text-align: justify;
    margin-top: 30px;
  }
  .hentry .post_image {
    margin-left: 10px;
    margin-top: 27px;
  }
  .hentry .postitle {
    position: absolute;
    top: 0;
    margin: 10px 0;
  }

  .bwg_standart_thumbnails_0 > a {
    display: block;
    float: right;
    width: 49%;
    margin-left: 1%;
    margin-bottom: 1%;
  }
  .bwg_standart_thumbnails_0 > a:nth-child(2n + 2) {
    margin-left: 0;
  }
  .bwg_standart_thumbnails_0 > a .bwg_standart_thumb_0,
  .bwg_standart_thumbnails_0 > a .bwg_standart_thumb_spun1_0,
  .bwg_standart_thumbnails_0 > a .bwg_standart_thumb_spun2_0,
  .bwg_standart_thumbnails_0 > a img {
    width: 100% !important;
    margin: 0 !important;
  }

  .nivo-controlNav {
    display: none !important;
  }
  .nivoSlider .nivo-caption .nivoinner h3.entry-title {
    font-size: 16px !important;
  }

  #footer .widgets .bwp_gallery {
    width: 98%;
  }
  #footer .widgets .widget {
    margin-bottom: 0;
  }

  /* widget with lists - make them inline */
  #footer .widgets .widget ul li {
    display: inline-block;
    margin-left: 30px;
  }
}
/* Fix footer widgets */
.header {
  float: none;
}
.header .logo {
  float: none;
  display: inline-block;
}
.header a {
  display: inline-block;
}
body .fixed_site .header .center {
  display: flex;
  align-items: flex-end;
}
#footer {
  float: none;
}
#footer .widgets .widget {
  float: none;
}
#footer .widgets > ul {
  display: flex;
  justify-content: space-between;
}
#footer .widget_wrap > .blogroll {
  flex-direction: column;
}
#footer .widgets .widget {
  flex: 1 1 auto;
  width: auto;
}
@media (max-width: 480px) {
  #footer .widgets > ul {
    flex-direction: column;
  }
  .header > .center {
    flex-direction: column;
  }
}
#bwg_container1_0 #bwg_container2_0 .bwg_title_spun1_0 {
  left: 0 !important;
}

.headline-widget-area {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 25px;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .headline-widget-area {
    right: 0;
    bottom: 0;
    top: auto;
  }
}
@media screen and (max-width: 480px) {
  .headline-widget-area {
    position: static;
    text-align: center;
    width: 100%;
  }
}
