﻿.tagResultsWrap {
    display: flex;
    margin: 32px 0;
}
.tagResultsWrap > div:first-child {
    max-width: 250px;
    min-width: 250px;
    flex: 0;
    padding-right: 16px;
    border-right: 1px solid #efefef;
}
.similarTagsMobile h3,
.tagResultsWrap > div:first-child h3 {
    font-size: 1.15rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    margin: 0;
}
.tagLeftBlock {
    margin-bottom: 32px;
}
.tagResultsWrap > div:first-child .tagLeftBlock:last-child{
    margin-bottom: 0;
}
.tagResultsWrap > div:last-child {
    flex: 1;
}
h1, p.h1Text {
    color: #2B2B2B;
}
h1 {
    margin-bottom: 0;
}
p.h1Text {
    margin-top: 16px;
}
.tagListWrapper {
    display: flex;
    flex-wrap: wrap;
}
.tagListWrapper .tagWrapper {
    min-width: 33.33333%;
    max-width: 33.33333%;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #efefef;
}
.tagDescription {
    line-height: 120%;
    padding-top: 10px;
    font-size: 1.15rem;
    padding-right: 20px;
}
@media screen and (max-width: 1000px) {
    .tagListWrapper .tagWrapper {
        min-width: 50%;
        max-width: 50%;
    }
}
@media screen and (max-width: 640px) {
    .tagListWrapper .tagWrapper {
        min-width: 100%;
        max-width: 100%;
    }

    .tagDescription {
        padding-right: 0;
    }
}

.tagHead {
    display: flex;
}
.tagHead > div:first-child {
    flex-grow: 0;
}
.tagHead > div:last-child {
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 100%;
    align-self: center;
    padding-left: 10px;
}

.paginationWrap {
    margin-bottom: 30px;
}

.tagDate {
    font-weight: 500;
}
p.tagShort {
    font-size: 1.15rem;
    max-width: 1000px;
}

.synonymWrapper ul.tagViewer {
    display: inline-block;
}
.synonymWrapper ul.tagViewer li a {
    font-size: 1rem;
    padding: 2px 8px;
}

.bcWrap {
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
}
.bcWrap nav {
    flex-grow: 1;
    padding-right: 15px;
}
ul.breadCrumbNav li a {
    color: #dc0d8a;
}
ul.breadCrumbNav li:last-child a, ul.breadCrumbNav li:last-child:after {
    color: #2B2B2B !important;
}
ul.breadCrumbNav img {
    filter: none !important;
}
.innerCount {
    display: inline-block;
    background: #fff;
    border: 1px solid #c0c0c0;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2B2B2B;
    line-height: 100%;
    margin-left: 5px;
    position: absolute;
    right: 8px;
}

.pageTopNotice {
    background: red;
    padding: 20px;
}
.pageTopNotice.warn {
    background: rgb(255, 188, 0);
}
.pageTopNotice p {
    color: #fff;
    display: block;
    max-width: 650px;
    margin: 0 auto;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: normal;
    text-align: center;
}

