/*------------------------------------------------------------------------------
 ******************* Файл адаптивных стилей: adaptive.css **********************
 ******************* Собственность компании WEBBERRIES *************************
 ******************* https://webberries.ru (C) 2018-2019 ***********************
 ******************* Для вопросов: webberries@yandex.ru ************************
 ******************* Дата обновления: 30.10.2019 *******************************
-------------------------------------------------------------------------------*/


/*------------------------------------------------------------------------------
 ******************* TABLETS SETTINGS ******************************************

@media screen and (min-width: 480px) and (max-width: 800px) {
	section, footer, header { width: 100%; min-width: 100%; padding: 0; overflow: hidden; }
	.container { width: 94%; overflow: hidden; margin: 0 auto; }

	section h2, section h3 {
		font-size: 1.8em;
	}

	div.overlay .window {
	  width: 90%;
	  padding: 10px;
	}

}
-------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------
 ******************* MOBILE SETTINGS *******************************************
 @media screen and (max-width: 479px) {
-------------------------------------------------------------------------------*/
@media screen and (max-width: 800px) {
 	section, footer, header { width: 100%; min-width: 100%; padding: 0; overflow: hidden; }
	div.container { width: 100%; overflow: hidden; margin: 0 auto; }

	h1, h2, h3 {
		font-size: 1.6em;
	}

	h3, h4, h5, h6 {
		font-size: 1.2em;
	}

	div.overlay .window {
	  width: 90%;
	  padding: 20px 10px 10px 10px;
	}

	header {
		height: unset;
		margin-top: 30px;
		padding-bottom: 30px;
	}
	
	header .logo {
		width: 50%;
		float: unset;
		margin: 0 auto;
	}

	header .contacts {
		float: unset;
		width: 100%;
		height: unset;
		text-align: center;
		line-height: unset;
	}

	header .contacts i {
		color: #ff8d44;
		font-size: 1em;
		position: relative;
		top: 0px;
	}

	header .contacts .location {
		margin-right: unset;
		margin-top: 0px;
		color: #fff;
		font-size: 1.2em;
		display: block;
		font-family: 'Roboto Condensed', sans-serif;
	}

	header .contacts .phone {
		margin-top: 20px;
		color: #fff;
		font-size: 1.2em;
		display: block;
		font-family: 'Roboto Condensed', sans-serif;
		font-weight: normal;
	}

	section.main-info {
		padding: 0 20px;
	}

	section.main-info .headers {
		position: relative;
		top: unset;
		transform: unset;
	}

	section.main-info .headersInside {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	section.main-info .b-2 {
		width: 100%;
		text-align: center;
	}

	section.main-info img {
		width: 100%;
		margin-left: unset;
	}

	section.main-info h2,
	section.main-info h1,
	section.main-info p {
		text-align: center;
	}

	section.main-info .phone-big > div {
		font-size: 1.25em;
	}

	section.order-top {
		padding: 0 20px 20px 20px;
	}

	section.order-top .b-3 {
		width: 100%;
		padding: 5px 0 0 0;
	}

	section.whywe {
		padding: 20px;
	}

	section.whywe .b-3 {
		width: 100%;
	}

	section.howwework {
		padding: 20px;
	}

	section.howwework .b-4 {
		width: 100%;
	}

	section.howwework .b-4 img {
		margin-bottom: 0;
	}

	section.howwework .b-4 i {
		display: none;
	}

	section.instrument {
		padding: 20px;
	}

	section.instrument .b-4 {
		width: 100%;
	}

	section.instrument .question {
		padding: 0;
		color: #fff;
		font-size: 0.9em;
		text-align: center;
		margin-top: 20px;
	}

	section.specialist {
		padding: 20px 20px 0 20px;
	}

	section.specialist .spec-overlay {
		display: none;
	}

	section.specialist .b-2 {
		width: 100%;
	}

	section.specialist .container {
		display: flex;
		flex-wrap: wrap;
	}

	section.specialist .man-spec {
		order: 2;
		margin-top: 30px;
	}

	section.specialist .spec {
		position: relative;
		top: unset;
		right: unset;
		transform: unset;
		order: 1;
	}

	section.specialist .spec h3 {
		font-size: 2em;
	}

	section.brands {
		padding: 20px;
	}

	section.brands h3 {
		font-size: 1.2em;
		margin-bottom: 20px;
	}

	section.brands .bx-wrapper .bx-pager.bx-default-pager {
		position: absolute;
		bottom: -15px;
	}

	section.brands .bx-wrapper .bx-pager.bx-default-pager a {
	  background: #fff;
	  text-indent: -9999px;
	  display: block;
	  width: 10px;
	  height: 10px;
	  margin: 0 2px;
	  outline: 0;
	  -moz-border-radius: 8px;
	  -webkit-border-radius: 8px;
	  border-radius: 8px;
	}
	section.brands .bx-wrapper .bx-pager.bx-default-pager a:hover,
	section.brands .bx-wrapper .bx-pager.bx-default-pager a.active,
	section.brands .bx-wrapper .bx-pager.bx-default-pager a:focus {
	  background: #c83200;
	}


	section.map {
		padding: 30px;
		height: unset;
	}

	section.map .contacts {
		position: relative;
		z-index: 100;
		right: unset;
		padding: 30px 0 20px 0;
		background: unset;
		color: #fff;
		font-size: 1.2em;
		text-align: center;
		line-height: 2;
		top: unset;
		transform: unset;
		box-shadow: unset;
	}

	footer .b-2 {
		width: 100%;
		padding: 20px 10px 0 10px;
	}

	footer .left,
	footer .right {
		text-align: center;
	}

	footer .right {
		padding-bottom: 20px;
	}


	div.overlay-catalog .window {
		width: unset;
		position: absolute;
		top: 50%;
		left: 15px;
		right: 15px;
		transform: translateY(-50%);
		z-index: 2;
		background: #fff;
		box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
		padding: 10px;
	}

	div.overlay-catalog .window .b-3 {
		padding: 0px;
		width: 100%;
	}

	div.overlay-catalog .window .b-3 input {
		height: 50px;
		line-height: 50px;
		padding: 0 8px;
		width: 100%;
	}

	div.overlay-catalog .window .b-3 input[type=submit] {
		text-transform: none;
		font-size: 0.8em;
	}

	div.overlay-catalog .window .close-btn {
		position: absolute;
		width: 30px;
		line-height: 30px;
		height: 30px;
		font-size: 1em;
		text-align: center;
		color: #fff;
		background: #c83200;
		top: 0;
		right: 0;
		cursor: pointer;
		transition: 0.5s;
	}

	div.overlay-catalog .window .close-btn:hover {
		background: #8b2908;
	}

	div.overlay-catalog .window .b-1 p {
		text-align: center;
		font-size: 0.8em;
		color: #111;
		margin-top: 0;
		padding-top: 0;
	}

	div.overlay-catalog .window .call-btn {
		height: 40px;
		line-height: 40px;
		padding: 0 15px;
		display: inline-block;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
		background: #c83200;
		color: #fff;
		font-size: 0.8em;
		margin-top: 15px;
		border-radius: 20px;
	}



}
