/* remove padding and clearfix setup */

@font-face {
    font-family: 'Open Sans';
    font-display: swap;
    src: local('Open Sans');
}
html {
    font-family: 'Open Sans', 'sans-serif';
}

/* style switcher */

.dark-layout:checked ~ #blurBackground #bodyContainer {
    background-color: rgb(25, 27, 28)!important;
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground .feature-text {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground .feature-text .title {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground .article_info {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground a.comments {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground .feature-text.active {
    background-color: rgb(49, 49, 49)!important
}
.dark-layout:checked ~ #blurBackground .rightseparator {
    border-right-color: rgb(65, 65, 65)!important;
}
.dark-layout:checked ~ #blurBackground .bottomseparator {
    border-bottom: 1px solid #414141!important;
}
.dark-layout:checked ~ #blurBackground #navContainer {
    background-color: rgb(41, 44, 46);
}
.dark-layout:checked ~ #blurBackground .account-options a {
    color: white;
}
.dark-layout:checked ~ #blurBackground li#topListHome img {
    filter: invert(100%);
}
.dark-layout:checked ~ #blurBackground .footerContainer {
    background-color: rgb(25, 27, 28)!important;
}
.dark-layout:checked ~ #blurBackground div#latest-video {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground span.published {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground div#latest-video p {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground h1.heading {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground p.author a {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground .buttons-wrapper {
    background: #191b1c!important;
}
.dark-layout:checked ~ #blurBackground .settings-btn + label {
    background: #292c2e!important;
}
.dark-layout:checked ~ #blurBackground label.layout-buttons.settings-box-element {
    color: #fff!important;
    border: 2px solid #fff!important;
}
.dark-layout:checked ~ #blurBackground span.immune {
    color: white!important;
}
.dark-layout:checked ~ #blurBackground .title a {
    color: rgb(232, 230, 227)!important;
}
.dark-layout:checked ~ #blurBackground table {
    color: black;
}


.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

.clearfix {
    display: block;
}

a {
    outline: none;
    color: #007191;
    text-decoration: none;
}

.headingBar{
    background-color: #3c424e;
    color: white;
}

/* top ad and logo */

.pageContainer {
    margin: 0 auto;
    max-width: 1270px;
}

.pageContainer #brandHeader img.logo {
    width: 200px;
    float: left;
    margin: 15px;
}

.pageContainer #brandHeader {
    background-color: black;
    /* max-height: 120px; */
}

.pageContainer {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.desktop_scroll{
    background-color: inherit;
    padding: 3px 10px;
    position: absolute;
    color: white;
    border: 0px;
    height: 100%;
    top:0px;
    position:absolute;
    color:white;
    border:0;
    height:100%;
    z-index:2;
}

/* responsive youtube */

.youtube-container{
    position:relative;
    padding-bottom:56%;
    height:0;
    overflow:hidden;
    margin-bottom: 20px;
}

.youtube-container iframe,
.youtube-container object {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    margin: 0;
    border: 0;
}

/* sections nav - category nav will inherit some styles from here */

/* style switcher */

i.fa.fa-2x.fa-gear {
    color: #990b00;
}

input[type="checkbox"],
input[type="radio"] {
    position: absolute;
    visibility: hidden;
}

.settings-box-element {
    z-index: 10;
    transition: .2s;
}

.buttons-wrapper {
    position: fixed;
    top: 87px;
    right: -200px;
    width: 200px;
    height: 110px;
    background: #fff;
    z-index: 10000;
}

label.settings-box-element {
    padding: 5px;
}

.settings-btn + label {
    position: fixed;
    top: 87px;
    right: 0;
    display: block;
    width: 35px;
    color: #3f2856;
    text-align: center;
    background: #fff;
    cursor: pointer;
    z-index: 10000;
}

.settings-btn:checked + label {
    right: 200px;
}

.settings-btn:checked ~ .buttons-wrapper {
    right: 0;
}

.settings-btn:checked ~ .settings-box-element i.fa.fa-chevron-left {
    transform: rotate(180deg);
    transition: 0.3s;
}
 
.settings-box-element i {
    transform: rotate(0deg);
    transition: 0.3s;
}

.layout-buttons {
    display: block;
    width: 150px;
    padding: 10px 0;
    text-align: center;
    border: 2px solid black;
    box-sizing: border-box;
    font-size: 0.875em;
    cursor: pointer;
}

.settings-btn:checked ~ .layout-buttons {
    right: 30px;
}

input[type="radio"]:checked + label {
    background: #3f2855;
    color: #fff;
    border-color: #3f2855;
    z-index: 10000;
}

label.layout-buttons.settings-box-element {
    z-index: 100000;
}

.light-layout + label {
    position: fixed;
    top: 100px;
    right: -150px;
    z-index: 10000;
}

.dark-layout + label {
    position: fixed;
    top: 150px;
    right: -150px;
}

/* ./style switcher */

body .pageContainer #navContainer {
    background: initial;
    background-color: #c3c3c3;
}

