/* Block Contents */
.block-contents {
    width: 100%;
    /* max-width: 850px !important; */
    background: #fff;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 0 50px rgb(0 0 0 / 5%);
}

.box-contents-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    margin-bottom: 20px;
}

.box-contents-header div {
    display: flex;
}

.box-contents-header h2 {
    font-family: sans-serif;
    font-size: 30px !important;
    align-content: center;
    margin: 0;
    padding: 0;
}

.box-contents .elementor-widget-wrap > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.btn-primary {
    background: #0097a7 !important;
    font-size: 14px;
    font-family: "IranYekanWeb", sans-serif !important;
    color: #fff !important;
    border: 0;
    border-radius: 10px;
    padding: 2px 15px;
    height: 30px;
    cursor: pointer;
    transition: all 300ms linear;
}

.btn-primary:hover,
.btn-primary.active {
    background: #00838f !important;
    transform: scale(1.05);
}


button.refresh-data {
    background: #0039e41f;
    border: 0;
    height: 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #0039e4;
    cursor: pointer;
    padding: 0 10px;
    margin: 0 0 10px 0;

    transition: all 0.3s ease-in;
}

button.refresh-data span {
    margin-right: 10px;
    font-family: "IranYekanWeb", sans-serif;
    font-size: 18px;
}

button.refresh-data:hover,
button.refresh-data:focus,
button.refresh-data:active {
    transition: all 0.3s ease-out;
    color: #fff;
    background: #0039e4;
}

/*.box-contents-header .octf-btn.octf-btn-third.octf-btn-icon {*/
/*	padding: 4px 15px 4px 4px;*/
/*}*/

@media screen and (max-width: 1230px) {
    .block-contents .table-responsive {
        overflow-x: scroll;
        background: none;
        box-shadow: none;
    }
}

@media screen and (max-width: 500px) {
    .box-contents-header {
        flex-wrap: wrap !important;
        justify-content: center !important;
        flex-direction: column-reverse !important;
        margin-bottom: 0 !important;
    }

    /*.box-contents-header .octf-btn.octf-btn-third.octf-btn-icon {*/
    /*	margin-bottom: 20px !important;*/
    /*	width: 100% !important;*/
    /*}*/
    /*.box-contents-header .octf-btn.octf-btn-third.octf-btn-icon span,*/
    /*.box-contents-header .octf-btn.octf-btn-third.octf-btn-icon i {*/
    /*	margin-right: auto !important;*/
    /*}*/
}

@media screen and (max-width: 450px) {
    .box-contents-header div {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .box-contents-header h2 {
        margin-top: 20px;
        font-size: 28px !important;
    }
}

td.keyword-title div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

td.keyword-url div {
    display: flex;
    justify-content: center;
}

.block-contents table {
    border-collapse: separate;
    border-spacing: 10px;
    border: 0;
    width: 100%;
}

.block-contents table tr th,
.block-contents table tr td {
    border-radius: 20px;
    font-size: 16px;
    font-family: sans-serif;
    text-align: center !important;
    border: 0;
    white-space: nowrap;
    padding: 5px 10px;
    min-width: 20px;
}

.block-contents table tr th {
    background: linear-gradient(276deg, #0d47a1, #0383c9);
    box-shadow: 0px 0px 10px #087cff87;
    color: #fff;
    border: 0;
    font-family: sans-serif;
}

.block-contents table tr:nth-child(odd) td {
    background: #e6e9ec;
    color: #546e7a;
}

.block-contents table tr:nth-child(even) td {
    background: #fafafa;
    color: #546e7a;
}


/* More Free Services */
.keyword-url {
    direction: ltr !important;
    font-size: 14px;
}

td.keyword-title > div {
    /*display: flex;*/
    /*justify-content: space-between;*/
    padding: 0 5px;
}

td > div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 320px;
    margin: 0 auto !important;
    white-space: normal;
}

td.keyword-title span {
    width: 100%;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
}

td.keyword-title,
td.keyword-url {
    min-width: 300px !important;
}

.nav-tabs {
    border-bottom: 2px solid #eef2f5;
    display: flex;
    justify-content: center;
    margin: 10px 10px 20px;
}

.nav-item {
    position: relative;
    border: 0;
    border-radius: 5px;
    padding: 2px 12px;
    font-family: sans-serif !important;
    font-size: 18px;
    margin: 5px;
    white-space: nowrap;
    transition: all cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.nav-item.active {
    margin-top: 5px;
    margin-bottom: 0 !important;
    border-radius: 5px 5px 0 0;
}


@media screen and (max-width: 500px) {
    .nav-tabs {
        overflow-x: scroll;
        justify-content: flex-start;
        padding: 15px 5px 0 0;
    }

    .table-blocks-container table th,
    .table-blocks-container table td {
        min-width: 100px !important;
    }

    td.keyword-title div {
        width: 110px;
    }

    .box-contents .block-contents {
        padding: 10px 5px !important;
    }
}

@media screen and (max-width: 762px) {
    .table-blocks-container .table-title {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

@media screen and (max-width: 360px) {
    .table-blocks-container .table-title .ot-button {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
    }
}

.block-contents .ot-button {
    display: flex;
    gap: 10px;
}

.block-contents .ot-button .btn-badge {
    position: relative;
}

.block-contents .ot-button .btn-badge .badge {
    position: absolute;
    top: -10px;
    right: -10px;
}

.block-contents .ot-button .btn-badge .badge-new {
    line-height: 15px;
}

.badge.badge-new {
    color: #fff !important;
    background: #13a81a !important;
}

.done {
    color: #2297a7 !important;
    background: #2297a738 !important;
}

.undone {
    color: #fe5c5c !important;
    background: #ffb0b066 !important;
}

.done.active,
.done:hover {
    color: #fff !important;
    background: #2297a7 !important;
}

.undone.active,
.undone:hover {
    color: #fff !important;
    background: #fe5c5c !important;
}


.table-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.table-title > span {
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin: 0 15px;
    color: #000;
}

.table-title .octf-btn {
    font-size: 15px;
    font-weight: bold;
    font-family: sans-serif;
    padding: 3px 15px 3px 3px;
}

.table-title .octf-btn-icon i {
    margin-right: 5px !important;
}


/* Progress bar timeout */
.box-timeout .box-timeout-text {
    text-align: center;
    color: #fff;
    font-family: sans-serif;
    margin-bottom: 12px;
    animation: blinker 1s linear infinite;
}