@import url(https://fonts.googleapis.com/css?family=Quattrocento);

/* -----------------------------------------------*/

body {
    font: 16px normal;
    font-family: 'Segoe UI', Arial, sans-serif;
    text-rendering: optimizeLegibility;
    margin: 0;
}

h1,
h2 {
    color: #003262;
    margin: 0;
}

h1:hover,
h2:hover {
    color: white;
    background-color: #333;
    transition: 0.5s;
}

h1:active,
h2:active {
    color: black;
    background-color: white;
    transition: 0.5s;
}

h1 {
    text-align: center;
}

.fa.h1 {
    font-size: 50px;
    padding: 10px;
}

h2 {
    font-size: 16px;
    font-weight: 500;
    padding-left: 5px;
    min-width: 200px;
}

.fa.h2 {
    font-size: 12px;
    padding-right: 5px;
    position: relative;
    top: -1.75px;
}

p {
    text-align: justify;
}

a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

em {
   font-weight: bold;
   font-style: normal;
}

.center {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pointer {
    cursor: pointer;
}

.ok:hover {
    color: blue;
    transition: .5s;
}

.hide {
    opacity: 0;
}

.empty {
    padding: 0;
    margin: 0;
}

/* -----------------------------------------------*/

#wrapper {
    padding: 50px;
    margin: 0 auto;
}

table.custom {
    background: white;
    border-spacing: 1px;
    width: 100%;
    padding: 0;
    margin-top: 10px;
}

th {
    cursor: pointer;
}

th.custom,
td.custom {
    vertical-align: top;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 10px;
}

th.custom {
    color: #ccc;
    background-color: #384759;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}

td.custom {
    background-color: #ddd;
    width: 25%;
}

table.hide {
    opacity: 0;
}

table.fixed {
    table-layout: fixed;
}

.data th,
.data td {
    font-family: 'Segoe UI',sans-serif;
    padding: 2px 10px;
}

.data td.link {
    padding: 2px 0;
    background: silver;
}

td .fa-remove {
    font-size: 20px;
    color: gray;
}

td .fa-remove:hover {
    font-size: 20px;
    color: red;
}

td .fa-undo {
    font-size: 16px;
    color: gray;
}

td .fa-undo:hover {
    font-size: 16px;
    color: green;
}

/* -----------------------------------------------*/
/* form */

form table {
    border-collapse: collapse;
}

form td {
    padding-bottom: 30px;
}

label {
    font-family: 'Quattrocento';
    font-size: 16px;
    color: #333;
    padding: 5px 0;
}

input[type="text"], input[type="date"], select, datalist, textarea {
    font-size: 16px;
    letter-spacing: 2px;
    color: #fff;
    width: 100%;
    height: 30px;
    padding: 10px;
    padding-left: 20px;
    border: 1px solid #eee;
    box-sizing: border-box;
    border-radius: 15px;
    outline: none;
}

input:focus, select:focus, datalist:focus, textarea:focus {
    font-size: 18px;
    font-weight: 500;
    background-color: #384759;
    transition: background-color 1.9s ease;
}

input:not(:focus), select:not(:focus), datalist:not(:focus), textarea:not(:focus) {
    color: black;
    background: #f9f9f9;
}

input:focus::placeholder {
    opacity: 0;
}

select {
    padding: 0 15px;
}

textarea {
    height: 65px;
    padding-right: 0;
}

/* -----------------------------------------------*/

#note {
    letter-spacing: 2px;
    background: gold;
    padding: 14px;
    position: fixed;
    right: 0;
    top: 0;
    opacity: 1;
    z-index: 2;
}

#reply {
    font-family: 'Segoe UI';
    font-size: 70px;
    font-weight: bold;
    text-align: center;
    padding-top: 200px;
}

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

#topbar {
    background-color: #384759;
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    z-index: 2;
}

#topbar:hover {
    opacity: 1;
}

#topbar a {
    color: #f2f2f2;
    padding: 14px 16px;
}

#topbar a:hover {
    background: #ddd;
    color: black;
}

#logo {
    cursor: pointer;
    position: fixed;
    left: 0;
    top: 0;
    height: 50px;
}

#appname {
    font-family: Quattrocento;
    color: #ddd;
    font-size: 25px;
    font-weight: normal;
    font-variant: small-caps;
    position: fixed;
    left: 130px;
    top: 10px;
}

/* -----------------------------------------------*/

#topbar input[type="text"] {
    letter-spacing: 2px;
    color: #000;
    background: #384759;
    position: fixed;
    left: 41%;
    top: 10px;
    width: 180px;
    height: 30px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    border-radius: 15px;
    outline: none;
    margin-left: 50px;
}

#topbar input:hover {
    background-color: #fff;
    transition: background-color 1.9s ease;
}

#topbar input:focus {
    font-size: 16px;
    font-weight: 500;
    background-color: #fff;
    transition: background-color 1.9s ease;
}

#topbar input:focus::placeholder {
    opacity: 0;
}

/* -----------------------------------------------*/

#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: #eee;
    overflow-x: hidden;
    transition: 0s;
    padding-top: 60px;
}

#sidebar a {
    font-size: 20px;
    font-weight: 700;
    padding-left: 30px;
    text-decoration: none;
    line-height: 32px;
    color: #3c4043;
    display: block;
    transition: 0.5s;
}

#sidebar a:hover {
    color: #000;
    background-color: #ddd;
}

#sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 36px;
    padding: 10px 20px;
}

#sidebar .homebtn {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 36px;
    padding: 10px 20px;
}

#sidebar .title {
    font-size: 12px;
    font-weight: 600;
    padding: 22px;
}

#sidebar img {
    position: absolute;
    bottom: 60px;
    left: 0;
}

@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

    .sidebar a {
        font-size: 18px;
    }
}

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------------------------------*/

#searchpage {
    background: #fff;
    text-align: center;
    margin-top: 50px;
}

#searchpage form {
    text-align: center;
}

#searchpage input[type="text"] {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    background: #ddd;
    width: 350px;
    height: 50px;
    padding: 5px 30px;
    border: none;
    border-radius: 25px;
}

#searchpage input:focus::placeholder {
    opacity: 0;
}

#searchpage #clearsearch {
    height: 50px;
    width: 50px;
    color: white;
    background: #ddd;
    border-radius: 50%;
    border: 0;
    margin-right: 20px;
}

#searchpage #clearsearch:hover {
    background: #dc3545;
}

#searchpage #cat {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    background: #ddd;
    width: 250px;
    height: 50px;
    padding: 5px 30px;
    border: none;
    border-radius: 25px;
}
