 @charset "UTF-8";
@font-face {
    font-family: 'OpenSans';
    src: url('/library/templates/default/resources/OpenSans-Regular-webfont.eot');
    src: url('/library/templates/default/resources/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/library/templates/default/resources/OpenSans-Regular-webfont.woff') format('woff'),
         url('/library/templates/default/resources/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('/library/templates/default/resources/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans-Light';
    src: url('/library/templates/default/resources/OpenSans-Light-webfont.eot');
    src: url('/library/templates/default/resources/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('/library/templates/default/resources/OpenSans-Light-webfont.woff') format('woff'),
         url('/library/templates/default/resources/OpenSans-Light-webfont.ttf') format('truetype'),
         url('/library/templates/default/resources/OpenSans-Light-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans-LightItalic';
    src: url('/library/templates/default/resources/OpenSans-LightItalic-webfont.eot');
    src: url('/library/templates/default/resources/OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/library/templates/default/resources/OpenSans-LightItalic-webfont.woff') format('woff'),
         url('/library/templates/default/resources/OpenSans-LightItalic-webfont.ttf') format('truetype'),
         url('/library/templates/default/resources/OpenSans-LightItalic-webfont.svg#open_sanslight_italic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('/library/templates/default/resources/OpenSans-Semibold-webfont.eot');
    src: url('/library/templates/default/resources/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/library/templates/default/resources/OpenSans-Semibold-webfont.woff') format('woff'),
         url('/library/templates/default/resources/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('/library/templates/default/resources/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans-Light';
    src: url('/library/templates/default/resources/OpenSans-Semibold-webfont.eot');
    src: url('/library/templates/default/resources/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/library/templates/default/resources/OpenSans-Semibold-webfont.woff') format('woff'),
         url('/library/templates/default/resources/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('/library/templates/default/resources/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
  font-family: "telstarlogistics";
  src:url("/library/templates/default/resources/telstarlogistics.eot");
  src:url("/library/templates/default/resources/telstarlogistics.eot?#iefix") format("embedded-opentype"),
    url("/library/templates/default/resources/telstarlogistics.woff") format("woff"),
    url("/library/templates/default/resources/telstarlogistics.ttf") format("truetype"),
    url("/library/templates/default/resources/telstarlogistics.svg#telstarlogistics") format("svg");
  font-weight: normal;
  font-style: normal;

}

* {
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'OpenSans', sans-serif;
}

* + *:not(div) {
  margin: 1em 0 0;
}

ul {
  margin: 2em 0;
}
ul:first-child {
  margin-top: 0;
}

html, body {
  height: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #ffffff;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: (auto)[3];
  -ms-grid-columns: auto;
      grid-template: repeat(3, auto)/auto;
      grid-template-areas: "header" "main" "footer";
}

header {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 9em;
  -ms-grid-columns: auto;
      grid-template: 9em/auto;
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: header;
}

@media (max-width: 840px) {
  header {
    -ms-grid-rows: 6em;
    -ms-grid-columns: auto;
        grid-template: 6em/auto;
  }
}

header.hero {
  height: 70vh;
  min-height: 400px;
  -ms-grid-rows: 9em auto;
  -ms-grid-columns: auto;
      grid-template: 9em auto/auto;
}

@media (max-width: 840px) {
  header.hero {
    -ms-grid-rows: 6em auto;
    -ms-grid-columns: auto;
        grid-template: 6em auto/auto;
  }
}

header .header-top {
  -ms-grid-column: 1;
  grid-column: 1;
  background: #ffffff;
  overflow: hidden;
  position: fixed;
  width: 100%;
  -webkit-transition: height 0.5s ease-out, padding 0.5s ease-out;
  transition: height 0.5s ease-out, padding 0.5s ease-out, box-shadow 1s ease-out;
  height: 9em;
  padding: 2em 4vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid transparent;
  z-index: 1;
}

@media (max-width: 840px) {
  header .header-top {
    padding: 1em 4vw;
    height: 6em;
  }
}

@media (min-width: 1800px) {
  header .header-top {
    padding: 2em calc(calc(100% - 1800px) / 2);
  }
}

header .header-top .header-logo {
  background: #cccccc;
  height: 100%;
}

header .header-top .header-logo svg {
  width: auto;
  height: 100%;
  display: block;
  background-color: #ffffff;
}
header .header-top .header-nav {
  margin-top: 0;
  box-sizing: border-box;
  padding-left: 1vw;
}

header .header-top .header-nav a {
  text-decoration: none;
  display: inline-block;
  padding: 0 0.75em;
  text-transform: uppercase;
  font-weight: bold;
}

header .header-top .header-nav a:last-child {
  padding-right: 0;
}

@media (max-width: 840px) {
  header .header-top .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    padding: 10vw;
    max-width: 400px;
    background: #9b9b98;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.1s ease-out;
    transition: -webkit-transform 0.1s ease-out;
    transition: transform 0.1s ease-out;
    transition: transform 0.1s ease-out, -webkit-transform 0.1s ease-out;
    z-index: 100;
  }
  header .header-top .header-nav.active {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  header .header-top .header-nav a {
    display: block;
    color: #fff;
  }
}

header .header-top .nav-burger-btn {
  position: absolute;
  margin-top: 0;
  right: -4em;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #0a003f;
  opacity: 0;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  z-index: 101;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}

header .header-top .nav-burger-btn rect {
  width: 100%;
  height: 15px;
  fill: #fff;
  rx: 5;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

header .header-top .nav-burger-btn.active rect:first-child {
  -webkit-transform: translate3d(27px, 3px, 0) rotate(45deg);
          transform: translate3d(27px, 3px, 0) rotate(45deg);
}

header .header-top .nav-burger-btn.active rect:nth-child(2) {
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transform: translate3d(0px, 1px, 0) rotate(-45deg);
          transform: translate3d(0px, 1px, 0) rotate(-45deg);
}

header .header-top .nav-burger-btn.active rect:last-child {
  opacity: 0;
  height: 0;
}

@media (max-width: 840px) {
  header .header-top .nav-burger-btn {
    right: 1em;
    opacity: 1;
  }
}

header.fixed .header-top {
  height: 5em;
  padding: 1em 4vw;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 840px) {
  header.fixed .header-top {
    height: 4em;
  }
}

@media (min-width: 1800px) {
  header.fixed .header-top {
    padding: 1em calc(calc(100% - 1800px) / 2);
  }
}

header .header-hero {
  max-height: 50vh;
  grid-column: 1 / -1;
  -ms-grid-row: 2;
  grid-row: 2;
  overflow: hidden;
  z-index: 0;
  position: relative;
}
header .header-hero-caption {
  position: absolute;
  top: 50%;
  right: 4vw;
  transform: translate3d(0,-50%,0);
  width: 75%;
  max-width: 500px;
  max-height: calc(100% - 2vw);
  overflow: hidden;
  background: rgba(255,255,255,0.8);
  z-index: 1;
  box-sizing: border-box;
  padding: 2em;
  line-height: 1.2em;
  font-size: 0.85em;
}
@media (max-width: 800px) {
  header .header-hero-caption {
    font-size: 0.6em;
    width: calc(100% - 2em);
    right: 1em;  
    bottom: 1em;
    top: auto;
    transform: none;
  }
}

header .header-hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}
header .header-hero-slider img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0;
  display: block;
  top: 0;
  left: 0;
  z-index: -1;
  transition: opacity 2s ease-out;
}
header .header-hero-slider img + img {
  opacity: 0;
}

main {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: main;
  margin-top: 0;
}

main section.main-colour {
  background-color: #1186b2;
  color: #fff;
}

main section.second-colour {
  background-color: #b5da3d;
  color: #fff;
}

main section.hero {
  padding: 0;
}

@media (min-width: 1800px) {
  main section {
    padding: 2em calc(calc(100% - 1800px) / 2);
  }
}


.main_content_area {
  padding: 1em 4vw;
}

@media (min-width: 1800px) {
  .main_content_area {
    padding: 1em calc(calc(100% - 1800px) / 2);
  }
}


.home-stats {
  width: 100%;
  box-sizing: border-box;
  max-width: 1300px;
  margin: 3em auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: clamp(0.65em, 1vw, 1em);
  line-height: 1.2em;
}
.home-stats > div {
  text-align: center;
  border-radius: 50%;
  border: 5px solid #0a003f;
  width: 15vw;
  height: 15vw;
  min-width: 150px;
  min-height: 150px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;  
  flex-direction: column;
  padding: 1em;
}
.home-stats > div > b {
  color: #0a003f;
  font-size: 3em;
  line-height: 1.2em;
}
@media (max-width: 700px) {
  .home-stats {
    flex-direction: column;
  }
  .home-stats > div + div {
  	margin-top: 3em;
  }
}

footer {
  background: #0a003f;
  color: #fff;
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  grid-area: footer;
  margin: 0;
  padding: 2em 4vw;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 1800px) {
  footer {
    padding: 2em calc(calc(100% - 1800px) / 2);
  }
}
@media (max-width: 900px) {
  footer {
    flex-direction: column;
  }
  footer > * + * {
    margin-top: 1em;
  }
}




a[rel~="tag"] { 
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 1px dotted #ccc !important;
}

.error_alert, #error_alert {
  padding: 2em 2em 2em 6em;
  color: #fff;
  margin: 0 0 1em 0;
  background: FireBrick;
  font-size: 1.2em;
  position: relative;
  line-height: 1.5em;
}
.error_alert::before {
  position: absolute;
  margin-left: -1.35em;
  content: 'B';
  font-size: 3em;
  font-family: 'telstarlogistics';
}

.success_alert {
  padding: 2em 2em 2em 6em;
  color: #fff;
  margin: 0 0 1em 0;
  background: #0a003f;
  font-size: 1.2em;
  position: relative;
  line-height: 1.5em;
}
.success_alert::before {
  position: absolute;
  margin-left: -1.35em;
  content: 'A';
  font-size: 3em;
  font-family: 'telstarlogistics';
}
.success_alert a, .error_alert a {
  color: #fff !important;
}

.pass_alert {
  padding: 20px 10px 25px 80px;
  background: #ffffff url(.//library/templates/default/resources/notice_pass.gif) 15px 25px no-repeat;
  color: #000000;
  border: 1px solid #c0c0c0;
  margin: 0 0 20px 0;
}

.fail_alert {
  padding: 20px 10px 25px 80px;
  background: #ffffff url(/library/templates/default/resources/notice_fail.gif) 15px 25px no-repeat;
  color: #000000;
  border: 1px solid #c0c0c0;
  margin: 0 0 20px 0;
}



#modal_info_container {
  width: 320px;
  height: 275px;
  background: #6c6c6c;
  color: #fff;
  border: 1px solid #000;
  position: absolute;
  display: none;
  padding: 5px;
  -webkit-box-shadow: 1px 2px 3px #333;
  -moz-box-shadow: 1px 2px 3px #333; 
}
#modal_info_content {
  overflow: auto;
  overflow-x: hidden;
  height: 250px;
  font-size: 11px;
}
#modal_info_content img {
  display: block;
  width: 310px;
  margin: 0 auto 10px auto;
}
#modal_info_close {
  font-size: 20px;
  text-align: right;
  padding-top: 5px;
}
  
#modal_info_close a {
  color: #fff !important;
}

.page_files_link {
  display: inline-block;
  clear: both;
  min-width: 300px;
  margin: 10px 0;
  padding: 10px 5px 10px 50px;
  border-radius: 10px;
  border: 1px solid #ccc;
  color: #666 !important;
  text-decoration: none !important;
  background-position: 10px 6px;
  background-repeat: no-repeat;
  background-color: #fcfcfc;
}
.page_files_link:hover {
  background-color: #0a003f;
  color: #fff !important;
}

/* Site Map */

#sitemap_paging { 
  text-align: left; 
  padding: 0 0 10px 0;
}

.sitemap {
  margin-top: -10px;
}

.sitemap, .sitemap ul {
  padding: 0 0 0 15px;
  list-style-type: none !important;
}
.sitemap li {
  padding: 10px 0 0 0;
}
.sitemap ul li {
  padding: 0 0 0 0;
}


/* Expandable menus (ie non-roll-over list menus) */

.menu_expandable_container {
  text-align: left;
}
.menu_expandable_container ul {
  padding: 3px 0 3px 0;
  margin: 0;
  list-style-type: none;
}
.menu_expandable_container ul ul {
  padding-left: 20px;
  list-style-type: none;
}
.menu_expandable_container ul ul li {
  font-size: 10px;
}

.menu_expandable_container a {
  display: block;
}

/* Menus when javascript disabled */

