@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 300;
    src: url(addons/fonts/opensanshebrew-lightitalic-webfont.eot);
    src: url(addons/fonts/opensanshebrew-lightitalic-webfont.eot?#iefix) format('embedded-opentype'),
    url(addons/fonts/opensanshebrew-lightitalic-webfont.woff) format('woff'),
    url(addons/fonts/opensanshebrew-lightitalic-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 300;
    src: url(addons/fonts/opensanshebrew-light-webfont.eot);
    src: url(addons/fonts/opensanshebrew-light-webfont.eot?#iefix) format('embedded-opentype'),
    url(addons/fonts/opensanshebrew-light-webfont.woff) format('woff'),
    url(addons/fonts/opensanshebrew-light-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 400;
    src: url(addons/fonts/opensanshebrew-italic-webfont.eot);
    src: url(addons/fonts/opensanshebrew-italic-webfont.eot?#iefix) format('embedded-opentype'),
    url(addons/fonts/opensanshebrew-italic-webfont.woff) format('woff'),
    url(addons/fonts/opensanshebrew-italic-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 400;
    src: url(addons/fonts/opensanshebrew-regular-webfont.eot);
    src: url(addons/fonts/opensanshebrew-regular-webfont.eot?#iefix) format('embedded-opentype'),
    url(addons/fonts/opensanshebrew-regular-webfont.woff) format('woff'),
    url(addons/fonts/opensanshebrew-regular-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 700;
    src: url(addons/fonts/opensanshebrew-bolditalic-webfont.eot);
    src: url(addons/fonts/opensanshebrew-bolditalic-webfont.eot?#iefix) format('embedded-opentype'),
    url(addons/fonts/opensanshebrew-bolditalic-webfont.woff) format('woff'),
    url(addons/fonts/opensanshebrew-bolditalic-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 700;
    src: url(addons/fonts/opensanshebrew-bold-webfont.eot);
    src: url(addons/fonts/opensanshebrew-bold-webfont.eot?#iefix) format('embedded-opentype'),
    url(addons/fonts/opensanshebrew-bold-webfont.woff) format('woff'),
    url(addons/fonts/opensanshebrew-bold-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 800;
    src: url(addons/fonts/opensanshebrew-extrabold-webfont.eot);
    src: url(addons/fonts/opensanshebrew-extrabold-webfont.eot?#iefix) format('embedded-opentype'),
    url(addons/fonts/opensanshebrew-extrabold-webfont.woff) format('woff'),
    url(addons/fonts/opensanshebrew-extrabold-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 800;
    src: url(addons/fonts/opensanshebrew-extrabold-webfont.eot);
    src: url(addons/fonts/opensanshebrew-extrabold-webfont.eot?#iefix) format('embedded-opentype'),
    url(addons/fonts/opensanshebrew-extrabold-webfont.woff) format('woff'),
    url(addons/fonts/opensanshebrew-extrabold-webfont.ttf) format('truetype');
}

html, body {
    margin:  0px;
    text-align:  right;
    color: black;
    background-color: #7F7F81;
    background-position: top;
    font-family: 'Open Sans Hebrew';
    min-height:100%;
    font-size: 18px;
    background-image: url('img/bg2.jpg');
    background-repeat: no-repeat;
    background-position: top;
}

img {
    border:  0px;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

.relative {
    position: relative;
}

.float {
    float: right;
    width: 100%;
}

.wrap {
    width: 1200px;
    text-align: center;
    margin:auto;
}

h1 {
    font-size: 50px;
    color: #b10000;
    text-shadow: 0px 0px 5px white;
    margin: 155px 0px 15px 0px;
}

h2 {
    margin: 5px 0px 50px 0px;
    text-shadow: 0px 0px 5px black;
    color: white;
}

.section {
    padding: 20px 0px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
}

.flex {
    display: inline-block;
}

.flex5 {
    width: calc(20% - 25px);
}

.flex4 {
    width: calc(25% - 25px);
}

.flex3 {
    width: calc(33.33% - 25px);
}

.flex2 {
    width: calc(50% - 25px);
}

.box {
    height: 380px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-align: center;
    background-position: center;
    display: flex;
    transition: 0.2s;
    align-items: center;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
}

.box:hover {
    transform: scale(1.05);
}

.box1:hover {
    box-shadow: 0px 0px 5px yellow;
}

.box2:hover {
    box-shadow: 0px 0px 5px red;
}

.box3:hover {
    box-shadow: 0px 0px 5px green;
}

.black {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.box-title {
    width: 100%;
    font-weight: bold;
    color: white;
    position: absolute;
    font-size: 30px;
    text-shadow: 0px 0px 5px black;
}

.bottom-title {
    background-color: white;
    text-shadow: none;
    color: black;
    text-decoration: none;
    padding: 10px;
    box-shadow: 0px 0px 3px black;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 40px;
}

.phone {
    background-color: #b10000;
    color: #FEF6C4;
    text-shadow: none;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
    box-shadow: 0px 0px 3px black;
    border-radius: 3px;
}

#phoneicon {
    height: 30px;
    margin-top: 4px;
    margin-left: 10px;
    float: right;
}

#logo {
    width: 150px;
    margin-right: calc(50% - 75px);
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 0px 0px 15px 15px;
    background-color: white;
}

#logo img {
    width: 100%;
    float: right;
}

iframe {
    border: 1px solid white;
}

.form {
    overflow: hidden;
}

.form1 {
    background-color: #b10000;
    width: 300px;
    color: white;
    margin: 35px 0px;
    box-shadow: 5px 5px 15px black;
    border-radius: 5px;
    margin-right: calc(50% - 150px);
    padding: 15px;
}

input, textarea, select {
    float: right;
    width: 100%;
    border: 0px;
    font-size: 18px;
    padding: 7px;
    outline: 0px;
    margin-top: 3px;
    margin-bottom: 15px;
    font-family: 'Open Sans Hebrew';
}

button {
    float: right;
    width: 100%;
    border: 0px;
    font-size: 18px;
    padding: 7px;
    outline: 0px;
    margin-top: 3px;
    box-shadow: 5px 5px 15px black;
    background-color: #FEF6C4;
    cursor: pointer;
    margin-bottom: 15px;
    font-family: 'Open Sans Hebrew';
}

.popup {
    background-color: white;
    width: 800px;
    top: 20%;
    line-height: 1.5;
    position: fixed;
    display: none;
    box-shadow: 0px 0px 10px black;
    border-radius: 3px;
    right: calc(50% - 400px);
}

.popup h3 {
    margin: 0px 0px 15px 0px;
    font-size: 24px;
}

h4 {
    color:#0038b1;
    font-size: 24px;
    margin: 15px 0px;
}

.right-popup {
    padding: 0px 25px 25px 25px;
}

.left-popup {
    background-color: #b10000;
    color: white;
    padding: 25px;
}

#popup2 .left-popup {
    background-color: #0038b1;
}

#popup3 .left-popup {
    background-color: #00b118;
}

.dark {
    background-color: black;
    position: fixed;
    top: 0px;
    display: none;
    bottom: 0px;
    right: 0px;
    left: 0px;
    opacity: 0.8;
}

ul {
    margin: 0px;
    padding: 0px;
}

ul li {
    list-style: none;
    padding: 5px 30px 7px 10px;
    background-image: url('img/check.png');
    background-repeat: no-repeat;
    background-position: right;
}

.details {
    margin-top: 10px;
    font-size: 15px;
}

.close {
    text-align: center;
    color: white;
    width: 100%;
    float: right;
    margin-top: 15px;
}

.footer {
font-size: 14px;
text-align: center;
padding: 15px;
}

.marker {
background-color: yellow;
}

@media screen and (max-width: 1060px) {

    .wrap {
        width: 100%;
    }

}

@media screen and (max-width: 860px) {

    body, html {
        background-color: white;
        background-position: bottom;
        background-attachment: fixed;
    }

    h2 {
        margin: 25px 0px;
    }

    .wrap {
        width: 100%;
        padding: 0px 15px;
    }

    .box {
        width: 100% !important;
        margin-bottom: 25px;
    }

    iframe {
        width: 100%;
    }

    .popup {
        width: auto;
        right: 15px;
        bottom: 15px;
        overflow: auto;
        top: 15px;
        left: 15px;
    }

    .popup .flex {
        width: 100%;
    }

}