.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 { 
    display: none;
}

.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.pink {
    background-color: rgb(225,18,130);
}

.button.pink:hover {
    background-color: rgb(225,63,150);
}

.button.yellow {
    background-color: rgb(255,209,0);
}

.button.yellow:hover {
    background-color: rgb(255,217,51);
}

.button.large {
    border-radius: 0px;
    font-size: 11pt;
    margin: 4px 0px;
    padding: 6px 0px;
}

label.dropdown select {
    padding: 10px 42px 10px 10px;
    background: #f8f8f8;
    color: #444;
    border: 1px solid #aaa;
    border-radius: 0;
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
}

label.dropdown select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #444;
}

label.dropdown select::-ms-expand {
    display: none;
}

label.dropdown:before {
    content: '';
    right: 5px;
    top: -7px;
    width: 30px;
    height: 33px;
    position: absolute;
    pointer-events: none;
    display: block;
}

label.dropdown {
    position: relative;
}

label.dropdown:after {
    content: '>';
    font: 16px Consolas, monospace;
    color: #444;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    right: 2px;
    top: -3px;
    border-bottom: 1px solid #aaa;
    position: absolute;
    pointer-events: none;
    width: 35px;
    padding: 0 0 5px 0;
    text-align: left;
    text-indent: 14px;
}

.note { 
    background-color: rgb(188, 232, 241); 
    box-sizing: border-box;
    margin: 8px auto;
    padding: 8px 48px;
    width: 75%;
}
.note::before { content: "Note: "; font-weight: bold; }

.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%;
}

.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 */
}