/* glideappsnew/css/media-queries.css						       2023-11-07  */
/*******************************************************************************
  меньше чем 992											
********************************************************************************/
@media screen and (max-width: 992px) {

	/* pagewrap */
	#pagewrap {
		width: 95%;
	}

	/* content */
	#content {
		/*width: 60%; 24-10 */
		width: 90%;
		/*padding: 3% 3%;*/
		padding-top: 1%;
		padding-left: 3%;
		padding-right: 3%;
		padding-bottom: 2%;
	}

	/* sidebar */
	#sidebar {
		width: 10%;
	}
	#sidebar .widget {
		padding: 8% 7%;
		margin-bottom: 10px;
	}
}

/*******************************************************************************
  меньше чем 650
********************************************************************************/
/*@media screen and (max-width: 650px) {*/
@media screen and (max-width: 767px) {

	/* header */
	/*#header {
		height: auto;
	}*/

	/* main nav */
	#main-nav {
		position: static;
	}

	/* site logo */
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}
	
	/* site description */
	#site-description {
		margin: 0 0 15px;
		position: static;
	}

	/* content */
	#content {
		width: auto;
		float: none;
		margin: 20px 0;
	}

	/* sidebar */
	#sidebar {
		width: 10%;
		margin: 0;
		float: none;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin: 0 0 10px;
	}
}

/*****************************************************************************
  меньше чем 480
******************************************************************************/
@media screen and (max-width: 480px) {

/* отключить регулировку размера текста webkit (для iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	/* main nav */
	#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}
}

/* Часть 2 ====================================================================*/

/*****************************************************************************	
  Большие десктопы и ноутбуки (ширина больше чем 1400)
  Device 1440 x 900
  Device 1400 x 1050
******************************************************************************/
@media screen and (min-width: 1400px) {
	
	/*header {
		background: url(../images/glide-header1600x240.png) center / cover no-repeat #006837;
		background-size: 100% 220px;
    }*/
	
	header img {
		position: absolute;
		width: 7%;
    	top: 52px; 
		left: 30px;	
	}
	
	#header {
		/*position: relative;*/
		height: 232px;
	}
	
	#topmenu ul {
		top: 182px;
	}
	
	#topmenu .top li a {
		padding: 18px; 
	}

	/* pagewrap */
	#pagewrap {
		width: 98%;
	}

	/* content */
	#content {
		/*width: 70%; 24-10*/
		width: 90%;
		padding: 3% 4%;
	}

	/* sidebar */
	#sidebar {
		width: 10%;
	}
	
	/*23-10-2023*/
		.column1, .column2, .column3, .column4 {
		display:table-cell;
		vertical-align:middle; 	
		/*min-width: 262px; */
		min-width: 20%;
		max-width: 23%;
		height: 554px!important;		/*height: 554px;*/
			
		background-color: #FFF;
  		border: 0px solid #FFF;
  		border-radius: 25px;
		margin: 10px!important;
		min-width: 25%;
		max-width: 30%;	
	}
	
	.column1, .column2, .column3 {
		float: left;
		margin-left: auto;
		margin-right: auto;
		padding:  0.9%;
	}	
	
	.column4 {
		float: left;	/*right;*/
		padding-left:  0,7%;
		padding-right: 0;
	}

	.column1 a, .column2 a, .column3 a, .column4 a {
		width: 100%;
		min-width: 400px;
	}

	#img-pr {
		width: 100%; 
		min-width: 200px; 
		/*height: 150;*/
		height: 320px;
	}
	
	/*a img {
		height: 262px;
	}*/
	
	#ttl {
		display:table-cell;
		height:72px;
		vertical-align:middle; 	

		font-size: 1.3em;
		text-align: center;
		/*font-weight: 400;		/* Нормальное начертание */
		/*font-weight: bold; */
		font-weight: 700;	/* Cтандартный полужирный текст */
		color: rgba(0,0,0,1);
		margin-top: 20px;
    	margin-bottom: 14px;	
	}
	
	#pinfo {
		height: 320px;	/* 220px */
		font-size: 1.1em;			/*1.32em;	*/
	}	
	.nocontact {
		display: none;
	}
	
	.formhight {
		height: 50px!important;			
		background-color: #fff;
		margin: 1px!important;
	}		
}


