@import "fonts.css";

body {
    overflow-y: auto;
}

.landing {
    background-color: white;
    font-family: "SF UI Text", sans-serif;
}

.material-panel,
.landing-editor {
    color: #222;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .08);
    margin-bottom: 10px;
    margin-top: 0;
}

.landing-editor {
    max-width: 768px;
}

.landing .header {
    text-align: center;
    display: inline-block;
    width: 100%;
    word-break: break-word;
}

.landing .header .caption {
    font-size: 17px;
    color: #9c9c9c;
    font-weight: 300;
    margin-top: 20px;
    line-height: 25px;
    word-break: break-word;
}

.landing.not-editor .header,
.landing.not-editor .block-caption,
.landing.not-editor .block-title,
.landing.not-editor .head-script-textarea {
    white-space: pre-wrap;
}

.landing .header h1,
.landing .header h2,
.landing .header h3,
.landing .header h4,
.landing .header h5,
.landing .header h6 {
    margin-top: 30px;
    word-break: break-word;
    line-height: 50px;
    margin-bottom: 0;
}

.landing .content {
    display: inline-block;
    margin-top: 17px;
    width: 100%;
    word-break: break-word;
}

.content-separator {
    border-top: 1px solid #e7e8ec;
    margin-top: 30px;
    margin-bottom: 10px;
}

.landing .panel {
    border: none;
    box-shadow: none;
    font-size: 14px;
    font-weight: 300;
    line-height: 19px;
}

.landing .panel .panel-body {
    padding-top: 0;
    line-height: 18px;
}

.landing .panel-heading {
    border: none;
    border-radius: 0;
    color: #272727;
    padding: 0 15px;
    position: relative;
    background: transparent;
    height: initial;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 15px;
}

.subscribers-count {
    color: #9c9c9c;
    font-size: 12px;
    font-weight: 300;
    margin-top: 10px;
}

.landing .editable {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.landing .landing-block-delete {
    position: absolute;
    top: 2px;
    color: #9c9c9c;
    right: 15px;
    cursor: pointer;
    opacity: 0;
    font-size: 10px;
    -webkit-transition: 0.2s opacity;
    -moz-transition: 0.2s opacity;
    -ms-transition: 0.2s opacity;
    -o-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.landing-add-block-button {
    cursor: pointer;
    color: #337ab7;
    display: block;
    margin-bottom: 15px;
}

.landing-add-block-button:last-child {
    margin-bottom: 2px;
}

.landing-add-block-button:focus,
.landing-add-block-button:hover {
    color: #23527c;
}

.landing .panel:hover .landing-block-delete {
    opacity: 1;
}

[contenteditable]:empty:before {
    content: attr(placeholder);
    pointer-events: none;
    display: block; /* For Firefox */
    color: #d0d0d0;
}

[contenteditable] {
    display: inline-block;
    outline: none;
}

.landing-dispatch-list-select {
    margin-bottom: 15px;
}

.landing-dispatch-list-select:last-child {
    margin-bottom: 0;
}

.landing-dispatch-list-select select {
    margin-top: 7px;
}

#head-script {
    display: none;
}

.head-script-textarea {
    margin-bottom: 0;
}

.head-script-textarea textarea {
    min-height: 250px;
    resize: none;
}

.no-display {
    display: none;
}

.landing .panel {
    text-align: center;
}

.landing .block-caption {
    margin-bottom: 25px;
    display: inline-block;
}

@media (max-width: 767px) {
    .landing {
        padding: 0;
    }

    .landing .header h1 {
        margin-top: 70px;
    }

    .content-separator {
        margin-top: 10px;
    }
}

.stat-panel {
    margin-top: 20px;
}

.stat-panel .panel-heading {
    border-bottom: none;
}
