﻿@font-face {
    font-family: 'ClearSans';
    src: url('../Resources/ClearSans-Regular.ttf') format("truetype");
}

body {
    font-family: ClearSans;
    font-style: normal;
    font-stretch: normal;
    font-weight: normal;
    margin: 0;
}

/* Common styling */
.normal-button,
.primary-button,
.disabled-button {
    padding: 0 20px;
    height: 30px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    border: 0;
    cursor: pointer;
}

.primary-button {
    background-color: #0086cc;
}

.normal-button {
    background-color: #797b7d;
}

.disabled-button {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
}

.icon-button > svg {
    padding-top: 7px;
}

.icon-button {
    padding: 0 8px;
    margin-right: 3px;
    font-size: 15px;
    transition: 0.3s;
    display: inline-block;
    vertical-align: top;
}

    .icon-button:hover {
        -webkit-box-shadow: inset 0 0 0 1px #59b6e6;
        -moz-box-shadow: inset 0 0 0 1px #59b6e6;
        box-shadow: inset 0 0 0 1px #59b6e6;
    }

    .icon-button:active {
        -webkit-box-shadow: inset 0 0 0 1px #b9bcbf;
        -moz-box-shadow: inset 0 0 0 1px #b9bcbf;
        box-shadow: inset 0 0 0 1px #b9bcbf;
    }


.danger-button {
    background-color: red;
}

.header-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 62px;
    color: #303030;
}

a {
    color: #0887C9;
}

.header-container {
    height: 60px;
    background-color: #303030;
}

.header-logo {
    max-height: 25px;
    padding-left: 20px;
    padding-top: 17px;
    box-sizing: initial;
}

.header-text {
    font-size: 14px;
    color: #FFFFFF;
    padding-top: 24px;
    padding-left: 10px;
    display: inline-block;
    vertical-align: top;
}

