/* input(146,1): run-time error CSS1019: Unexpected token, found '}'
input(307,47): run-time error CSS1046: Expect comma, found '0'
input(307,51): run-time error CSS1046: Expect comma, found '/'
input(308,39): run-time error CSS1046: Expect comma, found '0'
input(308,43): run-time error CSS1046: Expect comma, found '/' */
html {
    /* frame-busting code: page is restored with Javascript */
    visibility: hidden;
}

.tableHeaderRow {
    position: relative;
    width: auto;
}

table th {
    background-color: gainsboro;
    text-align: center;
    text-decoration: underline;
}

#tableHeader {
    margin-bottom: 10px
}

.totalReports {
    position: relative;
    right: 15px;
    text-align: center;
    padding: 20px 0;
    font-size: 20px;
    color: white;
    background-color: gray;
}

#totalReports_1 {
    position: relative;
    padding: 4px 0;
    text-align: left;
    margin-top: 0.1em
}

label {
    float: left;
    text-align: left;
    margin-left: 1.5em
}
.small-label {
    width: 250px;
}

#Year,
#FromYear,
#ToYear{
    width: 250px;
}


#CompanyOrFacilityName{
    max-width:535px;
}

.form-control{
    width: 100% !important;
    margin-bottom:5px;
}

.help-icon-container {
    position: relative; 
    display: inline-block;
    top:-10px;
}

.help-icon {
    cursor: pointer;
    font-size: 15px;
    color: #7eb900;
}

.help-popup-label{
    float:none;
    margin-left: 0;
    margin-bottom: 0;
}

.help-popup-li {
    margin-left: 5px;
}

.help-popup-ul {
    list-style-type: none;
    padding-left: 0;
    padding-right: 3px;
    padding-bottom: 0px;
}

.help-popup-inner-ul {
    list-style-type: none;
    padding-left:40px;
}

.help-popup-inner-li {
    margin-bottom: 15px;
    line-height:15px;
}

.help-popup {
    visibility: hidden;
    line-height: 18px;
    font-size: 11.5px;
    color: black;
    width: 353px;
    border: 1px solid #7eb900;
    text-align: left;
    background-color: #e2f0d9;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    top: -80%;
    left: 400%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.help-icon-container:hover .help-popup {
    visibility: visible;
    opacity: 1;
}

.triangle {
    visibility: hidden;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-right: 50px solid #e2f0d9;
    position: absolute; 
    left: 13px; 
    top: 55%; 
    transform: translateY(-50%); 
    opacity: 0;
    transition: opacity 0.3s;
}

.help-icon-container:hover .triangle {
    visibility: visible;
    opacity: 1;
}

}

details fieldset {
    border-top: none;
}

#EmissionRangeStart, #EmissionRangeEnd {
    max-width: 48%;
    display: inline;
}

.companyName {
    font-weight: bold;
}

.facilityName {
    font-style: italic;
}

.substance, .facilityCountNumber {
    text-align: right;
    white-space: nowrap;
}

.help-block {
    line-height:17px;
    font-size: .8em;
    text-align: left;
    margin-left: 1.8em;
    margin-bottom:0px;
    position:relative;
    margin-top:-1%;
}

/* hide standard sort icons, to save space */
table.dataTable thead .sorting .sorting-icons,
table.dataTable thead .sorting_asc .sorting-icons,
table.dataTable thead .sorting_asc_disabled .sorting-icons,
table.dataTable thead .sorting_desc .sorting-icons,
table.dataTable thead .sorting_desc_disabled .sorting-icons {
    display: none;
}

#FacilityPageTopButtons, #AnnualSummaryPageTopButtons {
    margin-top: 45px;
}

#Download_HTML, #Download_XLS {
    margin-top: 50px;
}

#GHGInformation, #AnnualReportedEmissions, #NPRIinformation {
    margin-top: 50px;
}

/* Provincial page table */
#GHGSummary {
    margin-top: 50px;
    /*text-align: left*/
}

#GoToAnnualSummaryPage {
    margin-top: 45px;
}

/* Facility page table */
#FacilityInfor {
}
/* Facility page table */
#GHGInformationTable, #dataTable_Show {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right
}
/* Facility page - add xaxis,yaxis label*/
#Chart {
    position: relative;
    /*border: 3px solid #73AD21;*/
    float: right;
    margin-left: 10px;
}

.xaxisLabel {
    position: absolute;
    bottom: 0px;
    left: 50%;
    font-size: 12px;
    /*border: 3px solid #73AD21;*/
}

.chart-small {
    position: relative;
    width: 650px;
    height: 300px;
    /*border: 3px solid blue*/
}

.yaxisLabel {
    position: absolute;
    top: 60%;
    left: 4%;
    font-size: 12px;
    float: left;
    /*border: 3px solid #73AD21;*/
    transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

#chartTitle {
    font-size: 12px;
}
/* make room for the y-axis label */
.wb-graph {
    margin-left: 50px;
}

/* Summary page button */
#BackToSearchPage_AnnualSummary {
    position: relative;
    left: 80px
}

/* Result: data table header align center */
#ResultTonnes {
    text-decoration: none;
}

#Tonnes {
    text-align: center;
    text-decoration: none;
}

/* DT Filter items position */
.dataTables_filter label {
    width: 300px;
    margin-left: 0;
    float: left;
}

    .dataTables_filter label input {
        float: right;
        width: 150px;
    }

/* select2 component custom styles */
.select2-container--default .select2-selection--single {
    height: 37px;
    border: 1px solid #ccc;
    color: #555;
    font-size: 16px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 37px;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 37px;
        top: 0px;
    }
