html {
    scroll-behavior: smooth;
}
body {
    font-family: "Roboto Slab"!important;
    background-color: rgba(40, 50, 50, 1)!important;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-button {
    background: #204a87
}
::-webkit-scrollbar-track-piece {
    background: #1b1f23
}
::-webkit-scrollbar-thumb {
    background: #729fcf
}​

.parallax {
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif!important;
    /*-ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;*/
}

#ie {
    height: 0px;
    visibility: hidden!important;
}

#menu {
	float: right;
	text-align: right;
	text-transform: uppercase;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	position: relative;
}

#overview {
    background-image: linear-gradient(rgba(20,20,100,0.6), rgba(40, 50, 50, 1));
    margin-bottom: 0px;
}

#overview img {
    margin-top: 120px;
    margin-bottom: 20px;
    min-width: 67%;
    max-width: 620px;
}

#overview .article-search {
    padding: 15px 0 140px 10.5%;
    width: calc(67% + 40px);
}

@media all and (max-width: 600px) {
    #overview img {
        margin-top: 90px;
        margin-bottom: 5px;
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
    #overview .article-search {
        padding: 15px 0 100px 0;
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
}

#overview-list {
    background: rgba(40, 50, 50, 1);
}

@media all and (min-width: 942px) {
    #overview-list {
        margin-left: 40px;
    }
}

fotter {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 10%;
    padding-top: 40px;
    padding-bottom: 20px;
}

fotter, fotter a {
    color: #a5a5a5;
}
fotter a:hover {
    color: white;
    text-decoration: none;
}

fotter > * {
    margin: 2.5px;
}

/* ============================================================
  SECTIONS
============================================================ */

section {
	display:block;
	overflow:auto;
}

section.module:last-child {
  margin-bottom: 0;
}
section.module h1 h2 h3 h4 h5 h6 {
  margin-bottom: 15px;
}
section.module p {
  margin-bottom: 10px;
  font-size: 16px;
}
section.module p b {
  font-weight: bold;
}
section.module p:last-child {
  margin-bottom: 0;
}
section.module.content {
  padding: 15px 0;
}
section.module.content img {
    max-width: 100%;
}
section.module.parallax {
  padding: 100px 0;
  background-position: 0 0; 
   -moz-box-shadow:    inset 0 0 100px #000;
   -webkit-box-shadow: inset 0 0 100px #000;
   box-shadow:         inset 0 0 100px #000;
}
section.module.parallax h1 {
  color: #fff;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 0 0 50px black;
}

/* ============================================================
  Author
============================================================ */

.author {
    background: linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.5) 100%);
    height: fit-content;
    width: fit-content;
    border-radius: 50px;
    padding: 10px;
    margin: 0px 0px 10px 50px;
    float: right;
}
.authorText {
	margin: auto;
	float: right;
    font-size: 20px;
    padding-right: 15px;
    text-align: right;
}
.author small {
    font-size: 16px;
    color: #666
}
.author .authorText a {
    font-size: 33px;
}
.author .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    float: right;
}

@media all and (min-width: 701px) {
    .subContainer .cmsContent {
        margin-bottom: 10px;
    }
}

@media all and (max-width: 700px) {
    .subContainer {
        display:flex;
        flex-flow: column;
    }
    .subContainer .cmsContent {
        order: -1;
    }
    .author {
        background: linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.0) 100%);
        padding-top: 20px;
        margin: 0px;
    }
    .author .authorText {
        float: left;
        padding: 0px 0px 0px 10px;
        font-size: 16px;
        text-align: left;
    }
    .author .avatar {
        float: left;
        width: 60px;
        height: 60px;
    }
    .author small {
        font-size: 14px;
    }
    .author .authorText a {
        font-size: 22px;
    }
}

/* ============================================================
  Dynamic
============================================================ */
section.module h1 { font-size: 35px; margin-top: 18px; }
section.module h2 { font-size: 30px; margin-top: 15px; }
section.module h3 { font-size: 26px; margin-top: 13px; }
section.module h4 { font-size: 22px; margin-top: 12px; }
section.module h5 { font-size: 20px; margin-top: 11px; }
section.module h6 { font-size: 18px; margin-top: 10px; }

@media all and (min-width: 600px) {
  section.module h1 { font-size: 50px; margin-top: 35px; }
  section.module h2 { font-size: 42px; margin-top: 30px; }
  section.module h3 { font-size: 39px; margin-top: 25px; }
  section.module h4 { font-size: 36px; margin-top: 20px; }
  section.module h5 { font-size: 33px; margin-top: 15px; }
  section.module h6 { font-size: 30px; margin-top: 15px; }

  section.module p {
    font-size: 20px;
  }
  section li {
    font-size: 20px;
    padding-left: 1em;
    text-indent: -1em;
  }
  section.module.parallax {
    padding: 100px 0;
  }
  section.module.parallax h1 {
    font-size: 50px;
  }
}
@media all and (min-width: 960px) {
  section.module.parallax h1 {
    font-size: 70px;
  }
}
@media all and (max-width: 600px) {
  section.module.parallax h1 {
    font-size: 33px;
  }
}

