body  {
	font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}
/* ------------------------------------ */
a:link {
	color: rgb(6,106,56);
}
a:visited {
	color: rgb(6,106,56);
}
a:hover {
	color: rgb(6,106,56);
}

a:link.a_meniu_virsuje {
	color: #000000;
	text-decoration: none;
}
a:visited.a_meniu_virsuje {
	color: #000000;
	text-decoration: none;
}
a:hover.a_meniu_virsuje {
	color: #000000;
	text-decoration: none;
}
a.nepabraukti {
	text-decoration: none;
}
.paslepti {
	display: none;
}
.paslepti_2 {
	display: none;
}
a.balti{
	color: #ffffff;
}
/* ------------------------------------ */
#spynele, p.paslepa_istorija {
	display: none;
}
div.centre {
	/*margin-left: auto;
	margin-right: auto;*/
	margin: auto;
}
td.centre {
	margin: auto;
}
.didziosiomis {
	text-transform: uppercase;
}
.juodi {
	color: #000000;
}
	p.nepastumti {
		text-indent: 0px;
	}
	p.centre {
		text-align: center;
	}
	p.kaireje {
		text-align: left;
	}
	.paryskinti {
		font-weight: bold;
	}
	a.balti{
		color: #ffffff;
	}
	table.kaip_mokantis_lent{
		margin-top: - 15px;
		margin-bottom: - 15px;
		border-color: #000000;
		border-style: solid;
		border-width: 1px;
		padding-top: 2px;
		padding-left: 2px;
		padding-right: 2px;
		padding-bottom: 2px;
	}
	td.kaip_mokantis, td.kaip_mokantis2 {
		border-color: #000000;
		border-style: solid;
		border-width: 1px;
		padding-top: 2px;
		padding-left: 2px;
		padding-right: 2px;
		padding-bottom: 2px;
	}
	td.kaip_mokantis{
		background-color: #ffcd0b;
	}
