/* general styles */

body {
  font-family: Montserrat, 'Open Sans', Arial, sans-serif;
}

@media all {
    .page-break {
        display: none;
    }
}

@media print {
    .page-break {
        display: block;
        page-break-before: always;
    }
    section, table {
        display: block;
        page-break-inside: avoid;
        width: 100%;
    }
    section.new-page {
        page-break-before: always;
    }
}

p {
    color: #575757;
}

ol.upper-alpha {
    list-style-type: square;
}

ol {
    list-style-type: none;
    counter-reset: item;
}

ol > li {
    display: table;
    counter-increment: item;
    margin-bottom: 0.6em;
    /*
    font-weight: bold;
    font-size: 1.25em;
    */
}

ol > li li {
    font-weight: normal;
    font-size: 0.8em;
    padding: 0.6em 0;
}

ol > li li li {
    font-size: 1em;
    padding: 0.4em 0;
}

ol > li:before {
    content: counters(item, ".") ". ";
    display: table-cell;
    padding-right: 0.6em;
}

li ol > li {
    margin: 0;
}

li ol > li:before {
    content: counters(item, ".") " ";
}

/*.scrollable {*/
/*overflow-x: scroll;*/
/*}*/

.scrollable_container {
    overflow: auto;
    padding-left: 5px;
    overflow-x: scroll;
    /*max-height: 150px;*/
    /*border: 1px solid #898989;*/
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    /*border: 1px solid #bbb;*/
}

td, th {
    /*border-top: 1px solid #ddd;*/
    padding: 4px 8px;
    border: none;
}

blockquote {
    background-color: #EEE;
    font-size: 0.9em;
    white-space: pre-line;
    padding: 0 10px 10px 10px;
    letter-spacing: 0;
}

article blockquote {
  padding-top: 10px;
  margin: -10px 0 10px 12px;
}

/* site styles */
.page-container {
    margin-bottom: 30px;
}

.no-underline {
    color: #555;
    font-weight: bold;
}

.no-underline:hover {
    text-decoration: none;
}

.no-underline-black {
    color: #777;
    padding: 4px 0 4px 10px;
    border-left: solid 3px #FFF;
    display: block;
}

.no-underline-black:hover {
    border-left: solid 3px #E83F40;
    padding-left: 10px;
    text-decoration: none;
}

a.external {
    background: url(../images/external_link_icon.png) center right no-repeat;
    padding-right: 13px;
}

.heading {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.cas-heading {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.cas-grey {
    color: #575757;
}

.cas-red {
    color: #E83F40;
}

.cas-gold {
    color: #f39200;
}

.grey-link {
    font-size: 0.8em;
    color: #666;
}

.grey-link:hover {
    text-decoration: none;
}

.tiny {
    font-size: .6em;
}

.badge.muted {
    background-color: #777;
    font-size: 0.8em;
    font-weight: normal;
}

/* highlight information only shown to admin users */
.admin-only {
    background-color: #ffffee;
}

.alert .glyphicon-ok-sign {
    color: green;
    padding-right: 5px;
}

.alert .glyphicon-exclamation-sign {
    color: darkred;
    padding-right: 5px;
}

.alert .glyphicon-question-sign {
    color: darkgoldenrod;
    padding-right: 5px;
}

.notice {
    color: darkred;
}

/* form errors */
.field_with_errors, .error {
    display: inline-block;
    border-radius: 5px;
    border: 1px solid;
    border-color: red;
}

label.error {
    display: inline-block;
    border: inherit;
    color: red;
}

#flash_messages .errors, .success, .notice {
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
}

.errors, #error_explanation, .flash_messages {
    border-radius: 5px;
    border: 2px solid;
}

#flash_messages .errors {
    color: red;
    border-color: red;
}

#flash_messages .success {
    color: green;
    border-color: green;
}

#flash_messages .notice {
    color: darkred;
    border-color: darkred;
}

#error_explanation {
    border-color: red;
}
#error_explanation h2 {
    font-size: medium;
    padding-left: 10px;
    color: red;
}

.text-box {
    /*width: 80%;*/
    margin: 5px auto;
    /*border-style: inset;*/
    background-color: #F5F5F5;
    /*border-width: 5px;*/
    padding: 10px;
    min-width: 100%;
}

.requiredAsterisk {
    font-size: x-small;
    vertical-align: top;
    padding-left: 6px;
    color: #c3322b;
}

/*new version for required fields CJL July 2016*/

.required-field {
    position: relative;
}

.required-field:after {
    content: "*";
    font-size: small;
    vertical-align: top;
    padding-left: 6px;
    color: #c3322b;

}

label.control-label.group-left-align {
    padding-top: 0;
    text-align: left;
}

label.control-label {
    font-weight: bolder;
}

.striped-row:nth-child(odd) {
    background-color: #F5F5F5;
}

/* forum pages */
.forumindexgrey {
    background-color: #F5F5F5;
}

.forumindexitem {
    padding: 15px 7px;
    margin: 0 10px;
}

