#ticker {
    background: #000000;
    color: #fff;
    width: 100%;
    display: block;
    height: 30px;
    overflow-x: hidden;
}

#ticker span, #ticker .marquee {
    float:left;
    line-height: 22px;
}

.marquee::before {
    content: 'UPDATE';
    float: left;
    padding: 0 10px 0 10px;
    background: #cc0000;
    position: relative;
    z-index: 1;
    font-weight:bold;
    height: 100%;
    line-height: 30px;
    margin-right: 10px;
}

#ticker .marquee > div {
    padding-top:3px;
    padding-bottom:2px;    
}

.post-edit-link {
	position:fixed;
	top:200px;
	right:0;
	padding:10px;
	color:#fff !important;
	z-index:100000;
	background:var(--links);
	text-decoration: none;
	font-size:14px;
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

* {
    outline: none;
}

body {
    font-size: 16px;
    color: #404041;
}

a {
    color: var(--links);
    text-decoration: none; 
}

a:hover {
    text-decoration: underline;
}

.logo {
    max-height: 60px;
    max-width: 300px;
    width: 100%;
}

ul {
    padding-left: 0;
}

ul.numbered, ul.bulleted {
    padding-left: .5rem;
}

ul.numbered li {
    list-style-type: decimal;
}

ul.bulleted li {
    list-style-type: disc;
}

li {
    list-style-type: none;
}

.button, button {
    display: inline-block;
    background-color: var(--links);
    color: #ffffff !important;
    padding: .5rem 1.5rem;
    border-radius: .5rem;
    line-height: 1.5;
    cursor: pointer;
    white-space: nowrap;
}

.button:hover, button:hover {
    filter: brightness(1.25);
    text-decoration: none;
}

h1 {
    margin-top: 0;
}



/* ============================================ */
/* HEADER                                       */
/* ============================================ */

header {
    background-color: var(--header);
}

header .logo {
    margin-bottom: 1.25rem;
    margin-top: 1.25rem;
}

#contact-links {
    margin-bottom: .625rem;
    margin-top: .625rem;
}

.fa-phone, .fa-envelope, .fa-envelope-open, .fa-desktop {
    background-color: var(--accents);
    color: #ffffff;
    border-radius: 50%;
    height: 2rem;
    width: 2rem;
    position: relative;
    margin-right: .625rem;
}

#contact-links a {
    color: var(--links);
}

#contact-links .cell {
    line-height: 1;
}

.fa-phone::before, .fa-envelope::before, .fa-envelope-open::before, .fa-desktop::before {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#main-menu > ul.menu {
    margin: 0;
}

#main-menu a {
    text-transform: uppercase;
    color: inherit;
    padding: 1.125rem .625rem;
    display: inline-block;
}

#main-menu .menu-item.special a {
    display: inline-block;
    background-color: var(--links);
    color: #ffffff !important;
    padding: .5rem 1.5rem;
    border-radius: .5rem;
    margin: .625rem;
    margin-right: 0;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

#main-menu .menu-item.special a:hover {
    filter: brightness(1.25);
    text-decoration: none;
}

.sub-menu a {
    white-space: nowrap;
}

#banner {
    height: 500px;
    width: 100%;
}

#banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hamburger {
    position: relative;
    width: 24px;
    height: 18px;
    z-index: 3;
}

#hamburger > span {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    border-top: 2px solid var(--accents);
    border-radius: 1px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    transform-origin: center center;
}

#hamburger > span:nth-of-type(1) {
    top: 0;
}

#hamburger > span:nth-of-type(2) {
    top: calc(50% - 1px);
}

#hamburger > span:nth-of-type(3) {
    bottom: 0;
}

#hamburger.active > span {
    border-top: 2px solid white;
}

#hamburger.active > span:nth-of-type(1) {
    top: calc(50% - 1px);

    -webkit-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

#hamburger.active > span:nth-of-type(2) {
    border: none;
}

#hamburger.active > span:nth-of-type(3) {
    bottom: calc(50% - 1px);

    -webkit-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg);
}

@media only screen and (min-width:1024px) {
    .menu-item-has-children {
        position: relative;
    }
    
    .sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        display: none;
        padding: .625rem;
        background-color: var(--links);
        color: #ffffff;
        z-index: 5;
    }
    
    #main-menu {
        display: block !important;
    }
}