/* ============================================================
  PRIMARY STRUCTURE
============================================================ */
.wrapper {
  width: 100%;
  margin: 0 auto;
}

main {
    float: right;
    width: 100%;
    transition: width .5s; /*, filter .25s, -webkit-filter .25s;*/
    display: block;
    /* background-color: #fff; */
    background: rgba(40, 50, 50, 1);
}
main > section {
    background-color: #fff;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============= side-nav ============================= */

#navbar {
    background-color: #1b1f23;
    padding-top: 60px;
    height: 100%;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transition: opacity .5s, filter .5s, -webkit-filter .5s;
}

#navbar > h1 {
    color: #555753;
    margin: 10px;
    margin-bottom: 5px;
    padding-top: 5px;
    font-size: 22px;
}

.vertical-menu {
  width: calc(100%-20px);
  margin: 10px;
  text-align: center;
}

.vertical-menu a {
  background-color: #3465a4;
  color: #acf;
  display: block;
  padding: 12px;
  text-decoration: none;
  transition: background-color 0.25s;
  transition: color 0.5s;
}
.vertical-menu a:visited {
  color: #acf;
  text-decoration: none;
}
.vertical-menu a:active {
  color: #acf;
  text-decoration: none;
}
.vertical-menu a:hover {
  background-color: #729fcf;
  color: #1b1f23;
  text-decoration: none;
}

nav {
    display: block;
    z-index: 9;
    overflow: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0px;
    background-color: #1b1f23;
    height: 100%;   
    float:left;
    width: 0px;
    transition: width .5s, opacity .25s;
}

#menu {
    opacity: 1;
    /*transition: opacity .5s;*/
}

.overlay {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9;
}
nav .overlay {
    position: absolute;
}

.navElem {
    width: 100%;background-color: #1b1f23;padding: 10px;height: 130;
}
.navImg {
    width:110px; height:110px; background-color: gray; float:left; margin-right: 15px;
}
.navTxt {
    float: left;
}
.navTxt > h1 {
    margin: 0px; margin-bottom: 5px;font-size: 14;font-weight: bold;width: 155px;color:#729fcf;
}
.navTxt > p {
    width: 155px;font-size: 12px;color:#3465a4;
}

/* ============== header-icons and more ============== */

#header {
    z-index: 10;
	height: 60px;
	width: 100%;
	background-color: rgba(0, 10, 10, 0.8);
	position: fixed;
	top: 0;
    left: 0;
    padding: 0 10px;
    overflow: hidden;
    transition: padding .5s;
}

.header-icon {
    height: 30px;
    margin: 15px 5px;
    float: left;
    transition: margin .5s, height .5s;
    cursor: pointer;
}

.header-icon svg, .header-icon img {
    height: 100%;
}

.header-icon path {
    fill: #729fcf;
    stroke: none;
    transform-origin: 50% 50%;
    transition: transform .5s, fill .5s;
}

.header-icon:hover path {
    fill: #ffffff;
}

.openmenu .header-icon-plus {
    margin-right: 30px;
}

.openmenu .header-icon-plus path {
    transform: rotate(135deg);
}

.header-icon-github, .header-icon-linkedin, .header-icon-facebook {
    float: right;
}

@media all and (max-width: 600px) {
    .openmenu nav {
        width: 100%!important;
    }

    .header-icon-plus {
        float: right!important;
        margin-left: 10px!important;
        margin-right: 0!important;
    }

    .header-icon-github, .header-icon-linkedin, .header-icon-facebook {
        float: left!important;
    }
}

@media all and (max-width: 1299px) {
    .openmenu nav {
        width: 66%;
        opacity: 0.9;
    }
    .openmenu #navbar {
	    opacity: 1;
    }
    .openmenu html, .openmenu body {
        overflow: hidden;
    }
    .openmenu main {
        filter: blur(10px);
    }
    .openmenu .header-icon-plus {
        margin-left: calc(66% - 330px);
    }
    .openmenu main .overlay {
        display: block;
    }
}

@media all and (min-width: 1300px) {
    .openmenu nav, .openmenu nav:hover {
        width: 320px;
    }
    .openmenu main {
        width: calc(100% - 310px);
    }  
    .openmenu #navbar {
	    opacity: 1;
    }
}

@media all and (min-width: 1500px) {
    .openmenu nav, .openmenu nav:hover {
        width: 400px;
    }
    .openmenu main {
        width: calc(100% - 400px);
    }
    #header {
        padding: 0 60px!important;
    }
}

.article-list-container {
    transition: padding .5s;
}

@media all and (min-width: 1700px) {
    .openmenu main {
        width: calc(100% - 150px);
    }
    .openmenu .article-list-container {
        padding-left: 250px;
    }
}

/* ======= minimized on big screen ======== */

