/* ###   Reset default CSS   ### */
body               { padding: 0; margin: 0; background: #dee0e1 }
a 				   { color: blue; text-decoration: none; outline: none; }

/* ###   Menu for mobiles   ### */
.mobile-menu-blackout       { position: fixed; z-index: 5; top: 0; left: 0; height: 100%; width: 100%; display: none; background: rgba(0,0,0,0.75); }
.mobile-menu-button         { display: none; margin: 0; }
.mobile-menu-button-login   { display: none; margin: 0; }
.mobile-menu-button-logout  { display: none; margin: 0; }
.mobile-menu-button-text    { font-size: 18px; }

/* ###   Header   ### */
.header                   { position: fixed; z-index: 10; top: 0px; left: 0px; height: 48px; width: 100%; background: rgba(34,34,34,0.95); font-family: 'Open Sans', sans-serif; font-weight: 600; transition: 0.5s all; }
.header-wrap              { position: relative; margin: 0 auto; height: 48px; width: 1800px; }
.header-mobile-menu       { display: none; }

.header-logo              { position: absolute; top: 12px; left: 15px; height: 28px; width: auto; }
.header-button-wrapper    { position: absolute; bottom: 0px; right: 10px; }
.header-button            { position: relative; margin: 0 10px; float: left; user-select: none; cursor: pointer; color: white; font-size: 18px; font-weight: 600; line-height: 48px; transition: 0.2s all; }
.header-button:hover      { color: #ADD1FC }
.header-button-spread     { margin: 16px 10px 0 10px; height: 18px; width: 1px; float: left; background: #aaa; }

.header-nick              { max-width: 100px; overflow: hidden; font-size: 14px; font-weight: 300; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; transition: color 0.5s, max-width 2s; }
.header-nick:hover        { max-width: 1000px; }
.header-logout            { position: relative; margin: 0 5px; float: left; user-select: none; cursor: pointer; color: #777; font-size: 14px; font-weight: 600; line-height: 48px; transition: 0.2s all; }
.header-logout:hover      { color: #aaa }

/* ###   Footer   ### */
.footer                   { position: relative; padding: 10px 20px; margin: 50px auto 0 auto; width: calc(100% - 40px); font-family: 'Open Sans', sans-serif; font-size: 25px; text-align: left; background: #2a2d38; box-shadow: 0 -5px 10px #0000004d; }
.footer-wrap              { margin: 10px auto; max-width: 1200px; width: calc(100% - 40px); }
.footer-logo              { margin-top: 10px; height: 30px; width: auto }
.footer-icon              { position: relative; margin-left: 10px; padding-top: 13px; float: right; color: #b1b1b1; transition: 0.5s all; }
.footer-icon-fb:hover       { color: #5b79b8; }
.footer-icon-twitter:hover  { color: #65bcfe; }
.footer-icon-reddit:hover   { color: #ff4500; }

/* ###   Showcase   ### */
.showcase          { position: absolute; overflow: hidden; top: 0; left: 0; height: 314px; width: 100%; }
.showcase-back     { position: absolute; top: -10%; left: -10%; height: 120%; width: 120%; background-size: cover; background-position: center center; filter: blur(10px) brightness(80%); }

/* ###   Wrap    ### */
.wrap              { min-height: calc(100vh - 360px); }
.wrap-news         { position: relative; margin: 223px auto 0 auto; padding: 50px 50px 20px 50px; width: 860px; background: white; border: 1px solid #eee; box-shadow: 0 10px 10px -10px rgba(123,123,123,0.5); }
.wrap-news-date    { position: absolute; top: 30px; color: #a9a9a9; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 1.3em }
.wrap-news-title   { position: relative; color: black; font-family: 'Open Sans', sans-serif; font-size: 40px; font-weight: bold; line-height: 1.25em }
.wrap-news-content { position: relative; padding: 20px 0 10px 0; color: rgb(63, 63, 63); font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; line-height: 24px; }
.wrap-news-footer      { margin-top: 30px; padding: 10px 0 0 0; color: #577AB0; font-family: 'Open Sans', sans-serif; font-weight: 600; text-align: right; border-top: 1px solid #e0e0e0; }
.wrap-news-footer-post { display: inline-block; margin-right: 5px; color: #aaa; font-size: 12px; font-weight: 400; }

/* ###   News Modifiers   ### */
.t-image           { margin: 20px; height: auto; width: calc(100% - 40px); }
.t-image-label     { font-size: 12px; color: #444444; text-align: center; font-style: italic; margin-top: -20px; }
.t-ul-header       { font-size: 20px; font-weight: bold; padding: 10px 0; color: #4A7BC5; }
.t-ul              { list-style-type: disc; letter-spacing: 0.5px; -webkit-margin-before: 0; -webkit-padding-start: 20px; }
.t-ul li           { margin: 0 }
.t-small           { font-size: 15px; }
.t-bold            { font-weight: bold; }
.t-italic          { font-style: italic; }
.t-quote           { font-style: italic; font-size: 14px; padding: 20px; color: #ababab; }
.t-quote-author    { font-style: italic; font-size: 12px; text-align: right; padding: 5px 10px; }
.t-header          { color: #4A7BC5; font-weight: bold; font-size: 24px; padding: 20px 0 10px 0; }

/* ###   Desktop (from 971px to 1800px width)   ### */
@media (max-width: 1800px) and (min-width: 971px){
    /* ###   Header   ### */
    .header-wrap       { position: relative; margin: 0 auto; height: 48px; width: 100%; }
}
/* ###   Small Desktops (from 1001px to 1200px width)   ### */
@media (max-width: 1200px) and (min-width: 1001px){
    /* ###   Header   ### */
    .header-wrap       { position: relative; margin: 0 auto; height: 48px; width: 100%; }
    /* ###   Footer   ### */
    .footer-wrap       { width: calc(100% - 80px) }
}
/* ###   Tablet (from 768px to 1000px width)   ### */
@media (max-width: 1000px) and (min-width: 768px){
    /* ###   Header   ### */
    .header-wrap       { position: relative; margin: 0 auto; height: 48px; width: 100%; }
    .header-logo       { position: absolute; z-index: 9; top: 13px; left: 13px; height: 22px; width: auto; }
    /* ###   Footer   ### */
    .footer-wrap       { width: calc(100% - 80px); }
    /* ###   Wrap   ### */
    .wrap-news-date    { position: relative; margin: 5px 0; top: 0; line-height: normal; }
    .wrap-news-title   { font-size: 30px; }
    .wrap-news         { width: calc(100% - 100px); border: 0; }
}
/* ###   Phones (from 120px to 767px width)   ### */
@media (max-width: 767px) and (min-width: 120px){
    /* ###   Header   ### */
	.header                { position: fixed; z-index: 10; top: 0px; left: 0px; height: 54px; width: 100%; background: rgba(34,34,34,0.95); transition: 0.5s all; }
	.header-wrap           { position: relative; margin: 0 auto; height: 54px; width: 100%; }
	.header-logo           { position: absolute; z-index: 9; top: 15px; left: 10px; height: 24px; width: auto; }
    .header-button-wrapper { position: absolute; bottom: 0px; right: 90px; }
    .header-mobile-menu    { position: absolute; display: inline-block; cursor: pointer; top: -45px; right: -65px; color: white; font-size: 24px; }
	.header-button, .header-nick, .header-button-spread, .header-logout { display: none; }
    /* ###   Menu for mobiles   ### */
    .mobile-menu               { position: fixed; z-index: 10; top: 52px; left: 0; right: 0; }
	.mobile-menu-button        { position: relative; display: none; user-select: none; cursor: pointer; overflow: hidden; padding: 10px 15px; width: calc(100% - 30px); float: left; color: white; font-family: 'Open Sans', sans-serif; font-size: 24px; font-weight: 600; text-align: center; white-space: nowrap; background: rgba(50,50,50,0.95); border-bottom: 1px solid #111; transition: 0.5s all; }
	.mobile-menu-button-login  { position: relative; display: none; user-select: none; cursor: pointer; overflow: hidden; padding: 15px 15px; width: calc(100% - 130px); float: left; color: white; font-family: 'Open Sans', sans-serif; text-overflow: ellipsis; line-height: 24px; white-space: nowrap; text-transform: uppercase; text-align: center; white-space: nowrap; background: rgba(35,35,35,0.95); border-bottom: 1px solid #111; transition: 0.5s all; }
	.mobile-menu-button-logout { position: relative; display: none; user-select: none; cursor: pointer; overflow: hidden; padding: 15px 15px; width: 70px; float: left; color: white; font-family: 'Open Sans', sans-serif; font-weight: 300; line-height: 24px; text-align: center; white-space: nowrap; background: rgba(20,20,20,0.95); border-bottom: 1px solid #111; transition: 0.5s all; }
    /* ###   Footer   ### */
    .footer               { padding: 5px 20px; }
    .footer-wrap          { margin: 0 auto; padding: 5px 10px; width: calc(100% - 40px); }
	.footer-logo          { margin-top: 10px; height: 20px; width: auto }
    .footer-icon          { font-size: 18px; }
    /* ###   Wrap   ### */
    .wrap-news-date       { position: relative; margin: 5px 0; top: 0; line-height: normal; }
    .wrap-news-title      { font-size: 25px }
    .wrap-news            { padding: 20px; margin-top: 200px; width: calc(100% - 40px); border: 0; }
    /* ###   Showcase   ### */
    .showcase             { height: 214px; }
}