﻿/* [Begin] Buttons */
.cf a.button, .cf button, .cf input[type=submit] {
    box-sizing: border-box;
    color: white;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1.6em; /* this is what is set in global.css but kendo messes it up for elements nested inside widgets */
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
}

.cf a.button:disabled, .cf button:disabled, .cf input[type=submit]:disabled {
    background-color: gray;
    cursor: default;
}

.cf a.button:disabled:hover, .cf button:disabled:hover, .cf input[type=submit]:disabled:hover {
    background-color: gray;
    cursor: default;
}
/* [End] Buttons */

/* [Begin] Checkboxes/Radio Buttons and Labels */
.cf input[type=radio], .cf input[type=checkbox] {
    cursor: pointer;
    height: 2em;
    margin: 0;
    vertical-align: text-bottom;
}

.cf label[for] {
    cursor: pointer;
    line-height: 2em;
    vertical-align: text-bottom;
}
/* [End] Checkboxes/Radio Buttons and Labels */

/* [Begin] Textboxes */
.cf .k-textbox:disabled {
    background-color: rgb(252, 252, 252);
    border-color: rgb(227, 227, 229);
    filter: alpha(opacity=70);
    opacity: .7;
}

.cf .k-textbox:disabled:hover {
    background-color: rgb(252, 252, 252);
    border-color: rgb(227, 227, 229);
}
/* [End] Textboxes */

.cf fieldset {
    padding: 0 10px 10px 10px;
}

/* [Begin] Row spacing */
.cf .row {
    margin-top: 10px;
    margin-bottom: 10px;
}

.cf .row:first-child, .cf .row.first {
    margin-top: 0;
}

.cf .row:last-child, .cf .row.last {
    margin-bottom: 0;
}
/* [End] Row spacing */


/* [Begin] Miscellaneous */
hr {
    margin: 20px 0;
}

.page-link {
    padding: 0 2px;
}

.page-link.selected {
    font-weight: bold;
}
/* [End] Miscellaneous*/


/* [Begin] Catalyst Fire Start */
a.button, button[type="submit"].button, button[type=button] {
    cursor: pointer;
    display: inline-block;
    padding: 3px 9px 3px 9px;
    text-transform: uppercase;
}

.contact-edit-button {
    float: right;
}
/* [End] Catalyst Fire Start */


/* [Begin] Inertia */
.form-icon
{
    display: inline-block;
    height: 16px;
    margin: 0 9px 0 10px;
    vertical-align: middle;
    width: 16px;
}

.async-loading
{
    background-image: url('/Content/img/loader-small.gif');
}

.async-success
{
    background-image: url('/Content/img/green-check.png');
}

.async-error
{
    background-image: url('/Content/img/red-x.png');
}

.ac-panel {
    display: inline-block;
}

.ac-panel .ac-text-input {
    margin: 0;
}

.ac-edit-link {
    margin-left: 5px;
}

div.igrid {
    width: 640px;
    max-width: 640px;
}

.igrid.modal {
  display: inherit;
  overflow: inherit;
  overflow-y: inherit;
  position: inherit;
  top: inherit;
  right: inherit;
  bottom: inherit;
  left: inherit;
  z-index: inherit;
  -webkit-overflow-scrolling: inherit;
  outline: inherit;
}
/* [End] Inertia */


/* [Begin] Forms */
form
{
    margin: 0 auto;
}

.form-row
{
    margin: 10px 0 10px 0;
}

.form-submit-row
{
    margin: 15px 0 10px 0;
}

.form-row > label:first-child
{
    display: inline-block;
    min-width: 150px;
    max-width: 150px;
    width: 150px;
}

.form-submit-row > :first-child, .form-submit-row > button:nth-child(2)
{
    display: inline-block;
    margin: 0;
    width: 120px;
}

.form-submit-row > button:nth-child(2)
{
    margin-left: 5px;
}

.form-row > :nth-child(2), .form-row > :nth-child(3), .form-row > :nth-child(4)
{
    margin-left: 5px;
}

.form-row > :nth-child(2).mce-tinymce
{
    margin-left: 0;
}

.form-row > :nth-child(2)#Subject
{
    width: 68%;
}

#section-management .k-upload-button {
    width: 140px;
}

#section-management .k-filename {
    max-width: 90%;
}

#section-management .form-submit-row > span.form-status:nth-child(3) {
    vertical-align: middle;
}

.form-row div.field-validation-container {
    text-align: center;
}

