/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p,
    /*blockquote, */
pre, a,
abbr, acronym, address, big, cite, code, del, dfn, em, font,
ins, kbd, q, s, samp, small, strike,
    /*strong, */
sub, sup,
tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    word-wrap: break-word;
}

tbody, tfoot, thead, tr, th, td {
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    word-wrap: break-word;
}

html {
    font-size: 62.5%;
    /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    overflow-y: scroll;
    /* Keeps page centered in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%;
    /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%;
    /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after {
    /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
    -webkit-box-sizing: border-box;
    /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
    -moz-box-sizing: border-box;
    /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
    box-sizing: border-box;
}

ol,
ul {
    list-style: none;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

/*blockquote:before,*/
/*blockquote:after,*/
/*q:before,*/
/*q:after {*/
/*content: "";*/
/*}*/

/*blockquote,*/
/*q {*/
/*quotes: "" "";*/
/*}*/

blockquote {

    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    word-wrap: break-word;

    color: #7f7f7f;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: italic;
    line-height: 24px;
    position: relative;
    margin-left: 45px;
    margin-right: 25px;

    margin-top: 20px;
    margin-bottom: 20px;
}

blockquote:before {
    content: "\f10d";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 24px;

    position: absolute;
    top: 0;
    left: -45px;
    color: #fd7400;
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

a img {
    border: 0;
}

/* =END Reset
-------------------------------------------------------------- */

body {
    direction: rtl;
    margin: 0 !important;
}

/*gefault*/
a {
    text-decoration: none;
}

/*LOADER STYLE*/
#wrapper_loader {
    background-color: rgba(127, 127, 127, 0.67);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
}

#loader,
#loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

#loader {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*LOADER STYLE*/

/*STYLE MESSAGE FORM*/
.message_form {
    font-family: 'NovemberHebrewMedium';
    font-size: 1.6rem;
    text-align: center;
    max-width: 60%;
    margin: auto;
}

.message_success {
    color: green;
}

.message_error {
    color: red;
}

/*STYLE MESSAGE FORM*/

/*SCROLL STYLE*/
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    opacity: 1;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    background: rgba(26, 26, 26, 0.76);
}
/*SCROLL STYLE*/


/*MAIN MODAL */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);

    background: #FFFFFF;
    box-shadow: 0 .2rem 3rem rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
    margin: auto;
    padding: 2rem;
    /*min-width: 40%;*/
    width: 70%;
}

.modal-header{
    position: relative;
}
/* The Close Button */
.modal-header .close_button {
    color: #aaaaaa;
    float: right;
    font-size: 4.8rem;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.modal-header .close_button:hover,
.modal-header .close_button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
@media screen and (max-width: 767px){
    .modal-content{
        width: 97%;
    }
    .modal-header .close_button{
        font-size: 6.8rem;
    }
}
/*MAIN MODAL END */


/*REM GRID*/
@media screen and (max-width: 4096px )and( min-width: 4094px) {
    html {
        font-size: 22px
    }
}

@media screen and (max-width: 2620px) {
    html {
        font-size: 14px
    }
}

@media screen and (max-width: 2520px) {
    html {
        font-size: 14px
    }
}

@media screen and (max-width: 2420px) {
    html {
        font-size: 13px
    }
}

@media screen and (max-width: 2320px) {
    html {
        font-size: 13px
    }
}

@media screen and (max-width: 2220px) {
    html {
        font-size: 12px
    }
}

@media screen and (max-width: 2120px) {
    html {
        font-size: 11px
    }
}

@media screen and (max-width: 2020px) {
    html {
        font-size: 11px
    }
}

@media screen and (max-width: 1920px) {
    html {
        font-size: 10px
    }
}

@media screen and (max-width: 1820px) {
    html {
        font-size: 9px
    }
}

@media screen and (max-width: 1720px) {
    html {
        font-size: 9px
    }
}

@media screen and (max-width: 1620px) {
    html {
        font-size: 8px
    }
}

@media screen and (max-width: 1520px) {
    html {
        font-size: 8px
    }
}

@media screen and (max-width: 1420px) {
    html {
        font-size: 8px
    }
}

@media screen and (max-width: 1320px) {
    html {
        font-size: 7px
    }
}

@media screen and (max-width: 1220px) {
    html {
        font-size: 6px
    }
}

@media screen and (max-width: 1120px) {
    html {
        font-size: 6px
    }
}

@media screen and (max-width: 1020px) {
    html {
        font-size: 5px;

    }
}

@media screen and (max-width: 920px) {
    html {
        font-size: 5px
    }
}

@media screen and (max-width: 820px) {
    html {
        font-size: 4px
    }
}

@media screen and (max-width: 767px) {
    html {
        font-size: 11px;
    }
}

@media screen and (max-width: 700px) {
    html {
        font-size: 10px
    }
}

@media screen and (max-width: 650px) {
    html {
        font-size: 9px
    }
}

@media screen and (max-width: 600px) {
    html {
        font-size: 8px
    }
}

@media screen and (max-width: 550px) {
    html {
        font-size: 7px
    }
}

@media screen and (max-width: 500px) {
    html {
        font-size: 6px
    }
}

@media screen and (max-width: 450px) {
    html {
        font-size: 6px
    }
}

@media screen and (max-width: 400px) {
    html {
        font-size: 4.9px
    }
}

@media screen and (max-width: 330px) {
    html {
        font-size: 4px
    }
}

@font-face {
    font-family: 'NovemberHebrewMedium';
    src: url('../fonts/NovemberHebrewMedium/NovemberHebrew-Medium.eot');
    src: url('../fonts/NovemberHebrewMedium/NovemberHebrew-Medium.woff2') format('woff2'),
    url('../fonts/NovemberHebrewMedium/NovemberHebrew-Medium.woff') format('woff'),
    url("../fonts/NovemberHebrewMedium/NovemberHebrew-Medium.ttf") format('truetype'),
    url('../fonts/NovemberHebrewMedium/NovemberHebrew-Medium.svg#svgFontName') format('svg');
}

@font-face {
    font-family: 'NovemberHebrewLight';
    src: url('../fonts/NovemberHebrewLight/NovemberHebrew-Light.eot');
    src: url('../fonts/NovemberHebrewLight/NovemberHebrew-Light.woff2') format('woff2'),
    url('../fonts/NovemberHebrewLight/NovemberHebrew-Light.woff') format('woff'),
    url("../fonts/NovemberHebrewLight/NovemberHebrew-Light.ttf") format('truetype'),
    url('../fonts/NovemberHebrewLight/NovemberHebrew-Light.svg#svgFontName') format('svg');
}

