/** */
body {
    overflow-x: hidden;
}

.center-row {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .center-row {
        flex-direction: column;
    }
}

.feature-accordion,
.feature-content-grid {
    padding: 4rem 0!important;
}

.feature-welcome-panel-wvideo {
    font-size: 24px;
}

.feature-welcome-panel-wvideo.reverse {
    flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
    .feature-welcome-panel-wvideo.reverse {
        flex-direction: row;
    }
}

.feature-welcome-panel-wvideo.with-star-burst {
    position: relative;
}

.feature-welcome-panel-wvideo.with-star-burst .star-burst {
    background: url('../images/starbursts-trails-3.png') center no-repeat;
    background-size: contain;
    height: 246px;
    width: 561px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.feature-welcome-panel-wvideo p {
    line-height: 1.3;
}

/** New Header style */
.header-style--text-left {
    padding: 3rem 0!important;
}

.header-style--text-left .split-row {
    align-items: center;
    display: flex;
}

@media screen and (max-width: 768px) {
    .header-style--text-left .split-row {
        flex-direction: column;
    }
}

.header-style--text-left .split-row h2,
.header-style--text-left .split-row p,
.header-style--text-left .split-row img {
    margin-bottom: 0!important;
}

.header-style--text-left .split-row h1 {
    text-transform: none;
    font-size: 75px;
    line-height: 1;
    margin-bottom:20px;
}

.header-style--text-left .split-row p {
    font-size: 26px;
}

.bg-orange,
.flexible-resource-row .resources-container .resource-item.orange .image {
    background-color: #f7951d;
}

.bg-pink,
.flexible-resource-row .resources-container .resource-item.pink .image {
    background-color: #f173ac;
}

.bg-yellow,
.flexible-resource-row .resources-container .resource-item.yellow .image {
    background-color: #ffdd00;
}

.flexible-event-block-container {
    margin: 1rem auto;
}

@media screen and (min-width: 768px) {
    .flexible-event-block-container {
        margin: 5rem auto;
    }
}

.event-block-container {
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
}

.event-block-container .event-block-item {
    margin-bottom: 1rem;
    border-radius: 4px;
    padding: 2rem;
}

@media screen and (min-width: 768px) {
    .event-block-container .event-block-item {
        margin: .5%;
    }
}

.event-block-container .event-block-item .row {
    align-items: center;
    display: flex;
    height: 100%;
}

.event-block-container .event-block-item .block-head {
    margin-bottom: 1rem;
}

.event-block-container .event-block-item .block-content {
    margin-bottom: 1rem;
}

.event-block-container .event-block-item .block-link a {
    text-decoration: underline;
}

.event-block-container .event-block-item h3,
.event-block-container .event-block-item p {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1;
}

.event-block-container .event-block-item h3 {
    font-size: 38px;
}

.event-block-container .event-block-item.full {
    width: 100%;
}

.event-block-container .event-block-item.half .image-half {
    padding: 0;
}

.event-block-container .event-block-item .image-half > span {
    position: relative;
}

@media screen and (max-width: 768px) {
    .event-block-container .event-block-item > .row {
        flex-direction: column;
    }
    .event-block-container .event-block-item.half .columns {
        float: none;
    }
    .event-block-container .event-block-item .image-half {
        margin-top: 1rem;
    }
    .event-block-container .event-block-item.half .image-half {
        display: none;
    }
}

.event-block-container .event-block-item.half .image {
    background-position: center;
    background-size: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    height: 220px;
    width: 220px;
}

@media screen and (min-width: 768px) {
    .event-block-container .half {
        width: 49%;
    }
}

.event-block-container .event-block-item .video-link {
    cursor: pointer;
}

.event-block-container .event-block-item .video-link .play-icon {
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}

/*  */
.event-block-lightbox {
    background: rgba(0,0,0,.5);
    justify-content: center;
    pointer-events: none;
    align-items: center;
    position: fixed;
    display: flex;
    height: 100vh;
    z-index: 9999;
    width: 100vw;
    opacity: 0;
    left: 0;
    top: 0;
}

.event-block-lightbox.show {
    pointer-events: auto;
    opacity: 1;
}

.event-block-lightbox iframe {
    max-width: 100%;
}

@media screen and (max-width: 768px) {
    .event-block-lightbox iframe {
        height: auto;
        width: auto;
    }
}

/** Resource Row **/
.flexible-resource-row {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    width: 100%;
}

.flexible-resource-row h2,
.feature-accordion h2{
    font-size: 38px;
}

.flexible-resource-row + .flexible-resource-row:before {
    content: '';
    display: block;
    max-width: 75rem;
    height: 1px;
    background: #0093d5;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

@media screen and (max-width: 768px) {
    .flexible-resource-row + .flexible-resource-row:before {
        max-width: 75%;
    }
}

.flexible-resource-row .resource-navigation-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.flexible-resource-row .resource-navigation-container a {
    text-decoration: underline;
}

.flexible-resource-row .resources-navigation {
    margin-left: 1rem;
}

.flexible-resource-row .resources-navigation .resources-navigation-button {
    display: inline-block;
    font-size: 36px;
    color: #0093d5;
    line-height: 1;
    padding: 0 1rem;
    background-size: cover;
    background: url('../images/icons/Chevron_Left.png') center;
    width: 50px;
    height: 40px;
}

.flexible-resource-row .resources-navigation .resources-navigation-button[data-direction="next"] {
    transform: scale(-1);
}

.flexible-resource-row .resources-container {
    flex-direction: row;
    position: relative;
    margin: 3rem 0;
    display: flex;

    left: 0;

    transition: 200ms ease-in;

}

.flexible-resource-row .resources-container .resource-item {
    padding-right: 2rem;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: content-box;
    height: 100%;
}

.flexible-resource-row .resources-container .resource-item .image {
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0093d5;
    background-size: cover;
    margin-bottom: 2rem;
    border-radius: 50%;
    display: flex;
    height: 200px;
    width: 200px;

    text-align: center;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    line-height: 1;

}

.flexible-resource-row .resources-container .resource-item .image > span {
    width: 75%;
}

.flexible-resource-row .resources-container .resource-item h4 {
    font-size: 22px;
    line-height: 1;
}

.flexible-resource-row .resources-container .resource-item .primary-term {
    line-height: 1;
    color: #0093d5;
}

.flexible-resource-row .resources-container .resource-item .download-link {
    font-size: 20px;
    margin-bottom: 0;
}

.flexible-resource-row .resources-container .resource-item .download-link span {
    text-decoration: underline;
}

.flexible-resource-row .resources-container .resource-item .download-link svg {
    color: #0093d5;
}

.flexible-resource-row .resources-container .resource-item.orange .primary-term,
.flexible-resource-row .resources-container .resource-item.orange .download-link .fa {
    color: #f7951d;
}
.flexible-resource-row .resources-container .resource-item.pink .primary-term,
.flexible-resource-row .resources-container .resource-item.pink .download-link .fa {
    color: #f173ac;
}
.flexible-resource-row .resources-container .resource-item.yellow .primary-term,
.flexible-resource-row .resources-container .resource-item.yellow .download-link .fa {
    color: #ffdd00;
}

@media screen and (max-width: 768px) {
    .flexible-resource-row {
        padding: 2rem 0;
    }

    .flexible-resource-row > .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .flexible-resource-row .resource-navigation-container {
        flex-direction: row;
        justify-content: start;
    }

    .flexible-resource-row .resource-navigation-container .resources-navigation {
        display: none;
    }

    .flexible-resource-row .resources-container {
        overflow-x: scroll;
    }

}

/** Update accordions **/
@media screen and (max-width: 768px) {
    .feature-accordion .center-row {
        flex-direction: column;
    }
}

.accordion {
    border: none;
}

.accordion-item {
    border-bottom: 1px solid #0093d5;
}

.accordion-title {
    background: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    padding: 1.25rem 0;
}

.accordion-title:hover,
.accordion-title:focus {
    background: none;
}

.accordion-title:before {
    display: none;
}

.accordion-title .accordion-icon {
    border: 1px solid #0093d5;
    background: #0093d5;
    color: #0093d5;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    min-height: 40px;
    min-width: 40px;
    position: relative;
}

.accordion-title .accordion-icon:before,
.accordion-title .accordion-icon:after {
    content: '';
    display: block;
    width: 20px;
    height: 3px;
    border-radius: 5px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 200ms ease-in;
}

.accordion-title .accordion-icon:after {
    width: 3px;
    height: 20px;
}

.accordion-item.is-active .accordion-title .accordion-icon {
    background: none;
    transition: 200ms;
}

.accordion-item.is-active .accordion-title .accordion-icon:before,
.accordion-item.is-active .accordion-title .accordion-icon:after {
    background: #0093d5;
}

.accordion-item.is-active .accordion-title .accordion-icon:after {
    height: 0;
}

.accordion-content {
    padding: 0;
    width: 85%;
}

/** Update Content grid **/
.feature-content-grid h2 {
    text-transform: none;
    font-size: 50px;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .feature-content-grid .content-grid--item {
        margin-bottom: 2rem;
    }
}

.feature-content-grid .content-grid--item .content-grid--image {
    display: flex;
    width: 100%;
    height: 240px;
    background-color: #0093d5;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-content-grid .content-grid--item h5 {
    margin-bottom: 0;
}

.feature-content-grid .content-grid--item .content-grid--excerpt {
    margin: .5rem 0 0;
}

.feature-content-grid .content-grid--item .content-grid--event-details {
    margin-bottom: 0;
}

.feature-content-grid .content-grid--item .content-grid--link {
    display: inline-block;
    margin-top: .5rem;
    text-decoration: underline;
}

/** Star burst */
.star-burst {
    position: absolute;
    background: url('../images/starbursts-trails-1.png') center;
    background-size: cover;
    bottom: -5%;
    left: -25%;
    width: 550px;
    height: 550px;
}

.star-burst-2 {
    background: url('../images/starbursts-trails-2.png') center;
    bottom: auto;
    left: auto;
    right: -20%;
    top: -20%;
    z-index: -1;
}


.page-card__image img{
    width: 270px;
    height: 270px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    object-position: center;
}
.page-card__title {
    text-transform: none;
    line-height: 2.4rem;
    font-size: 2rem;
}
.page-card p{
    margin-bottom: 1rem;
}
.page-card__read-more{
    text-decoration: underline;
}

.flexible-page-links .row{
    display:flex;
    flex-wrap: wrap;
}
@media screen and (max-width: 1200px) {
    .page-card__image img {
        width: 220px;
        height: 220px;
    }
    .flexible-page-links .column{
        margin-bottom: 1rem;
    }
    .flexible-page-links .column:last-of-type{
        margin-bottom: 0;
    }
}

@media screen and (max-width: 1024px) {
    .page-card__image img {
        width: 270px;
        height: 270px;
    }
}

@media screen and (max-width: 992px) {
    .page-card__title {
        text-transform: none;
        line-height: 2.2rem;
        font-size: 1.7rem;
    }
}

/* -- HTTYD -- */
.header-style--full-width {
    background-size: cover;
    background-position: center;
    height: 780px;
}

@media screen and (max-width: 768px) {
    .header-style--full-width {
        height: 400px;
    }
}

.content-grid--item a {
    color: inherit;
}

.httyd-blocks--block {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.httyd-blocks--block:first-of-type:after {
    content: '';
    display: block;
    position: absolute;
    top: 3rem;
    right: -4rem;
    width: 250px;
    height: 170px;
    background: url('../images/Toothless.png') no-repeat center;
    background-size: contain;
    transform: scaleX(-1) rotate(325deg);
}

.httyd-blocks--block-inner {
    max-width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.httyd-blocks--block-image {
    height: 300px;
    width: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.parchment {
    position: relative;
    padding: 2rem 2rem 4rem 2rem;
    margin: 6rem auto;
    max-width: 75%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../images/parchment.png');
}

@media screen and (min-width: 768px) {
    .parchment {
        padding: 5rem 3rem;
    }
}

@media screen and (min-width: 992px) {
    .parchment {
        background-size: contain;
    }
}

.parchment p:last-child {
    margin-bottom: 0.5rem;
}

.parchment p:first-child {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 2rem!important;
}
@media screen and (min-width: 992px) {
    .parchment p:first-child {
        margin-bottom: 1.5rem;
        font-size: 1.55rem;
        line-height: 2.1rem!important;
    }
}


.parchment:before,
.parchment:after {
    content: '';
    display: block;
    position: absolute;
    top: -6rem;
    left: -7rem;
    width: 250px;
    height: 100px;
}

@media screen and (min-width: 768px) {
    .parchment:before,
    .parchment:after {
        top: -16%;
        left: -15%;
    }
}

.parchment:after {
    width: 240px;
    height: 155px;
    top: 93%;
    right: -4rem;
    left: auto;
    background: url('../images/HiccupRidingDragon.png') no-repeat center;
    background-size: contain;
}

@media screen and (min-width: 768px) {
    .parchment:after {
        top: 78%;
        width: 300px;
        right: -6rem;
        height: 220px;
    }
}

@media screen and (min-width: 992px) {
    .parchment:after {
        top: 70%;
        width: 315px;
        right: -6rem;
        height: 230px;
    }
}

.parchment:before{
    background-image:url('../images/doodle.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 313px;
    height: 138px;
    background-position: center;
}
@media screen and (min-width: 768px) {
    .parchment:before{
        width: 337px;
        height: 162px;
        top: -3.5rem;
    }
}
@media screen and (min-width: 992px) {
    .parchment:before{
        width: 357px;
        height: 182px;
        top: -4.2rem;
    }
}


.dragon-styling {
    position: relative;
    margin: 3rem auto 5rem auto;
}
@media screen and (min-width: 992px) {
    .dragon-styling {
        margin: 0 auto 5rem auto;
    }
}

.dragon-styling:before {
    content: '';
    display: block;
    position: absolute;
    top: -5rem;
    left: 3rem;
    width: 150px;
    height: 100px;
    background: url('../images/dragons.png') center no-repeat;
    background-size: contain;
}

.dragon-styling ul li::marker {
    color: #c63435;
}

/**/
.flexible-httyd-logos {
    background: url('../images/dragon_bg.png');
    margin-top: -1rem;
    padding: 4rem 0;
    background-size:cover;
    background-position: bottom;
}

.flexible-httyd-logos .row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flexible-httyd-logos img {
    width: 100%;
    max-width: 27rem;
    max-height: 14rem;
    object-fit: contain;
}


/* train dragon page */
.page-how-to-train-your-dragon-20-years .section.row.feature-welcome-panel-text-only {
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}
.page-how-to-train-your-dragon-20-years .section.row.feature-welcome-panel-text-only p {
    max-width: 56rem;
    margin: 0 auto;
    font-size: 1.4rem;
    line-height: 2.1rem;
}

.page-how-to-train-your-dragon-20-years .section.row.feature-welcome-panel-text-only p.books-banner {
    max-width: 76rem;
}

@media screen and (min-width: 40em){
    .page-how-to-train-your-dragon-20-years .section.row.feature-welcome-panel-text-only p {
        font-size: 1.8rem;
        line-height: 2.5rem;
    }
}

.page-how-to-train-your-dragon-20-years .httyd-blocks--block-inner h4{
    margin-bottom: 1rem;
    min-height: 4.4rem;
    display: flex;
    align-items: center;
    align-content: center;
    max-width: 22rem;
    text-transform: capitalize;
    font-size: 1.8rem;
    line-height: 2.4rem;
}
@media screen and (min-width: 40em){
    .page-how-to-train-your-dragon-20-years .httyd-blocks--block-inner h4{
        font-size: 2.1rem;
        line-height: 2.7rem;
    }
}


.page-how-to-train-your-dragon-20-years .flexible-httyd-blocks {
    margin-top: 1rem;
}
@media screen and (min-width: 40em){
    .page-how-to-train-your-dragon-20-years .flexible-httyd-blocks {
        margin-top: 3rem;
    }
}

.page-how-to-train-your-dragon-20-years .httyd-blocks--block-inner p {
    font-size: 1.4rem;
    line-height: 1.9rem;
}


.page-how-to-train-your-dragon-20-years .feature-welcome-panel-text-only h2{
    font-size: 2.7rem;
    line-height: 3rem;
    margin: 0 auto;
    margin-bottom: 1rem;
    max-width: 58rem;
}

@media screen and (min-width: 40em){
    .page-how-to-train-your-dragon-20-years .feature-welcome-panel-text-only h2{
        font-size: 3.6rem;
        line-height: 4.3rem;
        margin-bottom: 1.6rem;
    }
}

.page-how-to-train-your-dragon-20-years #wrap .section.gravity-form-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.page-how-to-train-your-dragon-20-years #wrap .section.gravity-form-section label{
    font-size: 22px;
    line-height:31px;
}
.page-how-to-train-your-dragon-20-years #wrap .section.gravity-form-section label.gfield_consent_label{
    font-size:18px;
    line-height:25px;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section input#gform_submit_button_15 {
    background-color: white;
    padding: 0.7rem 1rem 0.5rem 1rem;
    margin-top: 2rem;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section form{
    max-width:900px;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section textarea, .page-how-to-train-your-dragon-20-years .section.gravity-form-section [type='text'] {
    font-size: 18px;
    line-height: 25px;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section .gfield_checkbox label {
    font-size: 18px!important;
    line-height: 25px!important;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section fieldset legend {
    font-size: 22px;
    line-height:31px;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type='text']{
    padding: 12px 12px 8px 12px;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section textarea{
    padding: 1rem;
}
.page-how-to-train-your-dragon-20-years .ginput_container.ginput_container_consent {
    display: flex;
    align-items: center;
}
.page-how-to-train-your-dragon-20-years .ginput_container.ginput_container_consent label{
    padding-left: 5px;
}
.page-how-to-train-your-dragon-20-years .ginput_container.ginput_container_consent input{
    margin-top: -4px!important;
}

.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type="radio"]{
    position: relative;
    margin: 0;
    width:16px;
    height:16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 50%;
    border:0;
    outline:none;
    background-color:white;
    box-shadow:none;
    appearance: none;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type="radio"]:hover{
    cursor:pointer;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type="radio"]:after{
    position:absolute;
    left: 3px;
    top: 3px;
    width: 10px;
    height: 10px;
    content:"";
    background-color:black;
    opacity:0;
    transition:0.2s;
    border-radius: 50%;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type="radio"]:checked:after{
    opacity:1;
    transition:0.3s;
}



.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type="checkbox"]{
    position: relative;
    margin: 0;
    width:16px;
    height:16px;
    min-width: 16px;
    min-height: 16px;
    border:0;
    outline:none;
    background-color:white;
    box-shadow:none;
    appearance: none;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type="checkbox"]:hover{
    cursor:pointer;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type="checkbox"]:after{
    position:absolute;
    left:0;
    top:0;
    width:20px;
    height:20px;
    background-repeat: no-repeat;
    content:"";
    opacity:0;
    transition:0.2s;
    background-image: url("data:image/svg+xml,%0A%3Csvg id='SVGDoc' width='24' height='20' xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:avocode='https://avocode.com/' viewBox='0 0 24 20'%3E%3Cdefs%3E%3C/defs%3E%3Cdesc%3EGenerated with Avocode.%3C/desc%3E%3Cg%3E%3Cg clip-path='url(%23clip-7C5301D8-A64D-4540-B431-B9CE490B6C0B)'%3E%3Ctitle%3EFill 1%3C/title%3E%3Cpath d='M6.24512,17.39502c0.55334,0.60498 1.10663,1.15796 1.65997,1.73706c0.55566,0.58154 1.59906,0.34814 2.00665,-0.2312c0.90564,-1.28687 1.85669,-2.54785 2.85333,-3.77979c0.23492,-0.30273 0.49292,-0.60376 0.74353,-0.90308c0.11688,-0.13989 0.23438,-0.27905 0.35248,-0.41797c0.06744,-0.07935 0.13892,-0.15845 0.20282,-0.23779c0.03394,-0.03931 0.06873,-0.07837 0.10205,-0.11841c-0.04034,0.04834 -0.16595,0.17065 -0.04651,0.05371c0.52179,-0.60034 1.05292,-1.19385 1.59546,-1.77905c0.61371,-0.66187 7.14484,-8.25195 7.78522,-8.89331c0.44482,-0.44604 0.49988,-1.18262 0,-1.61621c-0.50012,-0.39917 -1.3316,-0.47632 -1.80688,0c-2.33588,2.34033 -10.40765,11.79102 -12.3844,14.34912c-0.54968,0.7207 -1.08392,1.44189 -1.60352,2.18921c0.66888,-0.07715 1.29468,-0.1543 2.00665,-0.2312c-1.95111,-2.04199 -3.9024,-4.0835 -5.85376,-6.12524c-0.55334,-0.5791 -1.10663,-1.15796 -1.65997,-1.73706c-0.43579,-0.45605 -1.36499,-0.43066 -1.80688,0c-0.49835,0.4856 -0.46497,1.12964 0,1.61621z' fill='%23000000' fill-opacity='1'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 19px;
}
.page-how-to-train-your-dragon-20-years .section.gravity-form-section input[type="checkbox"]:checked:after{
    opacity:1;
    transition:0.3s;
}

h2.lowercase{
    text-transform: capitalize;
}

.image-with-links .row{
    align-items: center;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

.image-with-links img{
    margin: 0 auto;
    width: 100%;
    max-width: 21rem;
    display: block;
    margin-top:30px;
}

.image-with-links{
    padding: 3rem 0!important;
    overflow: hidden;
}

.image-with-links__links{
    list-style-type: none;
    margin:0;
}

.image-with-links__links li a{
    text-decoration: underline;
    text-underline-offset: 5px;
}

.image-with-links__links li a{
    padding-left:30px;
    position: relative;
}

.image-with-links__links li a:before{
    position: absolute;
    left: 0;
    top: -3px;
    content:"";
    width: 20px;
    height: 23px;
    background-size:20px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' style='enable-background:new 0 0 512 512;' xml:space='preserve'%3E%3Cpath d='M366.3,381.1c-8.76-3.81-14.42-12.45-14.42-21.1l0-80H24c-13.25,0-24-10.75-24-23.1s10.75-24,24-24h327.9l0-79.1 c0-9.55,5.66-18.19,14.42-22c8.75-3.81,18.95-2.07,25.94,4.41l112.1,104c10.23,9.5,10.23,25.69,0,35.19l-112.1,104 C385.3,384.1,375.1,385.8,366.3,381.1z'/%3E%3C/svg%3E%0A");
}


.image-with-links p:last-of-type{
    margin-bottom: 20px;
}

.image-with-links__links li a.download:before{
    top: 0;
    content:"";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M352 512H96c-53.02 0-96-42.98-96-96v-72C0 330.7 10.75 320 24 320c13.26 0 24 10.75 24 24V416c0 26.4 21.6 48 48 48h256c26.4 0 48-21.6 48-48v-72c0-13.25 10.75-24 24-24c13.26 0 24 10.75 24 24V416C448 469 405 512 352 512zM240.4 345.5l136-128c9.688-9.094 10.12-24.28 1.031-33.91c-9.062-9.656-24.25-10.12-33.91-1.031L248 272.4V24C248 10.75 237.3 0 224 0S200 10.75 200 24v248.4L104.4 182.5C94.78 173.4 79.59 173.9 70.53 183.6C66.16 188.2 64 194.1 64 200c0 6.375 2.531 12.75 7.562 17.47l136 128C216.8 354.2 231.2 354.2 240.4 345.5z'/%3E%3C/svg%3E");
}

.image-with-links.bg-white li a:before{
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' style='enable-background:new 0 0 512 512;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%230093D5;%7D%0A%3C/style%3E%3Cpath class='st0' d='M366.3,381.1c-8.76-3.81-14.42-12.45-14.42-21.1l0-80H24c-13.25,0-24-10.75-24-23.1s10.75-24,24-24h327.9 l0-79.1c0-9.55,5.66-18.19,14.42-22c8.75-3.81,18.95-2.07,25.94,4.41l112.1,104c10.23,9.5,10.23,25.69,0,35.19l-112.1,104 C385.3,384.1,375.1,385.8,366.3,381.1z'/%3E%3C/svg%3E%0A");
}
.image-with-links.bg-white li a.download:before{
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 448 512' style='enable-background:new 0 0 448 512;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%230093D5;%7D%0A%3C/style%3E%3Cpath class='st0' d='M352,512H96c-53,0-96-43-96-96v-72c0-13.3,10.8-24,24-24c13.3,0,24,10.8,24,24v72c0,26.4,21.6,48,48,48h256 c26.4,0,48-21.6,48-48v-72c0-13.2,10.8-24,24-24c13.3,0,24,10.8,24,24v72C448,469,405,512,352,512z M240.4,345.5l136-128 c9.7-9.1,10.1-24.3,1-33.9c-9.1-9.7-24.2-10.1-33.9-1L248,272.4V24c0-13.2-10.7-24-24-24s-24,10.8-24,24v248.4l-95.6-89.9 c-9.6-9.1-24.8-8.6-33.9,1.1c-4.4,4.6-6.5,10.5-6.5,16.4c0,6.4,2.5,12.8,7.6,17.5l136,128C216.8,354.2,231.2,354.2,240.4,345.5z'/%3E%3C/svg%3E%0A");
}






.image-with-links__image.show-starburst{
    position: relative;
}
.image-with-links__image.show-starburst img{
    position: relative;
    z-index: 2;
}
.image-with-links__image.show-starburst:before{
    content: "";
    position: absolute;
    top: -17rem;
    width: 36rem;
    height: 45rem;
    left: -9rem;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(118deg);
    z-index: 1;
    background-image:url('/wp-content/themes/wbd-2015/images/starbursts-trails-03.png');
}

.bg-blue .image-with-links__image.show-starburst:before {
    top: -7rem;
    left: -7rem;
}

.image-with-links h2 {
    font-size: 1.8rem;
}



@media screen and (min-width: 40em){

    .image-with-links h2 {
        font-size: 2.5rem;
    }

    .image-with-links__image.show-starburst:before{
        top: -17rem;
        width: 36rem;
        height: 45rem;
        left: -9rem;
        transform: rotate(118deg);
    }

    .bg-blue .image-with-links__image.show-starburst:before {
        top: -4rem;
        left: -7rem;
    }

    .image-with-links .row{
        flex-wrap: nowrap;
    }
    .image-with-links img{
        margin-top: 0px;
        padding-left: 2rem;
        max-width: 29rem;
    }
    .image-with-links.reverse .row{
        flex-direction: row-reverse;
    }
    .image-with-links.reverse img {
        padding-right:2rem;
        padding-left:0;
    }
}

#feature_gallery h2 {
    text-transform: capitalize;
    max-width: 63rem;
    margin:0 auto;
    margin-bottom:30px;
    margin-top:20px;
}
#feature_gallery h2.center {
    text-align:center;
}

.gallery--show-starburst{
    position: relative;
    overflow: hidden;
}

.gallery--show-starburst .row{
    position: relative;
    z-index: 2;
}

.gallery--show-starburst:before, .gallery--show-starburst:after{
    position: absolute;
    width: 27rem;
    height: 23rem;
    content:"";
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    background-image:url('/wp-content/themes/wbd-2015/images/starbursts-trails-03.png');
}

.gallery--show-starburst:before{
    top: 7rem;
    left: -10rem;
}

.gallery--show-starburst:after{
    bottom: -3rem;
    right: -13rem;
    transform: rotate(-87deg);
}
@media screen and (min-width: 40em){
    .gallery--show-starburst:before, .gallery--show-starburst:after{
        width: 32rem;
        height: 28rem;
    }
    .gallery--show-starburst:before{
        top: auto;
        left: -6rem;
        bottom: -4rem;
    }
    .gallery--show-starburst:after{
        top: -2rem;
        bottom: auto;
        right: -8rem;
    }
}

/** Book Seller Map **/
.book-seller-map #leaflet-map {
    height: 550px;
}

.leaflet-tile-pane .leaflet-tile {
    filter: grayscale(100%);
}

.leaflet-control-search input.search-input {
    box-shadow: 0px 0px 0 2px rgb(0 0 0 / 20%);
    border-radius: 2px;
    min-width: 250px;
    font-family: "Klinic Slab Book",Georgia,"Times New Roman",serif;
    font-size: 18px;
    margin-bottom: 0;
    height: 2.5rem;
}

.leaflet-control-search ul.search-tooltip {
    list-style: none;
    margin-left: 0;
    border-radius: 2px;
}

.leaflet-control-search ul.search-tooltip li {
    padding: .5rem 1rem;
    background-color: #fff;
    cursor: pointer;
}

.leaflet-control-search ul.search-tooltip li:hover {
    background-color: #f5f5f5;
}

.leaflet-control-search .search-cancel {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 2.5rem;
    font-size: 24px;
    text-align: center;
    padding-right: 1.5rem;
}

.leaflet-control-search .search-cancel:hover  {
    text-decoration: none;
}

.marker-cluster-small,
.marker-cluster-small div {
    background-color: rgba(249, 220, 10, 0.6) !important;
    border-radius: 50%!important;
}

.marker-cluster-medium,
.marker-cluster-medium div {
    background-color: rgba(236, 0, 140, 0.6) !important;
    border-radius: 50%!important;
}

.marker-cluster-large,
.marker-cluster-large div {
    background-color: rgba(0, 147, 213, 0.6) !important;
    border-radius: 50%!important;
}

.breadcrumbs a {
    color: #000;
}
