body{
    background-color: #CDB7B5;
}
#main {
    background-color: #f7efee5;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    color: #1f1f1f;
}

a {
    color: #00f;
	text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #111111;
    text-decoration: underline;
    font-weight: bold;
}

.active {
    background-color: #000;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
	font-size: 22px;
	text-transform: uppercase;
}

/* id for site*/
#siteborder {
    width: 100%;
    margin: 0 auto;
}

#logotype {
    width: 100%;
    height: 359px;
    background-image: url("../images/logo.png");
    background-position: center;
    background-repeat: no-repeat;
}

#siteurl {
    width: 100%;
    text-align: right;
    padding: 20px;
	font-size:18px;
}

#sitemail, #sitemail a, #sitemail a:hover {
    color: #0059b2;
    font-weight: bold;
}

.socialka table {
	float: right;
	margin: 0 20px;
}

.socialka img {
	width: 30px;
	}

.phonenumbers table{
    float: right;
	width: 100%;
	text-align: right;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    padding: 80px 90px 0 0;
}

#sitemail {
    width: 100%;
    text-align: right;
    margin: 0 0 0 0;
	    padding: 0 25px;
}

#brstyle {width: 100%; height: 20000px;} /* free space befor google advertisment */

/* class for site */

.topsearch {
    width: 960px;
    margin: 0;
}

.topmenu {
	    display: table-row-group;
    width: 100%;
    height: 45px;
    background-color: #f40b0b;
	font-size: 18px;
}

.topmenu table {
    float: left;

}

.topmenu td {
    border-right: 2px solid #ffffff;
    margin: 5px;
    padding: 2px;
	letter-spacing: 1px;


}

.topmenu a {
    margin: 0 19px;
    line-height: 33px;
    color: #ffffff;
    font-weight: bold;
}

.topmenu a:hover {
    color: #c8de00;
    text-decoration: none;
}

.topmenu div {
    float: right;
    margin: 40px;

}

.topmenu input, .topmenu button {
    border-radius: 10px;
}

.sidebar, .sidebar a {
    width: 100%;
    color: #ffffff;
}

.sidebar ul li {
    list-style: none;
    margin: 10px 0;
    padding: 10px;
    background-color: #ec1408;
    border-radius: 5px;
}

.sidebar ul {
    margin: 0;
    padding: 0;
}

.contentbox {
    width: 100%;
    float: right;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 1px;
    text-align: left;
	text-indent: 30px;
	padding:0px 3px;
}

.contentbox2 {
    width: 960px;
    float: right;
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 1px;
    text-indent: 20px;
    text-align: justify;
	background-color: #CDB7B5;
	text-indent: 40px;
}

.footer {
    position: relative;
	width: 100%;
	/*height: 50px;*/
	margin-bottom: 5px;
	margin-left: 0;
    background-color: #ec1408;
	float: left;
	font-size: 20px;
}

