*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;    
}

html {
    scroll-behavior: smooth;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

a:link {
    text-decoration: none;
    font-weight: bold;
    color: #017091;
}

a:hover {
    text-decoration: underline;
}


.epi {
    font-style: italic;
    margin-bottom:20px;
    line-height: 150%;
}

.clickable {
    user-select: none;
    cursor: pointer;
}

.clickable:active {
    transform: translateY(2px);
}

.vertical-center {
    position: absolute;
    display: inline-block;
    top:50%;
    transform: translateY(-50%);
}

.center {
    position: absolute;
    display: inline-block;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}



.hero img {
    max-width: 100%;
}

.hero {
    margin-bottom:20px;
    text-align:center;
}


h3 {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5;
    margin-top:40px;
    margin-bottom:20px;
}

h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.5;
    margin-top:40px;
    margin-bottom:20px;
}

h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 22px;
    line-height: 1.5;
    margin-top:40px;
    margin-bottom:20px;
    text-align: center;
}



p, li {
    line-height: 1.5;
    /* identical to box height, or 0% */
    color:black;
    margin-bottom:20px;
    text-align: justify;
}

ol {
    list-style-type: decimal;
    margin-left:20px;
}

ul {
    list-style-type: disc;
    margin-left:20px;
}


/* blockquotes */

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote:after {
    content: close-quote;
    color: #ccc;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote p {
    display: inline;
}

/* dl dt */

dl {
    display: block;
    margin-top: 1em;
    margin-bottom: 0.1em;
    margin-left: 0;
    margin-right: 0;
    
}

dl dt {
    display: block;
    font-weight: bold;
    
}

/* table */
table {
    border-collapse: collapse;
    border-spacing: 0;
    
    font-size: 14px;
    width: 100%;
}

tr:nth-child(even){
    background-color: #f2f2f2;
}

td, th {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    font-weight: bold;
    font-size: 16px;
}

/* table custom */

.tg {
	border-collapse: collapse;
	border-spacing: 0;
}

.tg td {
	border-color: black;
	border-style: solid;
	border-width:1px;
	
	font-size: 14px;
	overflow: hidden;
	padding: 10px 5px;
	word-break:normal;
}

.tg th {
	border-color: black;
	border-style: solid;
	border-width: 1px;
	
	font-size: 14px;
	font-weight: normal;
	overflow: hidden;
	padding: 10px 5px;
	word-break:normal;
}

/* table color */

.tg .tg-head {
	border-color: inherit;
	text-align: center;
	vertical-align: top
}

.tg .tg-intelect {
	background-color:#96fffb;
	border-color:inherit;
	text-align:left;
	vertical-align:top
}

.tg .tg-instinct {
	background-color:#9aff99;
	border-color:inherit;
	text-align:left;
	vertical-align:top
}

.tg .tg-emoc {
	background-color:#ffccc9;
	border-color:inherit;
	text-align:left;
	vertical-align:top
}

.tg .tg-dvigatel {
	background-color:#ffffc7;
	border-color:inherit;
	text-align:left;
	vertical-align:top
}

.tg .tg-sexual {
	background-color:#fd6864;
	border-color:inherit;
	text-align:left;
	vertical-align:top
}

.tg .tg-hyperemoc {
	background-color:#ff5f5b;
	border-color:inherit;
	text-align:left;
	vertical-align:middle
}

.tg .tg-hyperintel {
	background-color:#9698ed;
	border-color:inherit;
	text-align:left;
	vertical-align:middle
}

.tg .tg-hemoc {
	background-color:#ff5f5b;
	border-color:inherit;
	text-align:left;
	vertical-align:top
}

.tg .tg-hintel {
	background-color:#9698ed;
	border-color:inherit;
	text-align:left;
	vertical-align:top
}

.img600, .img700, .img600_200, .img100pct, .picture {
    text-align: center;    
    margin-top:40px;
    margin-bottom:40px;    
}

.picture img {
    max-width: 100%;
}

.img100pct img {
    display: inline-block;
    width: 100%;
}

.img600 img {
    display: inline-block;
    width: 600px;    
    max-width: 100%;
}

.img700 img {
    display: inline-block;
    width: 700px;    
    max-width: 100%;
}

.img600_200 img {
    display: inline-block;
    width: 600px;    
    max-width: 100%;
}



.code, .console {
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
    overflow-x: auto;
}

.console {
    color:#000020;
    background:#f6f8ff;
}

