@font-face {
    font-family: 'titr';
    src: url("../fonts/titr.ttf");
}

@font-face {
    font-family: 'iranNastaliq';
    src: url("../fonts/iranNastaliq.ttf");
}

@font-face {
    font-family: 'nazanin';
    src: url("../fonts/bNazanin.ttf");
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IRANSans(FaNum).ttf');
    src: url('../fonts/IRANSans(FaNum)_Light.ttf') format('truetype'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/IRANSans(FaNum)_Medium.ttf') format('truetype'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/IRANSans(FaNum)_UltraLight.ttf') format('truetype');
}

body {
    margin: 0 0px;
    overflow-x: hidden;
    font-family: IRANSans, serif;
    direction: rtl;
    /*text-align: right;*/
}

.orange {
    color: #FF8A00 !important;
}

a {
    color: #000 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

textarea {
    height: 250px !important;
}
.month-grid-box .header {
    display: none !important;
}
/*input[type='radio']:checked:after {*/
/*    width: 15px;*/
/*    height: 15px;*/
/*    border-radius: 15px;*/
/*    top: -2px;*/
/*    left: -1px;*/
/*    position: relative;*/
/*    background-color: #ffa500;*/
/*    content: '';*/
/*    display: inline-block;*/
/*    visibility: visible;*/
/*    border: 2px solid white;*/
/*}*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"]{
    direction: ltr!important;
}
.bg-gray {
    background: #D9D9D9 !important;
    color: #000 !important;
}

.header {
    width: 100%;
    height: 100px;
    /*border: 1px solid #000;*/
    padding: 30px 15px;
    position: fixed;
    z-index: 500;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,135,1) 47%, rgba(255,198,11,1) 100%);
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;


}

.header .item-box img {
    margin-right: 15px;
}

.content {
    padding-right: 230px;
    height: auto;
    overflow-x: auto;
    padding-top: 100px;
}

.content .header-text {
    width: 45%;
    margin-top: 35px;
    font-size: 32px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: 0em;
    text-align: center;

}

.content .header-text span {
    color: #4C70FF;
}

.content .attention {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: 0em;
    text-align: center;
    color: #FF0000;

}

.content .user-info-title {
    font-weight: 900;
    font-size: 29px;
    color: #000;
}

.content .form {
    padding-right: 70px;
    width: 100%;
    text-align: right;
}

.content .contract-table {
    margin-top: 90px;
    width: 90%;
    float: left;
    min-width: 700px;
}

.content .contract-table a {
    text-decoration: none;
    color: #FF8A00;
    border: none;
}

.content .contract-table thead tr th, .content .contract-table tbody tr td {
    padding: 0 25px 10px 25px;
    text-align: center;
}

.content .contract-table tbody tr td {
    padding: 10px 25px;
    text-align: center;
}

.content .contract-table tbody tr td:nth-child(6) {
    width: 45%;
    text-align: left;
    color: #FF8A00;
}

.content .contract-table .contract-box {
    border: 3px solid #000;
}


/*site contract step one*/

.section-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: right;
    margin-top: 50px;
    color: #000;
}

.description {
    font-size: 15px;
    font-weight: 600;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: right;
    margin-top: 50px;
    color: #F42E17;
}

.domain-setting {
    border: 1px solid #000;
    height: auto;
}

.domain-box span {
    font-size: 15px;
}

.domain-box {
    height: auto;
    text-align: right;
    padding: 17px 10px;
}

.domain-box .input-group-append {
    cursor: pointer;
}

.products-input {
    width: 100%;
    height: auto;
    padding: 20px 15px;
}

.products-input textarea {
    height: 200px;
}

.alert-box {
    width: 100%;
    align-self: center;
}

.steps-box {
    display: flex;
    margin-bottom: 50px;
}

.step-item {
    width: 50px;
    height: 50px;
    margin: 25px;
    background: #D9D9D9;
    border-radius: 50%;
    padding-top: 12px;
}

.step-item img {
    margin-bottom: 14px;
}

.steps-box span {
    color: #4C70FF !important;
}

