/*-------------------------------------------------------------------

1.	Inputs e botões
2.	Estilos para Notorius
3.  Alerts

-------------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;700&display=swap");
@font-face {
    font-family: "BebasNeue";
    src: url("../fonts/bebas-neue.ttf") format("ttf"),
         url("../fonts/bebas-neue.woff") format("woff"),
         url("../fonts/bebas-neue.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "LeituraRoman";
    src: url("../fonts/leitura-roman.ttf") format("ttf"),
         url("../fonts/leitura-roman.woff") format("woff"),
         url("../fonts/leitura-roman.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "LeituraNewsRoman";
    src: url("../fonts/leitura-news-roman.ttf") format("ttf"),
         url("../fonts/leitura-news-roman.woff") format("woff"),
         url("../fonts/leitura-news-roman.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "LeituraSansGrot";
    src: url("../fonts/leitura-sans-grot.ttf") format("ttf"),
         url("../fonts/leitura-sans-grot.woff") format("woff"),
         url("../fonts/leitura-sans-grot.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "LeituraHeadlineSerif";
    src: url("../fonts/leitura-headline-serif.ttf") format("ttf"),
         url("../fonts/leitura-headline-serif.woff") format("woff"),
         url("../fonts/leitura-headline-serif.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "LeituraHeadlineSans";
    src: url("../fonts/leitura-headline-sans.ttf") format("ttf"),
         url("../fonts/leitura-headline-sans.woff") format("woff"),
         url("../fonts/leitura-headline-sans.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "LeituraDisplayRoman";
    src: url("../fonts/leitura-display-roman.ttf") format("ttf"),
         url("../fonts/leitura-display-roman.woff") format("woff"),
         url("../fonts/leitura-display-roman.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

.main-header{
    z-index:99 !important;
}
.main-body .side-header{
    z-index:99 !important;
}
/* 1.	Inputs e botões */
.form-control {
    color: #000;
}
.form-control:focus {
    color: #000;
    border-color: var(--primary-bg-hover);
}
.select2-container--default .select2-selection--single {
    color: #a8b0c9;
}
.select2-selection__rendered {
    color: #000 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border-radius: 5px;
}
.btn {
    border-radius: 6px;
}
.btn-link {
    color: var(--primary);
}
.btn-link:hover {
    color: var(--primary-bg-hover);
}

/* 2.	Estilos para Notorius */
.main-sidebar-hide .side-menu .main-logo .icon-logo {
    display: block;
    margin-left: 0;
    max-height: 50px;
    margin: 0 auto;
}
.sidemenu-logo {
    border-bottom: 0;
}
.main-sidebar {
    z-index: 9999;
}
.img-preview {
    width: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1 / 1;
}
.aspect-16-9 {
    aspect-ratio: 16/9;
}
.aspect-1-1 {
    aspect-ratio: 1/1;
}

.bg-info {
    background-color: #8a8a8a !important;
}

.modal-title {
    color: var(--primary);
}

.page-header .breadcrumb-item a {
    color: var(--primary-bg-color);
}
.page-header .breadcrumb-item.active {
    color: var(--primary-bg-hover);
}
#search-posts-input {
    width: 30vw;
    max-width: 100%;
}

.form-check-input:checked {
    background-color: var(--primary-bg-hover);
    border-color: var(--primary-bg-hover);
}

/* 3.  Alerts */

.alert {
    position: fixed;
    right: 0;
    top: 5rem;
    padding-right: 70px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
    max-width: 450px;
    z-index: 999;
}
.alert-danger {
    color: #fff;
    background-color: var(--danger);
    border: none;
}
tbody tr td {
    padding: 10px !important;
}
.preview-post-loading {
    width: 100%;
    height: auto;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}
.preview-post-loading.hide {
    display: none;
}
.preview-post canvas {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
}
.carrossel-preview{
    width: 540px;
    height: 675px;
}
.slider-preview {
    width: 540px;
    height: 675px;
    position: absolute;
    left: -1000vw;
    z-index: 999999;
}
/* #slider-render{
    min-width: 500px;
    min-height: 500px;
} */
#slider-render canvas {
    width: 100% !important;
    height: auto !important;
    box-shadow: 0 10px 10px rgba(0,0,0,.3);
}
.slider-preview .slick-slide {
    position: relative;
}
.slider-preview .slick-slide img {
    box-shadow: none;
    background-color: transparent;
}
.preview-video video {
    max-height: 400px;
}
.preview-video-render {
    position: relative;
}
.preview-video-render canvas {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100% !important;
    height: auto !important;
    box-shadow: 0 10px 10px rgba(0,0,0,.3);
}
.inserted_media_kit {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 8px 0;
}
.inserted_media_kit #mk_preview_logo img {
    max-height: 65px;
}
.inserted_media_kit {
    text-shadow: none !important;
}
.inserted_media_kit ul {
    margin: 0;
    list-style: none;
    padding: 0;
}
.note-editing-area {
    background-color: #ebebeb;
}
.preview-post-alert.hide {
    display: none !important;
}
#download-preview{
    width: 540px;
    height: 675px;
    background-size: cover;
    background-position: center center;
}
.preview-post {
    position: absolute;
    width: 540px;
    height: 675px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    left: -1000vw;
    background-size: cover;
    background-position: center center;
}
.preview-render{
    position: relative;
    min-width: 150px;
    min-height: 150px;
}
#ajax-load{
    display: none;
}
.preview-render canvas {
    width: 100% !important;
    height: auto !important;
    box-shadow: 0 10px 10px rgba(0,0,0,.3);
}
.preview-post svg {
    width: 100%;
    height: 100%;
    position: absolute;
}
.preview-post p {
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    display: block;
    height: auto;
    width: auto;
    font-size: 150% !important;
}
.dropdown-fontsize a,
.dropdown-fontname li a {
    display: block;
}
.dropdown-fontsize a:hover,
.dropdown-fontname li a:hover {
    background-color: #c7c7c7;
}
.dropdown-fontname li a {
    font-size: 14px !important;
}
.preview-post.hide {
    display: none;
}

