body, div, table, li, ul {
    padding: 0;
    margin: 0;
    font-family: arial;
    font-size: 15px;
    line-height: 19px;
    color: #333
}

#header {
    border-bottom: 1px solid #ddd;
    margin: 0 auto;
    margin-bottom: 0px;
    padding-bottom: 20px;
    padding: 10px;
    background: #000;
}

#inner-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

#logo {
    width: 250px;
    height: 45px;
}

#logo img {
    width: 100%;
    height: auto
}

#header-callout {
    display: flex;
    background: lightslategray;
}

#header-callout p {
    width: 100%;
    color: #fff;
    padding: 12px 0;
    margin: 0;
}

#header-callout a {
    color: #000;
}

#nav {
    text-align: right;
}

#nav ul {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

#nav li {
    list-style: none;
    margin-left: 20px;
    float: left;
    font-size: 16px
}

#nav a {
    text-decoration: none;
    color: #fff
}

#nav #create {
    border-radius: 8px;
    background: #3a5795;
    color: #fff;
    padding: 8px;
}

#tm-left-gutter.sticky, #tm-right-gutter.sticky {
    position: absolute !important;
    top: 0px !important;
}

.desktop-sticky {
    top: 0;
    position: sticky;
    position: -webkit-sticky;
    z-index: 999;
}

.create-btn, a.create-btn {
    border-radius: 8px;
    background: #3a5795;
    color: #fff !important;
    padding: 10px;
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 20px auto;
    box-sizing: border-box;
}

#outer-container {
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0
}

#main-container {
    padding: 10px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

a, a:active, a:visited {
    text-decoration: none;
    color: #3a5795;
}

h1 {
    font-size: 40px;
    line-height: 45px;
    color: #fff;
    margin-bottom: 20px
}

h2 {
    font-size: 30px;
    line-height: 38px;
    color: #fff;
}

h3 {
    font-size: 20px;
    line-height: 25px;
    color: #fff;
    margin-bottom: 10px
}

h4 {
    font-size: 20px;
    line-height: 25px;
    color: #fff;
    margin-bottom: 10px
}

h5 {
    font-size: 20px;
    line-height: 25px;
    color: #fff;
    margin-bottom: 10px
}

p, li {
    font-size: 17px;
    line-height: 20px
}

li {
    margin-bottom: 10px;
    margin-left: 40px;
}

p {
    margin-bottom: 20px;
    line-height: 30px;
}

#main-container p, li, #copyright, #breadcrumbs, p {
    color: #BFBFBF;
}

#inner-container iframe {
    max-width: 100% !important;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

select { font-size: 18px; color: #333; width: 100%}

option { padding: 10px}

.link {
    cursor: pointer;
}

.clear {
    width: 100%;
    clear: both;
}

.outer-list-container {
    overflow: scroll;
    width: 100%;
    margin-bottom: 30px;
}

.list-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 1000px;
}

#category-page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;

}

#category-page .list-image {
    /*width: 275px;*/
    /*height: 150px;*/
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #222;

}

#category-page .list-meta {
    /*width: 275px;*/
    width: 100%;
    min-height: 70px;
    position: relative;
    margin-top:-50px;
}

.list-image {
    width: 350px;
    height: auto;
    height: 180px;
    overflow: hidden;
    background: #FFF;
}

.list-image img {
    width: 100%;
    height: auto;
}

.list-avatar {
    width: 100%;
    max-width: 75px;
    height: auto;
    border-radius: 50%;
    margin-right: 5px;
}

.center {
    text-align: center
}

.mobile-only {
    display: none;
}

.list-item {
    padding: 2px;
    position: relative;
    flex: none;
    max-width: 100%;
}

#category-page .list-item {
    float: left;
    box-sizing: border-box;
    width: 50%;
    padding: 2px;
    /*width: 33%;*/
    /*width: 100%;*/
}

#category-page.narrow .list-item {
    width: auto;
}

.list-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #111;
    color: #fff;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    width: 350px;
    padding: 5px;
}

