.row {
    padding: 0 1em;
}

@media (min-width: 1024px) {
    .row {
        padding: 0 3em;
    }
}

@media (min-width: 769px) {
    .row {
        padding: 0 1em;
    }
}

body {
    background: url(../images/template/tiny_grid.png) repeat 0 0 #e4e4dc;
    font-family: Calibri, Helvetica, "Trebuchet MS", Arial;
    margin: 0 auto;
    padding: 0;
    font-size: 1rem;
}

#header {
    -webkit-box-shadow: 0 8px 15px rgba(0, 0, 0, .1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, .1);
    background: white;
}

#header-top {
    background: #fd0;
    border-top: 5px solid #fd0;
    color: #000;
    height: 0;
    margin: 0 auto;
}

#header .login {
    background: #fd0;
    color: #00634f;
    margin: 0 auto;
    min-height: 1.8em;
    padding-bottom: .5em;
    padding-top: .5em;
    z-index: 10;
}

#header #logout {
    font-family: semencesfregular;
}

#header-title {
    color: white;
    background: #00634f;
    border-bottom: 5px solid #fff;
    min-height: 3em;
    display: block;
    margin: 0 auto;
    z-index: 8;
    font-size: 1.4em;
}

#header .title {
    padding: 1em .5em !important;
    vertical-align: middle;
    width: auto;
    text-transform: uppercase;
    font-family: semencesfregular;
}

#header .logo {
    height: 68px;
    float: right;
    vertical-align: middle;
    width: auto;
}

h1, h3 {
    color: #00634f;
    font-family: semencesfregular;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.1em;
    padding: 0;
    text-transform: uppercase;
}

#content {
    margin-top: 1em;
    margin-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

#footer {
    background: #fff;
    text-align: center;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

#copyright {
    color: white;
    background-color: #00634f;
    font-size: .9em;
    padding: 1em;
    text-align: center;
}

table.default th {
    font-family: semencesfregular;
    background: #00634f;
    padding: 10px 10px 10px 5px;
    font-weight: bold;
    color: #fd0;
}

#account {
    /*float:right;*/
    text-align: right;
}

.btn {
    font-family: semencesfregular;
}

.inputbox-container {
}

.inputbox-container input {
    background: white;
}

#filters .col {
    padding: 2px;
}

.navigation {
    background: white;
}

.navigation {
    background: white;
}

.navigation li {
    display: inline-block;
}

.navigation a {
    line-height: 35px;
    font-weight: normal;
    font-family: inherit;
    font-style: normal;
    font-size: 14px;
    color: #00634f;
    border-right: 1px solid #014235;
    box-shadow: 1px 0px 0px 0px rgba(255, 255, 255, 0.08);
    -webkit-box-shadow: 1px 0px 0px 0px rgba(255, 255, 255, 0.08);
    -moz-box-shadow: 1px 0px 0px 0px rgba(255, 255, 255, 0.08);
    padding-right: 11px;
    padding-left: 11px;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    -moz-border-top-left-radius: 0px;
    -o-border-top-left-radius: 0px;
    -moz-border-top-right-radius: 0px;
    -o-border-top-right-radius: 0px;
    -moz-border-bottom-right-radius: 0px;
    -o-border-bottom-right-radius: 0px;
    border-radius: 0px;
    -moz-border-bottom-left-radius: 0px;
    -o-border-bottom-left-radius: 0px;
}

#homepage {

}

#homepage nav {
    list-style: none;
    margin-bottom: 1em;
    margin-top: 1em;
}

#homepage blockquote {
    font-size: 1.1rem;
    padding: 0;
}

#homepage blockquote p {
    line-height: 1.5;
    margin: .75em 0 0;
}

#homepage .btn {
    width: 50%;
    font-family: Arial;
    font-weight: normal;
    text-align: center;
    font-size: 1em;
    height: 1.6em;
    line-height: 1.6em;
    border-radius: 0.5em;
    box-shadow: -2px 2px 0 #CCC;
}

.clear {
    clear: both;
}

/* DEFAULT TEMPLATE */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    background: #777;
    opacity: 0.5;
    display: none;
    width: 100%;
    height: 100%;
}

#overlay.modal-open {
    z-index: 10002;
}

table input {
    font: 300 15px Calibri, Helvetica, "Trebuchet MS", Arial;
}

.box {
    border: 1px solid var(--primary-color);
}

#account .inputbox-container input {
    border: 1px solid transparent;
}

#header {
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 10;
}

#content {
    margin-top: 140px;
}

#product-list .filter {
    margin-bottom: 10px;
}

.datatable table {
    width: 100%;
    text-align: left;
    border: 1px solid var(--primary-color);
    position: relative;
}

.datatable table tr {
    background-color: white;
}

.datatable table th {
    background-color: var(--primary-color);
    color: var(--tiercary-color);
    padding: 10px;
    font-weight: bold;
    font-family: semencesfregular;
}

.datatable table td {
    padding: 5px;
}

.datatable th, .datatable td {
    border: none;
    position: relative;
}

.datatable table tr:nth-child(even) {
    background-color: #f4f1f1;
}

.datatable .pagination {
    width: auto;
    background: white;
    text-align: center;
    border: 1px solid var(--primary-color);
    display: block;
}

.datatable .page {
    width: 20px;
    margin: 4px;
    padding: 4px;
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    display: inline-block;
    cursor: pointer;
}

.datatable .page:hover, .datatable .page.active {
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: white;
}

.datatable th:nth-child(1) {
    width: 5%;
}

.datatable th:nth-child(2) {
    width: 15%;
}

.datatable th:nth-child(3) {
    width: 20%;
}

.datatable th:nth-child(4) {
    width: 50%;
}

.datatable th.sort {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    background: var(--primary-color) url('../images/sort_both.png') no-repeat center right;
}

.datatable th.sort.asc {
    background: var(--primary-color) url('../images/sort_asc.png') no-repeat center right;
}

.datatable th.sort.desc {
    background: var(--primary-color) url('../images/sort_desc.png') no-repeat center right;
}

.logo-center {
    width: 173px;
    margin-left: 43%;
    top: -15px
}

@media (min-width: 1024px) {
    .row {
        padding: 0 3em;
    }
}

@media (min-width: 769px) {
    .row {
        padding: 0 1em;
    }
}

@media (max-width: 960px) {
    .logo-center {
        display: none;
    }

    #content {
        margin-top: 10px;
    }

    #header {
        position: relative;
    }
}

@media (max-width: 550px) {
    .logo {
        display: none;
    }
}
