.review_container input, textarea {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  text-shadow: 0 1px 0 #f3f3f3;
  -moz-box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2);
  -webkit-box-shadow: inset 0 1px 3px rgba(255, 251, 251, 0.2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
  line-height: 1.4em;
  outline: 0;
  padding: .4em;
  border-radius: 4px;
  margin: 5px 0 10px 0;
}

.title_container {
  width: 100%;
  max-width: 870px;
  background-color: #ffffff;
  border-bottom: 3px solid #e57b05;
  padding: 10px;
}

@media (min-width:900px) {
  .title_container {
    background-color: #f4f4f4;
    position: relative;
    padding: 18px;
    text-align: right;
  }
}

.title_container p.generaltitle {
  font-size: 20px;
}

.title_container p.addreview2 {
  font-size: 18px;
}

@media (min-width:900px) {
  .title_container p.generaltitle {
    font-size: 24px;
  }

  .title_container p.addreview2 {
    font-size: 18px;
  }
}

.main {
  display: block;
  padding-top: 40px;
  direction: rtl;
  background-color: #f4f4f4
}

@media (min-width:900px) {
  .main {
    margin: 0;
    padding: 0;
    background-color: #ffffff
  }
}

.main-title-div {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  text-align: center;
}

.title_container span {
  font-size: 20px;
  display: block;
  color: #686767;
  position: relative;
}

@media (min-width:600px) {
  .title_container span {
    font-size: 24px;
    color: #686767;
  }
}

@media (min-width:900px) {
  .title_container span {
    font-size: 24px;
    position: absolute;
    right: 15px
  }
}

.introtext, .bottomtext {
  font-size: 16px;
  width: 100%;
  max-width: 870px;
  margin: 0 auto;
  padding: 1rem;
  line-height: 20px;
}

@media (min-width:900px) {
  .introtext {
    background-color: #fff;
    font-size: 18px;
    line-height: 28px;
  }
}

.main_wrapper {
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #f4f4f4;
}

@media (min-width:1200px) {
  .main_wrapper {
    width: 100%;
    max-width: 870px;
    margin: 0 auto
  }
}

.main_wrapper .review_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  width: 100%;
  padding: 1.0rem;
  border-top: 1px solid #fff
}

.addreview4, .addreview8 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e1e1e1;
  border-top: 1px solid #fff
}

.addreview4 textarea {
  margin-bottom: 3px
}

.addreview4 p, .addreview4 input, .addreview4 textarea, table {
  width: 100%;
}

.addreview4 p {
  margin-bottom: 10px;
}

.addreview4 p, .addreview8 p {
  font-weight: 700
}

@media (min-width:600px) {
  .addreview4 p, .addreview8 p {
    width: 285px;
    font-weight: 700
  }

  .addreview4 input, .addreview4 textarea, table {
    width: 44%;
  }

  .addreview4 span {

  }
}

.star::before {
  content: "*";
  color: black;
  margin-left: 2px
}

/*checkbox*/
.checkbox {
  display: flex;
  cursor: pointer;
  position: relative;
  align-content: center;
}

.checkbox>label {
  color: #34495E;
  padding: 0.5rem 0.75rem;
}

.checkbox>input {
  height: 20px;
  width: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  outline: none;
  transition-duration: 0.3s;
  background-color: #fff;
  cursor: pointer;
  margin-top: 8px;
}

.checkbox>input:checked {
  border: 1px solid #cccccc;
  background-color: #2175b5;
}

.checkbox>input:checked::before {
  content: '';
  right: 6px;
  top: 11px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: absolute;
}

.checkbox>input:active {
  border: 2px solid #34495E;
}

.radiogroup {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-right: 20px;
  padding-top: 1.3rem;
  align-items: center;
  align-content: center;
}

.subject {
  width: 100%;
  height: 30px;
  padding-right: 0;
}

@media (min-width:600px) {
  .subject {
    /*padding-right: 5rem;*/
  }
}

.radios {
 
  display: flex;
  position: relative;
}

@media (min-width:600px) {
  .subject {
    width: 265px
  }

  .radios {
   
    display: flex;
    position: relative;
  }
}