.navigation_vertical li, #navigation_horizontal li, #navigation_products li {
  font-size: 10px;
}
.navigation_horizontal li {
  display: inline;
  padding: 0 10px 0 10px;
  color: #ffffff;
  background: #000000;
}
.navigation_vertical ul, #navigation_products ul {
  padding-left: 10px;
}
.navigation_horizontal ul {
  white-space: nowrap;
  padding: 0 10px 0 10px;
  display: inline;
}

/* AJAX stuff */

.ajax_updating {
  height: 140px;
  background: url(/library/templates/default/resources/indicator.gif) no-repeat center center;
  text-align: center;
}

#ajaxticker1{
  /* styles go here if required */
}
#ajaxticker1 div{ 
  /*IE6 bug fix when text is bold and fade effect (alpha filter) is enabled. Style inner DIV with same color as outer DIV*/
}

/* Styles for iBox modal dialogues */

#ibox_wrapper button {
  position: relative;
  left: 5px;
}
#ibox_w{
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #000; 
  margin: 0;
  padding: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0.0;
  opacity: 0.0;
}

#ibox_progress {  
  margin:0;
  padding:0;
  position: absolute;
  z-index:105;
}

#ibox_wrapper {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index:100;
  padding:8px 14px 34px 8px;
  border: 1px solid #333;
  width:300px;
  min-width: 45px;
  height:300px;
  background-color:#000;
  margin: 0; 
  box-shadow: 0 0 10px #000;
}
#ibox_wrapper input, #ibox_wrapper button {
  z-index: 101 !important;
}

#ibox_content, #ibox_extra_content {
  background: #fff;
  width: 100%;
  height: 100%;
  margin-bottom: 5px;
  position: relative;
  top: 0px;
  left: 0px;
  border: 1px solid #000;
  padding: 2px;
}

#ibox_footer_wrapper {
  position:relative;padding:0;margin:0;top:0px;left:0px;
}
 .modal_popup_content {
   padding: 5px 15px;  
 }

/* Driver SMS tracking (users system) */

#drivertracker_group {
  float: right;
  clear: both;
  width: 300px;
  margin: -30px 0 15px 0;
}

#drivertracker_container{
  font-size: 14px;
  color: #666;
  overflow: auto;
  padding-top: 30px;
}
#drivertracker_container hr {
  clear: both;
  position: relative;
  top: -8px;
  display: block;
}
.drivertracker_close_icon {
  width: 19px;
  height: 19px;
  float: right;
  display: block;
  background: url(/library/templates/default/resources/close_x.gif) no-repeat center center;
}
.drivertracker_driver {
  clear: left;
  width: 300px;
  float: left;
  font-weight: bold;
  padding: 0 0 10px 0; 
}
.drivertracker_driver img {
  width: 50px;
  height: 50px;
  float: left;
  display: block;
  margin: -10px 10px 5px 0;
  border: 1px solid #ccc;
}
.drivertracker_number {
  float: left;
  width: 150px; 
}
.drivertracker_icons {
  width: 150px;
  float: left;
  margin-top: -2px;
}
.drivertracker_icons img {
  width: 23px;
  height: 23px;
  padding: 0 3px;
}
.drivertracker_status {
  float: left;
  font-size: 11px;
}
.drivertracker_changeno {
  padding: 5px 10px 5px 205px;
  border: 1px solid #e1e1e1;
  margin: 0 0 40px 0;
  clear: left;
  font-size: 12px;
  display: none;
}
.drivertracker_expanded_details {
  padding: 5px 10px 5px 10px;
  border: 1px solid #e1e1e1;
  margin: 0 0 40px 0;
  clear: left;
  font-size: 12px;
  overflow: auto;
  display: none;
}
.drivertracker_expanded_details img {
  width: 150px;
  height: 150px;
  border: 1px solid #ccc;
  float: left;
  display: block;
}
.drivertracker_expanded_details textarea {
  float: left;
  width: 400px;
  height: 70px;
  display: block;
  margin: 0 0 5px 0;
  padding: 3px 5px;
}
.drivertracker_expanded_details div {
  padding: 0 0 10px 20px;
  float: left;
}
.drivertracker_expanded_details b {
  display: block;
}
.drivertracker_expanded_details .button {
  margin-left: 20px;
  padding: 2px 10px;
}

/* Miscellaneous styles */

.section { margin: 8px 0 8px 0; }
a img { border-width: 0; }

.paging_container {
padding: 10px 0 10px 0;
text-align: center;
}

.heading_highlighted {
  color: navy;
  background-color: inherit;
}

.content_section {
  display: block;
  border: 0 solid #000;
}

.swf_div {
  display: inline;
}

.flashgallery_div {
  display: block;
  text-align: center;
  margin: 10px auto;
  padding: 5px;
  border: 1px solid #666;
  clear: both;
  width: 600px;
  background: #BBBDFF;
  -webkit-box-shadow: 5px 5px 10px #666;
  -moz-box-shadow: 5px 5px 10px #666; 
  overflow: auto;
}

code {
  font-size: 12px;
}

.admin_icons_horizontal {
  float: right; 
}
.admin_icons_horizontal img {
  width: 23px;
  height: 23px;
  margin-right: 5px;
}




#journal_overall_container {
  background: #eee;
  padding: 10px 10px 0 10px;
  overflow: auto;
}

.journal_post_container {
  border: 1px solid #ddd;
  background: #fff;
  padding: 10px;
  font-size: 14px;
  margin: 0 0 10px 0;
  overflow: auto;
}
.journal_post_container.hidden {
  display: none;
}
.journal_post_container.reply {
  margin-left: 50px;
  overflow: hidden;
}
.journal_new_post {
  color: #333 !important;
  text-decoration:none !important;
  display: block;
  border: 0;
  height: 20px;
  width: 100%;
  font: normal 14px 'Arial', sans-serif;
}
.journal_new_post_button {
  float: right;
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 10px;
}
.journal_new_post_attachment {
  float: left;
  margin-top: 16px;
  font-size: 12px;
  color: #666 !important;
}
.journal_new_post_actions {
  height: 0;
  overflow: hidden;
}
.journal_post_header {
  overflow: auto;
  padding-bottom: 10px;
}
.journal_post_avatar {
  display: block;
  width: 80px;
  height: 80px;
  float: left;
}
.journal_post_name {
  display: block;
  font: normal 20px 'Arial', sans-serif;
  padding: 10px 0 0 10px;
  margin-left: 90px;
}
.journal_post_date {
  display: block;
  font: normal 16px 'Arial', sans-serif;
  padding: 10px 0 0 10px;
  margin-left: 90px;
}
.journal_post_body {
  padding: 10px 0;
}
.journal_post_footer {  
  border-top: 1px solid #ddd;
  clear: both;
}
.journal_post_reply_link {
  display: block;
  clear: both;
  float: right;
}
.journal_replies_container {
  padding-left: 50px;
  background: url(/library/templates/default//library/templates/default/resources/reply-arrow.png) no-repeat 5px 5px;  
}
.journal_replies_container .journal_post_avatar {
  width: 40px;
  height: 40px;
}

.journal_replies_container .journal_post_name {
  font: normal 17px 'Arial', sans-serif;
  margin-left: 40px;
  padding: 0 0 5px 10px;
}
.journal_replies_container .journal_post_date {
  font: normal 12px 'Arial', sans-serif;
  margin-left: 40px;
  padding: 0 0 0 10px;
}

.journal_participent {
  overflow: auto;
  padding-bottom: 10px;
  cursor: default;
}
.journal_participent img {
  width: 50px;
  height: 50px;
  float: left;
}
.journal_participent span {
  display: block;
  margin: 15px 0 0 60px;
}


/* New modal boxes (bumble) */

.modal_bg {
  background: rgba(145,145,145,0.4);
}

.modal_box {
  background: #0a003f;
  border: 1px solid #fff;
  overflow: hidden;
  max-width: 760px;
  max-height: 760px;
}
.modal_close {
  width: 32px;
  height: 32px;
  top: 15px;
  right: 10px;
  position: absolute;
  cursor: pointer;
}

.modal_close::after {
  content: 'X';
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 30px;
}
.modal_title {
  color: #fff;
  padding: 20px 50px 20px 30px;
  box-sizing: border-box;
  font-size: 25px;
  cursor: move;
}
.modal_content {
  padding: 15px 30px;
  min-height: 100px;
  box-sizing: border-box;
  margin: 60px 0 0 0;
  font-size: 90%;
  height: 88%;
  width: 100%;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  overflow: auto;
  color: #fff;
}
.modal_content img {
  display: inline-block;
  border-radius: 50%;
}
@media screen and (max-width: 500px){
  .modal_content img {
    width: 150px;
    height: auto;
  }
}
.modal_content .modal_content_block {
  vertical-align: top;
  display: inline-block;
  width: 48%;
  box-sizing: border-box;
  padding: 6px 0;
}
.modal_content .modal_content_block.left {
  margin-right: 4%;
}
.modal_content .modal_content_block.wide {
  width: 100%;
}
.modal_content .modal_content_block label {
  display: block;
  padding-bottom: 4px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.modal_content .modal_content_block .inputbox {
  box-sizing: border-box;
  width: 100%;
  padding: 5px !important;
  font-size: 100% !important;
}
.modal_content .modal_content_block .inputbox.narrow {
  width: 50%;
}
.modal_content .modal_content_block .inputbox.narrower {
  width: 30%;
}
.modal_content .modal_content_block .inputbox.right {
  text-align: right;
}
.modal_content .modal_content_block textarea.inputbox {
  height: 100px;
  font: 'Arial', sans-serif;
}
.modal_content .modal_button_container {
  text-align: center;
  padding: 10px 0;
}
.modal_content .modal_button_container .button {
  padding: 5px !important;
  font-size: 100% !important;
  width: 30%;
  margin: 0 10px;
  display: inline-block;
}
.modal_content .modal_content_alert {
  text-align: center;
  margin: 10px auto;
  font-size: 100%;
  line-height: 140%;
  padding: 5px;
  box-sizing: border-box;
}
.modal_content_title_block, .modal_content_title_block * {
  text-align: center;
}
.modal_content h2 {
  font-size: 120%;
}
.modal_content h3 {
  font-size: 100%;
  margin: 10px 0 10px 0;
  padding: 0;
}
.modal_select_link {
  background: #fff;
  display: block;
  padding: 20px;
  margin: 10px 0;
  text-decoration: none !important;
  transition: all 0.1s ease-out;
  font-size: 130%;
}
.modal_select_link:hover {
  opacity: 0.8;
}
.modal_content h3 div {
  font-size: 70%;
}
.modal_content_section {
  overflow: auto;
  padding: 10px 0 0 0;
}
.modal_content_section h3 {
  margin: 10px 0 10px 0;
}
.modal_content_section:first-child h3 {
  margin: 0 0 10px 0;
}
.modal_messages_container {
  display: table;
  height: 100%;
  width: 100%;
  border-spacing: 10px;
}
.modal_messages_top {
  display: table-row;
  background: #fff;
  position: relative;
}
.modal_messages_top_stuff {
  overflow-y: auto;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.modal_messages_bottom {
  display: table-row;
  background: #eee;
  height: 30%;
  position: relative;
}
.modal_messages_bottom_stuff {
  display: table;
  width: 100%;
  height: 100%;
}
.modal_messages_bottom_left {
  display: table-cell;
  box-sizing: border-box;  
  width: 90%;
  position: relative;
}
.modal_messages_bottom .inputbox {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0%;
  padding: 5px;
  width: 100%;
  height: 100%;
}
.modal_messages_bottom_right {
  display: table-cell;
  vertical-align: bottom;
  padding: 0 20px;
}
.modal_messages_send_icon {
  width: 80px;
  height: 80px;
  background: #1ED760 url(/library/templates/default/resources/message-white.png) no-repeat center center;
  border-radius: 50%;
  margin: 0 auto;
  transition: all 0.2s ease-out;
}
.modal_messages_send_icon:hover {
  filter: brightness(110%);
}
.modal_messages_message {
  width: 85%;
  margin: 0 0 20px 15px;
  padding: 30px 20px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
  background: #fafafa;
  position: relative;
}
.modal_messages_message.you {
  margin-left: 7%;
  background: #C6F8D8;
}
#modal_messages_bottom {
  clear: both;
}
.modal_messages_message:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 15px;
  left: -7px;
  background: #fafafa;  
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}
.modal_messages_message.you:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 100%;
  left: 100%;
  background: #C6F8D8;
  margin-left: -7px;
  margin-top: -30px;
}
.modal_messages_dateheader {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 60%;
  color: #aaa;
}
.modal_options_select {
  display: block;
  margin: 10px 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #0a003f;
  padding: 5px;
  height: 160px;
  overflow-y: auto;
  overflow-x: hidden;
}
.modal_options_select label {
  display: block;
  padding: 3px;
  font-size: 90%;
  line-height: 100%;
}
.modal_options_select label:hover {
  cursor: pointer;
  background: #0a003f;
  color: #fff;
}
.modal_content_cols {
  -webkit-column-count: 2; /* Chrome, Safari, Opera */
  -moz-column-count: 2; /* Firefox */
  column-count: 2;
  
}