.list-meta .small-avatar, .list-meta .title {
    color: #fff;
}

.list-meta .small-avatar, .list-meta span {
    font-size: 13px;
    color: #ccc;
}

#category-list-view {
    margin: 0 0 20px 20px
}

#category-list-view li {
    margin: 0 0 10px 0
}

.small-avatar {
    width: 50px;
    height: 50px;
    margin: 10px;
    border-radius: 50%
}

.author-meta {
    display: flex;
    padding: 20px 0px;
    align-items: center;
}

.author-meta .avatar img {
    border-radius: 50%
}

.follow-button {
    margin-left: 10px
}

.author-meta .name {
    margin-left: 10px;
}

#footer {
    margin: 20px 0 20px;
    display: flex;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

#footer h5 {
    font-size: 20px;
    margin: 0 0 15px 0;
    padding: 0;
}

#footer ul {
    padding: 0;
    margin: 0;
}

#footer li {
    margin: 0 0 10px 0;
    padding: 0;
    float: left;
    clear: both;
    list-style: none;
    font-size: 14px;
}

#footer a  {
    font-size: 14px;
    color: #3a5795;
}

#footer > div {
   width: 33.3%;
}

#share-container {
    padding: 0 0 20px 0;
}

.category-carousel-item {
    width: 150px;
    height: 150px;
    margin-right: 2px;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.category-carousel-item .image {
    object-fit: cover;
    width: 150px;
    height: 150px;
}

.video-carousel-item {
    width: 360px;
    height: 200px;
    margin-right: 2px;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.video-carousel-item .image {
    object-fit: cover;
    width: 360px;
    height: 200px;
}

.cat-header {
    padding: 5px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #000;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
}

#guidelines li {
    margin-left: 50px;
}

.action {
    display: flex;
    padding: 0 0 20px;
    text-align: center;
}

#create-template {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
}

.action input {
    width: 100%;
    padding: 10px;
    font-size: 20px;
    border: 1px solid #ccc;
    box-shadow: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    border-radius: 0;
}

.action textarea {
    font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    width: 100%;
    padding: 5px;
    height: 70px;
    box-shadow: none;
    -webkit-appearance: none;
    border-radius: 0;
}

#submit-btn {
    background: #000;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin-top: 30px;
}

#submit-btn[disabled] {
    background: #000;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: auto;
    margin-top: 30px;
    opacity: .2;
}

#pagination {
    text-align: center;
    padding: 20px 0;
    clear: both;
    box-sizing: border-box;
    width: 100%;
}

.pagination {
    display: inline-block;
    padding: 5px;
}

.share-link {
    padding: 10px;
    border: 1px solid #efefef;
    border-radius: 5px;
}

.share-link.twitter {
    margin-right: 10px;
    background: #1b95e0;
    color: #fff;
}

.share-link.facebook {
    margin-left: 10px;
    background: #4267b2;
    color: #fff;
}

.share-link.download {
    margin-left: 10px;
    background: #333;
    color: #fff;
}

.preview-image {
    width: 80px;
    height: auto;
}

.desktop-only {
    display: block;
}

#mobile-main-nav {
    box-sizing: border-box;
    display: none;
    margin-top: -20px;
    color: #000;
    width: 100%;
    margin-bottom: 20px;
    background: #242222;
    position: relative;
    z-index: 100000000;
}

#mobile-main-nav a {
    text-decoration: none;
    padding: 15px 15px;
    display: block;
    color: #333;
}

#mobile-main-nav li {
    padding: 0;
    border-bottom: 1px #ccc solid;
    list-style: none;
    line-height: 30px;
    margin-bottom: 0;
    margin-left: 0;
}

.success {
    color: #060;
    font-weight: bold;
}

.failure {
    color: orangered;
    font-weight: bold;
    margin-top: 50px;
    font-size: 18px;
}

/* Icon 1 */

#nav-icon {
    width: 30px;
    height: 45px;
    position: absolute;
    right: 0;
    top: 16px;
    margin: 0px auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 0px;
    opacity: 1;
    right: 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

