
#container .formWarning {
    padding-left: 225px;
    padding-top: 5px;
    padding-bottom: 10px;
    display: block;
    color: red;
    font-family: SegoeUI-Light, Arial;
    font-size: 16px;
}

#container form h2 {
    margin-bottom: 30px;
}

#container form h3 {
    padding-left: 220px;
    padding-bottom: 20px;
    font-family: SegoeUI-Light;
    font-size: 20px;
}

/* dealerform */
#container .dealerForm form h3 {
    margin-bottom: 30px;
    padding-left: 245px;
    font-size: 22px;
    font-family: SegoeUI-Light;
    color: #666;
    display: block;
    clear: both;

}

span.inputInformation {
    background-image: url(../../common/img/info.png);
    background-position: left;
    padding-left: 25px;
    display: inline-block;
    width: 160px;
    background-repeat: no-repeat;
    background-position: left top;
    line-height: 18px;
    position: absolute;
    font-style: italic;
    left: 40px;
    margin-top: 30px;
}

form fieldset span.inputInformation {
    margin-top: 45px;
}

form fieldset {
    min-height: 100px;
}

form.uploadForm span.inputInformation {
    left: 0;
}

body:not(.cms) .modal .formInputs {
    width: 90%;
    margin: var(--lg) auto;
}


form .group {
    display: flex;
    align-items: center;
    gap: var(--md);
    margin-bottom: var(--lg);
}
form .group .group-separator {
    width: 1px; height: 22px;
    background-color: rgba(var(--dark-rgb), 0.5);
}
form .group .formField,
form .group .formField input {
    width: 100%;
    margin-bottom: 0;
}

form p.formField {
    padding: 0;
}

form p.formField label {
    vertical-align: top;
    width: 100%;
}

body:not(.cms) form p.formField input:not([type="checkbox"]),
body:not(.cms) form p.formField textarea {
    width: 100%;
}
form p.formField input[type="checkbox"] {
    margin-top: var(--xs);
}
form p.formField input:focus {
    outline: none;
}

/* label */
fieldset label, form label {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: #272727;
    font-weight: bold;
    width: 220px;
    padding-top: 5px;
    display: inline-block;
}

fieldset span tl {
    display: inline;
}

form label.error {

    position: relative;
}

form label.error:before {
    content: ' ! ';

    width: 12px;
    height: 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    line-height: 12px;
    text-align: center;
    font-family: SegoeUI, Arial, Helvetica, sans-serif;
    color: #FFF;
    background-color: #e12d3e;
    display: inline-block;
    position: absolute;
    left: -27px;
    top: 2px;

}

/* inputs */
form input.error {
    border-color: #e12d3e;
}

/* placeholder */

#container ::-webkit-input-placeholder {
    color: #999;
}

#container :-moz-placeholder {
    color: #999;
}

#container :-ms-input-placeholder {
    color: #999;
}

/* buttons */
form input[type="submit"]:not(.skip),
form input[type="button"]:not(.skip) {
    font-family: SegoeUI-Light, Arial, Helvetica, sans-serif;
    font-size: 16px;
    background-color: #000;
    background-image: url(../img/icons/save.png);
    background-repeat: no-repeat;
    background-position: 25px 10px;
    border: 1px solid #000;
    height: 41px;
    padding-left: 50px;
    padding-bottom: 6px;
    color: #fff;
    padding-right: 30px;
    cursor: pointer;

}

#content form input[type="submit"]:not(.skip) {
    position: absolute;
    bottom: 30px;
    z-index: 20;
}

#content form {
    padding-bottom: 50px;
}

#content form.imageForm {
    padding-bottom: 0px;
}

#content td.order form {
    padding: 0;

}

#content td.order form input[type="submit"]:not(.skip) {
    position: static;
}

form input[type="submit"]:not(.skip):hover {
    background-color: #2a2828;
    border: 1px solid #2a2828;
}

form input[type="button"]:not(.skip) {
    background-color: #ccc;
    border: 1px solid #ccc;
    background-image: none;
    color: #000;
    padding-left: 30px;
}

/**********Language tabs************/
#container .tabControl {
    margin-left: 265px;
    padding-left: 5px;
}

#container .tabControl a.tab {
    display: inline-block;
    padding: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    text-decoration: none;
    font-size: 11px;
    color: black;
    background-color: #f3f3f3;
    border: solid 1px #a8a8a8;
    border-bottom: none;
    border-right: 1px solid #f3f3f3;
    margin-top: 1px;
    margin-left: 5px;
    margin-bottom: 2px;
    vertical-align: bottom;
}

