﻿.main-navigation {
    clear: both;
    display: inline-block;
    float: right;
    width: inherit;
    margin-right: 172px;
}

@media (max-width: 1200px) {
    .main-navigation {
        margin-right: 32px;
    }
}

@media (max-width: 599px) {
    .main-navigation {
        margin-right: 0;
    }
}

.main-navigation ul {
    font-size: 15px;
    text-transform: Uppercase;
    font-weight: 400;
    font-family: Open Sans;
    transition: .35s;
    float: right;
    transition: ease-in-out .25s!important;
}
.main-navigation li {
    padding-left: 40px;
    padding-top: 5px;
    position: relative;
}

    @media (max-width: 1200px) {
        .main-navigation li {
            padding-left: 20px;
        }
    }

    @media (max-width: 1100px){
        .main-navigation li {
            padding-left: 15px;
        }
    }

    @media (max-width: 599px){
        .main-navigation li {
            text-align: left;
            font-size: 19px;
            font-weight: 500;
            transition: .35s;
            width: 100%!important;
            margin: 0 auto;
            padding-left: 0px;
            padding-right: 0px;
            padding-top: 0px;
            padding-bottom: 0px;
        }
    }

.main-navigation li a {
    color: #24336E;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: .18s;
}

    @media screen and (max-width: 599px){
        .main-navigation ul li a {
            font-size: 14px;
            color: #fff;
        }
    }
    
    @media screen and (max-width: 639px){
        .main-navigation ul li a {
            font-size: 11.5px;
            margin: 0 0px;
        }
    }
    
    @media screen and (max-width: 665px){
        .main-navigation ul li a {
            font-size: 12px;
        }
    }
    
    @media (max-width: 950px){
        .main-navigation ul li a {
            font-size: 12px;
        }
    }
    
    @media (max-width: 1000px){
        .main-navigation ul li a {
            font-size: 14px;
        }
    }
    

.main-navigation li a:hover {
    color: #4bdbfa;
}

.main-navigation ul ul.sub-menu {
    position: absolute;
    transition: ease-in-out .25s;
}

@media (max-width: 599px) {
    .main-navigation ul ul.sub-menu {
        position: relative;
        left: 0;
        top: 0;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        margin: 0;
        width: 100%;
        float: none;
    }
}

.main-navigation ul ul.sub-menu li a:hover {
    background: #4bdbfa;
}
.main-navigation ul ul.sub-menu li {
    width: 100%;
    text-align: left;
    margin-left: 0;
    padding: 0px;
    margin-right: 0;
}
.main-navigation ul ul.sub-menu a {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 12px;
    padding-bottom: 7px;
    min-width: 185px;
    color: #ECECEC!important;
    background: rgba(38, 48, 91, 0.9);
    font-weight: 300;
    border-bottom: solid 1px rgba(255, 255, 255, 0.47);
    border-radius: 1px;
    font-size: 13.5px;
}

@media (max-width: 599px) {
    .main-navigation ul ul.sub-menu a {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        float: none;
        margin: 0;
        background: #253470;
        text-align: center;
        border: none;
    }
}

.main-navigation ul#primary-menu {
    margin-top: -30px;
}

    @media (max-width: 599px) {
        .main-navigation ul#primary-menu {
            width: 100%;
            margin: 0 auto!important;
            height: auto;
            padding: 0px!important;
            margin: 0 auto!important;
            text-align: center!important;
            margin-top: 8px!important;
            background: #253470;
            margin-bottom: -10px!important;
        }
    }

.edit_line, .edit_line a {
    display: none;
}
/*---------------------------------------------
1.1 Header
-----------------------------------------------*/
.site-logo {
    padding-left: 20px;
    padding-top: 8px;
    max-width: 300px;
    position: relative;
    left: 74px;
}

@media screen and (max-width: 440px) {
    .site-logo {
        left: 20px;
        padding-left: 10px;
        margin-top: 0px;
        margin-left: -5px;
    }
}

@media (max-width: 599px) {
    .site-logo {
        position: relative;
    }
}

@media (max-width: 770px) {
    .site-logo {
        padding-left: 10px;
        margin-top: 7px;
        left: 25px;
        top: -12px;
    }
}

@media (max-width: 900px) {
    .site-logo {
        max-width: 210px;
        margin-top: 7px;
        left: 25px;
    }
}

