body {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 300;
    text-align: center;
    overflow-x: hidden;
}
#ploy_logo {
    position: relative;
    width: 12em;
    margin-bottom: 1em;
}
#container {
    max-width: 60em;
    margin: 2em auto 0 auto;
}


p {
    line-height: 1.4em;
}
a {
    color: #70B0BE;
    font-weight: bold;
    text-decoration: none;
}
h1, h2, h3 {
    font-weight: 300;
}
li {
    margin-bottom: 0.5em;
    line-height: 1.4em;
}
h2 {
    margin: 1.5em 0 0.5em 0;
}
ul ul {
    margin-bottom: 1em;
}
.smaller {
    font-size: 0.9em;
    margin-left: 1em;
}
label {
    margin: 0 1em 0 0;
}
input[type=password] {
    font-size: 1.2em;
    border: 1px solid #CCC;
    border-radius: 0.5em;
    padding: 0.25em 0.5em;
    width: 10em;
    box-sizing: border-box;
    appearance: none;
}
input[type=submit] {
    appearance: none;
    border-radius: 0.5em;
    background-color: #70B0BE;
    color: #FFF;
    font-weight: bold;
    border: 0;
    display: inline-block;
    padding: 0.4em 0.5em;
    margin: 0 0 0 1em;
    font-size: 1.1em;
}

.post .nav_container {
    position: relative;
}

.post_content video, .post_content img  {
    margin-bottom: 0.5em;
    background: #CCC;
    margin: 0 auto;
    position: relative;
    max-width: 45%;
}


.post_info {
    margin: 0 auto;
    max-width: 75%;
    text-align: left;
    padding: 1em 0;
    display: flex;
    gap: 1em;
    align-items: start;
    flex-direction: row;
}
.user_info {
    text-align: left;
    display: flex;
    align-items: center;
    flex-direction: row;
}
.avatar {
    width: 4em;
    border-radius: 2em;
    display: inline-block;
}
.user_info div {
    display: inline-block;
    padding: 0.5em;
}
.user_info h2 {
    font-weight: 500;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}
.user_info p {
    color: #666;
    font-size: 1.0em;
    margin: 0;
    padding: 0 0 0.5em 0;
}
.post_text {
    flex-grow: 2;
}
#ploy_promo {
    margin-top: 1.0em;
    font-size: 0.8em;
}
.tag {
    font-weight: 600;
    color: #666;
}

.prev_item, .next_item {
    position: absolute;
    color: #FFF;
    font-size: 2.0em;
    display: inline-block;
    margin: 0;
    padding: 0;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
    color: #CCC;
    z-index: 2;
}

.prev_item {
    left: -0.5em;
}

.next_item {
    right: -0.5em;
}

#user_profile h2 {
    margin: 0;
    padding: 0;
}

#user_profile p {
    margin: 0;
    padding: 0;
}

#user_profile {
    text-align: center;
}

#user_stats {
    margin: 1em 0;
    padding: 0;
    list-style: none;
}

#user_stats li {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 5em;
}

#user_stats li strong {
    display: inline-block;
    font-size: 1.2em;
    width: 100%;
    font-weight: 500;
}

#user_profile #tabs {
    margin: 2em 0 1em 0;
    padding: 0;
    list-style: none;
    position: relative;
    display: flex;  
}

#user_profile #tabs li {
    width: 50%;
    margin: 0;
    padding: 0;
    display: inline-block;
    border-bottom: 3px solid #CCC;
}

#user_profile #tabs li.on {
    border-bottom: 3px solid #70B0BE;
}

#user_profile #tabs li span {
    display: block;
}

#posts {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: grid;
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(11em, 1fr));
}

#posts .post {
    display: inline-block;
    position: relative;
}

#posts .post.with_user_info {
    aspect-ratio: 9/19.5;
}

#posts .post a {
    display: inline-block;
    position: relative;
}

#posts .post span {
    font-weight: normal;
    color: #666;
    font-size: 0.8em;
    overflow: hidden;
    display: -webkit-inline-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    text-align: left;
}

#posts .post .item_info {
    color: #FFF;
    position: absolute;
    left: 1em;
    bottom: 1em;
    font-size: 0.8em;
    font-weight: normal;
    text-shadow: 0 0 0.5em #000;
}

#posts .post .item_info.video {
    background-image: url('/i/play-icon.svg');
    background-repeat: no-repeat;
    background-size: 1em auto;
    padding: 0 0 0 1.4em;
}

#posts .post_thumb {
    display: block;
    border-radius: 0.5em;
    object-fit: contain;
    width: 100%;
}

#posts .avatar {
    width: 1.5em;
    border-radius: 0.75em;
    display: inline-block;
    vertical-align: middle;
}

#posts .user_info {
    position: absolute;
    bottom: 0;
    text-align: left;
    display: block;
    margin-top: 0.5em;
    position: flex;
    gap: 1em;
    align-items: start;
    flex-direction: row;
}

#posts .poster_name {
    height: 1.5em;
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
    display: inline-block;
}

#no_content img {
    opacity: 0.25;
    width: 5em;
    margin: 1em 0;
}

.company_info {
    font-size: 0.8em;
}


@media screen and (max-width: 800px) {
    body {
        font-size: 0.9em;
    }
    #container {
        width: auto;
        margin: 2em 1em 0 1em;
        overflow-x: hidden;
    }
    #ploy_logo {
        position: relative;
        width: 5em;
    }

    .post_content video, .post_content img  {
        max-width: 100%;
    }

    .post_info {
        max-width: 100%;
    }

    #ploy_promo {
        margin: 2em auto 1em auto;
        max-width: 75%;
        font-size: 0.9em;
    }
}