.moderatePanel {
    background: #efefef;
    border-radius: 3px;
    padding: 20px;
    margin-top: 20px;
    line-height: 100%;
}
.moderatePanel h3 {
    margin: 0;
}
.moderatePanel input[type=text] {
    padding: 3px;
}
.moderatePanel label {
    display: block;
    margin-top: 12px;
}
.tagTopBar {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.tagTopBar > div {
    flex: 1;
}
.tagTopBar > div:last-child {
    text-align: right;
}
.tagTopBar > div:first-child {
    padding-left: 8px;
}
.tagCount {
    font-size: 1.15rem;
    line-height: 120%;
}
ul.tagContentTypeFilter {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.tagContentTypeFilter li {
    margin: 0;
    padding: 0;
}
    ul.tagContentTypeFilter li a {
        display: flex;
        align-items: center;
        padding: 8px;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 3px;
        position: relative;
    }
    ul.tagContentTypeFilter li a:hover {
        background: #f8f8f8;
    }
    ul.tagContentTypeFilter li.selected a {
        background: #efefef;
        color: #333;
    }
    ul.tagContentTypeFilter li a:hover {
        text-decoration: none;
    }

.tagResultsWrap > div:first-child ul.tagViewer li,
.similarTagsMobile  ul.tagViewer li{
    display: flex !important;
    align-items: center;
}
.tagResultsWrap > div:first-child .tagViewerCount,
.similarTagsMobile .tagViewerCount {
    font-size: 0.85rem;
    display: block;
    margin-left: 8px;
    color: #999;
}
.similarTagsMobile {
    display: none;
}
@media screen and (max-width: 1050px) {
    .tagResultsWrap {
        flex-direction: column;
    }
    .tagResultsWrap > div:first-child {
        max-width: 100%;
        min-width: 100%;
        padding-right: 0;
        border-right: 0;
        display: flex;
        flex-wrap: wrap;
    }
    .tagResultsWrap > div:first-child > div:first-child {
        flex: 1;
        padding-right: 32px;
    }
    .tagResultsWrap > div:first-child > div:nth-child(2) {
        flex: 0;
    }
    .tagResultsWrap .tagLeftBlock.synonymWrapper {
        display: none;
    }
    .similarTagsMobile {
        display: block;
        margin-bottom: 64px;
    }
    .similarTagsMobile ul {
        display: flex;
        flex-wrap: wrap;
    }
    .similarTagsMobile ul li {
        white-space: nowrap;
        min-width: 25%;
        margin-right: 0 !important;
    }
    ul.tagContentTypeFilter {
        display: flex;
        flex-wrap: wrap;
    }
    ul.tagContentTypeFilter li {
        margin-right: 16px;
    }
    ul.tagContentTypeFilter li:last-child {
        margin-right: 0;
    }
    ul.tagContentTypeFilter a {
        padding-right: 48px !important;
    }
    .objectRenderWrap {
        border-left: 1px solid #efefef;
    }
    .objectRenderLeft {
        max-width: 150px !important;
        min-width: 150px !important;
    }
}
@media screen and (max-width: 900px) {
    .similarTagsMobile ul li {
        min-width: 33.33333%;
    }
    h1 {
        text-align: left !important;
    }
    .objectRenderFoot > div {
        min-width: 100%;
        max-width: 100%;
    }
}
@media screen and (max-width: 700px) {
    .similarTagsMobile ul li {
        min-width: 50%;
    }
    .contentWrapper {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
@media screen and (max-width: 600px) {
    .objectRenderWrap {
        flex-direction: column;
        padding-bottom: 0 !important;
        padding-right: 0 !important;
    }
    .objectRenderWrap > div:nth-child(1) {
        order: 2;
    }
    .objectRenderWrap > div:nth-child(2) {
        order: 1;
        padding-left: 16px;
        padding-right: 16px;
    }
    .objectRenderLeft {
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 4px 16px;
        background: #f8f8f8;
        display: flex;
        align-items: center;
    }
    .objectRenderLeft .voteWrapper {
        display: inline-flex !important;
        margin-bottom: 0 !important;
        order: 2;
        flex: 1;
        margin-right: -22px;
    }
    .objectRenderLeft ul {
        flex-direction: row !important;
    }
    .objectRenderLeft ul li {
        margin-bottom: 0 !important;
        margin-right: 16px !important;
    }
    .objectRenderLeft > ul {
        display: inline-flex !important;
        order: 1;
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 400px) {
    .similarTagsMobile ul li {
        min-width: 100%;
    }
}
.paginationWrap {
    padding-left: 16px;
    padding-top: 16px;
}
.tagSortWrap ul.tagSort {
    list-style: none;
    display: flex;
    margin: 0 auto;
    padding: 0;
    align-items: center;
}
.tagSortWrap ul.tagSort li {
    margin-bottom: 0;
}
    .tagSortWrap ul.tagSort li a {
        font-weight: 500;
        display: flex;
        align-items: center;
        padding: 8px 24px;
    }
.tagSortWrap ul.tagSort li.selected a {
    background: #efefef;
    color: #333;
}
.tagSortWrap {
    display: flex;
    border-bottom: 1px solid #efefef;
    margin-bottom: 32px;
    padding-bottom: 0;
}
