/* Some CSS */
html {
    scroll-behavior: smooth;
}
main {
    margin-bottom: 5em;
    z-index: 3;
}
.disablelink {
    cursor: not-allowed;
}
/*
 * The Defaults
 */
body {
    background-color: #F7F9FA;
    font-family: proxima-nova, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5rem;
    color: #262626;
    letter-spacing: -0.02em;
    font-weight: 400;
    height: 100%;
}
a {
    cursor: pointer;
    text-decoration: none;
    color: #5F6773;
}
.dp-sitename {
    font-family: roboto-mono, monospace;
    font-weight: 700;
    letter-spacing: 1px;
}
.dp-subtext, .dp-article-subtext {
    font-family: source-serif-pro, serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 2px;
    color: #9b6a6c;
}
.dp-article-subtext {
    text-align: right;
}
.dp-subpage-content p.dp-article-intense {
    font-family: source-serif-pro, serif;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    text-align: center;
    color: #9b6a6c;
    font-size: 26px;
    margin: 3em auto;
}
.dp-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
h2, h3, h4, h5, h6 {
    font-family: alverata-informal, serif;
    font-weight: 600;
    letter-spacing: 1px;
}
.dp-clear:after {
    content: "";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}
span.dp-header-underline {
    border-bottom: 2px solid #f2c57c;
    padding-bottom: .25em;
}

.dp-blog-img {
    width: 75%;

}
/*
 * General Display
 */