/*****************************************************************************	
  Только очень Большие десктопы (ширина больше чем 1600)
  Device 1920 x 1080
******************************************************************************/
@media screen and (min-width: 1600px) {
	
	/*header {
		background: url(../images/glide-header1600x240.png) center / cover no-repeat #006837;
		background-size: 100% 240px;
    }*/
	
	header img {
		position: absolute;
		width: 6%;
    	top: 64px; 
		left: 40px;	
	}
	
	#header {
		height: 258px;
	}
	
	#topmenu ul {
		top: 208px;
	}
}

/*****************************************************************************	
  Средние десктопы 
******************************************************************************/
@media screen and (min-width: 1200px) and (max-width: 1399px) {
	
	/* pagewrap */
	#pagewrap {
		width: 98%;
	}

	/* content */
	#content {
		/*width: 70%; 24-10 */
		width: 90%;
		padding: 3% 4%;
	}

	/* sidebar */
	#sidebar {
		width: 10%;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin-bottom: 2px;
	}

	/*header {
		background: url(../images/glide-header1600x240.png) center / cover no-repeat #006837;
		background-size: 100% 240px;
	}*/
	
	header img {
		position: absolute;
		width: 8%;
    	top: 50px; 
		left: 36px;	
	}
	
	#header {
		height: 240px;
	}
	
	#topmenu ul {
		top: 190px;
	}
	
	#topmenu .top li a {
		padding: 18px; 
	}
	
	/*23-10-2023 */
	.column1, .column2, .column3, .column4 {
		display: table-cell;
		vertical-align: middle; 	
		min-width: 20%;
		max-width: 23%;
		height: 554px!important;		/*height: 554px;*/
		
		background-color: #FFF;
  		border: 0px solid #FFF;
  		border-radius: 25px;
	}
	
	.column1, .column2, .column3 {
		float: left;
		margin-left: auto;
		margin-right: auto;
		padding:  0.5%;
	}
	
	.column4 {
		float: left;	/*right;*/
		padding-left:  0,5%;
		padding-right: 0;
	}

	.column1 a, .column2 a, .column3 a, .column4 a {
		width: 100%;
		min-width: 160px;
	}

	#img-pr {
		width: 100%; 
		min-width: 190px; 
		height: 262px;
	}
	
	#ttl {
		display:table-cell;
		height:72px;
		vertical-align:middle; 	

		font-size: 1.3em;
		text-align: center;
		font-weight: 700;	/* Cтандартный полужирный текст */
		color: rgba(0,0,0,1);
		margin-top: 20px;
    	margin-bottom: 14px;	
	}
	#pinfo {
		height:220px;
		font-size: 1.2em; /* !important; */
	}
	.nocontact {
		display: none;
	}
	.formhight {
		height: 50px!important;			
		background-color: #fff;
		margin: 1px!important;
	}	
}