#navContainer #topList li span {
    padding: 3px 5px;
    border-radius: 3px;
}

#navContainer #topList li[data-section="tech"] {
    background-color: #007191;
}
#navContainer #topList li[data-section="tech"] span {
    color: white;
}
#navContainer #topList li[data-section="modding"] {
    background-color: #f6c604;
}
#navContainer #topList li[data-section="modding"] span{
    color: black;
}
#navContainer #topList li[data-section="gaming"] {
    background-color: #990b00;
}
#navContainer #topList li[data-section="gaming"] span {
    color: white;
}
#navContainer #topList li#topListForum {
    background: #373737;
}
#navContainer #topList li#topListForum span {
    color: white;
}

#navContainer ul li span,
#navContainer #topList li.active span {
    color:white;
}

#secondList .active,
#anotherSubNav{
    background-color:#3f2856;
}

#navContainer ul#topList {
    height: 40px;
}

#topList {
    display: block;
}

#navContainer ul {
    margin: 0;
    float: left;
    list-style-type: none;
    padding-left: 0;
}

#navContainer ul li {
    float: left;
}

#navContainer ul#topList li {
    padding: 10px 13px;
    height: 40px;
}

#navContainer ul#topList li.active {
    background-color: #3f2856;
}

#navContainer ul#topList li.active a span {
    color: white;
}

#mainNav{
    font-size: 100%;
}

#navContainer #mainNav .right_box {
    float: right;
    height: 30px;
    margin-right: 15px;
}

#navContainer .search {
    float: right;
    margin: 6px 15px;
    width: 305px;
}

#navContainer .search form {
    height: 33px;
    width: 300px;
    float: right;
}

#navContainer .search form input {
    height: 100%;
    padding-left: 5px;
    border: none;
    width: 265px;
}

#navContainer .search form [type="submit"] {
    height: 100%;
    width: 35px;
    border: 0;
    padding: 0;
    margin: 0;
    float: right;
    background: url(/static/public/image/search_icon_grey.png) #fff no-repeat center;
    cursor:pointer;
}

#navContainer .account-options{
    float: right;
    height: 40px;
    margin-right: 15px;
}

#navContainer .account-options #accounts_icon {
    color: white;
    background: #3f2855;
}

#navContainer .account-options #accounts_icon {
    color: white;
    background: #3f2855;
    padding: 10px;
}

#navContainer .account-options span.account-option{
    padding: 10px 10px;
    height: 100%;
    display: inline-block;
    cursor:pointer;
}

#navContainer .account-options span.immune{
    color:black;
    text-decoration:none;
}

#navContainer .account-options a{
    color: #3f2856;
}

/* #navContainer .account-options span:hover,
#navContainer li:hover{
    background-color:#cacbcf;
} */

/* #navContainer li:hover span{
    color:black;
} */

#navContainer #mainNav .right_box .icons {
    float: right;
    height: 100%;
    padding-top: 7px;
}
#footer #bottom_links_container .icons {
    width: 16%;
    vertical-align: top;
}
#footer #bottom_links_container .icons ul {
    display: block;
    margin-top: 8px;
}
#footer #bottom_links_container .icons ul li {
    width: 35px;
    height: 35px;
}

#navContainer #mainNav .right_box .icons a img,
#footer #bottom_links_container .icons a img {
    height: 26px;
    margin-left: 5px;
}

#navContainer #mainNav .right_box .icons a:hover img {
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="0.5" /><feFuncG type="linear" slope="0.5" /><feFuncB type="linear" slope="0.5" /></feComponentTransfer></filter></svg>#filter');
    -webkit-filter: brightness(50%);
    filter: brightness(50%);
}

#navContainer #mainNav .right_box .icons a {
    text-decoration: none;
}


/* category nav */

