html[dir="rtl"] .col-xs-12 #uiDesignerSurfaceOuter {
    float: right !important;
    text-align: right;
}

html[dir="rtl"] [class*="col-xs"] {
    float: right !important;
}

html[dir="rtl"] input[type="text"] {
    float: right !important;
}

html[dir="rtl"] .ms-formdescription {
    float: right !important;
}

html[dir="rtl"] .ui-datepicker-trigger {
    float: right;
    margin-right: -30px;
    margin-left: 0px;
}

html[dir="rtl"] .nf-datepicker-select {
    float: right;
}

html[dir="rtl"] .nf-outer select {
    background-position-x: 10px;
}

html[dir="rtl"] .nf-outer .ip-container .ip-input {
    float: right;
    text-align: right;
}

html[dir="rtl"] .nf-outer .ip-container .ip-item {
    float: right;
}

html[dir="rtl"] .imageGIF {
    float: right !important;
    margin-right: -30px;
}

html[dir="rtl"] .nf-outer input[type="checkbox"] + label:not([role="button"]),
html[dir="rtl"] .nf-outer input[type="radio"] + label:not([role="button"]),
html[dir="rtl"] .nf-outer input[type="checkbox"] + label,
html[dir="rtl"] .nf-outer input[type="radio"] + label {
    text-align: right;
}

html[dir="rtl"] .nf-outer input[type="file"] + label .file-input-btn {
    float: right;
}

.imageGIF {
    position: relative;
    float: left;
    margin-left: -30px;
    margin-top: 9px;
    z-index: 10;
    cursor: pointer;
}

/*  OVERRIDE BOOTSTRAP STYLES  */
* {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

    *:before,
    *:after {
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
    }

.nf-outer * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .nf-outer *:before,
    .nf-outer *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

/*  OVERRIDE SHAREPOINT STYLES  */

.ms-formtable,
.ms-core-tableNoSpace {
    table-layout: fixed;
}

.ms-formtable {
    width: 100%;
}

#onetIDListForm {
    width: 680px;
}

.ms-formbody {
    padding: 0;
}

.ms-formtable table,
.ms-formtable tbody,
.ms-formtable tr,
.ms-formtable td {
    width: 100% !important;
    height: auto !important;
    vertical-align: top;
}

.ms-formtable .nf-col tbody .ms-formtable .nf-col tr,
.ms-formtable .nf-col td {
    width: auto !important;
}

.ms-formrecurrence input[type="text"], .ms-formrecurrence select {
    min-width: 40px !important;
    width: auto !important;
    float: none !important;
    display: inline-block !important;
}

.ms-rtefield {
    min-width: 0;
    margin-right: 0;
}

#contentBox {
    min-width: 0;
}

html[dir="rtl"] #contentBox {
    margin-right: 0;
}

.ms-webpart-zone,
.ms-webpart-cell-vertical,
.ms-webpart-chrome-vertical {
    display: block;
}

.ms-core-pageTitle {
    margin: 0 !important;
}

@media (max-width: 767px) {
    #contentBox {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    #sideNavBox {
        display: none;
    }

    #DeltaPlaceHolderMain > div {
        padding-left: 0 !important;
    }
}

/*  OVERIDE INLINE STYLES (TO BE REMOVED)  */
.nf-filler-wrapper-outer, .nf-filler-wrapper {
    width: 100% !important;
}

.nf-outer {
    width: auto;
    height: auto !important;
    background-color: #f3f3f3;
    border: 1px solid #c9c9c9;
    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.edit-mode.nf-outer {
    background-color: white;
    border: none;
    padding: 0;
}

.nf-outer .nf-filler-control {
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    height: auto !important;
}

    .nf-outer .nf-filler-control.row > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .nf-outer .nf-filler-control > div,
    .nf-outer .nf-filler-control > span,
    .nf-outer .nf-textbox-wrapper {
        position: relative;
        display: block;
    }

    .nf-outer .nf-filler-control .nf-percentage {
        overflow: hidden;
        line-height: 40px;
    }

.nf-outer .ms-rtefield {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    min-width: 0px;
}

.nf-outer .nf-filler-control input[type="submit"] {
    display: inline-block !important;
}

.nf-outer [style="cursor:move;"] {
    cursor: default !important;
}

.nf-outer .nf-col .nf-filler-control-inner > span {
    display: block;
}

/*  DEFAULT CSS  */


.nf-outer *,
.nf-outer :focus {
    outline: none !important;
}

.ms-fullscreenmode #contentBox {
    margin-left: 20px;
}

@media (min-width: 768px) {
    .nf-outer {
        margin-left: 0;
    }

    html[dir="rtl"] .nf-outer {
        margin-right: 0;
    }

    .ms-fullscreenmode .nf-outer {
        width: 700px;
    }
}

@media (min-width: 992px) {
    .nf-outer {
        width: 730px;
    }

    .ms-fullscreenmode .nf-outer {
        width: 930px;
    }
}

@media (min-width: 1200px) {
    .nf-outer {
        width: 930px;
    }

    .ms-fullscreenmode .nf-outer {
        width: 1130px;
    }
}

.row {
    margin-bottom: 5px;
}

    .row:last-of-type {
        margin-bottom: 0;
    }

    .row[data-hastitle] > div > div:not([data-title]) {
        margin-top: 23px;
    }

    .row:not([data-hastitle]) > div {
        margin-top: 0;
    }

@media (max-width: 767px) {
    .row[data-hastitle] > div > div:not([data-title]) {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .col-xs-6 {
        text-align: center;
        display: inline;
    }
}

@media (max-width: 302px) {
    .col-xs-6 {
        width: 100%;
        text-align: left;
    }
}

/*  ROW MOVING STYLES  */

.edit-mode.nf-outer .row.controlRow {
    position: relative;
    padding-left: 20px;
}

    .edit-mode.nf-outer .row.controlRow.nf-draggable:before {
        position: absolute;
        clear: none;
        content: '';
        display: block;
        width: 10px;
        height: 32px;
        top: 50%;
        left: 5px;
        cursor: move;
        margin-top: -16px;
        line-height: 30px;
        text-align: center;
        color: #323232;
        opacity: 0;
        background-image: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjUxMnB4IiBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMjsiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTJweCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGc+PHJlY3QgZmlsbD0iIzMyMzIzMiIgaGVpZ2h0PSIzMiIgd2lkdGg9IjUxMiIgeT0iMTQ0Ii8+PHJlY3QgZmlsbD0iIzMyMzIzMiIgaGVpZ2h0PSIzMiIgd2lkdGg9IjUxMiIgeT0iMjQwIi8+PHJlY3QgZmlsbD0iIzMyMzIzMiIgaGVpZ2h0PSIzMiIgd2lkdGg9IjUxMiIgeT0iMzM2Ii8+PC9nPjwvc3ZnPg==);
        background-size: 32px;
    }

    .edit-mode.nf-outer .row.controlRow:hover:before {
        opacity: 1;
    }

