/********************************************** CUSTOM FONT DECLARTIONS **************************************************/

/* FONT */
/* cyrillic-ext */
@font-face {
    font-family: HarmonyOS_Sans_SC_regular;
    font-style: normal;
    font-weight: 400;
    src:url('fonts/HarmonyOS_Sans_SC_Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: HarmonyOS_Sans_SC_regular;
    font-style: normal;
    font-weight: 700;
    src:url('fonts/HarmonyOS_Sans_SC_Regular.woff2') format('woff2');
    font-display: swap;
}

/*********************************************************************** FONT DECLARATIONS END ***************************************************************************/

#body,
.tabItem {
    font-family: HarmonyOS_Sans_SC_regular, PingFang SC, Lantinghei SC, Microsoft YaHei, HanHei SC, Open Sans, Arial, Hiragino Sans GB, 微软雅黑, STHeiti, WenQuanYi Micro Hei, SimSun, sans-serif;
    font-size: 18px;
    color: #000000;
    margin: 0px;
}
#main {
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 30px 30px 20px 30px;
    background: #f5f5f7;
}

#body {
    margin: 0;
}

.ar-ae #body {
    direction: rtl;
}

div {
    display: block;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0 !important;
}

.tabs {
    text-align: center;
    border-bottom: 0px;
    font-size: 0px !important;
    padding: 0;
    margin: 0 0;
}

.tabs li {
    float: none;
    display: inline-block;
    font-size: 0;
    border-right: solid 0px #fff;
    border-left: solid 0px #d8d8d8;
    box-sizing: border-box;
}

.tabItem:first-letter {
    text-transform: capitalize;
}

.tabItem {
    height: auto;
	line-height: normal;

	padding: 0 0.8em 15px 0.8em;
    margin-top: 0.0em;
    margin-right: 0;
    margin-bottom: 0.0em;
    margin-left: 0;
	position: relative;
	border-radius: 0px;

	font-family: HarmonyOS_Sans_SC_regular, PingFang SC, Lantinghei SC, Microsoft YaHei, HanHei SC, Open Sans, Arial, Hiragino Sans GB, 微软雅黑, STHeiti, WenQuanYi Micro Hei, SimSun, sans-serif;
	font-weight: bold;
	font-size: 24px;
	text-transform: capitalize;
	color: #666666;

	font-style: normal;
	text-decoration: none;
    border: none;
    background: transparent;

	transition: background 0.5s, color 0.5s;

	top: 0;
	left: 0em;

    width: 100%;
    box-sizing: border-box;
    
    text-align: center;
}

.tabs li:first-child a{
    margin-right: 40px;
}
.tabs li:last-child a{
    margin-left: 40px;
}

.tabItem:hover {
	border: none;
	border-bottom: 2px solid #E50012;
    color: #000000;
	text-decoration: none;
	font-weight: bold;

	z-index: 9;
}

.tab-active,
.tab-active:hover {
	border: none;
	border-bottom: 2px solid #E50012;
    color: #000000;
    text-decoration: none;
	font-weight: bold;
}

.tabItem-active:hover:after {
    background: transparent;
}

/* .tabItem:hover, */
/* .tabItem-active:hover */
.tabItem:active,
.tabItem-active {
	border: none;
	border-bottom: 2px solid #E50012;
    color: #000000;
    text-decoration: none;
	font-weight: bold;
}

.tabItem-active:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 100%;
    left: 0;
    margin-left: 12px;
    border-left: 0px solid transparent;
    border-right: 0px solid transparent;
    border-top: 0px solid #DEDEDE;
}

.ar-ae .tabItem-active:before {
    margin-right: 12px;
    right: 0;
}

.tabs-control {
    margin-top: 2px;
    display: table;
    width: 100%;
    margin-bottom: 40px;
    max-width: 100%;
}

body.ar-ae .tabs {
    flex-direction: row-reverse;
    direction: rtl;
    /* text-align: right; */
}

/* @media (max-width: 1155px) {
    .tabs li {
        width: 49%;
        margin: 2px;
    }

    .tabItem {
        display: inline-block;
        width: 95%;
        box-sizing: border-box;
        margin: 0px;
    }
} */

@media screen and (max-width: 610px) {
    .tabs li {
        width: unset;
    }
    .tabs {
        text-align: center;
    }
    
    .tabs li:first-child a{
        margin-right: unset;
    }
    .tabs li:last-child a{
        margin-left: unset;
    }
}
/* #tabs > li:last-child {
  display: none;
} */

@media screen and (max-width: 550px) {
    #main {
        padding: 10px;
    }
}