.forum-title {
    color: #777;
    font-weight: bold;
    font-size: 1.4em;
}

.forum-description {
    color: #999;
}

.forum-last-post {
    color: #999;
}

.forum-last-post-topic {
    color: #666;
    font-weight: bold;
}

.unread-count {
    color: #666;
    font-weight: bold;
}

.discussionByLine {
    font-size: 0.8em;
    color: #999;
}

.pagingLinks {
    font-size: 0.8em;
    color: #999;
}

@media screen and (min-width: 0px) and (max-width: 990px) {
    .mobile-hide {
        display: none !important;
    }
}

@media screen and (min-width: 0px) and (max-width: 990px) {
    .mobile-show {
        display: block !important;
    }
}

/* Certificate pages */
.warning-on-revalidate {
    background-color: red;
    padding: 13px 5px;
    line-height: 50px;
    margin-bottom: 4px;
    color: white;
    font-weight: bold;
    font-size: 3em;
    position: fixed !important;
    position: absolute; /* ie6 */
    top: 1em;
    left: 1em;
    z-index: 1;
}

.Certificate_Table table {
    width: 100%;
    height: 100%;
    margin: 2px;
    padding: 2px;
    border: 1px solid green;
}

.Certificate_Table th {
    background-color: #00cc00;
    font-weight: bold;
    color: #000000;
    padding: 7px;
    font-size: 12px;
    font-family: Verdana;
    border: 1px solid #000000;
}

.Certificate_Table td {
    text-align: left;
    padding: 7px;
    font-size: 12px;
    font-family: Verdana;
    border: 1px solid #000000;
}

.Certificate_Table tr {
    border: 1px solid #000000;
}

/* specific formatting */
hr.small-margins {
    margin: 15px 0;
}

.home-page-postcode-field {
    width: 25%;
    display: inline;
}

/* summernote editor - used for emails, news pages... */
#summernote-area .btn,
#summernote-area .btn-group,
#summernote-area .btn-toolbar {
    margin-bottom: 0;
    border-radius: 3px;
}

#summernote-area .fa {
    font-size: 12px;
    margin: 0;
    height: 15px;
    width: 15px;
    padding: 0;
    padding-right: 2px;
}

#summernote-area ol > li {
    counter-increment: item;
    margin-bottom: 0em;
    font-weight: normal;
    font-size: 1em;
}

/* page menu for community site*/
/*refactor: needs to be done another way... Catriona July 2016*/
#pageNav {
    display: block;
    left: 0;
    right: 0;
    top: 0;
    background-color: transparent;
    position: relative;
    /*z-index: 11;*/
}

#pageNav.translucent {
    background-color: rgba(255, 255, 255, 0.2);
}

#pageNav.bordered {
    -webkit-box-shadow: 0 4px 0 rgba(0, 0, 0, 0.04);
    -moz-box-shadow: 0 4px 0 rgba(0, 0, 0, 0.04);
    -o-box-shadow: 0 4px 0 rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.04);
}

#pageNav a.logo {
    margin: 10px 30px 0 0;
    display: inline-block;
    min-height: 50px;
    float: left;
}

#pageNav a.logo.onepage {
    display: inline-block;
    height: 50px;
    overflow: hidden;
    margin-top: 3px;
}

#pageNav .nav-pills > li > a,
#pageNav .nav-pills > li > a:hover,
#pageNav .nav-pills > li > a:focus,
#pageNav .nav-pills > li.active > a,
#pageNav .nav-pills > li.active > a:hover,
#pageNav .nav-pills > li.active > a:focus {
    background-color: transparent;
}

#pageNav div.navbar-collapse {
    padding: 0;
    float: right;
    margin: 3px 0 0 0;
}

#pageNav ul.nav > li {
    color: #666;
    text-align: center;
    position: relative;
    margin: 0;
    padding-bottom: 6px;
}

#pageNav ul.nav > li:hover > a:before,
#pageNav ul.nav > li.active > a:before {
    content: ' ';
    background-color: #E83F40;
    height: 2px;
    width: 100%;
    left: 0;
    top: -3px;
    position: absolute;
}

#pageNav ul.nav > li a {
    color: #333;
    padding: 15px;
    position: relative;
    text-decoration: none;
    font-size: 12px;
    line-height: 14px;
    display: block;
    font-weight: 300;

    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

#pageNav ul.nav.white > li a {
    color: #fff;
}

#pageNav ul.nav > li > a {
    padding: 15px 15px;
}

#pageNav ul.nav > li:hover {
    background-color: #fff;
}

#pageNav ul.nav > li:hover a {
    color: #333;
}

/* submenu */
#pageNav ul.dropdown-menu li.divider {
    margin: -1px 0 0 0;
    padding: 0;
    border: 0;
    border-bottom: rgba(0, 0, 0, 0.2) 1px solid;
}

