@charset "utf-8";
body {
    font-family: Arial, Helvetica, Geneva, sans-serif;
    text-align: left;
    word-wrap: break-word;
}

html,
body {
    height: 100%;
    min-height: 100%;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

textarea {
    width: 100%;
    min-height: 100%;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    resize: none;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='number'],
input[type='password'] {
    font-size: 16px;
}

textarea,
input,
select {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type='submit'] {
    display: inline-block;
    padding: 6px 10px;
    margin: 2px;
    font-size: 14px;
    line-height: 1em;
    text-transform: uppercase;
    border-radius: 3px;
    background-color: slategrey;
    color: white;
    border: 0;
}

input[type='submit']:hover {
    background-color: green;
}

input[value="Delete"],
input[value="Delete"]:hover,
input[value="Delete Page"],
input[value="Delete Page"]:hover,
input[value="Delete Unsent Mail"],
input[value="Delete Unsent Mail"]:hover {
    background-color: red;
}

input[value*="Cancel"],
input[value*="Cancel"]:hover {
    background-color: #ffbf00;
    color: #000000;
}

/**
 * Header
 */

header {
    position: absolute;
    height: 100px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 80;
}

header .header-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem;
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

header img {
    max-height: 100%;
}

.middle {
    width: 90%;
    margin: 0 auto;
    padding-bottom: 4rem;
}

/**
 * Base Styling
 */

a {}

a:hover,
a:focus {}

h1,
h2,
h3,
h4,
h5,
h6 {}

p {
    font-size: 15px;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

li {}

li ul,
li ol {}

hr {
    border: 0;
    width: 100%;
    margin: 20px auto;
    background-color: #cccccc;
    height: 1px;
}

ul>li ul {
    list-style-type: circle;
}

ol>li>ol {
    list-style-type: lower-alpha;
}

ol>li>ol>li>ol {
    list-style-type: lower-roman;
}

blockquote {
    font-family: Georgia, Times, "Times New Roman", serif;
    font-style: italic;
    padding: 0 8px 0 20px;
    border-left: 5px solid #cccccc;
    overflow: hidden;
}

input[type='submit'] {
    cursor: pointer;
}

/**
 * Main Menu
 */

.ddmenu {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 90;
}

.ddmenu ul {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ddmenu li {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

.ddmenu a {
    display: block;
    padding: 8px 12px;
    line-height: 1.2;
    text-decoration: none;
    display: flex;
    color: #fff;
    transition: color .2s ease, background-color .2s ease;
}

.ddmenu a:hover,
.ddmenu a:focus,
.ddmenu a.active {
    text-decoration: none;
    color: #a5d0ef;
}

.ddmenu li li {
    display: block;
    align-self: baseline;
}

/**
 * Animated Space Scene
 */

#space {
    position: relative;
    height: 130px;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#space div {
    position: absolute;
    height: 190px;
    width: 100%;
}

#space .stars {
    background: url("../../images/space/stars.png") top center repeat;
    height: 2000px;
    width: 200%;
    margin-left: -50%;
    margin-top: -160px;
    z-index: 3;
}

#space .nebula {
    background: url("../../images/space/nebula.jpg") top center no-repeat;
    z-index: 1;
}

#space .body-top {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 30px;
    width: 100%;
    background: url("../../images/space/body-top.png") top center no-repeat;
    z-index: 7;
}

#space .stars {
    animation: 90.0s rotateRight infinite cubic-bezier(1, 0.9, 0.9, 1);
}

