/* Style sheets for bot management page */
.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    background-color: #555555;
    float: left;
    color: #fff;
    border: 3px outset #666;
}

.container header {
    font-size: 22px;
    font-weight: bold;
    background-color: #474747;
    padding: 15px;
    width: 100%;
}

.box {
    width: 225px;
    display: inline;
    float: left;
    margin: 15px;
}

.box img {
    border-radius: 50%;
    border: 3px solid rgb(106, 255, 170);
    width: 128px;
    height: 128px;
}

/* Turn it into a button */
.button {
    display: block;
    text-decoration: none;
    margin: 10px 5px 10px 5px;
    padding: 5px 5px 5px 5px;
    background-color: #f1f1f1;
    border: 1px solid;
    border-radius: 16px;
    text-align: center;
}

/* Stylesheets for data output */
text.autogrow {
    width: 100%;
}

.width-600px, textarea.message {
    width: 600px
}

.text_label {
    pointer-events: none; /* makes text input read-only */
    margin: 0px 0px;
    padding: 0px 0px;
    border: 0px 0px;
    border-style: none;
    background-color: #f1f1f1;
}

/* Stylesheet for read-only text-area */
textarea.ro-text {
    border-style: solid;
    background-color: #f1f1f1;
    width: 600px;
}

@media screen and (max-width: 600px) {
    /* If the screen size is 600px wide or less */
    textarea.ro-text {
        width: 300px;
    }

    textarea.message {
        width: 350px;
    }

    .width-600px {
        width: 100%;
    }
}

/* Layout stylesheets */
.indent-l1 {
    padding: 0 18px;
    overflow: hidden;
}

.indent-l2 {
    padding: 0 24px;
    overflow: hidden;
}

/* Tooltip stylesheets */
.tooltip {
    visibility: hidden;
    display: none;
    width: auto;
    max-width: 600px;
    background-color: #ddd;
    color: black;
    padding: 5px;
    border-radius: 16px;
    border-left: 1px solid;
    border-top: 1px solid;
    border-right: 2px solid;
    border-bottom: 2px solid;
    position: absolute;
    z-index: 1;
}
.tooltip-300px { width: 300px; }
.tooltip-600px { width: 600px; }
.tooltip-active {
    visibility: visible; 
    display: block;
}       

.tooltip-icon {
    cursor: pointer;
}

.tooltip-icon:hover {
    background-color: #ccc;
}

.tooltip-icon:after {
    content: '\2753'; /* Unicode for red question mark */
}

@media screen and (max-width: 600px) {
    /* .tooltip-600px { width: 300px; } */
    .tooltip-600px { width: 100%; }
}

/* Title stylesheets */
.title, .title-larger {
    display: inline-block;
    font-weight: bold;
}

.title-larger {
    font-size: larger;
}


.required:after {
    content: ' *';
    color: red;
}


/* Clearable and clickable stylesheets */
.clearable:after {
    content: '\274c';  /* Unicode for red cross mark */
}

.clickable, .clearable {
    cursor: pointer;
}

.clickable:hover, .clearable:hover {
    background-color: #ccc;
}

/* The main div in body */
.main {
    padding: 15px 15px;
}

.donate {
    text-align: center;
    float: left;
    width: 100%;
}

body {
    margin: 0;
    background-color: #f1f1f1;
}

/* Stylesheets for mobile nav-bar */
.menu_button {
    display: none;
}

.menu_button, .menu_button-right {
    height: 20px;
    padding: 10px 10px;
}

.menu_button-right {
    float: right;
}

.mob_topnav {
    display: none;
    background-color: #333;
    overflow: hidden;
}

@media screen and (max-width: 600px) {
    .mob_topnav { 
        display: block; 
    }
}
  
/* The side navigation menu */
.sidenav {
    width: 200px;
    position: relative; /* Stay in place */
    z-index: 1; /* Stay on top */
    background-color: #222; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    overflow-y: auto;
    display:inline-block;
}

.sidenav a {
    padding: 10px 10px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    display: block;
}

.sidenav a.active {
    background-color: #4CAF50;
}

.sidenav span {
    padding: 10px 10px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    display: block;
}

.sidenav a:hover:not(.active) {
    background-color: #111;
}

.sidenav-main {
    position:absolute;
    margin: 15px 15px;
    display:inline;
}

@media screen and (max-width: 800px) {
    /* If the screen size is 800px wide or less */
    .sidenav { display: none; }
    .sidenav-active { 
        display: block; 
        overflow-y: scroll;
        position: absolute;
        z-index: 1;
    }
    .sidenav-main { 
        /*padding-left: 15px; */
        margin: 0px 15px 15px 15px;
        padding-top: 15px;
        position: relative;
        display: block;
    }
}

/* The top navigation menu */
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

ul.topnav li {
    float: left;
}

ul.topnav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}


ul.topnav li a:hover:not(.active) {
    background-color: #111;
}

ul.topnav li a.active {
    background-color: #4CAF50;
}

ul.topnav li.right {
    float: right;
}

@media screen and (max-width: 600px) {
    /* If the screen size is 600px wide or less */
    ul.topnav li.right, 
    ul.topnav li { 
        float: none;
        display: none;
    }

    ul.topnav-active li.right,
    ul.topnav-active li {
        display: block;
    }
}

/* Top navigation menu drop-down */
.topnav-dropdown {
    float: left;
    overflow: hidden;
}

.topnav-dropdown-content {
    display: none;
    position: absolute;
    background-color: #222;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
}

.topnav-dropdown-content hr {
    margin: 0px 8px;
}

.topnav-dropdown-content a {
    float: none;
    display: block;
    text-align: left;
}

ul.topnav .topnav-dropdown-content a.active {
    background-color: #4caf4f7e;
}

.topnav-dropdown-content a:hover {
    background-color: #ddd;
}

/* If the screen size is 601px wide or more */
@media screen and (min-width: 601px) {
    .topnav-dropdown:hover .topnav-dropdown-content {
        display: block;
    }
}

@media screen and (max-width: 600px) {
    /* If the screen size is 600px wide or less */
    /*.topnav-dropdown:hover .topnav-dropdown-content { display: none; /*position: static; }*/
    .topnav-dropdown-active {
        display: block;
        position: static;
    }
}

/* Stylesheets for searchable drop down */
.search-dropbtn {
    background-color: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 1em;
    cursor: pointer;
}

.search-dropbtn:disabled {
    background-color: #888;
}

.search-dropbtn:hover {
    background-color: #3e8e41;
}
  
.search-input {
    box-sizing: border-box;
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size:14px;
    padding: 14px 20px 12px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
    width: 100%;
}
  
.search-input:focus {outline: 3px solid #ddd;}

.search-dropdown {
    position: relative;
    display: inline-block;
}
  
.search-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 380px;
    border: 1px solid #ddd;
    z-index: 1;
    width: 600px;
}
  
.search-dropdown-content span {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

table.search-table {
    border-collapse: separate;  /* This has to be set to 'separate' to use border-spacing */
    border-spacing: 5px 5px; /* Sets the spacing between cells within the table */
}

table.search-table th {
    text-align: left;
}

table.search-table tr {
    vertical-align: top;
    padding: 5px 0px;
}

table.search-table tr td {
    cursor: pointer;
}

.search-dropdown-content span:hover {background-color: #f1f1f1}
  
.search-dropdown-show {display:block;} 

@media screen and (max-width: 600px) {
    /* If the screen size is 600px wide or less */
    .search-dropdown-content { width: 100%; }
}
/* If the screen size is 601px wide or more */
/*@media screen and (min-width: 601px) {
}*/
