/* Style Sheet: elisabethkellyboathousegallery.com --- Author: Billy Hardy - capecodwebsitedesign.com */

body {
    background: #edfsfa;
    color: #222;
    font-family: 'Open Sans';
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('opensans-regular-webfont.woff2') format('woff2'),
        url('opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sansitalic';
    src: url('opensans-italic-webfont.woff2') format('woff2'),
        url('opensans-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Playwrite IN';
    src: url('PlaywriteIN-Regular.woff2') format('woff2'),
        url('PlaywriteIN-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Playwrite CO';
    src: url('PlaywriteCO-Regular.woff2') format('woff2'),
        url('PlaywriteCO-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1 {
    font-family: 'Playwrite CO';
    color: #222;
}

h2 {
    font-family: 'open_sansregular';
    color: #222;
}

h3 {
    font-family: 'open_sansitalic';
    color: #111;
}

h4 {
    font-family: 'open_sansitalic';
}

h5 {
    font-family: 'open_sansregular';
}


p {
    font-size: 1.1rem;
    font-family: 'open_sansregular';
    text-align: justify !important;
    color: #222;
}

address {
    color: #222;
    font-family: 'open_sansregular';
    font-size: 1.1rem;
}

.blockquote-footer {
    font-size: 1.1rem;
}

.nav-item {
    font: normal 22px 'cormorantmedium', georgia, serif;
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
}

.nav-link:focus,
.nav-link:hover {
    text-decoration: none;
    outline: none;
}

.nav-link.disabled {
    color: #868e96;
}

a {
    text-decoration: none;
    color: #222;
    font-family: 'open_sansregular';
    outline: none;
}

a:hover {
    color: #777 !important;
}

a:focus,
a:hover {
    outline: none;
    border: none;
    color: #777;
}

a:visited {
    color: #222; 
}

button {
    outline: none;
}

button:focus {
    outline: none;
}

button:visited {
    outline: none;
}

.btn:focus {
    outline: none !important;
}

.blockquote-footer {
    margin-top: -1rem;
    margin-bottom: 1rem;
    font-size: 0.875em;
    color: #6c757d;
}

.dok h3 {
    float: left;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: none;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}


@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none;
    }
}

@media (min-width: 240px) {
    h1.resp {
        font-size: 1.5rem;
        text-align: center;
    }

    h2.resp {
        font-size: 0.8rem;
    }

    h3.resp {
        font-size: 0.7rem;
    }

    p.resp {
        font-size: 0.6rem;
    }
}

@media (min-width: 280px) {
    h1.resp {
        font-size: 1.5rem;
        text-align: center;
    }

    h2.resp {
        font-size: 1rem;
    }

    h3.resp {
        font-size: 0.8rem;
    }

    p.resp {
        font-size: 0.6rem;
    }
}

@media (min-width: 320px) {
    h1.resp {
        font-size: 1.8rem;
        text-align: center;
    }

    h2.resp {
        font-size: 1.1rem;
    }

    h3.resp {
        font-size: 1rem;
    }

    p.resp {
        font-size: 0.8rem;
    }
}

@media (min-width: 360px) {
    h1.resp {
        font-size: 1.6rem;
        text-align: center;
    }

    h2.resp {
        font-size: 1.3rem;
    }

    h3.resp {
        font-size: 1rem;
    }

    p.resp {
        font-size: 0.8rem;
        text-align: left;
    }
}

@media (min-width: 375px) {
    h1.resp {
        font-size: 1.7rem;
        text-align: center;
    }

    h2.resp {
        font-size: 1.4rem;
    }

    h3.resp {
        font-size: 1rem;
    }

    p.resp {
        font-size: 0.9rem;
        text-align: left;
    }
}

@media (min-width: 480px) {
    h1.resp {
        font-size: 2rem;
        text-align: center;
    }

    h2.resp {
        font-size: 1.6rem;
    }

    h3.resp {
        font-size: 1.2rem;

    }

    p.resp {
        font-size: 0.9rem;
    }
}

@media (min-width: 576px) {
    h1.resp {
        font-size: 2rem;
        text-align: center
    }

    h2.resp {
        font-size: 1.5rem;
    }

    h3.resp {
        font-size: 1.2rem;
    }

    p.resp {
        font-size: 1rem;
    }
}

@media (min-width: 667px) {
    h1.resp {
        font-size: 2rem;
        text-align: center
    }

    h2.resp {
        font-size: 1.5rem;
    }

    h3.resp {
        font-size: 1.2rem;
    }

    p.resp {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    h1.resp {
        font-size: 2rem;
        text-align: center;
    }

    h2.resp {
        font-size: 1.8rem;
    }

    h3.resp {
        font-size: 1.2rem;
    }

    p.resp {
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
    h1.resp {
        font-size: 2.2rem;
    }

    h2.resp {
        font-size: 2rem;
    }

    h3.resp {
        font-size: 1.4rem;
    }

    p.resp {
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {
    h1.resp {
        font-size: 2.2rem;
    }

    h2.resp {
        font-size: 2rem;
    }

    h3.resp {
        font-size: 1.4rem;
    }

    p.resp {
        font-size: 1.2rem;
    }
}

/*
@-webkit-keyframes zoom {
    from { -webkit-transform: scale(1); }
    to { -webkit-transform: scale(1.5); }
}
@keyframes zoom {
    from { transform: scale(1); }
    to { transform: scale(1.5); }
}

.carousel-item img {
    -webkit-animation: zoom 20s; 
    animation: zoom 20s; 
}

*/

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

.mb-n1 {
    margin-bottom: -0.5rem !important;

}

.text-shadow {
    text-shadow: 1px 1px 1px #444;
}


@keyframes zoom {
    from {
        transform: scale(1, 1);
    }
    to {
        transform: scale(1.5, 1.5);
    }
}

.burns > img {
    -webkit-animation: zoom 20s;
    animation: zoom 20s linear infinite;
}