/*
 *---------------------------------------------------------------
 * DEVELOPMENT UTILITIES - REMOVE BEFORE GOING LIVE
 *---------------------------------------------------------------
 * Move this into its own stylesheet...
 */
/*
html:after {
    background: red;
    padding: 5px;
    content: '< 30em';
    font-size: 0.7em;
    position: fixed;
    color: #FFFFFF;
    z-index: 999;
    left: 0;
    top: 0;
}

@media screen and (min-width: 30.375em) {
    html:after {
        content: '> 30em';
    }
}

@media screen and (min-width: 40.375em) {
    html:after {
        content: '> 40em';
    }
}

@media screen and (min-width: 56.875em) {
    html:after {
        content: '> 56em';
    }
}

@media screen and (min-width: 61.5625em) {
    html:after {
        content: '> 61em';
    }
}
*/

/*
 *---------------------------------------------------------------
 * LAYOUT & UTILITIES
 *---------------------------------------------------------------
 *
 */
/*:root {
    --e-global-color-09d3610: #1678BD;
    --e-global-color-55e64a1: #F3D327;
}*/
html {
    box-sizing: border-box;
    height: 100%;
    font-size: 100%;
}

body {
    /*font-size: 0.75em;*/ /*12px*/
    /*font-size: 0.875em;*/ /*14px*/
    /*font-size: 1em;*/ /*16px*/
    color: #1a321a;
	font-family: 'Archivo', sans-serif;
}

::selection {
    background-color:#333;
    color:#fff;
}

