﻿main {
    width: 100%;
    height: 100%;
}

table {
    border: 1px solid #000000;
    width: 100%;
}

table tr td:first-child {
    width: 30%;
}

th {
    border-bottom: 1px solid #000000;
}

th, td {
    padding: 18px;
}

button, input[type=submit] {
    box-shadow: 2px 3px 16px -1px #91b8b3;
    background-color: #768d87;
    border-radius: 9px;
    border: 1px solid #566963;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    font-weight: bold;
    padding: 12px 22px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #2b665e;
}

button:hover, input[type=submit]:hover {
    background-color:#6c7c7c;
}

button:active, input[type=submit]:active {
    position:relative;
	top:1px;
}

input[type=submit] {
    float: right;
}

input[type=text], input[type=password] {
    padding-left: 10px;
}

.inline {
    display: flex;
    flex-direction: row;
    padding: 0;
    width: 100%;
}

div.cForm {
    box-shadow: 2px 3px 20px 11px #ffffff;
    background-color: #edededd2;
    border-radius: 9px;
    border: 1px solid #dcdcdc;
    color: #777777;
    padding: 20px;
    text-shadow: 0px 1px 23px #ffffff;
}

div.center {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
}

div.indexPage, div.cardSeletePage {
    width: 400px;
    height: 200px;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto;
}

div.userPage {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

div.loginChoiceBar, div.cardChoiceBar {
    position: relative;
    top: 20%;
    text-align: center;
}

span.loginChoiceBar2, span.cardChoiceBar2 {
    padding-left: 25%;
}

div.loginForm {
    width: 350px;
    height: 350px;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto;
}

.left {
    width: 35%;
    text-align: left;
}

.right {
    margin-left:10px;
}

.noBorder {
    border: none;
}

.btnBar {
    margin-top: 50px;
    margin-bottom: 30px;
}

.btnBarRight {
    width: 66%;
    text-align: right;
}

.adminPage {
    position: relative;
    top: 10%;
    width: 600px;
    height: auto;
    font-size: 15px;
    font-weight: bold;
    margin: auto
}

.adminPage h3, .adminPage h4 {
    color:  #d02718;
    font-weight: bold;
}

.adminPage .registerTable {
    width: 100%;
    height: 370px;
}

.adminPage ul {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.adminPage ul li {
    display: inline;
}

.adminPage ul li a{
    color: black;
    float: left;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color .3s;
}

.adminPage ul li a.active {
    background-color: #4CAF50;
    color: white;
}

.adminPage ul li a:hover:not(.active) {
    background-color: #ddd;
}

.registerPage {
    width: 370px;
    height: 280px;
    font-size: 15px;
    font-weight: bold;
    margin: auto;
}

p.error_message {
    height: 15px;
    padding-bottom: 20px;
    margin-top: 0;
}

p.error_message span {
    color: #ff0000;
}

table.userTable tr td {
    text-align: center;
}

@media screen and (max-width: 900px) {
    div.indexPage {
        width: 70%;
        height: 100px;
        font-size: 18px;
        font-weight: bold;
        margin: 0 auto;
    }

    button, input[type=submit] {
        box-shadow: 2px 3px 16px -1px #91b8b3;
        background-color: #768d87;
        border-radius: 9px;
        border: 1px solid #566963;
        display: inline-block;
        cursor: pointer;
        color: #ffffff;
        font-family: Arial;
        font-size: 12px;
        font-weight: bold;
        padding: 12px 22px;
        text-decoration: none;
        text-shadow: 0px 1px 0px #2b665e;
        margin: 0;
    }

    div.loginForm, div.cardSeletePage {
        width: 80%;
        height: auto;
        font-size: 18px;
        font-weight: bold;
        margin: 0 auto;
    }

    div.laptopView {
        display: none;
    }

    div.cardSeletePage {
        width: 80%;
        height: 20%;
        font-size: 18px;
        font-weight: bold;
        margin: 0 auto;
    }

    div.mobileWeb {
        width: 100%;
        margin: 0 auto;
    }

    div.mobileTitle {
        width: 80%;
        height: auto;
        margin: 0 auto;
    }

    div.mobileForm {
        width: 80%;
        height: 200px;
        overflow: auto;
        margin: 0 auto;
    }

    div.mobileWeb div.mobileTable {
        border: 1px solid #2b665e;
        padding: 20px;
        margin: 10px 0;
    }
}

@media screen and (min-width: 900px) {
    div.mobileView {
        display: none;
    }
}