#qg-content #qg-section-nav ul > li.current-page {
	background-color: #007EB1;
}

#qg-content #qg-section-nav ul > li.current-page > a, #qg-content #qg-section-nav ul > li.current-page > a:before {
	color: #fff;
}

#qg-primary-content {
    padding-bottom: 10px;
}

.bodyContent {
    padding-bottom: 40px;
}

p#document-licence {
    float: right;
}

/* Full page styles */
div#qg-content.qg-wide #qg-primary-content {
    padding-top: 0;
}

div#qg-content.qg-wide #qg-primary-content h1:first-child {
    margin-top:1em;
}

/* Two column template */
#qg-content.qg-two-column #qg-three-col #qg-primary-content {
    width: 75%;
}

#qg-content.qg-two-column aside#qg-secondary-content {
    display:none;
}


/* Alert danger fixed */

.alert.alert-danger {
    color: #a94442;
    background: #f2dede;
    border-color: #ebccd1;
}

.alert-danger h2, .alert-danger p, .alert-danger ol, .alert-danger ul {
    color:#a94442;
    margin-left: 0;
}

.alert-danger a, .alert-danger a:link {
    color: #13578b;
    text-decoration: underline;
}

.qg-aside {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.qg-grab {
    margin: 15px 0;
}

/* Squiz form fixes */

form label {
    display:inline;
}

p > label {
    font-weight: 600;
    padding: 5px 0;
}

li > label {
    padding: 0px 5px;
}

 form ul{
    list-style-type:  none;
    padding-left: 0;
}

.sq-form-required-field {
    color: red;
}

input[type="checkbox"], input[type="radio"] {
    margin:; 0;
}

abbr[data-original-title], abbr[title] {
    border-bottom: none;
} 

.sq-form-question {
    margin-bottom: 1em;
}

.required {
    color: red;
}

/* Mobile styles */
@media only screen and (max-device-width: 768px)  {
    #qg-search-form {
        width: 100%;
        margin-bottom:0.5em;
    }
    
    #qg-page-feedback #qg-page-feedback-form fieldset {
        padding: 0 0 0 15px;
    }
    
    #qg-content.qg-two-column #qg-three-col #qg-primary-content {
        width: 100%;
    } 
    
}

/*Print styles*/
@media print {
    .qg-legal.row {
        display: none;
    }
    
    #qg-primary-content {
        width: 100%;
    }
    
    #document-licence {
        display: none;
    }
}
