/*
Stylesheet for any additional styles that are required by the content team after the build.
All selectors should be prefixed with .content__region to avoid conflicts.
This file should not be compiled from sass.
*/

/*** The Croft Preparatory School ***/

/***** TABLE SCROLLING *****/


.content .table__container
{  
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #fff;
    border-image: none;
    border-style: solid;
    border-width: 1px 1px 0px; 
    margin: 1em auto 1em;
    overflow-y: auto;
    width: 100%;
}

.content .table__container::-webkit-scrollbar
{
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
}

.content .table__container::-webkit-scrollbar-thumb
{
    border-radius: 8px;
    border-bottom: 3px solid #fff !important;
    background-color: rgba(0, 0, 0, .3);
}


/****** END ********/


/***** TABLE BACKGROUND 
.content__region .table__background table {
  border: 10px solid #3E60A3;
  border-radius: 2px;
}*****/

/***** TABLE BACKGROUND *****/
.content__region .table__background {
    background-color: #B70050;
    border-radius: 3px;
    padding: 5px;
}


/****** END ********/

/***** TABLE 1 STYLING *****

.content__region .table__container table {
   /*border: medium none;*
}

.content__region .table__container table tbody {
  border: none;
}

.content__region .table__container table thead tr {
    border: none;
} 

.content__region .table__container table thead th {
    background-color: #B70050;
    border: medium none;
    padding-left: 10px;
}

.content__region .table__container table tr th {
    background-color: #B70050;
    color: #fff; 
    text-align: left; 
    border: medium none;
}

.content__region .table__container table tr th p {
    margin: 0 5px;
    color: #fff;
}

.content__region .table__container table tr th a {
    color:#fff; 
    text-decoration: none;
}

.content__region .table__container table tr {
    border-bottom: 1px solid #fff;
    vertical-align: top;
}

**/

.content__region .table__container table tbody td {
    background: none;
    border: medium none;
    padding: 4px 10px;
    box-shadow: inset 2px 0 0 0px #fff;
}

.content__region .table__container table tbody td p {
    margin: 2px 0;
}

/***** COLOURED TABLE ROWS *****/

.content__region .table__container table tbody tr:nth-child(odd) {
    background: #f8f8f8;
}

.content__region .table__container table tbody tr:nth-child(even) {
    background: #ededed;
}

/***** COLOURED TABLE COLUMNS *****/

.content__region .table__container table.column1  td:nth-child(1) {
    background: #00853C;
    color: #fff;
}

.content__region .table__container table.column6  td:nth-child(6) {
    background: #FFFAE8;
}

.content__region .table__container table.column7  td:nth-child(7) {
    background: #FFFAE8;
}

/***END***/

.content__region .small_table_text {font-size: 80%;}

/*****Table column adjust*****/

.content__region .table__container .col1 {
    min-width: 120px !important;
    width: 48%;
}
.content__region .table__container .col2 {width:33%;}


.content__region .table__container .col3 {width:20%;} 




/*****Table column adjust*****/

.content__region .table__container2 .col1 {
    min-width: 150px;
    width: 48%;
}
.content__region .table__container2 .col2 {width:30%;}


.content__region .table__container2 .col3 {width:15%; min-width: 120px; color:#fff;} 


.content__region .image_adjust {
    margin-top: 10px;
}



/*** Button link alteration ***

.content__region .button__link {
    display: inline-block;
}

.content__region .button__link.button__width {
    width: 100%;
    margin-bottom: 10px;
}

.content__region .button__link.button__position {
    margin-top: 20px;
}


.content__region .template--accordion h2.template--accordion__title {
    margin-top: 2px;
}
**/

.content__region .button__link a {
    border: 2px solid #B70050;
    background: none;
    color: #B70050;
}