/* Icon 4 */

#nav-icon {
}

#nav-icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(2) {
    top: 11px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(3) {
    top: 22px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0px;
    left: -1px;
}

#nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 21px;
    right: 1px;
}

#breadcrumbs {
    margin: 30px 0 0
}

.close {
    position: absolute;
    right: 60px;
    top: 18px;
    width: 25px;
    height: 25px;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    cursor: pointer;
}

.close:hover {
    opacity: 1;
}

.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 25px;
    width: 3px;
    background-color: #fff;
}

.close:before {
    transform: rotate(0deg);
}

.close:after {
    transform: rotate(-90deg);
}

#ui-id-1 {
    width: 400px;
}

.ui-menu {
    background: #fff;
    border-bottom: 1px solid #efefef;
    border: 1px solid #ccc;
    max-height: 400px;
    overflow-y: scroll;
    z-index: 1000;
}

.ui-menu li {
    list-style: none;
    margin-left: 0;
}

.ui-menu-item-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    padding: 5px;
    background: #fff;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
}

.ui-menu-item-wrapper img, .ui-menu-item-wrapper div {
    display: flex;
}

.ui-menu-item img {
    width: 50px;
    height: auto;
    margin: 5px;
}

.ui-helper-hidden-accessible {
    display: none !important;
}

#profile-avatar {
    width: 70px;
    height: auto;
    margin: 0 10px 10px 0;
}

.author-meta .avatar {
    width: 60px;
    height: 60px;
}

.author-meta .avatar img {
    width: 100%;
    height: auto;
}

.emoji-count {
    margin-top: 9px !important;
}

#emojiPlugin {
    margin-bottom: 0 !important;
}

#header-search-container {
    display: none;
    background: #000;
    text-align: right;
    position: absolute;
    padding: 10px;
    right: 40px;
    top: -17px;
}

#header-search-container-mobile {
    background: #000;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
}

#header-search {
    font-size: 16px;
    border: none;
    padding: 8px;
    border-radius: 15px;
    width: 400px;
    z-index: 1000;
}

#header-search-mobile {
    font-size: 16px;
    border: none;
    padding: 8px;
    border-radius: 15px;
    width: 300px;
    z-index: 1000;
}

.amazon_ad {
    width: 85%;
    margin: 40px auto;
}

#tinymce.mce-content-body, .mce-panel, #mceu_18 {
    width: 100%; font-size:18px; line-height:32px; color:#111; margin-bottom:25px; font-family: Arial, Helvetica, sans-serif !important;
}

.rail-banners {
    width: 160px;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    box-sizing: border-box;
}

#outer-main-flex {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

#tm-create-np-video-wide {
    display: none;
}

/* remove after test */
/*#tm-left-gutter-container {*/
/*    display: none;*/
/*}*/
/*.rail-banners {*/
/*    width: 300px;*/
/*}*/

/*#tm-create-np-video, #tm-inline-np-video, #tm-np-video {*/
/*    display: none;*/
/*}*/

/*#tm-create-np-video-wide {*/
/*    display: block;*/
/*}*/

.image-count-container {
    position: absolute;
    right: 0px;
    top: 0;
    font-size: 12px;
    padding: 2px 5px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    margin: 5px;
    z-index: 1;
    border: 1px solid #666;
}

.image-count-container:hover:after {
    content: "image count";
    opacity: 1;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 2px 5px;

    /* Position the tooltip */
    position: absolute;
    margin: 0.5rem 0 0 0.5rem;
    z-index: 1;
    width: 75px;
}