#subNav,
#anotherSubNav {
    font-size:90%;
    height: auto;
    float: left;
    width: 100%;
    background-color: #3f2856;
}
#navContainer ul#secondList li {
    margin-top: 0px;
}

#secondList,
#thirdList{
    display:-webkit-inline-box;
    display:-ms-inline-flexbox;
    display:inline-flex;
    max-width:initial;
    width:initial;
}

#navContainer #secondList,
#navContainer #thirdList {
    /* margin-top: 0px; */
}

#secondList li,
#thirdList li {
    line-height: 10px;
}
#thirdList li {
    height: 45px;
}

#navContainer ul#secondList li span,
#navContainer ul#thirdList li span{
    white-space: nowrap;
    padding: 0px 15px;
}
#navContainer ul#secondList li {
    padding-top: 18px;
    padding-bottom: 17px;
}
#navContainer ul#secondList li.active {
    background-color: #3f2856;
}

#navContainer ul#secondList li.active span {
    color: white;
}

#navContainer ul li {
    text-decoration: none;
    font-size: 14px;
    margin: 0px;
    margin-bottom: 0px;
}

#thirdList .active {
    background-color: #fff;
}

#anotherSubNav .active span {
    color: black;
}

#shortSignup {
    max-height: 150px;
}
#shortSignup iframe {
    height: 135px;
}

img.arrow {
    height: 8px;
}

img#left_arrow {
    margin-right: 2px;
}

img#right_arrow {
    margin-left: 3px;
}

#skyscrapers{
    margin-top:8px;
    margin-bottom:8px;
}

.footerContainer {
    background-color: #fbfbfb;
    clear: both;
    padding-top: 10px;
}

#brandHeader div[class*="xtag-"]{
    float: right;
    position: relative;
}

#bottom_border {
    width: 39%;
    min-height: 23px;
    padding: 5px 10px;
    float: none;
    display: inline-block;
}
.pagination-line {
    width: 29%;
    display: inline-block;
    height: 10px;
    border-top: 2px solid #3f434f;
}

#side_column .xtag-165{
    float: right;
    height: 600px;
    width: 160px;
}

#side_column .xtag-165 img{
    width:100%;
}

.footerContainer .xtag_container {
    clear: both;
    margin-bottom: 10px;
    width: 935px;
}

.footerContainer .xtag_container div[class*="xtag-"] {
    /* display: table; */
    margin: 0 auto;
}

.footerContainer #footer {
    font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, Garuda, "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Geneva, "Trebuchet MS", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #3c424e;
}

.footerContainer #footer {
    color: #ffffff;
    padding: 20px;
}

.footerContainer #footer h2.heading {
    margin: 0;
    text-transform: uppercase;
    font-size: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid #889;
}

.footerContainer #footer ul {
    list-style: none;
    padding: 0;
    margin: 3px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.footerContainer #footer ul > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.footerContainer #footer ul > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.footerContainer #footer ul li {
    font-size: 100%;
    display: inline-block;
    width: 100%;
}

.footerContainer #footer ul li a {
    text-decoration: none;
    color: #DDE !important;
}

.footerContainer #footer .bottom_links {
    margin-right: 20px;
    display: inline-block;
    width: 25%;
}
.footerContainer #footer .bottom_links > div {
    width: 47%;
    display: inline-block;
}

.footerContainer #footer #bottom_info_container p {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 100%;
    font-weight: 100;
}
#bottom_info_container {
    width: 80%;
    display: inline-block;
    position: absolute;
    bottom: 5px;
}


/* body styles */

#bodyContainer {
    background-color: #fbfbfb;
    color: #4c4c4c;
    float: left;
    width: 100%;
    position: relative;
    padding: 15px;
}

#side_column {
    float: right;
    width: 300px;
}

#main_column {
    float: left;
    width: 920px;
}

.hide-on-desktop {
    display: none;
}

#mobileNavContainer {
    display: none;
}

.helptext{
    color:#b03535;
}

@media screen and (max-width: 640px) {
    .login {
        left: 0%;
        width: 100%;
    }
}
@media screen and (max-width: 1000px) {
    .footerContainer #footer .bottom_links > div {
        width: 100%;
        display: block;
        padding: 15px
    }
}

.social-icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    float: left;
    width: 100%;
}

.social {
    padding: 9px 10px 5px 10px;
    color: #fff;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    text-align: center;
    float: left;
    text-decoration: none;
    font-size: 1em;
    position: relative;
}