.form-check {
    margin-left: 18px;
}

#zarinpal-section {
    display: flex;
}

#dns1, #dns1 {
    cursor: pointer;
}

#dns1:hover:after, #dns2:hover:after {
    content: attr(title);
    width: auto;
    background-color: #333;
    color: #fff;
    padding: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1200;
    margin-left: 5px;
    border-radius: 3px;
    cursor: pointer;
}

.dashboard-box {
    padding-top: 25px;
    height: 150px;
}

.dashboard-box:nth-child(1) {
    padding-top: 60px;
}

.black-line {
    width: 100%;
    border: 1px solid #000;
    margin: 50px 0px;
}

.message-box {
    height: auto;
    background: #CDF0FF;
    border-radius: 15px;
    padding: 15px 17px 50px 17px;
    text-align: right;
}

.message-box .text {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 31px;

}

.payment-table {
    margin-top: 15px;
    min-width: 700px;
    border-spacing: 0 7px !important;
}

.payment-table .payment-box {
    border: 1px solid #000;
    padding: 15px 20px;
    cursor: pointer;

}

.content .payment-table tr td {
    padding: 10px 15px;
    text-align: start;
}

.payment-way {
    border: 1px solid #000;
    padding: 20px 0px;
    margin-top: 20px;
    display: none;
}

.border-black {
    border: 1px solid #000 !important;
}

.requests-table {
    margin-top: 15px;
    min-width: 700px;
    border-spacing: 0 7px !important;
}


.services-box {
    height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    border: 3px solid #000;
    margin: 10px 7px;
}

.services-container ul li {
    list-style: none;
    text-align: right;
}

.services-container ul li img {
    margin-left: 10px;
}

.services-container div:nth-child(1) {
    border-left: 2px solid #000;
}

.services-container div:nth-child(2) {
    border-left: 2px solid #000;
}

.login-box {
    margin-top: 17%;


}

.login img {
    border-radius: 15px;
}

.login {
    min-height: 500px;
}

.login:nth-child(2) {
    padding-top: 70px;
}

.customers-box div {
    border-radius: 12px;
}

.select2-results__option {
    text-align: right;
}

@media (max-width: 1000px) {
    .content {
        padding-right: 15px;
    }

    .content .header-text {
        width: 65%;
        margin-top: 35px;
        font-size: 25px;
        font-weight: 400;
        line-height: 45px;
        letter-spacing: 0em;
        text-align: center;

    }

    .content .form {
        padding-right: 0px;
    }

    .services-container div:nth-child(1) {
        border-left: none;
        border-bottom: 2px solid #000;
        padding-bottom: 50px;
        padding-top: 50px;
    }

    .services-container div:nth-child(2) {
        border-left: none;
        border-bottom: 2px solid #000;
        padding-bottom: 50px;
        padding-top: 50px;
    }

    .services-container div:nth-child(3) {
        padding-top: 50px;
    }
}


.first-box {
    height: 343px;
}

.second-box {
    height: 162px;
}

.second-box i {
    cursor: pointer;
    font-size: 28px;
}

.second-box .show-commission {
    cursor: pointer;
}

@media (max-width: 950px) {

    .login:nth-child(1) {
        display: none;
    }

    .login-box {
        margin-top: 30%;
    }

    .payment-table {
        margin-right: 354px;
    }
}

@media (max-width: 750px) {

    .content .header-text {
        width: 100%;
        margin-top: 35px;
        font-size: 25px;
        font-weight: 400;
        line-height: 45px;
        letter-spacing: 0em;
        text-align: center;

    }

    .alert-box {
        display: block !important;
    }
}

@media (max-width: 600px) {
    .header .item-box a {
        display: none;
    }

    .content .header-text, .content .attention {
        font-size: 22px;
    }

    .step-item {
        margin: 15px;
    }
}

@media (max-width: 420px) {

    .step-item {
        margin: 7px;
    }

    .table-container {
        padding-right: 370px;
    }
}
/*ticket section style*/