@media (min-width: 1792px) {
    #main-container {
        /*width: 1120px !important;*/
    }

    #outer-main-flex {
        max-width: 1792px;
    }

    /* remove after test */
    /*#tm-left-gutter-container {*/
    /*    display: block;*/
    /*}*/

    .rail-banners {
        width: 300px;
    }

    .category-carousel-item {
        width: 143px;
        height: 150px;
    }

    .category-carousel-item .image {
        width: 143px;
        height: 150px;
    }

    .video-carousel-item {
        width: 345px;
        height: 200px;
    }

    .video-carousel-item .image {
        width: 345px;
        height: 200px;
    }

    #tm-inline-np-video {
        display: none;
    }

    #tm-inline-np-video-wide {
        display: block;
    }

    #category-page .list-image {
        /*width: 260px;*/

    }

    #category-page .list-meta {
        /*width: 260px;*/
        position: relative;
        width: 100%;
    }
}

@media (max-width: 1344px) {

    /* remove after test */
    /*#tm-create-np-video-wide {*/
    /*    display: none;*/
    /*}*/

    /*#tm-inline-np-video, #tm-np-video {*/
    /*    display: block;*/
    /*}*/

    /*#tm-create-np-video {*/
    /*    display: block;*/
    /*}*/

    /*.rail-banners {*/
    /*    width: 160px;*/
    /*}*/

    .category-carousel-item {
        width: 160px;
        height: 150px;
    }

    .category-carousel-item .image {
        object-fit: cover;
        width: 160px;
        height: 150px;
    }

    .video-carousel-item {
        width: 400px;
        height: 210px;
    }

    .video-carousel-item .image {
        object-fit: cover;
        width: 400px;
        height: 210px;
    }

}

#outer-main-flex {
    max-width: 2000px;
}
#main-container, #inner-header {
    max-width: 1140px;
}

/* remove after test */
@media (max-width: 1279px) {
    .rail-banners {
        display: none;
    }
}

@media (max-width: 900px) {

    .rail-banners {
        display: none;
    }

    h1 {
        font-size: 30px;
        line-height: 35px
    }

    h2 {
        font-size: 25px;
        line-height: 33px;
    }

    h3 {
        font-size: 17px;
        line-height: 25px;
    }

    p, li {
        font-size: 14px;
        line-height: 25px
    }

    #main-container {
        width: 100%;
    }

    #inner-container iframe {
        max-height: 400px !important;
    }

    #logo {
        width: 200px;
        height: 37px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .list-item {
        padding: 0;
    }

    .list-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        max-width: 1000px;
    }

    .user-item {
        width: 55px;
    }

    .list-image {
        /*max-width: 250px; width: 100%; height: auto*/
        width: 200px;
        height: 130px;
        margin-top: 10px;
    }

    .list-meta {
        width: 200px;
    }

    .list-avatar {
        max-width: 50px;
    }

    .author-meta .avatar {
        width: 60px;
        height: 60px;
    }

    .share-link {
        font-size: 11px;
    }

    #category-page {
        flex: none;
    }

    #category-page .list-item {
        float: left;
        /*width: 33%;*/
        /*width: 100%;*/
    }

    #category-page.narrow .list-item {
        float: left;
        width: 33%;
        /*width: 100%;*/
    }

    #category-page .category-carousel-item {
        width: 100%;
        height: 110px;
        margin-right: 0;
    }

    #category-page .list-image {
        /*width: 100%;*/
        /*height: 150px;*/
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    #category-page .list-meta {
        /*width: 100%;*/
        position: relative;
        width: 100%;
    }

    #category-page .category-carousel-item .image {
        object-fit: cover;
        width: 100%;
        height: 110px;
    }

    #breadcrumbs {
        font-size: 12px;
        margin: 15px 0 0
    }

    .category-carousel-item {
        width: 110px;
        height: 110px;
    }

    .category-carousel-item .image {
        object-fit: cover;
        width: 110px;
        height: 110px;
    }

    .video-carousel-item {
        width: 250px;
        height: 150px;
    }

    .video-carousel-item .image {
        object-fit: cover;
        width: 250px;
        height: 150px;
    }


    .video-carousel-item.wide {
        width: 100%;
        height: 150px;
    }

    .video-carousel-item.wide .image {
        object-fit: cover;
        width: 100%;
        height: 150px;
    }

    #category-list-view {
        margin: 0 -10px;
        padding: 0;
        box-sizing: border-box;
        width: 105%;
        border-top: 1px solid #efefef;
    }

    #category-list-view li {
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #efefef;
    }

    #category-list-view li a {
        padding: 20px 15px;
        display: block;
        color: #333;
        font-size: 16px;
    }

    #profile-avatar {
        width: 60px;
    }

    #create-video {
        width: 100%;
        height: auto;
    }

    #header-search-container {
        display: none;
    }

    .amazon_ad {
        width: 100%;
    }

    #footer {
        display: block;
    }

    #footer div {
        width: 100%;
        padding-bottom: 10px;
        clear: both;
        float: left;
    }

    .np-slot {
       max-height: 300px;
    }

    #emojiPlugin {
        width: 100%;
    }
}