/*  DEFAULT LAYOUTS  */

.nf-outer .nf-section {
    border-top: none;
}

.nf-outer .nf-col {
    border: none;
}

.edit-mode.nf-outer .nf-col {
    z-index: 5;
}

.nf-outer .nf-align-left {
    text-align: left;
}

.nf-outer .nf-align-center {
    text-align: center;
}

.nf-outer .nf-align-right {
    text-align: right;
}

.nf-outer .nf-hidden-associated-control {
    display: none !important;
}

.nf-outer .nf-label-control {
    line-height: 1.6;
    padding: 0;
    margin: 0;
    display: block;
    padding-top: 2px;
    font-weight: normal;
    overflow: hidden;
}

    .nf-outer .nf-label-control div {
        width: 100% !important;
    }

.edit-mode.nf-outer .nf-label-control:empty:after {
    position: relative;
    display: inline;
}

.nf-outer svg path {
    fill: #ff7900;
    transition: fill 0.25s ease;
}

@media (max-width: 767px) {
    .nf-outer .nf-label-control {
        text-align: left !important;
    }
}

#uiDesignerSurfaceOuter.simulate-xs .nf-label-control {
    text-align: left !important;
}

.nf-outer select,
.nf-outer input[type="text"],
.nf-outer input[type="password"],
.nf-outer .ip-container,
.nf-outer .nf-calculation {
    position: relative;
    display: block;
    float: left;
    line-height: normal;
    border: 1px solid #c4c7cc;
    background-color: white;
    border-radius: 5px;
    margin: 0;
    padding: 10px;
    color: #323232;
    width: 100%;
    transition: border-color 0.25s ease;
    font-size: 14px;
}

.nf-outer .nf-calculation {
    border: none;
    min-height: 45px;
    margin: 5px 0;
}

.nf-outer select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background: white url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/PjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAzODYuMjU3IDM4Ni4yNTciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM4Ni4yNTcgMzg2LjI1NzsiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIGZpbGw9IiMzMjMyMzIiIHBvaW50cz0iMCw5Ni44NzkgMTkzLjEyOSwyODkuMzc5IDM4Ni4yNTcsOTYuODc5ICIvPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjwvc3ZnPg==) no-repeat center right 5px;
    background-size: 8px 8px;
}

.nf-outer select[multiple],
.nf-outer select[size] {
    height: auto;
    padding: 10px;
}

.nf-outer select::-ms-expand {
    display: none;
}

.nf-outer select + .arrow-dropdown {
    position: relative;
    margin-left: -20px;
}

.nf-outer textarea,
.nf-multiline,
.nf-outer .ms-rtefield {
    position: relative;
    display: block;
    float: left;
    line-height: 1.6;
    border: 1px solid #c4c7cc;
    background-color: white;
    border-radius: 5px;
    margin: 0;
    padding: 10px;
    color: #323232;
    width: 100%;
    transition: border-color 0.25s ease;
    resize: none;
    font-size: 12px;
}

/* To override style from SharePoint */
.ms-inputBoxDisabled {
    color: #323232;
}

.nf-outer .ms-rtefield p {
    margin: 0;
    white-space: pre-wrap;
}

.nf-outer .ms-formdescription,
.nf-outer .nf-geolabel,
.nf-outer .nf-infomessage {
    display: block;
    font-size: 11px;
    font-weight: normal;
    margin-top: 3px;
}

.nf-outer .ms-formdescription {
    margin-bottom: 5px;       
    white-space: nowrap;    
    float: left;
}

    .nf-outer .ms-formdescription a {
        color: #ff7900;
        text-decoration: none;
        transition: color 0.25s ease;
    }

        .nf-outer .ms-formdescription a:hover,
        .nf-outer .ms-formdescription a:focus,
        .nf-outer .ms-formdescription a:active {
            color: #323232;
            text-decoration: none;
        }

.nf-outer input[type="file"] {
    display: block;
    visibility: hidden;
    height: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}

    .nf-outer input[type="file"] + label {
        display: inline-block;
        margin: 0;
        width: 100%;
        min-height: 38px;
        border-radius: 5px;
        transition: border-color 0.25s ease;
        border: 1px solid #c4c7cc;
        background-color: white;
        cursor: pointer;
        transition: border-color 0.25s ease;
    }

        .nf-outer input[type="file"] + label .file-input-btn {
            position: relative;
            display: block;
            float: left;
            margin: 4px;
            border: 1px solid #ff7900;
            border-right: none;
            padding-left: 4px;
            padding-right: 4px;
            height: 32px;
            line-height: 32px;
            border-radius: 3px;
            color: white;
            text-align: center;
            background-color: #ff7900;
            font-size: 0.875em;
            transition: background-color 0.25s ease;
        }

        .nf-outer input[type="file"] + label .glyphicon {
            margin-right: 3px;
        }

    .nf-outer input[type="file"][disabled] + label {
        opacity: 0.5;
    }

    .nf-outer input[type="file"] + label:hover .file-input-btn {
        background-color: #ff7900;
    }

    .nf-outer select:not([disabled]):hover,
    .nf-outer select:not([disabled]):focus,
    .nf-outer textarea:not([disabled]):hover,
    .nf-outer textarea:not([disabled]):focus,
    .nf-multiline:not([disabled]):hover,
    .nf-multiline:not([disabled]):focus,
    .nf-outer .ms-rtefield:not(.nf-disabled):hover,
    .nf-outer .ms-rtefield.ms-inputBoxActive:not(.nf-disabled),
    .nf-outer input[type="text"]:not([disabled]):hover,
    .nf-outer input[type="text"]:not([disabled]):focus,
    .nf-outer input[type="password"]:not([disabled]):hover,
    .nf-outer input[type="password"]:not([disabled]):focus,
    .nf-outer input[type="file"] + label:not([disabled]):hover,
    .nf-outer .ip-container:not(.ip-disabled):hover,
    .nf-outer .ip-container.ip-container-focus,
    .nf-outer .nf-filler-control .nf-choice-control-listbox:hover {
        border-color: #ff7900;
    }

.nf-outer select[disabled],
.nf-outer input[type="text"][disabled],
.nf-outer input[type="password"][disabled],
.nf-multiline[disabled],
.nf-outer .nf-disabled,
.nf-outer .ip-disabled {
    opacity: 0.5;
}

.nf-outer .nf-percentage input[type="text"],
.nf-outer .nf-percentage input[type="password"] {
    width: calc(100% - 25px);
}

    .nf-outer .nf-percentage input[type="text"] + span,
    .nf-outer .nf-percentage input[type="password"] + span {
        display: inline-block;
        height: 30px;
        line-height: 30px;
        padding-left: 5px;
    }

/*  IMAGE  */

