﻿/* Base styles */
html{
height:100%;
overflow:hidden;
}
body {
    font-family: Public Sans,Arial,Verdana;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    margin: 0px;
    height: 100%;
    width: 100vw;
}

.failure {
    color: red;
    font-weight: bold;
    font-size: 14pt;
}

.button {
    /* Brand-Colors */
    background: var(--primary);
    /* Auto layout */
    display: flex;
    font-size: 12px;
    flex-direction: row;
    align-items: center;
    width: 157px;
    height: 34px;
    border: none;
    border-radius: 100px;
    color: white;
    justify-content: center;
    text-decoration: none;
}

    .button:hover {
        cursor: pointer;
    }

    .button > p {
        margin: 0;
    }

p {
    text-align: center;
}

.button-sec {
    background: white;
    color: black;
    border: 1px solid;
}

.button-delete {
    background: rgba(168, 53, 58, 1);
    color: white;
    border: 1px solid;
    border-color: black;
}



.title-contents {
    display: flex;
    width: auto;
    align-items: center;
}

.secondary-nav {
    margin-left: auto;
    width: 131px;
    height: 89px;
    display: flex;
    align-items: center;
}

    .secondary-nav > input {
        padding: 5px 5px 5px 5px;
    }

    .button > img {
        height: 16px;
        padding-right: 10px;
    }

    .secondary-nav > input {
        width: 100px;
        height: 16px;
        background: #FFFFFF;
        border: none;
        font-size: 16px;
        font-weight: 400;
        line-height: 16px;
        color: #000000;
        padding-left: 3px;
    }

/* Content styles */
h1 {
    display: flex;
    flex-direction: row;
    align-content: center;
    /*justify-content: center;*/
    margin-top: 10px;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 18px;
}

h4 {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 400;
    line-height: 15.28px;
}

textarea {
    /* new-prospect-dialog-V2-1 */
    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    gap: 30px;
    position: relative;
    background: #FFFFFF;
    /*margin: 5px;*/
}

.row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    align-items: center;
}
.f.spaceAround {
    justify-content: space-around;
}

.f.spaceEvenly {
    justify-content: space-evenly;
}

.f.spaceBetween {
    justify-content: space-between;
}

.row > .row {
    flex: 1 0 0;
}

.column {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
}

.column > label {
    align-self: flex-start;
}

.column-100 {
    flex: 0 0 100%;
}

.column-50 {
    flex: 0 1 50%;
}

.column-33 {
    flex: 0 1 33.33%;
}

.column-25 {
    flex: 0 1 25%;
}

select, input {
    height: 34px;
    width: 100%;
    border-width: 1px 1px 3px 1px;
    border-style: solid;
    border-color: #4F4F4F;
}
input {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 30px 10px 10px;
    background: #FFFFFF;
    flex: none;
    order: 0;
    font-size: 12px;
    margin: 5px;
}

select {
    height: 34px;
    border: 1px solid #000000;
    font-size: 14px;
    /*margin: 5px;*/
    font-size: 14px;
}

checkbox {
    width: auto;
}


.formCallToActionButtons {
    display: flex;
    flex-direction: row;
}

    .formCallToActionButtons > .button {
        margin: 5px;
    }

.title-contents {
    display: flex;
    align-items: center;
}

    .title-contents > .column > h1,
    .title-contents > .column > p,
    .title-contents > .column > .higherselect {
        margin-right: auto;
        /*margin-bottom: 10px;*/
    }

    .title-contents > .column > p {
        margin-top: 0px;
        font-size: 12px;
    }

    .title-contents > .column > .higherselect {
        margin-top : 20px;
    }

.filter:hover{
    cursor: pointer;
}

.filter > img {
    width: 13px;
    height: 13px;
    margin-left: 10px;
    align-self: center;
}
/* Table styles */
table {
    border-spacing: 0;
    width: 100%;
}

thead {
    height: 34px;
    color:white;
}

th {
    background: rgba(51, 51, 51, 1);
    padding: 10px;
}

    th > a,
    th > a:focus {
        color: #FFFFFF;
        text-decoration: none;
    }
/*table thead th[data-direction="asc"]:before {*/
table thead th a.column-header-anchor{
white-space:nowrap;
}
table thead th .icon.glyphicon.glyphicon-chevron-down:before {
    content: "▲"; /* Up arrow */
    display: inline-block;
    margin-left: 5px;
}

/*table thead th[data-direction="desc"]:before {*/
table thead th .icon.glyphicon.glyphicon-chevron-up:before{
    content: "▼"; /* Down arrow */
    display: inline-block;
    margin-left: 5px;
}

.glyphicon {
    margin-left: 10px;
}

.table-striped > tbody > tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 1);
}

.table-striped > tbody > tr:nth-child(odd) {
    background-color: var(--secondary-light);
}

/* Add a class to disable hover effects on table rows */
.no-hover .table-striped > tbody > tr:hover {
    background-color: inherit !important;
    color: inherit !important;
}
.no-hover .table-striped > tbody > tr:hover a {
    color: inherit !important;
}

tbody tr td {
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headerless-table > thead td {
    color: black;
    font-weight: 600;
    background-color: none;
}

td > a {
    color: black;
    text-decoration: none;
}

.table-container th, .table-container td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px;
}

.table-container {
    max-height: 60vh;
    overflow: auto;
}

    .table-container th {
        position: sticky;
        top: 0;
    }

/*Edit*/
.remodal-wrapper > div {
    align-self: center;
    z-index: 99;
    width: 90%;
}

#userForm {
    display: flex;
    flex-direction: column;
}

form {
    display: flex;
    flex-direction: column;
}

/* Pop-up Forms */
div.pop-up {
    height: auto;
    background-color: rgba(242, 242, 242, 1);
    border: 1px solid gray;
    margin:auto;
    padding: 25px 35px 15px;
    width: 80%;
    max-width:600px;
    position:relative;
    top:100px;
}

div.search-prospect {
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
}

#prospectsGrid {
    width:100%;
    table-layout:auto;
    overflow: auto;
}

#upload{
    border-style: none; 
    background-color: unset;
}

.inputSet {
    max-width: fit-content;
}

/*Price Book*/
.priceBookPartials{
    max-width: 900px;
}

/* SiteSurvey */
.siteSurvey li .questionDescription {
    padding-left: 20px;
    font-size: 0.8em;
    font-weight: normal;
    display: block;
}

.block{
display:block;
}

/***********************************/
/*			New Brand Stuff			*/
/***********************************/
.view {
    display: table-cell;
}

.edit {
    display: none;
}

table.is-editing .view {
    display: none;
}

table.is-editing .edit {
    display: table-cell;
}