.site-header {
    background-color: #FFFFFF;
    margin: 0 auto;
    /* border-bottom: solid 1px #D0D0D0; */
    margin-top: -12px;
    width: 100%;
    height: auto;
    padding: 10px 0px;
    transition: .35s;
    z-index: 999;
    /* max-width:1400px; */
    box-shadow: 0 4px 2px -2px rgba(34, 34, 34, 0.24);
}
.page-id-2 .site-header {
    /* background:transparent; */
    /* border: none; */
    /* height: auto; */
    /* padding-bottom: 10px; */
    /* padding-top: 5px; */
}
#search {
    float: right;
    position: relative;
    padding-right: 12px;
    right: 0px;
    top: 21px;
    max-width: 228px;
    display: none;
}
#searchform input {
    max-width: 135px;
    max-height: 25px;
    height: 25px;
    border-radius: 1px;
}

/*---FIREFOX FIX---*/
#upper-site-navigation {
    display: inline-block;
}
#upper-site-navigation ul li img {
    position: relative;
    top: 11px;
    right: 5px;
}
#upper-site-navigation ul {
    list-style: none;
}
#upper-site-navigation ul li {
    display: inline-block;
    padding-left: 25px;
    font-size: 16px;
    font-weight: 300;
    font-family: Open Sans;
    color: #999999;
}
#upper-site-navigation ul li span {
    margin-right: 5px;
    /* text-transform: uppercase; */
}
#upper-site-navigation ul li .fa {
    top: -1px;
    font-weight: 600;
}
#upper-site-navigation ul li a {
    text-decoration: none;
    color: #494949;
    font-weight: 400;
}
.upper-header-links {
    float: right;
    display: inline-block;
    margin-right: 10px;
    margin-top: 22px;
}
#open_contact {
    text-decoration: none;
    color: #999;
}
.skip-link {
    display: none!important;
}
.screen-reader-text {
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px)!important;
    position: inherit!important;
    height: 0;
    width: auto;
    display: block;
}
[placeholder]:focus::-webkit-input-placeholder {
    transition: opacity 0.5s 0.5s ease;
    opacity: 0;
}

.scrolling {
    box-shadow: 0 1px 5px rgba(0,0,0,0.3);
    background: #120c3f!important;
    transition: .55s;
    ;}
.page-title span {
    text-transform: capitalize;
}
.header-container {
    margin: 0 auto;
    max-width: 1300px;
}

.entire-header {
    margin: 0 auto;
    width: 100%;
    display: inline-block;
    left: 0;
    right: 0;
    z-index: 99;
}
.entire-header a {
    font-weight: normal;
}
.upper-header {
    width: 100%;
    margin: 0 auto;
    background: #003368;
    display: inline-block;
    max-height: 40px;
}

    @media (max-width: 825px) {
        .upper-header {
            display: none;
        }
    }