/* ------------------------------------ */
@media only screen and (min-width: 1240px) {
	.rodyti_m, #D_mob_meniu_MENIU, #D_visas_mob_meniu, #D_visas_mob_meniu_2 {
		display: none;
	}
	.ne_rodyti_m {
		display: inline;
	}
	input[type=submit] {
		background-color: rgb(255, 205, 12);
		border-radius: 5px;
		border: 2px solid rgb(255, 205, 12);
		font-size: 18px;
	}
	li {
		font-size: 17px;
		line-height: 23px;
	}
	span {
		font-size: 17px;
		line-height: 23px;
	}
	.labaiDideli {
		font-size: 28px;
	}
	p.p_submit {
		text-indent: 0px;
		line-height: 30px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	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: 30px;
		margin: 0;
		text-align: justify;
		text-indent: 20px;
		width: 95%;
	}
	/* --------------- ŽR. ----------- */
	select {
		font-size: 17px;
		line-height: 30px;
	}
	input[type=checkbox] {
		width: 17px;
		height: 17px;
	}
	/* ------------------------------------ */
	#Dvisas	{
		position: center;
		width: 100%;
		left: 0px; 
		top: 0px;
	}
	#D_GB_tekstas_virsuje{
		position: relative;
		float: left;
		padding-top: 12px;
	}
	#D_telefonas_virsuje{
		position: relative;
		float: right;
		padding-top: 12px;
	}
	/* -------------------------------------------------------- */
	#D_Logotipas{
		position: relative;
		float: left;
		padding-top: 5px;
		margin-left: -50px;
		padding-bottom: 5px;
	}
	#D_pagrindinis_meniu{
		position: relative;
		margin-left: 50px;
		line-height: 76px;
		font-size: 19px;	/* 14pt */
	}
	#D_pagrindinis_meniu1 {		/* Atsiliepimai */
		position: absolute;
		right: 414px;
		width: 115px;
	}
	/*#D_isskleidziama_sekmes_istorija {	
		position: absolute;
		display: none;
		top: 76px;
		left: 428px;
		background-color: #FFFFFF;
		text-align: left;
		padding-left: 10px;
		width: 150px;
		height: 45px;
		border-bottom: 1px solid grey;
		border-left: 1px solid grey;
		border-right: 1px solid grey;
		line-height: 43px;
	}*/
	#D_pagrindinis_meniu2 {		/* Apie mane */
		position: absolute;
		width: 92px;
		right: 306px;
	}
	#D_pagrindinis_meniu3 {		/* Matematika */
		position: absolute;
		right: 172px;
		width: 118px;
	}
	#D_pagrindinis_meniu4 {		/* Kainos */
		position: absolute;
		right: 96px;
		width: 60px;
	}
	#D_pagrindinis_meniu5 {		/* Kontaktai */
		position: absolute;
		width: 80px;
		right: 0px;
	}
	.spalva, .spalva2, .spalva3 {
		padding-left: 8px;
		padding-right: 8px;
	}
	#D_Meniu_Matematika1 {
		display: none;
		background-color: #FFFFFF;
		text-align: left;
		position: absolute;
		width: 235px;
		height: 86px;	/*172*/
		margin-top: 76px;
		margin-left: 668px;/* 508*/
		border-bottom: 1px solid grey;
		border-left: 1px solid grey;
		border-right: 1px solid grey;
	}
	.D_klase_Meniu_Matematika {
		line-height: 43px;
	}
	.D_clear {
		clear: both;
	}
	img.trikampis_zemyn {
		width: 10px;
		height: 10px;
	}
	img.trikampis_i_desine {
		width: 8px;
		height: 10px;
	}
	#img_reg{
		display: none;
		width: 400px;
		height: auto;
	}
	#dalyku_sarasas {
		font-size: 17px;
	}
	/* ---------------------------------------------------------------------------------- */
	#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: 1008px;
	}
	#D_pagrindinis_visuose_3 {
		margin-left: 16px;
		width: 1000px;
		height: auto;
		float: left;
	}
	#rasyti_atsiliepima_p {
		display: none;
		/*position: fixed;
		bottom: 5px;
		float: right;
		right: 5px;
		z-index: 2;*/
	}
	#rasyti_atsiliepima_mygtukas{
		border: 2px solid black;
		border-radius: 5px;
	}
	#Dominykas_su_manim {
		width: 600px; 
		height: 338px;
		margin-left: 212px;
	}
	#p-sekmes-istorijos-as-su-D {
		margin-top: -25px;
		color: white; 
		text-indent: 0px
	}
	/* ---------------------------------------------------------------------------------- */
	#img_fonas {
		position: absolute;
		top: 123px;
		width: 1024px;
		height: 307px;
	}
	#D_mokiniams_visas {
		display:  inline-grid;
		grid-template-columns: 250px 250px 250px 250px;		
		width: 1024px;
		font-size: 18px;
	}
	#D_mokiniams_visas2{
		display:  inline-grid;
		grid-template-columns: 250px 250px;	 /*auto auto auto */	
		width: 1024px;
		font-size: 18px;
	}
	#D_mokiniams_visas3{
		display:  inline-grid;
		grid-template-columns: 250px 250px;
		width: 1024px;
		font-size: 18px;
	} 
	div.centre2 {
		margin: auto;
		width: 970px;
	}
	.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: 220px;
		border-radius: 4px;
		border: 4px solid rgb(255, 215, 60);
	}
	.D_oranzinis3{
		padding-top: 10px;
		padding-bottom: 10px;
	}
	/*#img_kainoms {
		position: relative;
		top: 0;
		left: -15px;
		width: 1024px;
		height: auto;
	}*/
	#D_informacija_zemiau_pav {
		margin-left: -8px;
		margin-right: -8px;
		background-color: #e9ebee;
	}
	#D_informacija_zemiau_pav2 {
		font-size: 19px;
		margin-left: auto;
		margin-right: auto;
		width: 1024px;
	}
	#D_informacija_zemiau_pav3 {
		margin-top: 430px;
		margin-left: 16px;
		width: 1008px;
		padding-top: 5px;
		padding-bottom: 5px;		
	}
	/* ------------------------------------------------ */
	img.varneles {
		height: 18px;
		width: auto;
	}
	#D_kalendoriai{
		position: relative;
		margin-top: 0;
	}
	.D_Atsiliepimai_1 {
		margin-left: -8px;
		margin-right: -8px;
		background-color: #e9ebee;
		padding-bottom: 6px;
	}
	.D_Atsiliepimai_2 {
		margin-left: auto;
		margin-right: auto;
		margin-top: 18px;
		width: 1020px;
	}
	.D_Atsiliepimai_3 {
		margin-left: 16px;
		width: 907px;
		height: 200px;
		float: left;
	}
	#D_Atsiliepimai_1 {
		margin-left: -8px;
		margin-right: -8px;
		background-color: #e9ebee;
		padding-bottom: 6px;
	}
	#D_Atsiliepimai_2 {
		margin-left: auto;
		margin-right: auto;
		margin-top: 18px;
		width: 1020px;
	}
	#D_Atsiliepimai_3 {
		margin-left: 16px;
		width: 907px;
		height: 315px;
		float: left;
	}
	#p_atsiliepimo {
		margin-top: 0px;
		/*width: 907px;*/
	}
	div.D_atsiliepimai_kas {
		/*float: left;*/
		text-indent: 0;
		margin-left: 250px;
		/*width: 450px;*/
		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: 340px;
		height: auto;
	}
	#D_po_desine{
		position: relative;
		left: 20px;
		padding-right: 20px;
	}
	#diplomas {
		width: 420px;
		height: auto;
	}
	.D_kalendoriai_1{
		position: relative;
		left: 15px;
		width: 60%;
		height: 240px;
		padding-bottom: -10px;
	}
	/* ------------------------------------------------ */
	#D_pagrind_1 {
		width: 100%;

	}
	#D_pagrind_2 {
		width: 1024px;
		margin: 0 auto;
	}
	#D_apacia {
		margin-left: -8px;
		margin-right: -8px;
		margin-bottom: -8px;
	}
	#D_apacia2 {
		position: absolute;
		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: 1024px;		
	}
	#baltas_logo{
		position: absolute;
		margin-top: 20px;
	}
	#D_kontaktai_apacioje {
		position: relative;
		top: 46px;
		left: 80px;
		font-size: 19px;
	}
	#D_kontaktai_apacioje2 {
		position: absolute;
		margin-top: -40px;
		margin-left: 130px;
		font-size: 19px;
	}
	#span_kontaktai{
		font-size: 22px;
	}
	#p_apacioje{
		line-height: 23px;
		text-align: center;
	}
	#span_telefonas_apacioje{
		font-weight: bold;
		font-size: 19px;
	}
	#D_statistika {
		/*margin-left: -8px;
		margin-right: -8px;*/
		padding-top: 161px;
		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 {
		margin-left: auto;
		margin-right: auto;
		width: 1024px;
		text-align: center;
	}
}