@media all and (min-width: 1300px) {
    #navbar {
        opacity: 1;
    }
    #header {
        padding: 0 25px;
    }
    nav {
        width: 30px;
        overflow: hidden;
    }
    .openmenu nav {
        overflow-y: scroll;
    }
    nav:hover {
        width: 100px;
    }
    nav .overlay {
        display: block;
        cursor: pointer;
    }
    .openmenu nav .overlay {
        display: none;
    }
    nav > #navbar {
        filter: blur(20px) brightness(0.5);
        -webkit-filter: blur(20px) brightness(0.5);
    }
    nav:hover > #navbar {
        filter: blur(0px) brightness(0.5);
        -webkit-filter: blur(0px) brightness(0.5);
    }
    .openmenu nav > #navbar {
        filter: blur(0px) brightness(1);
        -webkit-filter: blur(0px) brightness(1);
    }
}


/* ==== search-form ==== */
.header-icon--search > input {
    opacity: 0;
}
.header-icon--search > input, .article-search > input {
    transition: .25s width, .25s opacity;
    width: calc(100% - 35px);
    height: 30px;
    /* input[type=text] */
    background-color: transparent;
    border: none;
    border-bottom: 2px solid white;
    color: white;
    font-size: 20px;
    font-weight: bold;
    outline: none;
}

.article-search > input {
    border-bottom: 2px solid #bdd4ff;
    width: calc(100% - 40px);
    float: left;
}
::-webkit-input-placeholder { /* Edge */ color: #bdd4ffa9; }
  :-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #bdd4ffa9; }
  ::placeholder { color: #bdd4ffa9; }

.article-search path {
    fill: #bdd4ff;
    transition: fill .25s;
}

.article-search svg {
    float: right;
}

.article-search svg:hover {
    cursor: pointer;
}

.article-search svg:hover path {
    fill: #fff;
}

.header-icon--search > svg {
    float: right;
}

.header-icon--search {
    display: flex;
    width: 40px;
    min-width: 40px;
    max-width: 330px;
    transition: width .5s, padding .25s;
}
@supports (-webkit-touch-callout: none) {
    /* CSS for Safari on IOS: */
    .header-icon--search {
        min-width: 50px;
    }
}

/*.header-icon--search*/ #header > .opensearch {
    width: calc(100% - 330px);
}
/*.header-icon--search*/ #header > .opensearch input {
    opacity: 1;
}
@media all and (min-width: 600px) {
    /*.header-icon--search*/ #header > .opensearch {
        padding-left: 20px;
    }
}
@media all and (max-width: 500px) {
    .header-icon {
        height: 20px;
        margin: 20px 0px;
    }
    .header-icon--search > input {
        width: calc(100% - 30px);
        height: 20px;
        font-size: 18px;
    }
    /*.header-icon--search*/ #header > .opensearch {
        width: calc(100% - 220px);
        padding-left: 10px;
    }
}

/*.header-icon--search*/ #header > .opensearch path {
    fill: #ffffff;
}

/* ============= articel list ============================= */

.article-list-container {
    display: flex; /* or inline-flex */
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

@media all and (min-width: 900px) {
    .article-list-container.article-list-container-floating {
        display: block!important;
    }

    .article-list-container.article-list-container-floating > * {
        float: left;
        height: 400px;
    }
}

@media all and (max-width: 901px) {
    .article-item {
        min-height: none!important;
    }
}

.article-list-container > * {
    margin: 10px 15px;
    box-shadow: 0px 5px 15px #000; /* #3465a4; */
}

.article-list-container img {
    width: 200px;
}

.article-item {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    background-color: white;
    color: #333333;
    width: 269px;
    max-height: 450px;
    overflow: hidden;
    text-overflow: ellipsis; 
    transition: height .25s;
}

.article-item a, .article-item a:hover {
    text-decoration:none;
    color: #333333;
}

.article-image {
    background-size: cover;
    width: 269px;
    height: 141px;
}

.article-item-caption {
    margin: 9;
    margin-top: 20px;
}

.article-item-caption h1 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 0px;
}


/* articleAdSpace */

.article-item .articleAdSpace {
    width: 100%;
    min-height: 330px; /* must be adNetwork ad height */
}

.article-item .articleAdSpace .fallBackAd {
    z-index: 0;
    width: 269px;
    overflow-x: hidden;
    position: absolute;
}
.article-item .articleAdSpace .fallBackAd a {
    display: flex;
    flex-flow: column;
    height: 330px; /* must be adNetwork ad height */
}
.article-item .articleAdSpace .fallBackAd .article-item-caption {
    flex-grow: 1;
}
.article-item .articleAdSpace .fallBackAd .article-item-arrow {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-grow: 1;
    margin-bottom: 10px;
}
.article-item .articleAdSpace .fallBackAd .article-item-arrow img{
    height: 30px;
    width: 30px;
}

.article-item .articleAdSpace .adNetwork {
    z-index: 1;
    width: 269px;
    height: 330px; /* must be adNetwork ad height */
    overflow-x: hidden;
    overflow-y: hidden;
    position: absolute;
}

.article-item .moreAboutAd {
    text-align: right;
    margin: 5px 10px;
    font-size: 12px;
    color: #666;
}
