/* Pre tag - wrap text */
pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    line-height: 1.5;
}

/* Great Stag Hunt extra styles */
.cta-thank-you {
    padding: 10px 15px 15px;
}
    .cta-thank-you p {
        margin-bottom: 0;
        color: #fff;
    }
    .cta-thank-you h3 {
        color: #fff;
        font-size: 32px;
        margin-top: 0;
        font-family: 'Duplicate Slab Regular';
    }

.main-page-content form .gfield_description {
    font-size: .9em;
}

#field_55_216 .ginput_container_text,
#field_55_216 .gfield_label {
    display: none;
}
#field_55_216 .validation_message {
    margin-top: 0;
}
#field_55_99 #ggf-map {
    width: 100% !important;
    height: 450px !important;
}
    @media only screen and (max-width: 38.5em) {
        #field_55_99 #ggf-map {
            height: 300px !important;
        }   
    }
#gform_55 .gfield_description br {
    display: block;
}
#field_55_98 label {
    margin-left: 16px;
}
#field_55_98 .gfield_label {
    margin-left: 0;
}


/* Staff template */
#staff-list {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
}

.staff-member {
    flex: 0 1 calc(25% - 30px);
    margin: 15px;
    padding: 0;
}


/* #staff-list .staff-member:last-child {
    float: left;
} */
#staff-list .staff-image img {
    width: 100%;
    margin-bottom: 15px;
}
#staff-list .staff-meta {
    height: 165px;
}
#staff-list .staff-meta .first-name,
#staff-list .staff-meta .surname {
    font-family: 'Duplicate Slab Medium';
    font-size: 1.2em;
    color: #b7c200;
    display: block;
}
#staff-list .staff-meta .job-title,
#staff-list .staff-meta .email {
    display: block;
    margin-top: 5px;
    word-wrap: break-word;
}
#staff-list .staff-meta .email {
    word-wrap: break-word;
}
#staff-list .staff-meta .email a {
    color: #009db5;
}

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

    .staff-member {
        flex: 0 1 calc(33% - 30px);
        margin: 0 15px;
        padding: 0;
    }    
    
}

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

    .staff-member {
        flex: 0 1 calc(50% - 30px);
        margin: 0 15px;
        padding: 0;
    }
    
}






/* Orchard owners questionnaire */
#gform_62 label {
    cursor: default;
}
#field_62_5 label {
    display: none;
}
#field_62_5.inactive,
#field_62_95.inactive {
    visibility: hidden;
    height: 0;
    margin: 0 !important;
}
#field_62_12 {
    display: none;
}
#field_62_5 #ggf-map {
    width: 97.5% !important;
    height: 450px !important;
}
    @media only screen and (max-width: 38.5em) {
        #field_62_5 #ggf-map {
            height: 300px !important;
        }   
    }
#field_62_5 {
    margin-bottom: 15px !important;
}
#field_62_5 .gfield_description {
    padding-top: 0;
    margin-top: -10px;
}
#field_62_14 {
    padding: 0;
}
#field_62_14 h4 {
    margin: 15px 0 5px;
    font-size: 1.2em;
}
#gform_62 .fruit-type,
#gform_62 .variety-name {
    float: left;
    width: 45%;
    clear: none;
}
#field_62_72 {
    float: left;
    width: 10%;
    clear: none;
    padding-top: 47px;
}
#input_62_36 li,
#field_62_37 li,
#input_62_38 li,
#input_62_41 li,
#input_62_42 li,
#input_62_43 li,
#input_62_44 li,
#input_62_45 li {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px !important;
}
#input_62_36 li,
#input_62_38 li {
    margin-bottom: 20px !important;
}
#field_62_45 .gfield_description br {
    display: inline;
}
#field_62_20 label,
#field_62_21 label,
#field_62_30 label,
#field_62_31 label,
#field_62_86 > label,
#field_62_28 > label,
#field_62_32 > label,
#field_62_33 > label {
    display: none;
}
#gform_62 h2 a {
    color: #b7c200;
    text-decoration: underline;
}
#field_62_70 {
    overflow: hidden;
}
#field_62_70 > * {
    float: left;
}
#input_62_70 {
    width: 100%;
    margin-left: 15px;
}
#field_62_79 {
    padding-top: 30px;
}


