html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*CUSTOM*/

.article-preview {
    margin-bottom:25px;
}

.article-preview-container{
    
}

.article-preview:hover {
    box-shadow: 5px 5px 5px 3px #0197EE;
}

.article-header {
    font-size: calc(2rem + 1.3vw);
    font-family: 'oswald', sans-serif;
    text-transform: uppercase;
}

.article-content {
    font-size: calc(1rem + .5vw);
    overflow-wrap: break-word;    
    hyphens: auto;   
    white-space: break-spaces;
}

.article-content .ql-align-center{
    text-align: center !important;
}

.article-content .ql-align-right {
    text-align: right !important;
}

.article-content p{
   margin-bottom: 0px;
}

#quill_editor{
    height:600px;
}

.article-date-author{
    color: darkgray;
    padding: 5px 0px 5px 0px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: lightgray;
}

.hero{
    height: 300px;
    max-height: 30vw;
    margin-bottom: 10px;
    text-align: center;
}

.hero-img {
    object-position: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90vw;
    max-height:100%
}

    .hero-div {
        background-image: linear-gradient(#01E8FA, #0197EE);
        position: absolute;
        left: 0px;
        padding: 0px;
        width: 100vw;
        height: 300px;
        max-height: 30vw;
    }

.hero-alt {
    height: 300px;
    max-height: 40vw;
    margin-bottom: 10px;
    text-align: center;
}

.hero-div-alt {
    background-image: linear-gradient(#0197EE, #FFFFFF);
    position: absolute;
    left: 0px;
    padding: 10px;
    width: 100vw;
    height: 300px;
    max-height: 40vw;
}

.article-image{
    object-fit:scale-down;
    width:100%;
    height: 450px;
    margin-top: 5px;
}

.article-preview-image {
    position: relative;
    max-height: 300px;
    width: auto;
    object-fit: scale-down;
    aspect-ratio: 1/1;
}

.article-image-credit {
    position: absolute;
    bottom: 0px;
    left:0px;
    right:0px;
    margin: 3px;
    text-align:center;
    text-shadow: -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px 1px 0 #FFF;
}

.title {
    font-size: calc(3rem + 2.2vw);
    font-family: 'oswald', sans-serif;
    color: #0197EE;
    text-transform: uppercase;
}

.bigger-nav-link {
    font-size: calc(1rem + .5vw);
    font-family: 'oswald', sans-serif;
}

.social-link {
    width: calc(1.5rem + 3vw);
    height: calc(1.5rem + 3vw);
}

.article-header-load {
    background-color: #DADADA;
    width: calc(4rem + 25vw);
    height: calc(3rem + 1.3vw);
    border-radius: 40px;
    margin-bottom: 5px;
    display: inline-block;
    animation-name: article-load-animation;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.article-content-load {
    background-color: #DADADA;
    width: calc(4rem + 60vw);
    height: calc(1.2rem + 1.3vw);
    border-radius: 20px;
    display: inline-block;
    animation-name: article-load-animation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-delay: 1s;
}


@media screen and (min-width: 768px) {
    .article-preview-image-holder {
        max-height: 300px;
        width: auto;
        aspect-ratio: 1/1;
        position: relative;
    }

 .article-preview-image {
        top: 50%;
        transform: translateY(-50%);
    }

}
@media screen and (max-width: 767px) {
    .article-preview-image-holder {
        max-height: 300px;
        width: auto;
        position: relative;
    }

}

@keyframes article-load-animation{
    0% {
        background-color: #DADADA;
    }

    25% {
        background-color: #C4C4C4;
    }

    50% {
        background-color: #ABABAB;
    }
    75% {
        background-color: #999999;
    }
    100% {
        background-color: #DADADA;
    }
}
