﻿/*@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Arabic-Regular-400.otf') format('opentype');
}

* {
    font-family: Montserrat;
}*/

:root {
    /*--main-color: #04270e;*/
    --main-color: #3d6d35;
    --info-back-color: #f7f8f8;
}

footer {
    position: initial;
}

a {
    text-decoration: none;
}

.top-header-section {
    padding: 1rem 3rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    border-bottom: 2px solid lightgray;
}

.journal-card-logo {
    width: 180px;
}

.journal-home-top-section {
    background-color: var(--main-color);
    padding: 1rem 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    color: white;
}

.journal-home-img {
    width: 160px;
    height: 200px;
    border: 4px solid white;
    border-radius: 5px;
}

.journal-home-img-publisher {
    width: 100px;
    height: 120px;
}

.info-section {
    padding: 2rem 4rem;
    background-color: var(--info-back-color);
    border-radius: 20px;
}

.section-content {
    margin-top: 2rem;
}

.journal-bottom-nav li {
    margin-right: 2px;
    border-right: 2px solid lightgray;
}

    .journal-bottom-nav li:last-child {
        border-right: none;
    }

    .journal-bottom-nav li:hover {
        background: #f0e7e43b;
        transition: background 0.3s ease-in-out;
    }

.btn-submit-paper {
    position: relative;
    top: 100px;
    background: lightgray;
    color: black;
    padding: 10px 15px;
    border-radius: 10px;
}

.btn-submit-paper {
    background-color: white;
    color: black;
}

.journal-card {
    color: black;
}

    .journal-card:hover {
        background-color: #add8e636;
    }

.card-title {
    font-weight: 600;
}

.journal-card-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.email-icon {
    width: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2rem;
}

.footer {
    position: unset !important;
}

/*////////////////////////////////////////*/

.indexing-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: white;
}

.indexing-card {
    width: 200px;
    height: 200px;
    border: 1px solid lightgray;
    border-radius: 10px;
    margin: 1rem;
}

    .indexing-card:hover {
        border-bottom-color: var(--main-color);
        border-bottom-width: 10px;
        transition: border-color 0.5s ease-in-out;
        transition: border-width 0.5s ease-in-out;
    }

.indexing-card-img-container {
    padding: 10px;
    height: 100px;
    width: 100%;
    text-align: center;
}

    .indexing-card-img-container img {
        width: 100%;
        height: 90%;
    }

.indexing-card-text-container {
    padding: 10px;
    text-align: center;
    color: black !important;
}

/* create new account tab styles*/

.made-with {
    background: #fd264f;
    color: #fff;
    display: block;
    font-size: 12px;
    line-height: 1em;
    margin: 0;
    padding: 5px 110px;
    position: fixed;
    top: 20px;
    right: -100px;
    text-align: center;
    text-decoration: none;
    transform: rotate(45deg);
}

.documentation {
    color: #fd264f;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

.tabs {
    display: block;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    overflow: hidden;
}

/*.tabs [class^="tab"] label,
    .tabs [class*=" tab"] label { */
.tab-label {
    color: black;
    cursor: pointer;
    display: block;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1em;
    padding: 2rem 0;
    text-align: center;
}

.tabs [class^="tab"] [type="radio"],
.tabs [class*=" tab"] [type="radio"] {
    /*border-bottom: 1px solid rgba(239, 237, 239, 0.5);*/
    border-bottom: 1px solid var(--main-color);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    .tabs [class^="tab"] [type="radio"]:hover, .tabs [class^="tab"] [type="radio"]:focus,
    .tabs [class*=" tab"] [type="radio"]:hover,
    .tabs [class*=" tab"] [type="radio"]:focus {
        border-bottom: 1px solid black;
    }

    .tabs [class^="tab"] [type="radio"]:checked,
    .tabs [class*=" tab"] [type="radio"]:checked {
        border-bottom: 2px solid #007BFF;
    }

        .tabs [class^="tab"] [type="radio"]:checked + div,
        .tabs [class*=" tab"] [type="radio"]:checked + div {
            opacity: 1;
        }

    .tabs [class^="tab"] [type="radio"] + div,
    .tabs [class*=" tab"] [type="radio"] + div {
        display: block;
        opacity: 0;
        padding: 2rem 0;
        width: 90%;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

.tabs .tab-2 {
    width: 50%;
}

    .tabs .tab-2 [type="radio"] + div {
        width: 200%;
        margin-left: 200%;
    }

    .tabs .tab-2 [type="radio"]:checked + div {
        margin-left: 0;
    }

    .tabs .tab-2:last-child [type="radio"] + div {
        margin-left: 100%;
    }

    .tabs .tab-2:last-child [type="radio"]:checked + div {
        margin-left: -100%;
    }

:dir(rtl) .tabs .tab-2 [type="radio"] + div {
    width: 200%;
    margin-right: 200%;
}
:dir(rtl) .tabs .tab-2 [type="radio"]:checked + div {
    margin-right: 0;
}
:dir(rtl).tabs .tab-2:last-child [type="radio"]:checked + div {
    margin-right: -100%;
}
/*End create new account tab styles*/

.form-floating {
    position: relative;
    margin-bottom: 1rem;
}

    /* Placeholder hidden initially */
    .form-floating input::placeholder {
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    /* Show placeholder on focus or when input has value */
    .form-floating input:focus::placeholder,
    .form-floating input:not(:placeholder-shown) + label {
        opacity: 1;
    }

    /* Base label style */
    .form-floating label {
        position: absolute;
        pointer-events: none;
        top: 0.5rem;
        transform-origin: left top;
        transition: all 0.8s ease-in-out;
    }

/* Floating effect in LTR */
:dir(ltr) .form-floating label {
    left: 0;
    transform-origin: left top;
}

:dir(ltr) .form-floating input:focus + label,
:dir(ltr) .form-floating input:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.8);
    left: 80%; /* Adjust as needed */
}

/* Floating effect in RTL */
:dir(rtl) .form-floating label {
    right: 0;
    left: auto;
    transform-origin: right top;
}

:dir(rtl) .form-floating input:focus + label,
:dir(rtl) .form-floating input:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.8);
    right: 80%; /* Adjust as needed */
}