.nf-outer .nf-filler-control.nf-image {
    padding-top: 0;
    padding-bottom: 0;
    height: auto !important;
    overflow: hidden;
}

    .nf-outer .nf-filler-control.nf-image.align-left {
        background-position: left 50%;
    }

    .nf-outer .nf-filler-control.nf-image.align-right {
        background-position: right 50%;
    }

    .nf-outer .nf-filler-control.nf-image.align-top {
        background-position: 50% top;
    }

    .nf-outer .nf-filler-control.nf-image.align-bottom {
        background-position: 50% bottom;
    }

    .nf-outer .nf-filler-control.nf-image.align-topleft {
        background-position: left top;
    }

    .nf-outer .nf-filler-control.nf-image.align-topright {
        background-position: right top;
    }

    .nf-outer .nf-filler-control.nf-image.align-bottomleft {
        background-position: left bottom;
    }

    .nf-outer .nf-filler-control.nf-image.align-bottomright {
        background-position: right bottom;
    }

/*  RADIO BUTTONS & CHECKBOX  */

.nf-outer .nf-choice-checkbox span,
.nf-outer .nf-client-control span,
.nf-outer .nf-choice-control span,
.nf-outer .nf-choice-radio span,
.nf-outer .nf-choice-control-radio-button,
.nf-outer .nf-fillin-option {
    position: relative;
}

.nf-outer input[type="checkbox"],
.nf-outer input[type="radio"] {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}

    .nf-outer input[type="checkbox"] + label,
    .nf-outer input[type="radio"] + label {
        position: relative;
        display: inline-block;
        font-weight: normal;
        cursor: pointer;
        z-index: 1;
        font-size: 12px;
        min-height: 22px;
        text-align: left;
        margin-right: 5px;
    }
    .nf-outer div > span input[type="checkbox"]  + label{
        margin-top:15px;
    }

        .nf-outer input[type="checkbox"] + label:before,
        .nf-outer input[type="radio"] + label:before {
            position: relative;
            content: '\0020';
            display: inline-block;
            width: 18px;
            height: 18px;
            border: 1px solid #c4c7cc;
            border-radius: 3px;
            transition: border-color 0.25s ease, background-color 0.25s ease;
            margin-right: 5px;
            vertical-align: middle;
        }

        .nf-outer input[type="radio"] + label:before {
            border-radius: 50%;
            background-color: white;
        }

        .nf-outer input[type="checkbox"] + label:before {
            position: relative;
            content: '';
            display: inline-block;
            border-radius: 3px;
            background-color: transparent;
            transition: border-color 0.25s ease, background-color 0.25s ease;
            width: 18px;
            height: 18px;
            left: 0;
            top: 0;
        }

    .nf-outer input[type="checkbox"]:checked + label:before,
    .nf-outer input[type="radio"]:checked + label:before {
        border-color: #ff7900;
        background-color: #ff7900;
    }

    .nf-outer input[type="checkbox"]:not([disabled]) + label:hover:before,
    .nf-outer input[type="radio"]:not([disabled]) + label:hover:before {
        border-color: #ff7900;
    }

    .nf-outer input[type="checkbox"]:checked + label:before {
        background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNiAzNiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmZ9PC9zdHlsZT48L2RlZnM+PHBhdGggaWQ9Imljb24tY29sb3VyLWdyZWVuIiBjbGFzcz0iY2xzLTEiIGQ9Ik0xMi4zNzUgMjAuMTFhMS4yOCAxLjI4IDAgMCAxIDEuODEtMS44MDlsMi42MTEgMi42MSA1Ljk0OC02LjUzOGExLjI4MSAxLjI4MSAwIDEgMSAxLjgxMiAxLjgxTDE3LjcgMjMuNjI3YTEuMjg0IDEuMjg0IDAgMCAxLTEuODEgMHoiLz48L3N2Zz4=");
        background-size: 36px;
        background-position: -10px -10px;
    }

    .nf-outer input[type="radio"]:checked + label:before {
        border-width: 5px;
    }

.nf-outer input:disabled + label:before,
.nf-outer input:disabled + label:after {
    opacity: 0.5;
}

html[dir="rtl"] .nf-outer input[type="checkbox"] + label:before,
html[dir="rtl"] .nf-outer input[type="radio"] + label:before {
    margin-right: initial;
    margin-left: 5px;
}

html[dir="rtl"] .nf-outer input[type="checkbox"] + label:after {
    right: 0;
}

.nf-outer .aspNetDisabled .aspNetDisabled {
    opacity: 1;
}

.nf-outer .aspNetDisabled input,
.nf-outer .aspNetDisabled label {
    cursor: default !important;
}

/*  RENDER AS BUTTON  */

.nf-outer .nf-choiceAsTabs span {
    display: block;
    margin: 0;
    float: left;
    max-width: 100%;
}

    .nf-outer .nf-choiceAsTabs span[data-nfchoicevalue] {
        margin-right: 2px;
        margin-bottom: 1px;
        max-width: 100%;
    }

.nf-outer .nf-choiceAsTabs input[type="radio"] {
    appearance: button;
    -moz-appearance: button;
    -webkit-appearance: button;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    background-image: none;
    height: 38px;
}

    .nf-outer .nf-choiceAsTabs input[type="radio"] + label {
        display: block;
        padding: 0 10px;
        margin: 0;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        background-color: transparent;
        background-image: none;
        opacity: 1;
        height: 38px;
        line-height: 36px;
        background-color: #8d9299;
        border: 1px solid #8d9299;
        border-radius: 5px;
        color: white;
        font-size: 11px;
        transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    }

.nf-outer .nf-validation-error .nf-choiceAsTabs input[type="radio"] + label {
    background-color: white;
    border-color: #e70033;
    color: #323232;
}

.nf-outer .nf-choiceAsTabs span:not(.aspNetDisabled) input[type="radio"] + label:hover,
.nf-outer .nf-choiceAsTabs span:not(.aspNetDisabled) input[type="radio"]:checked + label,
.nf-outer .nf-choiceAsTabs input[type="radio"]:checked + label {
    background-color: #ff7900 !important;
    border-color: #ff7900 !important;
    color: white !important;
}

.nf-outer .nf-choiceAsTabs input[type="radio"] + label:before,
.nf-outer .nf-choiceAsTabs input[type="radio"] + label:after {
    display: none;
}

.nf-outer .nf-choiceAsTabs input[type="radio"] + label span {
    display: block;
    padding: 0;
    margin: 0;
    line-height: 36px !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

/*  ALLOW FILL IN OPTION  */

.nf-outer .nf-choice-control-fill-in .nf-choice-control-radio-button,
.nf-outer .nf-choice-control-fill-in .nf-choice-control-radio-button-fill {
    display: inline-block;
    float: left;
    height: 30px;
}

html[dir="rtl"] .nf-outer .nf-choice-control-fill-in .nf-choice-control-radio-button,
html[dir="rtl"] .nf-outer .nf-choice-control-fill-in .nf-choice-control-radio-button-fill,
html[dir="rtl"] .nf-outer .nf-choice-control-fill-in .nf-choice-select {
    float: right;
}

.nf-outer .nf-choice-control-fill-in .nf-choice-control-radio-button-fill + span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    padding-top: 2px;
}

