div#tblSWAM_wrapper {
    width: 50%;
    margin-bottom:20px;
}

#tblSWAM_wrapper a.click {
	color: var(--white) !important;
	background-color: var(--blue);
	border-color: var(--blue);
	border-radius: 6px;
	padding: 5px;
}

div.displayClickedStats .dl-horizontal dt {
    width: 100%;
    text-align: left;
}

th.swamSummaryTitles {
    text-align: center;
}

div#tblSWAM_wrapper.dataTables_wrapper.dt-bootstrap5.no-footer div.dataTables_scroll div.dataTables_scrollHead div.dataTables_scrollHeadInner {
	width: 100% !important;
}

table.tblSWAM {
	width: 100% !important;
}

#tblSWAM_wrapper th {
	padding: 5px;
}

#tblSWAM td {
	border: 0px;
}

#tblSWAM_wrapper thead tr .swamSummarySubTitles {
	border-bottom: 1px solid !important;
}

#tblSWAM_wrapper thead tr.swamColumnTitles th {
	border-top: 0px !important;
}

#swamRecords .dataTables_wrapper {
	position: relative;
	padding-top: 5px;
	padding-bottom: 10px;
	z-index: 1;
}

#swamRecords .dataTables_length {
	padding-bottom: 10px;
	padding-top: 5px;
}

#swamRecords .dataTables_wrapper .dataTables_length select {
    padding: 5px;
    background-color: white;
}

.swam-score {
    font-size: 20px;
}

#swam-score-a {
    color: #2c856b;
}

#swam-score-b, #swam-score-c, #swam-score-d {
    color: #fa9f47;
}

#swam-score-f {
    color: #f15060;
}

#swam-help-score-grades {
    padding-left: 25px;
    padding-bottom: 25px;
}

.swam-help-score-grades {
    padding-left: 20px;
    font-size: 15px;
    font-weight: 500;
}

.swam-help-score-grades-column {
  float: left;
  padding: 10px;
}

.swam-help-score-grades-column-left {
  width: 10%;
}

/**********************************************************
*   - SOFTWARE SCANNER CARDS - 
***********************************************************/

.swam .row {
    margin-right: -15px !important;
    margin-left: -15px !important;
}

.swam .row-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.swam .cards-row a {
    text-decoration: none;
    color: inherit;
}

.swam .card-height {
    display: flex;
}

.swam #card-body {
    height: 50px;
}

.swam .stat-description {
    margin-bottom: -8px;
    font-weight: 400;
    font-size: 1.5rem;
    opacity: .9;
}

.swam .stat {
    font-size: 4rem;
    font-weight: 600;
}

.swam .sub-stat {
    margin-top: -8px;
    font-weight: 400;
    opacity: .8;
    font-size: 1.2rem;
    padding-bottom: 30px;
}

.swam .bot-hunter-description {
    padding-top: 30px;
}

.swam .card.clicked {
    background-color: var(--hsds-color-green-300);
    color: #000000;
}

.swam .line-container {
    position: absolute;
    bottom: 17px;
    left: 0;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.swam .line-description {
    margin-top: -8px;
    font-weight: 400;
    opacity: .9;
    font-size: 1.2rem;
}

.swam .line {
    width: 100%;
    height: 10px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-color: var(--lightgray);
}

@-webkit-keyframes line-progress {
    0% { width: 0; }
}

@-moz-keyframes line-progress {
    0% { width: 0; }
}

@keyframes line-progress {
    0% { width: 0; }
}

.swam .line span {
    height: 100%;
    display: block;
    background-color: var(--mediumgreen);
    line-height: 30px;
    position: absolute;
    text-align: end;
    padding-right: 5px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    animation: line-progress 2s 0.5s forwards;
}

@keyframes progress {
    0% { --percentage: 0; }
    100% { --percentage: var(--value); }
}
  
@property --percentage {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}
  
.swam #devices-scanned {
    --percentage: var(--value);
    animation: progress 2s 0.5s forwards;
    aspect-ratio: 2 / 1;
    border-radius: 50% / 100% 100% 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-height: 135px;
    margin-left: auto;
    margin-right: auto;
}
  
.swam #devices-scanned::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0.75turn at 50% 100%, var(--purple) calc(var(--percentage) * 1% / 2), var(--lightgray) calc(var(--percentage) * 1% / 2 + 0.1%));
    mask: radial-gradient(at 50% 100%, white 55%, transparent 55.5%);
    mask-mode: alpha;
    -webkit-mask: radial-gradient(at 50% 100%, #0000 55%, #000 55.5%);
    -webkit-mask-mode: alpha;
}
  
.swam .devices-scanned-number::after {
    counter-reset: percentage var(--value);
    content: counter(percentage) '%';
    position: absolute;
    font-weight: 400;
    opacity: .9;
    font-size: 1.1rem;
}

.swam .devices-scanned-number {
    text-align: center;
    font-size: 4rem;
    font-weight: 600;
    margin-top: -65px;
    position: relative;
}

.swam .devices-scanned-label {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: -10px;
}

.swam .devices-scanned-description {
    padding-top: 20px;
    font-weight: 400;
    opacity: .8;
    font-size: 1.3rem;
    text-align: center;
}

#tblSWAMRecords_Devices_wrapper th#fingerprints {
    text-align: center;
    background-color: var(--neutralgray);
}

#tblSWAMRecords_Devices_wrapper th.device-col-headers {
    border-top-width: 0px;
}

#tblSWAMRecords_Devices_wrapper th.fingerprints,
#tblSWAMRecords_Devices_wrapper td.fingerprints {
    background-color: var(--lightgray);
}

