/*============================================================ */
/*============================================================ GENERAL */
/*============================================================ */
#centered {
    justify-content: center;
    align-content: center;
}

#rounded {
    border-radius: 5px;
    border: #7a0000 solid 1px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#roundeded {
    border-radius: 25px;
    border: #7a0000 solid 1px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#bordered {
    border: #7a0000 solid 1px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#rounddborder {
    border-radius: 5px 5px 5px 5px;
    border-top: #7a0000 solid 1px;
    border-left: #7a0000 solid 1px;
    border-right: #7a0000 solid 1px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#roundeddlow {
    border-radius: 5px 5px 5px 5px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#butrounded {
    border-radius: 20px;
    border: #7a0000 solid 1px;
    padding: 5px 20px 5px 20px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#rounddborderm {
    margin: 12px 0px 0px 0px;
    border-radius: 5px 5px 5px 5px;
    border-top: #7a0000 solid 1px;
    border-left: #7a0000 solid 1px;
    border-right: #7a0000 solid 1px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#marg {
    margin: 12px 0px 0px 0px;

}

#displaynone {
    display: none;
}

#animation1 {
    visibility: visible;
    animation-duration: 1s;
    animation-delay: 0.2s;
    animation-name: fadeInUp;
}

#displayblock {
    display: block;
    padding-top: 57%
}

#topcontrol {
    display: flex;
    justify-content: center;
    align-items: center;
}

#centersmall {
    display: block;
    text-align: center !important;
}

#imgsmaller {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: #7a0000 solid 1px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#imgsmaller2 {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    border: #7a0000 solid 1px;
    box-shadow: 2px 8px 15px 2px rgba(0, 24, 64, 0.12);
}

#nav li a {
    color: black;
}

.count_area {
    height: auto;
}

#directionodleft {
    float: left;
    margin-left: 5px;
}

.small-font {
    height: 50px !important;
    font-size: 15px;
    text-align: center;
    vertical-align: middle;
    padding: 10px 15px !important;
}

@media only screen and (max-width: 991px) {
    .hb_height {
        height: 450px;
    }

    .count_area {
        height: auto;
    }
}

/*============================================================ */
/*============================================================ HEADER LINK */
/*============================================================ */
#spheaderimg {
    border: #7d7d7d solid 1px;
    border-radius: 35px;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: -10px;
}

#spboxheader {
    direction: rtl;
    margin-left: -10px;
}

#spheader a h7 {
    margin-right: 5px;
    margin-top: -2px;
}

#spheader {
    overflow: hidden;
}

#site_pic {
    direction: ltr;
}

#spheadera {
    overflow: hidden;
}

#spheaderaimg {
    border: #7d7d7d solid 1px;
    border-radius: 35px;
    display: inline-flex;
    width: 2rem;
    height: 2rem;
}

#spboxheadera {
    direction: rtl;
}

#spheadera a h7 {
    display: inline-flex;
    margin-right: 7px;
}
.col-84 {
    width: 84%;
}
.col-8 {
    width: 8%;
}
/*============================================================ */
/*============================================================ FOOTER LINK */
/*============================================================ */
#spfooter {
    border: #f5f5fd solid 1px;
    background-color: #f5f5fd;
    width: max-content;
    height: 2rem;
    overflow: hidden;
}

#spfooterimg {
    border: #c0c0c0 solid 1px;
    border-radius: 35px;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 19.5px;
    margin-right: -17px;
}

#spboxfooter {
    background-color: #f5f5fd;
    margin-left: 300px;
    direction: rtl;
}

#spfooter a h7 {
    margin-right: -8px;
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

.namad__size img {
    width: 80%;
    height: auto;
    margin: 5px;
    border-radius: 6px;
}

/*============================================================ */
/*============================================================ BOXER LINK */
/*============================================================ */
#spboxer {
    border: #fff solid 1px;
    background-color: #fff;
    width: max-content;
    height: 2rem;
    overflow: hidden;
}

#spboxerimg {
    border: #c0c0c0 solid 1px;
    border-radius: 35px;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 19.5px;
    margin-right: -17px;
}

#spboxboxer {

    margin-left: 300px;
    direction: rtl;
}

#spboxer a h7 {
    margin-right: -5px;
}

/*============================================================ */
/*============================================================ VIEW OPTIONS */
/*============================================================ */
#viewop {
    display: inline-flex;
}

#viewop img {
    width: 2.5rem;
    height: 2.5rem;
    border: #7a0000 solid 1px;
    border-radius: 35px;
}

#viewop h2 p {
    margin-right: 7px;
    margin-top: 11px;
}

.single_counter p {
    margin-right: 2px;
}

.upmargin {
    margin-top: -40px;
}

