﻿/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.field-validation-error {
    display: block;
}

#port-body .dropdown-menu li a {
    cursor: pointer;
}



#port-body .dl-horizontal dt {
    white-space: normal;
}

/* Make sure printing does not collapse Labels above Values for dl-horizontal */
@media print {
    #port-body .dl-horizontal dt {
        float: left;
        width: 160px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
    }

    #port-body .dl-horizontal dd {
        margin-left: 180px;
    }
}

.port-dialog input,
.port-dialog select,
.port-dialog textarea {
    max-width: none;
}

.port-dialog .row {
    margin-bottom: 10px;
}

.port-dialog-dropdown {
    text-align: left;
    display: inline-block;
    min-width: 150px;
}

.port-form-checkbox, .port-form-radio {
    margin-top: 7px;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto; /* prevent horizontal scrollbar */
    overflow-x: hidden; /* add padding to account for vertical scrollbar */
    z-index: 10000 !important;
    background-color: white
}

.ui-menu .ui-menu-item a.ui-corner-all:hover, .ui-menu .ui-menu-item a.ui-corner-all:focus, .ui-menu .ui-menu-item a.ui-corner-all:active {
    background: #428BCA;
    color: white;
    border-radius: 0;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: #428BCA;
    border: none;
    color: white;
    border-radius: 0;
    font-weight: normal;
}

.ui-widget-content {
    background: white;
}

.bold {
    font-weight: bold;
}

.portal-required label:before {
    color: #e32;
    content: '*';
    display: inline;
}

.end {
    text-align: end;
}

input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
}

.gm-style-cc {
    display: none;
}

.link-icon-combo {
    display: inline-block;
    padding-right: 3px;
    text-align: center;
}

.margin-top-none {
    margin-top: 0;
}

.padded-print-label {
    padding-left: 5px;
}

.portal-required:before {
    color: #e32;
    content: '*';
    display: inline;
}

.asterik-not-required:before {
    content: '';
}

.orangeText {
    color: #F8971D;
}

.red-text {
    color: #FF0000;
}

.red-link {
    color: #FF0000;
    text-decoration: underline;
}

    .red-link:hover {
        color: #FF0000;
        font-weight: 500;
    }

.image-border {
    position: relative;
    border: 2px solid black;
    margin: 10px;
    padding: 5px;
}

.image-border button {
    background-color: red;
    color: white;
    border: none;
    font-weight: 900;
    position: absolute;
    right: 5px;
    top: 5px;
}

.image-border img {
    max-width: 200px;
}

.image-border img:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.busy-parent {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    z-index: 2000;
    display: none;
    position: fixed;
    background-color: rgba(0,0,0,0.4)
}

.busy {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    top: 50%;
}

.busy div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin: 8px;
    border: 8px solid #8f6495;
    border-radius: 50%;
    animation: busy 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #8f6495 transparent transparent transparent;
}

.busy div:nth-child(1) {
    animation-delay: -0.45s;
}

.busy div:nth-child(2) {
    animation-delay: -0.3s;
}

.busy div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes busy {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.phone-edit span {
    display: inline;
}

.phone-edit input {
    display: inline;
}

/* Chrome, Safari, Edge, Opera */
.phone-edit input::-webkit-outer-spin-button,
.phone-edit input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.phone-edit input[type=number] {
    -moz-appearance: textfield;
}

.phone-area-code input {
    width: 60px;
}

.phone-prefix input {
    width: 60px;
}

.phone-local-exchange input {
    width: 75px;
}

.phone-decoration {
    font-weight: bold;
}