@keyframes rotateRight {
    0% {
        transform: rotate(0deg);
        transform-origin: 50% 50%;
    }
    50% {
        transform: rotate(25deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/**
 * Breadcrumbs
 */

.breadcrumb {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .45rem .8rem;
    margin-bottom: .8rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: .25rem;
}

.breadcrumb-item,
.breadcrumb-item::before {
    font-size: .75rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* IMAGE STYLING */

html>body .outerpair1 {
    background: url("../../images/upperrightfade.png") no-repeat right top;
}

html>body .outerpair2 {
    background: url("../../images/lowerleftfade.png") no-repeat left bottom;
    padding-top: 8px;
    padding-left: 8px;
}

html>body .shadowbox {
    background: url("../../images/shadow.png") bottom right;
}

html>body .innerbox {
    position: relative;
    left: -8px;
    top: -8px;
}

.shadowbox img {
    border: 1px solid #000000;
    vertical-align: bottom;
}

/* HTML SITEMAP */

#sitemap a {
    text-decoration: none;
}

.sitemapL2:before,
.sitemapL3:before,
.sitemapL4:before,
.sitemapL5:before,
.sitemapL6:before {
    content: "\00BB";
    display: inline-block;
    margin: 0 3px 0 0;
}

.sitemapL1 {
    margin: 0 0 5px 0;
}

.sitemapL1 a {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

.sitemapL2 {
    margin: 10px 0 3px 10px;
}

.sitemapL2 a {
    color: #333333;
    text-transform: uppercase;
}

.sitemapL3 {
    margin: 0 0 3px 20px;
}

.sitemapL4 {
    margin: 0 0 3px 30px;
}

.sitemapL5 {
    margin: 0 0 3px 50px;
}

.sitemapL6 {
    margin: 0 0 3px 60px;
}

/* Blog Admin */

.admin_blog input[type='text'] {
    width: 100%;
}

.admin_blog textarea {
    width: 100%;
    min-height: 80px;
}

.admin_blog table {
    width: 100%;
}

.admin_blog td,
.admin_blog th {
    padding: 0 10px;
}

.admin_blog td {
    padding-top: 5px;
    padding-bottom: 5px;
    border-top: 2px solid #bbb;
}

.admin_blog .comBox {
    padding: 5px;
    max-width: 500px;
    max-height: 35px;
    line-height: 17px;
    background: #efefef;
    overflow-y: auto;
}

/* ADMIN STYLING */

.AdminLogoutForm,
.AdminLoginForm {
    width: auto !important;
}

.AdminLogoutForm td {
    border: 0 !important;
}

#adminpage input[name='login'],
#adminpage input[name='password'] {
    width: 100%;
}

#adminpage {
    margin: 0 0 20px 0;
}

#adminpage table {
    margin-bottom: 1rem;
    background: #dfdfdf;
}

#adminpage table img {
    display: inline-block;
    margin: 0 auto;
}

#adminpage td {
    background: #dfdfdf;
    color: #000000;
    text-align: left;
    border-collapse: collapse;
}

#adminpage th {
    background: #cfcfcf;
    padding: 2px 10px;
}

#adminpagegallery {
    position: relative;
    font-size: 16px;
    font-weight: normal;
}

#adminpage table.productedit {
}

#adminpage .productedit>td {
    background: #d6d6d6;
}

#adminpage table.LogBody {
}

#adminpage table.log {
    background: #333333;
}

#adminpage table.log th {
    padding: 2px;
    background: #555555;
    color: #ffffff;
    font-size: 13px;
}

#adminpage table .logrow1 td {
    padding: 4px;
    background: #cfcfcf;
    font-size: 16px;
}

#adminpage table .logrow2 td {
    padding: 4px;
    font-size: 16px;
}

#adminpage table .logrowS td {
    padding: 4px;
    background: #ffff66;
    font-size: 16px;
}

#adminpage table label {
    display: inline-block;
    padding: 2px;
}

#adminpage table label:hover,
#adminpage table label:focus {
    color: #cf0000;
    cursor: pointer;
}

.audit_box li {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

span.audit_showhide {
    background: #222;
}

fieldset {
    border: 0;
}

#adminpage input[size='90'] {
    width: 100%;
}

#adminpage input[name='insert'] {
    width: 50%;
}

.adminpage input[name='login'],
.adminpage input[name='password'] {
    width: 100%;
}