#pageNav .nav li:hover > ul.dropdown-menu {
    padding: 0;
    display: block;
    /* Make sure the topNav menu has hover priority over pageNav */
    z-index: 999 !important;
}

#pageNav .nav li:hover > ul.dropdown-menu-left {
    margin-left: -150px;
}

#pageNav ul.dropdown-menu {
    text-align: left;
    margin-top: 0;
    box-shadow: none;
    border: #eee 1px solid;
    border-top: 0;
    list-style: none;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.2) 0 6px 12px;
    min-width: 200px;

    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

#pageNav ul.dropdown-menu li {
    position: relative;
}

#pageNav ul.dropdown-menu > li a {
    margin: 0;
    padding: 10px 15px;
    font-weight: 400;

    color: #555;
    font-size: 13px;
    border-bottom: rgba(0, 0, 0, 0.1) 1px solid;
}

#pageNav ul.dropdown-menu > li a i.fa {
    margin-right: 4px;
}

#pageNav ul.dropdown-menu a.dropdown-toggle:after {
    content: "\f105";
    font-family: FontAwesome;
    position: absolute;
    font-size: 15px;
    right: 10px;
    top: 9px;
    color: #999;
}

#pageNav .dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #eaeaea;
    margin-top: 5px;
    margin-right: -10px;
}

#pageNav .dropdown-submenu li:hover > a:after {
    color: #fff !important;
}

#pageNav ul.dropdown-menu li:last-child > a {
    border-bottom: 0;
    border-bottom: 0;
}

/* mobile */
#pageNav button.btn-mobile {
    display: none;
}

#pageNav button.btn-mobile {
    color: #fff;
    display: none;
    background: #E83F40;
    padding: 6px 10px;
    margin-top: 10px;
    margin-bottom: 3px;

    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

#pageNav button.btn-mobile i {
    padding: 0;
    margin: 0;
    font-size: 21px;
}

/** Responsive Page Nav
 **************************************************************** **/
@media only screen and (max-width: 990px) {
    .navbar-collapse {
        max-height: 100%;
    }

    #header {
        position: relative;
        background-color: #fff;
        height: 56px;
    }

    #pageNav .container {
        padding: 0;
        margin: 0;
    }

    #pageNav button.btn-mobile {
        display: block;
        float: right;
        margin-right: 15px;
        margin-top: 9px;
    }

    #pageNav a.logo {
        margin: 3px 30px 3px 10px;
    }

    #pageNav form.search {
        float: left;
        margin-top: 6px;
        margin-left: 15px;
    }

    #pageNav nav.nav-main {
        background-color: #fff;
    }

    #pageNav div.nav-main-collapse,
    #pageNav div.nav-main-collapse.in {
        width: 100%;
        margin: 56px 0 0 0;
    }

    #pageNav div.nav-main-collapse {
        float: none;
        overflow-x: hidden;
    }

    #pageNav div.nav-main-collapse.collapse {
        display: none !important;
    }

    #pageNav div.nav-main-collapse.in {
        display: block !important;
    }

    #pageNav div.nav-main-collapse {
        position: relative;
    }

    #pageNav ul.nav > li {
        padding-bottom: 0;
    }

    #pageNav ul.nav > li a {
        color: #333;
    }

    #pageNav ul.nav > li.dropdown.pull-right {
        float: none !important;
    }

    #pageNav ul.nav > li > a {
        padding: 15px;
    }

    #pageMain li {
        display: block !important;
        float: none;
        text-align: left;

        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    #pageMain > li > a {
        text-align: left;
        border: 0;
        border-bottom: rgba(0, 0, 0, 0.1) 1px solid;

        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    #pageMain > li:hover,
    #pageMain > li:hover > a {
        border-top: 0 !important;
    }

    #pageNav ul.nav > li > a:after {
        content: "\f107";
        font-family: FontAwesome;
        position: absolute;
        font-size: 14px;
        right: 20px;
        top: 15px;
        color: #999;
    }

    /* submenu */
    #pageMain ul.dropdown-menu {
        position: static;
        clear: both;
        float: none;
        display: none !important;
        border-left: 0 !important;

        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #pageNav nav.page-main li.resp-active > ul.dropdown-menu {
        display: block !important;
        margin-left: 30px;
        margin-right: 30px;
        padding: 20px 0;
        border-right: 0;
    }

    #pageNav nav.page-main li.resp-active > ul.dropdown-menu li {
        border-left: 0;
    }

    #pageNav ul.nav > li:hover > a:before,
    #pageNav ul.nav > li.active > a:before {
        background-color: transparent;
    }

    #pageNav ul.dropdown-menu > li:hover > ul.dropdown-menu {
        position: static;
    }
}

@media only screen and (max-width: 479px) {
    #pageNav button.btn-mobile {
        margin-right: 4px;
    }
}

/* tables need to scroll on small screens*/
@media only screen and (max-width: 640px) {
    table {
        overflow-x: auto;
        display: block;
    }
}

/* Coummunity site custom styles */