@media only screen and (max-width:1023px) {
    #main-menu {
        position: absolute;
        background-color: var(--accents);
        top: 0;
        right: 0;
        width: 400px;
        max-width: 100%;
        color: #ffffff;
        text-align: center;
        height: 100%;
        z-index: 2;
        display: none;
        -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
    }
    
    #main-menu.active {
        padding-top: 4.05rem;
    }
    
    #main-menu .menu-item.special a {
        margin: 0;
        margin-top: .625rem;
    }
    
    .sub-menu {
        display: block !important;
    }
    
    #main-menu a {
        padding: .5rem .625rem;
    }
}

@media only screen and (max-width:799px) {
    #contact-links {
        display: none;
    }
}



/* ============================================ */
/* SEARCH                                       */
/* ============================================ */

#search-bar {
    background-color: var(--accents);
    color: #ffffff;
}

.search-img {
    width: 100%;
    margin-top: -50%;
}

form.search-form {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

form.search-form input[type=search] {
    height: 2.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0;
}

form.search-form button {
    height: 2.5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 .75rem;
}



/* ============================================ */
/* PAGES                                        */
/* ============================================ */

#pages {
    overflow-x: hidden;
}

#pages .cell {
    text-align: center;
    padding: 2.5rem;
}

#pages .cell:first-child {
    background-color: var(--background1);
    position: relative;
}

#pages .cell:first-child::before {
    background-color: var(--background1);
    position: absolute;
    height: 100%;
    right: 100%;
    top: 0;
    width: 100vw;
    content: '';
}

#pages .cell:nth-of-type(2) {
    background-color: var(--background2);
}

#pages .cell:nth-of-type(3) {
    background-color: var(--background3);
}

#pages .cell:last-child {
    background-color: var(--background4);
    position: relative;
}

#pages .cell:last-child::after {
    background-color: var(--background4);
    position: absolute;
    height: 100%;
    left: 100%;
    top: 0;
    width: 100vw;
    content: '';
}

.page-icon {
    width:100%;
    max-width: 150px;
}



/* ============================================ */
/* VIDEO                                        */
/* ============================================ */

#video {
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
    text-align: center;
    position: relative;
}

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
	margin: 1.25rem 0;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#video .background {
    position: absolute;
    z-index: -1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}



/* ============================================ */
/* FOOTER                                       */
/* ============================================ */

footer {
    background-color: var(--footer);
}

footer .grid-container:first-child {
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}

footer h3 {
    margin-top: 0;
    line-height: 1;
}


footer .fab {
    color: #ffffff;
    border-radius: 50%;
    height: 2rem;
    width: 2rem;
    position: relative;
    margin-right: .625rem;
}

footer .fab {
}

footer .fab::before {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.fa-facebook-f {
    background-color: #3b5998;
}

.fa-instagram {
    background-color: background-color: #e1306c;
    background-image: -webkit-radial-gradient(circle #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #f77737, #fcaf45, #ffdc80);
    background-image: -o-radial-gradient(circle #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #f77737, #fcaf45, #ffdc80);
    background-image: radial-gradient( circle #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #f77737, #fcaf45, #ffdc80);
}

.fa-linkedin {
    background-color: #0077b5;
}

.fa-twitter {
    background-color: #1da1f2;
}

#legal {
    text-align: center;
    background-color: var(--legal);
    color: #ffffff;
    padding-bottom: .9375rem;
    padding-top: .9375rem;
}

#legal a {
    color: inherit;
}

@media only screen and (max-width: 639px) {
    footer h3 {
        margin-top: 2.5rem;
    }
}




main {
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}

.sidebar-panel {
    background-color: var(--background2);
    padding: 1.25rem;
    margin: 1.25rem 0;
    border-radius: 5px;
}

span.remove-li {
    background-color: var(--accents);
    border-radius: 999px;
    padding: .25rem .5rem;
    color: #ffffff;
    cursor: pointer;
}

span.remove-li:hover {
    filter: brightness(1.25);
}

.go-to-print {
    width: 100%;
    text-align: center;
    margin-bottom: 1.25rem;
}

li.print-item {
    margin-top: .625rem;
}

/*.archive-print {
    text-align: right;
    padding: 2px 10px;
    border-radius: 40px;
    position: absolute;
    bottom: 20px;
    right: 30px;
    background: white;
    cursor: pointer;
    border: solid 1px #eb9316;
    background: var(--links);
    color: #fff !important;
}*/

.archive-post-wrapper {
	background:#f9f9f9;
	padding:40px;
	border-radius:20px;
	margin:30px 0;
}

.print-content p {
	line-height: 30px !important;
	 margin: 5px 0;
    display: flex;
}

.print-content a {
	line-height: 30px !important;
    display: flex;
}

.print-content a {
	color:#21254f !important;
}

.print-content a:hover {
	color:var(--links) !important;
}