/* Orchard Varieties */
#orchard-variety-searchform,
#orchard-free-text-searchform,
#orchard-map-searchform {
    background-color: #fff;
    padding: 10px 10px;
    margin-bottom: 40px;
    overflow: hidden;
}
#orchard-map-searchform {
    margin-bottom: 20px;
}
.orchard-search-template #orchard-variety-searchform,
.orchard-search-template #orchard-free-text-searchform {
    margin-bottom: 25px;
}
#orchard-variety-searchform.active,
#orchard-free-text-searchform.active,
#orchard-map-searchform.active {
    background-color: #b7c200;
}
#orchard-variety-searchform select,
#orchard-free-text-searchform select {
    font-family: inherit;
    margin-bottom: 0;
}
#orchard-variety-searchform h2,
#orchard-free-text-searchform h2,
#orchard-map-searchform h2 {
    line-height: 1;
    color: rgba(0,0,0,.83);
    font-size: 24px !important;
    margin-bottom: 10px;
    font-family: 'Duplicate Slab Regular';
}
#orchard-map-searchform h2 {
    margin-bottom: 20px;
}
#orchard-variety-searchform input,
#orchard-free-text-searchform input,
#orchard-map-searchform input {
    margin-bottom: 0;
    font-size: 16px;
}
#orchard-variety-searchform input[type="text"],
#orchard-free-text-searchform input[type="text"],
#orchard-map-searchform input[type="text"] {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(0,0,0,.38);
}
#orchard-free-text-searchform input::-webkit-input-placeholder,
#orchard-map-searchform input::-webkit-input-placeholder {
    color: rgba(0,0,0,.54);
}
#orchard-free-text-searchform input:-moz-placeholder,
#orchard-map-searchform input:-moz-placeholder {
    color: rgba(0,0,0,.54);
}
#orchard-free-text-searchform input::-moz-placeholder,
#orchard-map-searchform input::-moz-placeholder {
    color: rgba(0,0,0,.54);
}
#orchard-free-text-searchform input:-ms-input-placeholder,
#orchard-map-searchform input:-ms-input-placeholder {
    color: rgba(0,0,0,.54);
}
#orchard-free-text-searchform.active input::-webkit-input-placeholder,
#orchard-map-searchform.active input::-webkit-input-placeholder {
    color: rgba(255,255,255,.70);
}
#orchard-free-text-searchform.active input:-moz-placeholder,
#orchard-map-searchform.active input:-moz-placeholder {
    color: rgba(255,255,255,.70);
}
#orchard-free-text-searchform.active input::-moz-placeholder,
#orchard-map-searchform.active input::-moz-placeholder {
    color: rgba(255,255,255,.70);
}
#orchard-free-text-searchform.active input:-ms-input-placeholder,
#orchard-map-searchform.active input:-ms-input-placeholder {
    color: rgba(255,255,255,.70);
}
#orchard-variety-searchform .select-group label,
#orchard-free-text-searchform .select-group label,
#orchard-map-searchform .select-group label {
    font-size: 12px;
    color: rgba(0,0,0,.38);
    font-family: 'Duplicate Slab Regular';
    position: relative;
    top: 5px;
    visibility: hidden;
}
#orchard-variety-searchform .select-group label.active,
#orchard-free-text-searchform .select-group label.active {
    visibility: visible;
}
#orchard-variety-searchform.active .select-group label,
#orchard-free-text-searchform.active .select-group label {
    color: rgba(255,255,255,.54);
}
#orchard-free-text-searchform input[type="text"],
#orchard-map-searchform input[type="text"] {
    padding: 0;
    height: 31px;
    color: rgba(0,0,0,.83);
    font-family: 'Duplicate Slab Regular';
}
#orchard-free-text-searchform.active input[type="text"],
#orchard-map-searchform.active input[type="text"] {
    background-color: #b7c200;
    border-bottom: 1px solid rgba(255,255,255,.38);
    color: #fff
}
#orchard-free-text-searchform input[type="text"]:focus,
#orchard-map-searchform input[type="text"]:focus {
    background: #fff;
}
#orchard-free-text-searchform.active input[type="text"]:focus,
#orchard-map-searchform.active input[type="text"]:focus {
    background: #b7c200;
}
#orchard-free-text-searchform input[type="submit"],
#orchard-map-searchform input[type="submit"] {
    text-transform: uppercase;
    font-family: 'Duplicate Slab Regular';
}
#orchard-variety-searchform select {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(0,0,0,.38);
    background-color: #fff;
    height: 31px;
    padding: 0;
    color: rgba(0,0,0,.54);
    font-family: 'Duplicate Slab Regular';
}
#orchard-variety-searchform.active select {
    background-color: #b7c200;
    border-bottom: 1px solid rgba(255,255,255,.38);
    color: rgba(255,255,255,.7)
}
#orchard-variety-searchform select.enabled {
    color: rgba(0,0,0,.83);
}
#orchard-variety-searchform.active select.enabled {
    color: #fff;
}
#orchard-variety-searchform input[type="submit"] {
    text-transform: uppercase;
    font-family: 'Duplicate Slab Regular';
    margin-top: 18px;
}
#orchard-variety-searchform.active input[type="submit"],
#orchard-free-text-searchform.active input[type="submit"],
#orchard-map-searchform.active input[type="submit"] {
    background: #fff;
    color: #b7c200;
}
.ui-autocomplete.ui-widget-content {
    background: #fff;
    border: 2px dotted #d1d1d0;
    max-height: 350px;
    overflow-y: auto;
}
.ui-autocomplete.ui-widget-content .ui-state-focus {
    border: 1px solid #d1d1d0;
    background: #F6F5F3;
    color: #b7c200;
}
.ui-autocomplete-loading {
    background-image: url(../images/loading.gif) !important;
    background-repeat: no-repeat !important;
    background-position: right 5px center !important;
    background-size: 20px !important;
}
#orchard-results-table {
    width: 100%;
}
#orchard-results-table thead tr th {
    background-color: #b7c200;
    color: #fff;
}
#orchard-results-table tr:nth-of-type(even) {
    background: #F5F5F5;
}
#orchard-results-table td.center {
    text-align: center;
}
#orchard-results-table td.break-word {
    word-wrap: break-word;
}
#orchard-results-table td .synonym {
    display: block;
    margin-top: 5px;
    padding-left: 5px;
    font-size: 0.815rem;
    color: rgba(34,34,34,.67);
}
.tablesorter thead tr .header {
    background-image: url(../images/ts-bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    padding-right: 18px;
}
.tablesorter thead tr .headerSortDown {
    background-image: url(../images/ts-desc.gif);
}
.tablesorter thead tr .headerSortUp {
    background-image: url(../images/ts-asc.gif);
}
#orchard-results-notes ul {
    margin-bottom: 25px;
    margin-left: 0;
    list-style-type: none;
    font-size: 12px;
}

