* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.47em;
}

body {
    font-size: 14px;
    line-height: 1.52em;
}



.entries {
    float: left;
    padding: 40px;
    max-width: 700px;
}

a {
    text-decoration: underline;
    color: blue;
}

.entry {
    margin: 0 0 80px 0;
}

.entry img {
    max-width: 100%;
    width: 100%;
    border-radius: 3px;
    image-orientation: from-image;
}

.entry.fulltext .content {
    /* padding: 30px; */
    text-transform: lowercase;
    border-radius: 3px;
    text-align: left;
    font-family: Arial,sans-serif;
    font-weight: normal;
    color: #000;
    /* background-color: #f2f2f2; */
    white-space: pre-line;
}

.entry.audio canvas {
    width: 100%;
    background-color: #000;
}

.entry.audio audio {
    width: 100%;
    background-color: #fff;
    filter: invert(1);
}

.entry.video video {
    width: 100%;
}

.player {
    padding: 11px 10px 5px 10px;
    border-radius: 3px;
    background-color: #111;
}

iframe {
    border-radius: 3px;
    overflow: hidden;
}

.sidebar {
    float: left;
    padding: 40px 40px 40px 0;
    max-width: 300px;
}

.segment {
    margin-bottom: 20px;
}

.project:before {
    content: '-';
}

.project .description {
    font-style: italic;
}

.iframe iframe {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.youtube-embed iframe,
.youtube-embed {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

@supports (-webkit-overflow-scrolling: touch) {
    .sidebar {
        padding: 35px 10px 0px 10px!important;
    }
    .entries {
        padding: 10px!important;
    }
}

@media only screen and (max-width:1000px) {
    .entry.fulltext .content {
        /* padding: 20px; */
    }

    .sidebar {
        float: none;
        width: 100%;
        padding: 35px 40px 40px 40px;
        max-width: 700px;
    }

    .entries {
        float: none;
        padding: 20px;
        max-width: 100%;
    }

    .sub .caption,
    .sub .date {
        display: block;
        float: none!important;
        width: 100%!important;
        max-width: 100%!important;
        margin-bottom: 8px;
    }
}

@media only screen and (min-width:1000px) {
    .entries {
        min-width: 700px;
    }
}

#sent-success {
    margin-bottom: -1px;
    padding: 7px 10px;
    border: 1px solid #888;
    background-color: #ffc;
}

#sent-error {
    margin-bottom: -1px;
    padding: 7px 10px;
    border: 1px solid #888;
    color: #fff;
    background-color: red;
}

input,
button {
    font-family: serif;
    font-size: 14px;
}

#sms textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #999;
    font-family: serif;
    font-size: 14px;
}

#sms textarea:focus {
    border: 1px solid #000;
    outline: none;
    color: #000;
}

.sub {
    display: block;
    margin-top: 8px;
}

.sub .caption {
    float: left;
    max-width: 62%;
    text-transform: lowercase;
}