.social:hover > div {
    background-color: rgba(0,0,0,0.2);
    position: absolute;
    left: 0px;
    bottom: 0px;
    top: 0px;
    right: 0px;
}

.social.facebook {
    background-color: #3e5b98;
}

.social.google-oauth2 {
    background-color: #dd4b39;
}

.social.instagram {
    background-color: #000000;
}

.social.twitter {
    background-color: #4da7de;
}

.opaque {
    background-color: transparent;
    display: none;
    z-index: 9999;
    -webkit-transition: 1s background-color ease;
    transition: 1s background-color ease;
}

.opaque.show {
    position: fixed;
    display: block;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background:black;
    background:rgba(63,40,86,0.3);

    filter:blur(4px);
    -o-filter:blur(4px);
    -ms-filter:blur(4px);
    -moz-filter:blur(4px);
    -webkit-filter:blur(4px);
}

#page_body video {
    width: 100%;
}

#page_body p iframe {
    margin: 0px auto;
    display: block;
}

/* redesign 18/01/2019 */
div#latest-video,
.xtag-157,
#shortSignup {
    margin-bottom: 15px;
}
div#latest-video img {
    display: inline-block;
    vertical-align: super;
    width: 15%;
    margin-right: 5px;
}
div#latest-video div {
    display: inline-block;
    width: 80%;
}
div#latest-video div p {
    font-size: 12px;
    color: #686868;
    margin: 0px;
    text-align: left;
}
#latest-video-text {
    text-align: left;
    font-weight: bold;
    margin: 0px;
}
#top_features {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 668px 0px 30px 0px 1fr;
    grid-template-columns: 668px 30px 1fr;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    margin-bottom: 15px;
    grid-column-gap: 0px;
}
#top_features > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
#top_features > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}
#top_features > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
}
.feature-image {
    display: none;
    width: 100%;
}
.feature-image img {
    width: 640px;
    height: 360px;
    object-fit: cover;
}
.feature-image.active {
    display: inline-block;
}
.feature-text {
    height: 33%;
    position: relative;
}
.feature-text.active {
    background-color: #eaeaea;
}
.feature-text .description {
    display: none;
}
.feature-text p {
    margin: 0px;
    display: inline;
}
.feature-text .title {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: 54px;
    word-break: initial;
    font-weight: bold;
    color: black;
    font-size: 19px;
    display: inline-block;
    display: -webkit-inline-box;
    padding-left: 5px;
}
.feature-text .description {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 16px;
    height: 50px;
    max-height: 50px;
    word-break: initial;
    padding-left: 5px;
    display: block;
    display: -webkit-box;
    font-size: 14px;
}
.feature-text .published {
    position: absolute;
    bottom: 0px;
    left: 0px;
    font-size: 12px;
    color: #686868;
}
.feature-text .category-dot {
    display: inline-block;
}
.feature-block {
    display: inline-block;
}
.feature-images, 
.feature-texts {
    width: 100%;
    height: 360px;
}
#color-line {
    margin-left: 0px;
    margin-right: 25px;
    background: #3f2855;
}

.category-dot,
.category-line {
    height: 10px;
    width: 10px;
    display: inline-block;
    background: #3f2855;
    border-radius: 15px;
    margin-bottom: 4px;
}
.article_heading .category-dot {
    margin-bottom: 0px;
}
.category-dot.modding,
.category-line.modding,
#color-line.modding {
    background: #f6c604
}
.category-dot.tech,
.category-line.tech,
#color-line.tech {
    background: #007191;
}
.category-dot.gaming,
.category-line.gaming,
#color-line.gaming {
    background: #990b00;
}
.feature-text .category-dot {
    margin-left: -10px;
}
.feature-text .category-line {
    visibility: hidden;
}
.feature-text.active .category-line {
    display: inline-block;
    visibility: visible;
}
.category-line {
    margin-left: -30px;
    width: 20px;
    height: 4px;
    padding-bottom: 3px;
    margin-bottom: 7px;
}
#topListHome span {
    display: none;
}
#topListHome img {
    width: 20px;
    height: 20px;
}

/* style switcher styles */
/* ./style switcher styles */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */
    /* generic */
    #blurBackground, 
    body {
        background-attachment: scroll;
    }
    /* header */
    /* sidebar */
    /* footer */
    .footerContainer #footer .bottom_links {
        display: inline-table;
    }
    .footerContainer #footer ul li {
        width: 49%;
    }
    .icons {
        width: 208px;
    }
    #bottom_border {
        text-align: center;
    }
 }