#orchard-map {
    width: 100%;
    height: 700px;
    margin-bottom: 20px;
}

.page-template-page-ptes-fruitfinder-landing header #header-right h2 .tag-line-image,
.page-template-page-orchard-varity-map header #header-right h2 .tag-line-image,
.orchard-search-template header #header-right h2 .tag-line-image {
    background: url(../images/header-orchard.png) no-repeat;
    width: 70px;
    height: 55px;
    left: -52px;
}
.page-template-page-ptes-fruitfinder-landing .main-page-content,
.page-template-page-orchard-varity-map .main-page-content,
.orchard-search-template .main-page-content {
    background: url(../images/bg-main-orchard-cherries@2x.png) top right no-repeat;
    background-size: 349px 114px;
}
.page-template-page-ptes-fruitfinder-landing footer,
.page-template-page-orchard-varity-map footer,
.orchard-search-template footer {
    background: url(../images/bg-footer-orchard@2x.png) 80% top no-repeat;
    background-size: 441px 310px;
}
.page-template-page-ptes-fruitfinder-landing footer #footer-wasp,
.page-template-page-orchard-varity-map footer #footer-wasp,
.orchard-search-template footer #footer-wasp  {
    visibility: hidden;
}
.page-template-page-ptes-fruitfinder-landing #orchard-variety-searchform .select-group,
.page-template-page-ptes-fruitfinder-landing #orchard-variety-searchform input[type="submit"],
.page-template-page-ptes-fruitfinder-landing #orchard-free-text-searchform input[type="text"],
.page-template-page-ptes-fruitfinder-landing #orchard-free-text-searchform input[type="submit"],
.page-template-page-ptes-fruitfinder-landing #orchard-map-searchform input[type="text"],
.page-template-page-ptes-fruitfinder-landing #orchard-map-searchform input[type="submit"] {
    float: none;
    width: 100%;
}
.page-template-page-ptes-fruitfinder-landing #orchard-free-text-searchform input[type="submit"],
.page-template-page-ptes-fruitfinder-landing #orchard-map-searchform input[type="submit"] {
    margin-top: 18px;
}
.page-template-page-ptes-fruitfinder-landing #orchard-map-searchform {
    padding: 20px;
}
.page-template-page-ptes-fruitfinder-landing #orchard-map-searchform.active {
    background-color: #B7C200;
}

.page-template-page-ptes-fruitfinder-landing #orchard-variety-searchform.active input[type="text"] {
    background-color: transparent;
    color: white;
}




.orchard-search-template #orchard-variety-searchform input[type="text"] {
    background: none;
    font-size: 0.95em;
    padding: 0.4em !important;
    height: auto;
    color: 1px solid rgba(0,0,0,.54);
    border-bottom: 1px solid rgba(0,0,0,.38)
}

    .orchard-search-template #orchard-variety-searchform input[type="text"].active {
        color: #000;
    }

    .orchard-search-template #orchard-variety-searchform.active input[type="text"] {
        color: rgba(255,255,255,.7);
        border-bottom-color: rgba(255,255,255,.38);
        background: transparent;
    }

        .orchard-search-template #orchard-variety-searchform.active input[type="text"].active {
            color: white;
            border-bottom-color: rgba(255,255,255,.38);
            background: transparent;
        }



#orchard-variety-searchform .select-group .select-group-label--keyword {
    visibility: visible;
    padding-left: 6px;
    padding-top: 12px;
}




