@media (min-width: 768px) {
    #mainBody {
        padding-right: 0px;
    }
}

@media (max-width: 767px)
{
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color:white;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
        color: white;
        text-transform: none;
    }
}

.pnlVenueListItem:hover {
    cursor: pointer;
}

.navbar-default {
    font-size: 13px;
}

.crm-menu-image {
    height: 40px;
    width: 40px;
    border: solid black 1px;
    border-radius: 50%;
    font-size: 20px;
    padding-left: 9px;
    margin: 5px;
}
.crm-menu-image a {
    text-transform:none;
    color:black !important;
}

    .crm-menu-image a:hover {
        color: grey !important;
        cursor: pointer;
    }

.crm-menu-task-count {
    border: solid 1px black;
    font-size: 12px;
    text-align: center;
    float: right;
    border-radius: 10px;
    height: 20px;
    width: 20px;
    position: relative;
    background-color: orange;
    color: black;
    top: -3px;
}

.user-menu-image
{
    height: 40px;
    width: 40px;
    border: solid black 1px;
    border-radius: 50%;
    font-size: 20px;
    padding-left: 9px;
    padding-top: 5px;
    margin: 5px;
}

.user-menu-image:hover
{
    color:grey;
    cursor:pointer;
}

.user-menu-help {
    height: 40px;
    width: 40px;
    border: solid black 1px;
    border-radius: 50%;
    font-size: 25px;
    padding-left: 7px;
    padding-top: 5px;
    margin: 5px;
}

    .user-menu-help a {
        text-transform: none;
        color: black !important;
    }

    .user-menu-help a:hover {
        color: grey !important ;
        cursor: pointer;
    }


.user-menu
{
    display:none; /*hidden by default*/
    width: 200px;
    border: solid black 1px;
    position: absolute;
    right: 0px;
    background: #3852A9;
    color:white;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;
    z-index: 1;
}

.user-menu-image:hover 
{
    display:block;
}

.user-menu-header
{
    text-align:center;
    color: grey;
}

.user-menu-header hr
{
    padding-top: 5px;
    border: 0;
    border-top: 1px solid #666;
    margin-top: 0px;
    margin-bottom: 0px;
}

.user-menu-top-arrow
{
    width: 0px;
    height: 0;
    border-style: solid;
    border-width: 0 5px 8.7px 5px;
    border-color: transparent transparent #000 transparent;
    position: absolute;
    top: -10px;
    right: 19px;
}

.user-menu li
{
     list-style-type: none;
     padding-top:10px;
}

.user-menu li a
{
    color: #fff;
    text-decoration:none;
}


textarea {
    resize: none;
}

.contact-search-status {
    float: right;
    font-size: 18px;
    margin-top: -2px;
}

.contact-search-status.Active {
    color: #4E8A10;
}

.panel-heading:hover > .contact-search-status.Active {
    color: #9BEA49;
}

.contact-search-status.InActive {
    color: #004CFF;
}

.panel-heading:hover > .contact-search-status.InActive {
    color: #0058FF;
}

.contact-search-status.Suspended {
    color: #DD522D;
}

.panel-heading:hover > .contact-search-status.Suspended {
    color: #FF6E6E;
}

.contact-job-role-list-status {
    float: right;
    font-size: 18px;
    margin-top: -2px;
}

    .contact-job-role-list-status.Active {
        color: #4E8A10;
    }

.panel-heading:hover > .contact-job-role-list-status.Active {
    color: #9BEA49;
}

.contact-job-role-list-contact-status.Active {
    color: #4E8A10;
    font-size: 18px;
    text-align: center;
}

.center {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.field-validation-valid {
    display: none;
}
/*
    http://www.dotlesscss.org/
*/
/*Pastel colours*/
/*@label: #3A4C8A;
@nav-panel: #5770C9;
@actions-heading: #DD7557;
@nav-selected: #A6B0D6;
@button: #82B24D;
@button-hover: #518A10;  
@panel-heading-backgrounds: #efefef;
@sub-panel-heading: #f5f5f5;
@text: #777;*/
/*Strong Colours - original*/
body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
}

input[type='radio'].check-box,
input[type='checkbox'].check-box {
    height: 20px;
    margin-bottom: 16px;
}

.navbar-default {
    background-color: #546cbe;
    margin-bottom: 0px;
}

    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > .active > a:focus {
        background-color: #b4bcd6;
        color: white;
    }

