 @import url(https://fonts.googleapis.com/earlyaccess/opensanshebrew.css);


header img {
    width: 100%;
    height: auto;
}
main nav header article footer section{
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
  	-ms-flex-pack: center;
}


/* -------- modal css -------*/
.modal_header_text{
	font-weight:bold;
	display:flex;
	justify-content:center;
	margin-bottom:20px;
	margin-top:-20px;
	font-size:1.5em;
}
.modal_content{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:center;
	display: -ms-flexbox;
	-ms-flex-wrap:wrap;
	-ms-flex-direction:row;
	-ms-flex-pack: center;
	
	width:100%;
}
.modal_content div{
	display:flex;
	width:165px;
	height:165px;
	border-radius:50%;
	align-items:center;
	justify-content:center;
	display: -ms-flexbox;
	-ms-flex-align:center;
	-ms-flex-pack: center;
	margin:1.2%;
	color:#fff;
	font-weight:600;
}
.modal_content div.active{
	background-color: #d44f29	
}
.modal_content div.active:hover,.modal_content div.clicked:hover{
	opacity:0.7;	
}
.modal_content div.inactive{
	background-color: #e7bdb1	
}
.modal_content div.clicked{
	background-color: #e8a038	
}

.breadcrambs{
	display:flex;
	justify-content:center;
	display: -ms-flexbox;
	-ms-flex-pack: center;
	padding:0px;
}

.breadcrambs li{
	float:left;
	list-style-type: none;

}
 .breadcrambs li+li:before {
   padding: 8px;
    color: black;
    content: "<";
}
.breadcrambs a{
	color:black;
}
.breadcrambs a:hover{
	color:blue;
}
.modal_form{
	display:flex;
	justify-content:center
}
.modal_form input[type=text]{
	width:200px;
	margin-bottom:10px;
}
.modal_form .form_wrapper .moda_form {
	margin:auto;
}

.form-group{
	margin-bottom: 1rem; 
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
/* *********** bootstrap css adjustments ************ */
   
.modal-dialog{
    overflow-y: initial !important
}
.modal-body{
    max-height: calc(85vh - 200px);
    overflow-y: auto;
}
.modal-header{
	background-image:url(../imgMiz/popHeader.jpeg);
	padding:50px 55px;
	background-repeat:no-repeat;
	background-size:cover;
	border-bottom-color: #fff !important;
}
.modal-title{
	color:#fff;
	font-weight:600 
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width: 768px) {
    .runing_pic{
		margin-top:-10px;
	}
	.nav_pics{
		display:flex;
		/*flex-direction:column;
		align-items:center;
		justify-content:center;*/
    }
    .nav_pics a{
    	width:100%;
    }
    .nav_pics a img{
    	width: 85%;
    	height: auto;
    }
    .main_text{
    	font-size:1em;
    }
    .footer_text{
    	font-size:1em;
    }
    footer{
    	height:180px;	
    }
    footer span{
    	font-size:1em;
    }
    .top_panel a img{
		width:100%;
	    height:auto;
	}
	.modal-header{
	padding:40px 55px;
	background-size:cover;
	}
	
}
/* small Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	.runing_pic{
		margin-top:-20px;
	}
   .main_text{
    	font-size:0.9em;
    	line-height:25px;
    }
    .footer_text{
    	font-size:0.9em;
    }
    .top_panel a img{
		width:80%;
	    height:auto;
	}
	.modal-header{
	padding:35px 55px;
	background-size:contain;
	}
	.modal_content div{
		width:135px;
		height:135px;
	}
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
article{
    	font-size:1.5em;
    }
}

/* =============================================================== */
body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #ffffff;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}
.header-container {
	position: relative;
	width: 100%;
}
.header-image {
	width: 100%;
	height: auto;
	display: block;
}
.language-flags {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 24px;
}
.language-flags span {
	margin-left: 10px;
	cursor: pointer;
}
.options {
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
	margin: 20px 0;
	gap: 10px;
}
.option {
	width: 30%;
	max-width: 150px;
	height: auto;
}
.stats {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 20px 0;
}
.stat {
	position: relative;
	text-align: center;
	width: 45%;
	max-width: 200px;
	height: 200px; /* Fixed height */
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.stat img {
	width: 100%;
	height: 60%;
	object-fit: cover; /* Ensures images cover the entire container */
}
.stat-number {
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.5em;
	font-weight: bold;
	color: #386ca2; /* Updated color */
	font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif; /* More bold font */
}
/*
footer {
	background-color: #000000;
	color: #ffffff;
	text-align: center;
	padding: 10px 0;
	width: 100%;
}*/
.participating-schools {
	margin: 20px 0;
}
.participating-schools img {
	width: 100%;
	height: auto;
}
footer {
	background-color: #ffffff;
	color: #000000;
	text-align: center;
	padding: 10px 0;
	width: 100%;
	font-size: 14px; /* Smaller font size */
}
footer p {
	margin: 0; /* Remove default paragraph margin */
}
@media (max-width: 768px) {
	.options, .stats {
		flex-direction: row;
		align-items: center;
	}
	.option {
		width: 20%; /* Reduced width for mobile */
        max-width: 80px; /* Smaller maximum width for mobile */
	}
	.stat {
		width: 45%;
		height: 150px; /* Adjusted for mobile */
	}
	.stat-number {
		font-size: 2em;
	}
	 footer {
        padding: 5px 0; /* Reduced padding for mobile */
        font-size: 12px; /* Even smaller font size for mobile */
    }
}