/* custom styles */
/*the network is style in options.js*/

html {
    font-family: 'Roboto', sans-serif;
    /*font-family:  monospace;*/
    /*text-transform: uppercase;*/
    font-weight: 400;
    font-size: 14px;
    border-radius: 3px;
}

h2 {
   /* display: flex;
    width: 100%;
    height: 4rem;*/
    margin: 0px;
    padding: 10px;
    align-items: center;
    font-size: 1.5rem;
    background-color: transparent;
    color: white;
    display: inline;
    /*text-transform: uppercase;*/
  }

/*
h3 {
    background-color:#222;
    height: 30px;
    padding: 10px;
    margin-top: 0px;
    color: white;
}
*/
label {
    height: inherit;
    
    white-space: nowrap;
}

body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #DCDCDC;
}

div {
    display: block;
    box-sizing: border-box;
}

ul {
    list-style: none;
    margin: 0px;
}

li {
    margin: 6px;
}

.flex-container {
    padding: 0;
    margin: 0;
    flex-grow: 1;
    width: 100%;
    height: calc(100% - 4rem);
    display: flex;
}

.flex-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 1060px;
    padding: 5px;
    flex-shrink: 0;
    background-color:white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px; 
    border-radius: 3px;
}

.option-list{
    width: 96%;
    display: flex;
    margin: auto;
    margin-top: 10%;
    flex-direction: column;
    justify-content: flex-start;
}

.control-section {
    display: flex;
    flex-basis: content;
    flex-direction: column;
    background: white;
    border: thin solid lightgray;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px; 
    /*font-size: 12px;*/
    /*font-weight: 600;*/
    padding: 5px 5px;
    margin-bottom: 5px;
}

.control-option {
    display: flex;
    flex-shrink: 2;
    margin-top: inherit;
    margin-bottom: inherit;
    /*this used to be 40*/
    min-height: 20px;
    vertical-align: middle;
    align-items: center;
    /*
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 20px;*/
    /*vertical-align: middle;*/
}

.checkbox {
    display: inline-block;
    width: 20px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
}

.button{
    display: inline-block;
    position: absolute;
    right: 1vw;
    -webkit-appearance: push-button;
    user-select: none;
    white-space: pre;
    text-align: center;
    cursor: default;
    color: buttontext;
    background-color: buttonface;
    box-sizing: border-box;
    padding: 2px 6px 3px;
    border-width: 2px;
    border-style: outset;
    border-color: buttonface;
    border-image: initial;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    margin: 0em;
    font-family: inherit;
    font-size: inherit;
    font-family: inherit;
    font-size: inherit;
    margin-right: 0px;
}

.noUi-connect {
    background: lightgrey;
}

.slider{
    height: 20px;
    width: 300px;
    margin-left: 0px;
    margin-right: 20px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.input-box {
    display: block;
    text-align: center;
    /*width: 495px;*/
    /*height: 25px;*/
    width: 50px;
    /*width: 20%; */
    height: 40px; 
    margin: 3px;
    /*box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px; */
    border-radius: 3px;
    font-family: inherit;
    font-size: inherit;
    /*font-size: 20px;*/
} 

.simpleOutput {
    margin: 10px;
}

#select-files{
    font-family: inherit;
    font-size: inherit;
    /*font-size: 20px;*/
}

#select-files input[type=file] {
    display:none;
  }

#select-button {
    align-items: flex-start;
    text-align: center;
    cursor: default;
    color: buttontext;
    background-color: buttonface;
    box-sizing: border-box;
    padding: 2px 6px 3px;
    border-width: 2px;
    border-style: outset;
    border-color: buttonface;
    border-image: initial;
    margin-left: 30px;
}
  
#submit{
    font-family: inherit;
    font-size: inherit;
    /*font-size: 20px;*/
}

.button:hover {
        background: lightgrey;
}

.upload-option {
    display: flex;
} 

.upload-item {
    flex-direction: column;
    height: 90px;
    padding: 10px;
    color: #222;
}

.Select-control {
    display: block;
    float: left;
    /*width: 495px;*/
    /*height: 25px;*/
    width: 40%;
    /*width: 20%; */
    height: 40px; 
    margin-right: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px; 
    border-radius: 3px;
    font-family: inherit;
    font-size: inherit;
    /*font-size: 20px;*/
}

#canvas {
    vertical-align: top;
}

#controls {
    width: 20rem;
    min-width: 20vw;
    margin-left: 0;
    margin-right: 2px;
    align-items: top;
}

#network {
    flex-grow: 1;
    width: calc(100% - 20rem);
    background-color: white;
}

.center-aligned-controls {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    width: 100%;
} 
.showcase-button {
    background: white;
    border: thin solid #333;
    border-radius: 5px;
    cursor: pointer;
    /*font-size: 12px;*/
    font-weight: 600;
    padding: 5px 10px;
}  

.appClass {
    background: transparent;
}

.flex-item-output {
    /*display: block;*/
    /*width: 495px;*/
    /*height: 25px;*/
    width: 150px;
    height: 40px; 
    display: flex;
    margin-left: 5px;
    margin-right: 5px;
    padding: 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    border-color: rgb(169, 169, 169);
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    font-family: inherit;
    font-size: inherit;
    text-align: left; 
    align-items: center; 
    /*justify-content: center;*/
}

#ratio-value{
    width: 70px;
    /*text-align: center;*/
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* 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 */
}

/* The Close Button */
.close {
    color: #222;
    position: absolute;
    top: 2px;
    right: 5px;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0px;
}

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

/* Modal Content */
.modal-content {
    position: absolute;
    top: 20%;
    left: 21%;
    background-color: white;
    color: black;
    padding: 1rem;
    border: 1px solid #888;
    width: 58%;
    border-width: 2px;
    border-style: outset;
    border-color: buttonface;
    border-image: initial;
    animation-name: animatetop;
    animation-duration: 0.4s
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

#top-bar {
    background-color: #222;
    padding: 10px;
}