/* In the name of Allah */
.mobile-header .open-menu,
.desktop-header .menu-items .item:not(.logo) {
    color: var(--tdc);
}

.mobile-header,
.desktop-header {
    -webkit-box-shadow: var(--bsh);
    box-shadow: var(--bsh);
    background: white;
}

main {
    padding-top: 76px;
}

main .section-title {
    margin-bottom: 3rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.card {
    -webkit-box-shadow: var(--bsh);
    box-shadow: var(--bsh);
    border-radius: var(--br);
    border: 0;
}

.card .title {
    font-family: "Mikhak";
    padding: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--bc);
}

.domain-name,
.students-number,
.gigabyte,
.time {
    padding: 0 1rem 2rem 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.time {
    padding: 0 1rem 1rem;
}

.domain-name label,
.students-number label,
.gigabyte label,
.educational label,
.class-online label,
.time>label {
    margin-bottom: .5rem;
    font-weight: 600;
}

.domain-name .input {
    position: relative;
    direction: ltr;
}

.domain-name .input input {
    padding-left: 3.45rem;
}

.domain-name .input .www {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    left: 14px;
}

.students-number .input,
.gigabyte .input,
.class-online .input {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.students-number .input .form-control,
.gigabyte .input .form-control,
.class-online .input .form-control {
    width: 80px;
    margin-left: 0.5rem;
}

.class-online .api-key .input input {
    width: 100%;
    margin-left: 0;
    text-align: left;
}

.students-number .irs,
.gigabyte .irs,
.class-online .irs {
    direction: ltr;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.time .checks .form-check {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1.3rem;
}

.time .checks .form-check input {
    margin-left: 0.5rem;
}

.educational i {
    color: var(--mc);
    margin-right: 0.5rem;
    cursor: pointer;
}

.educational .desc {
    font-size: .85rem;
    text-align: justify;
}

.educational .desc a {
    color: var(--mc);
}

.class-online .field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.class-online .field:not(:last-child) {
    margin-bottom: 1rem;
}

/* ========================================== */
.f-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.f-item:not(:last-child) {
    margin-bottom: 1rem;
}

.f-item .price {
    font-weight: 600;
}

#educationalServicesPrice i,
#classOnlinePrice i {
    color: #bb0000;
    margin-right: 0.5rem;
    cursor: pointer;
}

.payable-price {
    padding: 1rem;
    border-radius: var(--br);
    background: var(--mc);
    color: white;
    text-align: center;
}

.payable-price * {
    font-family: "Mikhak";
}

.payable-price .price {
    font-size: 2rem;
    font-weight: 800;
}

.payable-price #payablePrice {
    letter-spacing: 2px;
    margin-left: 0.3rem;
}

.warranty {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.warranty img {
    max-width: 55px;
    margin-left: 0.5rem;
}

.warranty span {
    text-align: center;
}

.pay {
    width: 100%;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1rem;
}

@media (min-width:768px) {

    .domain-name,
    .students-number,
    .gigabyte,
    .class-online .field {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .domain-name .input,
    .class-online-type select,
    .api-key .input {
        width: 270px !important;
    }

    .students-number .input,
    .gigabyte .input,
    .class-online .input {
        width: 350px;
    }

    .domain-name label,
    .students-number label,
    .gigabyte label,
    .class-online label {
        margin-bottom: 0;
    }
}