/* Popup / splash modals (popups mechanism) */

.modal_splash_container {
  display: block;
  position: fixed;
  top: 15px;
  right: 15px;
  max-width: 75%;
  z-index: 99999999999;
  border: 2px solid #000;
  box-sizing: border-box;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
  opacity: 0;
}
.modal_splash_container img {
  display: block;
  width: 100%;
  height: auto;
}
.modal_splash_close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 45px;
  height: 45px;
  text-align: center;
  background: #000;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  padding-top: 4px;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.modal_splash_close:hover {
  color: #0a003f;
}

/* Bumble JS stuff */

.bumbleBlackBox {
  background: rgba(0,0,0,1);
}
.bumbleThrobber {
  width: 34px;
  height: 34px;
  background: url(/library/templates/default/resources/throbber.png) no-repeat center center;
  animation-duration: 1.5s;
  animation-name: bumbleRotate;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translateY(-50%);
}
.bumbleThrobber.top {
  top: 15%;
}
.bumbleThrobber.dark {
  background-image: url(/library/templates/default/resources/throbber-dark.png);
}
@keyframes bumbleRotate {
  from {
    transform: rotate(0)
  }
  to {
    transform: rotate(360deg)
  }
}
.bumbleDragDropProxy {
  width: 64px;
  height: 64px;
  border: 2px dashed #ccc;
  display: block;
  background: rgba(255,255,255,0.8);
}


/* animations */


@keyframes spin_horizontal_0 {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(90deg);
  }
}
@keyframes spin_horizontal_0w {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(180deg);
  }
}

@keyframes spin_horizontal_1 {
  from {
    transform: rotateY(90deg);
  }
  to {
    transform: rotateY(-40deg);
  }
}
@keyframes spin_horizontal_1w {
  from {
    transform: rotateY(180deg);
  }
  to {
    transform: rotateY(-40deg);
  }
}
@keyframes spin_horizontal_2 {
  from {
    transform: rotateY(-40deg);
  }
  to {
    transform: rotateY(20deg);
  }
}
@keyframes spin_horizontal_3 {
  from {
    transform: rotateY(20deg);
  }
  to {
    transform: rotateY(0);
  }
}

.animate_spin_horizontal {
  animation: 
    spin_horizontal_0 0s 0s 1,
    spin_horizontal_1 0.35s 0s 1 ease-out,
    spin_horizontal_2 0.2s 0.35s 1 ease-in,
    spin_horizontal_3 0.1s 0.55s 1 ease-out;  
  transform-style: preserve-3d;
}
.animate_spin_horizontal_wide {
  animation: 
    spin_horizontal_0w 0s 0s 1,
    spin_horizontal_1w 0.35s 0s 1 ease-out,
    spin_horizontal_2 0.2s 0.35s 1 ease-in,
    spin_horizontal_3 0.1s 0.55s 1 ease-out;  
  transform-style: preserve-3d;
}

/**************/

/* Gallery */

#gallery_overall {
  padding-bottom: 10px;
  overflow: auto;
}

.gallery_paging {
  float: right;
  font-weight: bold;
  position: relative;
  top: 3px;
  padding-bottom: 5px;
}
.gallery_paging a {
  font-weight: normal;
}

.gallery_paging img {
  padding: 0 5px;
  opacity: 0.6;
  filter: alpha(opacity=60);
  position: relative;
  top: 1px;
}

.gallery_breadcrumb {
  border-bottom: 1px solid #000;
  padding: 5px;
  text-align: left;
}

.gallery_cat_button_div {
  padding: 10px 1px 15px 1px; 
  float: left; 
  text-align: center;
  vertical-align: bottom;
}

.gallery_cat_button_img {  
}

.gallery_cat_button_description {
  display: block;
  padding: 5px;
}

.gallery_cats_row {
  width: 100%;
  float: left;
}

#gallery_pictures_div {
  
}

#gallery_sidecats_div {
  float: right;
  text-align: left;
  font-size: 13px;
  font-weight: bold;
  width: 120px;
}

#gallery_sidecats_div div {
  padding: 5px 0 5px 0;
}

.gallery_pic_div {
  padding: 10px 1px 15px 1px; 
  float: left; 
  text-align: center;
}

.gallery_pic_description {
  padding: 5px;
}

.gallery_pic {
}

.gallery_pics_row {
  width: 98%;
  float: left;
  overflow: auto;
}

#gallery_link_back {
  width: 100%;
  font-weight: bold;
  text-align: center;
  padding: 10px 0 10px 0;
  margin-top: 20px;
  border: 1px solid #000;
  cursor: pointer;
}

.gallery_paging_arrows {
  position: relative;
  top: 6px;
}

/* Forum styles */

#forum_breadcrumb_container {
  float: right;
  text-align: right;
  padding-top: 20px;
}
.forum_paging_container {
  float: right;
  padding: 5px 0;
}
.forum_forum_row {
  display: block;
  clear: both;
  margin: 10px 0;
  background: url(/library/templates/default/resources/forum_forum.png) no-repeat 10px 5px;
  padding: 10px 0 10px 90px;
  font-size: 14px;
  overflow: auto;  
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border-radius: 10px;
}
.forum_forum_row:hover {
  background-color: #EBEBF2;
}
.forum_forum_details {
  display: block;
  float: right;
  width: 150px;
  color: #666;
}
.forum_forum_intro {
  display: block;
  color: #666;
  padding-top: 5px;
  width: 350px;
}
  
#forum_threads_container {
  width: 100%;
}
#forum_threads_container td, #forum_threads_container th {
  padding: 7px;
}
#forum_threads_container img {
  width: 23px;
  height: 23px;
  display: block;
  margin: 2px auto;
}
#forum_threads_container b {
  display: block;
}
#forum_thread_post {
  background: #EDEDF3 url(/library/templates/default/resources/bluegrad.png) repeat-x 0 0;
  margin-bottom: 25px;
  border: 1px solid #8C8DAE;
  box-shadow: 3px 3px 3px #ccc;
  font-size: 14px;
  clear: both;
  border-radius: 0 !important;
}
.forum_post {
  padding: 10px 20px;
  margin: 10px 0 0 0;
  overflow: auto;
  clear: both;
  border-radius: 10px;
}
.forum_post.odd {
  background: #DEDEE7;
}
.forum_post.even {
  background: #EEEEF4;
}
.forum_post_name {
  float: left;
  font-weight: bold;
}
.forum_post_datetime {
  float: right;
  font-size: 10px;
}
.forum_message {
  clear: both;
  padding: 10px 0 5px 0;
}
.forum_form {
  display: block;
  margin: 40px auto;
  padding: 15px 25px;
  width: 80%;
  background-color: #F4F4F4;
  overflow: auto;
  box-shadow: 5px 5px 5px #ddd;
  border: 1px solid #EEEEF4;
  border-radius: 10px;

  background-image: linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
  background-image: -o-linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
  background-image: -moz-linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
  background-image: -webkit-linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
  background-image: -ms-linear-gradient(right bottom, #E7E7EF 1%, #EEEEF4 43%, #FEFEFE 95%);
    
}

.forum_form .inputbox {
  display: block;
  width: 98%;
  padding: 5px;
}
.forum_form label {
  display: block;
  margin: 10px 0 5px 0;
}
.forum_form textarea {
  height: 150px;
  display: block;
  padding: 5px;
  margin-bottom: 5px;
}
.forum_form .button {
  display: block;
  clear:left;
  float: left !important;
  padding: 5px 0;
  width: 200px;
}

/* General directory layout */

.directory_listing {
  background-color: #E4E5EE;
}
.directory_breadcrumb {
  border-bottom: 1px solid #000;
  padding: 5px;
  text-align: left;
}

/* Featured listings */

#directory_featured_listings {
  width: 300px;
  border: 1px solid #c0c0c0;
  padding: 10px;
}

/* Tabs (for directory popups) */

.tabs_main {
  background-color: #E2E3FC;
  color: inherit;
  border: 1px solid #000000;
}
.tabs_active {
  background-color: #E2E3FC;
  color: inherit;
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom-width: 0;
}
.tabs_inactive {
  background-color: #AFB0C3;
  color: inherit;
  border: 1px solid #000000;
}
.tabs_hover {
  background-color: #C1C5F9;
  color: inherit;
  border: 1px solid #000000;
}
.contact_us_item {
  display: inline-block;
  padding: 15px 15px;
  text-decoration: none !important;
}
.contact_us_item a {
  text-decoration: none !important;
  color: inherit !important;
}
.contact_us_item i {
  margin-right: 15px;
  position: relative;
  top: 3px;
  color: #0a003f;
}

.contact_container {
  margin: 3em auto;
  padding: 0 3em;
  text-align: center;
  width: 100%;
  max-width: 1800%;
  box-sizing: border-box;
}
html {
  font-size: 100%;
}
body {
  font: normal 17px 'OpenSans', sans-serif;
  line-height: 140%;
  color: #323232;
}

/* Main page titles */

p {
  margin: 0 0 1em 0;
  padding: 0;
  display: block;
}
div > p:last-child {
  margin-bottom: 0;
}

section:last-child p:last-child {
  margin: 0;
}

h1, .pagetitle {
  font-size: 2em;
  /*font-size: clamp(1.8em, 3vw, 3em);*/
  font-weight: bold;
  color: #000;
  margin: 0 0 1em 0;
  text-align: center;
}

h2, .heading {
  font-size: 1.8em;
  font-size: clamp(1.4em, 2vw, 2em);
  font-weight: bold;
  /*margin: 1.5em 0 1em 0;*/
  margin: 0 0 1em 0;
}
section:first-child h2:first-child {
  margin-top: 0;
}

h2.alt {
  color: #9b9b98;
}
h3 {
  font: bold 1.3em 'OpenSans', sans-serif;  
  text-transform: uppercase;
}
h4 {
  font: bold 1.2em 'OpenSans', sans-serif;  
}
h5 {
  font: bold 1em 'OpenSans', sans-serif;  
  text-transform: uppercase;
  margin: 0 0 0.5em 0;
  padding: 0;
}

/* Links */

a:link, a:visited, a:active {
  color: #0a003f;
  text-decoration: underline;
}
a:hover {
  color: #150a9c;
  text-decoration: underline;
}

/* Miscellaneous font styles */

.largetext { font-size: 1.3em; }
.smalltext { font-size: 0.8em; font-weight: normal; }
.texthighlight {
  background-color: #0a003f;
  color: #fff;
}
.emphasisedtext {
  color: #000000;
  background-color: inherit;
  font-weight: bold;
}
/* Images */

.content_image_caption {
  color: #333;
  background-color: #9b9b98;
  font-size: 10px;
  padding: 2px 5px;
}

.image_border { border: 2px solid #000; }

.content_video_container {
  width: 70%;
}
.content_video_container video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  width: 100%;
}
.youtube_container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 20px auto;
}
.youtube_container > .youtube_vid {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  width: 100%;
}

.videoWrapper iframe,
.youtube_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

img.wide {
  width: 100%;
  display: block;
  height: auto;
}


main section {
  margin: 0;
}
/*
main section:first-child {
  margin-top: 3em;
}
main section:last-child {
  margin-bottom: 3em;
}
*/

section .content_section_text {
  box-sizing: border-box;
  padding: 3em 4em;
}