.footer a {
    color: #FFFFFF;
    font-weight: normal;
    text-decoration: none;
    margin: 0 30px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer table {
    margin: 0 auto;
}

.footer td {
    padding: 10px 0 5px 0;
}

.icons {
    text-align: center;
    height: 120px;
}

.icons img {
    margin: 20px 100px;
}

/* slider styles */
.sliderform {
    clear: both;
    width: 100%;
    background: #ec1408;
    padding-top: 25px;
}

.slider {
    /* Ширина контейнера */
    width: 100%;
    /* Внешние тступы сверху и снизу */
    margin: 0 auto;
    /* Внутренние отступы для ссылок navy */
    padding: 0 10px;
    /* Позиционирование */
    position: relative;

    background: #ec1408;
}
/* Двойной клик по кнопкам вперед/назад вызывает выделение всех элементов слайдера,
поэтому предотвращаем это */
.slider::-moz-selection { background: transparent; color: #fff; text-shadow: none; }
.slider::selection { background: transparent; color: #fff; text-shadow: none; }

.slide-list {
    position: relative;
    margin: 0 auto;
    padding: 0;
    /* Скроем то что выходит за границы */
    overflow: hidden;
    width: 100%;
	height:220px;
   /* margin-left: -20px;*/
    background: #FF7979;
}
.slide-wrap {
    position: relative;
    left: 0px;
    top: 0;
    /* максимально возможная ширина обертки слайдера */
    width: 10000000px;
}

.slide-wrap a{
    font: bold 15px monospace;
    color: black;
    text-decoration: none;
}

.slide-item {
    /* Ширина слайда */
    width: 278px;
    /* Внутренние отступы */
    padding: 10px;
    /* Обтекание */
    float: left;
    text-align:  center;
}
.slide-title a{
    /* Шрифт */
    font: bold 15px monospace;
    /* Указываем, что элемент блочный */
    display: block;
    color: black;
    text-decoration: none;
}
/* И еще не маловажные стили для кнопок навигации вперед/назад и старт/пауза */

/* навигация вперед/назад */
.navy {
    /* абсолютное позиционирование */
    position: absolute;
    top: 250px;
    z-index: 1;
    height: 100%;
    /* ширина элементов */
    width: 30px;
    cursor: pointer;
}
.prev-slide {
    left: 0;
    background:  url(bg/left-arrow.png) 0px 40% no-repeat;
    padding-left: 20px;
}
.next-slide {
    right: 0;
    background:  url(bg/right-arrow.png) 13px 40% no-repeat;
}
.navy.disable {
    background: #dbdbdb;
}
/* навигация старт/пауза */
.auto {
    width: 7px;
    height: 11px;
    cursor: pointer;
    margin: 10px auto;
}
.play {
    background: url(bg/play.png) center no-repeat;
}
.pause {
    background: url(bg/pause.png) center no-repeat;
}




/* навигация вперед/назад */
.navy {
    /* абсолютное позиционирование */
    position: absolute;
    top: 0;
    z-index: 1;
    height: 100%;
    /* ширина элементов */
    width: 30px;
    cursor: pointer;
}
.prev-slide {
    left: 0;
    background:  url(../images/s1.png) 15px 40% no-repeat;
    padding-left: 30px;
}
.next-slide {
    right: 0;
    background:  url(../images/s2.png) 0px 40% no-repeat;
    padding-right: 30px;
}
.navy.disable {
    background: #dbdbdb;
}
/* навигация старт/пауза */
.auto {
    width: 7px;
    height: 11px;
    cursor: pointer;
    margin: 10px auto;
}
.play {
    background: url(bg/play.png) center no-repeat;
}
.pause {
    background: url(bg/pause.png) center no-repeat;
}

.herniya {
    width: 880px;
    height: 1px;
    overflow: auto;
}

.spam {
    width: 900px;
    height: 1px;
    overflow: auto;
}

/* контактная форма */
#feedback-form {
  max-width: 400px;
  padding: 2%;
  border-radius: 3px;
  margin: 0 auto;
  text-align: left;
}
#feedback-form [required] {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 2%;
  padding: 2%;
  border: none;
  border-radius: 3px;
  box-shadow: 0 -1px 0 rgba(0,0,0,.05) inset, 0 1px 2px rgba(0,0,0,.2) inset, 0 0 transparent;
}
#feedback-form [required]:hover {
  box-shadow: 0 0 0 1px #7eb4ea inset, 0 1px 2px rgba(0,0,0,.2) inset, 0 0 transparent;
}
#feedback-form [required]:focus {
  outline: none;
  box-shadow: 0 0 0 1px #7eb4ea inset, 0 1px 2px rgba(0,0,0,.2) inset, 0 0 4px rgba(35,146,243,.5);
  transition: .2s linear;
}
#feedback-form [type="submit"] {
  padding: 2%;
  border: none;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset;
  background: #669acc;
  color: #fff;
}
#feedback-form [type="submit"]:hover {
  background: #5c90c2;
}
#feedback-form [type="submit"]:focus {
  box-shadow: 0 1px 1px #fff, inset 0 1px 2px rgba(0,0,0,.8), inset 0 -1px 0 rgba(0,0,0,.05);
}

.feednamecont {
	font-weight: bold;
	letter-spacing: 1px;
    font-size: 15px;
    line-height: 25px;
	text-align: left;
}
@media only screen and (min-device-width: 900px){
#main{
width: 1000px;
    margin: 0 auto;
}
}
@media only screen and (max-device-width: 900px){
#main{
width: 100%;
    margin: 0 auto;
}
	.topmenu {
	font-size: 12px;
	}
}
@media only screen and (max-device-width: 500px){
#main{
width: 100%;
    margin: 0 auto;
}
	.phonenumbers table{
    float: right;
	width: 100%;
	text-align: right;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    padding: 5px 0 0 0;
}
.phonenumbers tr{
    background: #fff;
    display: inline-table;
}
.topmenu tr{

}
.topmenu td {
    background: #f40b0b;
		display: table-row-group;
}
	.topmenu a{

	}
#left-m-d{
    display: none;
}
.sliderform {
    display: none;
}
.footer tr{

}
.footer td {
    background: #f40b0b;
		display: table-row-group;
}
	#sitemail{
	/*display: none;*/
	}
}