﻿
.active-form.suspended input,
.active-form.suspended select {
    background-color: #EEE;
    color: #CCC;
    pointer-events: none;
}

.active-form.suspended button {
    background-color: #CCC;
}

.loading-text {
    font-size: 18px;
    font-weight: normal;
    display: inline-block;
    padding-bottom: 28px;
    padding-left: 32px;
}

.loading-box {
    padding-top: 20px;
}

/* ------  ------ */

#main-menu .sub-menu {
	font-size:12px;
}

#left-menu ul#main-menu li.sub-menu a {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	padding-left: 65px !important;
	color: #9d9da4;
}

#left-menu ul#main-menu li.sub-menu a:hover {
	color:white;
}

.button-panel a.create-button {
	display: inline-block;
	color: white;
	text-decoration: none;
	text-align: center;
	padding: 6px 10px 6px 10px;
	border-radius: 4px;
	font-weight: normal;
	margin-top: 8px;
	margin-bottom: 12px;
}

input.clipboard {
	border-width: 0;
	font-family: "Segoe UI",Arial,sans-serif;
	font-size: 1.0rem;
	display:inline-block;
}

.form-fields, .box {
	display: inline-block;
	min-width: 500px;
	border: #CCC 1px solid;
	background-color: white;
	padding: 16px;
	position: relative;
    margin-bottom: 128px;
}

.form-fields.wide, .box {
    display:block !important;
}

.box.no-padding {
    padding:0 !important;
}

.clear-box {
    display: block;
    min-width: 500px;
    border-width: 0 !important;
    background-color: unset !important;
    padding: 0 !important;
}

.form-fields input, .form-fields select, .form input, .form select, .empty {
    font-family: "Segoe UI",Arial,sans-serif;
    font-size: 1.0rem;
    padding: 6px;
    border: 1px solid #CCC;
    border-radius: 4px;
    margin-bottom: 24px;
}

.empty {
	padding:24px;
	background-color:white;
}

a.underline {
	text-decoration:underline;
}

p.public {
	margin-top:0;
}

.form-fields input {
    width: 500px;
}

.form-fields input:disabled, .form-fields input[disabled],
.form-fields textbox:disabled, .form-fields textbox[disabled],
.form-fields select:disabled, .form-fields select[disabled] {
    background-color: #EEE;
    color: #777;
}

.form-fields select {
    width: 514px;
}

.form-fields div.double {
    width: 232px;
    display: inline-block;
}

.form-fields div.double input {
    width: 232px;
}

.form-fields div.double:first-child {
    margin-right: 16px;
}

.form-fields div.double:last-child {
    margin-left: 16px;
}

.form-fields input.double {
    width: 242px;
}

.form-fields .label, .form-fields label, .form label {
    padding-bottom: 8px;
    display: block;
}

label.error, .label.error {
    color: red;
}

label.error strong, .label.error strong {
    color: maroon;
}

.form-fields div.field {
    display: inline-block;
    vertical-align: bottom;
    padding-right: 12px;
}

.form-fields div.field input {
    width: 137px;
}

.form-fields div.input {
    padding-bottom: 15px;
}

.form-fields div.input div.note {
    padding-top: 7px;
    padding-bottom: 5px;
    font-size: 11px;
    color: #605fa9;
}

div.button-panel {
    padding-top: 24px;
    padding-bottom: 24px;
    text-align: right;
    width: 516px;
    border-top: #CCC 1px solid;
    margin-top: 16px;
}

div.button-panel button, .button {
    background-color: #0032A0;
    border-radius: 4px;
    color: white;
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
    width: 150px;
    cursor: pointer;
    border: 0;
    font-family: "Segoe UI",Arial,sans-serif;
    font-size: 1.0rem;
}

div.button-panel button:hover {
    background-color: #328c45 !important;
}

div.button-panel button.cancel {
    background-color: #EEE !important;
    color: black !important;
    margin-right: 32px;
    border: #EEE 1px solid !important;
}

div.button-panel button.cancel:hover {
    background-color: white !important;
    color: #222253 !important;
    border: #222253 1px solid !important;
}

.noline {
    border-top: none !important;
}

.nopadding {
    padding: 0 !important;
}
button.save {
    /* */
}

.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #242352; /* Blue */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    display: none;
}

.loader.size8 {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #242352; /* Blue */
    width: 8px;
    height: 8px;
}

.loader.size32 {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #242352; /* Blue */
    width: 32px;
    height: 32px;
}

.loader.loading {
    display: inline-block !important;
}

button.submit .loader {
    margin-left: 8px !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

div.form-fields div.cancel {
    float: right;
    padding-top: 16px;
}

div.form-fields h3 {
    margin-top:24px !important;
}

div.form-fields h3:first-child {
    margin-top: 0 !important;
}

div.form-fields h3.p {
    margin-bottom: 4px !important;
}

div.form-fields p.p {
    margin-top: 0px !important;
    width: 516px !important;
}

div.button-panel .cancel-button {
    display: inline-block;
    text-align: right;
    font-size: 11px;
    color: #999;
    padding-right: 16px;
    padding-top: 5px;
    max-width: 240px;
}


.off-on a {
	display: inline-block;
	padding: 5px 12px 5px 12px;
	background-color: transparent;
	border: #242352 1px solid;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.off-on a:first-child {
	border-bottom-left-radius: 3px;
	border-top-left-radius: 3px;
}

.off-on a:last-child {
	border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
	border-left-width: 0 !important;
}

.off-on a:hover {
	background-color: #5050a4;
	color: white;
}

.off-on a.selected {
	background-color: #242352;
	color: white;
}

.cancel a, .cancel-button a {
    text-decoration: none;
    color: #555;
}

div.button-panel .note {
    display: inline-block;
    text-align: right;
    font-size: 11px;
    color: #999;
    padding-right: 16px;
    padding-top: 5px;
    max-width: 240px;
}

/* Checkboxes */

/* Styling Checkbox Starts */
.checkbox-label {
    display: inline-block !important;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    line-height: 24px;
    height: 24px;
    width: 24px;
    clear: both;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    top: -100px;
    left: -100px;
    width: unset !important;
}

.checkbox-label .checkbox-custom {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 24px;
    width: 24px;
    background-color: transparent;
    border-radius: 5px;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    border: 2px solid #777;
}

    .checkbox-label input:checked ~ .checkbox-custom {
        background-color: #0032A0;
        border-radius: 5px;
        -webkit-transform: rotate(0deg) scale(1);
        -ms-transform: rotate(0deg) scale(1);
        transform: rotate(0deg) scale(1);
        opacity: 1;
        border: 1px solid #0032A0;
    }


.checkbox-label .checkbox-custom::after {
    position: absolute;
    content: "";
    left: 12px;
    top: 12px;
    height: 0px;
    width: 0px;
    border-radius: 5px;
    border: solid red;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(0deg) scale(0);
    -ms-transform: rotate(0deg) scale(0);
    transform: rotate(0deg) scale(0);
    opacity: 1;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
}


.checkbox-label input:checked ~ .checkbox-custom::after {
    -webkit-transform: rotate(45deg) scale(1);
    -ms-transform: rotate(45deg) scale(1);
    transform: rotate(45deg) scale(1);
    opacity: 1;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    background-color: transparent;
    border-radius: 0;
}