.ga-dropdown-menu {
    background-color: #546cbe;
    color: white;
}

    .dropdown-menu li a,
    .dropdown-menu li a:hover,
    .dropdown-menu li a:focus {
        background-color: #546cbe;
        color: white;
    }

    .dropdown-menu li.open a {
        color: white;
    }

    .navbar-default .navbar-nav > li > a {
        color: white;
    }

        .navbar-default .navbar-nav > li > a:hover {
            color: white;
        }

.btn-default,
.btn-default:focus,
.focus.btn-default {
    background-color: #4e8a10;
    color: white;
}

    .btn-default:hover {
        background-color: #7ea353;
        color: white;
    }

.ga-actions-panel, .ga-advancedSearch-panel {
    margin-top: 1em;
}

    .ga-actions-panel > .panel-heading, .ga-advancedSearch-panel > .panel-heading {
        background-color: #dd522d;
        color: white;
    }

    .ga-actions-panel a.list-group-item:hover,
    button.list-group-item:hover,
    a.list-group-item:focus,
    button.list-group-item:focus {
        background-color: #7ea353;
        color: white;
    }

    .ga-actions-panel .list-group-item {
        background-color: #4e8a10;
        color: white;
        padding-top: 0.4em;
        padding-bottom: 0.4em;
    }

    .ga-actions-panel .list-group-item-cancel {
        background-color: #4e8a10;
        color: white;
        height: 2.5em;
        padding-top: 0.5em;
    }

    .ga-actions-panel .ga-actions-list-nav .list-group-item {
        background-color: #546cbe;
        color: white;
    }

.ga-btn-action {
    background-color: #dd522d;
    color: white;
}
/* Set padding to keep content from hitting the edges */

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

label {
    font-weight: normal;
    color: #3a4c8a;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/

.dl-horizontal dt {
    white-space: normal;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 20px;
    font-size: 80%;
    background-color: #546cbe;
}

.navbar-brand {
    padding: 10px 0 0 8px;
}
/*Start ga-grid-panel*/

.ga-grid-panel {
    margin-bottom: 0;
    padding-bottom: 0;
}

    .ga-grid-panel > .panel-heading {
        color: #3a4c8a;
        background-color: #eeeeee;
    }

        .ga-grid-panel > .panel-heading[onclick] {
            cursor: pointer;
        }

        .ga-grid-panel > .panel-heading a {
            color: #3a4c8a;
        }

        .ga-grid-panel > .panel-heading[onclick]:hover {
            cursor: pointer;
            background-color: #5A961B;
            color: white;
        }

        .search-panel-type {
            border-right: solid 1px silver;
        }

        .ga-grid-panel > .panel-heading[onclick]:hover > .search-panel-type {
            color: white;
        }

    .ga-grid-panel div div {
        font-weight: normal;
        color: #777777;
    }

    .ga-grid-panel label {
        display: block;
    }

    .ga-grid-panel .panel-heading {
        padding: 0.5em;
    }

        .ga-grid-panel .panel-heading span {
            vertical-align: middle;
        }

    .ga-grid-panel .panel-body {
        padding: 0.5em;
    }

    .ga-grid-panel > .panel-heading:hover a {
        color: white;
    }
/*End ga-grid-panel*/

/*Start ga-overview-panel*/

.ga-overview-panel {
    margin-bottom: 0;
    padding-bottom: 0;
}

    .ga-overview-panel > .panel-heading {
        /*cursor: pointer;*/
        color: #3a4c8a;
        background-color: #eeeeee;
    }

    .ga-overview-panel label {
        font-weight: normal;
        display: block;
        color: #3a4c8a;
        font-size: 80%;
        font-weight: bold !important;
    }

    .ga-overview-panel .panel-heading {
        padding: 0.5em;
        font-size: 120%;
    }

    .ga-overview-panel .panel-body {
        padding: 0.5em;
    }

    .ga-overview-panel > .panel-body > .row > div {
        margin-bottom: 1em;
    }

    .ga-overview-panel h4 {
        background-color:#efefef;
        color: #3a4c8a;
        padding-top: 0.25em;
        padding-bottom: 0.25em;
    }

    .ga-overview-panel div {
        color: #777777;
        overflow-wrap: break-word;
    }
/*End ga-overview-panel*/

/*Start ga-panel*/

.ga-panel {
    margin-bottom: 0;
    padding-bottom: 0;
}

    .ga-panel > .panel-heading {
        cursor: pointer;
        color: #3a4c8a;
        background-color: #eeeeee;
    }

    .ga-panel label {
        font-weight: normal;
        display: block;
        color: #3a4c8a;
    }

    .ga-panel .panel-heading {
        padding: 0.5em;
        font-size: 120%;
    }

    .ga-panel .panel-body {
        padding: 0.5em;
    }

    .ga-panel h4 {
        background-color: whitesmoke;
        color: #3a4c8a;
        padding-top: 0.25em;
        padding-bottom: 0.25em;
    }

    .ga-panel div {
        color: #777777;
    }
/*End ga-panel*/

/*Start ga-search-panel*/

.ga-search-panel > .panel-heading {
    /*cursor: pointer;*/
    color: #3a4c8a;
    background-color: #eeeeee;
}

.ga-search-panel > .panel-heading {
    padding: 0.5em;
    font-size: 120%;
}

.ga-search-panel h4 {
    background-color: white;
    color: #3a4c8a;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

.ga-search-panel > .panel-type :hover
{

}

.ga-search-panel div {
    color: #777777;
}
/*End ga-search-panel*/

@media (max-width: 768px) {
    #crumbs_content {
        position: static;
    }

    .ga-actions-panel, .ga-advancedSearch-panel {
        position: static;
    }
}

.ga-grid-panel > .panel-body > .row + .row {
    margin-top: 0.25em;
}

label {
    margin-bottom: 0;
}

.ga-search-box {
    float: right;
}

    .ga-search-box input {
        display: inline-block;
        width: auto;
        vertical-align: top;
    }

    .ga-search-box input {
        display: inline-block;
        width: auto;
        vertical-align: top;
    }

    .ga-search-box select {
        display: inline-block;
        width: auto;
        vertical-align: top;
    }

.ga-sort-by-label {
    display: inline-block;
    margin-top: 0.30em;
    padding-left: 2em;
}
/*if <= 768px*/

@media (max-width: 768px) {
    .ga-search-box {
        float: none;
        text-align: left;
    }

        .ga-search-box input[type="text"] {
            width: 100%;
        }

        .ga-search-box label {
            display: block;
            /*padding-bottom:1.25em;*/
        }

    .ga-sort-by-label {
        margin-top: 0;
        padding-left: 0;
    }
}
/*if <= 992px#*/

@media (max-width: 1px) {
    .ga-sort-by-label {
        padding-top: 0.5em;
        margin-top: 0;
        padding-left: 0;
    }
}

.ga-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8) url('/Content/images/ajax-loader.gif') 50% 50% no-repeat;
}
/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */

