﻿html, body {
    padding: 0;
    margin: 0;
    height: calc(100% - 60px);
}

    html body {
        font-family: 'Mitr', sans-serif;
        color: #576ec4;
        font-weight: 300;
        font-size: 16px;
    }

a, a:hover, a:visited {
    color: inherit !important;
    text-decoration: none !important;
}

label {
    margin-bottom: 0px !important;
}

hr.divider {
    border: none;
    height: 0;
    width: 100%;
    clear: both;
    margin: 0;
}

#main {
    min-width: 990px;
    height: 100%;
}

#main, #view-content {
    min-height: 630px;
}

#header {
    height: 60px;
    margin: 40px 0px 30px 60px;
    min-width: 650px;
    width: calc(100% - 200px);
    display: inline-block;
}

#app-logo {
    color: #554eac;
    width: 315px;
    line-height: 1;
    display: inline-block;
    margin-left: 20px;
}

    #app-logo a {
        font-size: 28px;
        font-weight: 400;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
    }

    #app-logo span {
        margin-top: 10px;
        font-size: 14px;
        font-weight: 300;
    }

#product-logo {
    display: inline;
    float: left;
}

    #product-logo img {
        height: 36px;
        width: 36px;
        cursor: pointer;
        margin-left: 5px;
    }

.title {
    font-size: 22px;
    color: #554eac;
    font-weight: 400;
    margin-bottom: 50px;
    text-align: center;
}

.wide-pane {
    min-width: 850px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.view-panel {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.wide-box {
    width: 1000px;
}

.median-box {
    width: 650px;
}

.box {
    width: 330px;
}

    .box select.form-field {
        float: right;
    }

    .box label.wrap:after {
        width: 3%;
    }

.btn-box {
    width: 600px;
    padding: 10px 0px 5px 0px;
}

    .btn-box.center {
        justify-content: center;
        display: flex;
    }    

#acquirer-settings-grid {
    width: 880px !important;
}

#users-grid .btn-box, #acquirer-settings-grid .btn-box {
    justify-content: flex-end;
    display: flex;
    width: 880px;
}

#acquirer-settings-grid .plain-grid-pager {
    margin-top: -52px;
}

#acquirer-settings-grid-filter select.form-field {
    height: 45px;
}

#acquirer-settings-grid-filter label.wrap {
    display: block;
    margin: -55px 494px 0px 0px;
    position: relative;
    min-width: 225px;
    width: 225px;
    font-size: 14px;
}

    #acquirer-settings-grid-filter label.wrap:after {
        top: 30px;
    }

#error {
    color: #ff516e;
}

#info {
    color: inherit;
}

.pane-space {
    height: 10px;
}

.box, .transaction-box, .user-box {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: 85px;
    width: 330px;
    margin-right: 85px;
    float: left;
}

    .transaction-box > .req-service-box {
        display: grid;
        border: 1px solid #E3E3E3;
        box-shadow: 0 0 3px #E3E3E3;
        padding-left: 10px;
        padding-bottom: 20px;
        margin-left: -10px;
        border-radius: 6px;
    }

#wrap-transaction {
    margin-top: -150px;
}

.messages:not(.ng-hide) + div {
    margin-top: 0 !important;
}

label.wrap {
    position: relative;
    min-width: 250px;
    width: 100%;
    float: right;
}

select.form-field, input.form-field, p.option-field {
    min-width: 250px;
    width: 93%;
    height: 50px;
    margin: 15px 0;
    border: 1px solid rgba(87, 110, 196, 0.2);
    padding: 0 45px 0 10px;
    cursor: pointer;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    color: #576ec4;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: 300;
}

select option {
    font-weight: 300;
}

select::-ms-expand {
    display: none;
}


label.wrap:after {
    content: "\f0d7 ";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 22px;
    z-index: 1;
    width: 10%;
    height: 100%;
    pointer-events: none;
}

.field {
    position: relative;
    margin-bottom: 15px;
    margin-top: 15px;
    color: #576ec4;
    height: 50px;
}

    .field input {
        font-weight: 300;
        color: #576ec4;
        padding: 10px 10px 17px 10px;
        display: block;
        width: 93%;
        border: none;
        border-bottom: 1px solid rgba(87, 110, 196, 0.2);
    }

        .field input:disabled {
            background-color: #ffffff;
            color: rgba(87, 110, 196, 0.7);
        }

