/*-------------------------------------------------------------
- Global Styles
-------------------------------------------------------------*/
.fa-redo:before {
    content: "\f01e";
    font-family: 'FontAwesome';
}
.dataTables_filter{
    margin-bottom: 10px;
}
body table.fixedHeader-floating.no-footer{
    top: 45px !important;
    z-index: 99;
}
a.matched_value,
span.matched_value{
    font-weight: bold!important;
}

/*-------------------------------------------------------------
- Tool Tip
-------------------------------------------------------------*/
.tooltip {
    position: relative;
    display: block;
}
.tooltip.inline {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext {
    visibility: hidden;
    position: absolute;
    width: 250px;
    background-color: #16837C;
    color: #ffffff;
    border-radius: 6px;
    text-align: left;
    padding: 20px;
    font-size: 15px;
    line-height: 1.3em;
    left: 35px;
    top: -14px;

}
.tooltip:hover .tooltiptext {
    visibility: visible;
    z-index: 9999;
}
.tooltip img.lazy.loaded {
    top: 4px;
    width: 18px;
    height: auto;
    position: relative;
}
.tooltip span.tooltiptext:before {
    display: none;
}

/*-------------------------------------------------------------
- Global Facet Styles 
-------------------------------------------------------------*/
div[id*="filter"] {
    margin-bottom: 20px;
    border-bottom: 1px solid #954218;
    padding-bottom: 20px;
}
.toggle-checkboxes.button{
    background-color: #28817C;
    color: #ffffff;
    margin-bottom: 5px;
    padding: 6px 10px 4px;
    border-radius: 8px;
    text-align: center !important;
    font-size: .8rem;
    line-height: .8rem !important;
    border:none;
}
.toggle-checkboxes.button:hover{
    background-color: #F4A64E!important;
    color: #ffffff!important;
}
.reset-filter .datatables_reset_button{
    background-color: #DA3458;
    border: none;
    color: #ffffff;
    margin-bottom: 5px;
    padding: 6px 10px 4px;
    border-radius: 8px;
    text-align: center !important;
    font-size: .8rem;
    text-transform: none;
}
.reset-filter .datatables_reset_button:hover{
    background-color: #DA3458!important;
    opacity: .85;
}
body .search-models-sidebar,
body .search-constructs-sidebar,
body .search-assessment-sidebar, 
body .search-model-relations-sidebar {
    background-color: #ededed;
    padding: 25px 12px;
    width: 275px;
    border-radius: 8px;
}
input[type="text"]:focus {
	color: unset!important;
    background: #e6f8f7!important;
    outline: none !important;
    border-color: unset!important;
    border: 1px solid #dbdbdb!important;
}
input[type="text"], input[type="email"], input[type="password"], textarea {
    color: #6B6B6B;
}
body .search-models-sidebar span {
	color: #555555;
}
body .search-models-sidebar h3,
body .search-models-sidebar h3,
body .search-models-sidebar h3,
body .search-constructs-sidebar h3,
body .search-assessment-sidebar h3,
body .search-model-relations-sidebar h3 {
    color: #954218!important;
}
body .search-models-sidebar h2 {
	margin-bottom: 10px;
}
div#models-search-filters {
    border-bottom: 1px solid #954218!important;
    margin-bottom: 20px;
}
div#models-search-filters input,
div#constructs-search-filters input,
div#assessment-search-filters input,
div#model-relations-search-filters input{
    padding: 5px 12px;
    width: 240px;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 17px;
}
div#model-dandori-filters,
div#model-soc-eco-levels-filters {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #954218!important;
}
div#model-dandori-filters + h3,
div#model-soc-eco-levels-filters + h3,
div#model-construct-filters + h3 {
    color: #954218;
}
body .search-models-sidebar .filter-item {
    display: flex;
    margin-bottom: 2px;
}
body .search-models-sidebar .filter-item span {
    padding-left: 3px;
}
.search-models-sidebar .filter-item input {
    margin-top: 5px;
}
button#show-more-button {
    margin-bottom: 5px!important;
    padding: 10px 7px!important;
    border-radius: 8px;
    text-align: center!important;
    text-transform: CAPITALIZE;
    font-weight: 400;
    display: block;
    margin-top: 0px;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 16px;
    background-color: transparent;
    color:#197671;
    border: none;
    letter-spacing: 0.2px;
}
button#show-more-button:after {
    content: '+';
    font-size: 24px;
    line-height: normal;
    position: relative;
    top: 2.6px;
    margin-left: 2px;
}
button#show-more-button:hover {
	background-color: transparent!important;
	color:#f4a64e!important;
}