section.content_section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  align-content: flex-end;;
  width: 100%;
}
section.content_section:nth-child(even) {
  background: #9b9b98;
  color: #fff;
}
section.content_section:nth-child(even) h2 {
  color: #fff !important;
}
section.content_section:nth-child(even) a {
  color: #fff !important;
}
section.content_section.center {
  flex-wrap: wrap;
}
section.content_section > div {
  box-sizing: border-box;
  width: 50%;
  flex-grow: 1;
  float: none;  
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
section.content_section > div.content_image_container.fixed-aspect {
  width: 30%;
}
section.content_section > div > * {
  width: 100%;
}
section .content_image_container {
  width: 50%;
  min-height: 50vh;
  float: none !important;
  position: relative;
}
section .content_image_container:not(.fixed-aspect) > img {
  width: 100%;
  height: 100%;
  max-height: 1000px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: 0;
  left: 0;
}
section .content_image_container.fixed-aspect > img {
  width: 100%;
  height: auto;  
  display: block;
  margin: 0 auto;
}
section .content_image_container.center {
  margin: 0 auto 30px auto !important;
  max-width: 100%;
  width: 100% !important;
  height: auto;
}
section .content_image_container.center > img {
  max-height: 70vh;
  position: static;
}
section .content_image_container.right {
  order: 1;
}



@media only screen and (max-width: 900px) {
  section.content_section {
    flex-wrap: wrap;
    margin-bottom: 2em;
  }  
  section .content_image_container {
    order: -1 !important;
    width: 100%;
  }
  section .content_image_container:not(.fixed-aspect) {
    height: 70vh;
  }  
  section.content_section > div {
    width: 100%;
    padding: 1em;
  }
}
/* If extra columns of text are to be shown on the side of the page. */

.side_text {
  color: #000000;
  background-color: inherit;
  font-size: 11px;
}

.side_text label {
  color: #58667E;
  background-color: inherit;
  font-size: 10px;
}

.side_heading {
  text-align: left;
  font-size: 12px;
  font-weight: bold;
  color: #58667E;
  background-color: inherit;
}
/* Tables that display information */

.tablestyle {
  border: 1px solid #eee;
  background-color: #DEDEE7;
  color: #000000;
}

.tablestyle_table {
  border: 1px solid #eee;
  box-sizing: border-box;
  border-collapse: collapse;
}
.tablestyle_heading,
.tablestyle_table th,
.tablestyle_table thead tr td {
  background-color: #ddd;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  padding: 0.5em 0.5em;
  border: 1px solid #eee;
}
.tablestyle_table td {
  background-color: #fff;
  padding: 0.25em 0.5em;
  vertical-align: top;
  border: 1px solid #eee;
}
.tablestyle_table th a {
   color: #fff;
   text-decoration: underline;
}
.tablestyle_centred td, .tablestyle_centred th, th.centered, td.centered, .centered th, .centered td {
  text-align: center;
}
th.middle, td.middle, .middle th, .middle td {
  vertical-align: middle;
}
th.center, td.center {
  text-align: center;
}
.tablestyle_nostyle {
  border: 0;
}
.tablestyle_nostyle td, .tablestyle_nostyle th {
  vertical-align: top;
  padding: 3px;
  border: 0;
}
/* Content area, important for control panel preview */

.content_area {
  background-color: #fff;
}

hr {
  color: #4B5870;
  background-color: #4B5870;
  border-width: 0;
  height: 1px;
}
#comments {
  border-top: 1px solid #666; 
  clear: both;
  margin-top: 15px; 
}
.comments_comment {
  background: #eee;
  padding: 10px 10px 20px 10px;
  margin: 15px 0;
  color: #333;
  border-top: 1px solid #d9d9d9;
  border-bottom: 2px solid #ccc;
  font-size: 11px;
  line-height: 140%;
}
.comments_comment_comment {
  float: left;
  width: 565px;
  padding: 0 0 0 10px;
}
.comments_comment_comment blockquote {
  font-style: italic;
}
.comments_comment_top {
  overflow: auto;
}
.comments_comment_links {
  width: 150px;
  float: right;
  overflow: hidden;
  padding-right: 10px;
}
.comments_comment_links hr {
  border-top: 1px dotted #ccc !important;
  background-color: transparent !important;
  color: transparent !important;
}
.comments_comment_links a {
  display: block;
  margin: 1px;
}
.comments_comment_header {
  margin-bottom: 15px;
  padding: 10px 10px 0 10px;
  color: #666;
  font-size: 10px;
  background-color: #e5e5e5;
  overflow: auto;
}
.comments_comment_header b {
  font-weight: bold;
  color: #666;
  float: left;
}
.comments_comment_date {
  float: right;
  width: 150px;
}

.comments_comment_avatar {
  width: 23px;
  height: 23px;
  float: left !important;
  display: block;
  margin: -5px 10px 5px 0 !important;
  border: 1px solid #d9d9d9;
  background-color: #fff;
}
#comments input {
  display: block;
  width: 200px;
}
#comments label {
  display: block;
  margin: 10px 0 5px 0;
}
#comments textarea {
  height: 100px; 
  display: block; 
  width: 100%;
}
.comments_comment_comment .button {
  clear:left;
  float: left !important;
}
#comments .button {
  float: right;
  padding: 5px;
  width: 120px;
  margin: 10px 0 15px 0;
}
#comments img {
  float: right;
  margin: 0 0 5px 5px;
}
.comment_approval_needed {
  border: 2px solid red;
}

.popupstyle {
  padding: 0;
  background-color: #ffffff;
  color: inherit;
  margin: 0;
}

/* Courses */


.course_exam_container {
  border: 1px solid #ccc;
  padding: 20px;
  min-height: 500px;
}

.course_exam_container .button {
  border-radius: 10px;
  padding: 5px 20px;
  text-align: center;
  width: 200px;
  font-size: 15px;
  border-color: transparent;
  display: block;
  margin: 20px auto 10px auto;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.course_exam_container .button:hover {
  opacity: 0.7;
}
.course_exam_container h2 {
  margin: 0 0 10px 0;
  padding: 3px 8px;
  background: #0a003f;
  color: #fff;
  font-weight: normal;
  font-size: 13px;
}
.course_exam_container h3 {
  margin: 0 0 20px 0;
  padding: 15px 10px 15px 20px;
  border-left: 4px solid #0a003f;  
  font-size: 25px;
  font-weight: normal;
  line-height: 120%;
}
.course_exam_answer {
  border-radius: 10px;
  background: #eee url(/library/templates/default/resources/radiobutton.png) no-repeat 8px 9px;
  border: 1px solid #ddd;
  font-weight: normal;
  font-size: 15px;
  margin: 0 0 10px 0;
  padding: 10px 40px;
  cursor: pointer;
  text-shadow: 1px 1px 0 #fff; 
  transition: all 0.2s ease-in-out;
}
.course_exam_answer:hover {
  background-color: #fff;
}
.course_exam_answer.correct, .course_exam_answer.correct:hover {
  background: #C0FFC0 url(/library/templates/default/resources/pass.gif) no-repeat 6px 6px;
  border-color: #79B779;
  color: #000;
  cursor: default;
}
.course_exam_answer.incorrect, .course_exam_answer.incorrect:hover {
  background: #FFD9D9 url(/library/templates/default/resources/fail.gif) no-repeat 6px 6px;
  border-color: #C94949;
  color: #000;
  cursor: default;
}
.course_exam_answer.disabled, .course_exam_answer.disabled:hover {
  background: #f3f3f3;
  border-color: #eee;
  color: #999;
  cursor: default;
}
.course_exam_answer_explanation {
  background: #FFFFC0;
  color: #000;
  border: 1px solid #000;
  font-weight: normal;
  font-size: 15px;
  margin: 20px 0 10px 0;
  padding: 10px 40px;
  text-shadow: 1px 1px 0 #fff;
}
.course_exam_hint {
  border-radius: 10px;
  background: #eee url(/library/templates/default/resources/radiobutton.png) no-repeat 8px 9px;
  border: 1px solid #ddd;
  font-weight: normal;
  font-size: 15px;
  margin: 0 0 10px 0;
  padding: 10px 40px;
  cursor: pointer;
  text-shadow: 1px 1px 0 #fff;
  transition: all 0.2s ease-in-out;
}
.course_exam_results_score {
  text-align: center;
  padding: 40px 0;
  font-size: 18px;
}
.course_exam_results_result {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
}
.course_exam_link_to_results {
  text-align: center;
  padding-top: 70px;
  display: block;
}




.drag_drop_source {
  width: 100px;
  height: 100px;
  background: #ccc;
  cursor: move;
  margin: 50px;
}
.drag_drop_source.proxy {
  background: cyan;
  border: 3px solid blue;
}
.drag_drop_target {
  width: 100px;
  height: 100px;
  background: #fff;
  border: 3px dashed #ccc;
  margin: 50px;
}

.drag_drop_target.active {
  background: #ccc;
  border-color: #000;
}

/* For shop, individual product tables */  

.shop_product_container {
  padding: 5px 10px;
  clear: both;
  overflow: auto;
}

.shop_productbox {
  background-color: #DEDEE7;
  color: inherit;
}

.shop_paging {
  float: right;
  font-weight: bold;
  padding: 10px 0 15px 0;
  clear: left;
}
.shop_paging a {
  font-weight: normal;
}

.shop_paging img {
  padding: 0 5px;
  opacity: 0.6;
  filter: alpha(opacity=60);
  position: relative;
  top: 1px;
}
#shop_categories_container {
  overflow: auto;
  margin-left: -10px;
}
#shop_product_thumbs_container {
  overflow: auto;
  margin-left: -10px;
}
.shop_product_thumb {
  display: block;
  float: left;
  width: 187px;
  margin: 0 10px 10px 10px;
  height: 200px;
}
.shop_product_thumb:hover img {
  opacity: 1;
}
.shop_product_thumb img {
  margin: 0 0 5px 0;
  display: block;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 0.8;  
}

.shop_breadcrumb {
  float: right;
  text-align: right;
  padding: 15px 0 0 0;
}

.shop_sort_select {
  width: 250px;
  float: right;
  overflow: visible;
  font-size: 11px;
  text-align: right;
}

.shop_product_container {
  margin: 5px 0;
}

.shop_product_right_column {
  width: 200px;
  padding: 15px;
  float: right;
  text-align: center;
}
.shop_product_right_column img {
  margin-bottom: 15px;
}
.shop_product_left_column {
  margin-right: 250px;
  text-align: left;
}

.shop_footer {
  clear: both;
}

.shop_img_extra_container {
  position: relative;
  /*top: -20px; */
  text-align: center;
}
.shop_img_extra img {
  display: block;
  float: right;
  margin: 0 !important;
  padding: 0 0 1px 0 !important;
}
.shop_main_image {
  float: left;
}
.shop_category_back_button {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.shop_qty {
  display: block;
  float: left;
  position: relative;
  top: -5px;
}
.shop_addtocart {
  border: 0;
  display: block;
  float: right;
}
.shop_product_buy_container {
  width: 300px;
  margin: 0 auto;
}
#shop_product_price {
  margin: 30px 0;
  float: left;
  padding: 4px 0 0 0;
  text-align: right;
  font: bold 20px 'Arial', sans-serif !important;
  color: #0a003f;
  width: 100px;
  line-height: 100%;
}
.shop_addtocart_button {
  padding: 6px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 10px;
  font-size: 14px !important;
  display: block;
  margin: 30px 0;
  float: right;
  width: 150px;
  background-color: #9b9b98;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  color: #323232 !important;  
  cursor: pointer;
}
.shop_addtocart_button:hover {
  background-color: #0a003f;  
  color: #fff !important;  
}

/* Currency conversion links */

#shop_side_currency {
  position: relative;
  left: -7px;
  white-space: nowrap;
}
#shop_side_currency_heading {
  margin: 10px 0 8px 0;
}
.shop_side_currency_img_selected {
  padding: 10px 0 5px 0;
  background: url(/library/templates/default/resources/curency_select_arrow.png) no-repeat top center;
}
.shop_side_currency_img {
  padding: 10px 0 5px 0;
}
#shop_side_currency_pound {
  padding-right: 3px;
  position: relative;
  left: 3px;
  width: 46px;
  height: 47px;
}
#shop_side_currency_usd {
  width: 42px;
  height: 47px;
}
#shop_side_currency_euro {
  padding-left: 5px;
  position: relative;
  left: -5px;
  width: 44px;
  height: 47px;
}

.shop_crosslinked_items {
  overflow: auto;
}
#shop_cart_accessories_container {
  overflow: auto;
  margin-bottom: 20px;
}
.shop_cart_accessory {
  display: block;
  float: left;
  margin: 10px;
  width: 170px;
  background: #ABA4C8;
  color: #fff !important;
  font-weight: bold;
  line-height: 140%;
  padding-bottom: 10px;
  font-size: 14px;
  text-align: center;
  border: 2px solid #ddd;
}
.shop_cart_accessory:hover {
  color: #5A5085 !important;
}
.shop_cart_accessory img {
  display: block;
  padding-bottom: 10px;
  width: 170px;
  height: 120px;
}
#shop_cart_accessories_products {
  display: none;
}
.shop_cart_accessories_product {
  overflow: auto;
  padding: 5px;
  margin: 5px 0;
  background: #EBEBF1;
}
.shop_cart_accessories_product img {
  display: block;
  float: left;
  width: 120px;
  height: 85px;
  margin-right: 60px;
}
.shop_cart_accessories_product a {
  display: block;
  width: 100px;
  font-weight: bold;
  text-align: center;
  padding: 5px 5px;
  background: #5A5085;
  color: #fff !important;
  cursor: pointer;
  float: right;
  margin: 25px 10px 0 60px;
}
.shop_cart_accessories_product b {
  display: block;
  float: right;
  text-align: right;
  width: 100px;
}