/*
#topNav ul.nav>li a {
    padding-top: 8px;
    padding-bottom: 7px;
    font-size: 1.3em;
}

#topNav ul.nav>li>ul>li a {
    font-size: 1em;
}

#topNav {
    border-top: 0;
    border-bottom: 0;
}
*/

@media only screen and (max-width: 1065px) {
  #topNav ul.nav>li a {
    font-size: 11px;
  }
}

.logo-v4 {
    margin-top: 8px;
    margin-bottom: 4px;
}

.dropdown-icon {
  font-size: 0.8em;
  color: #999;
}

.sidebar-menu .dropdown-icon {
  color: #BF0015;
}

div.feature-box-homepage {
    background: #FAFAFA;
    border: 2px solid #BBB;
    border-radius: 0;
    margin-bottom: 10px;
    margin-top: -30px;
    text-align: left;
}

div.feature-box-homepage h3 {
    margin-bottom: 0;
}

.feature-box-description {
    margin-top: 7px;
}

@media screen and (min-width: 0px) and (max-width: 990px) {
    div.feature-box-homepage {
        margin-top: 0;
    }
}

.box-content.thumbnail {
  max-width: 1280px;
  background: rgba(0,0,0,0);
  border: 1px solid #DDD;
}

.box-content.thumbnail p {
  font-size: 0.9em;
  border-bottom: none;
  height: auto;
}

.homepage-news-container {
    background: #FAFAFA;
    border: 2px solid #BBB;
    border-radius: 0;
    line-height: 150%;
    text-align: left;
    margin-left: 5px;
    margin-right: -5px;
    margin-bottom: 15px;
    padding-top: 15px;
}

.homepage-news-readmore {
    margin-top: 40px;
}

.homepage-news-separator {
    border-top: 1px solid #BBB;
}

.homepage-upload-count {
    font-size: 3em;
    padding: 10px;
    border: 2px solid #BB474A;
}

.home-page-upload-text {
    margin-top: 30px;
}

#body-wrapper {
    background-color: #E2E2E2;
    background-image: url("/pictures/shadow_light.png");
    background-repeat: repeat-x;
    padding-top: 20px;
    /*margin-bottom: 20px;*/
}

@media (max-width: 768px) {
  #body-wrapper {
    background-color: white;
    background-image: url("/pictures/shadow_light.png");
    background-repeat: repeat-x;
    padding-top: 20px;
    /*margin-bottom: 20px;*/
  }
}

.notice-container {
    padding: 5px 10px;
    background-color: #FEE;
}

.user_photo_container {
    position: relative;
    /*height: 100px;
	width:  100px;*/
    height: 96px;
    width: 96px;
    background-color: #FFF;
    border: 1px solid #DDD;
}

.home-page-user-photo-container {
    position: relative;
    height: 96px;
    width: 96px;
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 3px;
}

.recent-activity-item {
    border-top: 1px solid #DDD;
    padding: 8px 0;
    padding-left:10px;
    padding-right:10px;
    min-height:110px;
}

.recent-activities {
    /*margin-top:-15px;
    padding-top:15px;
    padding-bottom:15px;
    background-color:#FAFAFA;*/

    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
}

.home-page-heading {
    /*color: #E83F40;*/
    font-size: 1.3em;
    font-weight: bold;
    line-height: 150%;
    padding: 5px 0 5px 10px;
}

.home-page-section-link {
    padding: 5px 10px 5px 0;
    margin-top: 4px;
}

.home-page-activity-title {
    font-size: 1.3em;
    font-weight: normal;
    line-height: 150%;
}

.home-page-activity-username {
    font-size: 0.8em;
    color: black;
}

.home-page-activity-category-discussion {
    background-color: #EAFAF1;
    padding: 2px 5px;
}

.home-page-activity-category-resource {
    background-color: #FEF5E7;
    padding: 2px 5px;
}

.home-page-activity-category-event {
    background-color: #F4ECF7;
    padding: 2px 5px;
}

.home-page-activity-category-link {
    color: #999;
}

.home-page-pagination {
    border-top: 1px solid #DDD;
    padding: 10px 0 10px 10px;
}

.activity-time {
    margin-top: 10px;
    margin-right: 10px;
}

.news-item-homepage {
  margin-bottom: 30px;
  background-color: #F6F6F6;
}

.news-item-image-container {
  position: relative;
  height: 250px;
  background-position: center;
  background-size: cover;
  background-image: url('/pictures/news_item_background_image.png');
  background-color: white;
  overflow: hidden;
}

.news-item-text-container {
  height: 240px;
  padding: 10px;
}

.news-item-category {
  position: absolute;
  top: 30px;
  right: 20px;
  margin-right: -10px;
  padding: 2px 10px;
  color: white;
  background-color: #E83F40;
  z-index: 10;
}

/* ------- site/door ------- */

.door-upcoming-events,
.door-news,
.door-sidebar-sections {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    padding: 10px 10px 2px 10px;
}

.door-sidebar-sections {
  padding-bottom: 20px;
}

