/*
Put repeatedly used colors here.
use them with "color: var(--colorname);"
for example, klas-green would be...
color: var(--klas-green);
to change the color, change it in root definition, that will auto-magically change it everywhere.
*/
:root {
  --klas-primary: #00765a;
  --klas-green: #478977;
  --klas-lt-green: #478977;
  --klas-border-green: #0B6D2C;
  --klas-hover-background: #004231; /* very dark 00765a */
  --klas-white: white;
}

/* turn off front end article icons */
.item-content > .icons > .btn-group.pull-right {
  display: none;
}

.item-page .article-info {
  display: inline;
}

.maincontent .tags {
  margin-bottom: 10px !important;
}

.tags li {
  margin: 2px !important;
}

.maincontent .tags a {
  color: white !important;
  background: var(--klas-primary) !important;
  padding: 0 10px;
  line-height: 28px;
}


/* article info */
dl.article-info > dd.published {
  margin-left: 0;
}

dd.modified {
  margin-left: 0;
}


.j51-profile-details {
  flex: 1;
}

.text-light h4 {
  opacity: .9;
}

/* Highlight text for login prompt - Klas Green */
h6 {
  /* font-family: relative; ERROR */
  font-weight: bold;
  font-style: italic;
  line-height: 18px;
  color:  var(--klas-green);
  text-rendering: optimizelegibility;
}

/* Highlight Text - Klas Lt Green */
em.highlight.green {
  background: none repeat scroll 0 0 var(--klas-lt-green);
}

em.highlight {
  border-radius: 0 0 0 0;
  font-style: normal;
  padding: 5px 10px;
  text-shadow: none;
}


/*
 *
 * forms
 *
*/
.top-1a > .span6 {
  margin: 0 !important;
}

/*
 * Login box
*/

/* margin top */
.sourcecoast a.btn.login-btn, input.btn.login-btn {
  margin-top: 2px !important;
}

/* forgot buttons */
.sourcecoast .input-append input,
.sourcecoast .input-append select,
.sourcecoast .input-append .uneditable-input {
  height: 30px !important;
  border: 0;
  background: var(--klas-primary) !important;
  padding: 2px 3px;
}

.sourcecoast .input-append .add-on:last-child,
.sourcecoast .input-append .btn:last-child,
.sourcecoast .input-append .btn-group:last-child > .dropdown-toggle {
  border-radius: 0 !important;
  height: 30px !important;
  border: 1px solid;
  background: var(--klas-primary);
  padding-left: 8px;
  padding-top: 2px;
  margin-right: .5rem;
}

a > i.fa.fa-question-circle::before {
  color: white;
  /* background: blue; */
}

/* fix login button hover color */
a.btn.login-btn:hover, input.btn.login-btn:hover {
  background: var(--klas-hover-background) !important;
}

/* login button color */
.sourcecoast button.btn,
.sourcecoast input[type="submit"].btn {
  background: var(--klas-primary);
  text-shadow: none;
  color: white;
  height: 30px;
  border: 0;
  border-radius: 0;
}

/* input border radius */
.sourcecoast .input-append input,
.sourcecoast .input-append select,
.sourcecoast .input-append .uneditable-input {
  border-radius: 0 !important;
}

/* remove line above login so it smooches up */
.btn:hover:before,
.btn:hover:after {
  opacity: 0;
}

/* remove border ghosting */
input#modlgn-passwd, input#modlgn-username {
  border: none;
}

/* article login for comments */
.klogin-to-discuss {
  color: var(--klas-white);
  border: 1px solid var(--klas-border-green);
  background: var(--klas-primary);
}

.klogin-to-discuss:hover {
  color: var(--klas-white);
  border: 1px solid var(--klas-border-green);
  background: var(--klas-hover-background);
}

/* background color was being ignored */
.sourcecoast textarea,
.sourcecoast input[type="text"],
.sourcecoast input[type="password"],
.sourcecoast input[type="datetime"],
.sourcecoast input[type="datetime-local"],
.sourcecoast input[type="date"],
.sourcecoast input[type="month"],
.sourcecoast input[type="time"],
.sourcecoast input[type="week"],
.sourcecoast input[type="number"],
.sourcecoast input[type="email"],
.sourcecoast input[type="url"],
.sourcecoast input[type="search"],
.sourcecoast input[type="tel"],
.sourcecoast input[type="color"],
.sourcecoast .uneditable-input {
  background-color: var(--klas-white) !important;
}