/*-------------------------------------------------------------
- Global Table Styles 
-------------------------------------------------------------*/
body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
	background: none!important;
	border: 0px!important;
	color: #F4A651!important;
	border: 1px solid transparent!important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #f4a650!important;
    border: 0px!important;
    background-color: none!important;
    background: none!important;
    border: 1px solid transparent!important;
}
body table.dataTable thead>tr>th.sorting:before {
	bottom: 56%;
	opacity: .9;
    color: #f5b874!important;
    font-size: 17px;
}
body table.dataTable thead>tr>th.sorting:after {
	top: 42%;
	opacity: .6;
    color: #f5b874!important;
    line-height: 12px;
    content: "▴";
    font-size: 17px;
    height: 20px;
    transform: rotate(180deg);
}
table#models_list_table,
table#constructs_list_table,
table#assessments_table,
table.metadata_cpt_datatable,
table#spectopics_dimensions_list_table,
table#spectopics_models_list_table,
table#model_relations_table {
    margin-top: 20px;
}
body table#models_list_table thead,
body table#constructs_list_table thead,
body table#assessments_table thead,
body table.metadata_cpt_datatable thead,
body table#spectopics_dimensions_list_table thead,
body table#spectopics_models_list_table thead,
body table#model_relations_table thead,
body table.fixedHeader-floating.no-footer thead {
    background-color: #16837C;
    color: #ffffff;
}
body table#models_list_table thead tr th,
body table#constructs_list_table thead tr th,
body table#assessments_table thead tr th,
body table.metadata_cpt_datatable thead tr th,
body table#spectopics_dimensions_list_table thead tr th,
body table#spectopics_models_list_table thead tr th,
body table#model_relations_table thead tr th,
body table.fixedHeader-floating.no-footer thead tr th {
    border-bottom: 4px solid #f4a650;
    vertical-align: middle;
    font-size: 15px;
}
body table.metadata_cpt_datatable tbody tr td,
body table#spectopics_dimensions_list_table tbody tr td,
body table#spectopics_models_list_table tbody tr td {
    vertical-align: middle;
}
body table#models_list_table.dataTable tbody td,
body table#constructs_list_table.dataTable tbody td,
body table#assessments_table.dataTable tbody td,
body table#spectopics_dimensions_list_table.dataTable tbody td,
body table#spectopics_models_list_table.dataTable tbody td,
body table#model_relations_table.dataTable tbody td,
body table.metadata_cpt_datatable tbody tr td {
    padding: 15px 10px;
    font-size: 0.8em;
}
body table#models_list_table thead tr th:first-child,
body table#constructs_list_table thead tr th:first-child,
body table#assessments_table thead tr th:first-child,
body table#spectopics_dimensions_list_table tr th:first-child,
body table#spectopics_models_list_table tr th:first-child,
body table#model_relations_table thead tr th:first-child {
    font-size: 17px;
}
body table#models_list_table thead tr th:nth-child(2),
body table#constructs_list_table thead tr th:nth-child(2),
body table#assessments_table thead tr th:nth-child(2),
body table#spectopics_dimensions_list_table thead tr th:nth-child(2),
body table#spectopics_models_list_table thead tr th:nth-child(2),
body table#model_relations_table thead tr th:nth-child(2) {
    min-width: 60px;
}
table#models_list_table tbody tr.even,
table#constructs_list_table tbody tr.even,
table#assessments_table tbody tr.even,
table.metadata_cpt_datatable tbody tr.even,
table#spectopics_dimensions_list_table tbody tr.even,
table#spectopics_models_list_table tbody tr.even,
table#model_relations_table tbody tr.even {
    background-color: #b7dddb36;
}
table#models_list_table td.model_name.sorting_1
table#constructs_list_table td.model_name.sorting_1,
table#assessments_table td.model_name.sorting_1,
table#spectopics_dimensions_list_table td.model_name.sorting_1,
table#spectopics_models_list_table td.model_name.sorting_1{
    font-size: 17px!important;
    line-height: 1.1;
}

body table#models_list_table td ul,
body table#constructs_list_table td ul,
body table#assessments_table td ul,
body table.metadata_cpt_datatable td ul,
body table#model_relations_table td ul{
    margin-left: 20px;
}

/*-------------------------------------------------------------
- Assessments List Table View
-------------------------------------------------------------*/
#assessments_table_wrapper{
    margin-bottom: 300px;
}
.assessments_container{
    width: 100%;
}
#assessments_table{
    width: 100%;
}
body .search-assessment-sidebar label {
    color: #555;
    font-size: 16px;
    margin-bottom: 10px;
    clear: both;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: row-reverse;
    line-height: 1rem;
}
body .search-assessment-sidebar input.facet_checkbox {
    margin: 2px 5px 0px 0px;
}
.search-assessment-sidebar div#assessment-search-filters{
	padding-bottom: 0px;
}
#assessments_table tbody a {
    color: #2E665C;
}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, 
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before{
    background-color: #2D6755!important;
}
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before, 
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before {
    background-color: #A2692F!important;
}