/* login style   */
.login-card {
    background: #369d3605;
    padding-left: 0;
}

.login-card-img {
    height: 100%;
}

.login-btn-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.login_btn {
    width: 5em;
    background-color: cadetblue;
    color: white !important;
    padding: 1px;
}

    .login_btn:focus {
        box-shadow: none !important;
        outline: 0px !important;
    }

.creat-account-list-info {
    text-align: left;
}

:dir(rtl).creat-account-list-info {
    text-align: right;
}
/* end of login style   */

.author-page-header {
    display: flex;
    padding: 20px;
}

.author-home-header-submission {
    display: flex;
    justify-content: space-between;
    border: 1px solid gray;
    border-radius: 10px;
    padding: 10px 30px;
    margin-top: 10px;
}

.img-author-home-header-img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 10px;
}

.author-page-login {
    flex-grow: 1;
    margin: auto;
}

    .author-page-login ul {
        flex-direction: row;
        float: inline-end;
    }

.btn-author-page-submission {
    position: relative;
    display: inline-block;
    background-color: var(--main-color);
    padding: 15px 30px;
    color: white;
    overflow: hidden;
}

    .btn-author-page-submission span {
        position: relative;
        transition: left 0.3s ease-in-out;
        left: 0;
    }

    .btn-author-page-submission:hover {
        color: white;
    }

        .btn-author-page-submission:hover span {
            left: 10px;
        }

/* Arabic (RTL) */
:dir(rtl) .btn-author-page-submission:hover span {
    left: auto; /* reset if previously set */
    right: 10px;
}

.submission-steps-wraper {
    display: flex;
    padding: 10px;
    text-align: center;
}

.first-step, .middle-step, .last-step {
    background-color: #e3ecf2;
    flex: 1;
    height: 40px;
    margin-left: -0.5%;
    padding-top: 5px;
    color: #504f53;
}


.submission-steps-wraper .first-step {
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%);
}

:dir(rtl).submission-steps-wraper .first-step {
    clip-path: polygon(100% 0%, 5% 0%, 0% 50%, 5% 100%, 100% 100%);
}

.submission-steps-wraper .middle-step {
    clip-path: polygon(95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%, 0% 0%);
}
:dir(rtl).submission-steps-wraper .middle-step {
    clip-path: polygon(5% 0%, 0% 50%, 5% 100%, 100% 100%, 95% 50%, 100% 0%);
}


.submission-steps-wraper .last-step {
    clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
}

:dir(rtl).submission-steps-wraper .last-step {
    clip-path: polygon(0% 0%, 0% 50%, 0% 100%, 100% 100%, 95% 50%, 100% 0%);
}

.active-step {
    background: #0886f7;
    color: white;
}

.disabled-step {
    pointer-events: none;
}

