/* Copyright (c) Microsoft Corporation.
Licensed under the MIT license. */

/* Apply a single font on the website */

a:link {
    color: #cdd5da;
    text-decoration: none;
}

a:hover {
    color: white;
    text-decoration: none;
}

.roottitle .childcount {
    box-sizing: unset;
}

.form-control.is-invalid{
    background-image: none;
}

header {
    background-color: #007FFF;
    height: 75px;
    width: 100%;
}

header > p {
    color: #FFFFFF;
    font: bold 1.6em "segoe ui", arial, sans-serif;
    margin-left: 31px;
    padding-top: 20px;
}

main {
    margin: 0 auto;
    width: 100%;
}

#text-container > div > p {
    font: 1.2em "segoe ui", arial, sans-serif;
}

#report-container {
    /*height: calc(0.5625 * 61vw);  16:9 aspect ratio */
    height: calc(100vh - 80px);
    padding-top: 10px;
}

iframe {
    border: none;
}

@media only screen and (max-width: 574px) {
    #report-container {
        height: calc(0.5625 * 100vw); /* 16:9 aspect ratio */
    }
}

/* Header links style */
.main-page {
    display: inline-block;
}

/* Style for the admin link */
.header-nav {
    color: white;
}

.textheader {
    font-size: 1rem;
    font-weight:bold;
    text-align:left;
}

/* Alert dialog button */
.whiteBtn {
    background-color: #FFFFFF;
    border-radius: 2px;
}

.whiteBtn:hover {
    background-color: #F4F4F4;
}


#deleteAlertID {
    display:none;
}


#dialogMask {
    position: absolute;
    display: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.actionDialog {
    display: none;
    position: absolute;
    width: 952px;
    height: 775px;
    top: 60%;
    left: 50%;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.25);
    z-index: 12;
    padding: 16px 24px;
    transform: translate(-50%, -50%);
}

.confirmDialog {
    display: none;
    position: absolute;
    width: 450px;
    height: 125px;
    top: 50%;
    left: 50%;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.25);
    z-index: 12;
    padding: 16px 24px;
    transform: translate(-50%, -50%);
}

.dialogHeader {
    height: 45px;
}

.dialogFooter {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 64px;
    padding: 16px 24px;
    border-top: solid;
    border-width: 1px;
    border-color: #FFFFFF;
}

.alertHierarchyContainer {
    font-size: 14px;
    padding-bottom: 15px;
}

#alertHierarchy select {
    font-size: 12px;
}

.hierarchyOptionsContainer {
    display: inline-block;
    width: 200px;
    padding-left: 10px;
}

/* CSS for the table in the alert pop-up*/
.alertTable {
    height: 320px;
    color: #212121;
    overflow-y: scroll;
    margin-bottom: 5px;
}

.alertOverviewContainer {
    height: 550px;
}

.configureTable {
    height: 100%;
}

.alertTable::-webkit-scrollbar-track
{
    border-radius: 10px;
    background-color: transparent;
}

.alertTable::-webkit-scrollbar 
{
    width: 6px;
    height: 10px;
    background-color: transparent;
}

.alertTable::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    background-color: #E1E1E1;
}

.dialogHeaderText {
    font-weight: 600;
    line-height: 28px;
    font-size: 20px;
}

.alertTable table {
    border-collapse: collapse;
    width: 100%;
}

.alertTable th, .alertTable td {
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.alertTable td {
    font-size: 12px;
    color: #666666;
}

.alertTable td.nameCell {
    font-size: 14px;
    color: #000000;
}


.alertTable select {
    font-size: 12px;
}

.alertTable input {
    font-size: 12px;
}

/* Style for the edit image */
.alertTableEditImg {
    height: 20px;
    cursor: pointer;
}

.alertTableAlertName {
    width: 20%;
}

.alertTableImgCell {
    width: 5%;
}


/* Style for the delete image */
.alertTableDeleteImg {
    height: 20px;
    cursor: pointer;
}

.alertTableImgCell {
    width: 5%;
}


/* Style for the alert details */
#alertDetails {
    height: 220px;
    color: #212121;
    padding-right: 20px;
    text-align:right;
}

.detailsContainer {
    font-size: 12px;
    margin-bottom: 10px;
}

.detailsContainer input {
    font-size: 12px;
    text-align:left;
}

    .detailsContainer select {
        font-size: 12px;
        text-align: left;
    }

#alertFilterContainer{
    display: block;
    width: 100%;
    height: 70px;
    overflow: auto;
}

#alertFilterContainer div {
    display: inline-block;
    padding: 4px;
    border-radius: 4px;
    color: white;
    margin: 4px 4px;
}

#filter-saved-container {
    background-color: #236092;
}

#filter-container {
    background-color: #28a745;
}

#alertFilterLegend {
    text-align:center;
    padding-top:5px;

}

.filter-saved-container-legend {
    background-color: #236092;
 }

.filter-container-legend {
    background-color: #28a745;
}

.filter-span {
    font-size: 12px;
}

.remove-filter-span {
    padding: 2px;
    vertical-align: middle;
    cursor: pointer;
}

/* Specify the width for the alert name container */
#alertNameInput {
    max-width: 200px;
    text-align: left;
}

#btnCloseDistributionDialog {
    float: right;
    position: relative;
    cursor: pointer;
    margin-top: 2px;
}

.actionBtn {
    float: right;
}

.actionDialogBtn {
    display: inline-block;
    width: 110px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    font-size: small;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s;
    user-select: none;
    border: solid;
    border-width: 1px;
    border-color: #6E6E6E;
    margin-right: 8px;
    color: #000000;
}

.checkAllBtn {
    user-select: none;
}



/* Style for the admin page */
#showcasesContent {
    position: relative;
}

#showcaseContent {
    display: table;
    padding: 32px 24px 24px 24px;
    width: 100%;
    height: calc(100vh - 80px);
    background: #F1F1F1;
    overflow: hidden;
}

#leftShowcaseWindow {
    min-width: 20vw;
    max-width: 20vw;
    display: table-cell;
    padding-right: 16px;
}

#showcaseItemsWrapper {
    background: #FFFFFF;
    min-height: 350px;
}

#visualsList {
    padding: 8px 0 8px 0;
}

.checkboxContainer {
    display: inline-block;
    position: relative;
    margin-bottom: 0px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    user-select: none;
    height: 40px;
    padding: 8px 8px 8px 10px;
}


#labelContainer{
    display: inline-block;
    background: #f0f0f0;
    padding: 4px;
    cursor: pointer;
}

#showcaseEmbedArea {
    display: table-cell;
    width: 100%;
}

/* Style for the icons on the page */
.columnsIcon {
    padding-top: 6px;
    min-width: 95px;
}

.active-columns-btn {
    border-bottom: 2px solid #F2C811 !important;
    border-top: 2px solid transparent;
}

.textAreaControl {
    background-color: transparent;
    border: none;
    outline: none;
    margin-right: 40px;
    height: 40px;
    opacity: 1;
    min-width: 80px;
    font-weight: bold;
    cursor: pointer;
}

.textAreaControls {
    background-color: #FAFAFA;
    position: relative;
    z-index: 1;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: bold;
}

#showcase-embedded-view {
    background: #FFFFFF;
    /* height: calc(67vw*(9/16)*1.1); */
    height: 100%;
    width: 100%;
    position: relative;
}

.iframeContainer {
    display: none;
    height: 100%;
    background-color: #FFFFFF;
    padding: 0px;
    clear: both;
}

.iframeContainer.active {
    display: block;
}

.show-hide-option {
    width: 20px;
    cursor: pointer;
}