body.loading {
    overflow: hidden;
}
    /* Anytime the body has the loading class, our
   modal element will be visible */

    body.loading .ga-modal {
        display: block;
    }

.form-group.required label:after {
    content: " *";
    color: red;
}

.validation-summary-errors ul {
    padding-left: 1em;
    color: red;
}

.dropdown-menu .list-group-item {
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    min-width: 200px;
    text-align: left;
    vertical-align: middle;
    background-color: #4e8a10;
    color: white;
}

.dropdown-menu .ga-actions-list-nav .list-group-item {
    background-color: #546cbe;
}

.dropdown-menu .list-group-item:hover {
    background-color: #7ea353;
    color: white;
}

.ga-grid-panel > .panel-heading.grid-panel-selected {
    background-color: #dd522d;
    color: white;
}

.ga-fade-message {
    position: absolute;
    left: 10px;
    z-index: 10000;
}

.alert-ga-message {
    background-image: linear-gradient(to bottom, gray 0, black 100%);
    color: white;
}

.ga-entity-panel .panel-heading {
    padding: 0.5em;
    font-size: 120%;
}

.ga-entity-panel > .panel-heading {
    cursor: pointer;
    color: #3a4c8a;
    background-color: #eeeeee;
}

.ga-rowList .row {
    margin-bottom: 0.5em;
}

.pin {
    color: #4e8a10;
}

.activities {
    list-style-type: none;
}

.activities {
    padding-left: 0;
}

.ga-important-message {
    color: #dd522d;
}

.ga-area-nav-items li {
    color: white;
}

.crumb {
    color: white;
}

    .crumb:hover {
        color: white;
    }

    .crumb[data-ga-selected="True"] {
        font-weight: bold;
    }

.activity {
    font-size: 90%;
}

.pin {
    font-size: 90%;
}

