﻿/* GENERAL */
.NormalGridView .AspNet-GridView table tbody tr td.align-left, .NormalGridView .AspNet-GridView table thead tr th.align-left {
    text-align: left;
}

.NormalGridView .AspNet-GridView table tbody tr td.align-center, .NormalGridView .AspNet-GridView table thead tr th.align-center {
    text-align: center;
}

.NormalGridView .AspNet-GridView table tbody tr td.align-right, .NormalGridView .AspNet-GridView table thead tr th.align-right {
    text-align: right;
}

fieldset {
    padding: 5px 10px 10px 10px;
    border-width: 1px;
    border-style: solid;
    margin-top: 10px;
}

input.FullWidth, select.FullWidth {
    box-sizing: border-box;
    width: 100%;
}

/* VALIDATION */
div.ValidationSummary {
    padding: 5px 10px 10px 10px;
    border: 1px solid #ccc;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    line-height: normal;
}

div.ValidationSummary ul {
    font-size: 13px;
    font-weight: normal;
    margin-top: 10px;
}

div.ValidationSummary ul li {
    list-style-type: square;
    margin-left: 16px;
}

.validationBorderColor {
	border-color: red !important;
}

.validationBorder {
    border: 1px solid red;
    border-collapse: separate;
    margin-bottom: 2px;
}

/* TOOL-TIP */
div.ToolTip-Wrapper {
    width: inherit;
}
div.ToolTip-Text {
    position: absolute;
    background-color: white;
    border: 1px solid black;
    padding: 5px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, ease-in-out 0.2s;
    line-height: normal;
    font-weight: normal;
    z-index: 100;
}

.ToolTip:hover ~ div.ToolTip-Text, .ToolTip:focus ~ div.ToolTip-Text {
    visibility: visible;
    opacity: 1;
}

/* DISABLED-INPUTS */
input:disabled, input[disabled], input[readonly], textarea[disabled] {
    background: #F5F5F5;
    color: #CCC;
    cursor: not-allowed;
}

input[type='submit']:disabled, input[type='submit'][disabled] {
    cursor: not-allowed;
}

ul li {
    margin-left: 20px;
    list-style-type: disc;
}

ul li ul li {
    list-style-type: circle;
}

ul.ActionButtons li {
    margin-left: 0;
    list-style-type: none;
}

/* TABS */
.Tabs a.ActiveTab {
    text-decoration: underline;
}

/* MODULE TITLE */
div.Title {
    margin: 10px;
}

div.Title h1 {
    margin: 0;
}

.Float-Left {
    float: left;
}

.Float-Right {
    float: right;
}

.Clear-Both {
    clear: both;
}

/* POPUP */
table.Popup-Header td.Popup-HeaderTitle {
    background: #CCC !important;
    border: solid 1px #7F7F7F;
    padding: 5px;
}

div.Popup-Content {
    padding: 5px;
}

div.Popup-Content div.Popup-Body {
    padding-left: 0;
    padding-right: 0;
}

div.PopupContainer {
    z-index: 100002 !important;
    border: solid 1px #7F7F7F;
}

/* FORM TABLE */
table.FormTable tr td {
    vertical-align: middle;
    padding: 0;
}

table.FormTable tr td.right {
    text-align: right;
}

/* WIZARD */
table.wizard td.sideBar {
    padding-right: 5px;
    border-right: 1px solid #999;
    width: 180px;
}

table.wizard td.sideBar td {
    padding-bottom: 10px;
}

table.wizard td.step {
    padding-left: 20px;
    padding-bottom: 20px;
}

table.wizard table.wizard-summary tr td {
    padding-bottom: 5px;
}

table.wizard table.wizard-summary tr td:first-child {
    padding-right: 10px;
}

table.wizard table.checkbox-items tr td {
    padding-bottom: 5px;
}

/* PASSWORD CONTROL V2 */
div.password-score-wrapper td.pass, td.fail {
    color: white;
}
div.password-score-wrapper .pass {
    background-color: green;
}
div.password-score-wrapper .fail {
    background-color: red;
}
div.password-score-wrapper .txtCenter {
    text-align: center;
}
div.password-score-wrapper div.scorebar-background {
    position: relative;
    height: 20px;
    border: 1px solid grey;
    box-sizing: border-box;
}
div.password-score-wrapper div.scorebar-background div.scorebar {
    position: absolute;
    height: 100%;
}
div.password-score-wrapper div.scorebar-background div.scorebar.fail {
    background-color: red;
}
div.password-score-wrapper div.scorebar-background div.scorebar.success {
    background-color: green;
}
div.password-score-wrapper div.scorebar-background div.score {
    position: absolute;
    z-index: 10;
    font-weight: bold;
    padding: 0 2px;
}

/* BUTTONS */
a.btn:hover {
    text-decoration: none;
}
a.SmallButton {
    font-size: 12px;
    padding: 3px 9px;
}
a.SmallButton:hover {
    text-decoration: none;
}
.NormalGridView .AspNet-GridView table thead tr th a.SmallButton {
    text-transform: none;
    display: inline;
}
.NormalGridView .AspNet-GridView table thead tr th a.SmallButton[disabled] {
    cursor: not-allowed;
}
.NormalGridView .AspNet-GridView table tbody tr td a.SmallButton:hover {
    text-decoration: none;
}

/* Phone number control */
ul.iti__country-list li {
    list-style-type: none;
    margin-left: 0;
}

.NormalGridView .AspNet-GridView table tbody tr td .TableNoBorderBottom tbody tr td {
    border-bottom: none;
    display: table;
}

.Display-Flex{
    display:flex;
}

.Display-Inline-Flex{
    display:inline-flex;
}

.SmallMarginBottom{
    margin-bottom:15px;
}

/* Autocomplete */
/*the container must be positioned relative:*/
div.autocomplete {
    position: relative;
    display: inline-block;
}

/*items container*/
div.autocomplete-items-container {
    position: absolute;
    border: 1px solid #ccc;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    max-height: 400px;
    overflow: auto;
}

/*item container*/
div.autocomplete-items-container div {
    cursor: default;
    background-color: #fff;
    font-weight: normal;
    min-height: 1.2em;
    padding: 6px;
}

/*when navigating through the items using the arrow keys:*/
div.autocomplete-items-container div.autocomplete-active {
    background-color: #585858;
    color: #fff;
}

/*Image selector*/
/*Directory content*/
div.DirectoryContent {
    display: flex;
    flex-flow: row wrap;
}

/*Directory child items*/
div.DirectoryContent div.item {
    flex: 0 0 16.6%;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

/*Directory has no content*/
div.DirectoryContent div.DirectoryEmpty {
    padding: 30px 0 50px 0;
    text-align: center;
    flex: 0 0 100%;
}

/*Anchors in directory content*/
div.DirectoryContent div.item a {
    display: block;
}

/*Directory has not content*/
div.DirectoryContent div.AspNet-GridView-Empty {
    flex: 0 0 100%;
}

.lineBreakAfter::after{
    content: "\a";
    white-space:pre;
}

table.VerticalAlignCellsMiddle tr td{
    vertical-align:middle;
    padding: 3px;
}