/*
#    Standard RokCoder CSS
*/

div.scroll-row {
    overflow: auto;
    white-space: nowrap;
}

div.scroll-row img {
    border-radius: 8px;
    border-color: black;
    border-width: 6px;
    border-style: solid;
    margin: 4px;
    opacity: 0.6;
}

body {
    background-color: lightblue;
    font-size: 30px;
    font-family: sans-serif;
}

h1 {
    color: navy;
    margin-left: 20px;
}

.rokcoder {
    vertical-align: middle;
    border-radius: 20px;
    border: 6px solid black;
}

.button {
    background-color: green;
    border: none;
    color: white;
    padding: 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 22px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 10px;
    border: 3px solid black;
}

.button:hover {
    background: darkgreen;
    outline: none;
}

.button:active {
    background: green;
    outline: none;
}

.button:focus {
    outline: none;
}

.shadow-text {
    color: white;
    font-size: 20px;
    text-shadow: -1px -1px 4px black, 1px -1px 4px black, -1px 1px 4px black, 1px 1px 4px black;
}

#details br {
    display: block;
    /* makes it have a width */
    content: "";
    /* clears default height */
    margin-top: 20px;
    /* change this to whatever height you want it */
}

/*----- Styles for drag and drop dialogs --------------------------------------------------------*/

a {
    color: #369;
}

.drop-area {
    border: 6px dashed black;
    border-radius: 20px;
    width: auto;
    height: auto;
    margin: 20px 0px;
    padding: 10px;
}

.drop-area.highlight {
    border-color: purple;
}

p {
    margin-top: 0;
}

/*----- Creating a tabbed window display for customisation options ------------------------------*/

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 24px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.small-tab {
    overflow: hidden;
}

.small-tab button {
    border: 1px solid black;
    background-color: lightgray;
    outline: none;
    cursor: pointer;
    padding: 4px 6px;
    margin-right: 4px;
    transition: 0.3s;
    font-size: 18px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.small-tab button:hover {
    background-color: darkgray;
}

.small-tab button.active {
    background-color: #444;
}

/*----- Snackbar code from W3Schools -----*/

/* The snackbar - position it at the bottom and in the middle of the screen */

#snackbar1 {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: #333;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    bottom: 30px;
    /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */

#snackbar1.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#snackbar2 {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: #333;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    bottom: 30px;
    /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */

#snackbar2.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.appButton {
    background-color: black;
    border: none;
    color: white;
    padding: 1px;
    margin: 0px 0px 1px 4px;
    cursor: pointer;
    border-radius: 10px;
    border: 3px solid black;
    opacity: 0.25;
}

.appButton:hover {
    background-color: darkgray;
    outline: none;
}

.appButton:active {
    background-color: lightgray;
    outline: none;
}

.appButton:focus {
    outline: none;
}

.appButton.active {
    background-color: black;
    opacity: 1.0;
}

.textImage {
    background-color: black;
    border-radius: 6px;
    padding: 2px;
    height: 20px;
    vertical-align: text-bottom;
}
