@charset "utf-8";


/* CSS Document */
a[href^="http://"]:after,
a[href^="https://"]:after {
    content: url(../img/Icon_External_Link.png);
    margin: 0 0 0 5px;
}
a[href*="//nerdsohard.xyz/"]:after {
    content: '';
    margin: 0;
}
@font-face {
  font-family: Noto;
  src: url(../font/NotoSansLao.ttf);
}

html {
    padding: 0px;
    margin: 0px;
    height: 100%;
}

body {
    padding: 0px;
    margin: 0px;
    min-height: 100%;
    background-color: #aeaeae;
    background-image: url('/img/nshu_trans.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-attachment: fixed;
    position: static;
    top: 0px;
    min-width: 520px;
    font-family: Noto;
}
#wrapper {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    position: static;
}
.gradient-pattern {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    width: 320px;
    height: 320px;
    border: none;
    /*font: normal 100%/normal Arial, Helvetica, sans-serif;*/
    -o-text-overflow: clip;
    text-overflow: clip;

    /*background:
    linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
    linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
    linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
    linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
    linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
    linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
    background-color: #131313;
    background-size: 20px 20px;*/
    
    /*background: #131313 url(/img/bg/argyle.png);*/
    background: #131313 url(/img/bg/black-paper.png);
}
#header {
    background-color: #0b4983;
    background-image: url('../img/headerbg2.png');
    width: 100%;
    position: relative;
    top: 0px;
    z-index: 7;
}
#header a {
    color: #b0b0b0;
}
#header h1 {
    padding-right: 50px;
    color: #EDEDED;
    text-shadow: 4px 4px #c75c3b;
    font-family: Gadget, sans-serif;
    font-size: 5vw;
    margin: -5px 0px 5px 5px;
    -webkit-transition: width 2s, height 2s, background-color 2s, -webkit-transform 2s;
    transition: width 2s, height 2s, background-color 2s, transform 2s;

    -webkit-mask-image: url(../img/roughorangetexture.png);
    -webkit-transform: rotate(-1deg);
    -moz-mask-image: url(../img/roughorangetexture.png);
    -moz-transform: rotate(-1deg);
    -o-mask-image: url(../img/roughorangetexture.png);
    -o-transform: rotate(-1deg);
    mask-image: url(../img/roughorangetexture.png);
    transform: rotate(-1deg);
    -webkit-transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color .5s linear;
    -moz-transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color .5s linear;
    -o-transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color .5s linear;
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color .5s linear;
}
#header h1:hover {
    transform: rotate(2deg) translate(100px, 20px ) scale(1.1);
    -moz-transform: rotate(2deg) translate(100px, 20px ) scale(1.1);
    -webkit-transform: rotate(2deg) translate(100px, 20px ) scale(1.1);
    color: #c75c3b;
    text-shadow: 4px 4px #EDEDED;
    
    
}
#header h1 a, #header h1 a:hover, #header h1 a:visited {
    text-decoration: none;
    color: #EDEDED;
}
#header img {
    height: 100%;
    display: inline;
    position: absolute;
    right: 8%;
    top: 0;
    z-index: 1;
}
#header img:hover {
    animation: spin .75s ease-in-out 1;
}
.loader {
    border: 16px solid #f3f3f3 !important;
    /* Light grey */
    border-bottom: 16px solid #3b44c7 !important;
    border-radius: 50% !important;
    width: 10vw;
    height: 10vw;
    animation: spin 1s ease-in-out infinite;
    margin: 50px auto !important;
    padding: 0 !important;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.subwrap {
    position: static;
    margin-right: 550px;
    margin-left: 15px;
    -webkit-transition: width 2s, height 2s, background-color 2s, -webkit-transform 2s;
    transition: width 2s, height 2s, background-color 2s, transform 2s;
}
.content {
    color: white;
    padding: 50px;
    height: 100%;
    min-width: 500px;
    max-width: 1200px;
    width:80%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    -webkit-transition: width 2s, height 2s, background-color 2s, -webkit-transform 2s;
    transition: width 2s, height 2s, background-color 2s, transform 2s;
    background: #c9c9c9;
    background: linear-gradient(90deg, #c4c4c4 10%, #e3e3e3 , #c4c4c4 90%);
    box-shadow: inset 0 -1em 2em rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.45), 0 5px 10px rgba(0,0,0,.7);
}
.content > p {
    font-size: 1.2em;
    margin: 15px 50px 5px 50px;
    -webkit-transition: width 2s, height 2s, background-color 2s, -webkit-transform 2s;
    transition: width 2s, height 2s, background-color 2s, transform 2s;
    color: #7474cc;
    text-shadow: 1px 1px 0px #585858, 1px 1px 4px #8c8c8c;
}
.content > div {
    background-color: rgba(68,68,68, 0.82);
    border-radius: .8em;
    padding: 15px;
    margin: 3px 20px 30px 20px;
    text-shadow: 2px 2px 3px #5c5c5a;
    -webkit-transition: width 2s, height 2s, background-color 2s, -webkit-transform 2s;
    transition: width 2s, height 2s, background-color 2s, transform 2s;
    border: 0px inset #c75c3b;
    box-shadow: inset 0 -1em 2em rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.45), 0 5px 10px rgba(0,0,0,.7);
    background-image: url(/img/bg/bright-squares.png);
    position: relative;
}



