.button {
    background-size: contain;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    margin: 0px;
    min-height: 30px;
    padding: 6px 12px;
    text-align: center;
    width: initial;
}

.button:disabled {
    background-color: rgb(200,200,200) !important;
    color: rgb(180,180,180) !important;
    cursor: default;
}

.button.blue {
    background-color: rgb(0, 71, 186);
}

.button.blue:hover {
    background-color: rgb(0,129,201);
}

.button.green {
    background-color: rgb(63,174,41);
}

.button.green:hover {
    background-color: rgb(94,199,73);
}

.button.grey {
    background-color: rgb(112, 112, 112);
}

.button.grey:hover {
    background-color: rgb(147, 147, 147);
}

.button.orange {
    background-color: #F39200;
}

.button.orange:hover {
    background-color: #F9C475;
}
.button.pink {
    background-color: rgb(225,18,130);
}

.button.pink:hover {
    background-color: rgb(225,63,150);
}

.button.purple {
    background-color: #8164A9;
}

.button.purple:hover {
    background-color: #BBABD1;
}

.button.sky {
    background-color: #009EE1;
}

.button.sky:hover {
    background-color: #80CFF0;
}

.button.large {
    border-radius: 0px;
    font-size: 11pt;
    margin: 4px 0px;
    padding: 6px 0px;
}

.grid { 
    border: 0; 
    border-collapse: collapse; 
    font-size: 10pt;
    line-height: 2;
}
.grid td, .grid th { border: 0; }
.grid td a { text-decoration: none; }
.grid td input[type="image"] { height: 24px; }
.grid th { 
    background-color: rgb(0,129,201); 
    color: white;
}
.popup {
    background-color: white;
    border: 2px solid rgb(128, 128, 128);
    border-radius: 8px;
    -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin: -8px auto;
    padding: 8px;
    text-align: left;
    width: 624px;
}

.popup .buttonbar {
    border-top: 1px solid rgb(208, 208, 208);
    clear: both;
    margin-top: 12px;
    padding-top: 8px;
    text-align: right;
}

.popup .buttonbar input[type=submit],
.popup .buttonbar input[type=button] {
    font-size: 9pt !important;
    clear: none !important;
    height: intrinsic !important;
    width: intrinsic !important;
}

.popup h1 {
    border-bottom: 1px solid rgb(90, 90, 90);
    font-size: 14pt;
    margin: 0px 0px 8px 0px;
    padding: 4px 8px;
}

.popup label {
    min-width: 72px;
}

.popup span {
    width: 128px;
}

.popup textarea {
    clear: none;
    margin-bottom: 8px;
    width: 75%;
}

.toolbar {
    background-color: whitesmoke;
    border-radius: 4px;
    display: flex;
    padding: 4px;
}

.tree .selected a {
    border-radius: 4px;
    background-color: rgb(0, 179, 255);
    color: white;
    padding: 2px 4px;
}

.tree td {
    padding-left: 4px;
}

.tree td img {
    height: auto;
    width: 32px;
}

.ui-datepicker-trigger {
    height: 18px;
    margin-bottom: -4px;
    margin-left: 4px;
    width: 18px;
}

@media only screen and (min-width:960px) {
    /* styles for browsers larger than 960px; */
}

@media only screen and (max-device-width:480px) {
    /* styles for mobile browsers smaller than 480px; (iPhone) */
}

@media only screen and (device-width:768px) {
    /* default iPad screens */
}

/* different techniques for iPad screening */

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    /* For portrait layouts only */
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    /* For landscape layouts only */
}