@font-face {
	font-family: 'OpenSans';
	src: url('../fonts/OpenSans-Regular.eot');
	src: local('â˜º'), url('../fonts/OpenSans-Regular.woff') format('woff'), url('../fonts/OpenSans-Regular.ttf') format('truetype'), url('../fonts/OpenSans-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

html, body {
	font-family: 'OpenSans';
    /*background-color: #44484a;*/
    background-color: #f0f0f0;
	padding:0;
	margin:0;
	height:100%;
}

img {
	border: 0;
}


/*------------------------------ Buttons ------------------------------*/

.playStoreBadge{
	background: url(../images/google-play-button.png) no-repeat;
	background-position: 0 0;
	color: #fff;
	display: inline-block;
	height: 63px;
	width: 200px;
	margin-top: 10px;
    text-align: center;
}

.discordBadge{
	background: url(../images/discord.png) no-repeat;
	background-position: 0 0;
	color: #fff;
	display: inline-block;
	height: 63px;
	width: 200px;
	margin-top: 10px;
    text-align: center;
}

.crowdinBadge{
	background: url(../images/crowdin.png) no-repeat;
	background-position: 0 0;
	color: #fff;
	display: inline-block;
	height: 63px;
	width: 200px;
	margin-top: 10px;
    text-align: center;
}

/*------------------------------ Wrapper ------------------------------*/
#page {
    display: flex;  
	flex-flow: column;
	min-height: 100%;
	position:relative;
}

#content > div {
	width: 100%;
	max-width: 960px;
}

/*------------------------------ HEADER ------------------------------*/

.mainimage {
    height: 36px;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
}

.mainlink {
    visibility: hidden;
    transition:opacity .3s ease-in;
    opacity:0;
    
}

.mainlinkshow {
    visibility: visible;
    opacity:1;
}

.dropbtn {
    margin-top: 6px;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    background-color: #243952;
    border-radius: 9px;
	color: #F0F0F0;
    min-width: 100px;
    border: 1px solid black;
    border-color: #00000000;
    outline: none;
    text-align: center;
	text-decoration: none;
	font-weight:bold;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #536c8a;
	color: #F0F0F0;
}

.dropdown {
    float: right;
    position: relative;
    display: inline-block;
    padding-right: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #e8e8e8;
    min-width: 180px;
    overflow: auto;
    -webkit-box-shadow: 0px 0px 10px #222;
	-moz-box-shadow: 0px 0px 10px #222;
	box-shadow: 0px 0px 10px #222;
    right: 0;
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
    background-color: #bbb8bc;
}

.show {
    display: block;
}

.indent {
  margin-left: 40px;
}



/*------------------------------ HEADER ------------------------------*/

.launcher_logo {
    background-color: #284c75;
    /*background-image: url(../images/background.svg);*/
    background-image: linear-gradient(#1e3856, #2e4968);
    /*background-size:  auto 102%;*/
    background-position: center;
    padding-left: 8px;
	padding-right: 8px;
	padding-top: 8px;
    text-align: center;
    z-index:20;
}

.launcher_logo a img {
    width: 90%;
    max-width: 500px;
}

.header {
    flex: 0 1 auto;
    padding: 0px;
    background-color: #2e4968;
    /*background-image: linear-gradient(#244468, #244468);*/
    color: #f1f1f1;
    width: 100%;
    text-align: center;
    z-index:0;
}

.content {
    padding: 8px;
    flex: 1 1 auto;
    margin: 0 auto;
	padding-bottom:80px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.sticky + .content {
    padding-top: 64px;
}

#headerbar {
	flex: 0 1 auto;    
	padding: 0 0 0 0;
	z-index:5;
	-webkit-box-shadow: 0px 0px 10px #222;
	-moz-box-shadow: 0px 0px 10px #222;
	box-shadow: 0px 0px 10px #222;
    height: 56px;
    width: 100%;
}

#headerbar > div {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

#header > div img {
	max-width: 480px;
	max-height:200px;
	width: 90%;
	padding: 5px 20px 0 20px;
}

