﻿.modal-open {
    overflow: hidden !important;
}
.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1050 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    outline: 0 !important;
}

.modal.show .modal-dialog {
    -webkit-transform: none !important;
    transform: none !important;
}
.modal-open .modal {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out !important;
    transition: transform 0.3s ease-out !important;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out !important;
    -webkit-transform: translate(0, -50px) !important;
    transform: translate(0, -50px) !important;
}

.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1040 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000 !important;
}
.modal-backdrop.show {
    opacity: 0.5 !important;
}

.modal.show .modal-dialog {
    -webkit-transform: none !important;
    transform: none !important;
}

.modal-dialog {
    position: relative !important;
    width: auto !important;
    margin: 0.5rem !important;
    pointer-events: none !important;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px !important;
        margin: 1.75rem auto !important;
    }
}
@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px !important;
    }
}
@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px !important;
    }
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out !important;
    transition: transform 0.3s ease-out !important;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out !important;
    -webkit-transform: translate(0, -50px) !important;
    transform: translate(0, -50px) !important;
}

.modal.show .modal-dialog {
    -webkit-transform: none !important;
    transform: none !important;
}

.modal-content {
    position: relative !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    width: 100% !important;
    pointer-events: auto !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 0.3rem !important;
    outline: 0 !important;
}

.fade {
    opacity: 1 !important;
}




#X3_FormBuilder .ui-tabs-hide {
    display: none;
}

#X3_FormBuilder a.edit {
    background: url(/icons/sigma/Edit_16x16_Standard.png) 0 0 no-repeat;
    text-indent: -9999px;
    display: inline-block;
    width: 12px;
    height: 12px;
}

#X3_FormBuilder .ui-tabs-nav li {
    position: relative;
    top: 1px;
}

#X3_FormBuilder .rgDragCol {
    cursor: move;
}

#X3_FormBuilder .dragdrop {
    float: left;
    position: relative;
    top: 2px;
}

.RadPicker_Default .rcCalPopup {
    position: inherit !important;
    right: auto !important;
    top: auto !important;
}

.riSingle .riTextBox {
    height: auto !important;
}

.mb-3 > .RadPicker_Default,
.mb-3 > .RadInput_Default {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    width: 47% !important;
    max-width: 445px;
    white-space: nowrap !important;
}

.mb-3 > .RadPicker_Default .riTextBox,
.mb-3 > .RadInput_Default .riTextBox {
    border-color: #c9c9c9 !important;
}

.RadPicker_Default .riTextBox,
.RadInput_Default .riTextBox {
    padding: 8px !important;
}

.RadPicker_Default .rcTable {
    position: relative !important;
    width: 100% !important;
}

.mb-3 {
    clear: both;
}

.mb-3 > .RadPicker_Default .riTextBox.riFocused,
.mb-3 > .RadInput_Default .riTextBox.riFocused {
    border: 1px solid rgba(2, 139, 255, 0.5) !important;
    box-shadow: 0 0 3px 0 rgba(2, 139, 255, 0.4) !important;
    color: #333333 !important;
}

#X3_FormBuilder H1 .dnnLabel,
#X3_FormBuilder H2 .dnnLabel,
#X3_FormBuilder H3 .dnnLabel,
#X3_FormBuilder H4 .dnnLabel,
#X3_FormBuilder H5 .dnnLabel,
#X3_FormBuilder H6 .dnnLabel {
    width: auto;
    text-align: left;
    float: none;
}

#X3_FormBuilder .mb-3 .RadPicker {
    width: 100% !important;
}

#X3_FormBuilder .mb-3 .RadPicker {
    max-width: 445px !important;
    width: 45% !important;
    margin-bottom: 18px;
}

html body #X3_FormBuilder .RadInput_Default .riTextBox,
html body #X3_FormBuilder .RadInputMgr_Default {
    border-color: #ccc;
}

html body #X3_FormBuilder .RadInput_Default .riTextBox.riFocused {
    border-color: #66afe9;
}

#X3_FormBuilder .address-control-group {
    width: 84%;
    margin-left: 34%;
}

/* Results administration */
.x3-results {
    margin: 10px 0 25px;
}

.x3-results-toolbar {
    align-items: center;
    background: #f5f7fa;
    border: 1px solid #d8dee6;
    border-radius: 4px 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding: 12px;
}

.x3-results-actions,
.x3-results-pager {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.x3-results-page-label {
    color: #425466;
    display: inline-block;
    font-weight: 600;
    min-width: 180px;
    text-align: center;
}

.x3-results-table-wrap {
    border: 1px solid #d8dee6;
    border-radius: 0 0 4px 4px;
    border-top: 0;
    max-width: 100%;
    overflow-x: auto;
}

.x3-results-table {
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0 !important;
    min-width: 900px;
}

.x3-results-table > tbody > tr > td,
.x3-results-table > thead > tr > th {
    border-bottom: 1px solid #e4e9ef;
    border-top: 0 !important;
    padding: 9px 10px !important;
    vertical-align: top;
}

.x3-results-table > thead > tr > th {
    background: #243f62;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    position: sticky;
    text-transform: uppercase;
    top: 0;
    white-space: nowrap;
    z-index: 1;
}

.x3-results-table > tbody > tr:nth-of-type(even) {
    background-color: #f8fafc;
}

.x3-results-table > tbody > tr:hover {
    background-color: #eef5fb;
}

.x3-results-table > tbody > tr > td {
    color: #263442;
    max-width: 340px;
    overflow-wrap: anywhere;
}

.x3-results-table > tbody > tr > td:nth-child(-n+4) {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .x3-results-toolbar,
    .x3-results-actions,
    .x3-results-pager {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .x3-results-page-label {
        min-width: 0;
        padding: 4px 0;
    }
}