#container .tabControl a.tab.active {
    font-weight: bold;
    color: #0072c6; /* #116581; */
    background-color: #fff;
    border-right-color: #a8a8a8;
}

#container .tabControl a.tab.error {
    border-color: #e12d3e;
}

/*********************************/
.formSmallerPadding form input[type="text"],
.formSmallerPadding form input[type="password"],
.formSmallerPadding form input[type="checkbox"],
.formSmallerPadding form select,
.formSmallerPadding form textarea {

    margin-bottom: 15px;

}

/* upload form */
#container form.uploadForm {
    display: block;
    width: 695px;
    height: 100px;
    padding: 0;
    padding-top: 20px;
    position: relative;
}

#container form.uploadForm div.uploadBar {
    border: 1px solid #000;
    position: absolute;
    left: 220px; /* 220 */
    margin-left: 4px;
    margin-top: 7px;
    width: 230px;
    z-index: 30;
    display: none;

}

#container form.uploadForm div.uploadBar div.bar {
    /* 	background-color: #54ab9a; */
}

#container form.uploadForm div.error {
    position: absolute;
    width: 300px;
    left: 225px;
    top: 50px;
    color: red;
    font-style: italic;
    margin-top: 10px;
}

#container form.uploadForm div.previewThumb {
    float: right;
    width: 100px;
    height: 100px;
    clear: right;
    border: 1px dotted #ccc;
    text-align: center;
    /* overflow: hidden; */
}

#container form.uploadForm div.previewThumb.loaded {
    width: 150px;
    min-height: 100px;
    border: 1px solid #fff;
    position: relative;
}

#container form.uploadForm div.previewThumb.loaded:before,
#container form.uploadForm div.previewThumb.document.loaded .front:before {
    background-image: url(../img/icons/previewIcon.png);
    background-position: center;
    width: 25px;
    height: 25px;

    position: absolute;
    display: block;
    content: '';
    right: 0;
    z-index: 19;
}

#container form.uploadForm div.previewThumb.document.loaded:before {
    display: none;
}

/** ################## flipper **  #####################/
 */

#container #content .flip-container {
    perspective: 1000;

    width: 100px;
    height: 100px;
    position: absolute;

    right: 0;
}

/* flip the pane when hovered */
div.previewThumb.loaded .flip-container:hover .flipper, div.previewThumb.loaded .flip-container.hover .flipper {
    transform: rotateY(180deg);
}

.flip-container, .front, .back {
    width: 100px;
    height: 100px;
    position: relative;
}

/* flip speed goes here */
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;

}

/* hide back of pane during swap */
.front, .back {
    backface-visibility: hidden;

    position: absolute;
    top: 0;
    left: 0;
}

/* front pane, placed above back */
.front {
    z-index: 2;
}

/* back, initially hidden pane */
.back {
    transform: rotateY(180deg);

    font-size: 10px;
    color: #fff;
    padding: 5px;
    font-family: Arial;
    width: 90px;
    background-image: url('/static/common/img/sample_watermark_hover.png');
    background-repeat: no-repeat;
    background-position: center;
    height: 90px;
    text-align: left;
    line-height: 18px;
    border: 1px solid #000;
}

.back a {
    text-decoration: underline;
    color: #fff;
}

/* ################################# */

#container form.uploadForm div.previewThumb.loading {
    background-image: url(../../common/img/loading.gif);
    background-position: center;
    background-repeat: no-repeat;
    border: 1px dotted #ccc;
    width: 100px;
    height: 100px;

}

#container form.uploadForm div.previewThumb.loading:before {
    display: none;
}

#container form.uploadForm div.previewThumb.loading img {
    display: none;
}

#container form.uploadForm div.previewThumb img {
    max-width: 100px;
    float: right;
    max-height: 100px;
}

#container form.uploadForm div.previewThumb.loaded img {
    max-width: 150px;
    max-height: 100px;
}

/* upload bar */
#bar_blank {
    border: solid 1px #000;
    height: 20px;
    width: 300px;
}

#bar_color {
    background-color: #006666;
    height: 20px;
    width: 0px;
}

#bar_blank, #hidden_iframe {
    display: none;
}

/* ---- */

input.datepicker {
    width: 220px !important;
}

img.ui-datepicker-trigger {
    position: absolute;
    margin-left: 3px;
    margin-top: -2px;
    cursor: pointer;

}

/* datatable in form */
#content fieldset table.data {
    margin: 0;
    width: 650px;
    float: right;
    border-collapse: collapse;
    margin-bottom: 40px;
}