radio
input[type=radio] {
  display: none;
}
.radios1 input[type=radio] {
  display: none;
}
.radios1 input[type=radio]+label {
  display: inline-block;
  margin: -2px;
  padding: 8px 16px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #fff, #f4f4f4);
  background-image: -o-linear-gradient(top, #fff, #f4f4f4);
  background-image: linear-gradient(to bottom, #fff, #f4f4f4);
  background-repeat: repeat-x;
  border: 1px solid #ccc;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f4f4f4', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

 .radios1 input[type=radio]:checked+label {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  background-color: #2175b5;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
}
/*
.radios:first-child {
  border-radius: 3px !important
}

.radios .first, .radios1 .first {
  border-radius: 0 4px 4px 0 !important
}

.radios .last, .radios1 .last {
  border-radius: 4px 0 0 4px
}

.box {
  color: #333;
  padding: ;
  display: none;
  padding-right: 1rem;
  font-weight: 600;
}

.inputcont {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.inputcont-in {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.inputcont-in input {
  margin-bottom: 15px
}

.textboxcont label.mt-8 {
  display: inline-block;
  width: 40px;
  margin-right: 30px;
  margin-left: 20px;
}

.addreview7-2 {
  width: 100%
}

.textboxcont label {
  width: 100%
}

.inputcont-in span.validator {
  color: red;
  font-size: 12px;
  margin-top: -10px
}

.addreview4:first-child span.validator {
  color: red;
  font-size: 12px;
  margin-bottom: 8px
}
.inputcont-in span{
  font-size: 12px;
  display: inline-block;
  width: 50%;
  margin-top: -9px
}
.inputcont-in:last-child span{
  font-size: 12px;
  display: inline-block;
  
  margin-top: -9px
}
*/
.inputcont-in span {
  position: initial;
  color: #666;
  font-size: 12px;
  
  margin-top: 0;
}
@media (min-width:600px) {
  .inputcont {
    width: 70%;
  }

  .inputcont-in label {
    width: 20%;
    position: relative;
    margin-bottom: 33px;
  }

  .inputcont-in input {
    height: 30px;
    margin-right: 8px;
    width: 34%
  }

  .inputcont-in {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }

  .inputcont-in span {
    position: absolute;
    color: #666;
    font-size: 12px;
    top: 10px;
    right: 58%;
    margin-top: 0
  }



  .addreview4:first-child span.validator {
    position: absolute;
    color: red;
    font-size: 12px;
    top: 56px;
    right: 45%;
    margin-top: 0;
  }
  .addreview4:first-child .inputcont-in span.validator {
    position: absolute;
    color: red;
    font-size: 12px;
    top: 32px;
    right: 22%;
    margin-top: 0
  }
  .addreview7-2 {
    width: 90%
  }
}

.sendbutton {
  width: 100%;
  text-align: center;
  padding: 1em 0;
}

a.addreview11 {
  padding: 6px 26px;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  background-color: #2175b5;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
}
a.addreview11:hover{
  color: #fff !important
}
.addreview4:first-child {
  border-top: 0px;
  padding-bottom: 4px;
  position: relative;
}



.bottomtext {
  border-bottom: 0px solid transparent !important;
  line-height: 26px;
}

.star img {
  margin-right: 10px;
  vertical-align: middle;
}

input[type=radio]:first-child+label {
  border-radius: 0 4px 4px 0 !important
}

input[type=radio]:last-of-type+label {
  border-radius: 4px 0 0 4px !important;

}

/* The Modal (background) */
.popup-overlay {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden;
  position: fixed;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2000;
}

.popup-overlay.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}

.popup-content {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden;
  background-color: #fff;
  width: 94%;
  margin: 7rem auto 0 auto;
  padding: 2rem;
  position: relative;
  -webkit-box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.75);
}

.pop-bigtext {
  font-size: 20px;
  display: block;
  font-weight: 500;
  margin-bottom: 2rem
}

.pop-smalltext {
  font-size: 18px;
  display: block;
}

@media (min-width:900px) {
  .popup-content {
    /*Hides pop-up content when there is no "active" class */
    visibility: hidden;
    background-color: #fff;
    width: 35%;
    margin: 5rem auto 0 auto;
  }
}

.popup-content.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
  background-color: #fff;
}

.popup-content button {
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
  margin: .20rem;
  font-size: 1.1rem;
  border: 1px solid #2175b5;
  border-radius: 3px;
  background-color: #f1f1f1;
  color: #2175b5;
}

.popup-content button:hover {
  border: 1px solid #666666;
  background: #666666;
  color: #ffffff;
}

.close {
  position: absolute;
  left: 5px;
  top: 5px;
  padding: 0 6px;
  border: 1px solid #2175b5;
  border-radius: 3px;
  background-color: #f1f1f1;
  color: #2175b5;
}

/* Modal Content */
.letters {
  font-size: 12px;
  text-align: left;
  width: 50%;
}

.varning {
  font-size: 12px;
  width: 50%;
  color: red;
}
@media (min-width:600px) {
  .letters {
width: auto;
  }
  .varning {
      margin-right: 44%;
      margin-left: 15px;
      width: auto;
  }
}
@media (min-width:900px) {
  .letters {
    width: auto;
  }

  .varning { margin-right: 45%; margin-left: 35px; width: 238px; white-space: pre-line; }
}

.advises {
  width: 100%;
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e1e1e1;
}