.form-row span.field-validation-error
{
    background: #EE390D;
    border: 1px solid #C72D00;
    clear: both;
    color: white;
    display: inline-block;
    font-size: 11px;
    margin: 3px 3px 3px 3px;
    padding: 2px 7px;
}

.form-row span.field-validation-error a
{
    color: white;
    margin-left: 20px;
    text-decoration: underline;
}

.form-submit-row > span.form-status:nth-child(3)
{
    display: inline-block;
    vertical-align: top;
    width: 266px;
}
/* [End] Forms */


/* [Begin] WebCMS artifacts */
span.info-spot
{
    display: none;
}
/* [End] WebCMS artifacts */


/* [Begin] Autocomplete button icons */
.button-icon {
    background: top left no-repeat;
    background-size: 12px 12px;
    height: 12px;
    
    width: 12px;
}

.icon-briefcase {
    background-image: url('../img/briefcase.png');
}
/* [End] Autocomplete button icons */

/* [Begin] Tipsy */
.tipsy { padding: 5px; font-size: 12px; position: absolute; z-index: 100000; }
.tipsy-inner { padding:8px; background-color: black; color: white; max-width: 200px; text-align: center; }
.tipsy-inner { border-radius: 5px; -moz-border-radius:5px; -webkit-border-radius:5px; }
.tipsy-inner * { color: White }
.tipsy-arrow { position: absolute; background: url('../../Inertia/Content/images/icons/tipsy.gif') no-repeat top left; width: 9px; height: 5px; }
.tipsy-n .tipsy-arrow { top: 0; left: 50%; margin-left: -4px; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; }
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; }
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -4px; background-position: bottom left; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; background-position: bottom left; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; background-position: bottom left; }
.tipsy-e .tipsy-arrow { top: 50%; margin-top: -4px; right: 0; width: 5px; height: 9px; background-position: top right; }
.tipsy-w .tipsy-arrow { top: 50%; margin-top: -4px; left: 0; width: 5px; height: 9px; }
/* [End] Tipsy */


.memberName:active, .memberName:hover, .memberName:focus {
    cursor: pointer;
}

.cf-field-label {
    font-size: 11px;
    font-weight: bold;
    line-height: 2em;
}

.cf .row .fill > * {
    width: 100%;
}

.cf form {
    max-width: none;
}

.cf .cf-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.cf .cf-footer {
    margin-top: 20px;
}

.cf .cf-footer:after {
    clear: both;
    content: "";
    display: table;
    height: 0;
    width: 1px;
}

/* [Stephen] Problem on wizard pages

    Normal pages have:
    <div id="main">
        <div class="top"></div>
        <div class="content">THIS IS THE MAIN CONTENT</div>
    </div>
    
    Wizard pages have:
    <div id="main">
        <div class="content">
            <div class="top"></div>
            <div class="content">THIS IS THE MAIN CONTENT</div>
        </div>
    </div>

    .content <div> elements should be used "just before" content, not right under #main
*/
.internal .cf.top .content {
    height: auto;
}


/* New Form Stuff */
.cf .bs-container-fluid .row .cf-title, .cf .bs-container .row .cf-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.cf .cf-form .k-widget, .cf .cf-form input[type=text], .cf .cf-form select {
    box-sizing: border-box;
    margin: 0;
    width: 100%;
}

.cf .cf-form input[type=text], .cf .cf-form select {
    height: 2em;
}

.cf .cf-form .k-icon.k-warning {
    display: none;
}

/* [Swag Form] */
.page form.swg-form .k-textbox, .page form.swg-form .k-widget {
    font-size: 11px;
    margin: 0;
}

.swg-form .k-invalid {
    border-color: red;
}

.swg-form .k-widget.k-invalid .k-dropdown-wrap {
    border-color: red;
}

.swg-form :not(.show-validation) > .k-tooltip-validation {
    display: none !important;
}

.swg-form-message {
    color: red;
    font-weight: bold;
    text-align: right;
}

/* .cf .form-row pattern */
.cf .form-row > *:nth-child(2) {
    width: 250px;
}

.cf .form-row > .k-widget:nth-child(2) {
    width: 266px;
}

.cf .form-row .k-dropdown {
    margin: -3px 3px 3px 5px;
}

.cf .k-dropdown-wrap, .cf .k-dropdown-wrap.k-state-default {
    background-color: white;
}

.cf .form-row .k-dropdown .k-dropdown-wrap .k-input {
    font-family: "Arial";
    height: 24px;
    line-height: 24px;
}

/* [Begin] Tooltips */
.tooltip .tooltip-content {
    display: none;
}
/* [End] Tooltips */