/* remove safari button styling */
input:not([type='checkbox']), textarea {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

/* Customer list styling */
.customer-list-body {
    padding: 20px;
}

    .customer-list-body table {
        width: 100%;
        border-collapse: collapse;
    }

    .customer-list-body th {
        font-size: 13px;
        font-weight: normal;
        color: #808184;
        border-top: 1px solid #EEE;
        border-bottom: 1px solid #EEE;
        padding: 5px 40px 5px 10px;
        text-align: left;
        position: relative;
    }

        .customer-list-body th:not(:last-child):after {
            content: "";
            height: 18px;
            border-left: 1px solid #EEE;
            position: absolute;
            right: 0
        }

    .customer-list-body td {
        border-bottom: 1px solid #EEE;
        padding: 16px 40px 16px 10px;
        font-size: 13px;
        color: #303030;
    }

.instance-filter-table {
    width: 0;
}

.add-customer-button-container {
    margin-bottom: 20px;
}

.customer-list-mobile {
    display: none;
}

@media screen and (max-width: 600px) {
    .header-text,
    table {
        display: none;
    }

    .customer-list-mobile {
        display: block;
    }

    .customer-container-mobile {
        padding: 12px 0;
        background-color: #FFF;
        font-size: 15px;
        border-bottom: 1px solid #EEE;
    }

        .customer-container-mobile:first-child {
            border-top: 1px solid #EEE;
        }

    .customer-name-mobile {
        font-weight: bold;
    }

    .add-customer-button-container {
        text-align: center;
    }

    /*
    .customer-list-body {
        background-color: #f9f9f8;
    }*/
}


/* Add customer styling */
.add-customer-header {
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    font-weight: bold;
    color: #303030;
    padding-left: 10px;
    border-bottom: 1px solid #EEE;
    box-sizing: border-box;
}

.customer-group-container,
.customer-button-container {
    max-width: 900px;
    margin: 0 auto;
}

.customer-settings-row {
    clear: both;
}

.customer-form-fields input,
.customer-form-fields select {
    width: 100%;
}

.input-field {
    min-height: 21px;
    box-sizing: border-box;
    border: 1px solid #EEE;
    color: #303030;
}

.customer-form-fields .host-name-wrapper {
    margin-right: 95px;
}

.customer-form-fields .customer-help-text {
    float: right;
    padding-top: 3px;
}

.customer-form-group {
    width: 400px;
    padding: 20px 35px;
    box-sizing: border-box;
    float: left;
}

.customer-form-header {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: bold;
    color: #0086CC;
    padding-bottom: 4px;
    border-bottom: 1px solid #0086CC;
}

.customer-form-fields label,
.customer-help-text {
    font-size: 13px;
    color: #808184;
}

.customer-form-fields label {
    display: inline;
    min-height: 19px;
}

.required-field label:after {
    content: "*";
    color: #F06800;
    font-size: 14px;
}

.form-field-group {
    padding-top: 9px;
}

.form-field-union {
    padding: 9px 0;
}

.form-field-group-item {
    padding-left: 30px;
}

.field-validation-error {
    font-size: 13px;
    color: red;
}

.hostname-exists-error {
    display: none;
}

.customer-button-container {
    clear: both;
    padding: 50px 85px 50px 50px;
    text-align: right;
    box-sizing: border-box;
}

@media screen and (max-width: 600px) {
    .customer-form-group {
        width: 100%;
    }

    .customer-button-container {
        text-align: center;
    }
}


/* Login styling */
.background-image-container {
    background: url("../Resources/bg-image.jpg") no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.fotoware-logo-container {
    margin: 58px auto 0 auto;
    width: 193px;
    height: 60px;
}

.fotoware-logo,
.fotoware-logo-mobile {
    max-height: 25px;
}

.fotoware-logo-mobile {
    display: none;
}

.fotoware-logo-text {
    font-size: 13px;
    color: #303030;
    padding-left: 33px;
}

.login-container {
    width: 450px;
    height: 360px;
    border-radius: 2px;
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
    margin: 0;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
}

.login-container-inner {
    margin: auto;
    width: 67%;
}

.login-button {
    height: 40px;
    margin: 40px auto 0 auto;
    display: block;
}

.container-row {
    position: relative;
    font-size: 13px;
    color: #808184;
}

.login-container-inner label {
    position: absolute;
    bottom: 5px;
    left: 0;
}

.login-container-inner .input-field {
    outline: none;
    border: 0;
    border-bottom: 1px solid #808184;
    width: 100%;
    text-align: right;
    margin-top: 25px;
    padding-bottom: 5px;
    padding-left: 64px;
    box-sizing: border-box;
}

    .login-container-inner .input-field:focus {
        border-color: #F06800;
    }

        .login-container-inner .input-field:focus + label {
            color: #F06800;
        }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 50000s ease-in-out 0s, color 5000s ease-in-out 0s;
}

@media screen and (max-width: 600px) {
    .login-container {
        background-color: transparent;
        box-shadow: none;
        width: 100%;
    }

    .login-container-inner {
        width: 81%;
    }

    .input-field {
        background-color: transparent;
    }

        .input-field:not(:focus) {
            border-color: #DFDFDF;
        }

    .container-row {
        font-size: 15px;
        color: #BBBDBF;
    }

    .fotoware-logo-text {
        color: #FFF;
    }

    .fotoware-logo {
        display: none;
    }

    .fotoware-logo-mobile {
        display: inline;
    }
}

/* Registered styling */
.registered-container {
    padding: 30px;
    margin: 0 auto;
    width: 295px;
}

.registered-text {
    color: #303030;
    text-align: left;
    padding-bottom: 10px;
}

.registered-text,
.registered-link {
    font-size: 15px;
}

.statusWrapper {
    text-transform: capitalize;
}

.status.circle {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 10px;
    text-align: center;
}

    .status.circle.error, .status.circle.terminated {
        background: red;
    }

.status.circle {
    background-color: grey;
}

    .status.circle.online {
        background-color: forestgreen;
    }

    .status.circle.provisioning {
        background-color: cornflowerblue;
    }

    .status.circle.maintenanceState {
        background-color: orange;
    }

    .status.circle.inactive {
        background-color: orange;
    }

.signout {
    float: right;
    margin: 15px;
}

.login-container .message {
    color: red;
    font-size: 14px;
    margin-top: 10px
}


/*
    Spinner animation
    http://tobiasahlin.com/spinkit/
*/

.spinner {
    vertical-align: bottom;
    text-align: center;
    font-size: 13px;
    display: none;
}

    .spinner > div {
        background-color: #FFFFFF;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.rowOwner {
    background-color: #e5f2ff;
}

.employeeMessage {
    font-size: 13px;
    font-style: italic;
    margin-bottom: 10px;
}

.hostname {
    text-transform: lowercase;
}

.confirm-field {
    padding: 3px 0
}

.confirm-label {
    font-weight: bold;
}

.confirm-button-container {
    clear: both;
    padding: 50px 0;
    text-align: left;
    box-sizing: border-box;
}

.ui-autocomplete .ui-menu-item-wrapper {
    font-size: 14px;
}

select[disabled] {
    background-color: rgb(235, 235, 228);
}

label {
    line-height: 24px;
}

.clear-company-link {
    font-size: 13px;
    line-height: 24px;
    float: right;
}

.compamy-name-label {
    display: block;
}

.ui-autocomplete li:last-of-type {
    color: #41aceb;
    text-decoration: underline;
    border-top: 1px solid #c8c8c8;
    padding: 3px 0
}

/*.ui-autocomplete li:first-of-type:last-of-type {*/
/*    display: none;*/
/*}*/

.ui-widget-content .ui-state-active,
.ui-autocomplete .ui-button.ui-state-active:hover {
    border: 1px solid #cbebf9;
    background: #cbebf9;
    color: black;
}

.spinner-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

    .spinner-wrapper.show {
        display: block;
    }

#spinner {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    margin: -17.5px 0 0 -17.5px;
    -webkit-animation-name: spinner-rotate;
    animation-name: spinner-rotate;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: normal;
    animation-direction: normal;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

@-webkit-keyframes spinner-rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    20% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    40% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    60% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    20% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    40% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    60% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.customer-settings-column {
    max-width: 450px;
    float: left;
}

.hide {
    display: none;
}

.info.fa-info-circle {
    color: #808184;
    float: right;
    padding-top: 3px;
    position: relative;
    margin-right: -25px;
    font-weight: 500;
    font-size: large;
}

    .info.fa-info-circle:hover {
        color: #0086cc;
    }

.info-label.fa-info-circle {
    margin-top: 23px;
}

.custom-tooltip-styling {
    color: white;
    background-color: rgba(97, 97, 97, 0.9);
    font-size: 13px;
    box-shadow: none;
    outline: 0;
}

.ui-tooltip.ui-widget.ui-widget-content {
    border-style: none;
    border: none;
    /*    border: 0;*/
}

.background-deactivate {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0.3;
    z-index: 100;
    background-color: #000000;
}

    .background-deactivate.show {
        display: block;
    }

.partner-popup, .usage-popup, .user-popup {
    display: none;
    width: 500px;
    height: 200px;
    background-color: rgb(251, 252, 252);
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    /* this to solve "the content will not be cut when the window is smaller than the content": */
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    z-index: 200;
}

    .partner-popup.show, .usage-popup.show, .user-popup.show {
        display: block;
    }

.partner-content, .usage-content {
    padding: 20px;
}

.partner-fields, .usage-fields, .user-fields {
    font-size: 15px;
}

    .partner-fields .label, .usage-fields .label, .user-fields .label {
        display: inline-block;
        width: 140px;
    }

.partner-header, .usage-header, .user-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background-color: #c6c7ca;
    padding: 5px;
}

