﻿/* Master page */

html {
    height: 100%;
}

body {
    min-height: 100%;
    background: #F5F5F5;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin: 0px;
    padding: 0px;
}

#content-container .navbar-brand {
    height: auto;
}

.navbar-brand img {
    height: 35px;
}

#admin-navigation {
    margin-bottom: 0;
}

    #admin-navigation #navbar .navbar-nav > li > a {
        line-height: 35px;
    }

    #admin-navigation .navbar-right {
        padding-top: 7px;
    }

#admin-logo {
    position: relative;
    top: 10px;
    left: 10px;
    float: left;
}

#admin-main-title {
    text-align: center;
    color: white;
    font-size: 26px;
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
}

#timeout-modal .modal-body {
    height: 200px;
    text-align: center;
}

#timeout-modal #timeout-text {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Shared */

.MaintenanceUsersOnly, .RefundUsersOnly {
    display: none !important;
}

.admin-panel {
    border-radius: 10px;
    background: #eee;
    padding: 20px;
}

label {
    font-weight: bold;
    padding-left: 4px;
    font-size: 14px;
}

fieldset {
    border: none;
    padding: 0px;
}

    fieldset legend {
        font-size: 16px;
        font-weight: bold;
        color: #4d5357;
        position: relative;
        top: 0px;
        left: 0px;
        width: 100%;
        padding-bottom: 11px;
        border-bottom: 1px solid #D0D0D0;
        margin-bottom: 30px;
    }

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
}

input[type="text"], input[type=password] {
    border-radius: 5px;
    border: 1px solid #D0D0D0;
    padding-left: 15px;
}

.validation-message {
    color: red;
    font-weight: bold;
}

.form-field-error {
    border: 1px solid #ea1e1e !important;
}

#page-title {
    background-color: #0058AB;
    color: white;
    padding: 30px;
    margin-bottom: 10px;
}

    #page-title h2 {
        margin-top: 0;
    }

    #page-title p {
        color: rgb(169, 211, 252);
        margin-bottom: 0;
    }

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: rgba(61, 151, 218, 0.2);
}

.display-label {
    font-size: 15px;
    color: black;
}

.display-value {
    font-size: 14px;
    color: #737373;
}

.highlight-sub-text {
    font-size: 21px;
}

.back-icon {
    margin-right: 5px;
    top: 2px !important;
}

#error-message, #success-message {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: none;
    padding: 10px;
    z-index: 500;
}

.footer {
    margin: 0px auto;
    height: 100px;
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
}

.vertical-align-center {
    display: table-cell;
    vertical-align: middle;
}

.modal-content {
    width: inherit;
    height: inherit;
    margin: 0 auto;
}

.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.tooltip-wrapper {
    display: inline-block;
}

.btn[disabled] {
    pointer-events: none;
}

/* Login Page */

#login-page {
    background: -webkit-linear-gradient(#353535,#404040);
    background: -moz-linear-gradient(#353535,#404040);
    background: -o-linear-gradient(#353535,#404040);
    background: linear-gradient(#353535,#404040);
    height: inherit;
    width: inherit;
}

#login-opp-logo {
    text-align: center;
}

#login-panel {
    min-height: 300px;
    width: 450px;
    color: #777;
    -webkit-box-shadow: 10px 10px 41px -12px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 41px -12px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 41px -12px rgba(0,0,0,0.75);
}

    #login-panel .login-panel-title {
        margin-top: 20px;
        text-align: center;
    }

#login-controls {
    margin: 0 auto;
    padding-top: 10px;
    width: 75%;
}

input#adminUsername {
    width: 100%;
}

input#adminPassword {
    margin-top: 10px;
    width: 100%;
}

#loginButton {
    margin-top: 20px;
    width: 100%;
}

#login-panel #serverErrorMessage {
    width: 100%;
    text-align: center;
    padding-top: 10px;
    color: red;
}

#login-panel #field-error-message {
    width: 100%;
    text-align: center;
    padding-top: 5px;
    color: red;
}

#login-page #version-no {
    padding: 10px;
    float: left;
    color: #FFFFFF;
    margin-top: 32px;
    margin-left: 3%;
}

#login-page #footer-logo {
    padding: 10px;
    float: right;
    color: #FFFFFF;
    margin-right: 5%;
}

#login-page #footer-copyright {
    color: white;
    float: left;
    margin-right: 30px;
    margin-top: 32px;
}

#login-authenticating {
    display: none;
}

/* Overview Page */



/* Transactions Page */

#transaction-page .row {
    margin-top: 10px;
}

#transaction-page .panel-heading a:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: grey;
}

#transaction-page .panel-heading a.collapsed:after {
    content: "\e080";
}

#transaction-page #transaction-search-controls .checkbox {
    margin-bottom: 0px;
}

    #transaction-page #transaction-search-controls .checkbox .help-block {
        margin-bottom: 0px;
    }