.advises a {
  font-size: 14px;
  color: #2175b5 !important;
  text-decoration: underline !important;
  text-align: left;
}

/* Styling the Popup Window */
.popup-trigger {
  display: block;
  margin: 0 auto;
  line-height: 24px;
  cursor: pointer;
}

.popup {
  display: none;
  position: absolute;
  top: 100px;
  left: 10px;
  width: 280px;
  margin-left: 0;
  padding: 20px 15px;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 30px;
    z-index: 9999;
    text-align: right;
    direction: rtl;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.50);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.50);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.50);

}
@media (min-width:1200px) {
  .popup {
    top: 100px;
    left: -125px;

}
}
.popup ul il{
  list-style-position: outside;
}
.popup li::before{
  content: "\2022";
    color: #2175b5;
  margin-left: 4px;
  font-size: 12px
}
.popup-mobile {
  position: relative;
  top: 150px;
  left: 0;
  margin: 30px 0 0;
  width: 100%;
}

span.popup-btn-close {
  position: absolute;
  text-align: left;
  left: 5px;
  top: 5px;
  padding-left: 10px;
  cursor: pointer;

  color: #2175b5;



}
.adviceTitle{
  font-weight: 600;
  color: #2175b5;
  display: block;
  padding: 10px 5px
}
.red{
  color: red
}
.addreview7-2{
  width: 100%;
}
.addreview7-2 .textboxcont{
  width: 100%;
  display: flex;
  margin-top: 20px;
  

}
@media (min-width:600px) {
.addreview7-2 {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;

}
.addreview7-2 .textboxcont{
  width: 60%;
  display: flex;
  margin-right: 40px;
  margin-top: 0;

}
.addreview7-2 .textboxcont textarea{
  width: 70%
}
.addreview4:nth-child(9) p.addreview4-1{
  width: 100% !important;
  padding-bottom: 20px;

}
}
.addreview4:nth-child(12) {
  border-bottom: 0px;


}
@media (max-width:1024px) {
  .title_container {
    background-color: #f4f4f4;
    position: relative;
    padding: 18px;
    text-align: right;
    width: 100%;
    max-width: 100%;
  }
}

.redbord { border: 1px solid #f7141a !important; }
@media (min-width: 600px) {
  .inputcont-in span.validator { position: absolute; top: 40px; right: 22%; }
}

.radios .text{
  font-size: 16px;
  color: #333;
  font-weight: 500;
  position: absolute;
  left: -80px;
  top:10px
}
span.star-widget{
  display: block;
}

.radios .star-widget input{
  display: none;
}
.star-widget label{
  font-size: 24px;
  color: transparent;
  padding: 5px;
  float: right;
  transition: all 0.2s ease;
  width: 33px;
  position: relative;
}
input:not(:checked) ~ label:hover::before,
input:not(:checked) ~ label:hover ~ label::before{
  color:  #e57b05;
}
input:checked ~ label::before{
  color:  #e57b05;
}

 /*selecting*/
 input:nth-of-type(5):checked  ~ .text:before{
  content:"גרוע";
}

label:nth-of-type(5):hover  ~ .text:before{
  content:"גרוע"!important;
}

input:nth-of-type(4):checked  ~ .text:before{
  content:"לא טוב";
}

label:nth-of-type(4):hover  ~ .text:before
{
  content:"לא טוב"!important;
}


input:nth-of-type(3):checked  ~ .text:before{
  content:"בינוני";
}

label:nth-of-type(3):hover  ~ .text:before{
    content:"בינוני"!important;
}


input:nth-of-type(2):checked  ~ .text:before{
  content:"טוב";
}
label:nth-of-type(2):hover  ~ .text:before{
  content:"טוב"!important;
}
label:nth-of-type(1):hover  ~ .text:before{
  content:"טוב מאוד"!important;
}
input:nth-of-type(1):checked  ~ .text:before{
  content:"טוב מאד";
}
  input:nth-of-type(1):checked ~ label:before {
  
text-shadow: -2px -2px 2px rgba(255,255,255,.1), 2px 2px 2px rgba(0,0,0,.5);
  }
.radios1 input:nth-of-type(1):checked ~ label {
  text-shadow: none;
}

p.addreview4-1{
  width: 100%;
  padding: 15px 0;
  line-height: 26px;
}
label.mt-8{margin: 20px 0;
display: block;}
@media (min-width:900px) {
label.mt-8{margin-left: 10px;}
}
p.addreview4-1.star{
  width: 100%;
}
@media (min-width:900px) {
  p.addreview4-1.star{
    width: 45%;
  }
}
.star-widget label:before {
  font-family: 'fontello';
  content: '\e800';
  color: #b3b3b3;
}
 
  /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
  /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
  /*
  @media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
      font-family: 'fontello';
      src: url('../font/fontello.svg?62788253#fontello') format('svg');
    }
  }