/* Main colour styles */

/*Green: #3E5B5B
Red Accent colour: #962842
Grey: #585858
    */
body {
    color: #585858;
}
.g-bg-primary {
    background-color: #3e5b5b !important;
}

.g-bg-secondary {
    background-color: #962842 !important;
}

.g-color-primary {
    color: #3e5b5b !important;
}

input[type="checkbox"]:checked + .g-bg-primary--checked, input[type="radio"]:checked + .g-bg-primary--checked, input[type="checkbox"]:checked + * .g-bg-primary--checked, input[type="radio"]:checked + * .g-bg-primary--checked {
    background-color: #3e5b5b !important;
}

.g-color-secondary {
    color: #962842 !important;
}

.u-block-hover:hover .g-color-primary--hover, .g-color-primary--hover:hover 
{
    color: #962842 !important;
    text-decoration:underline;
}

.g-brd-primary {
    border-color: #3e5b5b !important;
}

.g-brd-secondary{
    border-color: #962842 !important;
}

.nav-link:hover 
{
    color: #962842 !important;
}

::selection {
    background: #962842; /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: #962842; /* Gecko Browsers */
}

/*.post-summary__image:hover
{
    opacity: 0.5;
}*/

.u-btn-primary {
    color: #fff;
    background-color: #3e5b5b;
}

.u-btn-primary:hover {
    color: #3e5b5b;
    border-color: #3e5b5b;
    background-color: transparent;
}

.u-btn-secondary {
    color: #fff;
    background-color: #962842;
}


.u-nav-v1-1.u-nav-primary .nav-link.active {
    color: #fff;
    background-color: #3e5b5b;
}

.u-nav-v1-1.u-nav-secondary .nav-link.active {
    color: #fff;
    background-color: #962842;
}

.u-nav-v1-1.u-nav-secondary .nav-link.active:hover 
{
    background-color: #ccc;
}

.u-go-to-v1:hover 
{
    background-color: #962842;
}

/* NEWS FILTER*/
.filter__radio {
    display: block;
    height: 1px;
    opacity: 0;
    visibility: hidden;
    width: 1px;
}

.filter__label {
    display: block;
    margin: 0 10px;
    position: relative;
}

.filter__list {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 621px){

    .filter__list {
        display: inline-block;
    }
}

.filter__label:hover {
    cursor: pointer;
}

.filter__label {
    display: block;
    margin: 0 10px;
    position: relative;
}

.filter__wrapper {
    padding: 0 0 12px;
}

.filter__radio:checked + .filter__label:after {
    background-color: #962842;
    bottom: -7px;
    content: "";
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    width: 100%;
}

.filter__label:hover:after {
    background-color: #962842;
    bottom: -7px;
    content: "";
    display: block;
    height: 3px;
    left: 0;
    position: absolute;
    width: 100%;
}

*, :after, :before {
    box-sizing: border-box;
}

.filter__item {
    display: inline-block;
    margin: 0 0 8px;
}

/* GENERAL */

.ncetmBreadcrumb 
{
    margin-top: 10px;
}

/* TAGS */
.u-btn-secondary 
{
    color:white;
    background-color: #962842 !important;
}

.u-btn-outline-primary {
    color: #3e5b5b;
    border-color: #3e5b5b;
    background-color: transparent;
}

.u-btn-outline-secondary {
    color: #962842;
    border-color: #962842;
    background-color: transparent;
}

/* HOME PAGE INTRO BLOCK */
.homepageIntroBlockIconHeader {
    font-size: 1.4em;
}

/*.ncetmRtf img {
    box-shadow: 5px 5px grey;
}*/

a {
    color: #962842;
}

a:hover {
    color: #962842;
}

ul.relatedLinks {
    list-style-type: none;        
    padding-left: 0px;
}

.resourceSidebar .sidebarSection {
    margin-bottom: 20px;
}

.ncetmblock h2 {
    margin-top: 12px;
    margin-bottom: 6px;
}

.relatedLinks li
{
    margin-bottom: 12px;
}

/* National Curriculum settings */
table.nationalCurriculumMatrix > tbody > tr > td:nth-child(2) > a {
    color: #dc3545!important;
}

table.nationalCurriculumMatrix > tbody > tr > td:nth-child(3) > a {
    color: #fd7e14 !important;
}

table.nationalCurriculumMatrix > tbody > tr > td:nth-child(4) > a {
    color: #ffc107 !important;
}

table.nationalCurriculumMatrix > tbody > tr > td:nth-child(5) > a {
    color: #28a745 !important;
}

table.nationalCurriculumMatrix > tbody > tr > td:nth-child(6) > a {
    color: #17a2b8 !important;
}

table.nationalCurriculumMatrix > tbody > tr > td:nth-child(7) > a {
    color: #20c997 !important;
}

table.nationalCurriculumMatrix > tbody > tr > td:nth-child(8) > a {
    color: #6610f2 !important;
}

.list-inline-item .u-btn-secondary:hover {
    color: white;
    background-color: #962842 !important;
}

.list-inline-item .u-btn-bluegray:hover{
    color: #ffffff;
    background-color: #3e5b5b;
    text-decoration: none;
}

.u-check input[type="checkbox"]:checked + .u-check-icon-font i, .u-check input[type="checkbox"]:checked + * .u-check-icon-font i, .u-check input[type="radio"]:checked + .u-check-icon-font i, .u-check input[type="radio"]:checked + * .u-check-icon-font i {
    color: #962842 !important;
}

.g-brd-primary--hover:hover {
    border-color: #962842 !important;
}

.bg-ncetm-header
{
    background-color: #585858;
}

large, .large {
    font-size: 1.125em;
  }
  
.hover-shadow:hover{
    box-shadow: 0 .375rem 1.5rem 0 rgba(140,152,164,.125)!important;
}