/*
 * Table extension styles.
 *
 * Copyright (c) 2017 OPENXTRA Ltd., All rights reserved.
 * See LICENSE for license details.
 */

// Comparison table for Room Alert monitors
.product-room-alert-comparison {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-room-alert-comparison {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

@media only screen and (min-width: 800px) {
    .product-room-alert-comparison {
        .lib-table-overflow();
    }
}

// Supported sensors table
.product-supported-sensors {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-supported-sensors {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

// GoToMyDevices.com subscription comparison table
.product-gotomydevicesdotcom-comparison,
.product-gotomydevicescom-comparison {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-gotomydevicesdotcom-comparison,
    .product-gotomydevicescom-comparison {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

// Quick Info external sensor supported list
.product-quick-info-external-sensors-supported {
    .lib-table();
    .lib-table-bordered(
    	@_table_type: light
	);
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-quick-info-external-sensors-supported {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.product-securityprobe-expansion {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-securityprobe-expansion {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.product-sensor-specification {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-sensor-specification {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.product-model-variants {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-model-variants {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.product-sensor-variants {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-sensor-variants {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.brand-obsolete {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .brand-obsolete {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.product-comparison {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-comparison {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.product-sensor-comparison {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .product-sensor-comparison {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.snmp-details {
    .lib-table();
    .lib-table-bordered();
    .lib-table-striped();
    .lib-table-hover();
}

@media only screen and (max-width: @screen__m) {
    .snmp-details {
        .lib-table-responsive(
            @_table-th-background-color-responsive: #ffc,
            @_reset-table-striped: true,
            @_reset-table-hover: true
        );
    }
}

.product-securityprobe-expansion .fa-times,
.product-sensor-specification .fa-times,
.brand-obsolete .fa-times,
.product-comparison .fa-times,
.product-sensor-comparison .fa-times,
.product-sensor-variants .fa-times,
.product-room-alert-comparison .fa-times,
.product-supported-sensors .fa-times,
.product-gotomydevicesdotcom-comparison .fa-times,
.product-quick-info-external-sensors-supported .fa-times {
    color: grey;
    font-size: 20px;
}

.product-securityprobe-expansion .fa-check,
.product-sensor-specification .fa-check,
.brand-obsolete .fa-check,
.product-comparison .fa-check,
.product-sensor-comparison .fa-check,
.product-sensor-variants .fa-check,
.product-room-alert-comparison .fa-check,
.product-supported-sensors .fa-check,
.product-gotomydevicesdotcom-comparison .fa-check,
.product-gotomydevicesdotcom-comparison .fa-check-circle,
.product-quick-info-external-sensors-supported .fa-check {
    color: green;
    font-size: 20px;
}

table.product-room-alert-comparison .fa-check-circle {
    color: green;
    font-size: 20px;
}

table.product-room-alert-comparison td,
table.product-room-alert-comparison th {
    text-align: center;
}

table.product-room-alert-comparison td.product-label {
    text-align: left;
}

table.product-gotomydevicesdotcom-comparison .fa-check-circle {
    color: green;
    font-size: 20px;
}

table.product-gotomydevicesdotcom-comparison td,
table.product-gotomydevicesdotcom-comparison th {
    text-align: center;
}

table.product-gotomydevicesdotcom-comparison tr.section-header th {
    text-align: left !important;
    padding-left: 0 !important;
    padding-top: 15px !important;
}

table.product-gotomydevicesdotcom-comparison td.product-label {
    text-align: left;
}

table.product-gotomydevicesdotcom-comparison tr.stripe td {
    background-color: #f9f9f9;
}

col.highlight {
    background-color: yellow;
    border: 1px solid red;
}

tr.highlight {
    background-color: yellow;
    border: 1px solid red;
}

/* Download table styles */

.downloads {
    .lib-table();
    .lib-table-bordered();
}

/* Contact page > table styles */

table.attribute-tbl,
table.attribute-tbl tr {
    border: solid 1px #DDDDDD;
    background-color: #FFFFFF;
}

table.attribute-tbl tr.group-ttl {
    background-color: #148fdd;
    color:#FFFFFF;
    font-weight:bold;
    letter-spacing:2px;
    text-transform:uppercase;
}

table.attribute-tbl td {
    padding: 6px 6px 6px 12px;
}

table.attribute-tbl tr.odd,
table.attribute-tbl tr.odd td {
    border-bottom-color: #DDDDDD;
    background-color: #F7F8F9;
}