.partner-buttons, .usage-buttons, .user-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

#searchbox {
    margin: 10px;
    margin-top: 20px;
    border-color: #b9bcbf;
    padding: 10px 20px 10px 4px;
    width: 400px;
}

.instance-filter-table td {
    padding: 10px 5px
}

.tenant-search {
    text-align: right;
}

    .tenant-search .fa-search {
        color: #b9bcbf;
    }

.modal-window {
    max-height: 90%;
    margin-top: 80px;
    overflow: auto;
    max-height: 90%;
    overflow-x: hidden;
    font-family: ClearSans;
    width: 1000px;
}

.archiveManagementDialog
{
    top: 200px !important;
}

.archiveManagementDialog .modal-window {
    margin-top: 0px;
}

.ui-widget-overlay {
    background: repeat-x scroll 50% 50% #808184;
    opacity: 0.3;
}

.ui-widget-overlay {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.ui-widget-content .ui-state-active, .ui-autocomplete .ui-button.ui-state-active:hover {
    border: 1px solid #0086cc;
    background: #0086cc;
}

.ui-tabs .ui-tabs-nav li {
    font-family: Arial;
    font-weight: 700;
}

.modal-table-header .error-text {
    color: #d01040;
}

.modal-table-header .success-text {
    color: #18bc9c;
}

.modal-table-header {
    border-bottom: 1px solid #EEE;
    padding: 16px 40px 16px 10px;
    font-size: 13px;
}

.sync-button:hover {
    color: forestgreen;
    cursor: pointer;
}

#instance-tabs .customer-group-container, #archiveManagement .customer-group-container, #customMdcUploadContainer .customer-group-container {
    max-width: none;
}