.upload-field {
    position: relative;
    margin-bottom: 15px;
    margin-top: 15px;
    color: #576ec4;
    height: 50px;
    cursor: pointer;
    border-bottom: 1px solid #e7e7e7;
}

.upload-link {
    line-height: 50px;
    padding: 0px 10px;
    overflow: hidden;
    margin-right: 35px;
}

input:focus {
    outline: none;
}

    /* active state */
    input:focus ~ .field-label,
    input.ng-not-empty:invalid ~ .field-label,
    .mini-label {
        top: -15px !important;
        font-size: 13px;
        color: #5264AE;
    }

input::-webkit-input-placeholder,
input:-ms-input-placeholder {
    color: #576ec4;
}

input::-moz-placeholder,
input:-moz-placeholder {
    color: #576ec4;
    opacity: 1;
}

p.option-field {
    cursor: default;
    font-weight: normal;
}

.field-label {
    font-weight: 300;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

#dropdownLabel {
    top: 0px !important;
}

.display-label {
    width: 300px;
    font-weight: 300;
}

.display-field {
    padding: 10px 0px 5px 0px;
    display: inline-flex;
}

    .display-field span {
        font-weight: 400;
        display: block;
        width: 300px;
        word-wrap: break-word;
    }

        .display-field span.success {
            color: #43D3B3;
        }

.info-message {
    font-weight: 400;
    padding: 12px 0px 12px 0px;
}

.fa-refresh {
    float: left;
    cursor: pointer;
    line-height: 80px !important;
}

.fa-fw {
    width: initial !important;
}

.fa-cloud-upload {
    left: 94%;
    position: absolute;
    line-height: 50px !important;
}

.messages {
    margin-top: 50px;
    font-size: 14px;
    padding: 0px 85px;
}

.animate-show-hide.ng-hide {
    opacity: 0;
}

.animate-show-hide.ng-hide-add, .animate-show-hide.ng-hide-remove {
    transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
}

