/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Boilerplate resets
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

div, section, ul, li, h1, h2, h3, h4, table, td, tr, form, label, iframe, hr {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

div, footer, header, nav, section, label {
    display: block;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

ul {
    list-style: none;
}

.clear {
    clear:both;
}

button, input, select, textarea {
    margin: 0;
    font-size: 100%;
    vertical-align: middle;
    position: relative;
}

button, input {
    *overflow: visible;
    line-height: normal;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
}

select, button, input[type="button"], input[type="reset"], input[type="submit"], input[type="radio"], input[type="checkbox"] {
    cursor: pointer;
    outline: 0;
}

input[type="search"] {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

a, button, .btn, .button {
    outline: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Body
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/


body {
    margin: 0;
    font-size: 15px;
    line-height: 20px;
    color: #333333;
    font-family: Arial, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

body.intro {
    overflow-y: hidden;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Typography
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6, b, strong {
    font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1 {
    font-size: 15px;
}

b, strong {
    font-family: Arial, sans-serif;
    font-weight: bold;
}

p {
    line-height: 23px;
    margin: 10px 0;
}

p:first-child {
    margin-top: 0;
}

input, button, select, textarea {
    color: #40526a;
    font-family: Arial, sans-serif;
}

table {
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input,
.btn-input {

    display: inline-block;
    background-color: #ffffff;

    font-size: 15px;
    height: 34px;
    padding: 6px 8px;

    border-radius: 4px;
    border: 1px solid #d8dadd;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.025);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.025);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.025);

    -webkit-transition: border linear 0.1s, box-shadow linear 0.1s;
    -moz-transition: border linear 0.1s, box-shadow linear 0.1s;
    -o-transition: border linear 0.1s, box-shadow linear 0.1s;
    transition: border linear 0.1s, box-shadow linear 0.1s;

}

select {
    padding-top: 5px;
    padding-left: 3px;
    height: 40px;
    line-height: 40px;
    min-width: 140px;
}

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    display: block;
}

.hint {
    font-size: 13px;
    text-align: left;
    width: 100%;
    color: #99a3b5;
}

.grey {
    color: #99a3b5;
}

.row {
    width: 100%;
    clear: both;
    position: relative;
}

.row::before, .row::after {
    content: "";
    display: table;
}

.row::after {
    clear: both;
}

.sandbox-warning {
    display: none;
}

/*--------------------------------------------------------------------------------------------------------------------
  Error-screen
  --------------------------------------------------------------------------------------------------------------------*/
.show-template-error-screen .error-screen .error-notification-icon {
    width: 62px;
    height: 62px;
    margin: 60px auto 30px;
    background: url(../img/fail-icon.png) center center no-repeat;
}

.show-template-error-screen .error-screen .content {
    text-align: center;
    margin: 0 auto 80px;
    padding-left: 5px;
    color: #b4b4b4;
}

.show-template-error-screen .error-screen .content a {
    font-weight: bold;
    color: #6b9bcd;
}

.show-template-error-screen .error-screen .content h1 {
    color: #333333;
    font-size: 22px;
}

.show-template-error-screen .receipt .content .bold {
    font-weight: bold;
}

.show-template-error-screen .receipt-previous-button {
    width: 100%;
    height: 50px;
    background: green;
    margin: 20px 0;
    line-height: 50px;
    display: none !important;
}

.show-template-error-screen .receipt-footer {
    height: 55px;
    background: #eaeaea;
}

.show-template-error-screen .receipt-footer-content {
    width: 485px;
    margin: 0 auto;
    padding: 15px 0;
}
.show-template-error-screen .error-screen {
    min-width: 320px;
}

.show-template-error-screen .error-screen .global-block-wrapper {
    padding: 0;
    text-align: center;
}

.show-template-error-screen  .error-screen .main-block-wrapper {
    padding-bottom: 0;
    border-bottom: 0;
}

.show-template-error-screen .error-screen .text {
    margin-bottom: 55px;
}

/*--------------------------------------------------------------------------------------------------------------------
    Wait panel
--------------------------------------------------------------------------------------------------------------------*/
#waitParent {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 2000;
    background-color: rgba(153, 153, 153, 0.9);
    opacity: 0;
}

#waitParent:before {
    top: 50%;
    width: 100%;
    position: absolute;
    display: block;
    margin-top: -66px;
    height: 66px;
    content: "";
    background: url('../img/Loader.gif') no-repeat center;
}

#waitParent #waitPanel {
    top: 50%;
    width: 100%;
    position: absolute;
    display: block;
    padding-top: 10px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    line-height: 24px;
}

#lock-modal-overlay {
    position: fixed;
    opacity: .5;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=50);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}