@font-face {
    font-family: adam;
    src: url(../fonts/adam.otf);
}

@font-face {
    font-family: galyon;
    src: url(../fonts/galyon-regular.otf);
}

@font-face {
    font-family: galyon;
    src: url(../fonts/galyon-bold.otf);
    font-weight: bold;
}

@font-face {
    font-family: galyon;
    src: url(../fonts/galyon-italic.otf);
    font-style: italic;
}

.productClassSelector {
    position: absolute;
    left: 578px;
    top: 94px;
    background: #bc982f;
    color: white;
    padding: 10px;
    display: none;
}

.heading {
    color: #be9c39;
    font-size: 33pt;
    font-weight: bold;
    font-family: adam;
    font-style: italic;
    margin-top: 50px;
    font-variant: all-small-caps
}

.subheading {
    color: #be9c39;
    font-size: 12pt;
    font-weight: bold;
    font-style: italic;
}

body {
    background: #FFF;
    font-family: galyon;
    line-height: 25px;
    font-style: italic;
}

.content {
    background: white;
    width: 100%;
    text-align: center;
    min-height: 120px;
}

@media only screen and (min-width: 768px) {
    body {
        margin: 0;
        background: #d8d2c2;
        font-family: galyon;
        line-height: 25px;
        font-style: italic;
    }
    .content {
        background: white;
        width: 80%;
        margin: 20px auto 2px auto;
        padding: 25px;
        box-shadow: 0 0 20px #878788;
        text-align: center;
        min-height: 120px;
        background-repeat: no-repeat;
        background-image: linear-gradient(to right, rgba(256, 256, 256, 1) 70%, rgba(256, 256, 256, 0) 95%), url(../images/bg.jpg);
        background-position: center;
    }
}

table {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #be9c39;
    box-shadow: 0 0 10px #adadad;
    margin-bottom: 10px;
    border-collapse: collapse;
}

.table-no-format, .table-no-format > tbody > tr > td, .table-no-format > tbody > tr > th {
    margin-left: 0;
    margin-right: 0;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}

td, th {
    border: 1px solid #be9c39;
    padding: 5px;
}

.left {
    text-align: left;
}

input[type=button], input[type=submit]{
    min-width: 150px;
    border-radius: 5px;
    height: 30px;
    margin: 0px 5px 0px 5px;
    background-color: #be9c39;
    color: white;
    border: 1px solid #000000;
    font-family: galyon;
    font-style: italic;
}

input.customFileInput {
    display: none;
}

label.customFileInput {
    display: inline-block;
    min-width: 150px;
    border-radius: 5px;
    height: 30px;
    margin: 0px 5px 0px 5px;
    background-color: #be9c39;
    color: white;
    border: 1px solid #000000;
    font-family: galyon;
    font-style: italic;
    font-size: 10pt;
    line-height: 30px;
}

.separate {
    margin-top: 50px;
    margin-bottom: 50px;
}

.logo {
    position: absolute;
}

.error {
    color: red;
    font-weight: bold;
}

.testing {
    position: fixed;
    left: 15px;
    top: 10px;
    font-weight: bold;
}

.sortable th.descend:after{
    content: "\25B2";
}

.sortable th.tablesorter-headerAsc div.tablesorter-header-inner:after {
    content: "\25B2";
}

.sortable th.ascend:after{
    content: "\25BC";
}

.sortable th.tablesorter-headerDesc div.tablesorter-header-inner:after {
    content: "\25BC";
}

.sortable th:hover {
    cursor: pointer;
}

.draganddrop {
    max-width: 350px;
    text-align: center;
    float: left;
    margin: 45px;
    border: 2px dashed #000000;
    height: 200px;
    width: 7%;
    border-radius: 10px;
    display: table;
    position: fixed;
    left: -35px;
}

.draganddrop p {
    display: table-cell;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: #be9c39;
}