#pnlActions, #pnlAdvancedSearch {
    overflow-x: auto;
    overflow-y: no-display;
}

.label-as-badge {
    border-radius: 1em;
    float: right;
}

.ga-table-like-panels div label {
    font-size: 80%;
    display: block;
}

.ga-table-like-panels .panel {
    margin-bottom: 0.5em;
}

    .ga-table-like-panels .panel div {
        margin-bottom: 0em;
    }

    .ga-table-like-panels .panel .panel-body div {
        margin-bottom: 0.25em;
    }

.ga-clickable:hover {
    cursor: pointer;
}

.ga-area-nav-items {
    padding-left: 0px;
    list-style: none;
    /*border-radius:4px;*/
    /*background-color:#546cbe;*/
}

.ga-area-nav {
    padding: 8px 15px 0px;
    list-style: none;
    border-radius: 4px;
    background-color: #546cbe;
    margin-top: 1em;
    margin-bottom: 1em;
}

.ga-area-nav-items > li {
    display: inline-block;
}

.ga-area-nav-items li {
    color: white;
}

    .ga-area-nav-items li + li::before {
        padding: 0.5em;
        color: #ccc;
        content: "|";
    }

.ga-area-title {
    color: white;
    font-size: 120%;
    display: block;
    margin-bottom: 0.5em;
}

    .ga-area-title, .ga-area-title:visited, .ga-area-title:hover {
        color: white;
        font-size: 120%;
        display: block;
        margin-bottom: 0.5em;
    }