.shop_cart_accessories_product h2 {
  margin: 5px 0 5px 0 !important;
  line-height: 100% !important;
}

.shop_cart_accessories_product div {
  float: left;
  width: 410px;
  line-height: 140%;
  font-size: 11px;
  padding: 5px 0;
}



#shop_product_tabs {
  background: #9b9b98;
  width: 631px;
  font-size: 11px;
  overflow: auto;
  margin-left: -1px;
}
#shop_product_tabs div {
  cursor: pointer;
  width: 179px;
  float: left;
  padding: 5px 15px;
  border-left: 1px solid #fff;
}
#shop_product_tabs div:hover {
  background: #0a003f;
  color: #fff;
}
#shop_product_tab_content {
  clear: both;
  /*height: 300px;*/
  padding: 20px 0 0 0;
}

/* Shop product embeded into form */

.shop_form_product {
  clear: both;
  background: #eee;
  padding: 10px 0;
  margin: 10px 0 10px 0;
  overflow: auto;
}
.shop_form_product_image {
  display: block;
  width: 30%;
  padding-left: 5%;
  min-height: 120px;
  float: left;
  margin: 10px 0 0 0;
  text-align: center;
}
.shop_form_product_image img {
  display: block;
  margin: 5px auto;
  width: 90%;
  height: auto;
  padding-right: 5%;
}
.shop_form_product_image b {
  display: block;
  text-align: center;
  font-size: 19px;
}
.shop_form_product_details {
  width: 50%;
  float: left;
  padding: 0 0 10px 2%;
}
.shop_form_product_tick {
  text-align: center;
  margin-left: 60%;
  padding: 10px 0 0 0;
}
.shop_form_product_tick input {
  width: 50px;
  height: 50px;
}
.shop_form_product_details select {
  display: block;
  width: 100%;
}
#form_products_total {
  display: block;
  margin: 10px auto;
  width: 200px;
  font-size: 30px;
  background: #9b9b98;
  text-align: center;
  line-height: 100%;
  color: #000;
  padding: 0 0 15px 0;
  box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
}
#form_products_total b {
  font-weight: normal;
  font-size: 15px;
}
/* Site search */


#site_search {
  padding: 30px 0 0 0;
  float: right;
  white-space: nowrap;
}
#searchbar #site_search {
  padding: 0;
  float: none;
  text-align: center;
}

#contact_stuff {
  clear: left;
  padding-top: 10px;
  text-align: left;
  width: 229px;
  float: right;
  color: #8b8b8b;
  font-size: 15px;
}

#site_search label {
  display: none;
}

#searchbar #site_search_search {
  width: 80%;
  display: inline-block;
  float: none;
  vertical-align: middle;
  height: 58px;
  box-sizing: border-box;
  border: 0 !important;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: #fff !important;
  color: #333 !important;
  padding: 0 0 0 40px !important;
  font-size: 140% !important;
  line-height: 200%;
  text-align: left;
}

#site_search #site_search_go {
  display: inline-block;
  vertical-align: middle;
  float: none;
  height: 58px;
  box-sizing: border-box;
  border: 0 !important;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;  
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  cursor: pointer;
  color: #333 !important;
  background-image: none !important;
  background-color: #fff !important;
  position: relative;
  font-family: 'FontAwesome';
}
#site_search #site_search_go:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Search results */

.site_search_item {
  list-style-image: none;
  list-style-type: none;
  margin-top: 5px;
  margin-left: 0;
  padding-left: 0;
  color: inherit;
  display: block;
  clear: both;
}
.site_search_item img {
  position: relative; 
  top: -15px;
  border: 1px solid #c0c0c0;
  width: 48px;
  height: auto;
  float: right;
  clear: right;
  margin: 15px 0 0 10px;
}
.site_search_item hr {
  clear: both;
}
.site_search_item a {
  display: block;
  color: #333;
  overflow: auto;
  padding: 5px 10px;
  background: #fcfcfc;  
  text-decoration: none !important;
  border-left: 3px solid #dedede;
  color: #888 !important;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.site_search_item a:hover {
  background: #eee !important;  
}
.site_search_item .heading {
  display: block;
  font-size: 120%;
  margin: 0 0 5px 0;
  color: #333;
}

/* Search results (dropdown / popup) */


.search_results_dropdown_container {
  box-sizing: border-box;
  padding:10px;
  border: 1px solid #EDEDED;
  margin-top: 0;
  min-width: 240px;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  background: #fff;
  margin-left: 30px;
  width: auto;
  max-width: 50%;
}

.search_results_dropdown_container {
  font-size: 75%;
  line-height: 110%;
}
.search_results_dropdown_container .site_search_item a {
  padding: 10px 15px;
}
.search_results_dropdown_container .site_search_item:nth-child(2n+1) a {
  background: #f8f8f8;
}

.search_results_dropdown_container .site_search_item {
  margin-bottom: 0;
  margin-top: 0;
}

.search_results_dropdown_container .site_search_item li {
  padding-bottom: 0;
}
.site_search_item a {
  border-left: none;
  
}
.search_results_dropdown_container .site_search_item img {
  width: 32px;
}
.search_results_dropdown_container .emphasisedtext {
  display: none;
}
.search_results_more_link {
  padding-top: 15px;
  display: block;
  text-align: center;
}
.search_results_dropdown_container .site_search_item .heading {
  font-size: 160%;
}

/* Special products (eg on home page) - 
   these are selectable within control panel */

#shop_special_products {
  width: 475px;
}
.shop_product_special {
  width: 150px;  
  height: 180px;
  overflow: hidden;
  margin: 1px;
  float: left;
  background: #fff;
  border: 1px solid #fff;
}
.shop_product_special_heading {
  font-size: 14px;
  font-weight: bold;
  background: #57647C;
  color: #fff;
  padding: 5px;
  text-align: center;
}
.shop_product_special_details {
  padding: 5px;
  background: #C0C0FF;
  font-size: 10px;
  color: #57647C;
  line-height: 130%;
}
.shop_product_special_image {
  text-align: center;
  padding-bottom: 5px;
}
.shop_product_special_description {
  font-weight: bold;
  font-size: 11px;
  text-align: center;
}
.shop_product_special_price {
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

/* Main special product - extra large one, eg on home page */

#shop_special_product_main {
  background: #57647C;
  border: 3px solid #333;
  padding: 20px 20px 20px 20px;
  width: 680px;
  overflow: auto;
  line-height: 140%;
  font-size: 11px;
  color: #fff;
}
#shop_special_product_main a {
  font-weight: bold;
  text-decoration: underline;
  color: #000040;
}

#shop_special_product_main h1 {
  color: #fff;
  padding: 0;
  margin: 0 0 5px 0;
  line-height: 100%;
}

#shop_special_product_main h2 {
  color: #000040;
  font-size: 22px;
  text-decoration: line-through;
}

#shop_special_product_main b {
  font-size: 14px;
  display: block;
  padding: 0;
  margin: 0 0 5px;
}

#shop_special_product_main img {
  width: 215px;
  height: 215px;
  border: 2px solid #333;
  display: block;
  float: right;
}
.shop_special_product_content {
  float: left;
  width: 430px;
}

.shop_special_product_price {
  font-size: 38px;
  font-weight: bold;
  padding: 5px 0;
}

.shop_special_product_save_splash {
  display: block;
  float: right;
  width: 80px;
  height: 50px;
  background: #000;
  border: 2px solid #fff;
  text-align: center;
  position: relative;
  top: 5px;
  padding-top: 10px;
}

.shop_special_product_save_splash b {
  font-size: 19px !important;
  font-weight: bold;
}
/* Standard Log-in controls */


.login_container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 900px;
  margin: 2em auto;
}
.login_container > * {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}


#site_login_container {
}

.login_container .inputbox {
  width: 100%;
  margin: 0 0 0.5em 0;
}

#site_login_go {
  font-size: 11px;
  margin: 5px 0 10px 105px;
}

.login_container label {
  width: 100%;
  display: block;
  margin: 0 0 0.25em 0;
}

#site_login_container .section {
}

/* Side Log-in controls */

#side_login_heading {
  margin: 15px 0 5px 0;
  text-align: left
}
#side_login_loggedin {
  padding: 5px 0 5px 0;
  text-align: left;
  font-weight: normal;
}
.side_login_options {
  text-align: left;
  padding: 6px 0 0 0;
}
#side_login_username, #side_login_psw {
  margin: 0 0 3px 0;
  width: 100%;
}
#side_login_remember_me {
  position: relative;
  top: 1px;
}
#side_login_go {
  padding: 1px 0 1px 3px;
  font-size: 11px;
  width: 29px;
}

/* User menu / icons */

#user_menu {
  padding: 0 10px 15px 10px;
  width: 300px;
}
#user_menu a {
  display: block;
  clear: left;
  margin: 0 0 0 0;
}
#user_menu span {
  position: relative;
  top: 8px; 
}
#user_menu img {
  width: 33px;
  height: 40px;
  float: left;
  padding: 0 10px 0 0;
}

/* User file downloads */

.user_files_list_container {
  clear: both;
  margin: 20px 0;
  border: 1px solid #0a003f !important;
  border-radius: 10px;
  padding: 15px 25px;
  overflow: auto;
}
.user_files_list_container a {
  display: block;
  float: left;
  width: 170px;
  padding: 40px 0 0 0;
  margin: 10px 10px;
  background-repeat: no-repeat;
  background-position: top center;
  text-decoration: none !important;
  color: #323232 !important;
  opacity: 1;
  text-align: center;
  word-wrap: break-word;
  height: 30px;
  overflow: hidden;
  line-height: 120%;
  font-size: 12px;
}
.user_files_list_container a:hover {
  color: #0a003f !important;
  opacity: 0.9;
}
.user_files_list_container h3 {
  margin-bottom: 30px;
}
.user_shared_file_link {
  display: block;
  padding: 13px 10px 10px 40px;
  margin: 5px;
  background-repeat: no-repeat;
  background-position: top left;
  text-decoration: none !important;
  color: #323232 !important;
  opacity: 1;
  text-align: left;
  word-wrap: break-word;
  overflow: hidden;
  line-height: 100%;
  font-size: 12px;
}
.user_shared_file_link:hover {
  color: #0a003f !important;
  opacity: 0.9;
}
/* Users / Profiles stuff */

#users_compose_link {
  padding: 10px;
  text-align: left;
}
.users_compose_label {
  width: 100px;
  text-align: right;
  float: left;
  padding: 0 10px 10px 0;
  font-weight: bold;
}
.users_compose_input, .users_compose_msg {
  margin-left: 115px; 
  padding: 0 10px 10px 0;
}
/* Popup / modal calendar */

.calendar_pop_container {
  position: absolute;
  width: 200px;
  height: 220px;
  border: 1px solid #333;
  background: #fff;
  color: #000;
  padding: 5px;
  margin: 0 2px 0 2px;
  -moz-box-shadow: black 2px 2px 5px;
  -webkit-box-shadow: black 2px 2px 5px;
}
.calendar_pop_monthyear {
  height: 70px !important;
}
.calendar_pop_monthyear button {
  margin: 10px auto;
  display: block;
  width: 40px;
}
.calendar_pop_top_container {
  background-color: #6494B6;
  color: #000;
  font-weight: bold;
  font-size: 13px;
  text-align: center;
  overflow: auto;
  padding: 2px 0 2px 0;
}
.calendar_pop_top_container a { 
  color: #fff !important; 
  position: relative;
  top: -2px;
}
.calendar_pop_top_container img {
  width: 22px;
  height: 11px;
  position: relative;
  top: 5px;
  padding: 0 2px 2px 2px;
}
#calendar_pop_month, #calendar_pop_year {
  width: 60px !important;
  font-size: 11px !important;
  margin: 0 3px;
}
.calendar_pop_link_back {
  width: 30px;
  float: left;
  text-align: center;
}
.calendar_pop_link_forward {
  width: 30px;
  float: right;
  text-align: center;
}
.calendar_pop_days_table td, .calendar_pop_days_table th {
  width: 14.28%;
  text-align: center;
  font-weight: bold;
}
.calendar_pop_days_table th {
  font-size: 10px;
}
.calendar_pop_days_table td {
  font-size: 11px;
}
.calendar_pop_slot_empty {
  background-color: #EBF2F7;
  padding: 2px;
}
.calendar_pop_slot_weekday {
  background-color: #E2EBF2;
  padding: 2px;
}
.calendar_pop_slot_weekend {
  background: #D1E0EB;
  padding: 2px;
}
.calendar_pop_slot_passive {
  color: #c0c0c0;
  text-decoration: line-through;
  font-weight: normal;
  cursor: default;
}
.calendar_pop_slot_active, .calendar_pop_slot_active a:hover {
  color: #426C8A;
  cursor: pointer;
}
.calendar_pop_slot_active:hover {
  color: #000;
}
.calendar_pop_close {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 2px 4px;
  text-align: right;
  margin: 3px 2px;
}

