/*****************************************************************************
 *  
 *   This file is part of the Utopia Documents application.
 *       Copyright (c) 2008-2017 Lost Island Labs
 *           <info@utopiadocs.com>
 *   
 *   Utopia Documents is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU GENERAL PUBLIC LICENSE VERSION 3 as
 *   published by the Free Software Foundation.
 *   
 *   Utopia Documents is distributed in the hope that it will be useful, but
 *   WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
 *   Public License for more details.
 *   
 *   In addition, as a special exception, the copyright holders give
 *   permission to link the code of portions of this program with the OpenSSL
 *   library under certain conditions as described in each individual source
 *   file, and distribute linked combinations including the two.
 *   
 *   You must obey the GNU General Public License in all respects for all of
 *   the code used other than OpenSSL. If you modify file(s) with this
 *   exception, you may extend this exception to your version of the file(s),
 *   but you are not obligated to do so. If you do not wish to do so, delete
 *   this exception statement from your version.
 *   
 *   You should have received a copy of the GNU General Public License
 *   along with Utopia Documents. If not, see <http://www.gnu.org/licenses/>
 *  
 *****************************************************************************/

html, body {
    line-height: 120%;
    -webkit-user-select: text;
    overflow-x: hidden;
    font-family: sans-serif;
}

* {
    -webkit-user-select: text;
    -webkit-box-sizing: border-box;
}

html {
    padding: 0px;
}

body {
    overflow-y: auto;
    height: 100%;
    border: 1px solid #bbb;
    padding: 5px;
}

table {
    width: 100%;
    padding: 1px 2px;
}

td, th {
    padding: 1px 2px;
}

col.minimum {
    width: 1%;
}

input[type="text"],
input[type="password"] {
    vertical-align: baseline;
    width: 100%;
    padding: 4px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

p:first-child {
    margin-top: auto;
}

p:last-child {
    margin-bottom: auto;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
    background: inherit;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.20);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar-track {
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.03);
    margin: 2px;
}