.content > div p {
    color: white;
    max-width: 700px;
    margin: auto;
    font-size: 1.1em;
    padding: 15px;
    position: relative;
    z-index: 2;
}
.content div div.banner {
    position: relative;
    top: -5px;
    left: -2.5%;
    margin: 0;
    width: 105%;
    min-height: 280px;
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0;
}
.content h1 {
    -webkit-transition: width 2s, height 2s, background-color 2s, -webkit-transform 2s;
    transition: width 2s, height 2s, background-color 2s, transform 2s;
    box-shadow: inset 0 0 15px #000;
    color: #e9e9ec;
    padding: 7px;
    border-top-right-radius: .5em;
    border-bottom-left-radius: .5em;
    border-top-left-radius: .5em;
    border-bottom-right-radius: .5em;
    font-weight: bold;
    /*text-shadow: 2px 2px 5px #c75c3b;*/
    text-align: center;
    margin: auto;
    margin-top: 5px;
    max-width: 500px;
    width: 50%;
    background-color: #0b4983;
    background: linear-gradient(0deg, #0b4983, #093b6b, #0b4983);
    background: #0b4983 url(../img/headerbg2.png)
}
.content h2 {

    margin-left: 100px;
    margin-right: 100px;
    text-align: center;
    text-shadow: 0px 0px 5px #060000;
    -webkit-transition: width 2s, height 2s, background-color 2s, -webkit-transform 2s;
    transition: width 2s, height 2s, background-color 2s, transform 2s;
    text-decoration: underline;
    display: inline-block;
    background: #00000075;
    padding: 2px 4px;
    border-radius: 7px;
}
.content h12 a {
    color: #fcfcfc;
}
.content h2 a:visited {
    color: #eed944;
}
h3{
    text-shadow: 2px 2px black;
}
div.centerimg {
    background: none;
    width: 100%;
    text-align: center;
    border: none;
}
.centerimg a {
    display: inline-block;
    margin: 0 auto;
}
.centerimg img, .centerimg iframe {
    margin: 5px auto;
    
    border: 2px white outset;
}
blockquote {
    text-align: center;
    font-size: 1.7em;
    font-family: 'Sedgwick Ave Display', cursive;
    margin: 40px 12% 40px 12%;
    padding: 40px;
    text-shadow: 2px 2px 3px #000000, 2px 2px 4px #540000;
    background:
    radial-gradient(hsl(0, 100%, 27%) 4%, hsl(0, 100%, 18%) 9%, hsla(0, 100%, 20%, 0) 9%) 0 0,
    radial-gradient(hsl(0, 100%, 27%) 4%, hsl(0, 100%, 18%) 8%, hsla(0, 100%, 20%, 0) 10%) 50px 50px,
    radial-gradient(hsla(0, 100%, 30%, 0.8) 20%, hsla(0, 100%, 20%, 0)) 50px 0,
    radial-gradient(hsla(0, 100%, 30%, 0.8) 20%, hsla(0, 100%, 20%, 0)) 0 50px,
    radial-gradient(hsla(0, 100%, 20%, 1) 35%, hsla(0, 100%, 20%, 0) 60%) 50px 0,
    radial-gradient(hsla(0, 100%, 20%, 1) 35%, hsla(0, 100%, 20%, 0) 60%) 100px 50px,
    radial-gradient(hsla(0, 100%, 15%, 0.7), hsla(0, 100%, 20%, 0)) 0 0,
    radial-gradient(hsla(0, 100%, 15%, 0.7), hsla(0, 100%, 20%, 0)) 50px 50px,
    linear-gradient(45deg, hsla(0, 100%, 20%, 0) 49%, hsla(0, 100%, 0%, 1) 50%, hsla(0, 100%, 20%, 0) 70%) 0 0,
    linear-gradient(-45deg, hsla(0, 100%, 20%, 0) 49%, hsla(0, 100%, 0%, 1) 50%, hsla(0, 100%, 20%, 0) 70%) 0 0;
    background-color: #300;
    background-size: 100px 100px;
    border-radius: 1.5em;
}

blockquote span.emph {
    font-size: 3em;
    display: block;
}
iframe {
    margin: 20px auto 20px auto;
    display: block;
}
video {
    cursor: pointer;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    -webkit-transition: width 2s, height 2s, background-color 2s, -webkit-transform 2s;
    transition: width 2s, height 2s, background-color 2s, transform 2s;
}
#feed {
    height: 90%;
    width: 520px;
    right: 0;
    z-index: 7;
    position: absolute;
    top: 168px;
    margin-left: auto;
    margin-right: auto;
    webkit-transition: width .2s, height .2s, background-color .2s, -webkit-transform .2s;
    transition: width .2s, height .2s, background-color .2s, transform .2s;

}