#transaction-page #search-results {
    display: none;
}

#transaction-page #results-count-title {
    margin: 0;
}

#transaction-page #results-loading-top {
    width: 22px;
    margin: 0 auto;
    display: none;
}

#transaction-page #results-loading-bottom {
    width: 22px;
    margin: 0 auto;
    display: none;
    padding-bottom: 20px;
}

#transaction-page #download-results-modal .modal-body {
    min-height: 300px;
}

#transaction-page #download-results-modal #extract-status-icon {
    display: none;
}

#transaction-page #download-spinner-container {
    height: 190px;
    display: none;
}

#transaction-page #extract-status-icon {
    font-size: 9em;
    text-align: center;
    padding-top: 10px;
}

#transaction-page .glyphicon-ok-circle {
    color: #449d44;
}

#transaction-page .glyphicon-remove-circle {
    color: #d9534f;
}

#transaction-page #extract-download-container {
    text-align: center;
    font-size: 1.5em;
    margin-top: 30px;
    display: none;
}

#transaction-page #extract-status-error {
    display: none;
    text-align: center;
    margin: 20px 0 0 0;
    font-size: 18px;
    color: #858585;
}

/* Transaction Detail */

#transaction-detail-page {
    padding-left: 0;
}

    #transaction-detail-page #transaction-detail-controls {
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    #transaction-detail-page .modal-body .form-field:not(:first-of-type) label {
        margin-top: 10px;
    }

    #transaction-detail-page .modal-body .help-block {
        margin-bottom: 0px;
    }

    #transaction-detail-page #cybs-reason-code-popover-link {
        margin-left: 15px;
    }

    #transaction-detail-page .table th {
        white-space: nowrap;
    }

    #transaction-detail-page .products-table tbody td {
        vertical-align: middle;
    }

    #transaction-detail-page .products-table tr.danger td {
        border: #CDCDCD 1px solid;
    }

    #transaction-detail-page label[for=email-attachment-link] {
        margin-top: 10px;
    }

    #transaction-detail-page #refund-form-modal .modal-header {
        height: 50px;
    }

    #transaction-detail-page #refund-form-modal #refund-amount-message {
        display: inline-block;
        margin-right: 25px;
    }

    #transaction-detail-page #refund-summary-title {
        float: left;
    }

    #transaction-detail-page #refund-summary-total {
        float: right;
        font-weight: bold;
        font-size: 18px;
    }

    #transaction-detail-page .refund-amount-cell input {
        width: 80%;
        margin-right: 5px;
        float: left;
    }

    #transaction-detail-page .refund-amount-cell div {
        margin-top: 5px;
        float: left;
    }

    #transaction-detail-page #refund-history-container {
        display: none;
    }

    #transaction-detail-page #refund-history-table tbody td {
        white-space: nowrap;
    }

        #transaction-detail-page #refund-history-table tbody td:last-of-type {
            white-space: normal;
        }

    #transaction-detail-page #refund-history-title {
        margin-bottom: 5px;
    }

    #transaction-detail-page #confirm-submit-modal .modal-body {
        height: 160px;
    }

    #transaction-detail-page #confirm-submit-modal #confirm-container {
        margin: 0 auto;
    }

    #transaction-detail-page #confirm-submit-modal #confirm-message {
        text-align: center;
        font-size: 18px;
        margin-top: 10px;
    }

    #transaction-detail-page #confirm-icon {
        font-size: 4em;
        text-align: center;
        width: 100%;
    }

    #transaction-detail-page #confirm-loading {
        width: 22px;
        margin: 0 auto;
        display: none;
        margin-top: 55px;
    }

    #transaction-detail-page #confirm-submit-modal #complete-button {
        display: none;
    }

    #transaction-detail-page #confirm-submit-modal .glyphicon-remove-circle {
        color: #d9534f;
    }

    #transaction-detail-page #confirm-submit-modal .glyphicon-ok-circle {
        color: #449d44;
    }

/* Users */

#users-page {
    margin-top: 20px;
}

    #users-page .panel .row {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #users-page .panel-heading a:after {
        font-family: 'Glyphicons Halflings';
        content: "\e114";
        float: right;
        color: grey;
    }

    #users-page .panel-heading a.collapsed:after {
        content: "\e080";
    }

    #users-page #search-button, #users-page #reset-button {
        margin-top: 25px;
    }

    #users-page #results-loading-top {
        width: 22px;
        margin: 0 auto;
        display: none;
    }

    #users-page #results-loading-bottom {
        width: 22px;
        margin: 0 auto;
        display: none;
        padding-bottom: 20px;
    }

    #users-page #results-count-title {
        margin: 0;
    }

    #users-page #title-container .lead {
        margin-bottom: 5px;
    }

    #users-page #add-users-lnk {
        margin-top: 20px;
    }