.page-template-page-ptes-fruitfinder-landing #orchard-map-searchform img {
    display: block;
    margin: 0 auto;
    margin-bottom: 16px;
}

@media (min-width: 992px) and (max-width: 1140px) {
    #orchard-results-table td.break-all {
        word-break: break-all;
        width: 20%;
    }
}

@media (min-width: 992px) {
    #orchard-free-text-searchform input[type="text"],
    #orchard-map-searchform input[type="text"] {
        width: 79%;
        float: left;
    }
    #orchard-free-text-searchform input[type="submit"],
    #orchard-map-searchform input[type="submit"] {
        width: 19%;
        float: right;
    }
    .orchard-search-results #orchard-free-text-searchform input[type="text"] {
        width: 71.25%;
    }
    .orchard-search-results #orchard-free-text-searchform input[type="submit"] {
        width: 25.75%;
    }
    #orchard-variety-searchform .select-group {
        /* width: 18.25%; */
        width: 15%;
        float: left;
        margin-right: 2%;
    }
    #orchard-variety-searchform input[type="submit"] {
        /* width: 19%; */
        width: 14.2%;
        float: right;
    }
}

@media (max-width: 991px) {
    #orchard-results-table,
    #orchard-results-table thead,
    #orchard-results-table tbody,
    #orchard-results-table th,
    #orchard-results-table td,
    #orchard-results-table tr {
        display: block;
    }

    #orchard-results-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    #orchard-results-table td { 
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 50%;
        min-height: 37px;
    }
    #orchard-results-table td.center {
        text-align: left;
    }
    
    #orchard-results-table td:before { 
        position: absolute;
        top: 9px;
        left: 10px;
        width: 45%; 
        padding-right: 10px;
    }

    #orchard-results-table td:nth-of-type(1):before { content: "Fruit Type"; }
    #orchard-results-table td:nth-of-type(2):before { content: "Accepted Name"; }
    #orchard-results-table td:nth-of-type(3):before { content: "Dessert"; }
    #orchard-results-table td:nth-of-type(4):before { content: "Cooker"; }
    #orchard-results-table td:nth-of-type(5):before { content: "Cider"; }
    #orchard-results-table td:nth-of-type(6):before { content: "Juice"; }
    #orchard-results-table td:nth-of-type(7):before { content: "County Raised"; }
    #orchard-results-table td:nth-of-type(8):before { content: "Region Raised"; }
    #orchard-results-table td:nth-of-type(9):before { content: "Notes"; }
    #orchard-results-table td:nth-of-type(10):before { content: "Suppliers that stock this variety"; }

    #orchard-free-text-searchform input[type="submit"],
    #orchard-map-searchform input[type="submit"] {
        margin-top: 18px;
    }

    #orchard-map {
        height: 400px;
    }

    .page-template-page-ptes-fruitfinder-landing .columns.orchard-search {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #orchard-results-table td.break-all {
        word-break: break-all;
    }
    #orchard-map {
        height: 300px;
    }
}

/* Single orchard variety */
table#single-variety-info {
    background: none;
    border: none;
}
table#single-variety-info tr:nth-of-type(even) {
    background: none;
}
table#single-variety-info tr td {
    font-size: 1em;
}
table#single-variety-info .title {
    padding-left: 0;
    font-family: 'Duplicate Slab Medium';
    width: 20%;
}


/* Orchard Network Events */
p.orchard-network-events-message {
    display: none !important;
}
.events-category-orchard-network-events p.orchard-network-events-message {
    display: block !important;
    margin-bottom: 0;
    padding-top: 13px;
    text-align: center;
}
.events-category-orchard-network-events p.orchard-network-events-message.orchard-network-link {
    padding-top: 0;
}
.events-category-orchard-network-events p.orchard-network-events-message.orchard-network-link a {
    color: #86339A;
    font-size: 1.2rem;
}
.tribe-events-loop .tribe-events-content.no-event-image {
    width: 100%;
}

.tribe-events-list .tribe-events-event-image {
    width: 30%;
}

#tribe-events-header-nav {
    overflow: hidden;
}
#tribe-events-header-nav ul {
    list-style-type: none;
}
#tribe-events-header-nav .tribe-events-nav-previous {
    float: left;
}
#tribe-events-header-nav .tribe-events-nav-next {
    float: right;
}

#tribe-events-content .event-category-description {
    text-align: center;
}

/* Community Orchards */
.wppl-site-code {
    margin-bottom: 10px;
}
.wppl-single-result .update-link {
    margin-top: 20px;
}

.single-community-orchards a.button {
    background-color: #86339a;
}
.single-community-orchards #single-variety-info a {
    color: #86339a;
}


/* Mobile/tablet fixes */
aside ul li a {
    padding-right: 47px;
}