/* Password reset page */
.site.com_users .maincontent, .site.com_users.view-profile.layout-edit.no-task .maincontent {
  position: fixed !important;
  top: 0;
  background: var(--klas-white);
  border: 30px solid var(--klas-primary);
  margin: 0;
  width: auto;
  height: 100vh !important;
  overflow: auto;
  z-index: 999999;
}

/* form colors */
.site.com_users .maincontent form.form-validate {
  background: var(--klas-white);
}

/* rest layout */
.site.com_users.view-profile.no-task .maincontent {
  position: unset !important;
}

/* submit button */
.control-group .btn {
  background: var(--klas-primary);
  color: var(--klas-white);
}

/* END PASSWORD RESET PAGE */
/*  END LOGIN */

/*
 * MODAL
*/

/* hide title */
span.modal-title {
  display: none;
}

/* input box */
.sourcecoast .input-append input,
.sourcecoast .input-append select,
.sourcecoast .input-append .uneditable-input {
  border-radius: 0;
  height: 30px;
}
/* END MODAL */


/* logged in display */
.sclogin {
  overflow: visible;
  margin-top: 0 !important;
  float: right !important;
}

/* move greeting over slightly */
.sclogin #scprofile-pic,
.sclogin .sclogin-greeting,
.sclogin .sclogin-profile-link {
  padding-right: .5rem;
}

/* remember me */
.sourcecoast label {
  display: inline-block !important;
}
.sourcecoast input[type="radio"],
.sourcecoast input[type="checkbox"] {
  margin: 0 0 1px 0 !important;
}

/* login input width */
.sourcecoast .input-small {
  width: 10rem !important;
}

/* -- END LOGIN BOX */


/* ajax search */
.offlajn-ajax-search-container .category-chooser{
  height: auto !important;
}

[id^="ajax-search-button"] {
  height: auto !important;
  border: none !important;
}



/*
 * KUNENA DISCUSS
*/
/* entry box */
.kunenadiscuss textarea.form-control.counted {
  height: 4rem;
}

/* center avatar */
.kunenadiscuss > .container-fluid > .row-fluid > .span1 {
  text-align: center;
}

.kunenadiscuss [class^="kwho-"] img.img-circle {
  height: 90px;
  width: 90px;
  min-width: 90px;
  min-height: 90px;
  right: 10px;
}
/* -- END FORMS -- */


/* Horizontal Rule length. */
hr {
  max-width: 1200px;
  margin: 15px auto 20px;
}

/* List Style - Tighten spacing up just a littlebit. */
ul.tick li, ul.plus li, ul.star li, ul.dot li {
  list-style: none outside none;
  padding: 4px 0 3px 30px;
}

/* footer */
footer{
  /* text-align: left; */
  padding: 1rem 1rem 4.5rem 1rem;
  flex-wrap: nowrap;

}

/* accept cookies - Move it away from support button */
#cookiesck > .inner{
  display: grid !important;
  justify-content: space-around;
  grid-template-columns: auto auto;
  text-align: inherit !important;
  width: calc(100% - 150px);
  align-items: center;
}
@media screen and (max-width: 759px) {
  #cookiesck > .inner{
    display: grid !important;
    justify-content: space-between;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-bottom: 3rem;
    text-align: center !important;
    width: calc(100% - 50px);
  }
}

#cookiesck[data-layout="layout1"] #cookiesck_buttons
{
  float: none !important;
  text-align: center;
}


/* header text block for mobile */
@media screen and (max-width: 440px) {
  .header-2 {
    text-align: center;
  }
}

/* scribe text */
.scribe-imagery.span3 {
  margin-left: 0;
  float: right;
}
.scribe-text.span9 {
  margin-left: 0;
}