.door-upcoming-event {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #F5F5F5;
}


/* ------- events/index ------ */

.events-header,
.events-list {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    padding: 10px 10px 2px 10px;
}

.events-actions {
    margin-bottom: 5px;
}

.events-filter {
    margin-top: 10px;
    margin-bottom: 0;
}

.events-change-location-label {
    margin-top: 10px;
}

.events-month-block {
    margin-top: 50px;
}

.events-month-block h4 {
    text-align: center;
    margin-bottom: 0;
}

.events-month {
    background-color: #E2E2E2;
    padding: 15px 0 10px 0;
    margin: 0 -15px;
}

.event-left {
    border-right: 1px solid #E2E2E2;
}

.event-right {
    margin-left: -1px;
    border-left: 1px solid #E2E2E2;
}

.event-body {
    padding: 20px 15px 10px 15px;
    /*border: 1px solid #E2E2E2;*/
}

.event-organiser {
    /*background-color: #E2E2E2;*/
    /*border-top: 1px solid #E2E2E2;*/
    margin: 0 -15px;
    padding: 5px 20px;
    border-right: 1px solid #E2E2E2;
    border-bottom: 1px solid #E2E2E2;
    height: 90px;
    overflow: hidden;
}

/* ------- events/show ------ */

.event-container {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    margin-left: 0;
    padding: 20px;
}

.event-title-on-show-page {
    font-size: 1.5em;
    line-height: 28px;
}

.event-image-on-show-page {
    float: right;
    margin-left: 20px;
    margin-right: 20px;
}

.event-actions {
    background-color: #fff;
    padding: 8px;
    border-radius: 3px;
    margin: 0 0 10px 0;
}

.event-description-box {
    width: 90%;
    margin: 0 auto;
    line-height: 1.0em !important;
    border-style: inset;
    border-color: #ccc;
    border-width: 5px;
    padding: 10px
}
.event-description-box p {
    line-height: 1.0em;
}

/* ------- resources/index ------ */

.resource-search,
.resource-featured,
.resource-of-the-week,
.resource-top-picks {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    padding: 10px;
}

.resource-image-container {
  position: relative;
  height: 180px;
  background-position: center;
  background-size: cover;
  background-image: url('/pictures/news_item_background_image.jpg');
  background-color: white;
  overflow: hidden;
}

.resource-title-featured {
  font-size: 1.2em;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 10px
}

/* ------- resources/show ------ */

.resource-content,
.resource-header,
.resource-short-description,
.resource-full-description,
.resource-comment-list,
.resource-disclaimer,
.resource-sidebar-image,
.resource-sidebar-download,
.resource-sidebar-categories,
.resource-sidebar-see-also,
.resource-sidebar-actions {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    padding: 10px 10px 2px 10px;
}

.resource-sidebar-image,
.resource-sidebar-download,
.resource-sidebar-categories,
.resource-sidebar-see-also,
.resource-sidebar-actions {
    padding-bottom: 10px;
}

.resource-sidebar-image {
    padding-left: 2px;
}

.resource-actions {
    padding-top: 10px;
    padding-bottom: 3px;
    float: right;
}

.resource-action-item {
    margin-left: 10px;
    padding: 2px 5px;
    border: 1px solid;
}

.hidden-resource-notice {
    color: red;
}

.resource-content h1 {
    font-size: 2.1em;
    margin: 10px 0;
}

.resource-content h2 {
    font-size: 1.8em;
    margin: 10px 0;
}

.resource-content h3 {
    font-size: 1.5em;
    margin: 10px 0;
}

.resource-content h4 {
    font-size: 1.3em;
    margin: 10px 0;
}

.resource-content h5 {
    font-size: 1.1em;
    margin: 10px 0;
}

.resource-content h6 {
    font-size: 1.0em;
    margin: 10px 0;
}

#categories-summary span {
    font-size: 11px;
    display: block;
    margin-top: 3px;
    margin-bottom: 2px;
}

.ui-widget-content {
    border: 1px solid #aaa;
    background: #fff url(/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100-d18e8affeba7ab0c6d4dcdd2477c53bb.png) 50% 50% repeat-x;
    color: #222;
}

/* ------- resource/history ------- */

.resource-history-list {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    padding: 10px 10px 2px 10px;
}

/* ------- resource/index ------- */

.resource-index-category-list,
.resource-index-actions,
.resource-index-content {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    padding: 10px;
}

.resource-index-actions {
    padding: 5px 0 2px 10px;
}

.resource-item {
    padding: 8px 0;
}

.resource-item-title {
    font-size: 1.2em;
}

.resource-item-text {
    font-size: 0.9em;
    color: #333;
}

/* ------- resource/new, edit ------- */

.resource-edit-left,
.resource-edit-right {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    padding: 10px;
}

.resource-edit-right {

}

.resource-edit-sidebar-image {
    margin-left: -9px;
}

/* ------- collections ------- */

