html, body {
    overflow-x: hidden !important;
}

body {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: #0f1116;
    width: 100%;
    height:100%;
    margin: auto;
    padding: 0;
    color: white;
    font-family: 'Work Sans', sans-serif !important;
    font-size: 1rem;
    text-align: center;
}

.bg-discord {
    background-color: #5865F2 !important;
}

.bd-discord {
    border-color: #5865F2 !important;
}

.bg-darknav {
    background-color: #161B22 !important;
}

.bg-darkmain {
    background-color: #0f1116 !important;
}

.text-bg-dark {
    background-color: #0f1116 !important;
}

h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word !important;
}

.footer {
    position: fixed;
    bottom: 0;
    padding: 1.4em;
    width: 100%;
    border-top-style: solid;
    border-top-width: 2px;
}

.convertImage {
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-right: auto;
}

.footer p, .footer a {
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
    transition: color 1s
}

a:hover {
    color: rgb(0, 162, 255);
}

.exo {
    font-family: 'Exo', sans-serif !important;
}

.montserrat {
    font-family: 'Montserrat', sans-serif !important;
}

.sourcecodepro {
    font-family: 'Source Code Pro', monospace !important;
}

.worksans {
    font-family: 'Work Sans', sans-serif !important;
}

nav {
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.navbar-nav {
    margin-left: auto;
    margin-right: 0;
}

.nav-link {
    color: white !important;
    transition: color 0.3s ease-in-out;
    font-size: 1.15em;
}

.nav-link i {
    margin-top: 0.2em;
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5em;
}

.navbar-toggler {
    color: white;
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.bg-none {
    background-color: transparent !important;
}

table {
    background-color: rgba(41, 41, 41, 0.3);
    line-height: 1;
    width: 100% !important;
    overflow-x: auto;
    overflow-y: auto;
}

table tr:nth-child(odd) {
    background-color: #1e2630;
}

table tr:nth-child(even) {
    background-color: #161B22;
}

.customDiv {
    width: 100%;
    max-height: 25em;
    overflow-y: auto;
}

.customDiv2 {
    width: 100%;
    height: 50em;
    max-height: 50em;
    overflow-y: auto;
}

.mobile {
    display: none;
    visibility: hidden;
}

.convertPara {
    margin-bottom: 2em !important;
}

.desktop {
    display: block;
    visibility: visible;
}

.btnnostyle {
    margin-top: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    border-style: none;
    border-color: transparent;
}

.closebutton {
    color: white;
    font-size: 2em;
}

.btn-theme:hover {
    color: white;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.3);
}

pre.hljs div {
	position: relative;
	float: right;
	background: #2A2A2A;
	border-radius: 0.2em;
}

pre.hljs div svg {
	-moz-transition: fill 0.25s ease;
	-webkit-transition: fill 0.25s ease;
	-ms-transition: fill 0.25s ease;
	transition: fill 0.25s ease;
	vertical-align: middle;
	height: 1.5em;
  	width: 1.5em;
	fill: rgba(92, 95, 110, 0.884);
	margin: 0.5em;
}

pre.hljs div svg:hover {
	fill: rgba(163, 164, 172, 0.884);
	cursor: pointer;
}

.hljs {
	display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #ebebeb;
	font-family: 'Courier Prime', monospace;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #282d38;
    border: 1px solid #969696;
    border-radius: 4px;
    text-align: start;
}

.hljs-comment,
.hljs-quote {
	color: #998;
	font-style: italic
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
	color: #c36ec1;
	font-weight: bold
}

.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
	color: #cd9663
}

.hljs-string,
.hljs-doctag {
	color: #97c075
}

.hljs-property {
	color: #dc686d
}

.hljs-params {
	color: #dc686d
}

.hljs-title,
.hljs-section,
.hljs-selector-id {
	color: #61a7dc;
	font-weight: bold;
}

.hljs-subst {
	font-weight: normal
}

.hljs-type,
.hljs-class .hljs-title {
	color: #458;
	font-weight: bold
}

.hljs-tag,
.hljs-name,
.hljs-attribute {
	color: #005ec9;
	font-weight: normal
}

.hljs-regexp,
.hljs-link {
	color: #009926
}

.hljs-symbol,
.hljs-bullet {
	color: #990073
}

.hljs-built_in,
.hljs-builtin-name {
	color: #0086b3
}

.hljs-meta {
	color: rgb(165, 50, 180);
	font-weight: bold
}

.hljs-deletion {
	background: #fdd
}

.hljs-addition {
	background: #dfd
}

.hljs-emphasis {
	font-style: italic
}

