
html {
    font-size: 1rem;
}

.container {
    max-width: 55rem;
}

.bg-cover {
    background-size: contain;
    background-repeat: no-repeat;
    /* background: url(images/bg.jpg) no-repeat center center fixed;  */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.ratio-wrap-4-3 {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
}

.ratio-wrap-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.ratio-wrap-4-3 > div, .ratio-wrap-16-9 > div {
	position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;
}

/* Other aspect ratios to try:
 * 56.25% = 16:9
 * 75% = 4:3
 * 66.66% = 3:2
 * 62.5% = 8:5
 */

.videoWrapper {
    /* left: -40px; */
    /* position: relative; */
    /* width: calc(100% + 80px); */
}
.videoWrapper iframe {
    border: 0;
    width: 100%;
    height: 380px;
}
.blog-top-image .videoWrapper {
    left: 0px;
    width: 100%
}
.blog-top-image .img-fluid {
    max-height: calc(100vh - 100px);
}
.blog-top-image .videoWrapper iframe {
    border: 0;
    width: 100%;
    height: calc(100vw * 0.56);
}
.blog-top-image .low-profile {
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
}
.low-profile {
    width: 100%;
    height: 100%;
    max-height: 50vh;
    object-fit: cover;
}
.post-data {
    padding-top: .8em;
}
.post-content {
    max-width: 60rem;
}
.post-content h3 {
    font-size: 1.3em;
}
.post-content h5 {
    font-size: 1.0em;
}
.post-content table {
    width: 100%;
}
.post-content p {
}
.post-content a:link, .post-content a:visited {
    color: #303030;
}
.post-thumb {
    /* padding-top: 66%; 1:1 Aspect Ratio */
    /* position: relative; */
    /* background-color: #f0f0f0; */
    text-align: center;
    /* border: 1px solid #dee2e6; */
    /* border-radius: .25rem; */
    /* min-height: 50px;
    max-height: 200px; */
    height: 250px;
    overflow: hidden;
}
.post-thumb-wide {
    /* padding-top: 66%; 1:1 Aspect Ratio */
    /* position: relative; */
    /* background-color: #f0f0f0; */
    text-align: center;
    /* border: 1px solid #dee2e6; */
    /* border-radius: .25rem; */
    /* min-height: 50px; */
    max-height: 350px;
    overflow: hidden;
}
.post-thumb-gallery {
    /* padding-top: 66%; 1:1 Aspect Ratio */
    /* position: relative; */
    /* background-color: #f0f0f0; */
    text-align: center;
    /* border: 1px solid #dee2e6; */
    /* border-radius: .25rem; */
    /* min-height: 50px; */
}
.post-thumb-banner {
    /* padding-top: 66%; 1:1 Aspect Ratio */
    /* position: relative; */
    /* background-color: #f0f0f0; */
    text-align: center;
    /* border: 1px solid #dee2e6; */
    /* border-radius: .25rem; */
    /* min-height: 50px; */
    height: 350px;
    width: 100vw;
}
.post-thumb-banner-image {
    max-height: 350px;
    overflow: hidden;
}
.post-thumb a, .post-thumb-wide a {
    /* position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0; */
    height: 100%;
    width: 100%;
    color: #a0a0a0;
}
.post-thumb a img, .post-thumb-wide a img {
    /* position: absolute;
    bottom: 0; */
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.post-thumb div, .post-thumb-wide div {
    position: absolute;
    top: 35%;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 1rem;
    /* border-top: .05rem solid #e5e5e5;
    border-bottom: .05rem solid #e5e5e5; */
}

.blog-main-full {
    padding-left: 0px;
    padding-right: 0px;
    /* padding-top: .7rem; */
}
.blog-post-quote {
    font-size: 2.5em;
    color: #a0a0a0;
    text-align: center;
}
.blog-post-meta {
    line-height: 1.1em;
}
.blog-header {
    padding-top: 2rem;
}
.blog-drop-letter {
    display: block;
    position: relative;
    float: left;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 62px;
    padding-right: 7px;
    padding-top: 0px;
    line-height: 0.9em;
}
.blog-top-image {
    /* border: 1px solid #dee2e6; */
    border-radius: .25rem;
    /* background-color: #f6f6f6; */
    margin-bottom: 0;
    text-align: center;
}
.blog-post {
    margin-bottom: 2rem;
}
.blog-post hr {
    border-top: 5px dotted rgba(0,0,0,.1);
    width: 30px;
}

.artlist {
    margin-bottom: 5px;
    font-size: .8em;
}
.artlist .thumb {
    min-height: 60px;
}
.artlist .text {
    padding-left: .5rem;
}
.artlist blockquote {
    font-size: .7em;
    text-align: center;
    max-height: 100%;
    overflow: hidden;
}

.modal-lg {
    max-width: 1800px;
    max-height: 90%;
}

.nav-link {
    padding: .5rem;
}
.image_inline {
    /* border: 1px solid #dee2e6; */
    /* border-radius: .25rem; */
    /* background-color: #f6f6f6; */
    margin-bottom: 0;
    text-align: center;
}
.image_inline img {
    /* border-radius: .25rem; */
}
.image_inline_right {
    float: right;
}
.image_inline_text {
    font-size: 0.8em;
    font-weight: lighter !important;
}

.image-thumbnail {
    clear: both;
    margin-bottom: 1rem;
    margin-left: 1rem;
    font-size: 0.8em;
    width: 300px;
    max-width: 50%;
}

.social-share {
    margin-bottom: 1rem;
}
.social-share a {
    font-size: 1.5em;
}

.markdown-editor {
    background: #c0c0c0;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.15em;
    line-height: 1.5em;
}
.markdown-editor:before {
    content: "";
    display: table;
    clear: both;
}
.markdown_box__success .small_info {
    background: #ffffc0;
    padding: 10px;
    width: 100%;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
}
.markdown_box__success .small_info:empty {
    display: none;
}

.jumbotron {
    padding: 1rem 1rem;
    margin-bottom: 0rem;
    background-color: inherit !important;
    border-radius: 0;
}

.jumbotron .display-3 a {
    color: #303030;
}

.jumbotron-thumb {
    max-height: 80vh;
    overflow: hidden;
}

.modal-content {
    background-color: #808080;
}
.modal-header, .modal-footer {
    border-bottom: 0px;
    border-top: 0px;
}
.modal-body {
    padding: 0px;
}

.photo-top {
    background-color: #808080;
}

.card-title {
    color: #606060;
}
.card-text {
    color: #606060;
}

.sidebar-module {
    font-size: .9em;
}
.sidebar-module h2 {
    font-size: 1.5em;
}
.sidebar-module h4 {
    font-size: 1.3em;
}

pre code {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
    background: #F0F0F0;
}

/* Small devices (landscape phones, 544px and up) */
.display-3 {
    font-size: 2rem;
}

.hljs {
    border-radius: .25em;
}

.adContainer {
    overflow: auto;
    /* scroll-snap-type: x mandatory; */
    /* scroll-snap-type: x proximity; */
}

.adBox {
    min-width: 150px;
    padding-top: 10px;
    padding-bottom: 10px;
    /* scroll-snap-align: start; */
}

.adImage {
    max-height: 100px;
    /* -webkit-filter: grayscale(100%);
    filter: grayscale(100%); */
}

.navbar-brand {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.custom-toggler.navbar-toggler {
    border-color: rgb(255,255,255);
}
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1.0)' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

td .markup p {
    margin: 0 !important;
}

.text-overflow {
    text-overflow: ellipsis;
    overflow: hidden;
}

.imageRounded {
	width: 76px;
	min-width: 76px;
	height: 76px;
	min-height: 76px;
  	background-size: cover;
  	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.imageRoundedXLarge {
	width: 250px;
	min-width: 250px;
	height: 250px;
	min-height: 250px;
}
.imageRoundedLarge {
	width: 150px;
	min-width: 150px;
	height: 150px;
	min-height: 150px;
}
.imageRoundedMedium {
	width: 55px;
	min-width: 55px;
	height: 55px;
	min-height: 55px;
}
.imageRoundedSmall {
	width: 40px;
	min-width: 40px;
	height: 40px;
	min-height: 40px;
}
.imageRoundedThumb {
	width: 25px;
	min-width: 25px;
	height: 25px;
	min-height: 25px;
}
.imageRoundedIcon {
	width: 17px;
	min-width: 17px;
	height: 17px;
	min-height: 17px;
}

.img-fill {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
}
.img-fill img {
    flex-shrink: 0 !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover;
}

.gallery-height {
    height: 400px;
}
.gallery-position-bottom {
    top: calc(50vh - 300px + 80px);
    height: 300px !important;
}
.gallery-position-bottom img {
    max-height: 300px !important;
}


.no-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
.no-scrollbar::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

.fullwidthImage {
    width: 98vw;
    position : absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 1em 10px .1em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

@media (min-width: 350px) {
    html {
      font-size: 1rem;
    }
    .display-3 {
        font-size: 2.2rem;
    }
    .gallery-height {
        height: 400px;
    }
    .gallery-position-bottom {
        top: calc(50vh - 300px + 80px);
        height: 300px !important;
    }
    .gallery-position-bottom img {
        max-height: 300px !important;
    }
}
@media (min-width: 544px) {
    html {
      font-size: 1rem;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .gallery-height {
        height: 500px;
    }
    .gallery-position-bottom {
        top: calc(50vh - 400px + 80px);
        height: 400px !important;
    }
    .gallery-position-bottom img {
        max-height: 400px !important;
    }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 1.1rem;
    }
    .display-3 {
        font-size: 3.0rem;
    }
    .gallery-height {
        height: 500px;
    }
    .gallery-position-bottom {
        top: calc(50vh - 400px + 80px);
        height: 400px !important;
    }
    .gallery-position-bottom img {
        max-height: 400px !important;
    }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    html {
        font-size: 1.2rem;
    }
    .display-3 {
        font-size: 3.5rem;
    }
    .gallery-height {
        height: 600px;
    }
    .gallery-position-bottom {
        top: calc(50vh - 400px + 80px);
        height: 400px !important;
    }
    .gallery-position-bottom img {
        max-height: 400px !important;
    }
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    html {
        font-size: 1.2rem;
    }
    .display-3 {
        font-size: 4rem;
    }
    .gallery-height {
        height: 750px;
    }
    .gallery-position-bottom {
        top: calc(50vh - 400px + 115px);
        height: 400px !important;
    }
    .gallery-position-bottom img {
        max-height: 400px !important;
    }
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1500px) {
    html {
        font-size: 1.2rem;
    }
    .display-3 {
        font-size: 4rem;
    }
    .gallery-height {
        height: 750px;
    }
    .gallery-position-bottom {
        top: calc(50vh - 500px + 115px);
        height: 500px !important;
    }
    .gallery-position-bottom img {
        max-height: 500px !important;
    }
}