@media only screen and (max-width: 768px) {
    .featured-image-quote-box p.quote-text {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 14px;
    }

    .featured-image-quote-box span {
        font-size: 1em;
    }

    .featured-image-quote-box p.quote-cite {
        line-height: 14px;
    }
    blockquote p {
        font-family: 'Shadows Into Light',cursive;
        color: #b7c200;
        font-size: 20px;
        line-height: 25px;
    }
    .featured-image-info-box p {
        line-height: 16px;
        font-size: 16px;
    }
    .button {
        white-space: normal;
    }
    #home-quote {
        min-height: 320px;
    }
    #home-quote p.home-info {
        line-height: 25px;
    }
    #cta-home-donate h3 {
        line-height: 34px;
    }
    #cta-home-donate p {
        line-height: 20px;
    }
    p.info-link-button {
        margin-bottom: 0;
    }
    .main-page-content form input[type="text"], .main-page-content form input[type="password"], #home-content-wrapper form input[type="text"], #home-content-wrapper form input[type="password"] {
        border-radius: 50px;
        font-size: 14px;
        padding-left: 2%;
    }
    .home-info-boxes .signup-your-email input {
        padding-left: 20% !important;
    }
    .home-info-boxes .signup-your-name input {
        padding-left: 20% !important;
    }

}


/* Recent Grants News */
.rpwwt-widget ul li {
    border-bottom: 2px dotted #d1d1d0;
    padding-bottom: 1.3em;
}
.rpwwt-widget ul li a {
    padding: 0;
    border: 0;
    font-family: 'Duplicate Slab Light';
    margin-bottom: 5px;
    font-size: 1.3em;
    line-height: 1.5;
}
.rpwwt-widget ul li a:hover {
    background: none;
    font-family: 'Duplicate Slab Light';
    color: #B6C022 !important;
}
.rpwwt-widget ul li img {
    margin: 0 0 10px 0 !important;
    padding: 23px;
    background-image: url(../images/frame-2.png);
    background-image: url(../images/frame-2.svg);
}
.rpwwt-widget .rpwwt-post-date {
    color: #B6C022;
}


/* Donation form fix */
.page-template-page-ptes-landing-ways-to-give-php .featured-image-info-box .gform_wrapper #input_24_1 li input[type=radio],
.page-template-page-ptes-landing-ways-to-give-php .featured-image-info-box .gform_wrapper #input_24_1 li label {
    float: left;
}
.page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_75_1 li input[type=radio],
.page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_75_1 li label {
    float: left;
}


/* Small dev items May 2017 */
.picture-frame.woocommerce-main-image {
    padding: 7%;
}
blockquote p {
    font-family: 'Duplicate Slab Regular';
    font-size: 1.3em;
    line-height: 1.5;
}


i.fa.fa-google-plus {
    color: #dd4b39;
}
i.fa.fa-linkedin {
    color: #0077b5;
}
.social-share a {
    font-size: 1.15em;
    border: 1px solid #cccccc;
    border-radius: 100%;
    height: 35px;
    width: 35px;
    display: inline-block;
    line-height: 35px;
    text-align: center;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-right: 5px;
    margin-bottom: 10px;
    transition: all 300ms ease-out;
}
.social-share i {
    transition: all 300ms ease-out;
}
.social-share a:hover {
    color: #fff;
    background-color: #b7c200;
    border-color: #b7c200;
}
.social-share a:hover i {
    color: #fff !important;
}
.social-share a.facebook:hover {
    background-color: #3b5998;
    border-color: #3b5998;
}
.social-share a.twitter:hover {
    background-color: #55acee;
    border-color: #55acee;
}
.social-share a.google-plus:hover {
    background-color: #dd4b39;
    border-color: #dd4b39;
}
.social-share a.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
}


.keeping-in-touch label.checkbox > br {
    display: none;
}