#tblSWAMRecords_Devices td.fingerprints {
    color: #000000 !important;
}

.swam label.dark-mode {
    color: var(--white) !important;
}

.swam label input.dark-mode,
.swam label select.dark-mode {
    background-color: var(--darkgray) !important;
    color: var(--white) !important;
}

.swam .filter-row label {
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 600;
}

.swam .button-row #swam-search {
    margin-top: 19px;
    padding: 6px 35px;
}

.swam #help-score-details {
    padding-left: 25px;
}

.swam .swam-help-wrapper {
    max-width: 55px;
}

.swam .button-row #swam-help {
    margin-top: 21px;
}

.swam .button-row {
    padding-bottom:30px;
}

.swam .help-row {
    padding: 0px 30px 20px 0px;
}

.swam .help-row li {
    padding-top: 10px;
}

.swam .help-row li span {
    font-weight: 400;
}

.swam .selectLevel {
    border: 1px solid #ccc !important;
    border-radius: 6px;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    color: #555;
    font-weight: 300 !important;
}

.swam .selectLevel:hover {
    color: #555 !important;
}

.swam .selectLevel label {
    font-weight: 300 !important;
    font-size: 14px !important;
}

.swam #addToAllowlist {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: -3px;
}

.swam .select-level-tooltip i {
    font-size: 16px;
}

.swam .no-access {
    cursor: not-allowed;
}

.swam .swam-header {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Graphik';
}

.swam .swam-toggle {
	height:28px;
}

.swam .switch {
	margin-top: 0px !important;
	width: 64px;
	height: 28px;
}

.swam .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--neutralgray);
	transition: .4s;
	border-radius: 30px;
	height:28px;
	width: 64px;
}

.swam .slider:before {
	position: absolute;
	content: "";
	height: 24px;
    width: 24px;
    border-radius: 20px;
    left: 3px;
    bottom: 2px;
	z-index: 2;
	background-color: #e8e8e8;
	transition: .4s;
}

.swam .input:checked + .slider {
	background-color: var(--mediumgreen);
}

.swam .input:checked + .slider:before {
	transform: translateX(34px);
}

/**********************************************************
*   - DATATABLES - 
***********************************************************/

.swam #tblSWAMRecords_Files tbody tr {
    height:50px;
}

.swam #tblSWAMRecords_Vendors tbody tr {
    height:50px;
}

.swam .deviceblock {
    width: 10px !important;
}

.swam .deviceblock input {
    opacity:.5;
    height: 1.1em;
    width: 1.1em;
    border-radius: 5px;
}

.swam .deviceblock input:checked {
    opacity:1;
}

.swam .row-details {
    width: 10px !important;
}

.swam .row-details,
.swam .row-details-inner {
    opacity:.8;
    cursor:pointer;
}

.swam .row-details:hover,
.swam .row-details-inner:hover {
    opacity:1;
    cursor:pointer;
}

.swam #tblSWAMRecords_Files_length label {
    font-size: 1.4rem;
    font-weight: 300 !important;
}

.swam #tblSWAMRecords_Files_length label select {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

.swam #tblSWAMRecords_Files_info {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: .9;
}

.swam .paginate_button a {
    border-radius:6px;
}

.swam .dataTables_processing {
	z-index: 999;
}

.swam #swamDetails {
    padding: 0px 3%;
}

.swam .table-devices_filepaths {
    border: 1px solid;
    border-radius: 6px;
    padding-left: 20px;
    padding-right: 20px;
}

.table-devices_filepaths .dataTables_scrollBody thead th.sorting {
    visibility: hidden;
}

.table-devices_filepaths .dataTables_scrollBody thead tr th {
    padding: 0px !important;
}

.table-devices_filepaths .dataTables_scrollHeadInner thead tr th.text-left.truncate250.sorting:before {
  content: '\2003';
}

.swam .devicefilepaths-details-table tr td {
    border: 0px;
}

.swam #tblSWAMRecords_Files tbody tr .table-devices_filepaths thead .sorting:before {
    content: '\2003';
}

.swam #tblSWAMRecords_Files tbody tr .table-devices_filepaths tr {
    height:5px;
}

.swam #view_hide {
    text-decoration: underline;
}

.swam .vendor-details-table {
    border-radius: 6px;
    border-collapse: separate;
    border-bottom: 0px !important;
}

.swam .vendor-details-table th:nth-of-type(2) {
    padding-left:20px !important;
}

.swam .vendor-details-table:not(.product-details-table) th:first-of-type {
    border-top-left-radius: 6px;
}

.swam .vendor-details-table th:nth-of-type(4) {
    border-top-right-radius: 6px;
}
.swam .vendor-details-table tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 6px;
}

.swam .vendor-details-table tr:last-of-type td:nth-of-type(4) {
    border-bottom-right-radius: 6px;
}

.swam .product-details-table {
    padding: 0px 2%;
}

@media (min-width: 768px) {
    .swam .dl-horizontal dt {
        width: 220px;
    }

    .dl-horizontal dd {
        margin-left: 230px;
    }
}

/**********************************************************
*   - MOBILE - 
***********************************************************/

@media (max-width: 768px) { 
    .swam .help-row {
        padding: 0px 30px 0px 0px;
    }

    .swam  .select-level-tooltip {
        display: block;
        margin-top: 20px;
    }
}

@media (max-width: 991px) { 
    .swam .sub-stat {
        padding-bottom: 60px;
    }
}

@media (max-width: 1199px) { 
    .swam .filter-row label {
        padding-top:10px;
    }
}