.source {
    line-height: 1.5;
    /* identical to box height, or 0% */
    color:black;
    margin-bottom:20px;
    text-align: justify;
    background: #edffd6;
    border: solid 1px #184d00;
    padding: 10px;
    
}

.article-header {
    display: block;
    position: relative;
    height: 50px;
    white-space: nowrap;
    border-bottom: solid 1px orangered;
    line-height: 50px;
}

.logo-container {
    display: none;
    vertical-align: bottom;
}

.logo-container img {
    width:50px;
    height:50px;
    display: inline-block;
}

.logo-container a:link, .logo-container a:visited {
    color: black;
    text-decoration: none;
}

.logo-text {
    display: inline-block;
    vertical-align: bottom;
    padding-left: 10px;
    transition: color 1s;
    color:black;
}

.logo-text:hover {
    color:orangered;
}

.step-container {
    display: none;
}

.step-container a {
    vertical-align: bottom;
    display: inline-block;
    font-weight: normal;
}



.step-slash {
    display: inline-block;
    width:20px;
    color:orangered;
    vertical-align: bottom;
    text-align: center;
}

.open-ide {
    display: inline-block;
    line-height: 40px;
    background: orangered;
    position: absolute;
    right:5px;
    top:5px;
    padding-left:10px;
    padding-right:10px;
    border-radius: 4px;
    transition: background 1s;
}

.open-ide:hover {
    background:darkred;
}

.article-header a:link, .article-header a:visited {
    color: black;
}

a.open-ide:link, a.open-ide:visited {
    color: white;
}

a.path-step:link, a.path-step:visited {
    color:black;
    transition: color 1s;
    
}

a.path-step:hover {
    color:orangered;
}

.article-all {
    position: relative;
}

.content {
    padding-left:20px;
    padding-right:20px;
}

a.tree-item:link, a.tree-item:visited, a.tree-item-selected:link, a.tree-item-selected:visited  {
    color:black;
    text-decoration: none;
}

.tree-item, .tree-item-selected {
    display: block;
    line-height: 1.6;
    transition: background 300ms;
    padding-top:5px;
    padding-bottom:5px;    
}

.tree-item:hover {
    background:rgb(255,240, 150); 
}

.tree-item-selected {
    background:orange; 
}

.contact-container {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    border-top: solid 1px orangered;
}

.mobile-menu {
    display: none;
    user-select: none;
    cursor: pointer;
    line-height: 50px;
}

.mobile-menu span {
    display: inline-block;
    vertical-align: middle;
    font-size:36px;
}

.mobile-menu-text {
    display: inline-block;
    vertical-align: middle;
}

.mobile-menu-body {
    display: none;
    position: fixed;
    left:0px;
    top:0px;
    width:100vw;
    height:100vh;
    z-index: 100;
    background: white;
    color: black;
    opacity: 0;
    transition: opacity 500ms;
}

.mobile-menu-item {
    display: block;
    padding: 20px;
}

a.mobile-menu-item:link, a.mobile-menu-item:visited {
    color: black;
    text-decoration: none;
}

a.mobile-menu-item:hover {    
    text-decoration: underline;
}

.mobile-menu-item img {
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;;
}


.back {
    position: relative;
    display: none;
}

.mobile-back {
    position: relative;
    display: none;
}

.dicon {
    position: absolute;
    left: 30px;
    width: calc(100% - 60px);
    background: white;
    border: solid 1px #909090;
    -webkit-box-shadow: 0px 0px 17px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 17px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    line-height: 1.5;
}

.skewer {
    position: absolute;
    display: inline-block;
    width: 3px;
    height: 300vh;
    left: 50%;
    top: 0px;
    transform: translateX(-1px);
    z-index: 5;
    background: black;
}

.p1 {
    top: 60px;
    height: calc(100vh - 90px);
    background-color: #adcdff;
    position: relative;
}

.p1-label {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    position: absolute;
    left: 0px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 30px;
    font-size: 36px;
    text-align: center;

}

.p1-label p, .p2-label p {
    color: white;
    text-align: center;
}

.p3-label p {    
    text-align: center;
}

.p2-label {
    color: white;
    background: rgba(0, 0, 50, 0.6);
    display: inline-block;
    position: absolute;
    left: 0px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 30px;
    font-size: 36px;
    text-align: center;
}

.p3-label {
    color: black;
    background: rgba(255, 255, 190, 0.8);
    display: inline-block;
    position: absolute;
    left: 0px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 30px;
    font-size: 36px;
    text-align: center;
}