@media only screen and (max-width: 991px) {
    .upmargin {
        margin-top: -80px;

    }
}

/*============================================================ */
/*============================================================ WHYUS */
/*============================================================ */
#whyus {
    display: inline-flex;
}

#whyus img {
    width: 2.5rem;
    height: 2.5rem;
    border: #7a0000 solid 1px;
    border-radius: 35px;
}

#whyus h4 {
    margin-right: 5px;
    margin-top: -20px;
}

/*============================================================ */
/*============================================================ HEADER DIESGN */
/*============================================================ */
#navigation {
    background-color: #7a0000;
    height: auto;
}

#rowall {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 4.5rem;
    background-color: #7a0000;
}

#div1 {
    background-color: ghostwhite;
    border-radius: 10px;
    width: 100%;
    height: auto;
    z-index: 1;
}

#div2 {
    background-color: ghostwhite;
    border-radius: 3px;
    margin-left: -8px;
    width: 20px;
    height: 5rem;
}

#div3 {
    background-color: ghostwhite;
    border-radius: 3px;
    margin-right: -8px;
    width: 20px;
    height: 5rem;
}

#div4 {
    background-color: ghostwhite;
    border-radius: 10px;
    margin-left: -8px;
    width: 20px;
    height: 4rem;

}

#div5 {
    background-color: ghostwhite;

    border-radius: 10px;
    margin-right: -8px;
    width: 20px;
    height: 4rem;

}

#div6 {
    background-color: ghostwhite;
    width: 20px;
    height: 4rem;

}

#div61 {
    background-color: #7a0000;
    border-radius: 0px 0px 0px 20px;
    width: 20px;
    height: 2rem;
}

#div62 {
    background-color: #7a0000;
    border-radius: 20px 0px 0px 0px;
    width: 20px;
    height: 2rem;
}

#div7 {
    background-color: ghostwhite;
    width: 20px;
    height: 4rem;
}

#div71 {
    background-color: #7a0000;
    border-radius: 0px 0px 15px 0px;
    width: 20px;
    height: 2rem;
}

#div72 {
    background-color: #7a0000;
    border-radius: 0px 15px 0px 0px;
    width: 20px;
    height: 2rem;
}

#ohead {
    align-items: center;
}

@media only screen and (max-width: 991px) {
    #div1 {
        width: 90px;
    }

    #rowall {
        height: 4rem;
    }
}

/*============================================================ */
/*============================================================ BACKGROUND STYLE */
/*============================================================ */
.box1 {
    opacity: 0.95;
    z-index: -1;
    content: "";
    height: auto;
    width: 100%;
}

.box2 {
    opacity: 0.95;
    z-index: 0;
    content: "";
    height: auto;
    width: 100%;
}

.box3 {
    opacity: 0.95;
    z-index: 0;
    content: "";
    height: auto;
    width: 100%;
}

.styleOne {
    background-color: ghostwhite;
    background-image: linear-gradient(67.5deg, ghostwhite 10%, transparent 10%),
    linear-gradient(157.5deg, ghostwhite 10%, transparent 10%),
    linear-gradient(67.5deg, transparent 90%, ghostwhite 90%),
    linear-gradient(157.5deg, transparent 90%, ghostwhite 90%),
    linear-gradient(22.5deg, ghostwhite 10%, transparent 10%),
    linear-gradient(112.5deg, ghostwhite 10%, transparent 10%),
    linear-gradient(22.5deg, transparent 90%, ghostwhite 90%),
    linear-gradient(112.5deg, transparent 90%, ghostwhite 90%),
    linear-gradient(22.5deg, transparent 34%, #f1f1f1 34%, #F1F1F1FF 35%, transparent 35%, transparent 65%, #F1F1F1FF 65%, #F1F1F1FF 66%, transparent 66%),
    linear-gradient(-22.5deg, transparent 34%, #F1F1F1FF 34%, #F1F1F1FF 35%, transparent 35%, transparent 65%, #F1F1F1FF 65%, #F1F1F1FF 66%, transparent 66%),
    linear-gradient(112.5deg, transparent 34%, #F1F1F1FF 34%, #F1F1F1FF 35%, transparent 35%, transparent 65%, #F1F1F1FF 65%, #F1F1F1FF 66%, transparent 66%),
    linear-gradient(-112.5deg, transparent 34%, #F1F1F1FF 34%, #F1F1F1FF 35%, transparent 35%, transparent 65%, #F1F1F1FF 65%, #F1F1F1FF 66%, transparent 66%);

    background-size: 125px 125px;
    background-position: -50px 75px, -75px 75px, -75px 50px, -50px 50px,
    -75px 50px, -50px 50px, -50px 75px, -75px 75px,
    0 0, 0 0, 0 0, 0 0;
}

@media only screen and (max-width: 991px) {
    .box1 {
        height: auto;
    }

    .box2 {
        height: 650px;
    }
}

/*============================================================ */
/*============================================================ SEARCHBOX DIESGN */
/*============================================================ */
#rowalls {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background-color: transparent;
}

#div1s {
    border: #7a0000 solid 3px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: ghostwhite;
    border-radius: 8px;
    width: auto;
    height: 3.8rem;
    z-index: 3;
}

#div2s {
    border: #7a0000 solid 3px;
    background-color: ghostwhite;
    border-radius: 3px;
    margin-left: -9px;
    width: 15px;
    height: 3.1rem;
}

#div3s {
    border: #7a0000 solid 3px;
    background-color: ghostwhite;
    border-radius: 3px;
    margin-right: -9px;
    width: 15px;
    height: 3.1rem;
    z-index: 2;
}