.hljs-strong {
	font-weight: bold
}

code {
    font-family: 'Lucida Console', 'Courier New', monospace;
    font-weight: normal;
    text-indent: 0;
    letter-spacing: 0;
    font-size: 0.9em;
    /* margin: 0 0.25em; */
    padding: 0.25em 0.5em;
    background-color: rgba(144,144,144,0.25);
    border-radius: 0.25em;
    color: rgb(243, 243, 243);
}

pre code {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #ebebeb;
    font-family: 'Courier Prime', monospace;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #4b4b4b;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.codeforced {
    font-family: 'Lucida Console', 'Courier New', monospace;
    font-weight: normal;
    text-indent: 0;
    letter-spacing: 0;
    font-size: 0.9em;
    /* margin: 0 0.25em; */
    padding: 0.25em 0.5em;
    background-color: rgba(144,144,144,0.25);
    border-radius: 0.25em;
    color: rgb(243, 243, 243);
}

.convertQuote {
	background: #404040;
	border-left: 10px solid #616161;
  	margin: 1.5em 10px;
  	padding: 0.5em 10px;
	border-radius: 2px;
}

.convertinfo {
	background: #2ca7fa;
	border-radius: 2px;
	padding: 1em;
    margin-bottom: 0.6em;
}

.convertinfo .convertPara a {
	color: #FFFFFF !important;
	text-decoration: underline !important;
}

.convertinfo .convertPara a:hover {
	text-decoration: none !important;
}

.convertwarning {
	background: #ec832d;
	border-radius: 2px;
	padding: 1em;
    margin-bottom: 0.6em;
}

.convertdanger {
	background: #f15240;
	border-radius: 2px;
	padding: 1em;
    margin-bottom: 0.6em;
}

.convertsuccess {
	background: #00d684;
	border-radius: 2px;
	padding: 1em;
    margin-bottom: 0.6em;
}

.convertdanger .convertPara, .convertwarning .convertPara, .convertinfo .convertPara, .convertsuccess .convertPara, .convertquote .convertPara {
    margin-bottom: 0 !important;
}

.searchbox, .searchbox:hover, .searchbox:focus {
    background-color: #111111;
    color: white;
}

.bg-thatdark {
    background-color: #111111 !important;
    color: white;
}

.navbarlogo {
    width: 4em;
    height: auto;
    margin-right: 1em;
}

.typicalbox {
    border-style: solid;
    border-width: 2px;
    border-radius: 0.2em;
}

.innerarticle {
    margin-left: 0.2em;
    margin-right: 0.2em;
    text-align: start;
}

.nohovereffecta:hover {
    color: white !important;
}

.articlehover .innerarticle {
    color: white !important;
    transition: box-shadow 0.4s ease-in-out, border-radius 0.3s ease-in-out;
}

.articlehover:hover .innerarticle {
    color: white !important;
    box-shadow: inset 0 0 0 1000px rgba(22, 27, 34, 0.5);
    border-radius: 0.6em;
}

.smallspacer {
    margin-left: 0.2em;
    margin-right: 0.2em;
}

.catimage {
    width: 100%;
    height: auto;
}

.adminareacol {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.catimgmain {
    width: 4em;
    height: auto;
}

.articlelists {
    font-size: 1.2em;
    transition: color 0.24s ease-in-out !important;
}

.articlelists:hover {
    color: white !important;
}

.fixedarticlelistheight {
    height: 29.5em;
    max-height: 29.5em;
    overflow-y: auto;
}

.articlebox {
    text-align: start;
}

.articleclosebutton {
    font-size: 1.8em;
    color: white;
    transition: color 0.3s ease-in-out;
}

.articlepagerowheader {
    padding-left: 1em;
    padding-right: 1em;
}

.breadcrumbnav {
    border: none;
    margin-top: 0.8em;
}

/* Scrollbar */
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    /* background: #f1f1f1; */
    background: rgba(255, 0, 0, 0);
    /* background-color: transparent; */
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.075);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(136, 136, 136, 0.445);
}

::-webkit-scrollbar-corner {
    background: rgba(136, 136, 136, 0.445);
}

@media only screen and (max-width: 540px) {
    /* For mobile view */
    .mobile {
        display: block;
        visibility: visible;
    }
    .desktop {
        display: block;
        visibility: hidden;
    }
    .catimage {
        margin-bottom: 0.4em;
    }
    .navbar-brand {
        font-size: 1.2em;
    }
    .breadcrumb-item {
        font-size: 0.8em;
    }
    .fixedarticlelistheight {
        max-height: 14.5em;
    }
}