#content fieldset table.data th {
    padding-top: 0;
}

#content fieldset label.tablelabel {
    height: 36px;
    line-height: 36px;
    padding: 0;
}

fieldset label.tablelabel.error:before {
    margin-top: 9px;
}

#content fieldset div.clearFloatDataTable {
    clear: both;
}

#content fieldset table.data input[type="checkbox"] {
    margin: 0;
    padding: 0;
    height: 20px;
    float: left;
    margin-top: 3px;
    width: 30px;
}

form input[type="checkbox"] {
    width: 15px;
}

#content form table.data th input[type="checkbox"] {
    margin-top: 8px;
    margin-left: 6px;
}

#content fieldset.noTableMargin table {
    margin-bottom: 0;
}

#content fieldset.hideSubmit input[type="submit"] {
    visibility: hidden;

}

/*** columns *****/

#content fieldset #columns .column,
#content fieldset #columns .column table.data {
    width: 300px;

    padding: 0;
    margin-top: 0;
}

#content fieldset #columns .column table.data {

    float: none;
}

#content fieldset #columns .column {
    float: right;
    position: relative;
    margin-bottom: 20px;
    margin-left: 25px;

}

#content fieldset #columns .fixedHeight {
    height: 350px;
    overflow-y: auto;
}

#content fieldset #columns .scroll {
    overflow-y: scroll;
}

#content fieldset #columns .column form,
#content fieldset #columns .column form p.formField {
    padding: 0;
    margin: 0;
    height: 45px;
}

#content fieldset #columns .column form input,
#content fieldset #columns .column form select {
    width: 315px;
}

#content fieldset #columns .column form input {
    width: 288px;
}

#content fieldset #columns .column form label {
    display: none;
}

#content fieldset #columns .column table td.editColumn,
#content fieldset #columns .column table th.editColumn {
    display: none;
}

#content fieldset #columns .column table td {
    overflow: hidden;
}

#content fieldset #columns .column table td a:after {
    content: ' ';
    position: absolute;
    left: 265px;
    top: 0px;
    width: 14px;
    height: 14px;
    font-size: 11px;
    display: block;
    background-color: #0269B3;
    border-radius: 7px;
    text-align: center;
    line-height: 14px;
    color: #fff;

    font-size: 14px;

}

#content fieldset #columns .column table td.deleteColumn a:after {
    display: none;
}

#content fieldset #columns .column table td a {
    position: relative;
}

#content fieldset #columns .column.left {
    width: 315px;
}

#content fieldset #columns .column.left table {
    width: 100%;
}

#content fieldset #columns .column.left table td a:after {
    content: '+';
}

#content fieldset #columns .column.right table td a:after {
    content: '-';
}

#content fieldset #columns .column table tr:hover td a:after {
    background-color: #000;
    color: #fff;
}

#content fieldset #columns .column.left .scroll {
    max-height: 419px;
    border: #C7C7C7 1px solid;
    overflow: auto;
    overflow-x: hidden;
}

#content fieldset #columns .column.left .scroll td {
    border-left: none;
    border-right: none;
}

#content fieldset #columns .column.left .scroll tr:first-child td {
    border-top: none;
}

#content fieldset #columns .column.left .scroll tr:last-child td {
    border-bottom: none;
}

/***************************/
.cms .bold {
    font-weight: bold;
}

.cms .toTheRight {
    margin-top: 0px;
    margin-left: 220px;
    line-height: 2em;
}

.cms form input[type="text"],
.cms form input[type="password"] {
    height: 17px;
}

.cms form input[type="text"],
.cms form input[type="password"],
.cms form input[type="checkbox"],
.cms form select,
.cms form textarea {
    border: 1px solid #bababa;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: #0e0e0e;
    width: 460px;
    margin-bottom: 35px;
    padding: 5px;
}

.cms form textarea {
    height: 120px;
}

.cms form input[type="text"]:focus,
.cms form input[type="password"]:focus,
.cms form select:focus,
.cms form textarea:focus {
    border-color: #5c5c5c;
    color: #332121;
}

.cms form select {
    width: 250px;
}

.cms form input[type="submit"]:not(.skip), .cms form button[type="submit"]:not(.skip) {
    background-color: #CF5F71 !important;
    color: #f6f6f6 !important;
    border-color: #CF5F71 !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.cms .action-button {
    background-color: var(--primary);
    color: var(--white);
}

.cms .table-searchbar {
    padding: 0.75rem 1rem;
    min-width: 50%;
    margin-bottom: .75rem; 
}
