/* CSS Document */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

@media screen and (min-width:768px){

.mob-header, .closenav {
    display: none !important;
}
.switch-btn-dark-pc {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 30px;
    cursor: pointer;
    display: none;
    z-index: 9;
    color: #eee;
}
.switch-btn-pc {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 30px;
    cursor: pointer;
    z-index: 9;
}
.dark .switch-btn-dark-pc {display: block;}
.dark .switch-btn-pc {display: none;}
.dark div.navbar-inner {
    background-color: #333;
}

.pull-right {
   width: 300px;
}

.pull-left {
   width: 605px; 
}





} /* /min-width:768px ****************************************************************/


@media screen and (min-width:768px) and (max-width:960px){

* {box-sizing:border-box;max-width:100% !important;}
table {table-layout:fixed; width:100%;}  
img { max-width:100% !important; height:auto;}
body {margin: 0px;padding: 0px;}
iframe { max-width:100% !important;}
object { max-width:100% !important;}
.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 100% !important;
}
body .row {
    margin: auto;
}
form.navbar-form.pull-right {
    float: none;
    display: table;
    table-layout: fixed;
    clear: both;
    margin: 5px;
}
.navbar .navbar-inner > .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
div.span12 {
    margin-left: auto;
    padding-left: 10px;
    padding-right: 10px;
}
.nav-tabs > li > a {
    font-size: 13px;
}
form.navbar-form.pull-right input {
    height: 30px;
    display: inline-block;
}
form.navbar-form.pull-right span.add-on {
    height: 30px;
}
.navbar.navbar-fixed-top + .container {
    margin-top: 94px !important;
}





} /* /(min-width:768px) and (max-width:960px) *****************************************/

@media screen and (max-width:767px){

* {box-sizing:border-box;max-width:100% !important;}
table {table-layout:fixed; width:100%;}
img { max-width:100% !important; height:auto;}
body {margin: 0px;padding: 0px;}
iframe { max-width:100% !important;}
object { max-width:100% !important;}


.mob-header {
    width: 100%;
    text-align: right;
    padding: 0 15px;
}
span.mob_button {
    display: inline-block;
    /* width: 50px; */
    cursor: pointer;
    font-size: 2em;
    padding: 8px;
}
span.close_button {
    display: inline-block;
    /* width: 50px; */
    cursor: pointer;
    font-size: 2em;
    padding: 10px 8px;
}
.mob-header a.brand {
    margin-left: auto;
    display: inline-block;
    margin-top: 10px;
}
.container a.brand {
    display: none !important;
}
.navbar .navbar-inner > .container {
    position: fixed;
    left: auto;
    top: 0;
    right: -400px;
    width: 270px;
    height: 100%;
    background-color: #eee;
    z-index: 999;
    max-height: 100%;
    overflow-y: auto;
    transition-duration: 0.4s;
}
.closenav {
    width: 100%;
    text-align: right;
    padding: 0 10px 15px 10px;
}
.navbar ul.nav {
    margin: auto auto 30px auto;
    left: auto;
    width: 100%;
    padding: 0;
}
.navbar ul.nav > li {
    display: block;
    width: 100%;
    border-bottom: solid thin #e6e6e6;
}
.navbar ul.nav > li > a {
    padding: 13px 15px;   
}
form.navbar-form {
    margin: auto;
    display: block;
}
.navbar-form div.input-prepend {
    white-space: normal;
    padding: 0 10px;
}
.navbar-form div.input-prepend input.span3 {
    display: block;
    float: right;
    width: calc(100% - 40px);
    height: 35px;
}
.navbar-form div.input-prepend span.add-on {
    display: block;
    float: left;
    height: 35px;
    width: 40px;
}
.navbar-form div.input-prepend button.btn {
    margin-top: 15px;
}
h1, h2, h3 {
    line-height: 1.4 !important;
}
body h1 {
    font-size: 2.3em;
}
body h2 {
    font-size: 2.1em;
}
body h3 {
    font-size: 2.0em;
}
body h4 {
    font-size: 1.8em;
}
div .row {
    margin-left: auto;
}
div .span12 {
    width: 100%;
    margin: auto;
    padding: 0 15px;
}
.table-responsive {
    width: 100%;
    overflow-y: auto;
}
.table-responsive > table.table {
    width: 900px;
    max-width: 900px !important;
}
div .reddits_yesterday {
    display: block;
    width: 100%;
    padding: 0 15px;
    clear: both;
    margin-bottom: 15px;
}
ul.nav.nav-tabs {
    text-align: center;
}
ul.nav.nav-tabs li {
    display: inline-block;
    float: none;
}
div.tab-pane {
    width: 100%;
    overflow-x: auto;
}
.tab-pane > table.table {
    width: 900px;
}
body > .container {
    padding-left: 10px;
    padding-right: 10px;
}
div.pull-right[data-skm-boomerang-el-1="processed"] {
    width: 100% !important;
}
div#compare_box input {
    display: block;
    width: 100% !important;
    height: 30px;
    margin-bottom: 10px;
}
.top_reddits .table-responsive > table.table {
    width: 450px;
    max-width: 450px !important;
}
.table-responsive > table.table.td_3 {
    width: 450px;
    max-width: 450px !important;
}
.tab-pane .table-responsive > table.table.td_3 {
    width: 750px;
    max-width: 750px !important;
}
.switch-btn-dark-pc, .switch-btn-pc {
    display: none !important;
}
span.switch-btn {
    display: inline-block;
    font-size: 2em;
    margin: auto 10px auto 5px;
}
span.switch-btn-dark {
    display: none;
    font-size: 2em;
    margin: auto 10px auto 5px;
}
div.tab-pane table td a {
    font-size: 12px;
    display: inline-block;
}




} /* /max-width:767px */