.btn.btn-next {
    width: 60px;
    height: 60px;
    outline: none !important;
    border-radius: 50%;
    background: #6e8efb;
    margin-top: 50px;
    background: -moz-linear-gradient(-45deg, #6e8efb 0%, #a777e3 100%);
    background: -webkit-linear-gradient(-45deg, #6e8efb 0%,#a777e3 100%);
    background: linear-gradient(135deg, #6e8efb 0%,#a777e3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6e8efb', endColorstr='#a777e3',GradientType=1 );
}

#rollingImg {
    height: 30px;
    width: 30px;
}

.btn.btn-next:hover {
    background: #554eac;
}

.btn.btn-next img {
    height: 16px;
    width: 16px;
}

.btn.btn-logs {
    color: #FFFFFF;
    text-align: left;
    width: 285px;
    height: 50px;
    margin: 0px 5px 0px 5px;
    outline: none !important;
    background-color: #576ec4;
}

    .btn.btn-logs:hover {
        color: #FFFFFF;
        background: #3a4c90;
    }

    .btn.btn-logs img, .btn.btn-download img {
        margin: 0px 10px;
    }

.btn.btn-download {
    color: #576ec4;
    height: 50px;
    margin: 0px 5px 0px 5px;
    outline: none !important;
    background-color: #FFFFFF;
}

    .btn.btn-download:hover {
        color: #3a4c90;
        text-decoration: underline;
    }

.btn.btn-main {
    color: #FFFFFF;
    height: 50px;
    margin-bottom: 55px;
    margin: 0px 5px 0px 5px;
    padding: 0px 25px 0px 25px;
    outline: none !important;
    background-color: #576ec4;
    border-radius: 6px;
}

    .btn.btn-main:hover {
        background-color: #3a4c90;
        color: #FFFFFF;
    }

input[type=checkbox] {
    visibility: hidden;
    display: inline-block;
}

.field-set {
    font-weight: 300;
    color: #A4B1E3;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
}

input[name="loa"]:disabled {
    color: #576ec4;
}

input[type=checkbox] + span:before {
    visibility: hidden;
    content: "\f00c";
    font-family: FontAwesome;
    display: inline-block;
    f letter-spacing: 20px;
    color: #576ec4;
}

input[type=checkbox]:checked + span {
    content: "\f00c";
    visibility: visible;
    color: #576ec4;
}

input[type=checkbox]:checked + :before {
    content: "\f00c";
    visibility: visible;
    color: #576ec4;
}

.custom-tooltip,
.custom-tooltip-error {
    visibility: hidden;
    position: absolute;
    color: #fff;
    background-color: #576ec4;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    border-radius: 6px;
    padding: 10px;
    width: 200px;
    min-height: 40px;
    margin-left: -7px;
    z-index: 1;
    top: 10px;
    left: 100%;
    opacity: 0;
    -webkit-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    -moz-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    -ms-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    -o-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
}

    .custom-tooltip:after,
    .custom-tooltip-error:after {
        position: absolute;
        content: ' ';
        left: -5px;
        top: 1%;
        margin-top: 15px;
        margin-left: -7px;
        border: 6px solid transparent;
        border-top-color: transparent;
        border-right-color: #576ec4;
    }

.field input:focus + .custom-tooltip,
.wrap select:focus + .custom-tooltip {
    visibility: visible;
    opacity: 1;
    z-index: 2;
}

    .field input:focus + .custom-tooltip + .custom-tooltip-error,
    .wrap select:focus + .custom-tooltip + .custom-tooltip-error {
        visibility: hidden;
        opacity: 0;
    }

.custom-tooltip-error {
    background-color: #ff516e;
    width: 166px;
}

    .custom-tooltip-error:after {
        border-right-color: #ff516e;
    }

    .custom-tooltip-error.active {
        visibility: visible;
        opacity: 1;
    }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.log-container {
    width: 600px;
}

    .log-container .CodeMirror {
        height: 650px;
        width: 600px;
        font-size: 13px;
    }

    .log-container .info-message {
        text-align: center;
    }


#login-view .field input,
#forgot-password-view .field input,
#confirm-view .field input,
#acquirer-settings-view .field input,
#acquirer-settings-view select.form-field {
    width: 100%;
}

#login-view .custom-tooltip-error,
#settings-view .custom-tooltip-error,
#forgot-password-view .custom-tooltip-error,
#confirm-view .custom-tooltip-error,
#acquirer-settings-view .custom-tooltip-error {
    left: 107%;
}

.forget-wrap {
    text-align: right;
    font-size: 14px;
}

#menu-bar {
    width: 140px;
    border-left: 1px solid #e8e8f4;
    float: right;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: calc(100% + 100px);
}

#main-buttons {
    font-size: 14px;
    color: #554eac;
    margin-top: 100px;
    margin-bottom: 200px;
    width: 100%;
}

    #main-buttons div {
        margin-bottom: 55px;
        text-align: center;
    }

        #main-buttons div.active {
            border-left: 4px solid #554eac;
        }

.icon {
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto;
}


.logout {
    margin-bottom: 50px;
    cursor: pointer;
}

.actions {
    text-align: center;
    display: none;
}

    .actions img {
        margin: 5px;
        margin-top: -6px;
    }

.settings-list-item.opened {
    transform: scale(1.02);
    margin: 15px 0;
    border: 1px solid #dde2f3;
}

    .settings-list-item.opened .settings-preview {
        background-color: #f4f6ff;
        padding: 20px;
        border: none;
        border-bottom: 1px solid #dde2f3;
    }

    .settings-preview:hover .actions,
    .settings-list-item.opened .actions,
    .settings-list-item.opened #save {
        display: inline-block;
    }

    .settings-list-item #save,
    .settings-list-item.opened #edit {
        display: none;
    }

.settings-header {
    height: 50px;
    padding: 20px 10px;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 10px;
}

.settings-preview {
    height: 50px;
    padding: 20px 10px;
    cursor: pointer;
    line-height: 10px;
}

    .settings-preview:hover {
        background-color: #f4f6ff;
        border: 1px solid #dde2f3;
    }

.settings-details {
    height: 0;
    overflow: hidden;
    -moz-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    -o-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    -webkit-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
}

