body {
    font-family: 'Arial', sans-serif;
    background: url(../img/bg.png) no-repeat center top / cover;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
    color: #000000;
}

div, p, button, form, input, button, li, ul, nav {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

a, a:hover, a:active {
	text-decoration: none;
}

.container {
	width: 1240px;
	margin: 0 auto;
}

.clearfix:after {
    content:'';
    display: table;
    width: 100%;
}

.left {
    float: left;
}

.right {
    float: right;
}

.wrap {
	box-shadow: 0 0 30px 30px rgba(0,0,0,0.3);
}

/* ГЛАВНАЯ */

/* Шапка */

header {
	font-family: 'Open Sans Condensed', 'Arial', sans-serif;
	font-weight: 900;
}

.header {
    background: #d56e62 url(../img/top-bg.png) no-repeat left top;
}

.logo {
	color: #480103;
    padding-left: 22px;
	padding-top: 28px;
	font-size: 48px;
	font-weight: 900;
	text-shadow: white 2px 0px, 
	             white 2px 2px, 
	             white 0px 2px, 
	             white -2px 2px, 
	             white -2px 0px, 
	             white -2px -2px, 
	             white 0px -2px, 
	             white 2px -2px, 
	             white 0 0 3px, 
	             white 0 0 3px, 
	             white 0 0 3px, 
	             white 0 0 3px, 
	             white 0 0 3px, 
	             white 0 0 3px, 
	             white 0 0 3px, 
	             white 0 0 3px;
}

.header__contacts {
	color: white;
	padding-right: 22px;
	font-size: 25px;
	text-align: right;
	line-height: 33.29px;
	text-shadow: #2f2917 2px 0px, 
	             #2f2917 2px 2px, 
	             #2f2917 0px 2px, 
	             #2f2917 -2px 2px, 
	             #2f2917 -2px 0px, 
	             #2f2917 -2px -2px, 
	             #2f2917 0px -2px, 
	             #2f2917 2px -2px, 
	             #2f2917 0 0 3px, 
	             #2f2917 0 0 3px, 
	             #2f2917 0 0 3px, 
	             #2f2917 0 0 3px, 
	             #2f2917 0 0 3px, 
	             #2f2917 0 0 3px, 
	             #2f2917 0 0 3px, 
	             #2f2917 0 0 3px;
	margin-top: -32px;
}

.header__email {
	padding-top: 15px;
	padding-bottom: 90px;
}

.menu {
	background: #131313;
}

.menu ul {
	width: 840px;
	margin: 0 auto;
}

.menu ul a {
	color: white;
	text-transform: uppercase;
	font-family: 'Roboto Condensed', 'Arial', sans-serif;
	font-size: 18px;
	font-weight: 100;
	padding: 18px 31px 17px;
}

.menu ul li {
	float: left;
	display: block;
	padding-top: 18px;
	padding-bottom: 17px;
}

.menu ul a:hover, .menu ul a:active {
	background: #302917;
	text-decoration: none;
	padding: 18px 31px 17px;
}

.active {
	background: #302917;
}

.tm_sub_menu {
	display: no
}

#main {
	background: rgba(247,247,247,1);
background: -moz-linear-gradient(top, rgba(247,247,247,1) 0%, rgba(246,246,246,1) 47%, rgba(221,221,221,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(247,247,247,1)), color-stop(47%, rgba(246,246,246,1)), color-stop(100%, rgba(221,221,221,1)));
background: -webkit-linear-gradient(top, rgba(247,247,247,1) 0%, rgba(246,246,246,1) 47%, rgba(221,221,221,1) 100%);
background: -o-linear-gradient(top, rgba(247,247,247,1) 0%, rgba(246,246,246,1) 47%, rgba(221,221,221,1) 100%);
background: -ms-linear-gradient(top, rgba(247,247,247,1) 0%, rgba(246,246,246,1) 47%, rgba(221,221,221,1) 100%);
background: linear-gradient(to bottom, rgba(247,247,247,1) 0%, rgba(246,246,246,1) 47%, rgba(221,221,221,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#dddddd', GradientType=0 );
}

/* Боковое меню */

.side-menu {
	width: 320px;
	padding: 27px 23px 45px 22px;
/*padding: 27px 0 45px 22px;*/
}

.side-menu__items li {
	display: block;
	width: 275px;
	padding-bottom: 6px;
}

.side-menu__items a {
	display: block;
	font-family: 'Roboto Condensed', 'Arial', sans-serif;
	font-size: 18px;
	padding-top: 14px;
	padding-bottom: 15px;
	padding-left: 19px;
	background: #ae2524;
	color: white;
}

.side-menu__items a:hover, .side-menu__items a:active, .side-menu__active a {
    background: #302917;
    text-decoration: none;
}

.main__img {
	margin-top: 40px;
	width: 275px;
	height: 210px;
	margin-bottom: 40px;
}

.main__content {
	width: 900px;
}

footer {
	font-family: 'Open Sans Condensed', 'Arial', sans-serif;
	color: white;
	background: #302917
}

.copyright {
	font-size: 18px;
	padding: 21px 22px;
}

.copyright__line {
	width: 1px;
	height: 18px;
	background: white;
	margin: 5px;
}

.galaktika {
	float: right;
	padding-right: 22px;
	background: url(../img/galaktika.png) no-repeat left 21px;
	padding-top: 15px;
	display: block;
}

.galaktika__link, .galaktika__link:hover, .galaktika__link:active {
	color: white;
}

.galaktika__text {
	text-align: left;
	line-height: 18px;
	padding-left: 40px;
}

.galaktika__text span {
	text-decoration: underline;
}

/* Контент Контакты */

.main__content .main__phone {
	font-size: 18px;
	line-height: 30px;
	text-indent: 0px;
}

.main__content .form__heading {
	padding-top: 27px;
	padding-bottom: 25px;
	font-size: 24px;
	text-indent: 0px;
}

input {
	width: 100%;
	padding: 12px 10px;
	font-family: 'Arial', sans-serif;
	font-size: 18px;
	border: 1px solid black;
	margin-bottom: 10px;
}

textarea {
	/*width: 100%;*/
	width: 478px;
	padding: 12px 10px 50px;
	font-family: 'Arial', sans-serif;
	font-size: 18px;
	border: 1px solid black;
	resize: none;
	overflow: hidden;
}


form .captcha {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	width: 478px;
	margin: 0 0 10px;
}

form .captcha > * {
	margin: 0 20px 0 0;
	vertical-align: middle;
}

form .captcha .buttons img {
	margin: 0 10px 0 0;
	line-height: 0;
	vertical-align: middle;
}

form input.cptch {
	display: inline-block;
	width: 130px;
}

.main__content .form__spam-protection {
	font-size: 18px;
	color: #6c6c6c;
	padding: 9px 0 12px;
	text-indent: 0px;
}

.captcha input  {
	width: 170px;
	height: 48px;
	margin-right: 20px;
}

.main__content .form__fields {
	font-style: italic;
	color: #6c6c6c;
	font-size: 16px;
	text-indent: 0px;
}

.button {
	color: white;
	box-shadow: 7px 7px 10px 0px rgba(0,0,0,0.6);
	margin-top: 24px;
	margin-bottom: 40px;
	font-size: 24px;
	padding: 5px 25px 8px;
	border: 5px solid #598527;
	border-radius: 4px;
	outline: none;
    width: 185px;
    background: rgba(117,154,75,1);
	background: -moz-linear-gradient(-45deg, rgba(117,154,75,1) 0%, rgba(74,111,32,1) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(117,154,75,1)), color-stop(100%, rgba(74,111,32,1)));
	background: -webkit-linear-gradient(-45deg, rgba(117,154,75,1) 0%, rgba(74,111,32,1) 100%);
	background: -o-linear-gradient(-45deg, rgba(117,154,75,1) 0%, rgba(74,111,32,1) 100%);
	background: -ms-linear-gradient(-45deg, rgba(117,154,75,1) 0%, rgba(74,111,32,1) 100%);
	background: linear-gradient(135deg, rgba(117,154,75,1) 0%, rgba(74,111,32,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#759a4b', endColorstr='#4a6f20', GradientType=1 );
}

/* Галерея */

.counter {
	width: 100%;
	font-size: 18px;
	padding-top: 18px;
	padding-bottom: 18px;
	margin-right: 22px;
}

.counter p {
	color: #ad2523;
	text-decoration: underline;
}

.counter a, .counter a:hover, .counter a:active {
	color: black;
}

/* Один альбом */

.album .album__item {
    font-size: 16px;
    padding-bottom: 20px;
}

.album .album__item a, .album .album__item a:hover, .album .album__item a:active {
	color: black;
	text-decoration: none;
}

.album .album__name {
	text-decoration: underline;
}

.album__item p {
	text-indent: 0 !important;
}

.album p, .album span, .album__item span {
	text-indent: 0 !important;
}

.album .album__photo {
      width: 212px;
      height: 160px;	
}

.album .album__photos_item {
	margin-right: 17px;
	margin-bottom: 28px;
	float: left;
}

.album .album__photos_item:nth-child(4n) {
	margin-right: 0px;
}

.album .album__link {
	display: block;
	text-indent: 0;
	font-size: 16px;
	float: left;
	width: 100px;
}

.main__content .album__item {
	text-indent: 0 !important;
}

/* Фотогалерея */

.main__content .albums__name {
	font-size: 18px;
	padding-top: 5px;
	padding-bottom: 22px;
	text-indent: 0;
}

.albums__item {
	margin-right: 19px;
	float: left;
}

.albums__item img {
	width: 287px;
	height: 215px;
}

.albums__item:nth-child(3n) {
	margin-right: 0;
}

.albums__item a, .albums__item a:hover {
	color: black;
}

div.counter span:first-child, div.counter a:first-child {
    background: url('/img/arrow-left.png') center center no-repeat;
}

div.counter a, div.counter span {

    display: inline-block;
    width: 26px;
    height: 26px;
    text-align: center;
    color: #000 !important;
    text-decoration: none !important;
    vertical-align: middle;
}

div.counter span:last-child, div.counter a:last-child {
    background: url('/img/arrow-right.png') center center no-repeat;
}

div.counter a, div.counter span {
    display: inline-block;
    width: 15px;
        text-align: center;
    color: #000 ;
    text-decoration: none ;
    vertical-align: middle;
}

/* Активный элемент */
div.counter .p {
    color: #ad2523 !important;
	text-decoration: underline !important;
}