/*****************************************************************************
  Горизонтальные планшеты и средние десктопы
  Device 1152 x 864
  Device 1024 x 768
******************************************************************************/
@media screen and (min-width: 992px) and (max-width: 1199px) {

	/* pagewrap */
	#pagewrap {
		width: 98%;
	}

	/* content */
	#content {
		/*width: 60%;24-10 */
		width: 90%;
		padding: 3% 4%;
	}

	/* sidebar */
	#sidebar {
		width: 10%;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin-bottom: 2px;
	}

	/*header {
		background: url(../images/glide-header992x232.png) center / cover no-repeat #006837;
		background-size: 100% 232px;
    }*/
	
	header img {
		position: absolute;
		width: 6%;
    	top: 64px; 
		left: 16px;	
	}
	
	#header {
		height: 240px;
	}
	
	#topmenu ul {
		top: 190px;
	}
	
	#topmenu .top li a {
		padding: 18px; 
	}
	
	.column1, .column2, .column3, .column4 {
		display: table-cell;
		vertical-align: middle; 	
		min-width: 28%;
		max-width: 31.3%;
		height: 549px!important;		/*height: 540px;*/
		
		background-color: #FFF;
  		border: 0px solid #FFF;
  		border-radius: 25px;
	}
	
	.column1, .column2, .column3 {
		float: left;
		margin-left: auto;
		margin-right: auto;
		padding:  1%;
	}
	
	.column4 {
		float: left;	/*right;*/
		padding-left:  1%;
		padding-right: 0;
	}

	.column1 a, .column2 a, .column3 a, .column4 a {
		width: 100%;
		min-width: 160px;
	}

	#img-pr {
		width: 100%; 
		min-width: 190px; 
		height: 250px;
	}
	
	#ttl {
		display:table-cell;
		height:68px;
		vertical-align:middle; 	

		font-size: 1.3em;
		text-align: center;
		font-weight: 700;	/* Cтандартный полужирный текст */
		color: rgba(0,0,0,1);
		margin-top: 20px;
    	margin-bottom: 14px;	
	}
	
	#pinfo {
		height:164px;
		font-size: 1.2em;
	}
	.nocontact {
		display: none;
	}
	.formhight {
		height: 50px!important;			
		background-color: #fff;
		margin: 1px!important;
	}	
}

/*****************************************************************************	
 Portrait tablets and small desktops 
 Портретные планшеты и маленькие десктопы
  Device 800 x 600
******************************************************************************/
@media screen and (min-width: 768px) and (max-width: 991px) {

	/* pagewrap */
	#pagewrap {
		width: 98%;
	}

	/* content */
	#content {
		/*width: 60%; 24-10 */
		width: 95%;
		padding: 1% 1%;
	}

	/* sidebar */
	#sidebar {
		width: 10%;
	}
	#sidebar .widget {
		padding: 1% 1%;
		margin-bottom: 5px;
	}
	
	/*header {
		background: url(../images/glide-header992x232.png) center / cover no-repeat #006837;
		background-size: 100% 232px;
    }*/
	
	header img {
		position: absolute;
		width: 8%;
    	top: 72px; 
		left: 8px;
	}
	
	#header {
		height: 240px;
	}
	
	#topmenu ul {
		top: 190px;
	}
	
	#topmenu .top li a {
		padding: 18px; 
	}
	
		/* ------------------------ */
	.column1, .column2, .column3, .column4 {
		display: table-cell;
		vertical-align: middle; 	
		min-width: 40%;
		max-width: 46%;
		/*height: 540px;*/
		
		background-color: #FFF;
  		border: 0px solid #FFF;
  		border-radius: 25px;
	}
	
	.column1, .column2, .column3 {
		float: left;
		margin-left: auto;
		margin-right: auto;
		padding:  1%;
	}
	
	.column4 {
		float: left;	/*right;*/
		padding-left:  1%;
		padding-right: 0;
	}

	.column1 a, .column2 a, .column3 a, .column4 a {
		width: 100%;
		min-width: 160px;
	}

	#img-pr {
		width: 100%; 
		min-width: 100px; 
		height: 280px;
	}
	
	#ttl {
		display:table-cell;
		height:45px;
		vertical-align:middle; 	

		font-size: 1.3em;
		text-align: center;
		font-weight: 700;	/* Cтандартный полужирный текст */
		color: rgba(0,0,0,1);
		margin-top: 10px;
    	margin-bottom: 20px;	
	}
	
	#pinfo {
		height:140px;
		font-size: 1.2em;
	}
	.nocontact {
		display: none;
	}
}