#feed iframe {
    position: absolute !important;
    top: 15px;
    height: 100% !important;
    -webkit-transition: width .2s, height .2s, background-color .2s, -webkit-transform .2s;
    transition: width .2s, height .2s, background-color .2s, transform .2s;
    background: white;
}
#lessFeed {
    cursor: pointer;
    background-color: #0b4983;
    border: 1px solid #0b4983;
    
    width: 110%;
    position: relative;
    left: -30px;
    top: 15px;
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
    -webkit-transition: width .2s, height .2s, background-color .2s, -webkit-transform .2s;
    transition: width .2s, height .2s, background-color .2s, transform .2s;
    text-align: right;
    padding: .75em 1em;
    font-size: .85em;
    line-height: 1.3em;
    margin: 0 auto;
    box-shadow: inset 0 -1em 2em rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.45), 0 5px 10px rgba(0,0,0,.7);
    text-shadow: 0 1px 0 rgba(0,0,0,.7);
    
    color: white;
    text-align: left;
    font-size: 1.4em;
    z-index: 7;
    height: 33px;
}
#feed.minFeed {
    width: 40px !important;
    top: 168px;
    right: 0px;
}
#feed.stuck {
    position: fixed;
    top: 0;
    height: 100%;
    right: 0;
}

.minFeed #lessFeed {
    width: 60px;
    background-color: #00885A;
    border: 1px solid #003e29;
    overflow: hidden;
    position: relative;
    height: 71px;
    left: -62px;
    -webkit-transition: width .2s, height .2s, background-color .2s, -webkit-transform .2s;
    transition: width .2s, height .2s, background-color .2s, transform .2s;
}
.maxSubwrap {
    margin-right: 0px;
}
ul.nshulist {
    list-style-image: url('../favicon/favicon-32x32.png');
    font-family: 'Indie Flower', cursive;
    font-size: 1.7em;
    text-shadow: 2px 2px 4px #191919;
    margin: 2em;
}
ol {
    list-style-image: none;
    list-style-type: upper-roman;
}
.listcolumns {
    -webkit-column-count: 3;
    /* Chrome, Safari, Opera */
    -moz-column-count: 3;
    /* Firefox */
    column-count: 3;
    font-family: 'Indie Flower', cursive;
    font-size: 1.7em;
    list-style-position: inside;
}
.listcolumns.two {
    -webkit-column-count: 2;
    /* Chrome, Safari, Opera */
    -moz-column-count: 2;
    /* Firefox */
    column-count: 2;
    list-style-position: inside;
}
.listcolumns li {
    -webkit-column-break-inside: avoid;
    /* Chrome, Safari */
    page-break-inside: avoid;
    /* Theoretically FF 20+ */
    break-inside: avoid-column;
    /* IE 11 */

}
.links {
    list-style-position: inside;
}
.links a {
    color: #c75c3b;
    text-shadow: 2px 2px 3px #000;
    border-radius: 10px;
    padding: 5px;
    display: inline-block;
}
.links a:visited {
    color: #d78973;
}
.links a:hover {
    color: #3b44c7;
    background-color: #c75c3b;
    text-shadow: 2px 2px 3px #FFF;
}