.ga-area-sub-title {
    color: white;
    font-size: 110%;
    display: block;
    margin-bottom: 0.5em;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.input-validation-error {
    border: 1px solid #f00
}

.input-validation-valid { /* Optional: you can set whatever style you want */
}

.field-validation-error {
    color: #f00
}

.field-validation-valid {
    display: none
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00
}

.validation-summary-valid {
    display: none
}


/*.ga-task-panel {
    border-style: none;
}

.ga-task-panel .panel-heading {
    background-color: #FFB901;
    border-style: none;
}

.ga-task-panel .panel-body {
    background-color: #FFF2B5;
    border-style:none;
}*/


.ga-task-panel {
    position: relative;
    padding: 1em;
    border-radius: .5em;
    margin-bottom: 1em;
    
}

    .ga-task-panel[data-completed='False'][data-published='False'] {
        background-color: #f88888;
    }

    .ga-task-panel[data-completed='True'] {
        background: #f6f6f6;
    }

        .ga-task-panel[data-completed='True']:hover {
            cursor: pointer;
            background-color: #eeeeee;
        }

    .ga-task-panel[data-completed='False'][data-published='True'] {
        background: #FFF2B5;
        background: linear-gradient(-30deg, transparent 1.5em, #FFF2B5 0);
    }
    .ga-task-panel[data-completed='False']::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 1.73em;
        height: 3em;
        background: linear-gradient(to right top, transparent 50%, rgba(0,0,0,.2) 0, rgba(0,0,0,.4)) 100% 0 no-repeat;
        transform: translateY(-1.73em) rotate(-90deg);
        transform-origin: bottom right;
        border-top-right-radius: .5em;
        box-shadow: .2em -.2em .3em -.1em rgba(0,0,0,.15)
    }

    .ga-task-panel[data-completed='False'][data-published='True']:hover {
        cursor: pointer;
        background: linear-gradient(-30deg, transparent 1.5em, #FFE266 0);
    }

    .ga-task-panel[data-completed='False'][data-published='False']:hover {
        cursor: pointer;
        background: linear-gradient(-30deg, transparent 1.5em, #ff4040 0);
    }

/*.ga-task-panel {
    position: relative;
    background: #FFF2B5; 
    background: linear-gradient(330deg, transparent 1.5em, #FFF2B5 0);
    padding: 1em;
    color: white;    
    border-radius: .5em;
    margin-bottom: 1em;
}*/


/*.ga-task-panel::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 1.73em;
        height: 3em;
        background: linear-gradient(to right top, transparent 50%, rgba(0,0,0,.2) 0, rgba(0,0,0,.4)) 100% 0 no-repeat;
        transform: translateY(0em) translateX(-3em) rotate(90deg);
        transform-origin: bottom right;
        border-bottom-left-radius: .5em;
        box-shadow: -.2em .2em .3em -.1em rgba(0,0,0,.15)
    }*/



/* Hide the Centre fee percentages */

#feePercentages
{
    display:none;
}

.ga-disabled {
    pointer-events: none;
    touch-action: none;
    background-color: #eee !important;
}

.grid-column-qualificationTitle{
    max-width:400px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.admin-menu-item
{
    padding-right:5px;
    font-size:14px;
}

.doc-management-notecount {
    width: 15px;
    text-align: center;
}

/*Datatables and filters styling*/
table.dataTable tbody td.breakWord {
    word-break: break-word;
}

.yadcf-filter-wrapper {
    width: 100% !important;
}

.yadcf-filter {
    width: inherit;
}

.dataTable {
    table-layout: fixed;
}

.yadcf-filter-range-start {
    display: block;
}

.yadcf-filter-range-end {
    display: block;
}

.yadcf-filter, .yadcf-filter-range-date {
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    line-height: 1.5;
    padding: 5px 10px;
    height: 34px;
    border-radius: 3px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    vertical-align: top;
}

.dataTable > thead > tr > th {
    vertical-align: top;
}

.yadcf-filter-range-date {
    width: 8em;
}

.yadcf-filter-wrapper ::placeholder {
        color: #999999;
        font-weight: normal;
    }

.yadcf-filter-range-date-seperator {
    width: 0;
    height: 5px;
    display: block;
}

.yadcf-filter-wrapper-inner {
    border: 0;
}


    .dataTables_wrapper .col-sm-12 {
        overflow-x: scroll;
    }

    .dataTable th, .dataTable td {
        overflow: hidden;
        white-space: nowrap;
        border: none;
        vertical-align: central;
    }

    .dataTable td {
        text-overflow: ellipsis;
        border: none;
        padding: 8px !important;
    }

    .dataTable thead tr {
        background-color: #EFF3FB;
    }

        .dataTable thead tr:first-of-type th {
            //border-color: #6893CF #6893CF #6893CF #6893CF;
            border-top: 0px !important;
            border-bottom-width: 1px;
            background-color: #EFF3FB;
        }

        .dataTable thead tr:nth-of-type(2) th {
            border-top: 2px !important;
            border-bottom-width: 1px;
            //border-color: #6893CF #6893CF #6893CF #6893CF;
        }

/*Hide the bootstrap datatable sort icons (they're replace )*/
table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after {
    display: none;
}

table.dataTable thead .sorting_desc::after {
    display: none;
}

table.dataTable thead .sorting {
    background-image: url('/Content/DataTables/images/sort_both.png');
    background-repeat: no-repeat;
    background-position: center right;
}

table.dataTable thead .sorting_asc {
    background-image: url('/Content/DataTables/images/sort_asc.png');
    background-repeat: no-repeat;
    background-position: center right;
}

table.dataTable thead .sorting_desc {
    background-image: url('/Content/DataTables/images/sort_desc.png');
    background-repeat: no-repeat;
    background-position: center right;
}

.btn-default, .btn-success, .btn-danger {
    background-color: #4e8a10;
    color: white;
    border-color: rgb(204, 204, 204);
}


.btn-default:hover, .btn-success:hover, .btn-danger:hover {
    background-color: #7ea353;
    color: white;
    border-color: rgb(204, 204, 204);
}

.btn-default:focus, .btn-success:focus, .btn-danger:focus {
    background-color: #7ea353;
    color: white;
    border-color: rgb(204, 204, 204);
}

    .btn-default:active, .btn-success:active, .btn-danger:active {
        background-color: #7ea353;
        color: white;
        border-color: rgb(204, 204, 204);
    }

        .btn-default:active:hover, .btn-success:active:hover, .btn-danger:active:hover {
            background-color: #7ea353;
            color: white;
            border-color: rgb(204, 204, 204);
        }


.error {
    border-color: red !important;
    outline-color: red;
    outline-style: solid;
    outline-width: 1px;
}

#ga-modal-errors-link {
    display: none;
    float: left;
    color: red;
}

.ga-error-popover {
    max-width: 100%;
}



    .ga-overview-panel label + span {
        color: #3a4c8a;
        background-color: #f7f7f7;
        padding: 4px 4px 4px 4px;
        min-height:1.90em;
        display: block;
    }

.ga-overview-panel label + a > span {
    color: #3a4c8a;
    background-color: #f7f7f7;
    padding: 4px 4px 4px 4px;
    min-height: 1.90em;
    display: block;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}