.ticket-box{
    height: 700px;
    overflow-x: hidden;
    overflow-y: auto;
    background-image: url("../img/chat-bg.jpg");
    background-position: center;
    background-size: cover;
    /*margin-top: 80px;*/
    border-radius: 15px;
    padding-bottom: 70px;
}

.input-box{
    position: relative;
    bottom: 60px!important;
    width: 70%;
}

.input-box textarea{
    border-radius: 15px!important;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.input-box button{
    position: absolute;
    bottom: 28px;
    left: 22px;
}
.message-container-1{
    min-width: 280px;
    height: auto;
    padding: 10px 20px;
    background: #a2d2ff;
    max-width: 70%;
    text-align: right;
    margin-top: 15px;
    margin-right: 8px;
    border-radius: 10px 0 10px  10px ;
    word-wrap: break-word;

}

.message-container-2{
    min-width: 280px;
    height: auto;
    padding: 10px 20px;
    background: #ffe97f;
    margin-top: 15px;
    margin-left: 8px;
    max-width: 70%;
    text-align: right;
    border-radius: 0 10px  10px  10px ;
    word-wrap: break-word;
}
@media all and (max-width: 1280px) {
    .input-box{
        position: relative;
        bottom: 60px!important;
        width: 90%;
    }
}

/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    /*box-shadow: inset 0 0 5px grey;*/
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #878787;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #878787;
}

.ticket-header{
    border-radius: 15px;
    background: #fff;
    height: 100px;
    margin-top: 25px;
    font-weight: 800;
    color: #000;
    padding-top: 35px!important;
    box-shadow: 0 0 40px 0 rgba(0,0,0,.45);
    margin-bottom: 7px;
}
/*.pay-box{*/
/*    display: none;*/
/*}*/

#checkout_box{
    display: none;
}

/*#pay-2,#pay-3{*/
/*    display: none;*/
/*}*/


#preview{
    display: none;
}
.active-url {
    color: orangered!important;
}


.server-plan-box{
    height: 355px;
    border-radius: 16px;
    border: 4px solid #FFC107;
    padding: 0
}
.server-plan-box:nth-child(4){
    border: 4px solid #007BFF;
}

.server-plan-box .plan-header{
    height: 60px;
    background: #FFC107;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    font-weight: 800;
    padding-top: 1.2%;

}

.server-plan-box .plan-header button{
    width: 120px;
    height: 50px;

}

.server-plan-box .plan-header span{
    margin-top: 4px;
}

.server-plan-box:nth-child(4) .plan-header{
    background: #007BFF;
    color: #fff !important;
}

.server-plan-box ul{
    margin-top: 15px;
    list-style: none;
    padding-right: 0;
}

.server-plan-box li{
    text-align: justify;
    line-height: 33px;
    font-weight: 600;
}

.server-plan-box li::before {
    content: "✓"; /* Unicode character, you can replace it with your custom symbol */
    color: green; /* Change the color */
    margin-right: 5px; /* Adjust spacing between the bullet and the text */
    margin-left:  5px; /* Adjust spacing between the bullet and the text */
    font-weight: 900;
    font-size: 28px;
}
.server-plan-box .plan-footer{
    height: 50px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    font-weight: 800;
    padding-top: 10px;
    top: -7px;
    border: 3px solid #FFC107;
    border-bottom: none;
    border-right: none;
    border-left: none;
}
.server-plan-box:nth-child(4) .plan-footer{
    /*background: #007BFF;*/
    color: #000 !important;

    border: 3px solid #007BFF;
    border-bottom: none;
    border-right: none;
    border-left: none;
}


.loader-box{
    position: fixed;
    left: 0;
    top: 0;
    width: 102%;
    height: 100%;
    background: #ffffffbd;
    z-index: 1000;
    padding-top: 20%;
}

/*contracft template css*/
.page {
    background-image: url("/assets/img/contract-bg2.png");
    background-position: center;
    background-size: 40vw;
    background-repeat: no-repeat;
}

.attachment_page {
    background-image: url("/assets/img/contract-bg2.png");
    background-position: center;
    background-size: 20vh;
    background-repeat: no-repeat;
}