#div4s {
    border: #7a0000 solid 3px;
    background-color: ghostwhite;
    border-radius: 10px;
    margin-left: -8px;
    width: 15px;
    height: 2.5rem;

}

#div5s {
    border: #7a0000 solid 3px;
    background-color: ghostwhite;
    border-radius: 10px;
    margin-right: -8px;
    width: 15px;
    height: 2.5rem;
    z-index: 1;
}

#div11s {
    background-color: ghostwhite;
    width: 10px;
    height: 45px;
    margin-top: 0px;
    margin-right: -6px;
}

#div12s {
    background-color: #7a0000;
    border-radius: 3px 0px 0px 3px;
    border: ghostwhite solid 1px;
    border-right: #7a0000 solid 1px;
    border-left: #7a0000 solid 1px;
    width: 10px;
    height: 45px;
    margin-top: 0px;
    margin-left: -5px;
}

#div22s {
    background-color: ghostwhite;
    width: 8px;
    height: 35px;
    margin-top: 5px;
    margin-right: -4px;
}

#div33s {
    background-color: #7a0000;
    border-radius: 3px 0px 0px 3px;
    border: ghostwhite solid 1px;
    border-right: #7a0000 solid 1px;
    width: 8px;
    height: 35px;
    margin-top: 5px;
    margin-right: 9px;
}

#inputs {
    border: ghostwhite solid 1px;
    border-radius: 5px;
    margin-bottom: 10px;
    padding-right: 10px;
    height: 50px;
    width: 400px;
}

#btns {
    border-radius: 5px 30px 30px 5px;
    margin-left: -9px;
    font-size: 15px;
    margin-top: -8px;
    height: 54px;
    background-color: #7a0000;
    border: #7a0000 solid 1px;
}

@media only screen and (max-width: 991px) {
    #div1s {
        border: #7a0000 solid 2px;
        width: 265px;
        height: 4rem;
    }

    #div2s {
        border: #7a0000 solid 2px;
        height: 3rem;
        margin-left: -9px;
    }

    #div3s {
        border: #7a0000 solid 2px;
        height: 3rem;
        margin-left: -9px;
    }

    #div4s {
        border: #7a0000 solid 2px;
        height: 37px;
        margin-left: -9px;
    }

    #div5s {
        border: #7a0000 solid 2px;
        height: 37px;
        margin-right: 0px;
    }

    #div11s {
        height: 45px;
    }

    #div12s {
        height: 45px;
        margin-left: -8px;
    }

    #div22s {
        height: 33px;
        margin-top: 5.5px;
        margin-right: -3px;
    }

    #div33s {
        height: 33px;
        margin-top: 6.5px;
        margin-right: 9px;
    }

    #inputs {
        height: 50px;
        width: 250px;
        padding-right: 10px;
    }

    #btns {
        height: 57px;
        margin-top: -10px;
        margin-left: -9px;
        width: 80px;
        padding: 0px 5px;
    }
}

/*============================================================ */
/*============================================================ PICTURE VIEW DIESGN */
/*============================================================ */
#sliderimg {
    display: flex;
    justify-content: center;
    height: 610px;
}

#sliderimg img {
    height: 400px;
    width: 750px;
}

#sliderimgo {
    display: flex;
    justify-content: center;
}

#sliderimgo {
    display: flex;
    justify-content: center;
    position: relative;
    height: 425px;
}

.mySlides {
    border-radius: 15px;
    height: 400px;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;

}

.mySlides.show {
    opacity: 1;
}

#viewsearch {
    margin-top: 125px;
}