.woocommerce-info::before {
    color: #b7c200 !important;
}
.woocommerce .woocommerce-info,
.woocommerce-checkout .woocommerce .login,
.woocommerce-checkout .woocommerce .checkout_coupon {
    border: 0;
    border-top: 2px dotted #d1d1d0 !important;
    border-bottom: 2px dotted #d1d1d0 !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.woocommerce-checkout .woocommerce .login,
.woocommerce-checkout .woocommerce .checkout_coupon {
    padding: 25px;
}
.woocommerce-checkout .woocommerce .login .lost_password {
    margin-bottom: 0;
    padding: 3px;
}
.woocommerce-checkout .woocommerce .login .form-row br {
    display: none;
}
.woocommerce-checkout .woocommerce .login input.button,
.woocommerce-checkout .woocommerce .checkout_coupon input.button {
    background: #b7c200;
    color: #ffffff;
    text-shadow: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    font-weight: normal;
    font-family: 'Duplicate Slab Medium';
    padding: 11px 20px;
}
.woocommerce-checkout .woocommerce .login input.button:hover,
.woocommerce-checkout .woocommerce .checkout_coupon input.button:hover {
    background: #009db5;
}
.woocommerce-checkout .woocommerce .login input.button {
    margin-top: 10px;
    margin-right: 20px;
}



/* Latest appeal form */
.page-template-page-ptes-latest-appeal-form .featured-image-info-box {
  padding: 2% !important; }
  .page-template-page-ptes-latest-appeal-form .featured-image-info-box h4 {
    border-bottom: none;
    font-family: 'Duplicate Slab Medium';
    margin: 0;
    line-height: 1em; }
  .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper {
    border: none;
    padding: 0;
    background: none;
    margin: 0; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper label {
      margin-top: 0;
      font-size: 1.7em;
      line-height: 1em;
      margin-bottom: 10px;
      color: #000000;
      font-family: 'Duplicate Slab Thin';
      border-bottom: 2px dotted #ffffff;
      padding-bottom: 15px;
      display: block; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper input[type="submit"] {
      width: 100%;
      background: #ffffff;
      color: #009db5;
      font-size: 1.3em; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper input[type="submit"]:hover {
      color: #000000; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_6_21 li,
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_10_21 li {
      float: left;
      padding-left: 1px !important;
      margin-right: 15px; }
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_6_21 li input[type="radio"],
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_10_21 li input[type="radio"] {
        margin-top: 7px; }
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_6_21 li #choice_21_3,
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_10_21 li #choice_21_3 {
        margin-top: 12px; }
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_6_21 li #input_6_21_other,
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_6_21 li #input_10_21_other,
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_10_21 li #input_6_21_other,
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_10_21 li #input_10_21_other {
        width: 88%;
        padding: 2px;
        font-size: 1.5em; }
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_6_21 li label,
      .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_10_21 li label {
        margin: 0 0 0 18px;
        color: #ffffff;
        border-bottom: none;
        display: block; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #gform_fields_75 .ginput_container {
      margin-top: 36px; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_75_1 li label {
      border: none;
      color: #ffffff; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_75_1 li input[type=radio] {
      margin-top: 9px; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper #input_75_1 li #label_1_1 {
      padding: 0; }
    .page-template-page-ptes-latest-appeal-form .featured-image-info-box .gform_wrapper input[type="submit"]#gform_submit_button_75 {
      padding-left: 1rem;
      padding-right: 1rem;
      white-space: normal; }



/* New share buttons */
.social-share-outer.share-left {
    position: relative;
    display: none;
}
.social-share-outer.share-left .social-share-container {
    position: absolute;
    left: -50px;
    top: 120px;
}
.social-share-container .social-share a {
    background-color: #009db5;
    border: 0;
    height: 48px;
    width: 48px;
    line-height: 49px;
    font-size: 1.8em;    
    margin-right: 0;
    display: block;
    margin-bottom: 12px;
}
.social-share-container .social-share a:hover {
    background-color: #b7c200 !important;
}
.social-share-container .social-share a i {
    color: #fff !important;
}

.social-share-outer.share-bottom {
    border-top: 2px dotted #b8b8b8;
    margin: 75px 0px 30px;;
}
.social-share-outer.share-bottom .social-share-container .social-share a {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 10px;
}
.social-share-outer.share-bottom h4 {
    margin: 8px 0px;
    font-family: 'Duplicate Slab Medium';
    font-size: 1.1em;
}

.single-product .social-share-outer.share-left .social-share-container {
    left: -60px;
}
.single-post .social-share-outer.share-left .social-share-container {
    top: 53px;
}

.social-share-container .scroll-to-top {
    float: right;
    color: #000;
    margin-top: 5px;
}
.social-share-container .scroll-to-top:hover {
    color: #009db5;
}

/* New shortcodes */
.ptes-cta {
    background-color: #b7c200;
    text-align: center;
    padding: 2.5em 6em;
    margin-bottom: 1.25em;
}
.ptes-cta h2 {
    border-bottom: 0;
    margin: 0;
}
.ptes-cta p {
    margin: 0;    
    font-size: 1.25em;
    line-height: 1.3;
}
.ptes-cta .button {
    margin: 0;
    font-size: 1em;
    color: #000;
    background-color: #fff;
    margin-top: 1em;
    padding-top: 0.9rem;
    padding-bottom: 0.9625rem;
}
.ptes-cta .button:hover {
    color: #fff;
    background-color: #009db5;
}











/* Map Popup */

.map__popup{
    /* */
}

.map__popup__title__link,
.map__popup.green .map__popup__title__link {
    color: #b7c200;
}

    .map__popup.orange .map__popup__title__link {
        color: #f39118;
    }

.map__popup__info{
    display:flex;
    align-items:flex-start;
    justify-content: space-between;
    font-size: 14px;
    line-height: 20px;
}

.map__popup__info * {
    font-size: inherit;
    font-size: inherit;
}

.map__popup__content {
    /* */
}

.map__popup__link,
.map__popup.green .map__popup__link {
    background-color: #b7c200;
}

    .map__popup.orange .map__popup__link {
        background-color: #f39118;
    }
    


/* Map Filter */



.projects__filter--wrap,
.projects__filter--wrap.green {
    background: #b7c200;
}

    .projects__filter--wrap.orange {
        background: #f39118;
    }

.form--filter--projects fieldset{
    border:none;
}

.form--filter--projects .fieldset--wrap {
    display:flex;
    align-items:center;
    justify-content: space-evenly;
    flex-wrap:wrap;
}

.fieldset--wrap div {
    max-width:300px;
    flex: 1 1 100%;
    /* width:100%; */
}

#projects__filter--wrap .form--filter--projects label{
    font-size: 20px;
    font-family: 'Duplicate Slab Medium';
    color: #fff;
    padding: 0 0 5px 10px;
}

.form--filter--projects select{
    border-radius:13px;
    font-family: 'Duplicate Slab Light';
    background-image: url('/wp-content/themes/ptes-theme/assets/img/icons/select-arrow-green.svg');
    background-size: 16px 12px;
}

    .projects__filter--wrap.orange select{
        background-image: url('/wp-content/themes/ptes-theme/assets/img/icons/select-arrow-orange.svg');
    }

    .form--filter--projects select:hover,
    .projects__filter--wrap.orange select:hover {
        background-image: none;
    }

.js-select__option.disabled,
.form--filter--projects option[disabled]{
    background: #eee;
    color: #ccc;
}


.cluster {
    
}

.cluster div {
    /* color: #231f20 !important; */
    color: #EEEEEE !important;
    font-size: 17px !important;
    transform: translateY(-14px) !important;
    font-family: 'Duplicate Slab Medium' !important;
    font-weight: normal !important;
}

.cluster img {
    transform: translateX(-3px) translateY(-10px);
    width: 60px;
    height: auto;
}


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

    .map__popup__image{
        max-height: 80px;
    }
    
    .form--filter--projects fieldset{
        margin: 0;
        padding: 0.25rem 0 0 0;
    }

}

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

    #map{
        min-height:400px;
    }
    
    .map__popup {
        padding: 0;
    }

    .map__popup__image--wrap{
        width:100%;
    }
    
    .map__popup__title{
        margin: 0 0 10px 0;
        font-size: 18px;
        line-height: 1em;
    }

    .map__popup__image{
        display:block;
        margin:0 auto 0 auto;
        max-height: 80px;
    }

    .map__popup__info{
        flex-wrap:wrap;
    }
    
    .map__popup__content__inner {
        display: none;
    }
    
    .map__popup__content {
        display: flex;
        width: 100%;
        justify-content: center;
        padding-top: 0.5em
    }

}

