html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
    font-family: sans-serif;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    background-color: WhiteSmoke;
}


@media (max-width: 1860px) {
    body {
        zoom: .9;
    }
    .controls {
        padding-right: 40px;
}
}

ol, ul {
	list-style: none;
}

}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


p {
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.3;
}

body {
    font-family: sans-serif;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
}


/* .fa { */
/*     font-size: 42px; */
/* } */

figure .world {
    display: inline-block;
    border: 3px solid black;
    width: 855px;
    height: 855px;
}


ul.word-row{
    list-style: none;
}


ul.world-row:after {
    content: "";
    clear: both;
    display: block;
}

.cell-legend {
    margin-right: 18px;
}

.cell {
    outline: 1px solid;
    float: left;
    color: FloralWhite;
    background-color: WhiteSmoke;
    list-style: none;
    width: 14px;
    height: 14px;
}


/* These don't really seem the right choices. But, good enough for now. */
.herbivore-1 {
    background-color: lightcoral;
}
.herbivore-2 {
    background-color: indianred;
}
.herbivore-3 {
    background-color: red;
}
.herbivore-4 {
    background-color: firebrick;
}
.herbivore-5 {
    background-color: darkred;
}

.plant-0 {
    background-color: wheat;
}
.plant-1 {
    background-color: lime;
}
.plant-2 {
    background-color: limegreen;
}
.plant-3 {
    background-color: seagreen;
}
.plant-4 {
    background-color: forestgreen;
}
.plant-5 {
    background-color: darkgreen;
}

.rock {
    background-color: darkgray;
}

/* A five-fold green progresion: */
/* #caf667 */
/* #8bc75d */
/* #46c549 */
/* #2d9f1b */
/* #115812 */


.headline {
  padding-top: 25px;
  padding-bottom: 15px;
  font-size: 32px;
}


.main {

    display: flex;
    justify-content: space-between;

}


.ecosym-world {
    padding-bottom: 25px;
}


.world-container {
    width: 50vw;
}


.buttons-container {
    display: flex;
    flex-direction: column;
    padding: 15px 0px;
}




button {
	padding: 10px;
    font-family: sans-serif;
    font-size: 11px;
    border: 0;
    margin: 7px 0px;
	background: rgba(255,255,255,0.15);
    background-color: rgba(5,5,5,0.95);
    color: AliceBlue;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
}



button:hover {
	background-color: #353535
}

.description-container {

    width: 20vw;
    padding: 0px 10px;
    /* padding-left: 2vw; */
    /* padding-right: 3vw; */
    text-align: left;
    font-size: small;

}


.description-button {

}

.controls {
    padding-right: 30px;
}

.controls h3 {
    font-size: 18px;
    padding-top: 12px;
    padding-bottom: 10px;
  /* text-decoration: underline; */
}


.control-button {
    width: 175px;
}

.slidecontainer {
    margin: 10px;
    border-top: 2px dashed LightGray;
}

.slidecontainer .slide-item:last-child{
    padding-bottom: 15px;
}

.slide-item {
  /* background-color: yellow; */
  /* margin: 10px; */
  display: flex;
  padding: 8px;
}

.slide-item h4 {
  flex: 1;
  align-self: center;
  font-size: 16px;
}

.slide-item input {
  flex: 1;
}


/* The slider itself */
.slider {
    width: 70%; /* Full-width */
    height: 23px; /* Specified height */

}

.right-sidebar-container {
    width: 30vw;
    display: flex;
    flex-direction: column;
}



/* Modal stuff */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 30px 20px 30px 30px;
    border: 1px solid #888;
    width: 35%; /* Could be more or less, depending on screen size */
    font-size: 18px;
    line-height: 1.3;
}
.modal-content p {
    font-size: 18px;
    line-height: 1.3;
    padding-right: 30px;
}
.modal-content dt {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.3;
    text-decoration: underline;
    padding-top: 6px;
}
.modal-content dd {
    font-size: 18px;
    line-height: 1.3;
    padding-right: 30px;
}


/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.icons-container {
    padding-top: 12px;
    display: flex;
    justify-content: center;
}

.fa {padding-left: 8px;
     padding-right: 8px;
     color: rgba(5,5,5,0.95);
    }

.fa,a:visited {
    text-decoration: none;
}

.modal a:visited {
    color: black;
}
.modal a {
    color: black;
}
.modal a:hover {
    color: grey;
}