.nf-outer .nf-choice-control-fill-in select,
.nf-outer .nf-choice-control-fill-in input[type="text"] {
    width: calc(100% - 50px);
}

.nf-outer .nf-choice-control-fill-in .nf-choice-control-listbox select {
    width: 100%;
}

/*  DATE PICKER  */
.nf-outer .nf-date input[type="text"]::-ms-clear,
.nf-outer .nf-datetime input[type="text"]::-ms-clear {
    display: none;
}

.nf-outer .nf-datetime .nf-date-picker {
    max-width: calc(100% - 132px);
    margin-bottom: 2px;
    min-width: 117px;
}

.nf-repeater-row .nf-outer .nf-datetime .nf-date-picker {
    min-width: 220px;
}

@media (min-width: 320px) {
    .nf-outer .nf-datetime .nf-date-picker {
        min-width: 105px;
    }

    .nf-outer .nf-repeater-row .nf-datetime .nf-date-picker {
        min-width: 190px;
    }
}

@media (min-width: 360px) {
    .nf-outer .nf-datetime .nf-date-picker {
        min-width: 117px;
    }

    .nf-outer .nf-repeater-row .nf-datetime .nf-date-picker {
        min-width: 213px;
    }
}

@media (min-width: 375px) {
    .nf-outer .nf-repeater-row .nf-datetime .nf-date-picker {
        min-width: 105px;
    }
}

@media (min-width: 768px) {
    .nf-outer .nf-repeater-row .nf-datetime .nf-date-picker {
        min-width: 214px;
    }
}

@media (min-width: 992px) {
    .nf-outer .nf-datetime .nf-date-picker {
        min-width: 117px;
    }

    .nf-outer .nf-repeater-row .nf-datetime .nf-date-picker {
        min-width: 97px;
    }
}


.nf-outer .nf-datepicker-select {
    width: auto;
    margin-left: 1px;
    margin-right: 1px;
    min-width: 40px;
    text-align-last: center;
    text-align: center;
}

.nf-hours {
    overflow: hidden !important;
    padding: 10px 12px 10px 4px !important;
}

html[dir="rtl"] .nf-hours {
    padding: 10px 4px 10px 12px !important;
}

html[dir="rtl"] .nf-datepicker-select {
    float: right;
    background-position-x: 4px !important;
}

.nf-outer .ui-datepicker-trigger {
    position: relative;
    float: left;
    margin-left: -30px;
    margin-top: 13px;
    cursor: pointer;
}

.nf-outer img.ui-datepicker-trigger {
    width: 22px;
    height: 18px;
}

.ms-formrecurrence iframe {
    width: 340px;
    height: 255px;
    background-color: transparent;
}

.ms-datepickerouter {
    padding: 5px;
}

    .ui-datepicker,
    .ui-datepicker *,
    .ms-datepickerouter .ms-quickLaunch,
    .ms-datepickerouter .ms-quickLaunch * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .ui-datepicker,
    .ms-datepickerouter .ms-quickLaunch {
        padding: 0;
        border: none;
        width: auto;
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        box-shadow: 0 1px 5px rgba(139, 157, 175, 0.3);
        z-index: 100 !important;
    }

        .ui-datepicker .ui-datepicker-header, .ms-datepickerouter .ms-picker-header {
            position: relative;
            border: none;
            height: 45px;
            border-radius: 0;
            -moz-border-radius: 0;
            -webkit-border-radius: 0;
            background: #323232;
        }

        .ui-datepicker .ui-datepicker-title, .ms-datepickerouter .ms-picker-month {
            margin: 0 40px;
            padding: 0;
        }

            .ui-datepicker .ui-datepicker-title select {
                display: inline-block;
                width: auto;
                border: none;
                background-color: transparent;
                color: white;
                padding: 5px 20px 5px 8px;
                cursor: pointer;
                font-size: 20px;
                font-weight: 300;
            }

    .ms-datepickerouter .ms-picker-month {
        font-size: 20px;
        font-weight: 300;
    }

        .ms-datepickerouter .ms-picker-month a {
            color: white;
        }

            .ms-datepickerouter .ms-picker-month a:hover {
                text-decoration: none;
            }

        .ui-datepicker .ui-datepicker-title select:hover, .ms-datepickerouter .ms-picker-month:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

.ms-picker-header table.ms-picker-table {
    border-bottom: none;
}

.ms-picker-header td {
    min-width: 30px;
}