/*for 880px*/
@media screen and (max-width: 880px) {
    .first-step, .middle-step, .last-step {
        font-size: 12px;
    }

    .journal-home-img-publisher {
        display: none;
    }
}
/*for 768px*/
@media screen and (max-width: 768px) {
    .first-step, .middle-step, .last-step {
        font-size: 12px;
    }

    .journal-home-img-publisher {
        display: none;
    }

    .journal-home-img {
        width: 80px;
        height: 100px;
        margin-right: 5px;
    }

    .journal-home-top-section {
        flex-wrap: unset;
        justify-content: unset;
        padding: 1rem;
    }

        .journal-home-top-section h4 {
            font-size: 18px;
        }

    .btn-submit-paper {
        top: 5px;
        padding: 5px 10px;
    }
}

/*  for 575px   */
@media (max-width: 575.98px) {
    .journal-home-img-publisher {
        display: none;
    }

    .first-step, .middle-step, .last-step {
        font-size: 10px;
    }

    .journal-home-img {
        width: 80px;
        height: 100px;
        margin-right: 5px;
    }

    .journal-home-top-section {
        flex-wrap: unset;
        justify-content: unset;
        padding: 1rem;
    }

        .journal-home-top-section h4 {
            font-size: 18px;
        }

    .btn-submit-paper {
        top: 5px;
        padding: 5px 10px;
    }
}

/*  for 480px */
@media (max-width:480px) {
    .journal-home-img-publisher {
        display: none;
    }

    .first-step, .middle-step, .last-step {
        font-size: 9px;
    }
}

/*  for 360px */
@media (max-width:360px) {
    .first-step, .middle-step, .last-step {
        font-size: 8px;
    }
}


/*For uploading progress bar*/
#progressContainer {
    position: relative;
    width: 100%;
    display: none;
    height: 30px; /* Adjust height as needed */
}

#progressBar {
    width: 100%;
    height: 100%;
    appearance: none; /* Remove default styling for a consistent appearance across browsers */
}

    #progressBar::-webkit-progress-bar {
        background-color: #f3f3f3; /* Background color of the bar */
    }

    #progressBar::-webkit-progress-value {
        background-color: #4caf50; /* Progress bar fill color */
    }

    #progressBar::-moz-progress-bar {
        background-color: #4caf50; /* For Firefox */
    }

#progressText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black; /* Text color */
    font-weight: bold;
}
/*End of progress bar style*/

.submission-progress-tick {
    width: 20px;
}

.td-padding {
    padding-right: 40px;
}

.paper-item {
    /*height: 230px;*/
    border-bottom: solid 1px lightgray;
    padding: 5px;
    margin-bottom: 1rem;
}

.paper-item-img {
    width: 100%;
    height: 210px;
}

.truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-revision-submission {
    background-color: #0886f7;
    margin-left: 1rem;
    padding: 5px 10px;
    color: white;
}

.paper-title {
    font-size: 2.5rem;
    font-weight: 900;
}

.abstract-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.paper-img {
    width: 100%;
    height: 350px;
}

.articl-type {
    font-style: italic;
}
/*---- search box style------*/
.search-container {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2px 2px 2px 2px;
    border: 1px solid #add8e652;
    /*max-width: 400px;*/
    width: 100%;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 7px;
    border-radius: 50px;
    font-size: 16px;
    color: #333;
}

    .search-input::placeholder {
        color: #aaa;
    }

.search-button {
    background: #007BFF;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .search-button:hover {
        background: #0056b3;
    }

    .search-button svg {
        width: 20px;
        height: 20px;
    }

    .search-button:active {
        transform: scale(0.95);
    }

.search-container:hover {
    border: 1px solid rgb(173, 216, 230);
}
/*---- end of search box style ---------*/

.btn-register, .btn-log {
    background: #007BFF;
    padding: 7px 15px;
    border-radius: 10px;
    color: white;
}

    .btn-register:hover, .btn-log:hover {
        background: #0056b3;
        color: white;
    }

/*--------- for sending email list -------------*/

.select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
    background: #dbecef;
    background-image: none;
    flex: 1;
    padding: 0 .5em;
    cursor: pointer;
    font-size: 1em;
}

    .select select::-ms-expand {
        display: none;
    }

.select {
    position: relative;
    display: inline-flex;
    width: 20em;
    height: 2em;
    line-height: 2;
    background: #eff0f0;
    overflow: hidden;
    border-radius: .25em;
}

    .select::after {
        /*U+1F4E9*/
        content: "📩"; /* Envelope with arrow */
        position: absolute;
        top: 0;
        right: 0;
        padding: 0 1em;
        cursor: pointer;
        pointer-events: none;
        transition: .25s all ease;
    }
    .select:hover::after {
        color: #23b499;
    }

    .select:dir(rtl)::after {
        left: 0;
        right: auto;
    }

/*--------- end of sending email list -------------*/
:dir(rtl).float-end {
    float: left !important;
}