/*
Customização usuário
*/
.card-post-user img {
    border-radius: 0;
    border: none;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

.slide.post .card-post-user,
.post-ratio {
    /* aspect-ratio: 1/1; */
}
.stories-ratio img {
    height: 100%;
    max-width: unset;
}
.slide.stories .card-post-user,
.stories-ratio {
    aspect-ratio: 9/16;
}
.slide.post .card-post-user img {
    width: 100%;
    height: 100%;
}
.slide.stories .card-post-user img {
    width: 100%;
    height: 100%;
}
.btn-fav[data-selected*="true"] {
    color: #fff;
    opacity: 1;
    background-color: #8b1815;
}
.btn-fav {
    font-size: 20px;
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
    cursor: pointer;
    transform: scale(0);
    transition: cubic-bezier(0.77, 0, 0.175, 1) 0.3s;
    background-color: #fff;
    opacity: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    color: #d2d2d2;
}
.card-post-user:hover .btn-fav {
    transform: scale(1);
}

.btn-published[data-selected*="true"] {
    color: #fff;
    opacity: 1;
    background-color: #19b919;
    transform: scale(1);
}
.btn-published {
    font-size: 20px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    cursor: pointer;
    transform: scale(0);
    transition: cubic-bezier(0.77, 0, 0.175, 1) 0.3s;
    transition-delay: .1s;
    background-color: #fff;
    opacity: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    color: #d2d2d2;
}
.card_purchased:hover .btn-published {
    transform: scale(1);
}

/*
Novo aspecto para imagem e carrossel
*/
[data-type="imagem"] a img, [data-type="carrossel"] a img {
    object-fit: cover;
    aspect-ratio: 4 / 5;
    object-position: 20% center;
}

[data-position-right="right"] img {
    object-position: right center !important;
}

.slick-next:before,
.slick-prev:before {
    font-family: slick;
    font-size: 30px;
    line-height: 1;
    opacity: 0.75;
    color: #141414;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-prev {
    left: -20px;
    width: 35px;
    height: 35px;
    z-index: 10;
}
.slick-next {
    right: -20px;
    width: 35px;
    height: 35px;
    z-index: 10;
}
.slick-slide img {
    border-radius: 0;
    height: unset;
    width: unset;
    padding: 0;
}

.order-posts .btn:first-child {
    margin-right: -3px;
    border-radius: 0;
}
.order-posts .btn {
    border-radius: 0;
}
.tabs-style-1 .panel-body,
.tabs-style-2 .panel-body,
.tabs-style-3 .panel-body,
.tabs-style-4 .panel-body {
    padding: 20px 0 0;
    margin: 0 -15px;
}
.tabs-style-3 {
    border: none;
    padding: 0;
}
.image-loading {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    background: white;
}
/* Datepicker CSS */
.ui-datepicker {
    z-index: 10000 !important;
    max-width: 97vw;
}
@media screen and (max-width: 600px){
    .ui-datepicker {
        z-index: 10000 !important;
        left: 3px !important;
        max-width: 97vw;
    }
}
.ui-datepicker .ui-datepicker-calendar td {
    padding: 5px !important;
}
.note-dropdown-menu {
    overflow-y: scroll;
    max-height: 400px;
}
.main-content {
    margin-bottom: 70px;
}

/* ESTILIZAÇÃO SELETOR LAYOUT */
#escolha-layout input[type="radio"][id^="layout-"] {
    display: none;
}
#escolha-layout label {
    border: 5px solid #fff;
    display: block;
    position: relative;
    cursor: pointer;
}