.ui-datepicker .ui-datepicker-title select:active,
.ui-datepicker .ui-datepicker-title select:focus {
    color: #323232;
    background-color: white;
    font-size: 13px;
    font-weight: 400;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next,
.ms-datepickerouter .ms-pagearrow-left, .ms-datepickerouter .ms-pagearrow-right {
    position: absolute;
    width: 30px;
    height: 100%;
    line-height: 45px;
    font-size: 12px;
    border: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    background: rgba(0, 0, 0, 0.1);
    top: 0;
    cursor: pointer;
}

    .ui-datepicker .ui-datepicker-prev:after, .ui-datepicker .ui-datepicker-next:after,
    .ms-datepickerouter .ms-pagearrow-left:after, .ms-datepickerouter .ms-pagearrow-right:after {
        position: absolute;
        display: block;
        content: '►';
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        color: white;
        text-align: center;
    }

    .ui-datepicker .ui-datepicker-prev:after, .ms-datepickerouter .ms-pagearrow-left:after {
        content: '◄';
    }

    .ui-datepicker .ui-datepicker-prev:hover, .ui-datepicker .ui-datepicker-next:hover,
    .ms-datepickerouter .ms-pagearrow-left:hover, .ms-datepickerouter .ms-pagearrow-right:hover {
        border: none;
        background-color: rgba(255, 255, 255, 0.1);
    }

.ui-datepicker .ui-datepicker-prev, .ms-datepickerouter .ms-pagearrow-left {
    left: 0;
}

.ui-datepicker .ui-datepicker-next, .ms-datepickerouter .ms-pagearrow-right {
    right: 0;
}

    .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span,
    .ms-datepickerouter .ms-pagearrow-left img, .ms-datepickerouter .ms-pagearrow-right img {
        display: none;
    }

.ui-datepicker .ui-datepicker-calendar, .ms-datepickerouter .ms-picker-body {
    margin: 10px;
    width: auto;
    float: none;
    position: relative;
}

    .ui-datepicker th, .ms-datepickerouter .ms-picker-body th {
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
    }

        .ms-datepickerouter .ms-picker-body th abbr {
            border-bottom: none;
            color: #323232;
            cursor: default;
        }

    .ui-datepicker td, .ms-datepickerouter .ms-picker-body td {
        padding: 4px;
        font-size: 12px;
        border: none;
    }

        .ui-datepicker td span, .ui-datepicker td a,
        .ms-datepickerouter .ms-picker-body td span, .ms-datepickerouter .ms-picker-body td a {
            display: block;
            padding: 7px 8px;
            text-align: center;
            border-radius: 50%;
            transition: color 0.25s ease, background-color 0.25s ease;
            color: #777;
        }

            .ui-datepicker td a:hover, .ms-datepickerouter .ms-picker-body td a:hover {
                background-color: #f3f5f7;
                color: #323232;
                text-decoration: none;
            }

    .ui-datepicker .ui-state-default,
    .ms-datepickerouter .ms-picker-body td {
        border: none;
        background: none;
        font-style: italic;
        color: 777;
    }

.ui-datepicker .ui-datepicker-today {
    border: none;
    background: none;
}

    .ui-datepicker .ui-datepicker-today a {
        color: white;
        border-width: 1px;
        background-color: #323232;
    }

.ui-datepicker .ui-state-default.ui-state-active {
    border-width: 1px;
    background-color: #ff7900;
    color: white;
}

.ui-datepicker .ui-datepicker-today .ui-state-default.ui-state-active {
    color: white;
}

    .ui-datepicker .ui-datepicker-today .ui-state-default.ui-state-active:hover {
        color: #323232;
    }

.ui-datepicker .ui-datepicker-buttonpane {
    border: none;
    border-top: 1px solid #dfe2e5;
    background-color: #f3f5f7;
    text-align: center;
}

    .ui-datepicker .ui-datepicker-buttonpane button {
        float: none !important;
        margin: 5px 10px;
        padding: 10px 40px;
        color: white;
        background-color: #323232;
        font-style: normal;
        text-transform: uppercase;
        font-size: 11px;
        font-weight: bold;
        opacity: 1;
        border: 1px solid transparent;
        transition: background-color 0.25s ease;
    }

        .ui-datepicker .ui-datepicker-buttonpane button:hover {
            background-color: #ff7900;
        }

/*  GEO LOCATION  */
.nf-outer .nf-geoinput {
    display: inline-block;
}

.nf-outer .nf-geolabel {
    display: inline-block;
    width: 100%;
}

.nf-outer .nf-geoinput input {
    display: block;
}

.nf-outer .nf-geoinput + .nf-geoinput + div {
    float: none !important;
    padding: 0 !important;
    display: inline-block;
    width: 100%;
}

.nf-geoinput[data-valuename="latitude"] input {
    float: left;
}

.nf-geoinput[data-valuename="longitude"] input {
    float: right;
}

.nf-MapButton,
.nf-CaptureButton {
    display: inline-block !important;
    background-color: white !important;
    color: #ff7900 !important;
    border: 1px solid #cbcbcb !important;
    font-size: 11px !important;
    margin-right: 4px !important;
    margin-top: 5px !important;
}

    .nf-MapButton span svg:not([width="0"]),
    .nf-CaptureButton span svg:not([width="0"]) {
        margin-right: 5px;
    }

@media (max-width: 767px) {
    .nf-col:not(.col-md-3) .readonly-control-output[data-valuename="latitude"],
    .nf-col:not(.col-md-3) .readonly-control-output[data-valuename="longitude"] {
        display: inline-block !important;
        width: 50% !important;
    }

    .nf-col .col-xs-12 .readonly-control-output[data-valuename="latitude"] {
        margin-right: 0;
    }

    .col-xs-12 .nf-geoinput {
        width: 100%;
    }

        .col-xs-12 .nf-geoinput input {
            width: 100%;
        }

    .nf-col:not(.col-md-3) .nf-geoinput[data-valuename="latitude"] {
        padding-right: 15px;
    }
}

@media (min-width: 768px) {
    .nf-col:not(.col-md-3) .readonly-control-output[data-valuename="latitude"],
    .nf-col:not(.col-md-3) .readonly-control-output[data-valuename="longitude"] {
        display: inline-block !important;
        width: 50% !important;
    }

    .nf-col .col-md-3 .nf-geoinput,
    .nf-col .col-md-6 .nf-geoinput {
        width: 50%;
    }

    .col-md-3 .nf-geoinput {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .nf-col:not(.col-md-3) .nf-geoinput[data-valuename="latitude"] {
        padding-right: 15px;
    }
}

/*RTL GEO LOCATION*/
@media (min-width: 768px) {
    html[dir="rtl"] .nf-col:not(.col-md-3) .nf-geoinput[data-valuename="latitude"] {
        padding-left: 15px;
        padding-right: initial;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] .nf-col:not(.col-md-3) .nf-geoinput[data-valuename="latitude"] {
        padding-left: 15px;
        padding-right: initial;
    }
}

html[dir="rtl"] .nf-geolabel {
    float: right !important;
}

html[dir="rtl"] .nf-geoinput[data-valuename="latitude"] input {
    float: right !important;
}

html[dir="rtl"] .nf-geoinput[data-valuename="longitude"] input {
    float: left !important;
}

html[dir="rtl"] .nf-col .readonly-control-output[data-valuename="latitude"] {
    margin-right: 0px;
}

html[dir="rtl"] .nf-MapButton span svg:not([width="0"]),
html[dir="rtl"] .nf-CaptureButton span svg:not([width="0"]) {
    margin-left: 5px;
    margin-right: 0px !important;
}

/*  REPEATING SECTION  */

.nf-repeater {
    display: table;
    width: 100%;
}

.nf-outer .nf-repeater,
.nf-outer .nf-container,
.nf-outer .nf-repeater > div {
    position: relative;
}

.nf-outer .nf-repeater-row:not(.nf-repeater-row-hidden) {
    position: relative;
    background-color: transparent;
    transition: background-color 0.25s ease;
}

.edit-mode.nf-outer .nf-repeater-row:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nf-outer .nf-repeater-row-hidden {
    display: none;
}

.nf-outer .nf-repeater-row .nf-repeater-deleterow-image {
    position: absolute;
    padding: 0 !important;
    top: 50%;
    margin-top: -10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nf-outer .nf-repeater-row:hover .nf-repeater-deleterow-image {
    opacity: 1;
}

.nf-outer .nf-repeater-addrow,
.nf-outer .ms-addnew {
    font-size: 12px;
    text-align: left;
}

    .nf-outer .nf-repeater-addrow img,
    .nf-outer .nf-repeater-addrow svg,
    .nf-outer .nf-attachmentsLink img,
    .nf-outer .nf-attachmentsLink svg {
        margin-top: -1px;
        margin-right: 6px;
        vertical-align: middle;
    }

/*  ATTACHMENTS TABLE  */

.nf-outer .nf-attachmentsTable, #idAttachmentstable,
.nf-outer .nf-attachmentsTable tbody, #idAttachmentstable tbody,
.nf-outer .nf-attachmentsTable tr, #idAttachmentstable tr,
.nf-outer .nf-attachmentsTable td, #idAttachmentstable td {
    display: block !important;
}

.nf-outer .nf-attachmentsTable, #idAttachmentstable {
    table-layout: fixed;
}

.nf-outer #idAttachmentstable td img {
    display: none;
}

