@media only screen and (max-width: 1239.9px) {
	.rodyti_m/*, #img_fonas_mob*/ {
		display: inline;
	}
	.ne_rodyti_m,.hr_kalend {
		display: none;
	}
	/*#img_fonas_mob{
		position: relative;
		width: 100%;
		height: auto;
	}*/
	select {
		font-size: 18px;
		line-height: 30px;
	}
	#D_mob_meniu_MENIU {
		display: inline;
		position: absolute;
		top: 0px;
		margin-top: 0px;
		right: 2px;
	}
	#mob_meniu {
		margin-left: -50px;
	}
	#D_visas_mob_meniu {
		display: none;
		position: absolute;
		top: 76px;
		margin-top: 0px;
		right: 22px;
		width: 225px;
		line-height: 40px;
		font-size: 19px;
		background-color: #ffffff;
	}
	#D_visas_mob_meniu_2 {
		display: none;
		position: absolute;
		margin-top: 0px;
		width: 225px;
		padding-left: 10px;
		padding-top: 5px;
		padding-bottom: 5px;
		padding-right: 10px;
		background-color: #ffffff;
		border-left: 1px solid black;
		border-right: 1px solid black;
		border-bottom: 1px solid black;
	}
	.spalva {
		display: none;
	}
	.mob_sis_meniu {
		background-color: rgb(233, 235, 238);
	}
	img.varneles {
		height: 17px;
		width: auto;
	}
	/*#D_isskleidziama_sekmes_istorija,*/ #D_Meniu_Matematika1 {
		display: none;
	}
	#img_fonas{
		display: none;
		/*position: absolute;
		top: 123px;
		width: 100%;
		height: auto;*/
	}
	input[type=submit] {
		background-color: rgb(255, 205, 12);
		border-radius: 5px;
		border: 2px solid rgb(255, 205, 12);
		font-size: 18px;
	}
	.labaiDideli {
		font-size: 32px;
	}
	
	p.paslinkti_zemyn {
		margin-top: 6px;
	}
	img.img_desineje {
		height: 200px;
		width: 200px;
		border-radius: 50%;
		float: right;
	}
	div.centre_ikona {
		margin-top: -15px;
		width: 83px;
	}
	h3 {
		font-size: 20px;
		text-transform: uppercase;
		text-align: center;
	}
	h4 {
		font-size: 18px;
		text-align: center;
		text-transform: uppercase;
		line-height: 28px;
	}
	h5 {
		font-size: 18px;
		text-align: center;
		line-height: 28px;
	}
	p {
		font-size: 17px;
		line-height: 27px;
		text-align: justify;
		text-indent: 0px;
		padding-left: 1.5%;
		padding-right: 1.5%;
		width: 97%;
	}
	/* ------------------------------------ */
	#Dvisas	{
		position: center;
		width: 100%;
		left: 0px; 
		top: 0px;
	}
	#D_GB_tekstas_virsuje{
		display: none;
		position: relative;
		float: left;
		padding-top: 12px;
	}
	#D_telefonas_virsuje{
		position: relative;
		float: left;
		padding-left: 8px;
		padding-top: 12px;
	}
	/* -------------------------------------------------------- */
	#D_Logotipas{
		position: absolute;
		margin-top: 4px;
		left: 0px;
	}
	#img_logotipas{
		z-index: 2;
		margin-left: -45px;
	}
	#D_pagrindinis_meniu{
		position: relative;
		margin-left: 50px;
		line-height: 76px;
		font-size: 19px;	/* 14pt */
	}
	.spalva, .spalva2, .spalva3 {
		padding-left: 8px;
		padding-right: 8px;
	}
	.D_clear {
		clear: both;
	}
	img.trikampis_zemyn {
		width: 10px;
		height: 10px;
	}
	img.trikampis_i_desine {
		width: 8px;
		height: 10px;
	}
	#img_reg{
		display: none;
		width: 50%;
		height: auto;
	}
	/* ---------------------------------------------------------------------------------- */
	#D_pagrindinis_visuose_1 {
		margin-top: 123px;
		margin-left: -8px;
		margin-right: -8px;
		background-color: #e9ebee;
		padding-bottom: 6px;
	}
	#D_pagrindinis_visuose_2 {
		margin-left: auto;
		margin-right: auto;
		margin-top: 0px;
		width: 100%;
	}
	#D_pagrindinis_visuose_3 {
		margin-left: 0;
		width: 100%;
		height: auto;
		float: left;
	}
	#rasyti_atsiliepima_p {
		display: none;
		/*position: fixed;
		bottom: 5px;
		right: 5px;
		z-index: 2;*/
	}
	#rasyti_atsiliepima_mygtukas{
		border: 2px solid black;
		border-radius: 9px;
		width: 175px;
		height: 37px;
		font-weight: bold;
		color: 000000;
	}
	#Dominykas_su_manim {
		width: 100%; 
		height: auto;
		margin-left: 0;
	}
	#p-sekmes-istorijos-as-su-D {
		margin-top: -65px;
		color: white; 
		text-indent: 0px
	}
	/* ---------------------------------------------------------------------------------- */
	#D_mokiniams_visas {
		display:  inline-grid;
		grid-template-columns: auto auto;		
		width: 100%;
		font-size: 18px;
	}
	#D_mokiniams_visas2, #D_mokiniams_visas3{
		display:  inline-grid;
		grid-template-columns: auto auto;	 /*auto auto auto */	
		width: 100%;
		font-size: 18px;
	}
	div.centre2 {
		margin: auto;
		width: 94%;
	}
	.D_oranzinis_antraste {
		background-color: rgb(255, 215, 60);
		width: auto;
		height: auto;
		margin-top: -2px;
		margin-left: -3px;
		margin-right: -3px;
		color: #000000;
	}
	.D_oranzinis_antraste2 {
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.D_oranzinis2 {
		width: 150px;
		margin-left: 1%;
		margin-right: 2%;
		margin-bottom: 25px;
		border-radius: 4px;
		border: 4px solid rgb(255, 215, 60);
	}
	.D_oranzinis3{
		padding-top: 10px;
		padding-bottom: 10px;
	}
	/*#D_mokiniams2 {
		
		margin-top: -5px;
	}*/
	/*#img_kainoms {
		position: relative;
		top: 0;
		left: -15px;
		width: 1024px;
		height: auto;
	}*/
	#D_informacija_zemiau_pav {
		position: relative;
		margin-left: -8px;
		margin-right: -8px;
		background-color: #e9ebee;
	}
	#D_informacija_zemiau_pav2 {
		font-size: 19px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}
	#D_informacija_zemiau_pav3 {
		margin-top: 123px;
		margin-left: 2%;
		width: 96%;
		padding-top: 10px;
		padding-bottom: 10px;			
	}
	/* ------------------------------------------------ */
	.D_kalendoriai_1{
		position: relative;
		left: 15px;
		width: 60%;
		height: 240px;
		padding-bottom: -10px;
	}
	/* ------------------------------------------------ */
	#D_kalendoriai{
		position: relative;
		margin-top: 0;
	}
	#D_Atsiliepimai_1 {
		background-color: #e9ebee;
		padding-bottom: 6px;
		margin-left: -8px;
		margin-right: -8px;
	}
	#D_Atsiliepimai_2 {
		margin-left: auto;
		margin-right: auto;
		margin-top: 18px;
		width: 100%;
	}
	#D_Atsiliepimai_3 {
		height: auto;
		float: left;
		width: 97%;
		padding-left: 1.5%;
		padding-right: 1.5%;
	}	
	#p_atsiliepimo {
		margin-top: 0px;
		width: 97%;
		padding-left: 1.5%;
		padding-right: 1.5%;
	}
	#D_atsiliepimai_kas {
		float: left;
		width: 100%;
		margin-top: -38px;
	}
	div.D_atsiliepimo_nuotrauka {
		float: right;
		width: 200px;
		height: 200px;
	}
	.img_atsiliepimu{
		border-radius: 50%;
		width: 200px;
		height: 200px;
	}
	#Div_mano_foto{
		margin-left: 0;
		float: left;
	}
	#img_as{
		width: 100%;
		height: auto;
	}
	#D_po_desine{
		position: relative;
		left: 0;
	}
	#diplomas {
		width: 100%;
		height: auto;
	}
	/* ------------------------------------------------ */
	#D_pagrind_1 {
		width: 100%;
	}
	#D_pagrind_2 {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}
	#D_apacia {
		margin-left: -8px;
		margin-right: -8px;
		margin-top: -16px;
	}
	#D_apacia2 {
		position: relative;
		background-color: #797979; /*52595D rgb(70, 70, 70)*/
		color: #ffffff;
		margin-left: auto;
		margin-right: auto;
		height: 161px;
		line-height: 161px;
		width: 100%;
	}
	#D_apacia3 {
		margin-left: auto;
		margin-right: auto;
		width: 100%;	
	}
	#baltas_logo{
		position: absolute;
		margin-top: 20px;
	}
	#D_kontaktai_apacioje {
		position: relative;
		top: 56px;
		left: 90px;
		width: 180px;
		font-size: 19px;
	}
	#D_kontaktai_apacioje2 {
		display: none;
	}
	#span_kontaktai{
		font-size: 17px;
	}
	#p_apacioje{
		line-height: 18px;
		text-align: left;
		margin-left: 45px;
	}
	.span_telefonas_apacioje_2{
		font-weight: bold;
	}
	#D_statistika {
		margin-left: 0;
		margin-right: 0;
		padding-top: 0;	/*161*/
		margin-bottom: 0px;
	}
	#D_statistika2 {
		background-color: rgb(255, 205, 12);
		position: absolute;
		line-height: 35px;
		font-size: 15px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}
	#D_statistika3 {
		width: 100%;
		text-align: center;
	}	
}