#escolha-layout :checked + label {
    border-color: #8b1815;
}
#automatizacao-post .modal-body {
    max-height: 70vh;
}
#config_posts .row:nth-child(odd) {
    background-color: #ececec;
}
#config_posts .row:nth-child(even) {
    background-color: #fff;
}
.balance {
    height: 36px;
    width: 36px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid;
    position: relative;
}
.balance::after {
    content: "\f155";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin: 0px 0px 0px 10px;
    text-decoration: none;
    position: absolute;
    bottom: -9px;
    right: -1px;
    border: 1px solid transparent;
    width: 20px;
    height: 20px;
    background-color: white;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    z-index: 2;
    border-radius: 100%;
}

/* Select color */
.clr-field button {
    width: 22px;
    height: 22px;
    left: 5px;
    right: auto;
}

.clr-field input {
    padding-left: 36px;
}

.clr-field button {
    border-radius: 5px;
}
img.carrossel-type {
    position: absolute;
    width: 25px !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 5px;
    background: transparent;
    border: none;
    top: 5px;
    filter: opacity(0.8);
}
.slider-preview .slick-slide {
    margin: 0;
    padding: 0;
}
.slider-preview {
    margin-bottom: 0 !important;
}
.slider-preview .preview-src {
    width: 540px;
    height: 675px;
    background-size: cover;
    background-position: left center;
}
#preview-post img#stories-mockup {
    display: none;
}
#preview-post[data-type*="story"] .post-preview {
    display: none;
}
.modal-body {
    max-height: 70vh;
}
.modal-content {
    border-radius: 20px;
}
@media screen and (max-width:600px) {
    #agendar-post-modal .modal-footer{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
    }
    
}
#preview-post[data-type*="story"] img#stories-mockup {
    display: block;
    position: absolute;
    left: 3px;
    top: 0;
    z-index: 1;
    width: 99.1%;
    aspect-ratio: 9/16;
    height: 100%;
    pointer-events: none;
}
.hide {
    display: none;
}
.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette:first-child,
.note-popover .popover-content .note-color .note-dropdown-menu .note-palette:first-child {
    display: none !important;
}
.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette,
.note-popover .popover-content .note-color .note-dropdown-menu .note-palette {
    margin-left: 15px;
}
.note-editor .note-toolbar .note-color-all .note-dropdown-menu,
.note-popover .popover-content .note-color-all .note-dropdown-menu {
    min-width: 200px !important;
}
.ff_fileupload_wrap {
    position: relative;
    z-index: 0;
}
.loading-file {
    z-index: 99;
    cursor: no-drop;
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
}
.image-preview-table img {
    width: 75px !important;
}
#calendar-table th.dtr-control.sorting_1 {
    padding: 2px !important;
}
@media screen and (max-width: 600px) {
    .fc-toolbar-chunk {
        display: inline-block;
        margin: 7px 23px;
    }
    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr .fc-toolbar-chunk:first-child {
        display: block;
    }
}
.image-preview-table {
    text-align: center;
}
.list-group.plan-resources a {
    width: 50%;
    border: none;
    margin: 0;
    opacity: 0.7;
}
a.list-group-item.list-group-item-action.active {
    opacity: 1;
}
.list-group.plan-resources {
    flex-direction: row;
    flex-wrap: wrap;
}
a.list-group.plan-resources h5 {
    text-decoration: line-through;
}
a.list-group-item.list-group-item-action.active h5,
a.list-group-item.list-group-item-action.active h5 {
    text-decoration: none !important;
    color: #000 !important;
}

.file-status {
    font-weight: normal;
    font-style: normal;
    margin: 0px 0px 0px 10px;
    text-decoration: none;
    position: absolute;
    top: -5px;
    left: -20px;
    border: 1px solid transparent;
    width: 20px;
    height: 20px;
    background-color: white;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    z-index: 2;
    border-radius: 100%;
}
[data-upgrate*="true"]:after {
    content: "Upgrade";
    position: absolute;
    right: 5px;
    top: 50%;
    background-color: #8b1815;
    color: #fff;
    padding: 6px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    z-index: 99;
    transform: translate(0, -50%);
}
#aviso-conta-nova-modal {
    position: fixed;
    width: 350px;
    height: auto;
    border-radius: 20px;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    text-align: center;
    padding: 25px;
    z-index: 50;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
#aviso-conta-nova-modal button {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 23px;
    color: red;
}
.tips-page iframe {
    width: 100%;
    min-height: 148px;
    height: auto;
}

button#show-password {
    right: 0;
    top: 0;
    z-index: 10;
}

td.fixed-width {
    white-space: normal;
}
.ui-state-disabled {
    opacity: .5;
    cursor: no-drop;
}
.slick-slide {
    position: relative;
}
input[name="photo"]::file-selector-button {
    cursor: pointer;
    background-color: var(--primary-bg-color);
    transition: background-color 200ms;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
}
input[type="file"]::file-selector-button:hover {
    color: #ffffff;
    background-color: var(--primary-bg-hover);
    border-color: var(--primary-bg-hover);
}
#upgrade-diamond-btn:after{
    right: -50%;
}