.nf-outer .nf-attachmentsTable td, #idAttachmentstable td {
    overflow: hidden;
    text-overflow: ellipsis;
}

    .nf-outer .nf-attachmentsTable td.ms-vb {
        float: left;
        width: calc(100% - 15px) !important;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 14px;
        line-height: 1.6;
        background-color: white;
        border-radius: 5px;
        margin: 0 0 5px 0;
        padding: 10px;
        color: #323232;
    }

.nf-outer .nf-attachmentsTable .ms-addnew {
    float: right;
    margin-top: 15px;
}

.nf-outer .nf-attachmentsLink {
    display: inline-block;
}

/*  PEOPLE PICKER  */

.nf-outer .ip-container {
    padding: 5px;
    height: auto;
    max-height: none !important;
    cursor: text;
}

.edit-mode.nf-outer .ip-container {
    padding: 21px;
    height: 38px !important;
    margin-top: 5px;
}

.nf-outer .ip-container .nf-peoplepicker {
    display: none;
}

.nf-outer .ip-container .ip-clip {
    position: fixed;
    left: -99999px;
    visibility: hidden;
}

html[dir="rtl"] .ip-item {
    padding: 3px 8px 3px 25px !important;
}

.nf-outer .ip-container .ip-item {
    float: left;
    border: 1px solid #8d9299;
    background-color: #8d9299;
    color: white;
    border-radius: 3px;
    margin: 1px;
    padding: 3px 25px 3px 8px;
    position: relative;
    cursor: default;
    max-width: 100%;
}

    .nf-outer .ip-container .ip-item .ip-item-content {
        overflow: hidden;
    }

html[dir="rtl"] .ip-close {
    left: 5px;
}

html[dir="ltr"] .nf-outer .ip-container .ip-item .ip-close {
    right: 5px;
}

.nf-outer .ip-container .ip-item .ip-close {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    margin-top: -5px;
    cursor: pointer;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIxNiIgaWQ9InN2ZzIiIHZlcnNpb249IjEuMSIgd2lkdGg9IjE2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIiB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcyBpZD0iZGVmczQiLz48ZyBpZD0ibGF5ZXIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLC0xMDM2LjM2MjIpIj48cGF0aCBkPSJtIDIsMTA1MC4zNjIyIDEyLC0xMiIgaWQ9InBhdGgyOTg1IiBzdHlsZT0iZmlsbDp3aGl0ZTtzdHJva2U6d2hpdGU7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2Utb3BhY2l0eToxO3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIvPjxwYXRoIGQ9Im0gMiwxMDM4LjM2MjIgMTIsMTIiIGlkPSJwYXRoMjk4NS0xIiBzdHlsZT0iZmlsbDp3aGl0ZTtzdHJva2U6d2hpdGU7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2Utb3BhY2l0eToxO3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIvPjwvZz48L3N2Zz4=);
    background-position: 50%;
    background-size: 10px 10px;
}

.nf-outer .ui-autocomplete {
    /*display: block !important;*/
    width: 100% !important;
    left: 0 !important;
    top: 100% !important;
    z-index: 10;
    border: 1px solid #c4c7cc;
    padding: 3px;
    font-size: 12px;
}

    .nf-outer .ui-autocomplete .nf-pp-ac-label {
        float: left;
        font-weight: bold;
        width: 100%;
        overflow: hidden;
    }

    .nf-outer .ui-autocomplete .nf-pp-ac-title {
        float: left;
        color: #999;
        font-style: italic;
        margin-left: 5px;
        width: 100%;
        overflow: hidden;
    }

.nf-outer .ui-menu .ui-menu-item a {
    border: none;
    margin: 0;
    border-radius: 0;
    cursor: pointer;
}

.nf-outer .ui-state-hover,
.nf-outer .ui-widget-content .ui-state-hover,
.nf-outer .ui-widget-header .ui-state-hover,
.nf-outer .ui-state-active,
.nf-outer .ui-widget-content .ui-state-active,
.nf-outer .ui-widget-header .ui-state-active {
    border: none;
    background: #323232 none;
    color: white;
    margin: 0;
}

.ui-tooltip {
    z-index: 100;
    border: 1px solid #c4c7cc !important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    color: #323232;
}

    .ui-tooltip .nf-pp-ac-tooltip-label {
        font-weight: bold;
    }

/*  ADD CLEAR COMPORTMENTS AFTER SPECIFICS CONTAINERS  */

.nf-outer .nf-filler-control:after,
.nf-outer .nf-col:after,
.nf-outer .nf-col > div:after,
.nf-outer .nf-choice-control-fill-in > div:after,
.nf-outer input[type="file"] + label:after,
.nf-outer .nf-textbox-wrapper:after,
.nf-outer .nf-repeater-row:after,
.nf-outer .nf-repeater > div:after,
.nf-outer .nf-multiline:after,
.nf-outer .nf-date:after,
.nf-outer .nf-datetime:after,
.nf-outer .nf-attachmentsTable tr,
.nf-outer #idAttachmentstable tr:after,
.nf-outer .nf-choiceAsTabs:after,
.nf-outer .nf-choiceAsTabs > div:after,
.nf-outer .ip-container:after,
.nf-outer .ui-autocomplete .nf-ap-ac-display:after,
.edit-mode.nf-outer [draggable="true"]:after,
.edit-mode.nf-outer [draggable="true"] > div:after {
    position: relative;
    display: block;
    content: '';
    clear: both;
    height: 0;
}

/*  BUTTONS  */

.nf-outer .nf-button {
    display: inline-block;
    position: relative;
    color: white;
}

.nf-outer button,
.nf-outer input[type="button"],
.nf-outer input[type="reset"],
.nf-outer input[type="submit"] {
    position: relative;
    min-height: 34px;
    margin: 0 auto;
    min-width: 80px;
    max-width: 150px;
    padding: 0 10px;
    width: auto;
    display: block;
    border-radius: 5px;
    background-color: #ff7900;
    color: white;
    border: 1px solid #ff7900;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.nf-outer button {
    height: 37px;
}

html[dir="rtl"] .nf-outer button svg {
    transform: scaleX(-1);
}

.nf-outer input[type="reset"], .nf-outer input[commandtype="Cancel"] {
    background-color: #8d9299;
    border: 1px solid #8d9299;
}

.nf-outer .ts-button input {
    position: absolute;
    display: block;
    top: 5px;
    left: 0;
    bottom: 5px;
    width: 100%;
    border-radius: 5px;
    z-index: 2;
    outline: none;
    opacity: 0.01;
}

.edit-mode.nf-outer .ts-button input {
    opacity: 1;
    position: relative;
    display: inline-block;
    width: auto;
    top: auto;
    bottom: auto;
}