.adminpage {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
}

.adminpage b {
    color: #000000;
    font-weight: bold;
}

.adminpage table {
    margin-bottom: 10px;
    background: #dfdfdf;
    border: 0px solid #dfdfdf !important;
    border-collapse: collapse;
}

.adminpage table img {
    display: inline-block;
    margin: 0 auto;
}

.adminpage td {
    background: #dfdfdf;
    color: #000000;
    text-align: left;
    border-collapse: collapse;
}

.adminpage th {
    background: #cfcfcf;
    color: #000000;
    text-align: left;
    padding: 2px 10px;
    border-collapse: collapse;
}

.adminpagegallery {
    position: relative;
    font-size: 16px;
    font-weight: normal;
}

.adminpage table.productedit {
}

.adminpage .productedit>td {
    background: #d6d6d6;
}

    width: 100%;
}

.adminpage table.log {
    background: #333333;
}

.adminpage table.log th {
    padding: 2px;
    background: #555555;
    color: #ffffff;
    font-size: 13px;
}

.adminpage table .logrow1 td {
    padding: 4px;
    background: #cfcfcf;
    font-size: 12px;
}

.adminpage table .logrow2 td {
    padding: 4px;
    background: #eeeeee;
    font-size: 12px;
}

.adminpage table .logrowS td {
    padding: 4px;
    background: #ffff66;
    font-size: 12px;
}

.adminpage table label {
    display: inline-block;
    padding: 2px;
}

.adminpage table label:hover,
.adminpage table label:focus {
    color: #cf0000;
    cursor: pointer;
}

.adminpage table .tablerow1 td {
    background: #eeeeee;
}

.adminpage table .tablerow2 td {
    background: #cfcfcf;
}

.adminpage table .tablerow1 td:nth-child(3),
.adminpage table .tablerow2 td:nth-child(3) {
    font-weight: bold;
}

#adminpage a.action_btn {
    display: inline-block;
    padding: 4px 6px;
    margin: 1px;
    font-size: 10px;
    line-height: 1em;
    text-transform: uppercase;
    border-radius: 3px;
    background-color: slategrey;
    color: white;
}

#adminpage a.action_btn.red {
    background-color: firebrick;
    color: #ffffff;
}

#adminpage a.action_btn.green {
    background-color: yellowgreen;
    color: #ffffff;
}

.InlineBlock {
    display: inline-block;
}

.TableTitle {
    width: 200px;
    display: inline-block;
    vertical-align: top;
    line-height: 1.5;
}

.TableField {
    width: calc(100% - 250px);
    display: inline;
}

.ProductSearchHeading,
.ProductSearchCell {
    width: 10%;
}

.ProductSearchHeadings {
    background: #cfcfcf;
    color: #000000;
    text-align: left;
    padding: 5px 10px;
    border-collapse: collapse;
    font-weight: bold;
}

.ProductSearchRow {
    line-height: 24px;
}

.ProductEditOdd {
    background: #dfdfdf;
    padding: 5px;
}

.ProductEditEven {
    background: #d6d6d6;
    padding: 5px;
}

.ProductImageTable {
    background: #dfdfdf;
}

.ProductImageLeftSide {
    width: 300px;
    background: #cfcfcf;
    color: #000000;
    text-align: left;
    padding: 10px;
    border-collapse: collapse;
}

.ProductImageRightSide {
    width: calc(100% - 350px);
    background: #dfdfdf;
    color: #000000;
    text-align: left;
    border-collapse: collapse;
    padding: 10px;
    vertical-align: top;
}

.ProductImageHeading,
.ProductImageFieldHeading {
    width: 100px;
    display: inline-block;
}

.ProductImageField {
    width: calc(100% - 150px);
    display: inline;
}

.ProductImageField input {
    width: 100%;
}

.ProductImageRow,
.ProductImagesRow {
    padding: 10px 0;
}

