@font-face {
    font-family: "Amazon Ember";
    src: url("font/AmazonEmber_W_Bd.woff2"), url("font/AmazonEmber_W_Bd.woff");
    font-weight: bold;
}
@font-face {
    font-family: "Amazon Ember";
    src: url("font/AmazonEmber_W_Rg.woff2"), url("font/AmazonEmber_W_Rg.woff");
    font-weight: normal;
}

* {
    font-family: "Amazon Ember", Verdana;

}
img.logo {
    position: absolute;
    top: 40px;
    left: 40px;
}
html {
    height: 100%;
}
.main-content {
    margin: 16px 0;
}
#content {
    height: 100%;
    position: relative;
}
.main-background {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: url(/img/back.jpg);
    background-size: cover;
    background-position-x: center;
}
.main-background:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.5);
    right: 0;
    bottom: 0;
}
.main-background .p, .main-background .h1 {
    color: #fff;
}
.main-background .p {
    margin-top: 9px;
}

.top-bar {
    height: 64px;
    background: #1E143A;
    padding: 16px 44px;
    box-sizing: border-box;

}
body {
    margin: 0;
    height: 100%;
}
.button {
    box-sizing: border-box;
    border-radius: 20px;
    padding: 6px 20px;
    margin-left: 16px;
    cursor: pointer;
}

.bottom-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto 0;
    width: 100%;
}

.bottom-buttons .button {
  margin: 0;
  min-width: 160px;
}

.button.primary {
    background: #584DDA;
    color: #fff;
    border: 2px solid #584DDA;
}
.button.orange {
    background: rgba(240, 89, 41, 0.92);
    color: #fff;
    border: 2px solid rgba(240, 89, 41, 0.92);
}
.button.primary:disabled, .button.primary.disabled {
    opacity: 0.5;
}
.button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid;
}
.buttons {
    float: right;
    display: flex;
}
.main-buttons {
    display: flex;
    margin-top: 40px;
}
.sub-content {
    position: relative;
    margin: auto;
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    max-width: 1124px;
    /*position: absolute;*/
    /*left: 12.4%;*/
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
}
.main-background .button {
    margin-right: 16px;
    margin-left: 0;
    padding: 8px 32px;
    font-size: 16px;
}
button.dropdown-field__toggler:after {
    content: '▼';
}
button.dropdown-field__toggler {
    background: transparent !important;
    border: 0;
    border-bottom: 2px solid #594CD7;
    width: 366px;
    min-height: 34px;
    position: relative;
    text-align: left;
    padding: 4px;
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
}
button.dropdown-field__toggler:after {
    content: '▼';
    position: absolute;
    top: 3px;
    right: 10px;
    font-family: arial;
    font-size: 10px;
    transform: scaleY(0.7) translateY(4px);
}
.dropdown-field--opened button.dropdown-field__toggler:after {
    content: '▲';
}
input[type="text"] {
    background: transparent !important;
    border: 0;
    line-height: 36px;
    border-bottom: 2px solid #fff;
    font-size: 16px;
    color: #fff;
    outline: none;
}
input[type="text"]:focus {
    border-bottom: 2px solid #594CD7;

}
.page-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.content {
    margin: auto;
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    max-width: 1124px;
}

.content-fullpage {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.block {
    margin-bottom: 40px;
}

.content > .block:first-child {
  padding-top: 60px;
}

.header {
    font-size: 32px;
    margin-bottom: 8px;
}
.h1 {
    font-size: 40px;
    line-height: 64px;
    font-style: normal;
    font-weight: bold;
}
.p {
    font-size: 16px;
    line-height: 32px;
    font-style: normal;
    font-weight: normal;
}
.input {
    border: none;
    padding: 4px 8px;
    border-bottom: 2px solid #00000066;
    width: 366px;
}
.input:focus-visible {
    outline: none;
}
.input:focus {
    border-bottom: 2px solid #594CD7;
}
.label_label {
    display: inline-block;
    width: 108px;
    font-size: 16px;
    padding: 4px 0 0 2px;
}
.callapp_local_video {
    display: none;
}
.hidden {
    display: none;
}
.nothing {
    visibility: hidden;
    pointer-events: none;
}
.income-video {
    display: inline-block;
    margin: 20px 8px 0 0;
}
.income-video-id {
    position: absolute;
    z-index: 1;
}

.dropdown-field__tooltip {
    display: none;
}
.dropdown-field--opened .dropdown-field__tooltip {
    display: block;
    position: absolute;
    background: #fff;
    border: 2px solid #594CD7;
    z-index: 1;
    padding: 8px 0;
    margin-top: -2px;
    min-width: 362px;
}
.dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
    line-height: 20px;
    /* margin-bottom: 8px; */
}
.dropdown-item:hover {
    background: #594CD7;
    color: #fff;
    cursor: pointer;
}
.form-field__label-text {
    font-size: 24px;
    font-weight: bold;
    margin: 40px 0 4px;
    display: block;
    line-height: 32px;
}
.form-field {
    margin: 2px 0 12px;
}
.canvas-resizer canvas {
    display: block;
}
.canvas-resizer {
    /*float: right;*/
    position: relative;
    /*top: 66px;*/
}
.description.gray {
    color: #5C5C5C;
}
.description {
    font-size: 14px;
    line-height: 24px;
}


#logger {
    display: none;
}
.debug #logger {
    display: block;
}
#debug {
    position: absolute;
    top:0;
    right:0;
    width: 32px;
    height: 32px;
}