/*-------------------------------------------------------------
- Model Relations List Table View
-------------------------------------------------------------*/
#model_relations_table_wrapper{
    margin-bottom: 300px;
}
.model-relations_container{
    width: 100%;
}
#model-relations_table{
    width: 100%;
}
body .search-model-relations-sidebar label {
    color: #555;
    font-size: 16px;
    margin-bottom: 10px;
    clear: both;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: row-reverse;
    line-height: 1rem;
}
body .search-model-relations-sidebar input.facet_checkbox {
    margin: 2px 5px 0px 0px;
}
.search-model-relations-sidebar div#assessment-search-filters{
	padding-bottom: 0px;
}
#model-relations_table tbody a {
    color: #2E665C;
}
body table#model_relations_table tbody tr td{
    font-size: 15px;
}

/*-------------------------------------------------------------
- Constructs List Table View
-------------------------------------------------------------*/
body .search-constructs-sidebar label {
    color: #555;
    font-size: 16px;
    margin-bottom: 10px;
    clear: both;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: row-reverse;
    line-height: 1rem;
}
body .search-constructs-sidebar input.facet_checkbox {
    margin: 2px 5px 0px 0px;
}

/*-------------------------------------------------------------
- Metadata List Table View
-------------------------------------------------------------*/
table.dataTable.metadata_cpt_datatable{
    width: 100%!important;
}
body .cpt_accordion_wrapper table.metadata_cpt_datatable thead {
    background-color: #b7dddb;
    color: #333333;
}


/* ----------------------------------------
- Model/Assessment Instrument/Constructs CPT Detail Page
- Eveyone uses the same class so its global. 
---------------------------------------- */
body.single-models-cpt div#fulltitle,
body.single-assessments-cpt div#fulltitle {
    display: none;
}
body.single-models-cpt h1 {
   margin-bottom: 40px;
}
.model-single-wrapper {
    display: grid;
    grid-template-columns: 25% 70%;
    grid-template-rows: 1fr;
    grid-column-gap: 5%;
    grid-row-gap: 0px;
    margin-bottom: 25px;
}
.insight_cpt_wrapper h3 {
    margin-bottom: 5px;
}
.model-single-left {
    background-color: #b7dddb;
    padding: 20px;
}

.model-single-left div {
	color: #333333
}

body .model-single-left h3 {
	color: #333333;
}

.model-single-wrapper>div>div {
    margin-bottom: 30px;
}

body.constructs-cpt-template-default #fulltitle {
    display: none;
}


/*-------------------------------------------------------------
- Assessments Detail View
-------------------------------------------------------------*/
.attachment_wrapper{
    margin-left: 10px;
}
.attachment_wrapper li{
    list-style: none;;
}
.attachment i{
    margin-right: 10px;
}
.attachment span.attachment_size{
    font-size: .8rem;
}

/*-------------------------------------------------------------
- Metadata Detail View
-------------------------------------------------------------*/
.metadata-group .checkbox-group ul{
    margin-left: 20px;
    margin-bottom: 5px;
    font-size: .8rem;
}
.metadata-group a.toggle-checkboxes.link {
    font-size: .8rem;
}

