/* ================ стили хедара ================ */
.header {
	background: url(../img/template/bg.jpg);
}
.theme-purple .header {
	background: #3e1865;
}
.header>div {
	height: 290px;
	line-height: 290px;
}
.header img {
	vertical-align: top;
}

.theme-purple .logo span {
  color: #fff;
  font-size: 56px;
  vertical-align: bottom;
  line-height: 70px;
}

.social {
	display: inline-block;
	background: url(../img/template/social_icons.png);
	width: 42px; height: 42px;
	margin: 5px 5px 10px;
	border-radius: 50%;
	vertical-align: bottom;
}
.theme-purple .social {
	background: url(../img/template/social_icons_purple.png);
}
.social.vk {background-position-x: -42px}

.theme-purple .menu-btn,
.theme-purple .sidebar-right {
	min-height: 800px;
}

.theme-purple .menu-btn {
	background-image: url(../img/template/left-col-bg.png);
  background-repeat: no-repeat;
  background-size: 94px 670px;
  background-position: 48% 99px;
}

.left-btn, .right-btn {
	vertical-align: middle;
	text-align: center;
	font-weight: bold;
	line-height: 1;
	width: 66px;
	margin: 35px auto 45px;
}
.theme-purple .left-btn, .theme-purple .right-btn {
	margin: 35px auto 56px;
	color: #fff;
}
.icon-search a, .icon-mychoose a {color: #333;}
.theme-purple .icon-search a, .theme-purple .icon-mychoose a {color: #fff;}

.theme-purple .icon-search span,
.theme-purple .icon-mychoose span {
	display: inline-block;
	width: 52px; 
	height: 51px;
}
.theme-purple .icon-search span {
	background-image: url(../img/template/icon-search-purple.png);
}
.theme-purple .icon-mychoose span {
	background-image: url(../img/template/icon-mychoose-purple.png);
}
.main {
	margin-top: 10px;
}

.theme-purple .sidebar-right {
	background-image: url(../img/template/right-col-bg.png);
  background-repeat: no-repeat;
  background-size: 100px 670px;
  background-position: 66% 112px;
}

@media (max-width: 767px) {
	.header {
		background: none;
	}
	.header>div {
		height: 176px;
		line-height: 176px;
	}
	
	.theme-purple .logo span {
	  font-size: 40px;
	  line-height: 50px;
	}
	.social {
		width: 34px; height: 34px;
		background: url(../img/template/social_icons_mobile.png);
	}
	.theme-purple .social {
		background: url(../img/template/social_icons_purple_mobile.png);
	}
	.social.vk {background-position-x: -34px}

	.theme-purple .menu-btn,
	.theme-purple .sidebar-right {
		min-height: auto;
		background: none;
	}

	.theme-purple .left-btn {
		margin: 7px 45px 20px 0;
		color: #3e1865;
	}
	.left-btn {
		display: inline-block;
		position: relative;
		margin: 7px 45px 20px 0;
	}
	.icon-mychoose {
		top: 8px;
	}
	.theme-purple .icon-search span {
		background-image: url(../img/template/icon-search-purple-mobile.png);
	}
	.theme-purple .icon-mychoose span {
		background-image: url(../img/template/icon-mychoose-purple-mobile.png);
	}
	.left-btn img {
		vertical-align: middle;
	}
	.theme-purple .left-btn.icon-logo img {
		width: 100%;
	}
	.navbar-header {
		display: inline-block;
	}
	.right-btn {
		display: none;
	}	
}

@media (max-width: 560px) {
 .header>div {
		width: 100%;
		height: auto;
		line-height: normal;
	}
	.theme-purple .logo img {
		width: 140px;
		height: auto;
	}
}
@media (max-width: 500px) {
	.header img {max-width: 100%;}
	.theme-purple .left-btn,
	.left-btn {
		margin-right: 0;
	}
}

/* ================ стили кнопки главного меню ================ */

.navbar-header {
	display: none;
	vertical-align: middle;
	margin-left: 5px;
}
.navbar-header>div {
	display: block;
	width: 50px;
	text-align: center;
	font-weight: bold;
}
.navbar-header button {
	float: none;
	margin: -3px 0 1px 0;
	padding: 1px 5px;
	border-radius: 0;
}
.theme-red .navbar-header button {border: 4px solid #bc1e2c;}
.theme-orange .navbar-header button {border: 4px solid #ea8a00;}
.theme-purple .navbar-header button {border: 4px solid #3e1865;}
.theme-green .navbar-header button {border: 0;}
.theme-green .menu {
	height: 42px;
	margin: 10px 0 0;
	padding: 0 15px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	background-color: #016a14;
}
.theme-green .menu a {
	line-height: 42px;
	color: #fff;
}

button span {
  margin: 4px 0 !important;
  width: 32px !important;
  height: 4px !important;
}
.theme-red button span {background: #bc1e2c;}
.theme-green button span {background: #fff;}
.theme-orange button span {background: #ea8a00;}
.theme-purple button span {background: #3e1865;}

@media (max-width: 767px) {
	.navbar-header {
		display: inline-block;
	}
	.theme-green .navbar-header {
		float: right;
	}
	.theme-green .navbar-header button {
		margin: 1px 0 0;
	}
	.theme-green .menu {
		margin: 10px 0 0;
	}
	.menu-btn, .menu-body {
		position: relative;
	}
	.theme-red .menu-btn {
		border-top: 10px solid #bc1e2c;
		border-bottom: 10px solid #bc1e2c;
	}
	.theme-green .menu-btn {
		border-top: 10px solid #016a15;
		border-bottom: 10px solid #016a15;
	}
	.theme-orange .menu-btn {
		border-top: 10px solid #ea8a00;
		border-bottom: 10px solid #ea8a00;
	}
	.theme-purple .menu-btn {
		border-bottom: 10px solid #3e1865;
	}
}
@media (max-width: 500px) {
	.menu-btn {
		text-align: center;
	}

	.menu-btn, .menu-body {
		padding: 0;
	}
	button {
		margin-right: 0 !important;
		margin-left: 240px;
	}
}

/* ================ стили главного меню ================ */
.menu-body {
	padding: 0;
}
#mainmenu {
	padding: 0;
	margin: 0 -5px;
}
#mainmenu ul {
	width: 100%;
	margin: 15px 0 0;
	padding-bottom: 15px;
}
.theme-green #mainmenu ul {
	padding-bottom: 0;
}
.theme-red #mainmenu ul {border-bottom: 10px solid #bc1e2c;}
.theme-green #mainmenu ul {
	border-bottom: none;
	margin-top: 5px;
}
.theme-purple #mainmenu ul {
	border-bottom: 10px solid #3e1865;
	margin-top: 5px;
}
.theme-orange #mainmenu ul {border-bottom: 10px solid #ea8a00;}
.theme-purple #mainmenu ul {border-bottom: 10px solid #3e1865;}

#mainmenu li {
	padding: 5px 0;
}
#mainmenu li a {
	height: 44px;
	margin: 0 5px;
	padding: 0 15px;
	color: #000;
	font-size: 12px;
	font-weight: bold;
	line-height: 24px;
	text-transform: uppercase;
}
.theme-red #mainmenu li a {border: 10px solid #bc1e2c;}
.theme-green #mainmenu li a {border: 10px solid #016a15;}
.theme-purple #mainmenu li a {border: 10px solid #3e1865;}
.theme-orange #mainmenu li a {
	background-color: #ea8a00;
	border: 0;
	color: #fff;
	padding: 9px 15px;
	height: auto;
	min-height: 44px;
	line-height: 1;
}

.theme-red #mainmenu li:first-child a,
.theme-red #mainmenu li:first-child+li a,
.theme-red #mainmenu li:first-child+li+li a,
.theme-purple #mainmenu li:first-child a,
.theme-purple #mainmenu li:first-child+li a,
.theme-purple #mainmenu li:first-child+li+li a {
	line-height: 44px;
	color: #fff;
	border: 0 !important;
}
.theme-red #mainmenu li:first-child a,
.theme-purple #mainmenu li:first-child a {
	background-color: #016a14;
}
.theme-red #mainmenu li:first-child + li a,
.theme-purple #mainmenu li:first-child + li a {
    background-color: #2e76bc;
}
.theme-red #mainmenu li:first-child+li+li a,
.theme-purple #mainmenu li:first-child+li+li a {
	background-color: #ea8a00;
}
@media (min-width: 992px) and (max-width: 1199px) {
	.theme-orange #mainmenu li a {height: 54px;}
	.theme-green #mainmenu li a {height: 54px; line-height: 16px;}
}
@media (min-width: 768px) and (max-width: 991px) {
	.theme-orange #mainmenu li a {height: 66px;}
	.theme-green #mainmenu li a {height: 54px; line-height: 16px;}	
}
@media (max-width: 767px) {
	#mainmenu ul {
		margin-top: 5px;
		padding-bottom: 7px;
	}
	.theme-green #mainmenu ul {
		border-bottom: 10px solid #016a15;
	}
	.theme-green #mainmenu li a {
		margin: 0;
	}
	.theme-red #mainmenu li a, 
	.theme-orange #mainmenu li a,
	.theme-purple #mainmenu li a {
		border-left: 0 !important; 
		border-right: 0 !important;
		border-bottom: 0 !important;
		margin: 0;
	}
	.theme-red #mainmenu li a {border-top: 10px solid #bc1e2c;}
	.theme-orange #mainmenu li a {border-top: 0;}
	.theme-purple #mainmenu li a {border-top: 10px solid #3e1865;}

	#mainmenu .last-item {
		margin-bottom: -10px;
	}
	#mainmenu .last-item a {
		padding-top: 5px;
	}
}

/* ================ стили футера ================ */
.footer {
	max-width: 80%;
	margin: 10px auto 0;
	padding: 10px 0;
	line-height: 100px;
}
.theme-red .footer {border-top: 10px solid #bc1e2c;}
.theme-green .footer {border-top: 10px solid #016a15;}
.theme-orange .footer {border-top: 10px solid #ea8a00;}
.theme-purple .footer {border-top: 10px solid #3e1865;}

.footer ul {
	list-style-type: none;
}
.footer li {
	display: inline-block;
	text-align: center;
}

@media (max-width: 767px) {
	* {
		margin: 0;
		padding: 0;
	}
	.footer {	
		max-width: 100%;
		margin: 10px -15px;
		max-width: none;
		padding: 0;
		line-height: 80px;
	}
	.footer div {
		padding: 0;
	}
	.footer ul {
		padding: 0;
	}
	.footer li {
		width: 33%;
	}
	.footer img {
		max-width: 90%;
	}
}

/* ======= удалить ======= */
.right-btn {
	display: none;	
}