.settings-list-item.opened .settings-details {
    padding: 30px 50px;
    height: 530px;
    -moz-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    -o-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    -webkit-transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
    transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.5s;
}

.grid-view {
    background-color: #576ec4;
    margin-top: 20px; 
    min-width: 880px;
    height: 390px;
    font-size: 14px;
    font-weight: 300;
}

    .grid-view .ngRowCountPicker {
        display: none;
    }

    .grid-view.ngGrid {
        background-color: transparent;
    }

    .grid-view .ngHeaderCell {
        background-color: #fff;
        font-weight: 400;
    }

    .grid-view .ngRow, .grid-view .ngRow.even, .grid-view .ngRow.odd {
        background-color: transparent;
        transition: background-color linear .1s;
        border: none;
    }

        .grid-view .ngRow:hover {
            background-color: #f4f6ff;
            transition: background-color linear .2s;
        }

div.ngCell {
    cursor: default !important;
}

.grid-view .ngVerticalBar {
    width: 0px;
}

.grid-view .ui-grid-cell {
    border-right: 0px;
}

.grid-view .ngCellText {
    padding: 15px 5px;
}

.grid-view .ngFooterPanel {
    background-color: transparent;
    border: none;
    padding-left: 10px;
    padding-top: 20px;
    color: #576ec4;
}

.grid-view .ngPagerContainer {
    display: none;
}

.plain-grid-pager .ngPagerButton {
    color: #576ec4;
    background-color: transparent;
    transition: background-color linear .1s;
    border: none;
    border-radius: 3px;
    margin: 0 3px;
    float: left;
    cursor: pointer;
}

    .plain-grid-pager .ngPagerButton:hover {
        color: #fff;
        background-color: #576ec4;
        transition: background-color linear .2s;
    }

.plain-grid-pager .current-pager {
    float: left;
    height: 25px;
    line-height: 25px;
    margin: 0 20px;
}

.plain-grid-pager {
    float: right;
    margin-top: -25px;
    margin-right: 20px;
    position: relative;
    z-index: 10;
}

.grid-view .ngGridMaxPagesNumber {
    margin: 0 3px;
    display: inline-block;
    float: left;
    line-height: 30px;
    cursor: default;
}

.grid-view .ngPagerCurrent {
    border-radius: 2px;
    padding: 0 20px;
    color: #3c3c3c;
    height: 27px;
    float: left;
    margin-left: 3px;
    padding: 0 !important;
    text-indent: 5px;
}

.grid-view .grid-input:focus {
    outline: none;
}

.ngCellText.grid-row-actions {
    text-align: right;
    padding: 5px 0;
    visibility: hidden;
}

.grid-view .ngRow:hover .ngCellText.grid-row-actions {
    visibility: visible;
}

.grid-view .ngRow .grid-row-action.always-visible {
    visibility: visible;
}

.grid-row-action.fa {
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-left: 10px;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
    transition: color linear .1s;
    cursor: pointer;
}

    .grid-row-action.fa:hover {
        color: #575fc4;
        transition: color linear .2s;
    }

    .grid-row-action.fa.fa-refresh{
        line-height: 40px !important;
    }

.view-icon {
    background-image: url('Images/view.png');    
    background-repeat: no-repeat;
    background-position: center;
    height: 38px !important;
}

@-webkit-keyframes show {
  0% {
    opacity:0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.02);
  }
  100% { 
    opacity:1;
    transform: scale(1);
  }
}

@keyframes show {
  0% {
    opacity:0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.02);
  }
  100% { 
    opacity:1;
    transform: scale(1);
  }
}

@keyframes hide {
  0% {
    opacity:1;
    transform: scale(1);
  }
  30% {
    transform: scale(1.02);
  }
  100% { 
    opacity:0;
    transform: scale(0.5);
  }
}

@-webkit-keyframes hide {
  0% {
    opacity:1;
    transform: scale(1);
  }
  30% {
    transform: scale(1.02);
  }
  100% { 
    opacity:0;
    transform: scale(0.5);
  }
}

.median-box.ng-hide-remove {
  -webkit-animation:0.5s show;
  animation:0.5s show;
}

.median-box.ng-hide-add {
  -webkit-animation:0.5s hide;
  animation:0.53s hide;
}