.ProductPDFTable {
    background: #dfdfdf;
    color: #000000;
    text-align: left;
    border-collapse: collapse;
    padding: 10px;
}

.ProductPDFRow {
    padding: 5px 0;
}

.ProductPDFHeading {
    width: 150px;
    display: inline-block;
}

.ProductPDFField {
    width: calc(100% - 200px);
    display: inline;
}

.ProductPDFs {
    margin-bottom: 10px;
    background: #dfdfdf;
    border: 0px solid #dfdfdf !important;
    border-collapse: collapse;
}

.ProductPDFsLink {
    width: 150px;
    display: inline-block;
}

.ProductPDFsLink a {
    padding-left: 10px;
}

.ProductPDFsOrder {
    display: inline-block;
    vertical-align: top;
}

.ProductPDFsDescription {
    display: inline-block;
    margin-left: 150px;
    vertical-align: top;
    margin-top: -25px;
    position: relative;
}

.input[type="file"] {
    background-color: #ffffff;
    border: none;
    color: #000000;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
    border: 2px solid #4CAF50;
}

.input[type="file"]:hover {
    background-color: #4CAF50;
    color: white;
}

.ProductExtraTable {
    margin-bottom: 10px;
    background: #dfdfdf;
    border: 0px solid #dfdfdf !important;
    border-collapse: collapse;
    padding: 10px;
}

.ProductExtraCategoryRow {
    padding: 5px 0;
}

.ProductExtraCategoryField {
    padding-left: 5px;
}

.ProductExtraCategoryHeading {
    font-weight: bold;
}

#EditProduct {
    margin-bottom: 10px;
    background: #dfdfdf;
    border: 0px solid #dfdfdf !important;
    border-collapse: collapse;
    padding: 10px;
}

.TableRow,
.TableRowButtons {
    padding: 5px;
}

.CourseSearchHeading,
.CourseSearchCell {
    width: 10%;
}

.CourseSearchHeadings {
    background: #cfcfcf;
    color: #000000;
    text-align: left;
    padding: 5px 10px;
    border-collapse: collapse;
    font-weight: bold;
}

.CourseSearchRow {
    line-height: 24px;
}

.CourseEditOdd {
    background: #dfdfdf;
    padding: 5px;
}

.CourseEditEven {
    background: #d6d6d6;
    padding: 5px;
}

.CourseImageTable {
    background: #dfdfdf;
}

.CourseImageLeftSide {
    width: 300px;
    background: #cfcfcf;
    color: #000000;
    text-align: left;
    padding: 10px;
    border-collapse: collapse;
}

.CourseImageRightSide {
    width: calc(100% - 350px);
    background: #dfdfdf;
    color: #000000;
    text-align: left;
    border-collapse: collapse;
    padding: 10px;
    vertical-align: top;
}

.CourseImageHeading,
.CourseImageFieldHeading {
    width: 100px;
    display: inline-block;
}

.CourseImageField {
    width: calc(100% - 150px);
    display: inline;
}

.CourseImageRow,
.CourseImagesRow {
    padding: 10px 0;
}

.CoursePDFTable {
    background: #dfdfdf;
    color: #000000;
    text-align: left;
    border-collapse: collapse;
    padding: 10px;
}

.CoursePDFRow {
    padding: 5px 0;
}

.CoursePDFHeading {
    width: 150px;
    display: inline-block;
}

.CoursePDFField {
    width: calc(100% - 200px);
    display: inline;
}

.CoursePDFs {
    margin-bottom: 10px;
    background: #dfdfdf;
    border: 0px solid #dfdfdf !important;
    border-collapse: collapse;
}

.CoursePDFsLink {
    width: 150px;
    display: inline-block;
}

.CoursePDFsLink a {
    padding-left: 10px;
}

.CoursePDFsOrder {
    display: inline-block;
    vertical-align: top;
}

.CoursePDFsDescription {
    display: inline-block;
    margin-left: 150px;
    vertical-align: top;
    margin-top: -25px;
    position: relative;
}

