h2 a, h2 a:visited, h3 a:visited, h4 a, h4 a:visited, h5 a, h5 a:visited {
    color: inherit;
}

a.card-header, a.card-header:hover {
    color: inherit;
}

.table-col-fit {
   width: 1px;
}

/*Override CKEditor flow and width*/

.django-ckeditor-widget {
    display: flex !important;
}

.cke {
    width: 100% !important;
}

.buffer {
    margin-top: 20px;
}
.buffer-sm {
    margin-top: 10px;
}

.header-button {
    background-color: #613277;
    color: white;
    font-weight: bold;
    padding: 2px;
    text-align: center;
    margin: 5px;
    min-height: 55px;
}

.header-button > a {
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.header-button > a:visited {
    color: white !important;
}

.category-button {
    color: white;
    font-weight: bold;
    padding: 2px;
    text-align: center;
    margin: 5px;
    min-height: 60px;
}

.category-button > a {
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.category-button > a:visited {
    color: white !important;
}

.subcategory-filter {
    color: #404f59;
    font-weight: normal;
    padding: 5px;
    text-align: center;
    margin: 3px;
    min-height: 25px;
    display: inline-block;
}

.subcategory-filter-active {
    padding: 11px;
    font-weight: bold;
}


.subcategory-filter > a {
    color: #404f59;
    /*position: absolute;*/
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.subcategory-filter > a:visited {
    color: #404f59 !important;
}

.results-category-header {
    color: #404f59;
    font-weight: bold;
    margin-top: 0.5rem!important;
    padding: 0.25rem 0.25rem 0.25rem 0.5rem !important;
}

.service-box {
    padding : 0.5em 0.5em 1.0em 0.5em!important;
}

.col-pixel-width-40 { flex: 0 0 40px; }

.service-box-result-pin {
    background:  url("../img/ico-activity-category-.png") no-repeat;
    float: left;
    margin: 0 0.5em 0.25em 0;
    width: 37px;
    height: 46px;
    font-size: 19px;
    text-align: center;
    line-height: 40px;
}

/* ActivityCategory colours
 These take the form:
    cat-<slug>
 */
.result-pin-cat-activities {
    background:  url("../img/ico-activity-category-activities.png") no-repeat;
}

.result-pin-cat-health {
    background:  url("../img/ico-activity-category-health.png") no-repeat;
}

.result-pin-cat-learning {
    background:  url("../img/ico-activity-category-learning.png") no-repeat;
}

.result-pin-cat-support {
    background:  url("../img/ico-activity-category-support.png") no-repeat;
}

.result-pin-cat-independent-living {
    background:  url("../img/ico-activity-category-independent-living.png") no-repeat;
}

.result-pin-cat-volunteering {
    background:  url("../img/ico-activity-category-volunteering.png") no-repeat;
}

.result-pin-cat-online-support {
    background:  url("../img/ico-activity-category-online-support.png") no-repeat;
}


/* ActivityCategory colours
 These take the form:
    category-<slug>
 */
.category-activities {
    background-color: #c3e76f;
}

.category-health {
    background-color: #ff9b43;
}

.category-learning {
    background-color: #ff7876;
}

.category-support {
    background-color: #4ecdc4;
}

.category-independent-living {
    background-color: #a7a7ff;
}

.category-volunteering {
    background-color: #72c271;
}

.category-online-support {
    background-color: #ce78ff;
}

/* Panels */
.panel-activities {
    border-color: #c3e76f !important;
}

.panel-health {
    border-color: #ff9b43 !important;
}

.panel-learning {
    border-color: #ff7876 !important;
}

.panel-support {
    border-color: #4ecdc4 !important;
}

.panel-independent-living {
    border-color: #a7a7ff !important;
}

.panel-volunteering {
    border-color: #72c271 !important;
}

.panel-online-support {
    border-color: #ce78ff !important;
}

/* Foreground */
.color-activities {
    color: #c3e76f !important;
}

.color-health {
    color: #ff9b43 !important;
}

.color-learning {
    color: #ff7876 !important;
}

.color-support {
    color: #4ecdc4 !important;
}

.color-independent-living {
    color: #a7a7ff !important;
}

.color-volunteering {
    color: #72c271 !important;
}

.color-online-support {
    color: #ce78ff !important;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
    border-color: #613277;
    background-color: #613277;
    color: white;
}

.btn-circle:hover {
    background-color: #613277 !important;
}

.network_member_dragable {
    background: url("../img/drag-arrows.png");
    height: 120px;
    width: 190px;
}

.network-circle {
    background: url("../img/big-circle.png");
    height: 580px !important;
    width: 579px !important;
    color: white;
    font-weight: bold;
    padding: 2px;
    text-align: center;
}

.network-circle-small {
    background: url("../img/small-circle.png");
    height: 290px !important;
    width: 290px !important;
    color: white;
    font-weight: bold;
    padding: 2px;
    text-align: center;
}

.network-pin-monthly {
    background: url("../img/pin-monthly.png") no-repeat;
}

.network-pin-daily {
    background: url("../img/pin-daily.png") no-repeat;
}

.network-pin-weekly {
    background: url("../img/pin-weekly.png") no-repeat;
}

.network-pin-less {
    background: url("../img/pin-less.png") no-repeat;
}

.network-pin {
    //display: block;
    min-width: 57px;
    min-height: 72px;
    padding-left: 55px;
    background-position: left 30px top 5px;
    position: absolute;
    z-index: 9;
    cursor: grab;
    color: black;
    font-size: larger;
    text-shadow: 0 0 4px #ffffff;
}


.trashcan {
    background: url("../img/ico-trash-can.png") no-repeat;
    min-height: 76px;
    min-width: 74px;
    margin-top: 120px;
    margin-bottom: 40PX;
}

.question-choice {
    background: #b2abdd;
}

.question-category {
    background: #9487c6;
}

.questions-network-members {
    border-right: 1px solid #9487c6!important;
    border-left: 1px solid #9487c6!important;
}

.question-network-members {
    border-bottom: 1px dotted #9487c6 !important;
}

#map {
   height: 800px;
}

.panel-my-map {
    border-color: #613277!important;
    background-color: rgba(97,50,119,0.15);
}

.clickable {
    cursor: pointer;
}

.map-favourite {
    padding: .25rem!important;
    border-radius: .25rem!important;
}

.map-favourite-active {
    background-color: #613277;
    color: yellow;
}

.map-favourite-inactive {
    border: 1px solid #dee2e6!important;
    color: lightgray;
}

#messages {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

.required > label::before{
    content: '*';
    color: #993300;

}