.a4 {
    /*background: url("../assets/img/contract-bg.png");*/
    /*background-repeat: no-repeat;*/
    /*background-position: top;*/
    /*background-size: contain;*/
    min-height: 1300px;
    height: auto;

}

.title {
    width: auto;
    height: auto;
    position: absolute;
    left: 50px;
    top: 47px;
    display: block;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

.body-text {
    line-height: 35px;
    font-size: 14px;
}

.signature-section .bold {
    color: rgba(0, 0, 0, 0.4) !important;
}

.container-footer {
    border-top: 8px solid #FDC726;
}

.triangle {
    position: fixed;
    z-index: -5;
    left: 0;
    width: 0;
    top: 0;
    height: 350px;
    border-top: 0px solid transparent;
    border-bottom: 100px solid transparent;
    border-left-width: 40px;
    border-left-style: solid;
    border-left-image: linear-gradient(to right, red, blue) 1;
}

.triangle-2 {
    position: fixed;
    z-index: -5;
    left: 0;
    top: 300px;
    width: 0;
    height: 60vh;
    border-top: 100px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 40px solid #fcc528;
}

.sticky-footer {
    display: none;
}

.body-text * {
    text-align: justify !important;
    direction: rtl !important;
}

.attachment_section {
    padding: 10vw 20vw;
}

table.print-sheet {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 1800px) {
    .attachment_section {
        padding: 10vw 20vw;
    }
}

@media (max-width: 1200px) {
    .body-text {
        font-size: 12px;
        line-height: 29px;
    }

    .attachment_section {
        padding: 8vw 16vw;
    }
}

@media (max-width: 850px) {
    .body-text {
        font-size: 12px;
        line-height: 29px;
    }

    .attachment_section {
        padding: 5vw 8vw;
    }
}

@media (max-width: 480px) {

    .sticky-footer {
        /*background: #00a661;*/
        width: 100%;
        height: auto;
        position: fixed;
        bottom: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10%;
        z-index : 1400;
    }

    .sticky-footer .footer-item {
        background: #00a661;
        position: relative;
        width: 60%;
        color: #edece9 !important;
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius : 8px;
        height: 48px;
        padding: 16px 24px;
        cursor: pointer;
    }

    .sticky-footer .footer-item2 {
        background: #007bff;
        position: relative;
        width: 60%;
        color: #edece9 !important;
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius : 8px;
        height: 48px;
        padding: 16px 24px;
        cursor: pointer;
        margin-top: 10px;
    }

    .sticky-footer .footer-item-icon{
        position: absolute;
        left: 15px;
    }

    .sticky-footer .footer-item-loading{
        position: absolute;
        display: none;
        left: 15px;
    }

    /*.sticky-footer a {*/
    /*    color: #fcc528 !important;*/
    /*}*/

    .attachment_section {
        padding: 5vw 8vw;
    }

    .page:nth-child(2) {
        padding-bottom: 70px !important;
    }

    #button-section, .triangle, .triangle-2 {
        display: none;
    }
}

@media (max-width: 380px) {

    .triangle {
        border-left-width: 30px;
    }

    .triangle-2 {
        border-right-width: 30px;
    }
}

@media print {

    body {
        margin: 0;
    }

    .page {
        width: 100vw;
        height: 50vh;
        page-break-after: always;
    }

    #print, .sticky-footer {
        display: none;
    }

    #document {
        display: none;
    }

    .attachment_section {
        padding: 20px 70px;
    }

    table.print-sheet {
        width: 100%;
        border-collapse: collapse;
    }

    thead {
        display: table-header-group;  /* هدر در همه صفحات تکرار می‌شود */
    }
    tfoot {
        display: table-footer-group;  /* فوتر در همه صفحات تکرار می‌شود (اختیاری) */
    }

    .body-text p {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .page-break {
        page-break-before: always;
        break-before: page;
    }

    .contract-logo, .triangle, .triangle-2, .container-footer {
        visibility: hidden;
    }
}