.CourseExtraTable {
    margin-bottom: 10px;
    background: #dfdfdf;
    border: 0px solid #dfdfdf !important;
    border-collapse: collapse;
    padding: 10px;
}

.CourseExtraCategoryRow {
    padding: 5px 0;
}

.CourseExtraCategoryField {
    padding-left: 5px;
}

.CourseExtraCategoryHeading {
    font-weight: bold;
}

#EditCourse {
    margin-bottom: 10px;
    background: #dfdfdf;
    border: 0px solid #dfdfdf !important;
    border-collapse: collapse;
    padding: 10px;
}

#edit_product tbody tr td fieldset table tbody tr td:first-child {
    width: 180px;
}

#adminpage a.action_btn {
    display: inline-block;
    padding: 4px 6px;
    margin: 1px;
    font-size: 10px;
    line-height: 1em;
    text-transform: uppercase;
    border-radius: 3px;
    background-color: slategrey;
    color: white;
}

#adminpage a.action_btn.red {
    background-color: firebrick;
    color: #ffffff;
}

#adminpage a.action_btn.green {
    background-color: yellowgreen;
    color: #ffffff;
}

.groups {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.group {
    position: relative;
    display: inline-block;
    width: 48%;
    background: #ffffff;
    color: #000;
    margin: 0 1% 40px 1%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #d2d6de;
    border-radius: 3px;
    vertical-align: top;
}

.group2 {
    position: relative;
    display: inline-block;
    width: 98%;
    background: #ffffff;
    color: #000;
    margin: 0 1% 40px 1%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #d2d6de;
    border-radius: 3px;
    vertical-align: top;
}

.group-header,
.box-group {
    display: block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
    padding: 10px;
}

.group-content {
    display: block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
    padding: 10px;
}

.widget1 {
    position: relative;
    display: inline-block;
    width: 23%;
    background: #00c0ef;
    color: #fff;
    margin: 0 1% 40px 1%;
}

.widget2 {
    position: relative;
    display: inline-block;
    width: 23%;
    background: #00a65a;
    color: #fff;
    margin: 0 1% 40px 1%;
}

.widget3 {
    position: relative;
    display: inline-block;
    width: 23%;
    background: #f39c12;
    color: #fff;
    margin: 0 1% 40px 1%;
}

.widget4 {
    position: relative;
    display: inline-block;
    width: 23%;
    background: #dd4b39;
    color: #fff;
    margin: 0 1% 40px 1%;
}

.widget1 h3,
.widget2 h3,
.widget3 h3,
.widget4 h3 {
    color: #fff;
    font-size: 38px;
    line-height: 1;
    margin: 0;
}

.widget2 {}

.widget3 {}

.widget4 {}

.orderSummary {
    color: #fff;
}

.orderSummary .mainRow {}

.orderSummary .secondaryRow {}

.orderSummary .tertiaryRow {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 2px 0;
}

.tertiaryRow a {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2px 0;
}

.tertiaryRow a:hover {
    color: #ffffff;
}

.orderSummary>div>div {
    display: inline-block;
}

.orderSummary>div>div>div {
    margin: 15px 25px;
}

.half {
    width: 50%;
    text-align: center;
    vertical-align: bottom;
}

.half span {
    font-size: 2.7em;
}

.half strong {
    font-size: 1.2em;
    color: #999;
}

.quarter {
    width: 25%;
    text-align: left;
    vertical-align: middle;
}

.quarter span {
    font-size: 1.5em;
}

.quarter strong {
    font-size: 1.1em;
    color: #999;
}

.orderSummary strong {
    text-transform: uppercase;
}

.RotateImageButton {
    height: 40px;
    vertical-align: middle;
    padding-left: 40px;
    line-height: 40px;
}

#RotateLeft {
    background: url("../../images/rotate_left.png") no-repeat left;
}