/*
** Regular Labs Tabs **
*/
/* border */
.tab-content{
  border: 2px solid var(--klas-border-green) !important;
}
/* tab border */
.rl_tabs.outline_handles ul.nav-tabs>li a, .rl_tabs.outline_handles ul.nav-tabs>li a:hover {
  border: 2px solid var(--klas-border-green) !important;
  border-bottom: 0 !important;
}
/* tab color */
.rl_tabs .nav-tabs>li.active>a, .rl_tabs .nav-tabs>li.active>a:hover{
  background: #fff !important;

}
/* font */
.rl_tabs>ul.nav-tabs>li>a {
  color: var(--klas-border-green);
  font-weight: bold;
}

/*
** Regular Labs Slider **
*/

.rl_sliders.accordion>.accordion-group.active>.accordion-heading>a.accordion-toggle {
  background-color: #f8f8f8;
  color: var(--klas-border-green) ;
}

/* Slider border */
.rl_sliders.accordion>.accordion-group {
  margin-bottom: 2px;
  border: 2px solid var(--klas-border-green);
}

/* Cards */
.j51cards .j51cards_title {
  font-size: 1.3rem;
}
.j51cards img {
  width: 100%;
  max-width: 180px;
  margin: 1rem;
}
.j51cards {
  margin-bottom: 2rem;
}
.j51cards figure {
  transition: all .2s ease;
}
.j51cards figure:hover {
  -webkit-transform: scale(1.025) translateY(-4px);
  transform: scale(1.025) translateY(-4px);
}

/* sliders color */
.rl_sliders .nav-.rl_sliders>ul.nav-sliders>li>a>li.active>a, .rl_.rl_sliders>ul.nav-sliders>li>a, .nav-.rl_sliders>ul.nav-sliders>li>a>li.active>a:hover{
  background: #fff !important;
}

/* font */
.rl_sliders.accordion>.accordion-group.active>.accordion-heading>a.accordion-toggle {
  background-color: #f8f8f8;
  color: var(--klas-border-green);
  font-weight: bold;
}

/* Search Button */
.label-info, .badge-info {
  background-color: var(--klas-border-green);
}

input#search-area815 {
  display: block;
  position: relative;
  height: 27px;
  width: 100%;
  background-color: transparent;
  box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  -ms-box-sizing: border-box !important;
  -webkit-box-sizing: border-box !important;
  -khtml-box-sizing: border-box !important;
  border: 1px #0B6D2C solid;
  border-right: none;
  line-height: 27px;
  border-radius: 0;
  float: left;
  margin: 0;
  z-index: 4;
  padding: 0 39px 0 28px;
}
/* End Search Button */

/* Form maker */
.wdform_tr_section_break, .wdform_section {
  padding: 0 10px;
}

/* Edit line weight/colour */
.table th, .table td {
  padding: 8px;
  line-height: 18px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #0b5e4a;
}

/*
 *  Blog
 */
.blog .item-image:before {
  background-color: #383232;
  right: 0;
}
.blog .item-image:before, .blog .item-image:after {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8px;
  content: '';
  opacity: .8;
}
.blog .item-image:after {
  background-color: var(--primary);
  right: 66%;
}

/*
 * Remove expired statement from news/events - J4 Bug
 */
page-header, .label.label-warning {
  display: none;
}

 /* ugly fix for home col-md-6 */
 .col-md-6 {
    flex: 1 0 auto;
    width: 50%;
  }

/*
 * Creates bar above and below buttons
 */
a.btn {
  border: none;
  border-radius: unset;
  padding: 14px 22px;
  margin: 5px 10px 5px 0;
  text-transform: uppercase;
  position: relative;
}

.btn:before,
.btn:after {
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  border-style: hidden;
  border-width: 0;
  border-color: transparent;
  content: "";
  height: 0;
  position: absolute;
  width: 100%;
  background: none;
  left: 0;
  right: 0;
}
.btn:before {
  top: 0;
}
.btn:after {
  bottom: 0;
}

.btn:hover:before {
  background-color: var(--klas-primary);
  top: -10px;
}

.btn:hover:after {
  background-color: var(--klas-primary);
  bottom: -10px;
}

.btn:hover:after, .btn:hover:before {
  opacity: .5;
  left: 0;
  height: 3px;
}

.btn:hover, .button:hover, button:hover {
  border: hidden transparent;
}

.layerslideshow-title-container, .layerslideshow-caption-container {
    text-align: left;
}
.layerslideshow .slide-buttons {
text-align: left;
}
