html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: hidden;
    backface-visibility: hidden;
}

@font-face {
    font-family: "MyriadPro";
    src: url(./font/myriad_pro.ttf);
}

@font-face {
    font-family: "farsi";
    src: url(font/vazir/Vazir-Light-FD.ttf);
}

/* * :not(.fa) {
    font-family: "farsi";
} */


body {
    overflow: hidden;
    margin: 0px;
    /* background-image:url(' https://xanmia.github.io/Light-Speed-Ready/images/starb.png'); */
    background-image: url('./img/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 1rem;
}

.header {
    height: 15vh;
}

.main {
    height: 75vh;
}

.footer {
    height: 10vh;
}

.poweredByMedis {
    color: #D1D3D4;
    background-color: #dd5536;
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    width: 20%;
    left: 50%;
    transform: translate(-50%, 0);

}

.mbPoweredByMedis {
    display: none;
}

.rightBorder {
    border-right: 2px solid #D1D3D4;
    padding-right: 26px;
}

.leftBorder {
    border-left: 2px solid #D1D3D4;
}

.title {
    width: 70%;
    position: absolute;
    color: #D1D3D4;
    text-align: justify;
    top: 0;
    left: -1%;
    font-size: 1.3rem
}

/* .imageTitle{
    width: 70%;
    position: absolute;
    color: #D1D3D4;
    text-align: left;
    top: 0;
    right: -1%;
    font-size: 1.3rem
} */

.squarBorder {
    width: 70%;
    height: 70%;
    position: absolute;
    border-top: 2px solid #dd5536;
    border-left: 2px solid #dd5536;
    top: 5%;
    left: -1%;
}

.mainContent {
    width: 80%;
    height: auto;
    color: #D1D3D4;
    margin-top: 6%;
    margin-right: 1%;
    text-align: justify;


}

.mainContent p {
    line-height: 1.6;

}

.mainContentText {
    font-size: 1rem;
    padding-top: 5px;
    text-align: justify;
    /* text-justify: auto; */
    /* text-rendering:geometricPrecision */
}


.image {
    margin-top: 7%;
    margin-left: 1%;
}


/*----nav--------------------- */

.nav-item {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 6px;
    width: max-content;
    cursor: pointer;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #dd5536;
    font-weight: bold;
}


.menu {
    margin-top: 10px;
    margin-right: 0px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #D1D3D4;
}

.bg-dark {
    background-color: transparent !important;
}

.logo {
    position: fixed;
    top: 20px;
    left: 90px;
    width: 50px;
}

/* ----------------Right menu----------- */

.dot {
    cursor: pointer;
    height: 18px;
    width: 18px;
    background-color: #D1D3D4;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    margin-top: 5vh;
    margin-left: 3px;
}

.dotActive {
    width: 26px;
    height: 26px;
    padding: 4px;
    border-radius: 50%;
    background: #dd5536;
    border: 2px solid #D1D3D4;
    background-clip: content-box;
    display: inline-block;
    margin-right: 0;
    margin-top: 5vh;
    margin-left: 0;
}

/* -----------------Table ---------------- */
.tableTitle {
    text-align: justify;
    color: #D1D3D4;
    /* padding-right: 10%; */
}

table tr td {
    color: #D1D3D4;
}

table tr:first-child {
    border-top: 2px solid #D1D3D4;
    border-bottom: 2px solid #D1D3D4;
    text-align: center !important;
    color: #dd5536;
    font-size: 0.9rem;

}

/* table tr:last-child {
    text-align: center;
    color: #dd5536;

} */

/* .tableRTL tr th, td, div p {
    text-align: justify;
} */

table tr {
    border-bottom: 1px solid #D1D3D4;
}

td p {
    line-height: 0.8rem;
}

table tr th, td {
    padding: 7px 0;
    text-align: center;
    width: 85px !important;

}

table tr td:not(:first-child) {
    direction: ltr;
}

table tr td:first-child, table tr th:first-child {
    /* padding: 9px 0; */
    text-align: justify;
    width: 85px !important;

}

table tr:not(first-child) td {
    line-height: 1.2rem;
    color: #D1D3D4;
}

div.container p {
    font-size: 0.8rem;
    /* text-align: justify; */
    margin-top: 0;
    margin-bottom: 0;
}

p.lable {
    font-size: 0.9rem;
}

/* .tableData{
    text-align: center;
    direction:ltr
} */
/* table tr td div {
    border-right: 1px solid #D1D3D4;
} */
/* div.noBorder{
    border-right: none;  
} */

/* .underline {
    border-bottom: 1px solid #D1D3D4;
} */

table tr td div p {
    /* border-right: 1px solid #D1D3D4; */
    /* border-bottom: 1px solid #D1D3D4; */
    height: 100%;

}

.borderLess {
    border-bottom: none;
}

.borderLess td {
    line-height: 1.2rem;
    padding: 9px 0;
}

.leftFooter {
    margin-top: 5vh;
    cursor: pointer;
}

.tableWidth {
    width: 80% !important;
    /* margin: auto; */
    float: right;
}

.tableCaption {
    color: #D1D3D4;
    font-size: 0.7rem;
    padding-top: 3px;

}

.at {
    width: 19px;
}

.paddingTop {
    padding-top: 8px;
}

.avatar {

	/* box-sizing: border-box; */

	overflow: hidden;
	/* box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6); */
	transform: translatey(0px);
	animation: float 6s ease-in-out infinite;

}
@keyframes float {
	0% {
		/* box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6); */
		transform: translatey(0px);
	}
	50% {
		/* box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2); */
		transform: translatey(-20px);
	}
	100% {
		/* box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6); */
		transform: translatey(0px);
	}
}


@media screen and (min-width: 1921px) {

    .mainContent, .image {
        margin-top: 2%;
    }

    .squarBorder {
        top: 2%;
    }

    .title {
        top: -17px;
    }

    .paddingTop {
        padding-top: 0px;
    }

}

@media (width: 1024px) {
    .rightBorder {
        padding-right: 33px;
    }
}


/* -------------------------------- */
@media screen and (max-width: 1366px) and (min-width: 769px ) {
    .paddingTop {
        padding-top: 0px;
    }

    table tr:not(first-child) td {
        line-height: 0.9rem !important;
    }

    table tr th, td {
        padding: 4px 0;
    }

    .mainContent p {
        line-height: 1.5;
    }

    .dot {
        margin-right: 5px !important;
        margin-top: 3vh;
    }

    .dotActive {
        margin-right: 0 !important;
        margin-top: 3vh;
    }

    body {
        font-size: 0.9rem;
    }

    .mainContent {
        margin-top: 5%;
        /* margin-top: 18px; */
        margin-right: 5%;

    }

    .image {
        margin-top: 5%;
        margin-left: 5%;
    }

    .title {
        top: -17px;
        font-size: 1rem
    }

    .squarBorder {
        top: 2%;
        left: 1% 7
    }

    .menu {
        margin-top: 10px !important;
        margin-right: 0px;
    }

    .logo {
        top: 15px;
        width: 40px;
    }

    .rightBorder {
        padding-right: 35px;
    }


    div.container p {
        font-size: 0.6rem;
        line-height: 1.2;
    }

    .img-fluid {
        max-width: 90%;
    }

    .contact-padding {
        padding-top: 30px;
        padding-right: 20px;
    }

    p.lable {
        font-size: 0.7rem;
    }
}


@media screen and (max-width: 769px) {
    .img-fluid {
        max-width: 110%;
    }

    .logo-fluid {
        max-width: 120%;
        margin: auto;
    }

    /* html {
        scroll-behavior: smooth;
        overflow-x: auto !important;
        overflow-y: auto !important;
        backface-visibility: hidden;
    } */
    body {
        /* overflow: auto !important; */
        /* height: auto; */
        font-size: 0.9rem;
        overflow: hidden;
    }

    .header {
        height: 8vh;
    }

    .main {
        height: auto;
        margin-bottom: 45px;
    }


    .mbHeight {
        height: 90vh;
        overflow-y: auto;
        /* overflow-x: auto; */

    }

    .footer {
        height: 8vh;
    }

    .squarBorder {
        display: none;
    }

    .mainContent {
        width: 100%;
        margin-top: 7%;
        margin-left: 5%;
        margin-right: 5%;
        overflow-x: auto;
        /* overflow-y: auto!important; */
        height: max-content;
        /* margin-bottom: 50px; */
        /* margin-bottom: 150px; */
    }


    /* .dot {
        height: 12px;
        width: 12px;
        margin-right: 5px;
        margin-top: 5vh;
    }

    .dotActive {
        width: 15px;
        height: 15px;
        padding: 0px !important;
        margin-right: 0;
        margin-top: 5vh;
    } */
    table tr th, td {
        font-size: 0.6rem;
    }

    .dot, .dotActive {
        margin-top: 30px;
    }

    .leftSideMenu {
        display: none;
    }

    .title {
        position: relative;
        width: 100%;
        margin-top: 30px;
    }

    .image {
        margin-top: 15px !important;
        /* overflow-y: auto;  */
        overflow: hidden;
        margin-bottom: 30px;
        height: max-content;
        margin-bottom: 50px;
    }


    div.container p {
        font-size: 0.7rem;
    }

    table tr:first-child {
        font-size: 0.7rem;
    }

    .poweredByMedis {
        display: none;
    }

    .mbPoweredByMedis {
        display: block;
        padding-top: 2px;
        color: #D1D3D4;
        background-color: #dd5536;
        border: 2px solid #dd5536;
        border-radius: 20px 20px 0 0;
        position: fixed;
        bottom: 0;
        width: 86%;
        left: 50%;
        transform: translate(-50%, 0);
        font-size: 0.6rem;
    }

    .tableWidth {
        width: 100% !important;
    }

    p.lable {
        font-size: 0.55rem;
    }

    .collapse:not(.show) {
        display: block;
    }

    .logo {
        position: fixed;
        top: 12px;
        left: 16px;
        width: 30px;
    }

    .menu {
        position: absolute;
        right: 0;
        top: 0
    }

    .navbar-nav {
        flex-direction: row;
    }

    ul.contact li {
        font-size: 0.7rem;
    }

    .at {
        width: 14px !important;
    }

    .contact {
        font-size: 0.7rem;
    }
    
    .mainContentText {
    font-size: 0.9rem;
    }
}

@media screen and (max-width: 540px) {

    .mainPart {
        display: flex;
        flex-flow: column;
    }

    .first {
        order: 2;
    }

    .second {
        order: 1;
    }

    .nav-item {
        padding-left: 15px;
    }

}


/*---------------------- hidden scroll-------------*/

::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px transparent;
    border-radius: 10px;
    height: 0;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    height: 0;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: transparent;
    height: 0;
}