.collection-item {
  border: 1px solid #DDD;
  padding: 10px;
  margin-bottom: 30px;
}

/* ------- forums/show ------ */

.topic-list-container {
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
}

.topic-list-header {
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
}

.topic-list-stickies {
    background-color: #FAFAFA;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
}

.topic-list-body {
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
}

.topic-item {
    margin: 5px 0;
    padding: 5px 15px 15px 5px;
}

.topic-title {
    font-size: 1.3em;
    font-weight: normal;
    line-height: 150%;
}

.topic-mist {
    font-size: 0.8em;
    color: #999;
}

.topic-reply-count {
    float: right;
    margin-top: 19px;
    margin-right: 5px;
    padding: 0 15px;
    background-color: #AAB0C6;
    color: #FFF;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.forum-description {
    font-size: 1.1em;
    margin-top: 10px;
    margin-bottom: 10px;
}

.forum-new-topic {
    margin-top: 5px;
    margin-bottom: 15px;
}

.forum-new-topic form {
    padding-left: 0;
}

/* ------- topics/show ------ */

.topic-post-container {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
}

.topic-post-header {
    padding: 10px 20px 10px 0;
}

.topic-post-body {
    margin-top: 10px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.topic-post-footer {
    font-size: 0.9em;
    text-shadow: 0px 1px 0px #fff;
    padding: 5px 10px 5px 20px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    background: #eeeeee;
    background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc));
    background: -webkit-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
    background: -o-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
    background: -ms-linear-gradient(top, #eeeeee 0%, #cccccc 100%);
    background: linear-gradient(to bottom, #eeeeee 0%, #cccccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);
}

.post-separator {
    margin-left: -15px;
    margin-right: -15px;
    border-top: 1px solid #DDD;
}

.topic-post-title {
    font-size: 1.8em;
    font-weight: normal;
    line-height: 150%;
    color: #333;
}

.topic-post-author {
    font-size: 0.9em;
    color: #666;
}

.topic-post-mist {
    margin-right: 20px;
}

.topic-post-mist-text {
    color: #999;
}

.topic-post-mist-icon {
    font-size: 1.2em;
}

.topic-new-form {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
    padding-top: 15px;
}

.replies-container {
    background-color: #fff;
    border-radius: 3px;
    text-align: left;
    margin-bottom: 15px;
    padding-bottom: 20px;
}

.replies-status {
    padding-top: 5px;
    padding-bottom: 5px;
    color: #999;
}

.reply-post {
    padding-top: 10px;
}

.reply-author {
    padding-bottom: 15px;
}

.reply-field-container {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
}

/* ------ sidebar ------ */

.home-page-sidebar {
    padding-bottom: 15px;
}

.sidebar-section {
    background-color: #FFF;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}

.sidebar-counts {
    margin-top: 10px;
    text-align: center;
    color: #666;
    font-size: 1.5em;
}

.sidebar-counts-text {
    color: #AAA;
    font-size: 0.6em;
    margin-bottom: 0;
}

.sidebar-separator {
    margin-left: -10px;
    margin-right: -10px;
    margin-top: 10px;
    border-top: 1px solid #DDD;
}

.sidebar-notice {
    color: #AAA;
    font-size: 0.85em;
    padding-top: 5px;
}

.sidebar-notice a {
    color: #AAA;
}

.sidebar-menu {
    color: #E83F40;
    cursor: pointer;
    cursor: hand;
}

.sidebar-headings {
    color: #E83F40;
}

.sidebar-news-item {
    font-size: 0.85em;
    line-height: 15px;
    padding-top: 10px;

}

.sidebar-news-item a {
    color: #666;
}

.user_photo {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.alert-item {
  color: #333;
  font-size: 1.2em;
}

.alert-item a {
  color: #E83F40;
}

/* ------ private messages ------ */

.pm-conversation-item {
    border: 1px solid #DDD;
    padding: 5px 10px;
    margin: 10px 0;
}

.pm-conversation-item {
    display: block;
    color: #000;
}

.pm-conversation-item:hover {
    display: block;
    text-decoration: none;
}

.unread {
    background-color: #F5F5F5;
}

.pm-item-container {
    border: 1px solid #DDD;
    padding: 5px 10px;
    margin: 10px 0;
}

.pm-item-self {
    background-color: #F5F5F5;
}

.pm-timestamp {
    float: right;
    font-size: 0.8em;
    color: #999;
}

.pm-message-body {
    white-space: pre-wrap;
}

.pm-message-body-system {

}

.concern-item {
    margin: 5px 0;
    /* border: 1px solid #DDD; */
    padding: 5px 15px 15px 5px;
}

.concern-item-report-note,
.concern-item-content,
.concern-item-mod-note {
    margin: 5px 5px 20px 5px;
    padding: 5px;
    background-color: #F5F5F5;
}

/* ------ post items ------ */

.post-page-role-list {
    font-size: 8px;
    color: gray;
    list-style-type: none;
    padding-left: 0px;
    margin: 0;
    padding-bottom: 10px;
}

.post-page-role-list > li {
    line-height: 12px;
}

.post-item-on-index-page {
    margin: 5px 0;
    border-bottom: 1px solid #DDD;
    padding: 5px 15px 15px 5px;
}

.post-item-on-show-page {
    margin: 5px 0;
    border-top: 1px solid #DDD;
    padding: 15px 15px 15px 5px;
}

.post-main-text {
    min-height: 100px;
}

.post-main-text p {
  color: black;
}

.post-main-text a {
    text-decoration: underline;
}

.quarter-margins {
    margin: 15px 0;
}

.no-margins {
    margin: 0;
}

.post-mist > .post-time {
    background-color: #FAFAFA;
    padding: 8px;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.post-actions {
    /* background-color: #FAFAFA; */
    padding: 8px;
    margin-bottom: 10px;
}

.post-actions > .post-action {
    font-size: 0.9em;
}

.post-actions > .post-action > a {
    color: #999;
}

.post-mist > #vote-wrap .post-vote {
    /* background-color: #FAFAFA; */
    padding: 8px;
}

.post-vote > .post-like-count {
    margin-right: 15px;
}

.post-vote > .vote-link {
    font-size: 0.9em;
}

.post-vote > .vote-link > a {
    /* color: #666; */
}

span.discussionTitle {
    font-size: 1.4em;
}

.vote {
    font-size: 0.8em;
    text-align: right;
    clear: both;
}

.vote-link a {
    color: #999;
}

#posting-guidelines ol > li {
    font-weight: normal;
    font-size: 1em;
}

/* #topNav form.search {
    margin-right: 9px;
}

#search-box {
    position: absolute;
    width: 220px;
    right: -5px;
    top: 33px;
}

.search {
    width: 200px;
    max-width: 0;
    padding: 5px;
    transition: all .5s ease;
    position:absolute;
    right:0px;
    box-sizing:border-box;
    opacity:0;
}

.search.expanded {
    max-width:200px;
    opacity:1;
}

#search-icon {
    width: 20px;
    height: 20px;
    background: red;
    position: absolute;
    right: 0;
} */

.menu-icon {
    font-size: 1.3em;
}

.greyed-out {
    color: #DDD;
}

.footer-text {
    color: #777;
}

/* ------ pagination ------ */

.pagination {
    margin: 5px 0 2px 0;
}

.digg_pagination {
    background: white;
    cursor: default;
    /* self-clearing method: */
}

.digg_pagination a, .digg_pagination span, .digg_pagination em {
    padding: 0.2em 0.5em;
    display: block;
    float: left;
    margin-right: 1px;
}

.digg_pagination .disabled {
    color: #DDD;
    border: 1px solid #DDD;
}

.digg_pagination .current {
    font-style: normal;
    font-weight: bold;
    background: #E83F40;
    color: white;
    border: 1px solid #E83F40;
}

.digg_pagination a {
    text-decoration: none;
    color: #AAA;
    border: 1px solid #AAA;
}

.digg_pagination a:hover, .digg_pagination a:focus {
    color: #E83F40;
    border-color: #E83F40;
}

.digg_pagination .page_info {
    background: #2e6ab1;
    color: white;
    padding: 0.4em 0.6em;
    width: 22em;
    margin-bottom: 0.3em;
    text-align: center;
}

.digg_pagination .page_info b {
    color: #000033;
    background: #6aa6ed;
    padding: 0.1em 0.25em;
}

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

* html .digg_pagination {
    height: 1%;
}

*:first-child + html .digg_pagination {
    overflow: hidden;
}

@keyframes flashing {
    from {
        background-color: yellow;
    }
    to {
        background-color: #E83F40;
    }
}

.new-message-notice {
    padding: 2px 5px;
    background: #E83F40;
    animation-name: flashing;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.new-message-notice a {
    color: white;
}

/* ------ User pages ------ */

.user-profile-header {
    background-color: #fff;
    padding: 20px 10px 10px 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    margin-left: 0;
    margin-right: 0;
}

.user-profile-about-yourself {
    background-color: #fff;
    padding: 10px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-left: 0;
    margin-right: 0;
}

.profile-page-user-photo-container {
    position: relative;
    height: 128px;
    width: 128px;
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 3px;
}

.profile-page-user-name {
    font-size: 1.5em;
    font-weight: bold;
}

.profile-page-timestamps {
    font-size: 0.9em;
    color: #AAA;
}

.user-profile-actions {
    background-color: #fff;
    padding: 8px;
    border-radius: 3px;
    margin: 10px 0;
}

.user-profile-actions-top {
    margin-top: 0;
}

.user-profile-location {
    background-color: #fff;
    border-radius: 3px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
}

.user-profile-nearest {
    /* padding: 0 0 10px 23px; */
}

.user-profile-recent-activities {
    background-color: #fff;
    border-radius: 3px;
    margin: 10px 0;
}

.user-profile-recent-activities-heading {
    font-size: 1.2em;
    padding-top: 5px;
    padding-bottom: 5px;
}

.user-profile-recent-activities-heading a {
    font-size: 0.7em;
}

.user-profile-recent-activity-item {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
}

.user-profile-hub-assignment {
    background-color: #fff;
    border-radius: 3px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    padding-top: 10px;
}

.edit-user-section {
    background-color: #fff;
    border-radius: 3px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    padding: 15px 20px;
}

.no-padding {
    padding: 0;
}

.ban-form {
    font-size: 0.8em;
}

#ban_date {
    margin-bottom: 0;
    line-height: 13px;
}

/* ------ End of User pages ------ */

/* ------ Search pages ------ */

.search-result-item {
  padding-top: 20px;
  padding-bottom: 20px;
}

.search-result-item em {
  background-color: #F00;
}

.search-query-container, .search-results-container {
    background-color: #fff;
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 10px;
}

.search-results-container {
  padding: 8px;
}

.search-switch-bar, .search-paginate-bar {
    background-color: #fff;
    padding: 8px;
    border-radius: 3px;
    margin: 0 0 10px 0;
}

/* ------ End of Search pages ------ */

/*Admin views*/
.admin-actions {
    background-color: #fff;
    padding: 8px;
    border-radius: 3px;
    margin: 10px 0;
}

.admin-actions-top {
    margin-top: 0;
}

.admin-header {
    background-color: #fff;
    padding: 20px 10px 10px 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    margin-left: 0;
    margin-right: 0;
}

.custom-page-actions {
    background-color: #fff;
    padding: 8px;
    border-radius: 3px;
    margin: 10px 0;
}

.custom-page-actions-top {
    margin-top: 0;
}

.custom-page-actions-group {
    margin-top: 0;
    background-color: white;
    padding: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.custom-page-actions-single {
    margin-top: 0;
    /*background-color: white;*/
    margin-right: 5px;
    /*border-radius: 3px;*/
    /*color: #777;*/
}

.custom-page-actions-item {
    margin-top: 0;
    /*border-color: darkgrey;*/
    /*border-width: thin;*/
    /*border-radius: 3px;*/
    margin-right: 5px;
}

.form-section {
    background-color: #fff;
    border-radius: 3px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    padding: 15px 20px;
}

.header-section {
    background-color: #fff;
    border-radius: 3px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    padding: 15px 20px;
}

.page-list-row {
    border: 1px solid #CCC;
    margin-top: -1px;
    padding-top: 10px;
}

.first-level-pages {
    background-color: #FAFAFA;
}

/* ------ Workshops ------ */

.workshop {
  padding: 10px;
  border: 1px solid #CCC;
  margin-top: -1px;
}

.key-stage-true {
  font-size: 0.8em;
  padding: 2px 5px;
  border: 1px solid #CCC;
  background-color: #E83F40;
  color: white;
}

.key-stage-false {
  font-size: 0.8em;
  padding: 2px 5px;
  border: 1px solid #CCC;
  color: #999;
}

.workshop-booking-user-profile {
  padding: 10px;
  border: 1px solid #CCC;
  margin-bottom: 20px;
}

/* School Review Tool*/

#survey-index button.list-group-item {
    border-radius: 10px;
    border-width: 3px;

}

button.list-group-item#srt_element_a {
    border-color: #18e306;
    background-color: #cce3a2;
}
div.list-group-item#srt_element_a {
    background-color: #cce3a2;
}

