/* 
    Created on : Oct 7, 2022, 3:03:00 PM
    Author     : Tawrich
*/

* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    background-color: #ffffff;
    padding: 0px;
    margin: 0px;
}
/* Header and footer */
#header {
    background-color : #99cccc;
    margin: 0px;
    padding: 0px;
    float: top;
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

#header .logo {
    float: left;
    height: 40px;
    width: 40px;
    margin: 5px;
    clear: none;
}

.pagetitle {
    position : fixed;
    top:0px;
    text-align: center;
    color: #5b6574;
    font-size: 36px;
    clear: none;
    z-index: 1;
    width: 100%;
    pointer-events: none;
}

#header .userpanel{
    float: right;
    height: 50px;
    margin: 0px;
    clear: none;
}

#langselect {
    position: fixed;
    top:0;
    left:0;
    background-color: rgba(200, 200, 200, 0.5);
    width: 100%;
    height: 100%;
    z-index : 90;
    border : 2px solid #FFFFFF;
    display: none;
}
#langselectbox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(200, 200, 200, 1);
    min-width: 20%;
    min-height: 10%;
    z-index : 90;
    border : 2px solid #FFFFFF;
    border-radius: 25px;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    padding-bottom: 10px;
}
#langselectbox hr {
    width: 90%;
    color: #aaaaaa;
}
#langselectbox table {
    margin: auto;
}

/* Menu bar */
#menubar {
    position :fixed;
    top : 50px;
    width : 100%;
    height : 25px;
    background-color: #f8f8f8;
    font-size: 14px;
}
#menubar button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    height: 25px;
    padding-left: 10px;
    padding-right: 10px;
    font-size:14px;
    border-left: 1px dotted grey;
}
/* Change background color of buttons on hover */
#menubar button:hover {
    background-color: #dddddd;
}

/* Create an active/current tablink class */
#menubar button.active {
    background-color: #eeeeee;
}
#menubarsub {
    position: fixed;
    top: 75px;
    width: 100%;
    height: 25px;
    background-color: #f1f1f1;
}
#menubarsub button {
    display : none;
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    height: 25px;
    padding-left: 10px;
    padding-right: 10px;
    font-size:14px;
    border-left: 1px dotted grey;
}
/* Change background color of buttons on hover */
#menubarsub button:hover {
    background-color: #dedede;
}

/* Create an active/current tablink class */
#menubarsub button.active {
    background-color: #dddddd;
}

/* Tabs style */


/* Style the buttons that are used to open the tab content */
#header button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    height: 50px;
}
#header img {
    display: block;
    float: left;
}
#header span {
    background-color: inherit;
    border: none;
    outline: none;
    font-style: italic;
    display: block;
    padding: 14px 16px;
    height : 50px;
}
/* Change background color of buttons on hover */
#header button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
#header button.active {
    background-color: #ccc;
}


#footer {
    background-color: #669999;
    width : 100%;
    text-align : center;
    position: relative;
    bottom: 0px;
    color: #cccccc;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
}


/*container*/
#container {
    margin-top:100px;
    padding-bottom: 20px;
}
/* Tabs style */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    height: 50px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    height: 50px;
}
.tab img {
    display: block;
    float: left;
}
.tab span {
    background-color: inherit;
    border: none;
    outline: none;
    font-style: italic;
    display: block;
    padding: 14px 16px;
    height : 50px;
}
/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    background-color : #ffffff;
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    overflow: auto;
}

.tabcontenttitle {
    clear : both;
    background-color : #eeeeee;
    text-align: center;
    font-size : 18px;
    border-bottom: 1px solid #222222;
    display: block;
}

.tabcontentmenu {
    clear : both;
    display: block;
    background-color : #eeeeee;
}

.admincontent {
    clear : both;
    display: block;
}


/* Login box style */
.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
    border-radius: 25px;
}
.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #99cccc;
    color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login form input[type="submit"] {
    width: 80%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 5px;
    background-color: #99cccc;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 25px;
}
.login form input[type="submit"]:hover {
    background-color: #43d560;
    transition: background-color 0.2s;
}
.login button{
    margin-top : 10px;
    margin-bottom : 10px;
}

.fbmain {
    display:block;
    border: 1px solid black;
    width: fit-content;
    padding: 10px;
    margin: auto;
}

.fb {
    display:block;
    float: left;
    border: 1px solid #dddddd;
    margin: 5px;
}

.fb #fb1{
    margin-left: auto;
}

.fb table {
    margin : 10px;
}

.fustbon input[type=number] {
    width: 75px;
}


.fbbutton {
    display:block;
    display: block;
    clear: both;
    position: relative;
    background-color: #78d78b;
    border : 1px solid #444444;
    outline: 1px solid #7Ca5ab;
    height: 30px;
}
.fbbutton:hover {
    display:block;
    display: block;
    clear: both;
    position: relative;
    background-color: #7Ca5ab;
    border : 1px solid #444444;
    outline: 1px solid #7Ca5ab;
    height: 30px;
}

code {
    font-size : 10;
    font-family: Arial, Helvetica, sans-serif;
    color :deepskyblue;
}
/* Adresbook */
.adresbook
{
    width: 80%;
    margin-left: 10%;
}
/* Collapsible */
.collapsible {
    margin-top: 5px;
    margin-left: 25%;
    width: 50%;
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 5px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active, .collapsible:hover {
    background-color: #555;
}

.collapscontent {
    max-height: 0;
    width: 50%;
    margin-left: 25%;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

#af-result {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(250, 250, 250, 1);
    min-width: 20%;
    min-height: 10%;
    z-index : 90;
    border : 2px solid #FFFFFF;
    border-radius: 25px;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    padding: 10px 10px 10px 10px;
}

#af-entry {

    padding: 20px 50px 10px 50px;
}

@media only screen and (max-width: 1200px) {
    #af-result {
        position: float;
        top: 25px;
        left: 50%;
        transform: translate(-50%, 0%);
        background-color: rgba(250, 250, 250, 1);
        min-width: 20%;
        min-height: 10%;
        z-index : 90;
        border : 2px solid #FFFFFF;
        border-radius: 25px;
        box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
        padding: 10px 10px 10px 10px;
    }
    .pagetitle{ display: none;}
}