#RotateRight {
    background: url("../../images/rotate_right.png") no-repeat left;
}

input,
textarea,
select,
button {
    font-size: 16px;
    padding: 5px;
}

.audit_box li {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

span.audit_showhide {
    background: #222;
}

.adminpage input[size='90'] {
    width: 100%;
}

.adminpage input[name='insert'] {
    width: 50%;
}

.cycle-slideshow img {
    max-width: 300px;
}

#admindivouter {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    background: #ffffff;
    width: 100%;
    float: right;
    border: 0;
}

/*
#admindiv				{ text-align: left; margin-bottom: 10px; border: 1px solid #9f9f9f; background: #dfdfdf; vertical-align: top;}
fieldset 				{ border:0;}
.admincheckbox			{ position: relative; display: inline-block; width:255px; padding: 5px; vertical-align: top; width: 24%;}
.admincheckboxheading		{ position: relative; display: inline; text-align: left; vertical-align: top;}
.admincheckboxheading img	{ padding-right: 5px; }
.admincheckboxvalue		{ position: relative; display: inline-block; float: left; vertical-align: middle; padding: 2px 5px 0 0; }
.admininput			{ position: relative; display: inline-block; float: left; width: 100%; padding: 5px; }
.admininputheading		{ position: relative; display: inline-block; float: left; text-align: right; width: 200px; }
.admininputvalue		{ position: relative; display: inline-block; float: left; text-align: left; width: 550px; padding-left: 10px; }
.admindropdown			{ position: relative; display: inline-block; float: left; width: 100%; padding: 5px; }
.admindropdownheading		{ position: relative; display: inline-block; float: left; text-align: right; width: 200px; }
.admindropdownvalue		{ position: relative; display: inline-block; float: left; text-align: left; width: 550px; padding-left: 10px; }
.admindate			{ position: relative; display: inline-block; float: left; width: 100%; padding: 5px; }
.admindateheading		{ position: relative; display: inline-block; float: left; text-align: right; width: 200px; }
.admindatevalue			{ position: relative; display: inline-block; float: left; text-align: left; width: 550px; padding-left: 10px; }
.adminbutton			{ position: relative; display: inline-block; float: left; width: 100%; padding: 5px; }
.adminbuttonheading		{ position: relative; display: inline-block; float: left; text-align: right; width: 200px; }
.adminbuttonvalue		{ position: relative; display: inline-block; float: left; text-align: left; width: 550px; padding-left: 10px; }
.admineditor			{ position: relative; display: inline-block; float: left; width: 100%; padding: 5px; }
.admineditorheading		{ position: relative; display: inline-block; float: left; text-align: left; width: 100%; }
.admineditorvalue		{ position: relative; display: inline-block; float: left; text-align: left; width: 99%; }
.admintext			{ position: relative; display: inline-block; float: left; width: 100%; padding: 5px; }
.admintextheading		{ position: relative; display: inline-block; float: left; text-align: right; width:200px; }
.admintextvalue			{ position: relative; display: inline-block; float: left; text-align: left; width: 550px; padding-left: 10px; }
.adminimages			{ position: relative; display: inline-block; float: left; width: 100%; padding: 5px; }
.adminimagesnumber		{ position: relative; display: inline-block; float: left; text-align: left; width: 200px; }
.adminimagesvalue		{ position: relative; display: inline-block; float: left; text-align: left; width: 550px; padding-left: 10px; }
.adminsearch			{ position: relative; display: inline-block; float: left; width: 100%; padding: 5px; }
.adminsearchtitle		{ position: relative; display: inline-block; float: left; text-align: left; width: 200px; }
.adminsearchvalue		{ position: relative; display: inline-block; float: right; text-align: left; padding-left: 10px; }
.adminroomtreeouter 		{ position: relative; display: inline-block; text-align: center; padding: 5px 0; margin: 0 auto; width: 1024px; }
*/