button.list-group-item#srt_element_b {
    border-color: #e301a0 !important;
    background-color: #e3bdd5 !important;
}

button.list-group-item#srt_element_c {
    border-color: #e38202;
    background-color: #e3ccbb;
}

button.list-group-item#srt_element_d {
    border-color: #021ee3 !important;
    background-color: #b5bbe3 !important;
}

button.list-group-item#srt_element_e {
    border-color: #e3010a !important;
    background-color: #e3c7c8 !important;
}

button.list-group-item#srt_element_f {
    border-color: #dde301 !important;
    background-color: #e3e0c2 !important;
}

.radio-input-hidden {
    position: absolute;
    left: -9999px;
}

label img {
    pointer-events: none;
}

label {
    display: inline-block;
}

input[type=radio]:checked + label > img {
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(../images/greentick.png) no-repeat;
}

/*--- Master Teachers ---*/
.mt-list-container {
    border-radius: 3px;
    line-height: 150%;
    text-align: left;
    margin-bottom: 15px;
}

.mt-list-header {
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
}

.mt-list {
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
    margin: 3px 0;
}

.mt-list-separator {
    margin-left: 5px;
    margin-right: 5px;
    border-top: 1px solid #DDD;
}

.mt-title {
    font-size: 14px;
    margin-top: 12px;
    padding-top: 12px;
}

.mt-item {
    background-color: #fff;

    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;

    border-radius: 3px;
}

.list-separator {
    margin-left: -15px;
    margin-right: -15px;
    border-top: 1px solid #DDD;
}