#footer {
    border: none;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 0;
}
#footer .nav {
    z-index: 0;
}
#footer ul.nav {
    padding: 0 0 0 0;
}
#footer li {
    float: none;
}

.nav {
    list-style-type: none;
    margin: 0;
    padding: 0.25rem 10% 0.125rem 10%;
    background-color: #c75c3b;
    background: linear-gradient(0deg, #c75c3b,#b94926, #c75c3b);
    position: relative;
    z-index: 6;
    display: flex;
    justify-content: flex-start;
    flex-wrap:wrap;

}
.dropbtn {
    border: none;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-family: bariol;
    font-size: 1.3em;
    text-align: center;
    padding: 14px 0;
    text-shadow: 2px 2px 4px #595959;
    min-width:100px;
    width: 100%;
    border-radius: 20px 20px 0 0;
}
.dropbtn.active {
    background: #0b4983;
    box-shadow: inset 0 -1em 2em rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.45), 0 5px 10px rgba(0,0,0,.7);
    text-shadow: 0 1px 0 rgba(0,0,0,.7);
    border-radius: 20px 20px 0 0;
    text-decoration: underline;
}
a.dropbtn:link, a.dropbtn:visited {
    color: white;
    text-decoration: none;
}
.dropdown:hover .dropdown-content {
    max-height:1000px;
    transition: max-height .25s ease-in;
}
.dropdown:hover .dropbtn {
      background: #d1481f;
    
    box-shadow: 0 5px 10px rgb(0 0 0 / 80%), inset 0 0 6px #862101;
    font-weight: bolder;
    text-shadow: 2px 1.5px 2px rgb(96 96 96);
    border-radius: 20px 20px 0 0;
    outline: 2px #ffffff63 solid;
}
.dropdown:hover .dropbtn.active {
    background: white;
    text-shadow: 2px 2px 2px #c75c3b;
    border-radius: 20px 20px 0 0;
    color: #053f75;
}
li.dropdown {
    display: inline-block;
    margin: 0px;
    position: relative;
    flex:1;
}
.dropdown-content {
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height .125s ease-out;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    text-shadow: 2px 2px 4px #696969;
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    text-align: center;
    border-radius: 0 0 20px 20px;
}
.dropdown-content a {
    color: #393939;
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    border-bottom: 1px #c75c3b solid;
    background: url(/img/bg/arabesque.png);
    font-size: 1.3em;
}

.dropdown-content a:last-child{
    border-radius: 0 0 20px 20px;
    border-bottom: 0;
}