#admindiv {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border: 1px solid #bbb;
    border-radius: .2rem;
    background: #ddd;
    padding: 2rem;
}

#admindiv>div {
    display: flex;
    padding-bottom: 1rem;
}

#admindiv>div>div:first-child {
    flex: 0 0 15%;
    padding-top: .3rem;
}

#admindiv .admininput,
#admindiv .admindropdown,
#admindiv .adminimages,
#admindiv .adminsearch,
#admindiv .admindate,
#admindiv .admineditor,
#admindiv .admintext {
    flex-basis: 100%;
}

#admindiv .admincheckbox {
    flex-basis: 20%;
}

.roomedit {
    width: 100%;
    margin: 0 auto;
}

.roomedit>td {
    background: #d6d6d6;
}

#admindivouter table.LogBody {
    width: 100%;
}

#admindivouter table.log {
    width: 100%;
    background: #333333;
}

#admindivouter table.log th {
    padding: 2px;
    background: #555555;
    color: #ffffff;
    font-size: 13px;
}

#admindivouter table .logrow1 td {
    padding: 4px;
    background: #cfcfcf;
    font-size: 12px;
}

#admindivouter table .logrow2 td {
    padding: 4px;
    background: #eeeeee;
    font-size: 12px;
}

#admindivouter table .logrowS td {
    padding: 4px;
    background: #ffff66;
    font-size: 12px;
}

#admindivouter table label {
    display: inline-block;
    width: 100%;
    padding: 2px;
}

#admindivouter table label:hover {
    color: #cf0000;
    cursor: pointer;
}

#edit_room tbody tr td fieldset table tbody tr td:first-child {
    width: 180px;
}

/**
 * Subpages
 */

.subpages {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

a.subpage-link {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    flex: 0 0 8.33333%;
    padding: 1rem;
    box-shadow: 0 0 1px 0 #ccc;
    background-color: #fff;
    text-decoration: none;
    color: inherit;
    z-index: 1;
}

a.subpage-link:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1);
}

a.subpage-link:focus {
    outline: 3px solid lightblue;
    z-index: 3;
}

.subpage-image img {
    max-width: 100%;
    max-height: 100%;
}

.subpage-text {
    text-align: center;
}

/* CONTACT MESSAGE */

.contact {
    clear: both;
    width: auto;
    margin: 50px auto;
    color: #ffffff;
    background: url("../../images/stars.jpg") no-repeat left top;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.contact a {
    color: #ffffff;
    text-decoration: none;
}

.contact:hover,
.contact a:hover {
    color: #1975d1;
}

/* SITE FORMS */

.form {
    position: relative;
    display: inline-block;
    overflow: hidden;
    float: left;
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
    background: #dfdfdf;
    border: 0px solid #dfdfdf !important;
    border-collapse: collapse;
    padding: 10px;
}

.form * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form .error {
    color: #cc0000;
}

.form>div {
    padding: 1px;
    margin: 0 0 10px 0;
    overflow: hidden;
}

.form>div>label {
    width: 20%;
    float: left;
    padding-right: 10px;
    line-height: 24px;
    font-weight: bold;
}

.form>div>div {
    width: 80%;
    float: right;
}

.form input[type=text],
.form input[type=email],
.form input[type=url],
.form input[type=password],
.form input[type=tel],
.form input[type=number],
.form textarea,
.form select {
    width: 75%;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.form input[type=text]:focus,
.form input[type=email]:focus,
.form input[type=url]:focus,
.form input[type=password]:focus,
.form input[type=tel]:focus,
.form input[type=number]:focus,
.form textarea:focus {
    outline: 0;
    border-color: #4697e4;
}

/* FOOTER */

.footer {
    clear: both;
    padding: 15px 0;
    background: #0f1f22;
    color: #ffffff;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
}

.footer a {
    font-size: 12px;
    text-decoration: none;
    color: #ffffff;
}

.footer a:hover,
.footer a:focus {
    text-decoration: underline;
}

.footer img {
    margin-left: 5px;
    vertical-align: top;
}

@media (max-width: 860px) {
    #toggleMenu {
        width: auto;
        background: url("../../images/menu-icon.png") 20px 15px no-repeat;
        color: #ffffff;
        font-size: 15px;
        font-weight: bold;
        text-transform: uppercase;
        padding: 12px 15px 13px 45px;
        cursor: pointer;
        text-align: left;
    }
    #toggleMenu:hover {
        background-color: #555;
        width: 100%;
        color: #ffffff;
    }
    /* Subpages */
    .subpages .subpage-link {
        flex: 0 0 33.3333%;
    }
}

