/*
 Color Palette : https://coolors.co/ea526f-070600-f7f7ff-abdf75-386fa4
*/

body {
    font-family: 'Montserrat', sans-serif;
    color: #070600;
    background-color: #F7F7FF;
    font-size: 18px;
}

#wrapper {
    padding: 0 7% 0.1em 7%;
    margin: 0 auto;
    max-width: 110em;
}

.cover-container {
    position: relative;
}

.coverImage {
    width: 100%;
    /* decomment to limit cover height in post view
    max-height: 200px;
    */
    -o-object-fit: cover;
       object-fit: cover;
}

/* The overlay effect (full height and width) - lays on top of the container and over the image */

.cover-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: white;
}

/* When you mouse over the container, fade in the overlay icon*/

.cover-container:hover .cover-overlay {
    opacity: 0.5;
}

/* The icon inside the overlay is positioned in the middle vertically and horizontally */

.cover-icon {
    color: white;
    font-size: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

a {
    font-weight: bold;
    outline: none;
    text-decoration: none;
}

#content a:link {
    color: #386FA4;
}

#content a:visited {
    color: #EA526F;
}

#datepicker {
    display: none;
}

#edit-tools {
    font-size: 22px;
}

.isEnable {
    color: green;
}

.isDisable {
    color: red;
}

@-webkit-keyframes fa-blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fa-blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

.fa-blink {
    -webkit-animation: fa-blink 1s linear infinite;
    animation: fa-blink 1s linear infinite;
}

.filepond--root {
    margin-bottom: 1.5em;
}

#title[placeholder]:empty:before {
    content: attr(placeholder);
    font-style: italic;
}

#title[placeholder]:empty:focus:before {
    content: "";
}

h1 {
    color: #EA526F;
    text-shadow: 0 1px 1px #F7F7FF;
    margin: 0em 0em 0em 0em;
}

#content {
    margin: 1em auto;
    width: 95%;
    max-width: 100em;
}

.info {
    margin-top: 0;
    padding-left: 0.8em;
    font-size: small;
    color: #EA526F;
}

.button {
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    background-color: transparent;
    border-radius: 0.375em;
    border: 0;
    box-shadow: inset 0 0 0 2px #EA526F;
    color: #EA526F !important;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8em;
    font-weight: 700;
    height: 3.5em;
    letter-spacing: 0.075em;
    line-height: 3.5em;
    padding: 0 2.25em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Dividers inspired by https://codepen.io/HummixX/pen/RPeROM */

.divider {
    border-bottom: 3px solid transparent;
    height: 1px;
    margin: 0.5em 0px 0.5em;
}

.divider span {
    display: block;
    width: 150px;
    height: 3px;
    background-color: #EA526F;
}

/* header */
#top-nav > * {
    margin-bottom: 0;
}

#top-nav{
    display: flex;
    border-bottom: solid 5px #f56a6a;
    position: relative;
    padding: 1em 0 1em 0;
    margin: 0 auto;
    max-width: 110em;
    color:#7f888f;
}

#top-nav .logo {
    flex: 5;
    text-align:center;
}

#top-nav .logo>img {
    max-width: 100%;
    height: auto;
}

#top-nav .title {
    flex: 1;
    border-bottom: 0;
    font-size: 1.125em;
    font-weight: 200;
}

#top-nav .title strong {
    font-weight: 700;
    color:black;
}

#top-nav .icons {
    flex: 1;
    padding-right: 0.5em;
    text-align: right;
}

ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
    margin-top:0;
}

@media screen and (max-width: 768px) {
    #wrapper {
        padding: 0 1em;
    }
}

#post {
    background-color: white;
    padding: 1em;
    overflow-wrap: break-word;
}