.customer-list-body .sync-th {
    padding-right: 10px;
    min-width: 100px;
}

.sync-time-label {
    color: #18bc9c;
}

.sync-label {
    float: left;
    min-width: 46px;
}

.short-table-item {
    max-width: 12vw;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.extra-short.short-table-item {
    width: 50px;
    max-width: 50px;
}

.dropdown-button {
    margin: 2px 2px 2px 7px;
    width: 160px;
}

.dropdown-button > .fa-stack {
    vertical-align: middle;
}

.jq-dropdown-menu
{
    width: 190px;
}

.upload-product-container {
    text-align: right;
}

.HideFileInput {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.upload-product-container label {
    padding: 8px;
}

.file-browse-link {
    cursor: pointer;
    margin-left: 3px;
    text-decoration: none;
    position: relative;
}

#createDeployment {
    display: inline-block;
    line-height: 29px;
    padding: 3px 8px;
}

#deployment-dialog input, #deployment-dialog select {
    font-size: 12px;
    margin: 15px 5px 0 5px;
}

#deployment-dialog input, select {
    width: 300px;
}

.tenant-feature-report-label {
    display: inline-block !important;
    min-width: 200px;
}

.tenant-feature-report-checkbox {
    width: auto !important;
}

label.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.switch input {
    display: none;
}

.switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .switch .slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 15px;
        left: 4px;
        bottom: 3px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

.switch input:checked ~ .slider {
    background-color: #2196F3;
}

.switch input:focus ~ .slider {
    box-shadow: 0 0 1px #2196F3;
}

.switch input:checked ~ .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

/* Rounded sliders */
.switch .slider.round {
    border-radius: 35px;
}

    .switch .slider.round:before {
        border-radius: 50%;
    }

.dropbtn {
    background-color: darkgray;
    color: white;
    padding: 0.5em;
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding-left: 1em;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

    .dropdown-content a:hover {
        background-color: #ddd;
    }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.green-text
{
    color: darkseagreen;
    font-weight: bold;
}

#settingTags {
    width: 95%;
    font-size: small;
    font-weight: bold;
}

#customMdcUploadContainer {
    display: none;
}

#customMdcUploadContainer .primary-button {
    display: inline-block;
}

#customMdcUploadContainer .paddingTop {
    padding: 20px 0px 0px 0px;
}

.show-messages {
    margin: 0px 0px 20px;
    /*background-color: orangered;*/
    padding: 10px 10px;
}

.blink-animation {
    animation-duration: 1s;
    animation-name: warningframes;
    animation-iteration-count: 6;
    animation-direction: normal;
}

@keyframes warningframes {
    0%, 49% {
        /*background-color: orangered;*/
        border: 3px solid white;
    }

    50%, 100% {
        /*background-color: white;*/
        border: 3px solid red;
    }
}