@media screen and (min-width:721px){
    
    #map{
        height:600px;
        max-height: 70vh;
      }
    
    .map__popup {
        padding:10px;
    }
    
    .map__popup__title{
        margin: 0 0 20px 0;
        font-size: 28px;
        line-height: 1em;
    }
    
    .map__popup__content {
        padding-left:15px;
        max-width: 350px;
    }
    
    .fieldset--wrap div + div {
        margin-left: 2em;
    }
    

}








/*------------------------------------*\
	#2. JavaScript Select Box
\*------------------------------------*/

.js-select,
.js-select__option,
.js-select__options {
	display:block;
	margin:0;
	padding:0;
	list-style: none;
	border:none;
	background-image:none;
}












.js-select {
	width:100%;
	background:#fff;
	height:2em;
	padding: 10px;
	display:inline-block;
	position:relative;
	vertical-align: middle;
	cursor:pointer;
	overflow:visible;
	border:1px solid transparent;
    
    background-position: 97% center;
    padding: 0.5rem;
    font-size: 0.875rem;
    border-radius: 0;
    height: 2.3125rem;
}

.js-select.selected {
	border:1px solid #e1e1e1;
}


.form--filter--projects .js-select{
    border-radius:13px;
    font-family: 'Duplicate Slab Light';
    background-image: url('/wp-content/themes/ptes-theme/assets/img/icons/select-arrow-green.svg');
    background-size: 16px 12px;
    background-position: calc(100% - 1em);
    background-repeat: no-repeat;
}

    .projects__filter--wrap.orange .js-select{
        background-image: url('/wp-content/themes/ptes-theme/assets/img/icons/select-arrow-orange.svg');
    }

    .form--filter--projects .js-select:hover,
    .projects__filter--wrap.orange select:hover {
        background-image: none;
    }

.js-select__option.disabled,
.form--filter--projects option[disabled]{
    background: #eee;
    color: #ccc;
}





