/* 
====================================
============= GENERAL ==============
====================================
*/

.containerTopPage {
    display: flex;
    justify-content: center;
    align-items: center;
}

text {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

#tableFactSheets th {
    width: auto !important;
}




/* 
====================================
============ DATA INPUT ============
====================================
*/

#selectionMenu {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

#selectionMenu>label, 
#selectionMenu > p,
#selectionMenu>select {
    margin-left: -15px;
    margin-right: 0px;
}

#controls-custom {
    display: flex;
    margin-left: 10px;
    height: 130.5px;
    flex-wrap: wrap;
}

#controls-custom button,
#controls-custom abbr {
  height: 63px;
  align-self: center;
  width: 63px;
}

#controls-custom button:disabled {
    opacity: 0.5;
}

#colourBtn i {
    font-size: 18px;
    margin-top: 6px;
}

#dpd-container-other > div.dpd-form.dpd-horizontal > div.dpd-section {
    justify-content: unset;
}

.second-row-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#thumbnail-container {
    display: none;
}

#thumbnail-container h4 {
    margin-top: 10px;
}

#thumbnail-container>div[role="button"] {
  border: solid 1px #ddd;
  margin-bottom: 50px;
  filter: grayscale() opacity(0.4);
}

#thumbnail-container>div[role="button"].active, 
#thumbnail-container>div[role="button"]:hover {
  filter: none;
}



/* 
====================================
============ RESPONSIVE ============
====================================
*/

@media only screen and (max-width: 425px) {
    main p, main li, main a {
        font-size: .875em;
    }
    
    div#clearGraph {
        margin-top: 24px;
        margin-bottom: 6px;
    }
    
    div#results {
        margin-top: 100px;
    }
    
    .box.tableBox.generalBox { 
        margin: 0px -22px;
    }
    
    #data-table-wrapper details {
        margin: 0px -15px;
        width: 99vw;
    }
    
    #selectionMenu:not(.advanced) .checkbox.gc-chckbxrdio {
        margin-left: 0;
    }
}

@media only screen and (max-width: 768px) {

    .axisTextLablez {
        font-size: 24px;
    }

    #fig4_xAxisLabel {
        font-size: 30px;
    }
    
    #selectionMenu, #dpd-container-other {
        border-bottom: 2px solid rgba(0, 0, 0, 0.75);
    }
    
    #results {
        margin-top: 20px;
    }
}


@media (min-width: 1300px) {
    .container {
        width: 1276px;
    }
}



/* 
====================================
============ DATA TABLE ============
====================================
*/

.tableBox {
    font-size: small;
}

.table-responsive .ellipsis {
    display: none;
}

#data-table-wrapper {
    display: none;
}

#data-table-wrapper.active {
    display: block;
}

div.table-title {
  display: flex;
  margin-top: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}

div.table-title h3 {
  margin-top: 0;
}

table.custom-nowrap td {
    white-space: nowrap;
}

.dataTables_info,
.dataTables_length {
    font-size: 14px;
}

div.table-download-button {
    position: absolute;
    right: 25px;
    margin-top: 40px;
}