/* Calendar */

#calendar_container {
  width: 400px;
  padding: 5px;
  background-color: #fff;
}
#calendar_top_container {
  background-color: #E6ECC8;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  padding: 5px;
  margin: 0 2px 0 2px;
  text-align: center;
}
#calendar_top_container a { 
  color: #000; 
}
#calendar_top_container select {
  margin: 0 5px 0 5px;
}
#calendar_link_back {
  width: 50px;
  float: left;
  text-align: center;
}
#calendar_link_forward {
  width: 50px;
  float: right;
  text-align: center;
}
#calendar_days_container {
  margin: 0 0 0 0;
}
#calendar_days_table td, #calendar_days_table th {
  width: 14.28%;
  text-align: center;
  font-weight: bold;
}
.calendar_day_title_weekend {
  padding: 5px 0 5px 0;
  background-color: #fff;
}
.calendar_day_title_weekday {
  padding: 5px 0 5px 0;
  background-color: #fff;
}
.calendar_slot_empty {
  background-color: #E6ECC8;
  padding: 10px 0 10px 0;
}
.calendar_slot_weekday {
  background-color: #F3F6E5;
  padding: 10px 0 10px 0;
  font-size: 19px;
}
.calendar_slot_weekend {
  background: #DEE6B6;
  padding: 10px 0 10px 0;
  font-size: 19px;
}
.calendar_slot_passive {
  color: #c0c0c0;
  text-decoration: line-through;
  font-weight: normal;
  cursor: default;
}
.calendar_slot_active, .calendar_slot_active a:hover {
  color: #F09E4C;
  cursor: pointer;
}
.calendar_slot_active:hover {
  color: #000;
}
#calendar_times_container {
  width: 396px;
  min-height: 100px;
  background-color: #E6ECC8;
  border-left: 2px solid #fff;
  padding-bottom: 5px;
}
#calendar_times_container h2 {
  text-transform: none;
  padding: 10px;
}
.calendar_times_slot {
  padding: 3px 10px 3px 10px;
  font-size: 12px;
  font-weight: normal;
  margin: 2px 10px 2px 10px;
}
.calendar_slots_active {
  color: #F09E4C;
  background: #F3F5E7;
  font-weight: bold;
  cursor: pointer;
}
.calendar_slots_active:hover {
  color: #000;
}
.calendar_slots_passive {
  color: #c0c0c0;
  text-decoration: line-through;
  font-weight: normal;
  cursor: default;
  background: transparent;
}

/* javascript inline calendar */


#mini_calendar_container {
  width: 100%;
  clear: both;
}
.calendar_top_container {
  background: #0a003f;
  color: #fff;
  padding: 5px;
  text-align: right;
  margin-bottom: 10px;
}
.calendar_top_container select {
  margin-right: 5px;
  display: block;
  float: left;
}
.calendar_month_title {
  display: inline-block;
  float: left;
  padding-top: 3px;
  font-size: 17px;
}
.calendar_prev_link,
.calendar_next_link {
  display: inline-block;
  font-size: 25px;
  width: 25px;
  height: 25px;
  color: #fff !important;
  position: relative;
  top: 3px;
  text-decoration: none !important;
  margin-left: 10px;
  box-sizing: border-box;
}
.calendar_prev_link::before {
  content: '\0025C0';
  position: absolute;
  top: 0;
  right: 0;
}
.calendar_next_link::before {
  content: '\0025B6';
  position: absolute;
  top: 0;
  right: 0;
}
.calendar_prev_link:hover,
.calendar_next_link:hover {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  cursor: default;
}
.calendar_prev_link:active,
.calendar_next_link:active {
  text-shadow: none;
  top: 4px;
  left: 1px;
}
.calendar_days_container {
  background: #fff;
  overflow: hidden;
}
.calendar_days {
  width: 100%;
  color: #666;
  text-align: center;
  cursor: default;
}
.calendar_days_table {
  border-spacing: 2px;
}
.calendar_days.current {
  position: static;
}
.calendar_slot {
  text-align: center;
  padding: 0;
  border: 1px solid #eee;
  vertical-align: top;
  width: 14.28571428571429%;
  position: relative;
  background-color: #fff;
}
.tooltip_container .calendar_slot {
  transition: all 0.2s ease-out;
}
.tooltip_container .calendar_slot:not(empty) {
  cursor: pointer;
}
.tooltip_container .calendar_slot:not(empty):hover {
  background-color: #0a003f !important;
  color: #fff !important;  
}

.calendar_slot.empty {
  background-color: #fbfbfb;
}
.calendar_slot.today {
  background-color: #DAF4FC;
  color: #fff !important;
}
.calendar_slot.active {
  background-color: #4D585A !important;
  color: #fff !important;
}
.calendar_slot.highlight {
  background-color: #dedede !important;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}
.calendar_slot.changeover {
  background-color: #ccc !important;
  color: #fff !important;
}
.calendar_slot.weekend {
  background-image: url(/library/templates/default/resources/bg-stripes.png);
}
.calendar_slot.publicholiday {
  background-color: #F1FDDB;
}
.calendar_slot.selected {
  background-color: #333 !important;
  color: #fff !important;
}
.calendar_slot.dragend {
  border-right: 5px dotted #000;
  cursor: ew-resize !important;
}
.calendar_label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 3px;
  font-size: 80%;
  color: #65734D;
  line-height: 100%;
}
.calendar_slot_date {
  padding: 2px;
  line-height: 100%;
  font-size: 85%;
  background: #ddd;
  text-align: right;
  color: #666;
}
.calendar_slot_event {
  padding: 5px;
  margin-bottom:3px;
  text-align: left;
  font-size: 110%;
  line-height: 100%;
  text-shadow: 1px 1px 0 #000;
  color: #fff;
  transition: all 1s ease-out;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
}
.calendar_slot_event.halfday, .calendar_slot_event.allhalf {
  background-image: url(/library/templates/default/resources/calendar-halfday.png);
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: 100% 50%;
}
.calendar_slot_event:last-child {
  margin-bottom: 50px;
}
.calendar_slot_event.active {
  background-color: #C0FFC0;
}
.calendar_slot_event.inactive {
  background-image: url(/library/templates/default/resources/bg-stripes.png);
  filter: saturate(30%);
}
.calendar_slot_event.inactive b {
  font-size: 80%;
  display: block;
}
.calendar_slot_event.holiday {
  background-color: #79D779;
}
.calendar_slot_event.sickness {
  background-color: #FF4040;
}
.calendar_slot_event.maternity {
  background-color: #AE79D7;
}
.calendar_slot_event.other {
  background-color: #9B9CBF;
}
.calendar_slot_event.alert {
  background-color: #FF8080;
}
.calendar_slot_event.main {
  border-left: 4px solid #666;
}
.calendar_slot_event.spanafter {
  margin-left: 10px;
}
.calendar_slot_event.spanafter::before {
  position: absolute;
  top: 50%;
  left: -10px;
  width: 10px;
  height: 10px;
  background-color: inherit;
  content: ' ';
  transform: translateY(-50%) translateX(50%) rotate(-45deg);
  transform-origin: center center;
}
.calendar_slot_event.spanbefore {
  margin-right: 10px;
}
.calendar_slot_event.spanbefore::before {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 10px;
  height: 10px;
  background-color: inherit;
  content: ' ';
  transform: translateY(-50%) translateX(-50%) rotate(-45deg);
  transform-origin: center center;
}
.calendar_slot_event.lastcell {
  border-right: 4px dotted #666;
}
.calendar_slot_event .draghandle {
  position: absolute;
  top: 0;
  right: -16px;
  height: 100%;
  width: 32px;
  cursor: ew-resize;
}
.calendar_slot_event.empty {
  
}
.calendar_empty_placeholder {
  height: 80px;
  display: block;
}

/* user calendar in users area */

.users_calendar_toggle_button {
  display: inline-block;
  box-sizing: border-box;
  width: 21.25%;
  margin: 20px 5% 20px 0;
  border-width: 1px;
  border-style: solid;
  padding: 5px;
  text-align: left;
  padding-left: 45px;
  background-color: #A5E5A5;
  background-image: url(/library/templates/default/resources/tickbox.png);
  background-position: 5px 3px;
  background-repeat: no-repeat;
  border-color: #79D779;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
  color: #000 !important;
  text-shadow: 1px 1px 0 #fff;
  text-decoration: none !important;
  cursor: default;
  font-size: 130%;
}
.users_calendar_toggle_button.sickness {
  border-color: #FF4040;
  background-color: #FF8181;
}
.users_calendar_toggle_button.maternity {
  border-color: #AE79D7;
  background-color: #CAA7E5;
}
.users_calendar_toggle_button.other {
  border-color: #9B9CBF;
  background-color: #C2C3D8;
}
.users_calendar_toggle_button:hover {
  border-color: #000;
}
.users_calendar_toggle_button.inactive {
  background-image: url(/library/templates/default/resources/tickbox-empty.png);
  opacity: 0.6;
  text-shadow: 0;
  color: #333;
}
.users_calendar_toggle_button.other {
  margin-right: 0;
}
.users_calendar_drag_block {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin: 10px auto;
  background-color: #A5E5A5;
  border-width: 1px;
  border-style: solid;
  border-color: #79D779;
  cursor: move;
}
.users_calendar_drag_block.sickness {
  border-color: #FF4040;
  background-color: #FF8181;  
}
.users_calendar_drag_block.maternity {
  border-color: #AE79D7;
  background-color: #CAA7E5;
}
.users_calendar_drag_block.other {
  border-color: #9B9CBF;
  background-color: #C2C3D8;
}
.users_calendar_icon_small {
  width: 20px;
  height: auto;
  padding: 8px;
  margin-top: 3px;
  position: relative; 
}

.users_calendar_notification {  
  padding: 6px 8px 8px 8px;
  display: inline-block;
  vertical-align: top; 
  cursor: pointer;
}
.users_calendar_notification span {
  width: 26px;
  box-sizing: border-box;
  display: inline-block;
  height: 26px;
  border: 2px solid #000;
  background: #EB252B;
  border-radius: 50%;
  text-align: center;
  line-height: 150%;
  color: #fff !important;
  font-weight: bold;
  font-size: 14px;
  margin-top: 3px;
  position: relative; 
  text-shadow: 1px 1px 0 #000;
  text-decoration: none !important;
  vertical-align: top; 
  transition: all 0.4s ease-out;
}
.users_calendar_notification:hover span {
  background: #000;
}
.users_calendar_radio_block {
  display: block;
  margin: 0 0 10px 0;
  padding: 5px;
  background: #eee;
  text-shadow: 1px 1px 0 #fff;
  font-size: 85%;
  color: #000;
}
.users_calendar_radio_block.holiday {
  background: #A5E5A5;
}
.users_calendar_radio_block.sickness {
  background: #FF8181;
}
.users_calendar_radio_block.maternity {
  background: #CAA7E5;
}
.users_calendar_radio_block.other {
  background: #C2C3D8;
}
.users_calendar_radio_block label {
  display: inline !important;
}
.users_data_display_ball {
  width: 100px;
  height: 100px;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  font-size: 230%;
  font-weight: bold;
  border-radius: 50%;
  background: #A5E5A5;
  margin: 10px;
  padding-top: 45px;
  cursor: default;
}
.users_data_display_ball.sickness {
  background: #FF8181;
}
.users_data_display_ball.maternity {
  background: #CAA7E5;
}
.users_data_display_ball.other {
  background: #C2C3D8;
}
.users_data_display_ball span {
  position: absolute;
  top: 15px;
  left: 5%;
  width: 90%;
  text-align: center;
  font-size: 30%;
  color: #fff;
  line-height: 100%;
}
.users_data_display_ball.maternity span {
  top: 5px;
}
.calendar_group_title {
  position: relative;
  top: -7px;
}
.calendar_user_group_title {
  position: relative;
  top: 17px;
}
#users_calendar_group_container {
  text-align: right;
  float: right;
  margin-top: -55px;
}
#users_calendar_group_container .inputbox {
  font-size: 120%;
  padding: 5px;
  min-width: 200px;
}
#users_calendar_group_container .users_calendar_icon_small {
  display: inline-block;
  vertical-align: bottom;
}
#users_calendar_link_to_group {
  display: inline-block;
  padding-right: 22px;
  position: relative;
}
#users_calendar_link_to_group::after {
  content: '';
  width: 16px;
  height: 16px;
  background: url(/library/templates/default/resources/settings-icon-tiny.png) no-repeat top right;
  position: absolute;
  top: 1px;
}
.users_calendar_summary_booking {
  text-align: center;
  font-size: 140%;
  margin: 0 0 20px 0;
  padding: 10px;
  background-color: #A5E5A5;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}
.users_calendar_summary_booking b {
  background: rgba(0,0,0,0.1);
  display: block;
  padding: 10px;
  border-radius: 8px;
}
.users_calendar_summary_booking div {
  font-size: 80%;
  margin-top: 10px;
}
.users_calendar_summary_booking.sickness {
  background-color: #FF8181;  
}
.users_calendar_summary_booking.maternity {
  background-color: #CAA7E5;  
}
.users_calendar_summary_booking.other {
  background-color: #C2C3D8;  
}

.users_calendar_summary_elapsed {
  float: right;
  display: inline-block;
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  text-align: center;
  vertical-align: top;
  box-sizing: border-box;
  padding: 15px 0 0 0;
  font-size: 160%;
  margin-top: -5px;
}
.users_calendar_summary_elapsed span {
  font-size: 13px;
  display: block;
  margin-top: 5px;
}

#users_calendar_hours_per_week.hidden,
#users_calendar_hours_per_day.hidden {
  display: none;
}