.js-select__title {
	color:#032039;
	position: absolute;
	top: 50%;
	left:20px;

	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	max-width:calc(100% - 55px);
	overflow:hidden;
	text-overflow: ellipsis;
	white-space: nowrap;

	-webkit-touch-callout: none; 
    -webkit-user-select: none; 
     -khtml-user-select: none; 
       -moz-user-select: none; 
        -ms-user-select: none; 
            user-select: none;
}

	.js-select.selected .js-select__options{
		display:block;
	}

	.js-select.selected .js-select-title {
		visibility: hidden;
	}

    .js-select::before {
        content: '';
        display: block;
        position: absolute;
        top:20px;
        right:15px;
        
        background: transparent none 0px 0px no-repeat;  
        background-position:-400px -150px;
        height:13px;
        width:17px;
        z-index: 0;
    }	

    .js-select.selected::before {
        background-position: -400px -100px;
    }

    .js-select.selected.multi::before {
    background-position: -650px 0;
        width:15px;
        height:15px;
        top:16px;
    }


    .js-select__options {
        position:absolute;
        background-color:#fff;
        border-top:0px;
        width:calc(100% + 2px);
        margin:0;
        padding:0;
        left: -1px;
        top:100%;
        display:none;
        z-index: 501;
        max-height:150px;
        overflow:auto;
        border:1px solid #e1e1e1;
        border-top:none;
    }

        .js-select__option {
            padding:5px 10px;
            cursor:pointer;
            color:#000;
            font-size: 13px;
            line-height: 26px;
            position:relative;
        }

        .js-select.multi .js-select__option {
            padding-right:35px;
        }

            .js-select__option.disabled {
                cursor:not-allowed;
            }

            .js-select__option:hover {
                background:#e1e1e1;
            }

            .js-select__option__checkbox {
                width:10px;
                height:10px;
                background-color:#fff;
                position:absolute;
                right:15px;
                top:50%;
                -webkit-transform: translateY(-50%);
                -moz-transform: translateY(-50%);
                -ms-transform: translateY(-50%);
                -o-transform: translateY(-50%);
                transform: translateY(-50%);
                -webkit-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.5);
                -moz-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.5);
                box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.5);
                border:1px solid #ddd;
            }

            .js-select__option.selected .js-select__option__checkbox {
                background:#666;
            }



/* .wp-block-embed-youtube.aligncenter {
    display: flex;
    align-items: center;
    flex-direction: column;
}
*/



/* YouTube Icons added May 2020 */

footer .keep-in-touch p a.youtube {
    background-image: url("../assets/img/icons/YouTube-Circle.png");
}

header .header-right .top span.social a.linkedin .fa {
    width: auto;
}

header .tablet-header .left .top a.youtube,
header .header-right .top span.social a.youtube {
    background-image: url("../assets/img/icons/YouTube.svg");
}

.contact__bg .keep-in-touch p.social:last-of-type a.youtube {
    background-image: url("../assets/img/icons/YouTube-Circle.png");
}


.contact__bg.contact__bg .keep-in-touch {
    position: static;
}

.contact__container.contact__container {
    padding-bottom: 20px
}




/* News list with no icon */

.news__content--shallow {
    padding-bottom: 20px;
}




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

    #home-content-wrapper #intro .butterfly.butterfly {
        display: none; 
    }

    #home-content-wrapper #intro#intro {
        background-image: none;
        padding-bottom: 80px;
        padding-top: 30px;
    }

}



.wp-block-columns.has-background {
    /* padding: 20px 30px; */
    padding: 30px;
}

.wp-block-image {
    display: block;
    width: 100%;
    margin: 0 0 1em 0;
}

.wp-block-embed-youtube.aligncenter {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.wp-block-embed-youtube.aligncenter .wp-block-embed__wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.wp-block-embed-youtube.aligncenter .wp-block-embed__wrapper {
	width: 100%;
	height: 0;
	position: relative;
	overflow: hidden;
	padding-bottom: 67.5%;
	 margin-bottom: 20px; 
}

    .wp-block-embed-youtube.aligncenter .wp-block-embed__wrapper iframe {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

/* Fix to work around Edge v18 (last non-Chrome version) 
where image/figures would stretch out beyond 100% */
.wp-block-gallery .blocks-gallery-grid {
    max-width: 100%;
}


/* E.g. ticket events */
.button.button--shop {
    padding: 11px 20px;
}


.corona-mode__inner {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 73.125rem;
}





#gform_wrapper_62 {
    /* padding: 7% 10%; */
    padding: 2% 5%;
}
  
    #field_62_3 {
        padding-right: 0;
    }
  



.page-template-page-ptes-success-story .featured-image h1 {
    /* Default: teal */
}

.page-template-page-ptes-success-story.default .featured-image h1 {
    /* color: #b7c200; */
    color: #ffffff;
}

.page-template-page-ptes-success-story.international .featured-image h1 {
    color: #f39118;
}

.page-template-page-ptes-success-story.kids .featured-image h1 {
    color: #e0006d;
}

.page-template-page-ptes-success-story.templateblue .featured-image h1 {
    color: #009db5;
}