/* RESPONSIVE FOR MOBILE */

@media (max-width: 640px) {
    #sitemap>div {
        float: none !important;
        width: auto !important;
    }
    #adminpage textarea,
    #adminpage select,
    #adminpage input {
        width: 100%;
    }
    #adminpage input[size='3'] {
        width: 50px;
    }
    #adminpage input[type='submit'] {
        width: auto;
    }
    .audit_box li {
        width: auto;
        display: block;
    }
    #adminpage td#subpage {
        width: 46%;
        display: inline-block;
    }
    #adminpage td#subpage table {
        width: 100%;
    }
    #adminpage td#subpage img {
        width: 100%;
    }
    #adminpagegallery>table>tbody>tr>td,
    #adminpagegallery>table>tr>td {
        display: inline-block;
        width: 100%;
    }
    #adminpagegallery>table>tbody>tr>td>table,
    #adminpagegallery>table>tr>td>table {
        width: 100% !important;
        border: 0;
    }
    #adminpagegallery div[align='right'] {
        text-align: center;
    }
    #adminpagegallery>form td {
        width: 19%;
        height: 75px;
        overflow: hidden;
        display: inline-block;
    }
    .adminpage textarea,
    .adminpage select,
    .adminpage input {
        width: 100%;
    }
    .adminpage input[size='3'] {
        width: 50px;
    }
    .adminpage input[type='submit'] {
        width: auto;
    }
    .audit_box li {
        width: auto;
        display: block;
    }
    .adminpage td#subpage {
        width: 46%;
        display: inline-block;
    }
    .adminpage td#subpage table {
        width: 100%;
    }
    .adminpage td#subpage img {
        width: 100%;
    }
    .adminpagegallery>table>tbody>tr>td,
    .adminpagegallery>table>tr>td {
        display: inline-block;
        width: 100%;
    }
    .adminpagegallery>table>tbody>tr>td>table,
    .adminpagegallery>table>tr>td>table {
        width: 100% !important;
        border: 0;
    }
    .adminpagegallery div[align='right'] {
        text-align: center;
    }
    .adminpagegallery>form td {
        width: 19%;
        height: 75px;
        overflow: hidden;
        display: inline-block;
    }
    #sr_mvp #sr_data {
        display: none;
    }
    #sr_mvp:after {
        content: "This information cannot be displayed on this sized screen or device. Please view on a larger screened computer or device.";
        display: block;
        margin: 0 15px;
    }
    .form>div {
        margin: 0 0 8px 0;
    }
    .form>div>label {
        width: 100%;
        float: none;
        margin: 0 0 5px 0;
    }
    .form>div>div {
        width: 100%;
        float: none;
    }
    .form input[type=text],
    .form input[type=email],
    .form input[type=url],
    .form input[type=password],
    .form input[type=tel],
    .form input[type=number],
    .form textarea,
    .form select {
        width: 100%;
    }
}

/* DEBUG */

#debug {
    position: relative;
    padding: 10px 15px;
    text-align: left;
    background: #cfdaff;
    border-top: 12px solid #c4d2ff;
    border-bottom: 12px solid #c4d2ff;
}

#debug h1 {
    border: none;
    color: #001b51;
    text-transform: none;
    text-decoration: none;
}

#debug pre {
    color: #000d27;
}