@font-face {
    font-family: opensans;
    src: url(../OPENSANSHEBREW-REGULAR.TTF);
}
@font-face {
    font-family: openbold;
    src: url(../OPENSANSHEBREW-EXTRABOLD.TTF);
}
body {
    font-family:opensans;
  direction: rtl;
  overflow-x: hidden;
}
.full_text {
    text-align: right;
}
h1, h2, h3, h4, h5, h6{
     font-family:openbold;
}
section.mob {
    display: none;
}
.header {
    background-size:cover;
    flex-wrap: wrap;
  background-position: 54% 0%;
  background-repeat: no-repeat;
  height: 400px;
  background-image: url("../img/bg.png");
}
.header .my_col {
  align-items: flex-start;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding: 20px 0px;
}
.header_logo {
  width: 200px;
  height: auto;
  object-fit: contain;
}
.header_text {
    text-align: right;
  padding: 50px 0px;
  color: #fff;
}
.header_text h2 {
  font-size: 50px;
}
.main {
  display: flex;
  text-align: right;
  padding: 50px;
}
.main .row {
  flex-wrap: nowrap;
}
.main .row #my_form {
  background-color: #327a4f;
  padding: 30px 20px;
  margin: -115px 20px 0px 20px;
}
.main .row #my_form h3 {
  font-weight: 600;
  text-align: center;
  color: #8ac53f;
}

.main .row #my_form h3 span {
    font-family: opensans;
    color: #fff;
}

.main .row #my_form .form-control {
  border-radius: 0;
  margin: 20px 0px;
}
.main .row #my_form .custom {
    font-family: openbold;
  background-color: #8ac53f;
  color: #fff;
  margin: 20px auto 0px;
  width: 100px;
  display: block;
  border-radius: 0;
}
.main .row .facts {
  margin: 5px;
  padding: 20px;
  background-color: #e8e5e5;
}
.main .row .facts .green {
  color: #327a4f;
}
.main .row .facts_list {
        margin: 0px -17px 0px 0px;
  list-style-image: url("../img/list.png");
}
.main .row .facts_list .big {
  font-weight: bold;
  font-family: openbold;
}
.full span {
    font-family: openbold;
  font-weight: bold;
}
.logo {
    margin: 50px 0px 0px 0px;
}
li {
    margin: 15px 0px;
}
.header_text span {
    font-weight: normal;
    font-family: opensans;
}
.logo .logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.logo .logos img {
        height: 37px;
  object-fit: contain;
}
.modal-window {
    position: fixed;
    top: 30%;
    left: 0;
    right: 0;
    margin: auto;

    background-color: #fff;
    width: 420px;
    padding: 20px;
    z-index: 2;
    display: none;
}
p.cross {
    display: block;
    position: absolute;
    top: 0;
    cursor: pointer;
    right: 0px;
    padding: 10px;
}
input#name::placeholder {
    font-weight: 700;
    font-family: opensans;
    color: #000;
}
input#tel::placeholder {
    font-weight: 700;
    font-family: opensans;
    color: #000;
}
input#email::placeholder {
    font-weight: 700;
    font-family: opensans;
    color: #000;
}
@media screen and (min-width: 320px) and (max-width: 450px) {


.header_text h2 {
    font-size: 39px;
}
.header {
    background-size:cover;
    flex-wrap: wrap;
  background-position: 54% 0%;
  background-repeat: no-repeat;
  height: 400px;
  background-image: url("../img/empty_bg.png");
}
}

@media screen and (min-width: 450px) and (max-width: 1024px) {

.header {
    background-size: cover;
    flex-wrap: wrap;
    background-position: 45% 0%;
    background-repeat: no-repeat;
    height: auto;
    background-image: url(../img/bg.png);
}
.header_text h2 {
    font-size: 39px;
}
}

@media only screen and (max-width: 1024px) {
   .main .row {
  flex-wrap: wrap;
}
.col-12.col-sm-12.col-md-12.col-lg-4.facts {
    max-width: 30%;
}
.logo .logos img {
    margin: 10px 0px;
    width: 25%;
    object-fit: contain;
}
}
@media only screen and (max-width: 875px) {
.main {
    display: flex;
    text-align: right;
    padding: 0px;
}
.col-12.col-sm-12.col-md-12.col-lg-4.facts {
    max-width: 100%;
}
form#my_form {
    margin: 10px 0px 0px 0px!important;
}
.col-12.col-sm-12.col-md-12.col-lg-4.form {
    padding: 0px;
}
 .row.my_col {
    visibility: hidden;
}
.mob_header h2 {
    color: #327a4f;
    text-align: center;
}
.mob_header p{
    text-align: center;
}
.header {
    background-size: cover;
    flex-wrap: wrap;
    background-position: 40% 0%;
    background-repeat: no-repeat;
    height: auto;
    background-image: url(../img/bg.png);
}
    .main_row {
    display: flex;
    flex-direction: column-reverse;
}
section.mob {
    display: block;
}
}
@media only screen and (max-width: 575px) {
    section.mob {
    display: block;
}
    .row.my_col {
    visibility: hidden;
}
.mob_header h2 {
    color: #327a4f;
    text-align: center;
}
.mob_header p{
    visibility: hidden;
    text-align: center;
}
.header {
    background-size: cover;
    flex-wrap: wrap;
    background-position: 40% 0%;
    background-repeat: no-repeat;
    height: 350px;
    background-image: url(../img/empty_bg.png);
}
header.header:after {
    content: "";
    display: block;
    background-size: cover;
    flex-wrap: wrap;
    background-position: 40% 0%;
    background-repeat: no-repeat;
    background-image: url(../img/girl.png);
    height: 300px;
    margin-top: -489px;
}
    .main_row {
    display: flex;
    flex-direction: column-reverse;
}
    img.header_logo {
    display: block;
    margin: auto;
}
section.full .full_text {
    padding: 20px;
}
.logo .logos img {
    margin: 10px 0px;
    width: 100%;
    object-fit: contain;
}
}