#headerbutton {
	padding: 1px 1px 1px 1px;
	background-color: #00000000;
    border-radius: 5px;
	color: #F0F0F0;
	display: inline-block;
	font-size: 14px;
	line-height: 40px;
	width: 100%;
	text-align: center;
	text-decoration: none;
	font-weight:bold;
}

#headerbutton:hover {
	background-color: #51515c;
	color: #F0F0F0;
}

#headerbutton.active {
	background-color: #909099;
	color: #202020;
}



/*------------------------------ FOOTER ------------------------------*/

#footer {
	flex: 0 1 30px;
	background:#0000;
	width:100%;
	height:32px;
	position:absolute;
	bottom:0;
	left:0;
	/*-webkit-box-shadow: 0px 0px 10px #000A;
	-moz-box-shadow: 0px 0px 10px #000A;
	box-shadow: 0px 0px 10px #000A;*/
}

#footer > div {
	max-width: 1080px;
    margin-left:auto;
	margin-right:auto;
    text-align: center;
}

#footer > div p {
    color: #999;
	float: left;
	margin-left:10px;
	margin-right:10px;
	margin-top: 0px;
    text-align: center;
}

#footer > div a {
	float: left;
	margin-left:10px;
	margin-right:10px;
	margin-top: 0px;
    text-align: center;
}

#footer > div a {
  color: #284c75;
}
#footer > div a:visited {
  color: #a385e7;
}
#footer > div a:hover, div a:active, div a:focus {
  color:#bcc5de;
}


.inner {
    /*background-size: auto 100%;
    background-repeat: no_repeat;
    background-attachment:fixed;
    background-position: center;*/
    
    margin: 0 auto;
	/*border-radius: 6px;*/
	margin: 0 auto;
	margin-top: 2px;
	margin-left: 2px;
	margin-right: 2px;
    padding: 12px 20px 12px 20px;
	overflow: auto;
    /*-webkit-box-shadow: 1px 1px 7px #2224;
	-moz-box-shadow: 1px 1px 7px #2224;
	box-shadow: 1px 1px 7px #2224;
    background-color: #e9e5eb;*/
    /*background-color: #ffffff;*/
}

.mainbox div hr {
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: solid ;
  border-width: 1px;
  color: #E0E0E0;
}

	
/*------------------------------ SEPARATOR ------------------------------*/

#separator {
    border: 1px solid #d8d8d8;
}

/*------------------------------ Image left to a text ------------------------------*/

.textImageLeft img{
	display: block;
	float: left;
	width: 28px;
	height: 28px;
}

.textImageLeft span {
	display: block;
	float: left;
	width: 220px;
	text-align: center;
	margin-bottom:16px;
}

.textImageLeft span b {
	font-size: 14px;
	font-weight: normal;
	display: block;
	width: 220px;
	text-align: center;
}

/*------------------------------ Image right to a text ------------------------------*/

.textImageRight img{
	float:right;
	width: 45%;
	max-width: 350px;
	margin-top:16px;
	margin-left:16px;
	margin-right:16px;
	margin-bottom:16px;
}

/*------------------------------ The default content ------------------------------*/

.mainbox {
    margin-top:0px;
	margin: 0 auto;
    position: relative;
}

.mainbox p {
    font-size: large;
}

.mainbox ul li {
    /*font-size: large;*/
    margin-top: 12px;
}

.mainbox h1 {
    font-size: xxx-large;
	color: #404040;
	margin-left:8px;
	margin-right:8px;
	margin-top: 8px;
    text-align: center;
}

.mainbox img {
    display: block;
	width: 100%;
	max-width: 460px;
	margin-top:16px;
    margin-left: auto;
    margin-right: auto;
	margin-bottom:16px;
}

.mainbox sup {
    font-size: x-small;
}

.mainbox a {
}

.mainbox hr {
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: solid ;
  border-width: 1px;
  color: #808080;
}

.mainbox button {
	padding: 1px 1px 1px 1px;
	background-color: #E5E5E5;
    border-radius: 5px;
    border-width:0px;
    border-color: #E0E0E0;
	color: #202020;
	display: inline-block;
	font-size: 16px;
	width: 100%;
	text-align: left;
	text-decoration: none;
	font-weight:bold;
    padding:16px;
    -webkit-box-shadow: 2px 2px 5px #CCC;
	-moz-box-shadow: 2px 2px 5px #CCC;
	box-shadow: 2px 2px 5px #CCC;
    outline:none;
    margin-bottom: 14px;
    margin-top: 14px;
}