.p2 {
    top: calc(100vh);
    height: calc(100vh - 30px);
    color: #4a0000;

    background: rgb(255, 249, 201);
    background: linear-gradient(45deg, rgba(255, 249, 201, 1) 0%, rgba(255, 200, 150, 1) 100%);
}

.p3 {
    top: calc(200vh);
    height: calc(100vh - 30px);

    color: black;
}

.p4 {
    top: calc(300vh);
    padding: 30px;
}

.more {
    display: inline-block;
    position: absolute;
    right: 30px;
    bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
}

a.more:link,
a.more:visited {
    color: white;
    font-weight: bold;
    font-size: 22px;
}

.next {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
}

a.next:link,
a.next:visited {
    color: white;
    font-weight: bold;
}

.p2 .next,
.p2 .more {
    background: orange;
    border: solid 2px black;
}

.p2 a.next:link,
.p2 a.next:visited,
.p2 a.more:link,
.p2 a.more:visited {
    color: black;
}


.next span {
    font-size: 48px;
}

.big-logo {
    width: 126px;
    height: 126px;
    display: inline-block;
}

.p1 h1 {
    display: inline-block;
    font-size: 48px;
    text-transform: uppercase;
    margin-left:10px;
}

.explain {
    font-size: 18px;
}

.middle {
    display: inline-block;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.p2 .middle {
    font-size: 36px;
    text-align: center;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

.p3 .middle {
    font-size: 36px;
    text-align: center;
}

.p3-label span {
    font-size: 48px;
}

.nowrap {
    white-space: nowrap;
}

.item {
    display: inline-block;
    padding: 30px;
}

.item span {
    font-size: 36px;
}

.top-right {
    position: absolute;
    display: inline-block;
    right: 10px;
    top: 10px;
}

.top-link,
.top-cta {
    display: inline-block;
    padding: 10px;
    border-radius: 4px;
    vertical-align: top;
    font-weight: bold;
    transition: background 1s;

}

.top-link {
    background: white;
    border: solid 1px orangered;
    margin-right: 10px;
}


.top-link:hover {
    background: orange;
    color: black;
}

a.top-link:link,
a.top-link:visited {
    color: black;
    text-decoration: none;
}

.top-cta {
    background: orangered;
}

.top-cta:hover {
    background: darkred;
}

a.top-cta:link,
a.top-cta:visited {
    color: white;
    text-decoration: none;
}

.cta {
    display: inline-block;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    text-align: center;
    font-size: 22px;
}

.dicon video {
    display: inline-block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.img-100pct {
    display: block;
    width: 100%;
}

.p1-mob-label {
    background: #000040;
    color: white;
    padding: 20px;
    text-align: center;
}

.p1-mob-label p {
    color: white;    
}

.p1-mob-label .explain {
    font-size:14px;
    line-height: 1.4;
}

.p1-mob-label p {
    font-size:20px;
}

.p1-mob-label .big-logo {
    width: 80px;
    height: 80px;
    display: inline-block;
    vertical-align: bottom;
}

.p1-mob-label h1 {
    color: white;
    font-size:32px;
    text-transform: uppercase;
    margin-top: 20px;
}

.p1-mob-label p {
    text-align: center;
}

.p-mob {
    position: relative;
}

.p-mob .item {
    padding:20px;
}

.p2-mob-label p {
    margin-bottom:0px;
    margin-top:0px;
    text-align: center;
}

.p2-mob-label {
    padding-top:20px;
    background:#ffffc0;
    color: black;
    text-align: center;
}

.p3-mob-label {
    padding:20px;
    background:#abfffc;
    color: black;
    text-align: center;
}

.p3-mob-label p {
    text-align: center;
    margin: 0px;
}

.p4-mob {
    padding:20px;
}

.p4-mob p {
    margin: 0px;
}

@media only screen and (max-width: 900px) {
    .tree {
        display: none;
    }

    .mobile-menu {
        display: inline-block;
        white-space: nowrap;
        color: black;
        vertical-align: bottom;
    }

    .mobile-back {
        display: block;
    }

}


@media only screen and (min-width: 901px) {

    .logo-container, .step-container {
        display: inline-block;
    }


    .content {
        max-width:900px;
        margin-left:300px;
    }    
    
    .tree {
        display: inline-block;
        position: absolute;
        left: 0px;
        top:50px;
        width: 300px;
    }    

    .back {
        position: relative;
        display: block;
    }    
}