/*-------------------------------------------------------------
- Accordion 
-------------------------------------------------------------*/
ul.cpt_accordion_wrapper {
    list-style: none;
    padding: 0;
    margin-left: 0;
    width: 100%;
}
ul.cpt_accordion_wrapper li{
    margin-left: 0!important    ;
}
.cpt_accordion_toggle{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
ul.cpt_accordion_wrapper li i.fa-plus,
ul.cpt_accordion_wrapper li i.fa-minus{
    margin: 0 10px;
    font-size: 20px!important;
}
ul.cpt_accordion_wrapper .cpt_accordion_inner {
    overflow: visible;
    display: none;
    margin-left: 0;
    padding: 20px 0;
}
ul.cpt_accordion_wrapper li {
    margin: 0;
}
ul.cpt_accordion_wrapper li a.cpt_accordion_toggle {
    background: #b7dddb;
    border-radius: 5px;
    padding: 10px 0;
    transition: background 0.3s ease;
    text-decoration: none;
    line-height: 24px;
}
ul.cpt_accordion_wrapper li a.cpt_accordion_toggle.grey {
    background: #f7f7f7;
}
ul.cpt_accordion_wrapper li.active a.cpt_accordion_toggle {
    background: #28817C;
}

ul.cpt_accordion_wrapper .assessment_data_wrapper{
    margin-bottom: 30px;
}
ul.cpt_accordion_wrapper li a.cpt_accordion_toggle h2{
    color: #333333;
    margin-bottom: 0;
}
ul.cpt_accordion_wrapper li a.cpt_accordion_toggle.grey h2{
    color: #666666;
    font-size: 20px;
}
ul.cpt_accordion_wrapper li a.cpt_accordion_toggle:hover,
ul.cpt_accordion_wrapper li a.cpt_accordion_toggle:hover {
    background: #F4A64E;
    color: #fff;
}
ul.cpt_accordion_wrapper li a.cpt_accordion_toggle:hover i,
ul.cpt_accordion_wrapper li a.cpt_accordion_toggle:hover h2,
ul.cpt_accordion_wrapper li.active a.cpt_accordion_toggle i,
ul.cpt_accordion_wrapper li.active a.cpt_accordion_toggle h2{
    color: #fff;
}

/*-------------------------------------------------------------
- Modal
-------------------------------------------------------------*/
.custom_modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
    justify-content: center;
    align-items: center;
}
.custom_modal_content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.custom_modal_close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.custom_modal_close:hover,
.custom_modal_close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/*-------------------------------------------------------------
- Mobile Facet
-------------------------------------------------------------*/
.mobile_facet_bottom_buttom_wrapper {
    margin: 20px 0;
}
.responsive_facet_wrapper.mobile_facet_menu{
    display: block!important;
    position: fixed;
    z-index: 9999999;
    box-shadow: 0 0 4px rgba(0,0,0,.3);
    background: #fff;
    left: 150%;
    top: 0px;
    width: 100%!important;
    height: 100% !important;
    transition: left .2s ease-out,top .2s ease-out,width .2s ease-out,height .2s ease-out;
    padding:0;
}
.responsive_facet_wrapper.mobile_facet_menu.open{
    left:15%;
}
.responsive_facet_wrapper.mobile_facet_menu.closed{
    left:110%;
    transition: left .2s ease-out,top .2s ease-out,width .2s ease-out,height .2s ease-out;
}
.responsive_facet_wrapper.closed a.mobile_facet_side_button,
a.mobile_facet_trigger.mobile_facet_bottom_button.closed{
    display: none;
}

a.mobile_facet_bottom_button{
    z-index: 9999999;
    background: #2D6755;
    display: inline-block;
    padding: 5px 20px;
    color: #fff;
}
a.mobile_facet_side_button {
    position: absolute;
    top: 260px;
    display: inline-block;
    padding: 10px;
    left: -45px;
    background: #2D6755;
    color: #fff;
    transform: rotate(270deg);
    transform-origin: left top 0;
    font-size: 20px;
}
a.mobile_facet_bottom_button:hover,
a.mobile_facet_side_button:hover{
    color:#fff;
}

/*-------------------------------------------------------------
- Media Query
-------------------------------------------------------------*/
@media (min-width:960px) and (max-width:1199px) {
    body .search-models-sidebar,
    body .search-constructs-sidebar, 
    body .search-assessment-sidebar, 
    body .search-model-relations-sidebar{
        width: 241px;
        box-sizing: border-box;
    }
    div#models-search-filters input, 
    div#constructs-search-filters input, 
    div#assessment-search-filters input, 
    div#model-relations-search-filters input{
        width: 185px;
    }
}
@media only screen and (max-width: 959px) {
    body table.fixedHeader-floating.no-footer{
        top: 0 !important;
        z-index: 99;
    }
    a.mobile_facet_trigger.mobile_facet_bottom_button.closed{
        display: inline-block;
    }
    .filter_scroll_wrapper{
        overflow-y: scroll;
        overflow-x: hidden;
        height: 100%;
        box-sizing: border-box;
        width: 100%;
    }
    .filter_scroll_wrapper div[id*="filter"]:first-child{
        margin-top: 20px;
    }
    .reset-filter .datatables_reset_button{
        margin-bottom: 20px;
        margin-left: 20px;
    }
    div[id*="filter"] {
        margin-left: 20px;
        margin-right: 20%;
    }
    .model-single-wrapper {
        display: block;
        grid-template-columns: unset;
    }
    .model-single-left{
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 767px) {
    .measure-page a.button.color-3{
        width: 100%;
        box-sizing: border-box;
    }
    body table#models_list_table.dataTable tbody td,
    body table#constructs_list_table.dataTable tbody td,
    body table#assessments_table.dataTable tbody td,
    body table#spectopics_dimensions_list_table.dataTable tbody td,
    body table#spectopics_models_list_table.dataTable tbody td,
    body table#model_relations_table.dataTable tbody td {
        padding-left: 30px;
        font-size: 0.8em;
    }
    #assessments_table_wrapper,
    #model_relations_table_wrapper{
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 479px) {
	.tooltip .tooltiptext {
  	  width: 100px!important;
  	  padding: 10px!important
    }
}