.mainbox button.down {
    background-color: #a0adbc;
    color: #202020;
}

.mainbox button:hover {
	background-color: #D0D0D0;
	color: #202020;
}

.mainbox button.down:hover {
	background-color: #8793a2;
	color: #202020;
}


.mainbox button:active {
    background-color: #a0adbc;
    color: #202020;
}

.mainbox .faq_text {
    padding: 10px;
    display: none;
    margin: 8px;
    margin-left: 12px;
    margin-right: 12px;
    color: #303030;
    font-size: 16px;
    
    -webkit-animation-name: fade;
    -webkit-animation-duration: 0.5s;
    animation-name: fade;
    animation-duration: 0.5s;
}


#mainboxDivLink {
    text-align: center;
}

#table {
    height: 100%;
}

#tableTop  {
    height: 100%;
    vertical-align: top;
}

.intro {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
}


#introleft {
    grid-row: 2 / span 1;
}

@media screen and (min-width: 700px) {
    .intro { 
        grid-template-columns: repeat(2, 1fr);
    }
    #introleft {
        grid-row: 1 / span 1;
    }
}




.feature {
  color: black;
}

.feature p {
    margin: 0;
    padding-left: 3px;
}

.feature_header {
    width: 100%;
    height: 30px;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.feature_header  h3 {
    padding-top: 3px;
    margin: 0px;
}

.feature_header  img {
	float: left;
	width: 24px;
	height:24px;
	padding: 5px;
    padding-left: 0px;
    margin: 0px;
}

.features {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 12px;
  display: grid;
  grid-gap: 2rem;
}

@media screen and (min-width: 560px) {
    .features { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media screen and (min-width: 800px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}




/*------------------------------ Text for a scientific paper ------------------------------*/


.preview {
    width: 100%;
    position: relative;
    text-align:center;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.preview2 {
    width: 100%;
    position: relative;
    text-align:center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.slidercontent {
    position: absolute;
    border-radius: 9px;
    width: 88.3%;
    height: 84.7%;
    top: 7.1%;
    left: 6%;
    overflow:hidden;
}

.slider {
    width: 100%;
    position: relative;
    text-align:center;
}

.slider .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.slider .screen {
    z-index: 0;
    top: 0;
    left: -100%;
    position: absolute;
    width: 300%;
    height: 100%;
    transition: left 0.7s ease-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}
.slider .screen.left {
    left: 0%;
}
.slider .screen.right {
    left: -200%;
}

.slider .wallpaper {
    z-index: 0;
    top: 0;
    left: -20%;
    position: absolute;
    width: 140%;
    height: 100%;
    transition: left 0.7s ease-in-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

.slider .blurredwallpaper {
    z-index: 0;
    top: 0;
    left: -20%;
    position: absolute;
    width: 140%;
    height: 100%;
    transition: left 0.7s ease-in-out, opacity 0.7s ease-in-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
}

.slider .blurredwallpaper.left {
    opacity: 1;
}
.slider .blurredwallpaper.right {
    opacity: 1;
}

.slider .dock {
    z-index: 0;
    top: 23%;
    left: 82.9%;
    position: absolute;
    width: 17.1%;
    height: 55%;
    transition: left 0.7s ease-in-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

.slider .dock.hidden {
    left: 100%;
}

/*------------------------------ Switcher for search ------------------------------*/

.searchslidercontent {
    position: absolute;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    width: 88.3%;
    height: 84.93%;
    top: 15%;
    left: 6%;
    overflow:hidden;
}

.search_slider {
    width: 100%;
    position: relative;
    text-align:center;
}

.search_slider img {
    width: 100%;
    height: 300%;
}

.search_slider .search_wallpaper {
    z-index: 0;
    top: 0;
    left: -20%;
    position: absolute;
    width: 140%;
    height: 250%;
    transition: left 0.7s ease-in-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

.search_slider .screen {
    z-index: 0;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: left 0.7s ease-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

/*------------------------------ Switcher for theming ------------------------------*/

.themeslidercontent {
    position: absolute;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    width: 88.3%;
    height: 88.93%;
    top: 11%;
    left: 6%;
    overflow:hidden;
}

.theme_slider {
    padding-top: 0;
    width: 100%;
    position: relative;
    text-align:center;
}

.theme_slider img {
    width: 100%;
    height: 300%;
}

.theme_slider .theme_wallpaper {
    z-index: 0;
    top: 0;
    left: -20%;
    position: absolute;
    width: 140%;
    height: 250%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

.theme_slider .screen {
    z-index: 0;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.7s ease-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

.theme_slider .screen.hidden {
    opacity: 0;
}

/*------------------------------ Themes ------------------------------*/

.themes {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 600px) {
    .themes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 900px) {
    .themes {
        grid-template-columns: repeat(4, 1fr);
    }
}

.themes img {
    border-radius: 8px;
    margin-bottom: 0px;
    margin-top: 8px;
}

.themes img:hover {opacity: 0.85;}

/* The Modal (background) */
.modal {
    display: none;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 21;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    
    -webkit-animation-name: fade;
    -webkit-animation-duration: 0.4s;
    animation-name: fade;
    animation-duration: 0.25s;
}

/* The Modal (background) */
.modal h3 {
    margin-bottom: -15px;
    margin-top: -15px;
}

/* The Modal (background) */
.modal p {
    margin-left: 10px;
}

.modal-content {
    flex-grow: 1;
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;
    height: 0;
    margin-bottom: 24px;
}


/* Modal Content (image) */
.modal-image {
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    height: 100%;
    position: relative;

}

/* Caption of Modal Image */
.caption {
    display: block;
    width: 95%;
    max-width: 600px;
    text-align: left;
    color: #ccc;
    padding: 0 0;
    margin: 0px auto;
    flex-grow: 0;
    padding-bottom: 30px;
}

@-webkit-keyframes zoom {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* The Close Button */
.close {
    position: absolute;
    flex-grow: 0;
    top: 5px;
    right: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.caption a:link, .caption a:visited {
    border-radius: 8px;
    margin-top: -6px;
    margin-bottom: -20px;
    background-color: #3c557a;
    color: white;
    padding: 8px 0px;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    margin: 0 auto;
    max-width: 400px;
}

.caption a:hover, .caption a:active {
  background-color: #6b87b1;
}

.theme {
    padding: 8px;
    border-radius: 8px;
}

.theme_header {
    width: 100%;
    height: 30px;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.theme_header h3 {
    padding-top: 0px;
    margin: 0px;
}


/* Changed sizes for smalled displays*/
@media only screen and (max-width: 560px){
    .theme {
        padding: 0px;
    }
    .themes {
        grid-gap: 0.6rem;
    }
    .theme_header {
        margin-bottom: -12px;
    }
    .inner {
        padding: 7px 10px 7px 10px;
    }
    .mainbox h1 {
        margin-left:8px;
        margin-right:8px;
        margin-top: 4px;
        margin-bottom: 0px;
    }
    .modal-image {
        border-radius: 4px;
    }
    .themes img {
        border-radius: 4px;
    }
    #headerbar {
        margin-bottom: -12px;
    }
}

@media screen and (max-height: 700px) {
    .caption { 
        padding-bottom: 12px;
    }
    .modal-content {
        padding-top: 8px;
        padding-right: 8px;
        padding-left: 8px;
    }
    #modalLink {
        margin-top: -10px;
    }
    .content {
        padding-bottom:60px;
    }
    
}
/*------------------------------ News ------------------------------*/

#leftimage {
    float: left;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 50px;
    margin-bottom: 15px;
    max-height: 370px;
    width: auto;
}

#leftimage2 {
    float: left;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 50px;
    margin-bottom: 15px;
    max-height: 370px;
    width: auto;
}

#rightimage {
    float: right;
    margin-top: 30px;
    margin-left: 50px;
    margin-right: 40px;
    max-height: 350px;
    width: auto;
}