#outer-share {
    display: flex; align-items: center; margin-bottom: 20px;
}
#outer-share #share-container {
    padding: 0;
    margin-right: 20px;
}
#outer-share .col-6 {
    flex: 1
}
#outer-share  #emojiPlugin {
    text-align: left !important;
}
#outer-share  #share-container.override-flex {
    flex: none;
}

.error {
    font-weight: bold;
    color:darkred;
}

#comments {
    padding: 0;
}

.commentContainerBorder {
    padding: 20px;
    border: 1px solid #efefef;
    float: left;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

#twitch_Comments1 .commentContainerBorder, #twitch_Comments2 .commentContainerBorder {
    padding: 5px 20px;
    border: 1px solid #efefef;
    height: 300px;
    overflow: scroll;
}

.comment {
    font-size: 18px;
    padding: 5px 0 0;
    float: left;
    clear: both;
    width: 100%;
    border-bottom: 1px solid #efefef;
}

.comment-text {
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 30px;
    color: #333;
}

.comment-details {
    font-size: 14px;
    color: #333;
}

#commentBox {
    margin-top: 0;
    border: 1px solid #ccc;
    border-radius: 0;
    -webkit-appearance: none;
}

textarea {
    width: 100%;
    border: 1px solid #efefef;
    font-size: 16px;
    margin: 20px 0;
    height: 100px;
    box-sizing: border-box;
    padding: 10px;
}

button {
    font-size: 16px;
    padding: 15px;
    border: none;
    border-radius: 6px;
}

.button-link {
    font-size: 16px;
    padding: 5px 50px;
    border: none;
    border-radius: 6px;
    /*background: #efefef;*/
    color: #333;
    width: auto;
    max-width: 300px;
    display: inline-block;
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
}

button:hover, .category-carousel-item:hover, .button-link:hover {
    opacity: .85;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.community-rank-button {
    background: #000;
    color: #fff;
    background-image: url('/images/icons/apple-icon-144x144.png');
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: contain;
}

.alignment-chart-btn {
    color: #fff;
    background: #000;
    background-image: url('/images/icons/alignment-icon.png?3');
    background-repeat: no-repeat;
    background-position: 0 center;
    background-size: contain;
}

.add-comment {
    margin-bottom: 20px;
    text-align: center;
}

button#addComment {
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
}

@media (max-width: 780px) {

    .cat-header {
        font-size: 15px;
        line-height: 20px;
    }

    #outer-share {
        display: block;
    }
    #outer-share  #share-container {
        margin-bottom: 20px;
        margin-right: 0;
    }
    #outer-share  #emojiPlugin {
        text-align: center !important;
    }
    .emoji-count {
        font-size: 11px !important;
        margin-top: 10px;
    }

    #emojiPlugin .emoji {
        padding: 2px !important;
    }

    .mobile-sticky {
        top: 0;
        position: sticky;
        position: -webkit-sticky;
        z-index: 1000;
    }
}

@media (max-width: 650px) {
    #category-page .list-item {
        width: 100%;
    }
    #category-page.narrow .list-item {
        width: 50%;
    }
}

@media (max-width: 320px) {
    .share-link.twitter, .share-link.facebook {
        font-size: 9px;
    }
}