.dropdown-content a.active {
    animation: scrollBackground 5s linear infinite;
    background-image: url(../img/bg/arabesque.png);
    /*background: repeating-linear-gradient(45deg, rgba(138, 138, 138, 0.2) 0px, rgba(6,6,6,.2) 10px, rgba(128, 128, 128, 0.2) 15px,rgba(255,255,255,.2) 20px,rgba(255,255,255,.3) 30px, rgba(255,255,255,.2) 35px);*/
    background-color: #0b4983;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 3px #c75c3b;
    text-decoration: underline;
}


@keyframes scrollBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 50%;
    }
}
@keyframes reverseScrollBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -100% -50%;
    }
}
.dropdown-content a:hover {

    /*background-image: url(../img/bg/3px-tile.png);*/
    color: white;
    background-color: #c75c3b;
    text-shadow: 2px 2px 4px #000;
}
.dropdown-content a.active:hover {
    animation: reverseScrollBackground 4s linear infinite;
    background-image: url(../img/bg/arabesque.png);
}

.btn {
    background: #3498db;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3498db), to(#2980b9));
    background-image: -webkit-linear-gradient(#3498db, #2980b9);
    background-image: -moz-linear-gradient(#3498db, #2980b9);
    background-image: -o-linear-gradient(#3498db, #2980b9);
    background-image: linear-gradient(#3498db, #2980b9);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    font-family: Arial;
    color: #ffffff;
    
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    border: 2px #888787 solid;
}
.activeButton {
    background: #d6ba38;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#937900), to(#a99223));
    background-image: -webkit-linear-gradient(#937900, #a99223);
    background-image: -moz-linear-gradient(#937900, #a99223);
    background-image: -o-linear-gradient(#937900, #a99223);
    background-image: linear-gradient(#937900, #a99223);
    border: 2px #888787 solid;
}
.btn:hover {
    background: #1bcf36;
    background-image: -webkit-linear-gradient(top, #1bcf36, #139326);
    background-image: -moz-linear-gradient(top, #1bcf36, #139326);
    background-image: -ms-linear-gradient(top, #1bcf36, #139326);
    background-image: -o-linear-gradient(top, #1bcf36, #139326);
    background-image: linear-gradient(to bottom, #1bcf36, #139326);
    text-decoration: none;
}





@media screen and (max-width: 1450px) {
    .listcolumns {
        -webkit-column-count: 2;
        /* Chrome, Safari, Opera */
        -moz-column-count: 2;
        /* Firefox */
        column-count: 2;
    }
   
}
@media screen and (max-width: 1250px) {
    .subwrap .listcolumns {
        -webkit-column-count: 1;
        /* Chrome, Safari, Opera */
        -moz-column-count: 1;
        /* Firefox */
        column-count: 1;
    }
    .listcolumns.two {
        -webkit-column-count: 1;
        /* Chrome, Safari, Opera */
        -moz-column-count: 1;
        /* Firefox */
        column-count: 1;
    }
    .content ol li img {
        padding-right: 5%;
    }
    #feed{
        width: 400px;
        display: none;
    }
  
}
@media screen and (max-width: 1050px) {
    #header {
        background-position: 100%;
    }
    #header h1 {
        font-size: 5vw;
    }
    .dropbtn {
        padding: 30px 16px;
        font-size: 1.7em;
    }
    .dropdown-content a {
        padding: 30px 16px;
        font-size: 1.6em;
    }
    .nav{
        padding:0 5%;  
        max-height: 90px;
    }

    .content {
        margin-left: auto;
        margin-right: auto;
        padding: 5px;
        width: 80%;
        min-width: 510px;
    }
    .subwrap {
        margin: 0;
    }
    .maxSubwrap {
        margin-right: 0 !important;
    }
    #feed{
        width: 350px;
    }

   
}
@media screen and (max-width: 800px) {
    .listcolumns {
        -webkit-column-count: 1 !important;
        /* Chrome, Safari, Opera */
        -moz-column-count: 1 !important;
        /* Firefox */
        column-count: 1 !important;
        text-align: center;
    }
    #feed{
        width: 300px;
    }
    .content{ 
        margin:0;
        width:100%;
    }
     .nav{
        padding:0;    
    }
}