@media only screen and (max-width: 991px) {
    #sliderimg {
        height: 275px;
    }

    #sliderimg img {
        z-index: -1;
        height: 225px;
        width: 400px;
        margin-top: 25px;
    }

    #sliderimgo {
        height: 250px;
    }

    .mySlides {
        height: 225px;
    }

    .ht_top p {
        width: 100%;
        text-align: center;
    }

    .ht_top h1 {
        font-size: 20px;
    }

    .hero-text {
        font-size: 15px;
        margin-top: 10px;
    }

    #viewsearch {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #viewsearchm {
        margin-top: -150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #asd {
        margin-top: -15px;
    }

    #qwe {
        text-align: center;
    }
}

/*============================================================ */
/*============================================================ TEXT DIESGN */
/*============================================================ */
p {
    text-align: justify;
    margin: 0;
    padding: 0;
}

p img {
    border: #7a0000 solid 1px;
    border-radius: 15px;
    height: 400px;
    width: 740px;
}

.blog-content {
    line-height: 1.6;
}

@media only screen and (max-width: 991px) {
    p img {
        height: 225px;
        width: 400px;
    }
}

/*============================================================ */
/*============================================================ PIC WORKER DIESGN */
/*============================================================ */
.single_author {
    padding: 10px;
}

.single_author h4, p {
    margin-top: 25px;
}

@media only screen and (max-width: 991px) {
    .author_part img {
        height: 100px;
        width: 100px;
    }

    .single_author {
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .single_author h4, p, img {
        padding: 1px;
        margin-top: 0px;
    }
}

/*============================================================ */
/*============================================================ PIC CAROUSEL DIESGN */
/*============================================================ */
.carousel-control-prev,
.carousel-control-next {
    width: 35px;
    height: 35px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #7a0000;
    border-radius: 10px;

}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 75%, 75%;
}

@media (max-width: 991px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}

.carousel-item .col-lg-4, .carousel-item .col-sm-6, .carousel-item .col-xs-12 {
    margin-bottom: 15px;
}

/*============================================================ */
/*============================================================ SECVIEW DIESGN */
/*============================================================ */
.single-secview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    width: auto;
}

.single_course {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#secview {
    display: flex;
    flex-direction: column;
    border: #7a0000 solid 1px;
    border-radius: 5px;
    width: auto;
    padding: 10px;
}

#secview img {
    border-radius: 5px;
    width: 150px;
    height: 180px;
}

#secview h7 {
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: black;

}

/*============================================================ */
/*============================================================ MENU DIESGN */
/*============================================================ */
.sidebar {
    position: fixed;
    top: 22%;
    left: 0;
    width: max-content;
    height: 75px;
    text-align: center;
    background-color: transparent;
    padding: 2px;
    transform: translateX(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-sizing: border-box;
    z-index: 999;
}

.sidebar.show {
    transform: translateX(0);
    opacity: 1;
}

.content {
    margin-left: 270px;
    padding: 20px;
}

.sidebar a {
    color: ghostwhite;
    text-decoration: none;
    display: block;
    margin: 2px 0px;
    padding: 10px;
    border-radius: 5px;
}

.toggle-btn {
    position: fixed;
    top: 11.5%;
    left: 0px;
    padding: 5px;
    width: 50px;
    height: 50px;
    font-size: 30px;
    background-color: #7a0000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999;
}

.toggle-btn:hover {
    background-color: #5e0000;
}

.sidebar a:hover {
    background-color: #5e0000;
}

@media only screen and (max-width: 991px) {
    .sidebar {
        top: 26%;
    }

    .toggle-btn {
        top: 18.5%;
        margin-left: 1px;
    }
}

/*============================================================ */
/*============================================================ MENU DIESGN */
/*============================================================ */
.searchsidebar {
    position: fixed;
    top: 22%;
    right: 0;
    width: max-content;
    height: 75px;
    text-align: center;
    background-color: transparent;
    padding: 2px;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-sizing: border-box;
    z-index: 999;
}

.searchsidebar.show {
    transform: translateX(0);
    opacity: 1;
}

.search-toggle-btn {
    position: fixed;
    top: 11.5%;
    right: 0;
    padding: 5px;
    width: 50px;
    height: 50px;
    font-size: 30px;
    background-color: #7a0000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999;
}

.search-toggle-btn:hover {
    background-color: #5e0000;
}

@media only screen and (max-width: 991px) {
    .searchsidebar {
        top: 26%;
    }

    .search-toggle-btn {
        top: 18.5%;
        margin-right: 1px;
    }
}

/*============================================================ */
/*============================================================ MYCOURSE DIESGN */
/*============================================================ */
#price {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

#price a, button {
    height: 60px;
    width: 100%;
}

#price a {
    margin-top: 29px;
    padding: 15px;
}

@media only screen and (max-width: 991px) {
    #price {
        flex-direction: column;
        align-items: center;
    }

    #price a, button {
        margin: 2px 0px;
        height: 60px;
    }
}