.users_absence_footer {
  display: table;
  width: 100%;
  margin-top: 20px;
}
.users_absence_footer h2 {
  font-size: 180%;
  font-weight: normal;
  margin-bottom: 15px;
}
.users_absence_footer_left {
  display: table-cell;
  vertical-align: top;
  padding: 10px 10px 10px 0;
}
.users_absence_footer_left a {
  display: block;
  width: 300px;
  background: #0a003f;
  color: #fff !important;
  text-decoration: none !important;
  text-shadow: 1px 1px 0 #000;
  transition: all 0.2s ease-out;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  padding: 10px 20px;
  font-size: 150%;
  margin-bottom: 10px;
}
.users_absence_footer_left a:hover {  
  text-shadow: 1px 1px 0 #000, 0 0 5px #fff, 0 0 10px #fff;
}
.users_absence_footer_right {
  display: table-cell;
  vertical-align: top;
  width: 300px;
  padding: 10px;
  background: #FBFBFB;
}
.users_absence_footer_right a {
  display: block;
  padding: 10px 0 10px 40px;
  background: url(/library/templates/default/resources/message.png) no-repeat 6px 8px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.2s ease-out;
}
.users_absence_footer_right a.unread {
  background: url(/library/templates/default/resources/message-unread.png) no-repeat 6px 8px;
  color: #000;
}
.users_absence_footer_right a:hover {
  background-color: #eee;
  padding-left: 45px;
}
.users_absence_notification {
  margin: 0 0 5px 0;
  padding: 5px;
  box-sizing: border-box;
  line-height: 120%;
  font-size: 90%;
  background: #EBEBEB;
  position: relative;
}
.users_absence_notification b {
  display: block;
  font-size: 110%;
}
.users_absence_notification_dismiss {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  cursor: pointer;
  padding: 2px;
  box-sizing: border-box;
  background: url(/library/templates/default/resources/tiny-cross-dark.png) no-repeat center center;  
}
.calendar_modal_action_buttons_container {
  display: table;
  border-spacing: 10px;
  margin: 10px auto;
  background: #333;
  border-radius: 5px;
}
.calendar_modal_action_button {
  display: table-cell; 
  color: #fff !important;
  text-decoration: none !important;
  padding: 3px 10px 3px 38px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 80%;
  text-align: center;
  background-position: 8px 4px;
  background-repeat: no-repeat;
  transition: all 0.2s ease;
}
.calendar_modal_action_button:hover {
  text-shadow: 0 0 10px #fff;
}
.calendar_modal_action_button.delete {
  background-image: url(/library/templates/default/resources/mono-delete-white.png);
}
.calendar_modal_action_button.approved {
  background-image: url(/library/templates/default/resources/mono-tick-white.png);
}
.calendar_modal_action_button.declined {
  background-image: url(/library/templates/default/resources/mono-warning-white.png);
}


.tooltip_container.users_calendar_notifications {
  background: #2B2B2B;
  border: 1px solid #A0A0A0;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
  margin-top: -2px !important;
}
.tooltip_container .calendar_notification_block {
  padding: 5px 16px 5px 5px;
  font-size: 100%;
  line-height: 120%;
  background: #666;
  margin-bottom: 10px;
  box-shadow: 5px 5px 5px #000;
  position: relative;
}
.tooltip_container .calendar_notification_block:last-child {
  margin-bottom: 0;
}
.tooltip_container .calendar_notification_block b {
  display: block;
  font-size: 80%;
}
.tooltip_container .calendar_notification_block .calendar_notification_dismiss {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  cursor: pointer;
  padding: 2px;
  box-sizing: border-box;
  background: url(/library/templates/default/resources/tiny-cross.png) no-repeat center center;  
}
.tooltip_container .calendar_notification_block .calendar_notification_dismiss:hover {
  background-color: #888; 
}

.tooltip_container.right.users_calendar_notifications:after {
  background: #2B2B2B;
}

.tooltip_container.users_calendar_context_menu {
  background: #2B2B2B;
  border: 1px solid #A0A0A0;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
  margin-top: -10px !important;
}
.tooltip_container.bottom.users_calendar_context_menu:after {
  display: none;
}

.tooltip_container.users_calendar_context_menu a {
  display: block;
  padding: 4px 4px 4px 40px;
  color: #fff;
  margin: 0;
  line-height: 150%;
  font-size: 120%;
  text-decoration: none;
}
.tooltip_container.users_calendar_context_menu a.edit {
  background: url(/library/templates/default/resources/mono-calendar-white.png) 8px 6px no-repeat;
}
.tooltip_container.users_calendar_context_menu a.delete {
  background: url(/library/templates/default/resources/mono-delete-white.png) 8px 6px no-repeat;
}
.tooltip_container.users_calendar_context_menu a.halfday {
  background: url(/library/templates/default/resources/mono-halfday-white.png) 8px 6px no-repeat;
}
.tooltip_container.users_calendar_context_menu a.wholeday {
  background: url(/library/templates/default/resources/mono-wholeday-white.png) 8px 6px no-repeat;
}
.tooltip_container.users_calendar_context_menu a.approved {
  background: url(/library/templates/default/resources/mono-tick-white.png) 8px 6px no-repeat;
}
.tooltip_container.users_calendar_context_menu a.declined {
  background: url(/library/templates/default/resources/mono-warning-white.png) 8px 6px no-repeat;
}
.tooltip_container.users_calendar_context_menu a:hover {
  background-color: #414141;
}
.link_button {
  color: #fff !important;
  display: inline-block;
  padding: 10px 20px;
  border-left: 0;
  background: #EE3885;
  border-radius: 15px;
  font-weight: bold !important;
  text-transform: uppercase;
  transition: all 0.2s ease-out;
  text-decoration: none !important;
  font-size: 120%;
  filter: brightness(1);
}
.link_button:hover {
  filter: brightness(1.1);
  color: #fff;
}
@media screen and (max-width: 700px){
  .link_button {
    font-size: 90%;
    padding: 5px 20px;
  }
}

.fancy_button {
  background: #10BC74;
  color: #fff !important;
  display: inline-block;
  padding: 0.5em 1.5em;
  text-transform: uppercase;
  text-decoration: none !important;
  font-size: 0.8em;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}
.fancy_button::after {
  content: '\f061';
  font-family: 'FontAwesome';
  padding-left: 0.5em;
  position: relative;
  left: 0;
  transition: all 0.3s ease-out;
}
.fancy_button:hover::after {
  left: 0.5em;
}

/* Form buttons */

.button {
  color: #fff !important;
  display: inline-block;
  padding: 0.5em 1em;
  border: 0 solid transparent; 
  border-radius: 0;
  background: #0a003f;
  transition: all 0.2s ease-out;
  text-decoration: none !important;
  font-size: 1.2em;
  font-family: 'OpenSans';
  cursor: pointer;
}
.button.alt {
  background: #EE3885;
}
.button:hover {
  filter: brightness(1.2);
  color: #fff;
}
.button.stretch {
  width: 100%;
  padding: 12px;
}
.button.padded {
  padding: 20px 30px; 
  font-size: 14px; 
}
.button:hover {
  opacity: 0.8;
}
.button i.fa.fa-lg {
  display: inline-block;
  margin: 0 10px 0 0;
  position: relative;
  top: -2px;
}
.button:disabled {
  opacity: 0.2;
  cursor: wait;
}
.button:focus {
  outline-offset: 1px;
  outline: 3px solid rgba(0,0,0,0.3);
  box-shadow: none;
  border-color: transparent;
}
form input[type=file] {
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  font-size: 1.2em;
  font-family: 'OpenSans';
  box-sizing: border-box;
  max-width: 50%;
}

/* Form input fields / text areas */

.inputbox, 
form input[type=text], 
form textarea,
form select {
  background-color: #fff !important;
  color: #323232 !important;
  border: 1px solid #D6D6D6 !important;
  font-size: 1em;
  font-family: inherit;
  padding: 1em;
  line-height: 1.4em;
  height: 3.4em;
  font: inherit;
  box-sizing: border-box;
  transition: all 0.2s ease-out;
  box-sizing: border-box;
}
.inputbox:hover {
  border-color: #eeeeee !important;
}
.forms_item_input_container img {
  display: none;
}
.input_error {
  background-color: #fff !important;
  color: #323232 !important;
  border: 1px solid red !important;
  font-size: 16px;
  font-family: inherit;
  padding: 15px;
  font: inherit;
  box-sizing: border-box;
  transition: all 0.2s ease-out;
  box-sizing: border-box;
  border-radius: 5px;
}
.inputbox.date {
  background-repeat: no-repeat;
  background-position: center right;
  position: relative;
  background: url(/library/templates/default/resources/mono-calendar.png) no-repeat center right;
}
select:invalid { color: #eee }

/* Forms */


form { 
  margin: 0; 
  padding: 0; 
}

.form_container {
  max-width: 700px;
  width: 90%;
  margin: 1em auto;
  overflow: auto;
}

.forms_item_container { 
  display: block;
  padding: 0.5em 0;
  overflow: auto;
  text-align: left;
    box-sizing: border-box;
}
.forms_item_container > .button {
  display: block;
  width: 200px;
  max-width: 90%;
  margin: 1em auto 0 auto;
}

.form_container h2 {
  clear: both; 
}
.forms_item_label,
.forms_item_container label { 
  display: block;
  text-align: left;
  vertical-align: top;
  padding-top: 5px;
  padding-bottom: 10px;
  position: relative;
}
.forms_item_label i {
  font-size: 80%;
  opacity: 0.7;
}
/*
label span.required::before {  
  content: '\f069';
  opacity: 0.4;
  font-size: 70%;
  font-family: 'FontAwesome';
  padding-right: 10px;
  position: relative;
  top: -2px;
  display: inline-block;
}
*/
.forms_item_input_container { 
  display: block;
}
.forms_item_input_container span { 
  font-size: 80%; 
  display: block; 
  clear: both;
}
.forms_item_input_container .inputbox,
.forms_item_input_container .input_error { 
  width: 100%; 
}
.forms_item_input_container input[type='checkbox'] {
  visibility: hidden;
}
.forms_item_input_container .input_checkbox_container {
  position: relative;
  width: 30px;
  height: 30px;  
}
.forms_item_input_container .input_checkbox_container label {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid #D5D5D5;
  cursor: pointer;
  border-radius: 3px;  
}
.forms_item_input_container .input_checkbox_container label::after {
  content: '\f00c';
  font-size: 20px;
  position: absolute;
  top: 4px;
  left: 5px;
  font-family: 'FontAwesome';
  color: #0a003f;
  opacity: 0;
}
.forms_item_input_container .input_checkbox_container label:hover::after {
  opacity: 0.2;
}
.forms_item_input_container .input_checkbox_container input[type=checkbox]:checked + label::after {
  opacity: 1;
}

.forms_item_input_container textarea { 
  height: 180px; 
  width: 100%;
}
.forms_item_columnmode_container_table {
  width: 100%;
  display: table;
  max-width: 500px;
}
.forms_item_columnmode_container { 
  padding: 3px 0 3px 0; 
  text-align: center; 
  display: table-cell;
  width: 50%;
  float: none;
}
.forms_item_columnmode_container label.hidden {
  display: none;
}
.forms_item_columnmode_container .inputbox {
  width: 70px;
}
.forms_item_columnmode_container label { 
  display: block; 
}
.forms_balloon_icon {
  display: block;
  width: 16px;
  height: 16px;
  margin: -1px 0 0 5px;
  padding: 2px 5px 2px 5px;
  background: url(/library/templates/default/resources/tiny_info.png) no-repeat center center;
  float: right;
  cursor: pointer;
}

.form_fieldset {
  background: #C0C0FF;
  margin: 15px 0 15px 0;
  padding: 15px 100px 15px 20px;
  border: 2px solid #c0c0c0;
  background-repeat: no-repeat;
  background-position: top right;
  *position: relative;
}
.form_legend {
  font-weight: bold;
  color: #000;
  font-size: 15px;
  padding: 0 10px 0 10px;
  *position: relative; 
  *top: -1.5em; 
}

.form_buttons_container {
  display: inline-block;
  padding: 50px 0 0 0;
  white-space: nowrap;
  background: transparent;
  text-align: center;
  float: right;
  width: 48%;
}
.form_buttons_container.full {
  width: 100%;
}
.form_buttons_container .button {
  float: right;
}
.forms_branding_logo {
  float: right; 
}

/* AJAX category tree (list) */
.forms_category_list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: block;
  width: 300px;
  margin-top: -5px;
}
.forms_category_list div ul { 
  width: 100% !important;
  margin-top: 5px;
  border-bottom: 1px solid #0a003f;
}
.forms_category_list li {
  padding: 5px 0 5px 15px;
  display: block;
  background: #9b9b98;
  color: #323232;
  border-left: 7px solid #0a003f;
  cursor: pointer;
}