.nf-outer .ts-button svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 7px;
    margin-top: -2px;
}

    .nf-outer .ts-button svg path {
        fill: white;
    }

.nf-outer .ts-button-overlay {
    position: relative;
    z-index: 0;
    height: 42px;
    line-height: 40px;
    min-width: 120px;
    width: auto;
    background-color: #8d9299;
    color: white;
    border: 1px solid #8d9299;
    transition: all 0.25s ease;
    border-radius: 5px;
    text-transform: uppercase;
    text-align: center;
    font-size: 11px;
    white-space: nowrap;
    padding: 0 10px;
    overflow: hidden;
}

.ms-ButtonHeightWidth,
.nf-outer .nf-lookup-addremove button {
    min-width: 60px !important;
    margin-top: 5px !important;
    margin-bottom: 2px !important;
}

    .ms-ButtonHeightWidth:disabled,
    .ms-ButtonHeightWidth,
    .nf-outer .nf-lookup-addremove button:disabled {
        background-color: white !important;
        border: 1px solid #c4c7cc !important;
        color: #ff7900 !important;
    }

    .nf-outer .nf-lookup-addremove button:enabled {
        background-color: #ff7900;
        border: 1px solid #ff7900;
        color: white;
    }

    .ms-ButtonHeightWidth:disabled svg path,
    .nf-outer .nf-lookup-addremove button:disabled svg path {
        fill: #ff7900;
    }

    .nf-outer .nf-lookup-addremove button:enabled svg path {
        fill: white !important;
    }

.nf-outer .ts-button .nf-filler-control:hover .ts-button-overlay {
    background-color: transparent;
    color: #8d9299;
}

    .nf-outer .ts-button .nf-filler-control:hover .ts-button-overlay svg path {
        fill: #8d9299;
    }

.nf-outer .ts-button.ts-save .ts-button-overlay {
    border-color: #ff7900;
    background-color: #ff7900;
}

.nf-outer .ts-button.ts-save .nf-filler-control:hover .ts-button-overlay {
    background-color: transparent;
    color: #ff7900;
}

    .nf-outer .ts-button.ts-save .nf-filler-control:hover .ts-button-overlay svg path {
        fill: #ff7900;
    }

/*  VALIDATIONS  */
.nf-validation-summary {
    display: none;
}

.nf-outer .nf-validation-msg:hover .nf-validation-txt {
    opacity: 1;
    transform: scale(1);
}

/*  PRINT VERSION  */

@media print {
    @page {
        size: A4;
        margin: 1.5cm 1.5cm !important;
    }

    body {
        margin: 1.5cm 1.5cm !important;
    }

    .nf-outer {
        margin-top: 0.5cm;
        width: 760px !important;
    }

        .nf-outer .row {
            page-break-inside: avoid;
            padding-top: 0.5cm;
        }

        .nf-outer .nf-col {
            page-break-inside: avoid;
        }

        .nf-outer .ts-button .ts-button-overlay svg path {
            fill: #8d9299;
        }

        .nf-outer .ts-button.ts-save .ts-button-overlay svg path {
            fill: #ff7900;
        }

        .nf-outer .nf-filler-control.nf-image img.nf-image {
            visibility: visible;
        }

        .nf-outer .nf-label-control,
        .nf-outer select, .nf-outer input[type="text"],
        .nf-outer textarea, .nf-outer .ms-rtefield,
        .nf-outer input[type="checkbox"] + label,
        .nf-outer input[type="radio"] + label,
        .nf-outer .nf-choice-control-fill-in .nf-choice-control-radio-button-fill + span {
            font-size: 10px !important;
        }

        .nf-outer .nf-attachmentsLink,
        .nf-outer .nf-repeater-addrow,
        .nf-outer .ms-addnew {
            display: none !important;
        }

    /* Always use desktop layout for printing */
    .col-md-3 {
        width: 25% !important;
    }

    .col-md-6 {
        width: 50% !important;
    }

    .col-md-9 {
        width: 75% !important;
    }

    .col-md-12 {
        width: 100% !important;
    }
}

.nf-repeater-row .row-control-container {
    display: table-cell;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 16px;
}

.nf-repeater[readonly] .nf-repeater-row .row-control-container {
    display: block;
}

.nf-repeater-row .row-action-container {
    display: table-cell;
    width: 10px;
    vertical-align: top;
}

.nf-repeater-row .delete-icon {
    width: 10px;
    height: 10px;
    color: #717171;
    float: right;
}

.nf-repeater-row svg.delete-icon path {
    fill: #555;
}

.nf-repeater-row .row {
    margin: 0;
}

.nf-repeater input.nf-repeater-addrow-link {
    margin: 0;
    margin-top: 8px;
    margin-left: 8px;
    color: #ff7900;
    background: #fff;
    border-color: #c4c7cc !important;
    border: 1px solid;
    outline: 0 none;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    line-height: 1;
}

label.control-title {
    display: block;
    max-width: 100%;
    word-wrap: break-word;
    color: #323232;
    font-size: 16px;
    font-weight: normal;
    line-height: 19px;
}

em.control-description {
    display: block;
    width: 100%;
    color: #707070;
    font-size: 14px;
    font-weight: normal;
    line-height: 25px;
    margin-top: 1px;
}

.nf-outer .nf-filler-control .nf-choice-list,
.nf-multi-lookup-listbox .allOptions,
.nf-multi-lookup-listbox .nf-client-control,
.nf-multiline textarea {
    border: none;
    overflow-y: auto;
    padding: 0 !important;
    height: 70px !important;
}

.nf-outer .nf-filler-control .nf-choice-control-listbox,
.nf-multi-lookup-listbox,
.nf-multiline {
    border: 1px solid #c4c7cc;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    color: #323232;
    width: 100%;
    transition: border-color 0.25s ease;
    overflow: hidden;
    height: 100%;
    margin-top: 5px;
}

.nf-outer .nf-filler-control .nf-multi-lookup-listbox {
    margin-top: 4px;
}

.nf-multiline {
    margin-top: 0px;
}

.nf-outer .nf-filler-control .nf-choice-control-listbox {
    width: calc(100% - 50px);
}

.is-required .nf-label-control::after, .is-required .control-title::after {
    content: "*";
    color: #bf0000;
    margin-left: 5px;
}

.nf-label-control br {
    content: '' !important;
}

.nf-outer .nf-filler-control .nf-choice-control-listbox:not([disabled]):hover,
.nf-outer .nf-filler-control .nf-choice-control-listbox:not([disabled]):focus,
.nf-multi-lookup-listbox:not([disabled]):hover,
.nf-multi-lookup-listbox:not([disabled]):focus {
    border-color: #ff7900;
}

.nf-outer .nf-filler-control .nf-choice-control-listbox[disabled],
.nf-multi-lookup-listbox[disabled] {
    opacity: 0.5;
}

