@font-face {
    font-family: OpenSansHebrew-Regular;
    src: url(../fonts/open-sans-hebrew/OpenSansHebrew-Regular.ttf);
}

@font-face {
    font-family: OpenSansHebrew-Bold;
    src: url(../fonts/open-sans-hebrew/OpenSansHebrew-Bold.ttf);
}

@font-face {
    font-family: OpenSansHebrew-ExtraBold;
    src: url(../fonts/open-sans-hebrew/OpenSansHebrew-ExtraBold.ttf);
}

@font-face {
    font-family: OpenSansHebrew-ExtraBoldItalic;
    src: url(../fonts/open-sans-hebrew/OpenSansHebrew-ExtraBoldItalic.ttf);
}

@font-face {
    font-family: BebasNeue-Regular;
    src: url(../fonts/bebasneue/BebasNeue-Regular.ttf);
}

* {
    box-sizing: border-box;
}

body {
    direction: rtl;
    margin: 0;
}

body,
html {
    font-family: OpenSansHebrew-Regular;
}

a,
p,
span {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

select {
    appearance: none;
    border: none;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
figure,
figcaption,
td,
input {
    margin: 0;
    padding: 0;
}

input:required {
    box-shadow: none;
    outline: none;
}

input:invalid {
    box-shadow: none;
    outline: none;
}

label.error {
    font-size: small;
    position: absolute;
    bottom: -20px;
    color: red;
}

.select2-search__field + label.error {
    bottom: -25px;
    right: 0;
}

textarea:focus,
input:focus {
    outline: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ol {
}

table {
    border-collapse: collapse;
}

section {
    width: 100%;
}

input {
    width: 90%;
}

button,
input {
    border: none;
}

#companiesListWrapp,
#continentListWrapp,
#countryListWrapp,
#cityDescriptionPageWrapp,
#extendedInsuranceWrapp,
#extendedInsuranceDetailsWrapp,
#fullCoverageInsuranceWrapp,
#overseasTravelInsuranceWrapp {
    display: flex;
    justify-content: flex-end;
}

#countryList {
    overflow-x: hidden;
}

#companiesList,
#continentList,
#countryList,
#cityDescriptionPage,
#extendedInsurancePage,
#extendedInsuranceDetailsPage,
#fullCoverageInsurancePage,
#overseasTravelInsurancePage {
    /* max-width: 1328px;
    min-width: 1200px; */
    background: #FFFF;
    margin: -51px 25px 0 60px;
    padding: 45px 30px 100px;
    position: relative;
    border-radius: 10px;
    width: 100%;
}

#companiesList h1,
#continentList h1,
#countryList h1,
#cityDescriptionPage h1,
#extendedInsurancePage h1,
#extendedInsuranceDetailsPage h1,
#fullCoverageInsurancePage h1,
#overseasTravelInsurancePage h1 {
    font-family: OpenSansHebrew-Bold;
    font-size: 36px;
    text-align: center;
}

.descriptionLocation {
    display: block;
    padding: 0 0px 51px 0px;
    margin: 100px 0;
    font-size: 18px;
    line-height: 1.5;
    max-width: 419px;
}

.description {
    display: block;
    align-items: center;
    padding: 0 0px 51px 0px;

    /* margin: 100px 0 */
    font-size: 18px;
    line-height: 1.5;
    text-align: right;
}

.description p {
    margin-bottom: 1.5em;
}

#continentList ul,
#countryList ul {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 0 70px 0;
}

.location ul a {
    width: 20%;
    text-align: center;
    font-size: 22px;
    font-family: OpenSansHebrew-Bold;
    padding: 22px 0;
    text-decoration: underline;
}

.location ul a:nth-child(2n+1) {
    background: rgb(114, 182, 218, 0.1);
}

.pageContentWrapp {
    padding: 70px 0 0 0;
}

#extendedInsuranceDetailsPage .pageContentWrapp,
#fullCoverageInsurancePage .pageContentWrapp {
    display: flex;
    flex-direction: row-reverse;
    padding: 25px 35px 0 35px;
}

#extendedInsuranceDetailsPage .pageContent,
#fullCoverageInsurancePage .pageContent {
    min-width: 60%;
}

#signInAdmin {
    position: fixed;
    top: 50%;
    left: 50%;
    background: aliceblue;
    padding: 50px 100px;
    transform: translate(-50%, -50%);
}

#signInAdmin:hover {
    cursor: pointer;
}