.upper-header ul li {
    display: inline-block;
    list-style: none;
    padding-left: 10px;
}
.upper-header ul li a {
    color: #24336E;
    text-decoration: none;
    margin: 0px 17px;
}
.upper-header .menu-item-37 a {
    background: #fff;
    border-radius: 4px;
    padding: 2px 4px;
    color: #24336E!important;
}
.upper-header-container {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.upper-header-container a,
.upper-header-container span {
    font-size: 12px;
    text-transform: uppercase;
    position: relative;
    top: -7px;
}
.upper-link-container {
    float: right;
    margin-top: 17px;
    position: relative;
    left: -94px;
}
.upper-link-container a {
    color: #fff!important;
}
.language-header {
    /* float:left; */
    color: #fff;
    /* width: 29%; */
    position: relative;
    top: 15px;
    left: 55px;
    display: none;
}


.line-1,
.line-2,
.line-3 {
    display: block;
    width: 55px;
    height: 4px;
    background: #fff;
}

.line-1 {
    position: relative;
    top: -10px;
}
.line-3 {
    position: relative;
    top: 10px;
}

/*--------------------------------------------
1.2 Footer
---------------------------------------------*/
.search .entry-footer {
    min-height: 20px;
    background-color: transparent;
}
.search a {
    text-decoration: none;
    color: #555;
}
.search #content {
    /* padding-left:20px; */
    /* padding-right:20px; */
    border-top: solid 2px #838383;
}
footer {
    background-color: #2f3130;
    min-height: 150px;
    width: 100%;
    overflow: hidden;
    font-family: Open Sans;
    color: #FFFFFF;
}
footer a {
    text-decoration: none;
    color: #fff!important;
}
.single-post .entry-footer {
    display: none;
}
.home .footer-signup-bar {
    margin-top: -10px;
}
.footer-signup-bar {
    width: 100%;
    margin: 0 auto;
    display: inline-block;
    background: #f5f5f5;
    text-align: center;
    padding: 15px 5px;
    margin-top: -40px;
}
.form_container {
    display: inline-block;
}
.footer-signup-bar h1 {
    font-weight: 300;
    font-size: 24px;
    font-style: italic;
    color: #878786;
    padding: 10px 5px;
    display: inline-block;
}
.signup-container {
    display: inline-block;
    margin: 0 auto;
    max-width: 750px;
}
.signup-container input {
    min-width: 200px;
}
.signup-container input[type="submit"] {
    min-width: 20px;
    text-shadow: none;
    box-shadow: none;
    background: #003368;
    color: #fff;
    border-radius: 3px;
    font-size: 15px;
    border: none!important;
    padding: 8px 18px;
    text-transform: uppercase;
}
input[type="submit"] {
    transition: ease .3s;
}
input[type="submit"]:hover {
    text-shadow: none!important;
    box-shadow: none!important;
    background: #4bdbfa!important;
}
.footer-wrapper {
    margin: 0 auto;
    width: 95%;
    max-width: 1180px;
}
.footer-city-bar {
    background: url('/National_Library/oe_/https://secure.ayelet.com/stw/ayelet/pics/footer_city.png') no-repeat center center / contain;
    display: block;
    width: 100%;
    height: 108px;
}
.footer-columns {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    margin-left: 10px;
}
.footer-column-1,
.footer-column-2,
.footer-column-3,
.footer-column-4 {
    width: 24.5%;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

@media (max-width: 1055px){
    .footer-column-1, .footer-column-2, .footer-column-3, .footer-column-4 {
        width: 49.5%;
        display: inline-block;
        text-align: left;
        vertical-align: top;
    }
}

@media screen and (max-width: 550px) {
    .footer-column-1, .footer-column-2, .footer-column-3, .footer-column-4 {
        width: 100%;
        display: inline-block;
        text-align: left;
        vertical-align: top;
    }
}

.footer-wrapper h3 {
    font-weight: 300;
    font-size: 16px;
    text-transform: uppercase;
    /* text-align:center; */
    color: #003368;
}
.footer-wrapper li {
    list-style: none;
    text-align: left;
    float: none;
    margin-top: 10px;
}
.footer-wrapper ul {
    /* margin-left: -39px; */
}
.footer-column-1 li,
.footer-wrapper li a {
    font-size: 12px;
    text-transform: uppercase;
    color: #dbdbdb!important;
    transition: ease .25s;
    font-weight: normal;
}
.footer-wrapper li a:hover {
    color: skyblue!important;
}
footer {
    width: 100%;
    background-color: #063764;
    color: #fff!important;
    min-height: 215px;
}

.footer-copyright-wrapper {
    text-align: center;
}

.footer-copyright {
    margin: 20px auto;
    font-weight: 200;
    font-size: 14px;
    display: inline-block;
}
.footer-copyright img:nth-child(3) {
    /* margin-right:70px; */
}
.foot_1_img,
.foot_2_img,
.foot_3_img,
.foot_4_img {
    margin: 0 6px!important;
}
.footer-copyright img {
    display: inline-block;
    vertical-align: middle;
    /* min-width: 32px; */
    min-height: 35px;
    margin: 0 1px;
}
.copy-social {
    margin-top: 15px;
    display: inline-block;
}

/*.footer-social .social-facebook a{background:url('/National_Library/oe_/https://secure.ayelet.com/stw/images/fb.png') no-repeat center center / cover; color: transparent!important; width:25px; height:25px;}
*/
.stay_connected {
    display: block!important;
    margin-bottom: 12px!important;
}
.footer-social {
    display: inline-block;
    padding: 0;
}
.footer-social li {
    display: inline-block;
    margin: 0 5px;
    text-transform: uppercase;
}
.footer-social img {
    /* max-width:10px; */
    min-height: 5px;
    height: auto!important;
    transition: ease .3s;
}
.footer-social img:hover {
    filter: brightness(.78);
    -webkit-filter: brightness(.78);
}
/* --------------- End Footer */

/*
Theme Name: Ayelet
Theme URI: http://underscores.me/
Author: Shovel Creative (Steve Lutz)
Author URI: http://www.shovelcreative.com
Description: Custom WordPress Theme for Ayelet
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ayelet
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Ayelet is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
button,
input,
select,
textarea {
    color: #404040;
    font-family: sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff;
    /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    /* color: royalblue; */
}