*, *:before, *:after {
    box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.clear:before, .clear:after {
    content:'';
    display:table;
}

.clear:after {
    clear:both;
}

.fl {
    float:left;
}

.fr {
    float:right;
}

.hidden {
    display: none;
}

.w90 {
    width:90%;
}

.w80 {
    width:80%;
}

.w75 {
    width:75%;
}

.w70 {
    width:70%;
}

.w60 {
    width:60%;
}

.w50, .half {
    width:50%;
}

.w40 {
    width:40%;
}

.w33-3, .third {
    width:33.3333333%;
}

.w30 {
    width:30%;
}

.w25, .quarter {
    width:25%;
}

.w20, .fifth {
    width:20%;
}

.w16-6, .sixth {
    width:16.6666666%;
}

.w12-5, .eighth {
    width:12.5%;
}

.w10, .tenth {
    width:10%;
}

.w5 {
    width: 5%;
}

.padded {
    padding: 2em 1em;
}

/*
 *---------------------------------------------------------------
 * A TAG RESET
 *---------------------------------------------------------------
 *
 */
a:link {
    text-decoration: none;
    color:#1377bb;
}

a:visited {
    text-decoration: none;
    color:#2c82c9;
}

a:hover {
    text-decoration: none;
    color: #00afd8;
}

a:active {
    text-decoration: underline;
}

/* Stop iPhone changing numbered links to telephone numbers */

a[href^=tel] {
    text-decoration:inherit;
    color: inherit;
}



/*
 *---------------------------------------------------------------
 * DEFAULT TEXT COLOURS
 *---------------------------------------------------------------
 *
 */
h1 {
    color:#1377bb;
    font-weight: normal;
}

h2 {
    color: #bb1cc9;
}

h3 {
    color: #1377bb;
    font-weight: normal;
}

h4 {
    color: #8913c9;
}

.txtBlack {
    color: #000;
}

.txtWhite {
    color: #fff;
}

.txtGrey {
    color: #666;
}

.txtBlue {
    color:#2c82c9;
}

.txtPurple {
    color: #bb1cc9;
}

.txtGreen {
    color: #13c975;
}

.txtRed {
    color: #c92a12;
}

.txtCenter {
    text-align: center;
}

.txtRight {
    text-align: right;
}

/*
 *---------------------------------------------------------------
 * DEFAULT BACKGROUND COLOURS
 *---------------------------------------------------------------
 *
 */
.bgBlack {
    background-color: #000;
}

.bgWhite {
    background-color: #fff;
}

.bgGrey {
    background-color: #666;
}

.bgBlue {
    background-color:#2c82c9;
}

.bgPurple {
    background-color: #bb1cc9;
}

.bgGreen {
    background-color: #13c975;
}

.bgRed {
    background-color: #c92a12;
}



/*
 *---------------------------------------------------------------
 * DEFAULT FORMS
 *---------------------------------------------------------------
 *
 */
fieldset {
    border: none;
    padding: 0;
}

label {
    padding: 0.5em 0;
    display: inline-block;
    color: #666;
}

input, select, textarea {
    border:1px solid #d1d1d1;
    width:100%;
    padding: 1em;
    outline: none;
    transition: box-shadow 0.30s ease-in-out;
    /*transition: border 0.30s ease-in-out;*/
}

textarea {
    resize: none;
}

select {
    background: transparent url('../assets/downArrow.svg') no-repeat right;
    background-size: contain;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 2px rgba(81, 203, 238, 1);
    /*border:1px solid rgba(81, 203, 238, 1);*/
}

input[type="submit"] {
    width:30%;
    margin: 1em 0;
    background-color:#1377bb;
    color: #fff;
    transition: background-color 0.8s ease;
}

input[type="submit"]:hover {
    background-color: #00afd8;
    text-decoration: none;
}

/* CHECKBOX AND RADIO */
/* Customize the label (the container) */
.chkRdLabel {
    display: block;
    position: relative;
    padding-left: 2em;
    padding-top: 0.1em;
    margin-bottom: 0.5em;
    cursor: pointer;
    /*font-size: 22px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.chkRdLabel input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.customCheckbox, .customRadio {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5em;
    width: 1.5em;
    background-color: #eee;
}

.customRadio {
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.chkRdLabel:hover input ~ .customCheckbox,
.chkRdLabel:hover input ~ .customRadio {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.chkRdLabel input:checked ~ .customCheckbox,
.chkRdLabel input:checked ~ .customRadio {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.customCheckbox:after,
.customRadio:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.chkRdLabel input:checked ~ .customCheckbox:after,
.chkRdLabel input:checked ~ .customRadio:after {
    display: block;
}

/* Style the checkmark/indicator */
.chkRdLabel .customCheckbox:after {
    left: 0.6em;
    top: 0.35em;
    width: 0.3em;
    height: 0.6em;
    border: solid white;
    border-width: 0 0.2em 0.2em 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Style the indicator (dot/circle) */
.chkRdLabel .customRadio:after {
    top: 0.42em;
    left: 0.45em;
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    background: white;
}

/* END CHECKBOX AND RADIO */

::-webkit-input-placeholder {
    color: #d1d1d1;
}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
    color: transparent;
}

::-moz-placeholder {
    color: #d1d1d1;
}

input:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
    color: transparent;
}

:-ms-input-placeholder {
    color: #d1d1d1;
}

input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder {
    color: transparent;
}

.error input, .error textarea {
    outline:1px solid #b8312f;
}

.field_error {
    color: #9d9d9d;
    font-size: 0.6em;
    margin: 0.5em 0;
}


/*
 *---------------------------------------------------------------
 * TABLES
 *---------------------------------------------------------------
 *
 */
table {
    padding:0.4em;
}

tr:nth-child(odd) {
    background: #f9f9f9;
}

th, td {
    border: 1px solid #d1d1d1;
    padding:0.6em;
    vertical-align: top;
}



/*
 *---------------------------------------------------------------
 * RESPONSIVE NAVIGATION (BURGER)
 *---------------------------------------------------------------
 *
 */
.menuIcon {
    position: relative;
    float:right;
    width: 2em;
    height: 1.25em;
    margin-top: 1em;
    margin-right: 0;
    border-top: 0.1em solid #000;
    border-bottom: 0.1em solid #000;
    cursor: pointer;
}

.menuIcon:before {
    content: '';
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 100%;
    border-top: 0.1em solid #000;
}



/*
 *---------------------------------------------------------------
 * RESPONSIVE SLIDER JS PLUGIN
 *---------------------------------------------------------------
 *
 */
.jsSlides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.jsSlides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.jsSlides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.jsSlides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

/*
 *---------------------------------------------------------------
 * LIVE SEARCH
 *---------------------------------------------------------------
 *
 */

.searchBox {
    background-color: #666;
    width:100%;
    text-align: center;
    display: none;
    height:54px;
    opacity: 0.8;
    pposition: fixed;
    z-index: 999;
}
.searchBox input {
    width:60%;
    margin: 10px auto;
    padding: 6px;
}

.closeSearch {
    float:right;
    padding:10px 20px;
    margin: 2px;
    cursor: pointer;
}

.liveSearch {
    background-color: #666;
    left: -9999px;
    min-height: auto;
    position: relative;
    top:54px;
    z-index: 999;
}

.liveSearch.active {
    background-color: #666;
    overflow: scroll;
    min-height: 100%;
    left: auto;
    opacity: 0.9;
}



/*
 *---------------------------------------------------------------
 * SITE SPECIFIC CONTENT
 *---------------------------------------------------------------
 *
 */
.mainHeader {
    background-color: #e6e6e6;
    border-bottom: 1px solid #d9d6d6;
    /*background-color: transparent;
    background-image: linear-gradient(90deg, var(--e-global-color-09d3610) 0%, var(--e-global-color-55e64a1) 100%);

     */
}

.mainHeader nav {
    float:right;
}

.mainHeader .wrap {
    display: flex;
    justify-content: right;
    background: url("/application/themes/default/assets/logo.png") no-repeat left bottom;
    background-size: auto 40px;
}

.mainMenu {
    padding: 1em 0;
    margin: 0;
}

.mainMenu li {
    display: inline-block;
    list-style: none;
    margin-right: 0.5em;
}

.content {
    padding: 1em 0;
}

.footer {
    border-top: 1px solid #d9d6d6;
    text-align: right;
    padding: 1em 0;
}

/*
 *---------------------------------------------------------------
 * RESPONSIVE 30.375em AND WIDER
 *---------------------------------------------------------------
 *
 */

@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

@media screen and (min-width: 30.375em) {
    .menuIcon {
        display: none;
    }
}

@media screen and (min-width: 40.375em) {

}

@media screen and (min-width: 56.875em) {

}

@media screen and (min-width: 61.5625em) {

    .wrap {
        max-width: 1260px;
        margin: 0 auto;
    }
}