#signInAdmin form > * {
    margin: 0 25px;
}

/* DatePicker settings */
ul.ui-menu {
    max-height: 200px;
}

#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loader img {
    width: 300px;
    height: 300px;
}

#calculator {
    padding: 250px 0 0 0;
}

.descriptionImageWrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
}

@media screen and (max-width: 1366px) {
    section#three_step_block_wrapper,
    section#continentListWrapp,
    section#countryListWrapp,
    section#cityDescriptionPageWrapp,
    section#extendedInsuranceWrapp,
    section#extendedInsuranceDetailsWrapp,
    section#fullCoverageInsuranceWrapp {
        padding: 0 50px 0 0;
    }

    #safeTravelersWrapp {
        background-color: #EF0028;
    }

    section#companyOffersWrapp,
    section#advantagesSectionWrapp,
    section#safeTravelersWrapp,
    section#flightsStatisticWrapp,
    section#contactFormWrap {
        padding: 0 50px;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding: 115px 0 0 0;
    }

    body.lock {
        overflow: hidden;
    }

    section#three_step_block_wrapper,
    section#companyOffersWrapp,
    section#advantagesSectionWrapp,
    section#safeTravelersWrapp,
    section#flightsStatisticWrapp,
    section#contactFormWrap,
    section#continentListWrapp,
    section#countryListWrapp,
    section#cityDescriptionPageWrapp,
    section#extendedInsuranceWrapp,
    section#fullCoverageInsuranceWrapp {
        padding: initial;
    }

    #companiesList,
    #continentList,
    #countryList,
    #cityDescriptionPage,
    #extendedInsurancePage,
    #extendedInsuranceDetailsPage,
    #fullCoverageInsurancePage {
        margin: 0;
        min-width: 0;
    }
	
	.descriptionImageWrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
	}

    .location ul a {
        flex: 0 1 50%;
    }

    #continentList .description,
    #countryList .description {
        flex-direction: column;
    }

    #continentList .fullDescription,
    #countryList .fullDescription,
    #cityDescriptionPage .fullDescription {
        padding: 0 40px;
    }

    #continentList .description .descriptionItem,
    #countryList .description .descriptionItem {
        width: 100%;
    }

    #continentList .description .descriptionItem:first-child,
    #countryList .description .descriptionItem:first-child {
        padding: 0;
    }

    #continentList .description .descriptionItem:last-child,
    #countryList .description .descriptionItem:last-child {
        margin-top: 350px;
        padding: 0 40px;
    }

    #continentList .description .descriptionItem.imgBlock .backgroundImg,
    #countryList .description .descriptionItem.imgBlock .backgroundImg {
        top: 0;
        width: 100%;
        transform: none;
    }

    #continentList .description .descriptionItem.imgBlock img,
    #countryList .description .descriptionItem.imgBlock img {
        /* max-width: 100%; */
        top: -70px;
        transform: none;
    }

    #cityDescriptionPage .pageContentWrapp,
    #extendedInsurancePage .pageContentWrapp,
    #fullCoverageInsurancePage .pageContentWrapp {
        padding: 70px 40px 0;
    }

    #extendedInsuranceDetailsPage .pageContentWrapp,
    #fullCoverageInsurancePage .pageContentWrapp {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 388px) {
    div.ui-datepicker {
        width: 100%;
    }

    #paymentFrame {
        height: 440px !important;
    }
}

/* .descriptionImageWrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
} */

.fullDescription {
    margin-top: 50px;
}

.captionInside h2 {
    display: inline-block;
    font-size: 36px;
    line-height: 60px;
    padding: 0 50px 0 0;
    margin: auto;
}

.captionInside h1 {
    display: inline-block;
    font-size: 36px;
    line-height: 60px;
    padding: 0 50px 0 0;
    margin: auto;
}

/* Apple Airpad resolution */
@media screen and (max-width: 1099px) {
    #extendedInsuranceDetailsPage .pageContentWrapp,
    #fullCoverageInsurancePage .pageContentWrapp {
        display: flex;
        flex-direction: column-reverse;
        row-gap: 30px;
    }
}

/* Content Area */
@media screen and (max-width: 1099px) {
    .description {
        margin-right: 1.5rem;
        margin-left: 1.5rem;
    }

    .pageContentWrapp{
        padding-right: 1.5rem !important;;
        padding-left: 1.5rem !important;;
    }
}