/*****************************************************************************	
Телефоны с горизонтальной ориентацией и планшеты с портретной ориентацией
******************************************************************************/
@media screen and (min-width: 480px) and (max-width: 767px) {
	
	/* search form */
	#searchform {
		position: absolute;
		top: 5px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 150px;
	}

	/* main nav */
	#main-nav {
		position: static;
	}

	/* site logo */
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		min-height: 250px;
	}
	
	/*header {
		background: url(../images/glide-header480x220.png) center / cover no-repeat #006837;
		background-size: 100% 232px;
    }*/
	
	header img {
		position: absolute;
		width: 10%;
    	top: 72px; 
		left: 16px;
	}
	
	#header {
		height: 240px;
	}
	
	#topmenu ul {
		top: 190px;
	}
	
	#topmenu .top li a {
		padding: 18px; 
	}
	
		/* ------------------------ */
	.column1, .column2, .column3, .column4 {
		display: table-cell;
		vertical-align: middle; 	
		width: 46%;
		
		background-color: #FFF;
  		border: 0px solid #FFF;
  		border-radius: 25px;
	}
	
	.column1, .column2, .column3 {
		float: left;
		margin-left: auto;
		margin-right: auto;
		padding:  1%;
	}
	
	.column4 {
		float: left;	/*right;*/
		padding-left:  1%;
		padding-right: 0;
	}

	.column1 a, .column2 a, .column3 a, .column4 a {
		width: 100%;
		min-width: 160px;
	}

	#img-pr {
		width: 100%; 
		min-width: 100px; 
		height: 250px;
	}
	
	#ttl {
		display:table-cell;
		height:68px;
		vertical-align:middle; 	

		font-size: 1.3em;
		text-align: center;
		font-weight: 700;	/* Cтандартный полужирный текст */
		color: rgba(0,0,0,1);
		margin-top: 10px;
    	margin-bottom: 20px;	
	}
	
	#pinfo {
		height:152px;
		font-size: 1.1em;
	}
	.nofooter {
		display: none;
	}
	.padd-p {
		padding: 0 10%;
	}	
}

/*****************************************************************************	
портретные телефоны и меньше
******************************************************************************/
/*@media screen and (min-width: 320px) and (max-width: 479px) {*/
@media screen and (max-width: 479px) {

	/* main nav */
	/*#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}*/
	
	/* search form */
	#searchform {
		position: absolute;
		top: 5px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 150px;
	}

	/* main nav */
	#main-nav {
		position: static;
	}

	/* site logo */
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		min-height: 250px;
	}
	
	/* ------------------------ */

	header {
		background: url(../images/glide-header480x220.png) center / cover no-repeat #006837;
		background-size: 100% 232px;
    	padding-top: 0px;		
    	padding-bottom: 0px;	
    }
	
	header img {
		position: absolute;
		width: 12%;
    	top: 80px; 
		left: 1px;	
	}
	
	#header {
		height: 240px;
	}
	
	#topmenu ul {
		top: 190px;
	}
	
	#topmenu .top li a {
		padding: 18px; 
	}
	
		/* ------------------------ */
	.column1, .column2, .column3, .column4 {
		display: table-cell;
		vertical-align: middle; 	
		width: 95%;
	}
	
	.column1, .column2, .column3 {
		float: left;
		margin-left: auto;
		margin-right: auto;
		padding:  1%;
	}
	
	.column4 {
		float: left;	/*right;*/
		padding-left:  1%;
		padding-right: 0;
	}

	.column1 a, .column2 a, .column3 a, .column4 a {
		width: 100%;
		min-width: 160px;
	}

	#img-pr {
		width: 100%; 
		min-width: 100px; 
		height: 360px;
	}
	
	#ttl {
		display:table-cell;
		height:45px;
		vertical-align:middle; 	

		font-size: 1.3em;
		text-align: center;
		font-weight: 700;	/* Cтандартный полужирный текст */
		color: rgba(0,0,0,1);
		margin-top: 10px;
    	margin-bottom: 20px;	
	}
	
	#pinfo {
		/*height:168px;*/
		font-size: 1.14em;
	}
	.nofooter {
		display: none;
	}
	.padd-p {
		padding: 0 10%;
	}
	
}

/*****************************************************************************	
портретные телефоны и очень маленькие
******************************************************************************/
@media screen and (max-width: 320px) {
	.notxt {
		display: none;
	}
}
