@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/BYekan/eot/iranyekanwebbold.eot');
	src: url('../fonts/BYekan/eot/iranyekanwebbold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/BYekan/woff/iranyekanwebbold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/BYekan/ttf/iranyekanwebbold.ttf') format('truetype');
}

@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/BYekan/eot/iranyekanwebregular.eot');
	src: url('../fonts/eot/iranyekanwebregular.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/BYekan/woff/iranyekanwebregular.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/BYekan/ttf/iranyekanwebregular.ttf') format('truetype');
}


body {
    font-family: iranyekan;
    background-color: #ebebeb;
    background-image: url("../images/bg.jpg");
	display: flex;
	flex-direction: column;
	padding: 2% 15% 2% 15%;
	height: auto;
	direction: rtl;
	min-height: 650px;
}

body > hr {
	height: 30px;
	display: table;
	opacity: 0;
}

#helpSection{ display: none; }

.tabs{
    display: flex;
    width: calc( 100% - 100px);
    padding: 0px 50px;
}

.tabs > .tab {
    background: #f0f0f0;
    z-index: 0;
    padding: 10px 40px;
    border-radius: 15px 15px 0px 0px;
    margin-left: 20px;
    color: #363636;
    cursor: pointer;
}

.tabs > .tab.selected {
    background: #fff;
    z-index: 10;
}

.content {
	display: flex;
	height: auto;
	background-color: #fff;
	flex: 1;
	max-height: 650px;
	border-radius: 2pc;
    box-shadow: 0px 0px 40px 20px #e1e1e1;
    flex-direction: column;
}

.content > p {
	padding: 30px;
	text-align: justify;
	font-size: 13px;
	line-height: 35px;
}

.content > h1 {
	text-align: center;
	padding: 25px;
	font-size: 28px;
	color: #363636;
	height: 50px;
}

.content > h2 {
	text-align: center;
	padding: 25px 25px 0px 25px;
	font-size: 20px;
	color: #363636;
	height: 30px;
	margin-bottom: 0px;
}

.content > .boxContainer {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	padding: 0px 5px 20px 50px;
	height: auto;
}

.content > .boxContainer > .boxItem {
	width: 250px;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: stretch;
	cursor: pointer;
}

.content > .boxContainer > .boxItem > img {
	border-radius: 2pc 2pc 0px 0px;
	box-shadow: 0px 0px 10px 2px #ccc;
}

.onlineClassBox > a { background-color: #ff364e; }
.portalBox > a { background-color: #3f4a84; }
.panelBox > a { background-color: #2db3a6; }
.content > .boxContainer > .boxItem > a {
	color: #fff;
	text-decoration: none;
	padding: 0px 10px;
	line-height: 45px;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	position: relative;
    box-shadow: 2px 5px 10px 0px #ccc;
    z-index: 2;
}

.content > .boxContainer > .boxItem > a > .arrow {
	display: table;
	position: absolute;
	left: -45px;
	top: 0px;
	width: 45px;
	height: 45px;
	background: #fff;
	border-radius: 10px 0px 0px 10px;
	text-align: center;
	box-shadow: -2px 1px 10px 0px #ccc;
	z-index: 1;
}

.content > .boxContainer > .boxItem > a > .arrow > img {
	display: inline;
	line-height: 45px;
	vertical-align: middle;
}

.copyright {
	position: fixed;
	width: 100%;
	bottom: 0px;
	right: 0px;
	margin: 0px;
	padding-bottom: 5px;
	text-align: center;
	font-size: 13px;
	color: #777;
	z-index: -1;
}


@media only screen and (max-width: 1420px) {
    body {
        padding: 5% 10% 2% 10%;
    }
}
@media only screen and (max-width: 1220px) {
    body {
        padding: 5% 5% 2% 5%;
    }
}
@media only screen and (max-width: 1090px) {
    body {
        padding-bottom: 25px;
    }

    .content {
        max-height: unset;
    }

    .content > .boxContainer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .content > .boxContainer > .boxItem {
        margin-bottom: 40px;
    }
    
}
@media only screen and (max-width: 660px) {
    .content > h1 {
        font-size: 22px;
    }
}
@media only screen and (max-width: 420px) {
    body {
        padding: 5% 0% 2% 0%;
    }

}