label {
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.alert {
    background-color: #ff9933;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    display: none;
    top: 0px;
}

.addonForm {
    height:95%;
    width: 90%;
    max-width: 1000px;
    background: #FFFFFF;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    -moz-box-shadow: 0 0 10px 2px #000;
    -webkit-box-shadow: 0 0 10px 2px #000;
    box-shadow: 0 0 10px 2px #000;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}

.msgbox {
    min-height:150px;
    width: 500px;
    max-width: 1000px;
    background: #FFFFFF;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    -moz-box-shadow: 0 0 10px 2px #000;
    -webkit-box-shadow: 0 0 10px 2px #000;
    box-shadow: 0 0 10px 2px #000;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    overflow: auto;
    max-height: 95%;
}

.msgbox>*:first-child {
    margin-top: 5px;
    display: block;
    white-space: pre-line;
    display: inline-block;
    min-height: 90px;
    width: 95%;
}

.msgbox>*:last-child {
    text-align: center;
    display: block;
}

.msgbox-buttons {
    margin: 10px;
}

.scroll {
    height: calc(100% - 130px);
    overflow: auto;
}

.largeCheck {
    width: 20px;
    height: 20px;
}

.menuOptions {
    position: absolute;
    top: 215px;
}

.selectable {
    cursor: pointer;
}

.noformat, .noformat td {
    border: 0;
    box-shadow: none;
    line-height: 0px;
}

.popupMsg {
    display: none;
    position: fixed;
    height: 50px;
    width: 500px;
    bottom: 0px;
    right: 0;
    background: #528bbbc9;
    text-align: center;
    border-radius: 8px 0px 0 0;
    border: 1px solid #be9c39;
    color: #fff;
    z-index: 999;
}

.slideoutMenu {
    background: rgb(82,139,187);
    background: linear-gradient(157deg, rgba(82,139,187,0.8491771708683473) 0%, rgba(156,199,235,0.8463760504201681) 40%, rgba(82,139,187,0.8547794117647058) 100%);
    box-shadow: grey 0px 4px 6px 1px;
    z-index: 1;
}

.slideoutTab {
    background: rgb(190,156,57);
    background: linear-gradient(157deg, rgba(190,156,57,1) 0%, rgba(249,232,183,1) 40%, rgba(190,156,57,1) 100%);
    border-radius: 0 10px 10px 0px;
    box-shadow: grey 0px 4px 6px 1px;
}

.menuHeader {
    color: white;
    position: relative;
    text-align: center;
    left: 25px;
}

.slideoutMenuOptions {
    background: #f0f8ff59;
    border-top: 1px solid;
}

.slideoutMenuOptions a {
    color: black;
    font-size: 11pt;
}

.slideoutMenuOptions a:before {
    /*content: "•   ";*/
}

input {
    font-family: galyon;
    border-radius: 5px;
}

.link {
    text-decoration: underline;
}

/* Misc visuals
----------------------------------*/

.ui-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
	outline: 0;
}
.ui-menu .ui-menu {
	position: absolute;
        border: 1px solid;
        left: 200px !important;
}
.ui-menu .ui-menu-item {
	margin: 0;
        cursor: default;
	/* support: IE10, see #8844 */
	list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}

.ui-menu .ui-menu-item a {
    cursor: pointer;
}

.ui-menu .ui-menu-item-wrapper {
	position: relative;
	padding: 3px 1em 3px .4em;
}
.ui-menu .ui-menu-divider {
	margin: 5px 0;
	height: 0;
	font-size: 0;
	line-height: 0;
	border-width: 1px 0 0 0;
}

/* icon support */
.ui-menu-icons {
	position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
	padding-left: 2em;
}

/* left-aligned */
.ui-menu .ui-icon {
	position: absolute;
	top: 3px;
	bottom: 0;
	left: .2em;
	margin: auto 0;
}

.ui-icon:after {
    content: "\25B8";
}

/* right-aligned */
.ui-menu .ui-menu-icon {
	left: auto;
	right: 10px;
}

.ui-menu-item:hover {
    background: #fff;
}

.ui-widget-content {
	color: #333333;
        width: 200px;
        z-index: 2;
}

.ui-base-menu {
    background: rgba(0,0,0,0);
}

.ui-sub-menu {
    background: rgba(167,198,222,.95);
}

.ui-menu-item-wrapper:hover {
    background: #fff;
}

.page-menu {
    color: black;
    background-color: #bce3ff;
    border: 1px solid;
    width: 100%;
    position: relative;
    top: 50px;
    height: 25px;
    font-style: normal;
    z-index: 0;
    cursor: default;
    font-variant: small-caps;
}

.page-menu-dropdown:after {
    content: '\25BE';
}

.page-menu-item-sub {
    position: absolute;
    border: 1px solid black;
    transition: background-color .3s ease,
        opacity .3s ease,
        visibility .3s ease;
    opacity: 0;    
    background-color: #bce3ff;
    display: block;
    visibility: hidden;
}

.page-menu-item {
    width: 200px;
    float: left;
    transition: color .3s ease,
        background-color .3s ease;
}

.page-menu-dropdown:hover .page-menu-item-sub {
    transition: opacity .3s ease;
    opacity: 1;
    visibility: visible;
}

.page-menu-item:hover {
    transition: background-color .3s ease,
        color .3s ease;
    background-color: #33a0ff;
    color: white;
    
}

.page-menu-item a {
    transition: color .3s ease;
    color: black;
    display: block;
}

.page-menu-item:hover>a {
    transition: color .3s ease;
    color: white;
}

.page-menu-drp-content {
    position: relative;
    clear: both;
}

.ui-autocomplete {
    background-color: white;
    border: 1px solid black;
    max-height: 500px;
    overflow: auto;
}

.ui-autocomplete .ui-state-active {
    background-color: #bce3ff;
}

.ui-helper-hidden-accessible {
    visibility: hidden;
}

.warning {
    background-color: #ffeb00 !important;
}

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