@font-face {
  font-family: Aharoni;
  /* Имя шрифта */
  src: url(../fonts/Aharoni CLM Book Oblique.ttf);
  /* Путь к файлу со шрифтом */
}

@font-face {
  font-family: AharoniBook;
  /* Имя шрифта */
  src: url(../fonts/AharoniCLM-Book.ttf);
  /* Путь к файлу со шрифтом */
}

@font-face {
  font-family: Myriad;
  /* Имя шрифта */
  src: url(../fonts/MyriadHebrew-Regular.otf);
  /* Путь к файлу со шрифтом */
}
P {
  font-family: Pompadur;
}
body {
  overflow-x: hidden;
}
body * {
  direction: rtl;
}
.main {
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 543px;
  height: 900px;
  background-image: url(../img/only_bg.png);
  display: flex;
  text-align: right;
  padding: 50px 0px 0px 0px;
}
.main .row {
  flex-wrap: wrap;
}
.main .row .form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.main .row .form:after {
  content: "";
  background-image: url(../img/flowers.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 257px;
  height: 240px;
  display: block;
  right: -62px;
  bottom: 100px;
  z-index: 9;
  position: absolute;
}
.main .row .form #my_form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  position: relative;
  z-index: 999;
  background-color: #e3ffdd;
  width: 272px;
  height: 422px;
  margin: 100px auto;
  border-radius: 10px;
  box-shadow: 1px 2px 6px 1px rgba(29, 29, 27, 0.21);
}
.main .row .form #my_form h3 {
  text-align: center;
  width: 116px;
  margin: 16px auto;
  color: #28591a;
  font-family: "Myriad";
  font-size: 25px;
  font-weight: 700;
  line-height: 12.47px;
}
.main .row .form #my_form label {
  margin-bottom: 0px;
  color: #676767;
  font-family: "AharoniBook";
  font-size: 20px;
  font-weight: 400;
  padding: 0px 50px 0px 0px;
  line-height: 26.64px;
}
.main .row .form #my_form .form-control {
  border-radius: 20px;
  margin: 0px auto 0px;
  width: 179px;
  height: 34px;
  background-color: #ffffff;
  border: none;
}
.main .row .form #my_form .form_textarea {
  width: 179px;
  height: 81px;
  border-radius: 20px;
  margin: 0px auto 0px;
  border: none;
  display: block;
}
.main .row .form #my_form .custom {
  display: block;
  text-align: center;
  width: 116px;
  height: 33px;
  background-color: #aae146;
  color: #fff;
  margin: 16px auto;
  box-sizing: border-box;
  border-radius: 20px;
  font-family: Calibri;
  font-size: 18px;
  font-weight: 400;
  line-height: 8.89px;
  padding: 10px;
}
/*.main1{
       background-size: cover;
    background-repeat: no-repeat;
    height: 150px;
    background-image: url("../img/1.png");
    padding: 50px 0px 0px 0px;

}
*/
section.main:after {
  background-size: cover;
  height: 550px;
  display: block;
  position: absolute;
  background-image: url(../img/1.png);
  padding: 50px 0px 50px 0px;
  content: "";
  bottom: -255px;
  z-index: 5;
  left: 0;
  width: 100%;
}
.icon a {
    color: #fff;
}
.icon a:hover {
    text-decoration: none;
}
/*
.main1 {
    background-size: 100%;
    background-repeat: no-repeat;
    height: 452px;
    background-image: url(../img/1.png);
    background-position: center;
    padding: 50px 0px 0px 0px;
    position: relative;
    z-index: 2;
    margin: -298px 0px 0px 0px;
}*/
.new .row {
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  justify-items: center;
}
.new .row .gallery_header {
  font-family: "Aharoni CLM";
  font-size: 30px;
  font-weight: 700;
  font-family: Tahoma;
  color: #676767;
  text-align: center;
}
.new .row .gallery_p {
  color: #676767;
  font-family: "AharoniBook";
  font-size: 16px;
  font-weight: 400;
  line-height: 21.94px;
  /* Text style for ",  , ובתחו" */
  font-weight: 300;
  text-align: right;
  padding: 20px 50px;
}
.new .row .gallery .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}
.new .row .gallery .row .icon {
  width: 125px;
  height: 25px;
  margin: 0px 10px;
  color: #fff;
  text-align: center;
  border-radius: 13px;
  background-color: #aae146;
}
.new .row img {
  margin: 0 auto;
  display: block;
}
footer {
  background-color: #418438;
}
footer .row .col-12 {
  height: 29px;
  display: flex;
  flex-wrap: wrap;
  background-color: #418438;
  justify-content: center;
  align-items: center;
}
footer .row .col-12 img {
  margin: 0px 10px;
  width: 19px;
  height: 18px;
}
footer .row .col-12 p {
  color: #fff;
  margin-bottom: 0px;
  font-size: 11px;
  font-weight: 400;
  line-height: 16.69px;
  /* Text style for "C, opyrigh" */
  font-family: Arial;
  /* Text style for "," */
  font-family: "AharoniBook";
  font-weight: 300;
}


.main.mobile2{
    display:none;
    
}
/*MEDIA QUERY*/

@media (min-width: 320px) and (max-width: 600px) {
.main .row .form:after {
display:none;
}
.main  {
display:none;
}
.main.mobile2{
    display:block;
        height: auto;
    
}
.new .row .gallery .row .icon {
    margin: 10px 10px;
}
.new .row .gallery .row {
    flex-direction: column;
}
section.main:after {
    background-size: cover;
    height: 250px;
    display: block;
    position: absolute;
    background-image: url(../img/1.png);
    padding: 50px 0px 50px 0px;
    content: "";
    bottom: -460px;
    z-index: 5;
    left: 0;
    width: 100%;
}

}
@media (min-width: 600px) and (max-width: 990px) {

section.main:after {

    bottom: -281px;
}
}
@media (min-width: 1800px) and (max-width: 2600px) {
	.main {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 426px;
    height: 776px;
    background-image: url(../img/only_bg.png);
    display: flex;
    text-align: right;
    margin: 0px 0px 100px 0px;
    padding: 50px 0px 0px 0px;
}

section.main:after {
    background-size: 100% 100%;
    height: 584px;
    display: block;
    position: absolute;
    background-image: url(../img/1.png);
    padding: 50px 0px 50px 0px;
    content: "";
    bottom: 217px;
    z-index: 5;
    left: 0;
    width: 100%;
}
}