/* User Detail */

#user-detail-page .row {
    margin-top: 20px;
}

    #user-detail-page .row .col-md-6:nth-child(odd) {
        padding-left: 0;
    }

    #user-detail-page .row .col-md-6:nth-child(even) {
        padding-right: 0;
    }

#user-detail-page .throbber-loader {
    margin-bottom: 15px;
}

#website-groups, #websites {
    display: none;
}

#button-controls div {
    padding: 0;
}

#button-controls button {
    margin-top: 10px;
    width: 150px;
}

#user-import, #user-import-btn, #add-user-btn {
    display: none;
}

#user-import-container .selectize-control {
    padding: 0;
}

/* Website Groups */

#website-groups-page .panel .row {
    margin-top: 15px;
    margin-bottom: 15px;
}

#website-groups-page .panel-heading a:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: grey;
}

#website-groups-page .panel-heading a.collapsed:after {
    content: "\e080";
}

#website-groups-page #search-button, #website-groups-page #reset-button {
    margin-top: 25px;
}

#website-groups-page #results-loading-top {
    width: 22px;
    margin: 0 auto;
    display: none;
}

#website-groups-page #results-loading-bottom {
    width: 22px;
    margin: 0 auto;
    display: none;
    padding-bottom: 20px;
}

#website-groups-page #search-results {
    margin-top: 5px;
}

#website-groups-page #add-groups-lnk {
    margin-top: 20px;
}

#website-groups-page #results-count-title {
    margin: 0;
}

#website-groups-page .lead {
    margin: 0;
}

/* Website Group Detail */

#group-detail-page .row {
    margin-top: 20px;
}

    #group-detail-page .row .col-md-6:nth-child(odd) {
        padding-left: 0;
    }

    #group-detail-page .row .col-md-6:nth-child(even) {
        padding-right: 0;
    }

#group-detail-page .throbber-loader {
    margin-bottom: 15px;
}

#websites {
    display: none;
}

#button-controls div {
    padding: 0;
}

#button-controls button {
    margin-top: 10px;
    width: 150px;
    margin-bottom: 150px;
}

#add-group-btn {
    display: none;
}

#delete-group-btn {
    display: none;
    margin-right: 10px;
}

/* Websites */

#website-page .row {
    margin-top: 15px;
}

#website-page .panel-heading a:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: grey;
}

#website-page .panel-heading a.collapsed:after {
    content: "\e080";
}

#website-page #search-button, #website-page #reset-button {
    margin-top: 65px;
}

#website-page #results-loading-top {
    width: 22px;
    margin: 0 auto;
    display: none;
}

#website-page #results-loading-bottom {
    width: 22px;
    margin: 0 auto;
    display: none;
    padding-bottom: 20px;
}

#website-page #add-website-lnk {
    margin-top: 20px;
}

#website-page #title-container {
    display: none;
}

#website-page #results-count-title {
    margin: 0;
}

#website-page .lead {
    margin: 0;
}

/* Website Detail */

#website-detail-page {
    padding-bottom: 100px;
}

    #website-detail-page .row {
        margin-top: 20px;
    }

        #website-detail-page .row.field-row {
            margin-top: 0;
        }

        #website-detail-page .row .col-md-6:nth-child(odd) {
            padding-left: 0;
        }

        #website-detail-page .row .col-md-6:nth-child(even) {
            padding-right: 0;
        }

    #website-detail-page .website-loading {
        height: 35px;
    }

    #website-detail-page .location-field, .payment-type-field, .legal-entity-field {
        display: none;
    }

    #website-detail-page .form-field:first-of-type, .dropdown:first-of-type {
        margin-top: 0px;
    }

    #website-detail-page .form-field {
        margin-top: 15px;
    }

        #website-detail-page .form-field.dropdown {
            margin-top: 12px;
        }

    #website-detail-page #website-logo-preview {
        height: 150px;
        width: 100%;
        margin-top: 10px;
    }

    #website-detail-page .website-no-logo-available {
        width: 100%;
        height: 150px;
        background-color: #e7e7e7;
        text-align: center;
        border-radius: 10px;
        display: none;
    }

        #website-detail-page .website-no-logo-available p {
            line-height: 150px;
        }

    #website-detail-page .section-title {
        margin-bottom: 5px;
    }

    #website-detail-page .image-upload-container {
        margin-top: 15px;
    }

    #website-detail-page #website-logo {
        padding-left: 5px;
    }

    #website-detail-page #add-website-btn {
        display: none;
    }

    #website-detail-page .non-editable-info {
        display: none;
    }

/* Error */

#error-image {
    width: 100px;
    height: 100px;
}

#back-to-overview-link {
    margin-top: 40px;
}
