/*
Style Sheet for home screen
*/
/* 
    Created on : Dec 14, 2024, 3:01:41 p.m.
    Author     : morga
*/


body {
    background-color: #eeeeee;
    font-family: "Tahoma", "Arial";
}


header {
    text-align: center;
}



#container {
    margin-top: 30px;
    margin-bottom: 50px;
}

.presetContainer {
    margin-bottom: 30px;
}

#preset-box {
    transform: scale(1.5);
    margin-left: 5px;
    margin-right: 8px;
    opacity: 0;
}

.presets-and-info {
    display: inline-block;
    width: 90%;
}




#preset-collapsible {
    font: "Tahoma";
    width: 100%;
    background-color: #E5E4E2;
}



.preset-content {
    box-sizing: border-box;
    display: block;
    margin: auto;
    text-align: center;
    width: 100%;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out; /*animate open and collapse*/
}

.preset-left {
    display: inline-block;
    vertical-align:top;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 75%;
}

.preset-right {
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
    margin-bottom: 5px;
}

.apply-delete {
    margin: 0px;
}

#new-input {
    font-family: "Tahoma", "Arial";
    vertical-align: middle;
    padding: 6px 6px;
    margin-left: 0px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 5px;
}

#new-input:focus {
    border: 2px solid #555;
}

#save-preset {
    background-color: #6082B6;
    padding: 6px 15px;
    display: block; 
    margin: auto;
    margin-bottom: 5px;
    width: 100%;
}

#save-preset:hover {
    background-color: #0047AB;
}


.dropdown-container select {
    padding: 6px 6px;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
    border: 2px solid black;
}

.dropdown-container select:hover {
    cursor: pointer;
}

.preset-button {
    font-family: "Tahoma", "Arial";
    margin-top: 1px;
    vertical-align: middle;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    
}

.preset-button:hover {
    cursor: pointer;
}

#apply {
    
    background-color: #40B5AD;
    padding: 6px 12px;
}

#apply:hover {
    background-color: #008080;
}

#delete {
    
    background-color: #FA5F55;
    padding: 6px 10px;
}

#delete:hover {
    background-color: #E34234;
}

.left-block {
    font-family: "Tahoma", "Arial";
    margin-left: 2%;
    display: inline-block;
    width: 60%;
}

.right-block {
    font-family: "Tahoma", "Arial";
    margin-left: 5%;
    margin-top: 20px;
    display: inline-block;
    vertical-align: top;
    width: 25%;
    position: fixed;
    text-align: center;
}

.train {
    font-family: "Tahoma", "Arial";
    font-size: 25px;
    text-align: center;
    color: white;
    background-color: #6082B6;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.train:disabled {
    opacity: 0.5;
    cursor: default;
}

.train:hover:enabled {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

#selected {
    font-family: "Tahoma", "Arial";
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 20px;
}


.selectToggle {
    font-family: "Tahoma", "Arial";
    display: inline-block;
    color: white;
    text-align: center;
    font-size: 15px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    width: 110px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}


#selectAll {
    background-color: #40B5AD;
    padding: 10px 20px;
}

#selectAll:hover {
    background-color: #008080;
}

#deselectAll {
    background-color: #FA5F55;
    padding: 10px 15px;
}

#deselectAll:hover {
    background-color: #E34234;
}

.collapseToggle {
    font-family: "Tahoma", "Arial";
    display: inline-block;
    background: #C0C0C0;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    text-align: center;
    font-size: 15px;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    width: 110px;
    padding: 5px 0px;
    cursor: pointer;
}

.collapseToggle:hover {
    background: #A9A9A9;
}


.toggleGroup {
    transform: scale(1.5);
    margin-left: 5px;
    margin-right: 8px;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #C0C0C0;
    color: black;
    cursor: pointer;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 90%;
    border: 1px solid black;
    border-radius: 5px;
    text-align: left;
    outline: none;
    font-size: 15px;

    vertical-align: middle;
}

/* add '+' icon to collapsible*/
.collapsible:after {
    content: '\02795';
    font-size: 13px;
    color: white;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2796";
    
}

.grid-container {
    margin-left: 31.2px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out; /*animate open and collapse*/

    height: 15%;
    width: 90%;
    display: grid;
    grid-template-columns: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
    grid-template-rows: auto;
}

.grid-item {
    display: inline-block;
    border: 1px solid black;
    text-align: center;
    border-radius: 5px;
}

.grid-item input[type="checkbox"] {
    position: absolute;
    display: none;
}

.grid-item label {
    border-radius: 5px;
}

.grid-item input[type="checkbox"] + label {
    height: 100%;
    width: 100%;

    float: left;
    cursor: pointer;
}

.grid-item input[type="checkbox"]:checked + label {
    background-color: #40B5AD;
}

img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
}