.forms_category_list li label {
  display: block;
}
.forms_category_list li:hover {
  /* background-color: #0a003f !important;
  color: #fff;*/
}
.forms_category_list li.has_children {
  background: #9b9b98 url(/library/templates/default/resources/plus.png) no-repeat right 10px;
}
.forms_category_list li div {
  background: #0a003f; 
}
.forms_category_list li input {
  float: left;
  display: block;
  margin: 2px 10px 0 5px;
  border-right: 1px solid #fff;
}

/* User input wizards (e.g. adding new items) */

.stages_container {
  height: 120px;
  background: #D6E5C3;
}
.stage_block {
  width: 100px;
  height: 100px;
  float: left;
  text-align: center;
  background-position: 12px 10px;
  background-repeat: no-repeat;
}
.stage_block_label {
  color: #4D642C;
  font-weight: bold;
  padding-top: 90px;
}
.stage_block_label_disabled {
  color: #7A9F45;
  padding-top: 90px;
}

/* User comments */

.forms_item_comment_link_container {
  overflow: auto; 
  clear: both;
  overflow: hidden;
}
.forms_item_comment_link {
  display: block;
  float: right;
  width: 85px;
  text-align: left;
  padding: 10px 0 5px 25px;
  font-size: 10px;
  background: url(/library/templates/default/resources/small_edit.gif) no-repeat 0 5px;
  margin: 1px 5px 0 0;
}
.forms_item_comment_container {
  clear: left;
  padding: 10px;
  margin: 20px auto 10px auto;
  width: 400px;
  border: 1px solid #999;
  display: none;
}
.forms_item_comment_container textarea {
  border: 1px solid #999;
  background-color: #fff;
  width: 100%;
  height: 100px;
  margin-top: 5px;
}
.forms_item_usercomment {
  clear: both;
  margin: 20px auto 10px auto;
  width: 400px;
  border: 1px solid #61992F; 
  padding: 10px 10px 10px 50px;
  font-size: 11px;
  min-height: 20px;
  text-align: left;
  background: #E1F1CF url(/library/templates/default/resources/small_user.gif) no-repeat 11px 10px;  
}
.forms_item_admincomment {
  clear: both;
  margin: 20px auto 10px auto;
  width: 400px;
  border: 1px solid #E7A007; 
  padding: 10px 10px 10px 50px;
  font-size: 11px;
  min-height: 20px;
  text-align: left;
  background: #FEF9D0 url(/library/templates/default/resources/small_admin.gif) no-repeat 11px 10px;  
}
.forms_item_moderatorcomment {
  clear: both;
  margin: 20px auto 10px auto;
  width: 400px;
  border: 1px solid #DB911D; 
  padding: 10px 10px 10px 50px;
  font-size: 11px;
  min-height: 20px;
  text-align: left;
  background: #F9DBC5 url(/library/templates/default/resources/small_moderator.gif) no-repeat 11px 10px;  
}

/* Tooltips */


.tooltip_container {
  background: #9b9b98;
  padding: 15px 15px;
  font-size: 15px;
  color: #fff;
  max-width: 300px;
  min-width: 200px;
  width: auto;
  z-index: 9999999;
  border-radius: 3px;
}
.tooltip_container.success {
  background: #8DC572;
  color: #fff;
}
.tooltip_container.success div {
  text-shadow: 1px 1px 0 #719E5B;  
}
.tooltip_container.success.right:after,
.tooltip_container.success.left:after
{
  background: #8DC572;
}
.tooltip_container.error {
  background: #BE6464;  
  color: #fff;
}
.tooltip_container.error div {
  text-shadow: 1px 1px 0 #985050;  
}
.tooltip_container.error.right:after,
.tooltip_container.error.left:after
{
  background: #BE6464;
}
.tooltip_container.right {
  margin-top: -10px;
  margin-left: 10px;
}
.tooltip_container.left {
  margin-top: -10px;
  margin-left: -10px;
}
.tooltip_container.top {
  margin-top: -10px;
}
.tooltip_container.bottom {
  margin-top: 10px;
}

.tooltip_container div {
  /*text-shadow: 1px 1px 0 #000;*/
}
.tooltip_container.right:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 15px;
  left: -7px;
  background: #9b9b98;  
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}
.tooltip_container.left:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 15px;
  right: -7px;
  background:#9b9b98;  
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}
.tooltip_container.top:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  bottom: -7px;
  left: 7px;
  background:#9b9b98;  
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
}
.tooltip_container.bottom:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: -7px;
  left: 7px;
  background: #9b9b98;  
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
}
.tooltip_container .calendar_container {
  font-size: 90%;
}
.tooltip_container .calendar_prev_link,
.tooltip_container .calendar_next_link {
  margin-left: 0;
  width: 24px;
}


@media all and (max-width: 700px) {
  .forms_item_input_container .inputbox,
  .forms_item_input_container textarea,
  .form_buttons_container { 
    width: 100% !important;
  }  
  .forms_item_label {
    display: block;
    width: 100%;
    box-sizing: border-box;
  } 
  .forms_item_input_container {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .forms_item_columnmode_container label.hidden {
    display: inline;
  }
}
.properties_property_container {
  width: 75%;
  background: #fff;
  padding: 15px 25px 15px 25px;
}
.properties_property_left_col {
  margin-right: 225px;
}
.properties_property_left_col div {
  padding: 0 0 15px 0;
}
.properties_property_right_col {
  width: 200px;
  text-align: right;
  float: right;
  background: #ffffff;
  padding-top: 35px;
}
.properties_property_bottom {
  clear: right;
  padding: 5px;
  margin-top: 10px;
}
.properties_property_bottom div {
  float: right;
  width: 200px;
  text-align: right;
}
.properties_details_label {
  float: left;
  width: 80px;
  font-weight: bold;
  text-align: right;
  font-size: 10px;
  clear: left;
}
.properties_details_value {
  float: right;
  width: 105px;
  font-size: 10px;
  text-align: left;
}

.shop_crosslinked_product {
  width: 150px; 
  float: left;
  margin: 5px;
  text-align: center;
}
.shop_crosslinked_product b {
  display: block;
}
.shop_product_rating_container {
  font-size: 10px;
  margin: -6px 0 5px 0;
  overflow: auto;
}
.shop_product_rating_text {
  float: left;
  padding-top: 5px;
}
.shop_product_star_rating {
  float: left;
  width: 120px;
}
.shop_product_rating_container span {
  padding: 0 2px
}
#directory_advanced_search {
  background: #DEDEE7;
  overflow: auto;
  padding: 5px;
}
#directory_advanced_search h1 {
  font-size: 16px;
  margin: 5px 0 10px 0;
  line-height: 140%;
}
.directory_search_field_container {
  float: left;
  width: 380px;
  height: 25px;
}
.directory_search_label {
  width: 100px;
  display: block;
  float: left;
}
.directory_search_input_container {
  float: left;
  display: block;
  width: 150px;
}

#directory_advanced_search .inputbox{
  width: 250px;
  font-size: 10px !important;
}
#directory_advanced_search .button {
  display: block;
  width: 100px;
  padding: 5px;
  clear: both;
  margin: 0 auto 20px auto;
  position: relative;
  top: 10px;
}
#events_select_categories_container {
  float: right;
  margin: 10px 10px 0 0;
  padding: 10px; 
  text-align: right;
}


#events_side_categories {
  float: right; 
  clear: right;
  padding: 10px; 
  width: 20%; 
  margin: 0 10px 10px 0;
}


#events_side_categories a, #events_side_categories b {
  display: block;
}
#events_table {
  width: 70%;
}
#events_table tr td a {
  display: block;
}
#news_article i {
  display: block;
}
.news_article {
  overflow: auto;
}
.article_image {
  display: block;
  float: right;
  margin: 0 0 20px 20px;
  width: 50%;
  height: auto;
  max-width: 400px;
}

.news_articles_list { 
}

/* news categories */

.news_categories ul {
  padding-left: 0;
  list-style-type: none;
  font-weight: bold;
}

.news_categories ul ul {
  font-weight: normal;
  padding-left: 20px;
  font-size: 10px;
  list-style-type: square;
}

/* news sub categories */

.news_sub_categories {
  padding: 10px 10px;
  list-style-type: none;
  font-weight: bold;
  margin: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
#blog_article i {
  display: block;
}

.blog_articles_list { 
}

/* blog categories */

.blog_categories ul {
  padding-left: 0;
  list-style-type: none;
  font-weight: bold;
}

.blog_categories ul ul {
  font-weight: normal;
  padding-left: 20px;
  font-size: 10px;
  list-style-type: square;
}

/* blog sub categories */

.blog_sub_categories {
  padding: 10px 10px;
  list-style-type: none;
  font-weight: bold;
  margin: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
/* Javascript slideshow */

.slideshow_text {
  
  font-family: 'Arial', 'opensans', sans-serif;
  letter-spacing: -0.4pt;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align:center;
  display: block;
  font-size: 350%;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 50px #000;
  transform: translateY(-50%);
  line-height: 110%;
}

.slideshow_content_slider_container {
  height: auto !important;
}
.slideshow_content_slider {
  width: 100%;
  height: calc(100vw * 0.6) !important;
  overflow: hidden;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.slideshow_inner_container {
  height: auto !important;
  position: relative;
}
.slideshow_item {
  position: relative;
}
.slideshow_item, .slideshow_item img {
  width: 100% !important;
  height: calc(100vw * 0.6) !important;
  display: block;
}
#content_col .slideshow_content_slider {
  width: 630px;
  height: 250px;
}
.slideshow_footer {
  height: 80px;
  background: rgba(0,0,0,0.5);
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 220px 0 0 0;
  padding: 10px 20px;
  font: normal 14px 'Arial', snas-serif;
  width: 100%;
  color: #fff;
  line-height: 140%;
}
#content_col .slideshow_footer {
  width: 590px;
  margin: 150px 0 0 0;
  line-height: 130%;
}
.slideshow_footer h3 {
  margin: 0 0 5px 0;
  padding: 0;
  color: #fff;
  font: normal 18px 'Arial', snas-serif;
}  

.slideshow_left_browse:hover::before,
.slideshow_right_browse:hover::before
{
  color: #000;
}

.slideshow_left_browse {
  position: absolute;
  cursor: pointer;  
  z-index: 10;
  top: 50% !important;
  transform: translateY(-50%);
  left: 0% !important;
  width: 50px;
  height: 65px;
  position: absolute;
  margin-top: -40px;
}
.slideshow_right_browse {
  position: absolute;
  cursor: pointer;  
  z-index: 10;
  top: 50% !important;
  transform: translateY(-50%);
  right: 0% !important;
  width: 50px;
  height: 65px;
  position: absolute;
  margin-top: -40px;
}
.slideshow_left_browse::before {
  transition: all 0.3s ease-in-out;
  position: absolute;
  top: 15px;
  left: 5px;
  content: '\f104';
  font-family: 'FontAwesome';
  font-size: 100px;
  color: #9b9b98;
}
.slideshow_right_browse::before {
  transition: all 0.3s ease-in-out;
  position: absolute;
  top: 15px;
  right: 5px;
  content: '\f105';
  font-family: 'FontAwesome';
  font-size: 100px;
  color: #9b9b98;
}