/* Dark mode ****************************************************************/

/*@media screen and (max-width:767px){*/


body.dark {
    background-color: #666;
    color: #fff;
}
.dark .navbar-inner {
    background-image: none;
    background-color: #555;
    border-bottom-color: #333;
}
.dark span.switch-btn {
    color: #eee;
    display: none;
}
.dark span.switch-btn-dark {
    display: inline-block;
    color: #eee;
}
.dark span.mob_button {
    color: #eee;
}
.dark #area-example, .dark #area-example2, .dark #subscriber-growth, .dark #total-subscribers, .dark #total-subreddits, .dark #new-reddits-by-day, .dark #rank-graph {
    background: #999;
    border: 1px solid #777;
}
.dark p {
    color: #eee !important;
}
.dark a {
    color: #5bc0de;
}
.dark .tod {
    background: #555;
}
.dark .week {
    background: #555;
}
.dark table td {
    background: #555;
}
.dark .table_top {
    background-image: none;
    background: #333;
}

.dark .table-striped tbody tr:nth-child(odd) td,
.dark .table-striped tbody tr:nth-child(odd) th {
  background-color: #808080;
}

.dark .table-hover tbody tr:hover td,
.dark .table-hover tbody tr:hover th {
  background-color: #a8a8a8;
}

.dark .milestones-header {
    color: #ffffff;
    font-weight: bold;
}

.dark .rank-title {
    color: #ffffff;
}

.dark .navbar .navbar-inner > .container {
    background-color: #333;
}
.dark .navbar .nav > li > a {
    color: #fff;
    text-shadow: none;
}
.dark .navbar .nav > .active > a, .dark .navbar .nav > .active > a:hover, .dark .navbar .nav > .active > a:focus {
    color: #eee;
    text-decoration: none;
    background-color: #777;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.dark span.close_button {
    color: #eee;
}
.dark .nav-tabs > .active > a, .dark .nav-tabs > .active > a:hover {
    background-color: #444;
    color: #eee;
}
.dark .btn {
    background-color: #999;
    background-image: none;
    color: #fff;
    text-shadow: none;
}
.dark .pager .disabled > a, .dark .pager .disabled > a:hover, .dark .pager .disabled > span {
    color: #fff;
    background-color: #999;
}
.dark .pager li > a, .dark .pager li > span {
    color: #fff;
    background-color: #999;
}
.dark .green {
    color: #7dff7d;
}




/*} *//* /max-width:767px */

/* Dark mode ends */
