@import url("/libs/fonts/greycliff/greycliff-all.css?1");

/* Button bars */

body {
    -webkit-text-size-adjust: 100%;
}

/* Loading screen */

#loading-screen {
    background: url(/backend/css/loading.gif) no-repeat center center;
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: #FFFFFF;
    z-index: 1000;
}

#loading-popover {
    background: url(/backend/css/loading.gif) no-repeat center center;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 50px;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    background-color: #FFFFFF;
    z-index: 1000;
    display: none;
}

/* Popup */

body.modal-fullscreen {
    overflow: hidden !important;
}

#modal-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: pointer;
}

#modal-header {
    font-family: 'Greycliff', Assistant, Arial, Helvetica, sans-serif;
    background-color: #FFFFFF;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 50px;
    padding: 10px 50px 10px 20px;
    box-sizing: border-box;
    font-size: 19px;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #000121;
    text-shadow: none !important;
}

.is-rtl #modal-header {
    padding: 10px 20px 10px 50px;
    text-align: right;
}

#modal-close {
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: #FFFFFF url(/libs/icons/icon-cross.svg) no-repeat center center;
    background-size: 20px 20px;
    cursor: pointer;
}

.is-rtl #modal-close {
    right: auto;
    left: 0px;
}

#modal-close:hover {
    background-color: #F2F4F7;
}

#modal-window {
    box-shadow: 0px 0px 15px -3px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 50px;
    left: 50px;
    bottom: 50px;
    right: 50px;
    z-index: 1001;
}

#modal-workspace {
    background: #FFFFFF url(/backend/css/loading.gif) no-repeat center center;
    position: absolute;
    top: 50px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}

body.modal-fullscreen #modal-window {
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}

#modal-iframe, #modal-content {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: none;
}

/* Inline prompts and alerts */

.inlinePrompt {
    padding: 0px 35px 0px 35px;
    font: 14px "Greycliff", Assistant, Arial, Helvetica, sans-serif;
}

.inlinePromptFooter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px;
}

.inlinePrompt .inlinePromptFooter .actionBone {
    margin-top: 30px;
    padding: 0;
}
.inlinePrompt .inlinePromptFooter .actionBone li {
    display: inline-block;
    margin: 0 0 0 9px;
}
.is-rtl .inlinePrompt .inlinePromptFooter .actionBone li {
    margin: 0 9px 0 0;
}
.inlinePrompt .inlinePromptFooter .actionBone li:first-child {
    margin: 0px;
}
.inlinePrompt .inlinePromptFooter .actionBone li .button {
    padding: 15px 15px;
}

.inlinePrompt .formBone p {
    color: #66717f;
    padding: 3px 0px;
}

.inlinePrompt input.button {
    background-color: #4CB963;
    border-radius: 8px;
    color: #fff !important;
    display: inline-block;
    font-family: "Greycliff", Assistant, Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
    min-width: 180px;
    text-decoration : none;
    border: 2px solid #4CB963;
    padding: 13px 15px;
    box-sizing: content-box;
    font-weight: 500;
    -moz-box-sizing: content-box;
    -webkit-appearance: none;
    line-height: 1;
}

.inlinePrompt input.button:hover {
    background-color: #3C9A50;
    border-color: #3C9A50;
}

.inlinePrompt input.button.secondary {
    border: 2px solid #d2dce6;
    color: #8c9aac !important;
    background-color: #FFFFFF;
}

.inlinePrompt input.button.secondary:hover {
    border: 2px solid #3075F6;
    color: #3075F6 !important;
    background-color: #FFFFFF;
}

/* Fix bug on iOS */

body.modal-fullscreen #modal-workspace {
    position: fixed;
}

body.touch-mode #modal-workspace {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

body.touch-mode #modal-iframe {
    position: static;
}

/* Upload progress */

#apiupload-dummy {
    border-radius: 8px;
}

#upload-status {
    font-family: "Greycliff", Assistant, Arial, Helvetica, sans-serif;
    font-size: 15px;
    display: none;
    position: fixed;
    padding: 100px 10% 20px 10%;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: #FFFFFF;
    z-index: 1000;
}
.is-rtl #upload-status {
    direction: rtl;
}

#upload-progress-bar,
#upload-progress {
    height: 30px;
}

#upload-progress-bar {
    background-color: #F2F4F7;
    width: 100%;
}

#upload-progress {
    background-color: #3075F6;
    width: 0%;
    transition: width 2s;
}

#upload-progress.failed {
    background-color: #E75D55;
}

#upload-status-message {
    line-height: 1.7;
    margin: 10px 0px;
}

.upload-buttons {
    margin-top: 30px;
}

.upload-buttons a {
    display: inline-block;
    color: #f6f7f9;
    background-color: #3F4954;
    border-radius: 8px;
    padding: 5px 20px;
    line-height: 44px;
    text-decoration: none;
}

.upload-buttons a:hover {
    background-color: #66717F;
    color: #f6f7f9;
}

.transition-go-inside,
.transition-go-away,
.transition-come-inside {
    -webkit-transition: all 150ms linear;
    -moz-transition: all 150ms linear;
    -ms-transition: all 150ms linear;
    -o-transition: all 150ms linear;
    transition: all 150ms linear;
    background: #EFEFEF;
    overflow:hidden;
}

.transition-slide-right,
.transition-slide-left {
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
    background: #EFEFEF;
    overflow: hidden;
}

.transition-go-away {
    opacity: 0;
    -moz-transform: scale(0.8);
    -webkit-transform: scale(0.8);
    -o-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
}

.transition-go-inside {
    opacity: 0;
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.transition-slide-right {
    -moz-transform: translateX(130%);
    -webkit-transform: translateX(130%);
    -o-transform: translateX(130%);
    -ms-transform: translateX(130%);
    transform: translateX(130%);
}

.transition-slide-left {
    -moz-transform: translateX(-130%);
    -webkit-transform: translateX(-130%);
    -o-transform: translateX(-130%);
    -ms-transform: translateX(-130%);
    transform: translateX(-130%);
}

.transition-fade-out {
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    opacity: 0;
    background: #EFEFEF;
}

/* Hints */

.mz_balloon_hint {
    font-family: 'Greycliff', Assistant, Arial, Helvetica, sans-serif;
    font-size: 14px;
    display: none;
    position: absolute;
    padding: 12px;
    border-radius: 4px;
    background-color: #66717F; /* default color, can be customized */
    color: #fff; /* default text color, can be customized */
    z-index: 1000;
    max-width: 250px;
}

.mz_balloon_hint::before {
    content: "";
    position: absolute;
    border-style: solid;
}

.mz_balloon_hint.top::before {
    border-width: 6px 6px 0;
    border-color: #66717F transparent transparent transparent;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.mz_balloon_hint.bottom::before {
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent #66717F transparent;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.mz_balloon_hint.left::before {
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent #66717F;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
}

.mz_balloon_hint.right::before {
    border-width: 6px 6px 6px 0;
    border-color: transparent #66717F transparent transparent;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
}

/* End */