a.dim {
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

a.black-dim {
    color: #000;
}

a.dim:hover {
    text-decoration: underline;
    color: blue;
}

.greez .dim {
}

.sub .date {
    float: right;
}

.pagination a {
    margin-right: 10px;
}

.home {
    margin-bottom: 20px;
}

.entry.youtube {
    z-index: 1;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.youtube-embed {
    z-index: 1;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.entry.youtube iframe {
    border-radius: 3px;
    overflow: hidden;
}

.entry.youtube:hover iframe {
    border-radius: 3px;
    overflow: hidden;
}

.entry.bw img, .entry.bw canvas, .entry.bw iframe {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.archive-head {
    font-size: inherit;
    font-weight: bold;
    margin: 0px 0px 2em 0px;
}

.archive-head .count {
    float: right;
    font-weight: normal;
}

.archive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0px 0px 2em 0px;
}

.archive-table .caption {
    white-space: nowrap;
    position: absolute;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 94%;
}

.archive-list {
    margin: 0px 0px 2em 0px;
}

.archive-item {
    display: block;
    padding: 5px 10px 5px 10px;
    border-top: 1px solid #000;
    text-decoration: none;
    color: #000;
}

.archive-item:hover, .archive-item:hover span {
    text-decoration: underline;
    color: blue;
}

.archive-item span {
    float: right;
}

.archive-item:last-of-type {
    border-bottom: 1px solid #000;
}

.archive-table tr td.date {
    text-align: right;
}

.youtube-embed {
    position: relative;
    cursor: pointer;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    background-size:cover;
    background-position: center center;
}

.youtube-embed svg {
    width: 128px;
    height: 67px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
}

.youtube-embed svg:hover .st0 {
    fill: red !important;
    fill-opacity: 1;
}

.youtube-embed iframe {
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s linear;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube-embed.active iframe {
    opacity: 1;
    pointer-events: all;
}

.ytp-large-play-button-bg {
    fill: #fff;
    fill-opacity: .8;
}

.youtube-embed span {
    position: absolute;
    left: 20px;
    bottom: 13px;
    color: #fff;
    font-size: 24px;
}

.youtube-embed:hover span {
    mix-blend-mode: normal;
}

.row {
  display: flex;
  flex-wrap: wrap;
  /*margin-right: -4px;*/
}

.grid-container {
    overflow: hidden;
    border-radius: 3px;
}

.grid-item, .pseudo-grid-item {
    cursor: pointer;
    position: relative;
    flex-basis: calc(20% - 4px);
    /*margin: 0px 4px 0px 0px;*/
    background-color: #f2f2f2;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
    /*border-radius: 3px;*/
    overflow: hidden;
}

.pseudo-grid-item {

}

.grid-item.active {
    /*opacity: 0.4;*/
    /*transform: scale(0.85);*/
}

.grid-item .overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.grid-item:hover .overlay,
.grid-item.active .overlay,
.grid-item.loading .overlay {
    background-color: rgba(0,0,0, 0.4);
}

.fill, .fill img {
    line-height: 0px;
    /*cursor: zoom-in;*/
}

.fill img {
    margin-bottom: 4px;
    border-radius: 0px;
    /*margin: 20px 0px 24px 0px;*/
}

.fill:first-of-type img {
    /*margin: 0px 0px 24px 0px;*/
}

.fill:last-of-type img {
    /*margin: 20px 0px 0px 0px;*/
}

.grid-item::before, .pseudo-grid-item::before {
  content: '';
  display: block;
  padding-top: 100%;
}

.grid-container .row {
    justify-content: space-between;
}

.grid-container .row:not(:last-child) {
    margin-bottom: 4px;
}

.grid-container .row:last-of-type .grid-item,
.grid-container .row:last-of-type .pseudo-grid-item {
    /*margin-bottom: 0px;*/
}
/*
.grid-container .row {
    margin-top: 4px;
}*/

/*.grid-container .row:last-of-type */
body.fixed {
    overflow: hidden;
    height: 100vh;
}

/*body.fixed .entry.open .sub {
    position: fixed;
    z-index: 2;
    top: 0px;
    color: #fff;
    left: 0px;
    padding: 0px 12px;
    right: 0px;
}

body.fixed .entry.open .sub * {
    color: #fff;
}*/

.gallery .thumbs {display: none;}

.stage {
    height: calc(100vh - 80px);
    width: 100vw;
    position: fixed;
    top:0;
    padding-top: 30px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
/*    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;*/
}

.stage img {
    display: block;
    max-height: 100%;
    width: auto;
    border-radius: 0px;
}

.gallery.open .thumbs {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 260px;
    margin: 0px auto;
    /*height: 120px;*/
    background-color: #000;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%,0px);
}
.gallery.open .grid-container {
    display: none;
}

.thumbs span.close {
    vertical-align: middle;
    line-height: 18px;
    padding: 0px 0px 0px 10px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    /*height: 20px;
    display: block;
    filter: grayscale(100%);
    background-size: auto;
    background-position: center center;
    opacity: .35;
    cursor: pointer;
    border-radius: 0px;
    scroll-snap-align: center center;*/
}

.thumbs span.close:hover {
    opacity: 0.85;
}

.thumbs div {
    height: 20px;
    /*border-right: 1px solid black;*/
    display: block;
    filter: grayscale(100%);
    background-size: cover;
    background-position: center center;
    opacity: .35;
    cursor: pointer;
    border-radius: 0px;
    /*scroll-snap-align: center center;*/
/*        scroll-snap-padding: 20px;*/
}

/*.thumbs div:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.thumbs div:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}*/

.thumbs div.active {
    /*filter: none;*/
    opacity: 1;
    z-index: 1;
    outline: 2px #fff solid;
    /*border: 2px solid black;*/
    box-shadow: 0px 0px 0px 4px #000;
    filter: grayscale(100%);
}

.thumbs div:not(:last-child) {
    /*margin-right: 20px;*/
}

.gallery.open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    widows: 100vw;
    background-color: #000;
    overflow: scroll;
    z-index: 10;
}

.gallery.open .grid-container{
/*    display: flex;
    flex-direction: row;*/
}
body.fixed {

}


.fullsize-view {
    cursor: zoom-out;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 900;
    background-color: #000;
}

.fullsize-view div {
    cursor: zoom-out;
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.link-item {
    display: block;
    /*border: 1px solid #f2f2f2;*/
    background-color: #f2f2f2;
    padding: 10px 15px;
    border-radius: 3px;
    color: #000;
    word-wrap: break-word;
    text-decoration: none;
}

.review-item {
    display: block;
    /*border: 1px solid #f2f2f2;*/
    background-color: #f2f2f2;
    padding: 10px 15px;
    border-radius: 3px;
    color: #000;
    word-wrap: break-word;
    text-decoration: none;
}

.review-item .rating {
    float: right;
}

.link-item:hover {
    /*color: blue;*/
    color: #fff;
    background-color: #000;
    text-decoration: underline;
    /*border: 1px solid blue;*/
}

.link-item span {
    float: right;
}

/*.link-item span:after {
    content: '↳';
    position: relative;
    top: 2.5px;
    float: right;
}*/

@keyframes lds-rolling {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@-webkit-keyframes lds-rolling {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.lds-css {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 30;
    transform: translate(-50%, -50%);
}
.lds-rolling {
  position: relative;
}
.lds-rolling div,
.lds-rolling div:after {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 20px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
}
.lds-rolling div {
  -webkit-animation: lds-rolling 1s linear infinite;
  animation: lds-rolling 1s linear infinite;
  top: 100px;
  left: 100px;
}
.lds-rolling div:after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lds-rolling {
  width: 27px !important;
  height: 27px !important;
  -webkit-transform: translate(-13.5px, -13.5px) scale(0.135) translate(13.5px, 13.5px);
  transform: translate(-13.5px, -13.5px) scale(0.135) translate(13.5px, 13.5px);
}
