@font-face {
    font-family: Ubuntu;
    font-weight: 400;
    src: url('/static/fonts/Ubuntu-Regular.ttf');
}

@font-face {
    font-family: Ubuntu;
    font-weight: 300;
    src: url('/static/fonts/Ubuntu-Light.ttf');
}

@font-face {
    font-family: Ubuntu;
    font-weight: 500;
    src: url('/static/fonts/Ubuntu-Medium.ttf');
}

@font-face {
    font-family: Ubuntu;
    font-weight: 700;
    src: url('/static/fonts/Ubuntu-Bold.ttf');
}

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    outline: none;
}

html,
body {
    box-sizing: border-box;
    font-family: Ubuntu, sans-serif;
}

body.no-scroll {
    overflow: hidden;
}

iframe {
    min-width: 1px;
    width: 100%;
    border: none;
}

.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.snackbar {
    background: #801549;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 300;
    left: 50%;
    padding: 10px;
    position: fixed;
    text-transform: uppercase;
    transform: translate(-50%, -100%);
    transition: transform 250ms ease;
    width: auto;
    z-index: 20;
}

.snackbar.visible {
    transform: translate(-50%, 0);
}

#modal-wrapper {
    background: #FBFDFE;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 0;
    z-index: 10;
}

#modal-wrapper.opened {
    overflow: auto;
    width: 100%;
}

.modal-dismiss {
    color: #B70F7F;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.modal-content {
    margin: 0 auto;
    max-width: 100%;
    min-height: 100%;
    padding: 15px;
    width: 1200px;
}

.modal-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 30px;
}

.modal-panel .panel-title {
    color: #C2C4C4;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    margin: 15px 0;
}

.modal-panel .clip-actions {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.modal-panel .clip-actions a {
    display: block;
    margin-bottom: 10px;
}

.modal-panel .drop {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.modal-panel .drop-info {
    display: flex;
    align-items: center;
}

.modal-panel .drop-title,
.modal-panel .drop-format {
    text-transform: uppercase;
    background: #A6CEDE;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 5px 10px;
}

.modal-preview {
    display: none;
}

.modal-preview.opened {
    display: block;
}

.modal-panel .drop-title {
    margin-right: 5px;
}

.modal-apps,
.modal-clips {
    background: rgba(0,0,0,0.9);
    display: flex;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 0;
    z-index: 10;
    overflow: hidden;
}

.modal-clips.opened,
.modal-apps.opened {
    width: 100%;
    overflow: auto;
}


/*.modal-clips-dialog {
    height: 50%;
    margin: auto;
    max-width: 100%;
    overflow: auto;
    width: 600px;
}*/

.modal-clips-dialog,
.modal-apps-dialog {
    display: flex;
    margin: auto;
    width: 900px;
    height: 315px;
}

.modal-clips-dialog iframe,
.modal-apps-dialog iframe {
    height: 100%;
}

.modal-apps-embed {
    width: 560px;
}

.modal-clips-content,
.modal-apps-content {
    background: #FBFDFE;
    overflow: auto;
    width: 340px;
}

.modal-clips-content {
    background: #FBFDFE;
}

.modal-clips-header,
.modal-apps-header {
    align-items: center;
    color: #8097A4;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 14px;
    background: white;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    padding: 15px;
}

.modal-clips-dismiss img,
.modal-apps-dismiss img {
    width: 14px;
}

.modal-clips-embed {
    width: 560px;
}

.modal-clips-text,
.modal-apps-text {
    font-weight: 300;
    padding: 15px;
}

.modal-clips-text p,
.modal-apps-text p {
    margin-bottom: 10px;
    line-height: 30px;
}

.navbar {
    align-items: center;
    background: #FFFFFF;
    box-shadow: 0px 2px 2px 0 rgba(128, 151, 164, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    position: sticky;
    top: 0;
    z-index: 5;
}

.navbar-brand img {
    width: 150px;
}

.navbar-item {
    border-bottom: 2px solid transparent;
    color: #8097A4;
    padding: 15px;
    text-decoration: none;
    transition: all 150ms linear;
}

.navbar-item:hover {
    border-color: #B70F7F;
}

.main-content {
    position: relative;
}

.section-title {
    color: #8097A4;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 30px 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.section-help img {
    width: 32px;
    margin-left: 8px;
}

.swiper-container {
    width: 100%;
    background: rgba(189, 202, 209, 0.1);
    padding: 15px 0;
}

.card {
    background: #FFFFFF;
    box-shadow: 4px 4px 6px 0 rgba(128, 151, 164, 0.1);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.card-header {
    padding: 15px 15px 0;
}

.card-title {
    color: #8097A4;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-align: center;
    text-transform: uppercase;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-tags .tag {
    background: #EEF3F5;
    color: #8097A4;
    font-size: 13px;
    margin: 0 5px 5px 0;
    padding: 5px 15px;
}

.card-content {
    padding: 15px;
    font-size: 13px;
    color: #8097A4;
}

.card-content .card-summary {
    margin-bottom: 15px;
}

.card-actions {
    display: flex;
}

.card-actions a {
    flex: 1;
    text-decoration: none;
}

.card-details {
    display: flex;
    align-items: center;
}

.card-avatar {
    width: 24px;
    margin-right: 8px;
}

.card-details .author-name,
.card-details .admin-name {
    font-weight: 700;
}

.card-content .app-thumbnail img {
    display: block;
    height: 150px;
    margin-bottom: 15px;
    margin: 0 auto 15px;
    max-width: 100%;
    object-fit: scale-down;
    width: 200px;
}

.btn {
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.btn--has-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
}

.btn-icon {
    width: 16px;
    margin-right: 5px;
}

.btn--primary {
    background: #B70F7F;
    color: #FFFFFF;
}

.btn--dark {
    background: #801549;
    color: #FFFFFF;
}

.text--primary {
    color: #B70F7F;
}

@media screen and (max-width: 991px) {
    .modal-apps-dialog {
        height: 270px;
        width: 730px;
    }

    .modal-apps-embed {
        width: 480px;
    }

    .modal-apps-content {
        width: 250px;
    }
}

@media screen and (max-width: 767px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-item {
        padding-left: 0;
        padding-right: 0;
    }

    .modal-apps-dialog {
        height: 225px;
        width: 600px;
    }

    .modal-apps-embed {
        width: 400px;
    }

    .modal-apps-content {
        width: 200px;
    }
}

@media screen and (max-width: 640px) {
    .modal-apps-dialog {
        flex-direction: column;
        width: 90%;
        height: 90%;
    }

    .modal-apps-embed {
        height: 40%;
    }

    .modal-apps-embed,
    .modal-apps-content {
        width: 100%;
    }
}