.dp-fixed-container {
    max-width: 1220px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
/*
 * Back to top
 */
.scroll-top {
    height: 25px;
    position: fixed;
    display: none;
    z-index: 5;
    bottom: 0;
    left: 0;
    width: 100%;
    border: none;
    background-color: #9b6a6c;
    cursor: pointer;
}
.scroll-top:hover {
    transform: scale(1.1);
}
.scroll-top i {
    display: inline-block;
    color: #FFFFFF;
}
/*
 * The Header
 */
.dp-header-menubar {
    background-color: #fff;
    border-bottom: 1px solid rgba(155,106,108,.35);
    box-shadow: rgba(33,35,38,.1) 0px 10px 10px -10px;
    z-index: 3;
}
.dp-headerhero-bg {
    position: absolute;
    z-index: -1;
    background-color: #9b6a6c;
    height: 750px;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
.dp-headerhero-img {
    background-image: url(../img/a10-05.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.dp-headerhero-img:before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(155,106,108, 0.2);
}
.dp-page-topborder {
    background: rgb(155,106,108);
    background: -moz-linear-gradient(135deg, rgba(155,106,108,1) 0%, rgba(255,107,108,1) 33%, rgba(242,197,124,1) 66%, rgba(155,106,108,1) 100%);
    background: -webkit-linear-gradient(135deg, rgba(155,106,108,1) 0%, rgba(255,107,108,1) 33%, rgba(242,197,124,1) 66%, rgba(155,106,108,1) 100%);
    background: linear-gradient(135deg, rgba(155,106,108,1) 0%, rgba(255,107,108,1) 33%, rgba(242,197,124,1) 66%, rgba(155,106,108,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9b6a6c",endColorstr="#9b6a6c",GradientType=1);
    height: .5em;
    position: relative;
    z-index: 5;
}
.dp-header-siteinfo {
    display: flex;
    flex-direction: row;
    margin: 1em 0;
}
.dp-header-siteinfo img.logo {
    width: 150px;
    margin-right: 1em;
}
.dp-header-h1 {
    font-size: 2.6em;
    margin: 0 0 .25em 0;
    padding: 0;
}
.dp-header-subtext {
    font-size: 1.5em;
    margin: 0 0 0 1em;
    padding: 0;
}
.dp-header-siteinfo-data {
    display: flex;
    flex-direction: column;
    align-self: center;
}
/*
 * Navigation, Primary
 */
.dp-header-topmenu ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.dp-header-topmenu ul li {
    margin: .5em;
    font-size: 1.1em;
}
.dp-header-topmenu ul li a {
    display: block;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid transparent;
    color: #9b6a6c;
    padding: 11px 22px;
}
.dp-header-topmenu ul li a:hover {
    background: #F7F9FA;
    color: #b5787b;
    border: 1px solid #efefef;
}
/*
 * The Content Area
 */
h2:not(.dp-sitename) {
    font-size: 36px;
    border-left: 1px solid #f2c57c;
    border-bottom: 1px solid #f2c57c;
    border-bottom-left-radius: 5px;
    padding: .25em .5em;
    line-height: normal;
}
.dp-subpage-content {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2em 3em;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    letter-spacing: 1px;
}
.dp-subpage-content a {
    border-bottom: 1px solid #ff6b6c;
}
section.dp-subpage-content.dp-first-content {
    margin-top: 250px;
}
.dp-subpage-content ul {
    margin: .5em 3.5em;
}
.dp-subpage-content p {
    margin: 1.5em 0;
}
.dp-subpage-content h3 {
    font-size: 30px;
    border-left: 5px solid #ff6b6c;
    margin-left: 1em;
    padding: .25em 1em;
    line-height: normal;
}
.dp-subpage-content h4 {
    font-size: 22px;
}
.dp-subpage-content h4 i:before {
    color: #f2c57c;
}
.dp-subpage-content figure.codepen-floatright {
    width: 550px;
    float: right;
}
.dp-subpage-content figure.gify-embed-center {
    text-align: center;
}
.dp-subpage-content figure.gify-embed-center img {
    width: 400px;
}
.dp-subpage-content figure.joke-time {
    max-width: 500px;
    margin: auto;
    background-color: #e8e9eb;
    border: 1px solid #fbfbfb;
    box-shadow: rgb(0 0 0 / 15%) 0px 3px 3px 0px;
}
.dp-subpage-content figure.joke-time p.question {
    font-size: 20px;
    font-weight: 800;
    background-color: #e0dfd5;
    border-bottom: 1px solid #f2c57c;
    padding: 1em 1.5em;
    margin-top: 0;
}
.dp-subpage-content figure.joke-time p.answer {
    font-size: 16px;
    padding: 1em 1.5em;
}
.dp-subpage-content figure.joke-time div {
    text-align: center;
}
a.dp-content-cta {
    display: block;
    cursor: pointer;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: #9b6a6c;
    border: 1px solid #ff6b6c;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
    max-width: 300px;
    margin: 2em auto;
}
a.dp-content-cta:hover {
    transform: scale(1.1);
    background-color: #ff6b6c;
}
/*
 * The Footer
 */
.dp-footer-component {
    background-color: #262626;
    color: #e8e9eb;
    z-index: 3;
}
.dp-footer-primary {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f2c572;
}
.dp-footer-about {
    height: 60px;
    border-radius: 8px;
    padding: 8px 12px 8px 8px;
    transition: all 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
}
.dp-footer-logo {
    height: 100px;
    width: 100px;
    min-width: 100px;
    border-radius: 100px;
    margin-right: 15px;
}
.dp-footer-logo img {
    width: 100%;
}
.dp-footer-h2 {
    margin: 0;
    padding: 0;
}
.dp-footer-subtext {
    margin: 0 0 0 1em;
    padding: 0;
}
.dp-footer-main {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    -ms-align-items: flex-start;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    padding-top: 30px;
    padding-bottom: 60px;
    flex-flow:column;
    letter-spacing: 2px;
}
.dp-footer-secondary {
    background-color: #191919;
    padding-top: 20px;
    padding-bottom: 20px;
}
.dp-legal {
    color: #9b6a6c;
    letter-spacing: 1px;
}
.dp-footer-social-nav ul {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    list-style: none;
}
.dp-footer-social-nav a {
    background-color: #262626;
    height: 45px;
    border-radius: 5px;
    margin-left: 10px;
    transition: all 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    color: #FFF;
    font-weight: 500;
    padding-left: 15px;
    padding-right: 15px;
    letter-spacing: 1px;
}
.dp-footer-social-nav a:hover {
    transform: scale(1.1);
    background-color: #464646;
}
.dp-footer-secondary .dp-fixed-container {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
}
.dp-footer-cta {
    display: block;
    cursor: pointer;
    color: #FFF;
    letter-spacing: 1px;
    background-color: transparent;
    border: 1px solid #ff6b6c;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0s;
}
.dp-footer-cta:after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: transform 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transform: translateX(-100%);
    opacity: 1;
    background-color: #9b6a6c;
}
.dp-footer-cta:hover:after {
    transform: translateX(0);
}
/* CODE INLINE
 *
 */
code.inline {
    background-color: #23241f;
    padding: .25em .5em;
}
.inline {
    color: #f8f8f2;
}
.js-method, .js-number {
    color: #ae81ff;
}
.js-variable {
    color: #f8f8f2;
}
.html-class, .js-event {
    color: #e6db59;
}
.html-element, .js-statement {
    color: #f92657;
}
.css-class {
    color: #a6e22e;
}
.css-property {
    color: #66d9ce;
}

/* MOBILE */
@media (max-width: 1050px) {
    .dp-subpage-content figure.codepen-floatright {
        width: 450px;
    }
}
@media (max-width: 999px) {
    .dp-subpage-content figure.codepen-floatright {
        width: auto;
        float: none;
    }
}
@media (max-width: 425px) {
    .dp-flex, .dp-header-siteinfo, .dp-header-topmenu ul, .dp-footer-primary {
        display: block;
    }
    .dp-header-siteinfo {
        text-align: center;
        margin: 0;
    }
    .dp-subtext {
        margin: 0 !important;
    }
    .dp-subpage-content ul {
        margin: 0;
    }
    .dp-subpage-content h3 {
        margin-left: 0;
        padding: .25em;
    }
    main .dp-fixed-container {
        padding-left: 5px;
        padding-right: 5px;
    }
    main .dp-subpage-content {
        padding: .5em 1em;
    }
    .dp-headerhero-bg {
        height: 750px
    }
    .dp-subpage-content figure.codepen-floatright {
        margin: 0 -10px;
    }
    .dp-subpage-content figure.gify-embed-center img, .dp-subpage-content figure.joke-time div img {
        width: 200px;
    }
}
/* Style the modal */
#myModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* Style the modal content */
#myModal .modal-content {
    background-color: #ffa200;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #000;
    width: 60%;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: relative;
    font-family: Arial, sans-serif;
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
}

/* Style the close button */
.close {
    color: #fff;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    background-color: #f00;
    padding: 5px 10px;
    border-radius: 50%;
    line-height: 1;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.close:hover,
.close:focus {
    background-color: #d00;
}

/* Style the violation details */
.violation-details {
    padding-top: 20px;
    border-top: 1px solid #000;
    margin-top: 20px;
}

.violation-details p {
    margin: 0;
    padding: 0;
}

.violation-details h2 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1c1c1c;
}

.violation-details ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.violation-details li {
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.violation-details li strong {
    font-weight: bold;
}