/*
Theme Name: oi-child
Template: divi
*/


body.post-type-archive-directory,
body.single-directory {
   background-color: rgba(0, 0, 0, 0.03) !important;
}

body.post-type-archive-directory section,
body.single-directory section {
    width: 1300px;
    max-width: 96%;
    overflow: hidden;
    margin: 10px auto;
    padding: 0 0px;
}

section.header {
    overflow: visible !important;
}

section p {
    font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
    color: #666;
    line-height: 1.7em;
    font-weight: 500;
}

section.highlight {
    background: #f9f9f9;
}

dl.features {
    display: flex;
    gap: 5%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

dl.features dd {
    flex-grow: 1;
    flex-basis: min-content;
    min-width: inherit;
    box-sizing: border-box;
    align-content: center;
}

dl.features dt {
    flex-shrink: 0;
    width: 50%;
    box-sizing: border-box;
    align-content: center;
}

dl.features dt img {
    width: 100%;
    height: auto;
    display: block;
    background: #f4f4f0;
    aspect-ratio: 3 / 2;
    border-radius: 5px;
}

dl.features h2 {
    font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
    font-weight: Cormorant Garamond_weight;
    font-size: 60px;
    color: #0e0c19 !important;
    line-height: 1.15em;
}

dl.features h4 {
    font-family: 'Lora', Georgia, "Times New Roman", serif;
    font-weight: Quattrocento_weight;
    text-transform: uppercase;
    font-size: 14px;
    color: #26471F !important;
    letter-spacing: 1px;
    line-height: 1.4em;
}

dl.features p {
    font-weight: Proza Libre_weight;
    line-height: 1.75em;
}

p.directory-name strong {
    color: #000;
}

ul.three {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

ul.three li {
    flex: 0 0 calc(33% - 20px);
    position: relative;
    background-color: #fff;
    border-radius: 0px;
    overflow: hidden;
    border-width: 1px;
    border-bottom: 2px solid #8db700;
    position: relative;
}

a.post-edit-link {
    position: absolute;
    top: 10px;
    right: 10px;
}

ul.three h3 {

}

ul.three li p {
    padding: 0;
}

.dls dl {
    margin: 0 10px 0 0;
    display: inline-block;
    overflow: hidden;
}

.dls dl a {
    background: transparent;
    text-transform: lowercase;
    letter-spacing: 0px;
    background-color: #fff;
    color: #95B434;
    font-size: 14px;
    float: left;
    cursor: pointer;
    transition: all .3s;
    padding: 10px 20px 10px;
    border: 1px solid #eee;
    display: inline-block;
    margin: 5px 5px 0 0;
    border-radius: 10px;
    position: relative;
}

.dls a:hover {
    border: 1px solid #26471F;
    transition: all 0.3s ease-in;
}

.dls dl a:before {
    content: '';
    position: absolute;
    top: -7px;
    right: -7px;
    width: 20px;
    height: 20px;
    background: #fff url('svg/remove.svg') no-repeat;
    background-size: cover;
    opacity: 1;
    transition: opacity 0.3s ease-in;
    border-radius: 20px;
}

.dls dl dd {
    font-weight: 700;
    color: #26471F;
    line-height: 1.2;
    margin: 3px 0 0 0;
}

.dls dl dt {
    font-weight: normal;
    line-height: 1.2;
}

select {
    font-family: Open Sans, Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    width: 300px;
    border-radius: 0px;
    text-indent: 0;
    line-height: inherit;
    padding: 0px 0 0px 15px;
    height: 40px;
    line-height: 1.1;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url('svg/arrow-right.svg') right 3px center no-repeat;
    background-size: 30px;
    border: 1px solid #26471F;
    color: #26471F !important;
    border-radius: 20px;
}

.filter-select select {
    float: left;
    text-indent: 10px;
    font-size: 16px;
}

hr {
    border-bottom: 1px solid #999;
    margin: 20px auto;
    display: block;
     width: 1200px;
    max-width: 100%;
}

a.mapall {
background: #e16162;
    background: #26471F;
    border-bottom: 1px solid #26471F;
    position: relative;
    float: right;
    margin: 20px 0 0 0;
    color: #fff;
    padding: 6px 20px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 700;
    position: absolute;
    margin: 0px 0 0 21px;
}

a.reset {
    background: #e16162;
    background: #26471F;
    border-bottom: 1px solid #26471F;
    position: relative;
    float: right;
    margin: 20px 0 0 0;
    color: #fff;
    padding: 6px 20px;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 700;
    position: absolute;
    margin: 14px 0 0 14px;
}

a.reset:hover {
    border: 0;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
}

.pagination .current {
    background: #26471F;
    color: #fff;
    border-color: #26471F;
}

.breadcrumb {
    margin: 0 0 20px 0;
}

.breadcrumb a {
    border-bottom: 1px solid #8db700 !important;
    color: #8db700 !important;
}

.directory-links {
    overflow: hidden;
    margin: 10px 0;
}

.directory-links a {
    display: inline-block;
    text-indent: -9999px;
    width: 30px;
    height: 30px;
}

.dir-email {
    background: url('svg/icon-email.svg') no-repeat;
    background-size: 30px;  
}

.dir-facebook {
    background: url('svg/icon-facebook.svg') no-repeat;
    background-size: 30px;
}

.dir-instagram {
    background: url('svg/icon-instagram.svg') no-repeat;
    background-size: 30px;
}

a.dir-website {
    background: #95B434;
    color: #fff;
    border: 2px solid #95B434;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase;
    padding: 2px 15px 0px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

a.dir-map {
    color: #95B434;
    border: 2px solid #95B434;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase;
    padding: 2px 15px 0px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}


h3 {
}

.inside {
    padding: 20px;
}

.inside h3 {
    font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.4em;
    text-align: left;
    margin: 0;
    padding: 0;
    color: #26471F;
    font-size: 16px;
}

.searching li {
    display: inline-block;
    float: left;
}

.searching li:nth-child(2) {
    margin: 0 20px;
}

.searching li select {
    font-size: 14px;
    padding: 0 0 0 15px;
    width: 170px;
    color: #999;
    background-size: 20px;
}

/* STANDARD */

.future-more a.et_pb_button,
.future-more a.et_pb_button:hover,
a.buttons,
a.buttons:hover {
    color: #FFFFFF !important;
    border-width: 0px !important;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600 !important;
    background-color: #95B434;
    transition: all 300ms ease 0ms;
    position: relative;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid;
    line-height: 1.7em !important;
    transition-property: all !important;
    letter-spacing: 1px;
    font-family: Open Sans, Arial, sans-serif;
    border-radius: 0;
    letter-spacing: 1px;
    font-size: 14px;
    background-color: #8db700;
    display: inline-block;
    position: relative;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 0px solid;
    border-radius: 30px;
    padding: 10px 23px !important;
}

a.buttons:after {
font-size: 32px;
    line-height: 1em;
    content: "\35";
    opacity: 0;
    position: absolute;
    margin-left: -1em;
    -webkit-transition: all .2s;
    transition: all .2s;
    text-transform: none;
    -webkit-font-feature-settings: "kern" off;
    font-feature-settings: "kern" off;
    font-variant: none;
    font-style: normal;
    font-weight: 400;
    text-shadow: none;
}

a.buttons:after {
    font-family: ETmodules !important;
    font-size: 32px !important;
    line-height: 24px !important;
    content: "\35" !important;
    right: 1px !important;
    font-size: 25px !important;
}

.et_pb_bg_layout_light.et_pb_button:hover,
a.buttons:hover {
    opacity: 0.8;
    background-color: #8db700 !important;
    color: #fff;
}

.et_pb_section div.et_pb_row .et_pb_column .et_pb_module:last-child {
        margin-bottom: 0;
        max-width: 1200px;
        margin: 0px auto;
}

/* EVENTS SHORTCODE */

  .future-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    
    gap: 40px;
    align-items: stretch;
}

body.page-id-11170 .future-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.future-rows {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0px 24px 72px -12px rgba(0, 0, 0, 0.12);
        background-color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    overflow: hidden;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}

h4.future-title {
    font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: 24px;
    color: #0e0c19 !important;
    line-height: 1.4em;
    text-align: left;
}

.future-details strong {
    color: #333;
}

.future-date {
    margin: 0 0 10px 0;
}

.future-date p {
    color: #26471F;
}

.future-book a {
        color: #FFFFFF !important;
    border-width: 0px !important;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600 !important;
    background-color: #95B434;
    display: inline-block;
    width: fit-content;
    padding: 5px 40px;
    margin: 0px auto;
}

p.event_location {
    background: url('/wp-content/themes/oi-child/svg/location.svg') 0px 3px no-repeat;
    background-size: 20px 20px;
    width: 100%;
    display: block;
    margin: 0 0 10px 0px;
    padding: 0 0 0 25px;
}

body.single-event p.event_location {
    padding: 0;
}

@media (max-width: 1000px) {

body.page-id-11170 .future-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

}


/* Mobile fallback */
@media (max-width: 780px) {
    body.page-id-11170 .future-grid,
    .future-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 940px) {

dl.features h2 {
    font-size: 44px;
}

dl.features dt {
    flex-shrink: 0;
    width: 40%;
}

}

@media (max-width: 840px) {

ul.three li {
    flex: 0 0 calc(50% - 20px);
}

}

@media (max-width: 758px) {

.searching li:nth-child(2) {
    margin: 0 5px;
}

}

@media (max-width: 728px) {

.searching li:nth-child(1) {
    width: 100%;
}

.searching li:nth-child(2),
.searching li:nth-child(3) {
    margin: 10px 10px 10px 0;
}

}

@media (max-width: 640px) {


	.pagination a, .pagination span {
    	display: inline-block;
    	padding: 4px 7px;
    	font-size: 12px;
	}
    
dl.features {
    display: flex;
    flex-direction: column;
}

dl.features dt {
    width: 100%;
    margin: 0 0 10px 0;
}

ul.three li {
    flex: 0 0 calc(100% - 0px);
}

.future-more {
    width: 100%;
}

.future-more a {
    display: block;
    margin: 10px 0 !important;
}

}

@media (max-width: 587px) {

    .searching li:nth-child(3),
    .searching li:nth-child(2) {
        margin: 10px 0 0 0;
    }

}

@media (max-width: 540px) {

.filter-select {
    overflow: hidden;
}

a.mapall {
    position: relative;
    margin: 10px 0 0;
    float: none;
    display: inline-block;
    width: 300px;
}

}


.openid-connect-login-button a.button {
    border-width: 0px !important;
    border-radius: 0;
    letter-spacing: 2px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #8db700;
    padding-top: 16px !important;
    padding-right: 40px !important;
    padding-bottom: 16px !important;
    padding-left: 40px !important;
    display: inline-block;
    transition: all 300ms ease 0ms;
    color: #fff !important;
    position: relative;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid;
}

form.directory-search-form {
    overflow: hidden;
}

form.directory-search-form input[type="search"] {
    padding: 10px 20px;
    border: 1px solid #26471F;
    border-radius: 20px;
    width: 240px;
}

form.directory-search-form button {
    color: #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 700;
    margin: 0px 0 0 5px;
    background: #26471F;
}

form.directory-search-form button:hover {
    opacity: 0.9;
    cursor: pointer;
}

/* EVENTS */