/* --------- TODO: remove quiz specific styles ------------------*/

table#gquiz-results-summary {
    table-layout: fixed;
}

table#gquiz-results-summary td {
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

table#gquiz-results-summary td.gquiz-results-summary-label {
    font-size: 1.2em;
}

table#gquiz-results-summary td.gquiz-results-summary-data {
    font-size: 2em;
}

.gquiz-results-summary-data-box {
    width: 75%;
    padding: 15px 0;
    min-width: 0;
    margin: auto;
}

.gaddon-results-summary-secondary{
    padding-top: 4px;
    font-weight: normal;
    font-size:13px;
}

.gaddon-results-summary-primary{
    padding:5px;
}

.gquiz-field-precentages-correct {
    float: left;
    margin: 8px 0 0 64px;
}

/* -------------------------------------*/

table#gaddon-results-summary {
    table-layout: fixed;
}

table#gaddon-results-summary td {
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

table#gaddon-results-summary td.gaddon-results-summary-label {
    font-size: 1.2em;
}

table#gaddon-results-summary td.gaddon-results-summary-data {
    font-size: 2em;
}

.gaddon-results-summary-data-box {
    border: 1px solid silver;
    padding: 10px;
    width: 75%;
    margin: auto;
}

.gaddon-field-precentages-correct {
    float: left;
    margin: 15px 0 0 50px;
}


/*-------------*/
#gresults-results {
    margin-right: 300px;
}

.gform-admin .gresults-filter-loading .gform-spinner {
    display: inline-block;
}

.gf-results .gf-result-box {
    background: #fff;
    border-radius: 3px;
    border: 1px solid #e3e6ef;
    box-shadow: 0 1px 4px rgb(18 25 97 / 8%);
    padding: 1.562rem 1rem;
}

.gf-results .gf-result-box {
    margin-right: 0;
    margin-bottom: 1.25rem;
}

.gf-results .gf-result-box__primary {
    display: flex;
}

@media screen and ( min-width: 782px ) {
    .gf-results {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1.25rem;
    }

    .gf-results .gf-result-box {
        flex: 1 1 0px;
        margin-right: 1.25rem;
        margin-bottom: 0;
    }

    .gf-results .gf-result-box:last-child {
        margin-right: 0;
    }
}

.gresults-results-field {
    margin-bottom:20px;
}

.gresults-results-field table{
    border-bottom: 1px solid silver;
    border-spacing: 0;
}

.gresults-results-field table td{
    padding:5px;
    border-right: 1px solid silver;
    border-top: 1px solid silver;
    text-align:center;
}

.gresults-results-field-table-header{
    background-color: #eeeeee;
}

.gresults-results-field table td:first-child {
    border-left: 1px solid silver;
}


ul.gresults-results-field-content,
ul.gresults-results-field-content li{
    list-style:disc outside none;
}
ul.gresults-results-field-content{
    margin:10px;
}

td.gresults-rank-field-score,
td.gresults-rank-field-rank{
    width:110px;
}

.gsurvey-rank-field-results table{
    width:100%;
}


/* filter box */

#gresults-results-filter-content {
	padding:12px;
	border-top: 1px solid #EBEBF2
}


.gresults-results-filter-section-label {
    font-size:1.2em;
    font-weight:bold;
    margin-top:10px;
    margin-bottom:10px;
}

#gresults-results-filter label {
    margin-top:10px;
    display:block;
}

#gresults-results-filter-content #gform-no-filters {
    color: #242748;
}

.gresults-remove,
.gresults-add {
    margin-top:2px;
    vertical-align:middle;
    cursor:pointer;
}

.gresults-add {
    margin-left:5px;
}

#gresults-no-filters{
    color:silver;
}

.gresults-datepicker,
.gresults-filter-value,
.gresults-filter-field {
    width:150px;
    box-sizing:border-box;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    height: 2em;
    padding: 2px;
}

.gresults-filter-operator {
    width:70px;
}

#gresults-results-filter-buttons {
    clear:both;
    margin-top:20px;
    width:180px;
}

.gresults-results-filter-field-label {
    font-size:1.1em;
    font-weight:bold;
    margin-bottom:10px;
}

.gresults-results-filter-field {
    margin-bottom:20px;
}

.gresults-results-filter-field ul li label {
    margin-left:5px;
}

.gresults-results-filter-title {
    font-size:1.5em;
    font-weight:bold;
}

/*
#gresults-results-filter {
    visibility: hidden;
}
*/

#gresults-results-field-filters-container.resizable {
    border-bottom:5px double #ddd;
    min-height:120px;
}

#gresults-results-field-filters {
    height:100%;
    overflow-y:auto;
}

.ui-resizable {
    position:relative;
}

.ui-resizable-handle {
    position:absolute;
    font-size:0.1px;
    z-index:99999;
    display:block;
}

.ui-resizable-s {
    cursor:s-resize;
    height:7px;
    width:100%;
    bottom:-5px;
    left:0px;
}

.gsurvey-likert-score{
    margin-top:5px;
}

/* NEW */

#gquiz-results-summary { margin: 60px 0; }

.gresults-chart-wrapper { border-top: 1px solid #dfdfdf; margin: 0 0 28px; }
    .gquiz-field-precentages-correct + .gresults-chart-wrapper { margin: 0 0 14px; }

.gresults-label-group { display: block; clear: right; }
.gresults-label-group .gresults-label { display: inline-block; width: 65px; }
.gresults-group-correct .gresults-value { color: green; }
.gresults-group-incorrect .gresults-value { color: red; }