a:visited {
    /* color: purple; */
}

a:hover,
a:focus,
a:active {
    /* color: midnightblue; */
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 1.5em;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (max-width: 440px) {
    .menu-toggle {
        margin-top: -75px;
    }
}

@media (max-width: 599px) {
    .menu-toggle {
        transition: .32s;
        background-color: #253470;
        padding-top: 36px;
        padding-bottom: 36px;
        padding-left: 15px;
        padding-right: 15px;
        border: none;
        box-shadow: none;
        border-radius: 0px;
        color: #fff;
        float: right;
        margin-right: 6px;
        text-shadow: none;
        margin-top: -71px;
    }
}


@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {
        display: block;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}



.tour-text .the-tour-image a {
    background: initial;
    padding: initial;
    margin-right: initial;
}
.tour-text .the-tour-image a:hover {
    background: initial;
}
.conferences a {
    transition: ease .2s;
}
.conferences a:hover {
    background: #4bdbfa;
    color: #fcfcfc;
}

.interior-cf {
    margin-top: 30px;
}
.page-id-13 .interior-tours {
    margin-top: 45px;
}

.entire-header {
    z-index: 9999;
}
div.wpcf7-mail-sent-ok {
    border: 1px dotted #666666!important;
    width: 100%!important;
    color: #159415;
}

textarea {
    font-style: normal!important;
}
.book_button {
    display: inline-block;
    background: #003368;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    padding: 7px 14px;
    text-decoration: none;
    margin-top: 10px;
    /* float:right; */
    margin-right: 10px;
    text-transform: uppercase;
}
.book_button:hover {
    color: #fff;
    background-color: #4bdbfa;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
}

.collapseomatic_content,
.collapseomatic_excerpt {
    font-family: Open Sans sans-serif, Arial, Helvetica!important;
    margin-left: 0!important;
}
.page-id-11 .the-testimonial .collapseomatic_content {
    font-size: 12px;
    font-family: Open Sans, Arial;
    margin-left: 2px;
}
.page-id-11 .the-testimonial .collapseomatic {
    display: block;
    font-size: 12px;
}
.the-testimonial .collapseomatic {
    display: block;
}
.all-tours-loop {
    margin: 0 auto;
    text-align: center;
}
.cell-phone-rental a {
    text-transform: uppercase!important;
}
.cta-background {
    background-position: center 88%;
}
.conferences a {
    transition: ease .2s;
    text-transform: uppercase;
}
.page-id-202 .tour-text i {
    font-style: normal;
}
.page-id-210 .interior-cf {
    margin-top: -30px;
}
.page-id-194 .interior-cf {
    margin-top: -30px;
}

.the-testimonial .collapseomatic {
    display: block;
    font-size: 12px;
}
.the-testimonial .collapseomatic_content {
    font-size: 12px;
    font-family: Open Sans, Arial;
    margin-left: 2px;
}

.the-tour-image-text h2 {
    font-size: 18px;
    margin-top: -4px;
    font-weight: 300;
}
.the-tour-image-text h3 {
    font-weight: 400;
    font-size: 15px!important;
    margin-top: -15px;
}
.the-tour-image-text h4 {
    display: inline;
    font-weight: 400;
    font-size: 13px!important;
    margin-top: -5px;
    color: #666!important;
    font-style: italic;
}
.the-tour-image-text h5 {
    font-weight: 400;
    font-size: 12px!important;
    margin-top: -5px;
}
.interior-sb ul li {
    margin-left: -20px;
}
.div.wpcf7-mail-sent-ok {
    color: #000!important;
}

.page-id-15 .tour-text a {
    float: right;
}

.cta-container {
    position: relative;
    left: -125px;
}

@media (max-width: 1200px) {
    .cta-container {
        position:relative;
        left: 0px;
    }
}
.home input[type='submit'] {
    margin-top: 5px;
}

/* Chrome only: */
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    .interior-sb ul li {
        margin-left:10px;
    }

}

@-moz-document url-prefix() {
    .interior-block ul li {
        margin-left: -35px;
    
    }
}

    .home_house a {
    color: transparent!important;
    background: url(https://web-archive.nli.org.il/National_Library/oe_/http://ayelet.com/wp-content/uploads/2016/06/home_icon.png) no-repeat center center / contain;
    width: 35px;
    height: 35px;
}