.nf-outer .nf-filler-control .readonly-control-output:not(img):not(.nf-MapButton):not(:empty) {
    background-color: rgba(0, 0, 0, 0.07);
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    min-height: 37px;
    display: block;
    font-size: 14px;
    font-weight: normal;
    border: none;
    width: 100%;
}

.nf-pre-space {
    white-space: pre-wrap;
}

.nf-calculation-control {
    word-wrap: break-word;
    font-weight: normal;
}

    .nf-calculation-control.readonly-control-output {
        margin-top: 0;
    }

/* Rich Text Multiline control */
.nf-outer .nf-filler-control .ms-rtestate-field {
    min-height: 70px;
}

.nf-outer .nf-filler-control .ms-rtestate-write {
    max-height: 210px;
}

.nf-outer .nf-filler-control .ms-rtestate-field blockquote {
    font-size: inherit;
}

/*SQL & Web Request Control*/
div.nf-dataaccess > span > label {
    font-weight: normal;
}

div.nf-dataaccess > div > div > span > label {
    font-weight: normal;
}

/* SharePoint Ribbon */
a.ms-cui-ctl-large:hover,
.ms-cui-ctl-large a:hover,
.ms-cui-ribbonTopBars a:hover {
    text-decoration: none;
}

/* Paste menu in rich text editor */
.ms-rtestate-field .ms-cui-ctl {
    height: auto;
}

    .ms-rtestate-field .ms-cui-ctl:hover {
        text-decoration: none;
    }

.ms-rtestate-field #rtePasteFlyoutOptions a.ms-rtePasteFlyout-option {
    width: auto;
    height: auto;
}

/* RTL */
html[dir="rtl"] .nf-calculation {
    float: right;
}

    html[dir="rtl"] .nf-calculation .nf-calculation-prefix {
        float: right;
        margin-left: 5px;
    }

    html[dir="rtl"] .nf-calculation .nf-calculation-suffix {
        float: left;
        margin-right: 5px;
    }

html[dir="rtl"] .nf-outer .nf-choiceAsTabs span {
    float: right;
}

html[dir="rtl"] .nf-outer input[type="checkbox"] + label, html[dir="rtl"] .nf-outer input[type="radio"] + label {
    right: 0;
}

html[dir="rtl"] .ms-taxonomy .ms-taxonomy-browser-button {
    left: 0 !important;
    right: auto;
}

html[dir="rtl"] .ms-taxonomy-textbox {
    width: 98% !important;
}

html[dir="rtl"] .nf-toolbox-items {
    float: none;
    display: inline-block;
}

html[dir="rtl"] .nf-outer input[type="checkbox"] + label:after {
    right: 2px;
}

html[dir="rtl"] .nf-outer input[type="radio"] + label:after {
    right: 8px;
}

html[dir="rtl"] .nf-outer input[type="checkbox"] + label,
html[dir="rtl"] .nf-outer input[type="radio"] + label {
    text-align: right;
}

.col-sm-offset-3 {
    margin-left: 25%;
}

.col-sm-offset-6 {
    margin-left: 50%;
}

.col-sm-offset-9 {
    margin-left: 75%;
}

.col-sm-offset-12 {
    margin-left: 100%;
}

@media (min-width: 992px) {
    html[dir="rtl"] .col-md-offset-3 {
        margin-right: 25%;
        margin-left: 0;
    }

    html[dir="rtl"] .col-md-offset-6 {
        margin-right: 50%;
        margin-left: 0;
    }

    html[dir="rtl"] .col-md-offset-9 {
        margin-right: 75%;
        margin-left: 0;
    }

    html[dir="rtl"] .col-md-offset-12 {
        margin-right: 100%;
        margin-left: 0;
    }
}

html[dir="rtl"] .col-sm-offset-3 {
    margin-right: 25%;
    margin-left: 0;
}

html[dir="rtl"] .col-sm-offset-6 {
    margin-right: 50%;
    margin-left: 0;
}

html[dir="rtl"] .col-sm-offset-9 {
    margin-right: 75%;
    margin-left: 0;
}

html[dir="rtl"] .col-sm-offset-12 {
    margin-right: 100%;
    margin-left: 0;
}

html[dir="rtl"] .col-xs-1,
html[dir="rtl"] .col-xs-2,
html[dir="rtl"] .col-xs-3,
html[dir="rtl"] .col-xs-4,
html[dir="rtl"] .col-xs-5,
html[dir="rtl"] .col-xs-6,
html[dir="rtl"] .col-xs-7,
html[dir="rtl"] .col-xs-8,
html[dir="rtl"] .col-xs-9,
html[dir="rtl"] .col-xs-10,
html[dir="rtl"] .col-xs-11,
html[dir="rtl"] .col-xs-12 {
    float: right;
}

@media (min-width: 768px) {
    html[dir="rtl"] .col-xs-1,
    html[dir="rtl"] .col-xs-2,
    html[dir="rtl"] .col-xs-3,
    html[dir="rtl"] .col-xs-4,
    html[dir="rtl"] .col-xs-5,
    html[dir="rtl"] .col-xs-6,
    html[dir="rtl"] .col-xs-7,
    html[dir="rtl"] .col-xs-8,
    html[dir="rtl"] .col-xs-9,
    html[dir="rtl"] .col-xs-10,
    html[dir="rtl"] .col-xs-11,
    html[dir="rtl"] .col-xs-12 {
        float: right;
    }
}

@media (min-width: 992px) {
    html[dir="rtl"] .col-xs-1,
    html[dir="rtl"] .col-xs-2,
    html[dir="rtl"] .col-xs-3,
    html[dir="rtl"] .col-xs-4,
    html[dir="rtl"] .col-xs-5,
    html[dir="rtl"] .col-xs-6,
    html[dir="rtl"] .col-xs-7,
    html[dir="rtl"] .col-xs-8,
    html[dir="rtl"] .col-xs-9,
    html[dir="rtl"] .col-xs-10,
    html[dir="rtl"] .col-xs-11,
    html[dir="rtl"] .col-xs-12 {
        float: right;
    }
}

@media (min-width: 1200px) {
    html[dir="rtl"] .col-xs-1,
    html[dir="rtl"] .col-xs-2,
    html[dir="rtl"] .col-xs-3,
    html[dir="rtl"] .col-xs-4,
    html[dir="rtl"] .col-xs-5,
    html[dir="rtl"] .col-xs-6,
    html[dir="rtl"] .col-xs-7,
    html[dir="rtl"] .col-xs-8,
    html[dir="rtl"] .col-xs-9,
    html[dir="rtl"] .col-xs-10,
    html[dir="rtl"] .col-xs-11,
    html[dir="rtl"] .col-xs-12 {
        float: right;
    }
}

html[dir="rtl"] #uiDesignerSurfaceOuter {
    text-align: right;
}

html[dir="rtl"] .nf-repeater-addrow {
    text-align: right;
}

.nf-choiceAsTabs .ui-checkboxradio-icon{
display:none !important;
}
