body, html {
text-align:center;
height:100%;
margin:0;
padding:0;
}
img{border: none;}

/* modal window */

div#overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    min-width: 1200px;
    height: 100%;
    z-index: 999;
    text-align: center;
    display: table;
}

.svyazmodalmodule {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.overmod {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
}

.svyazmodalmodulebody {
    display: inline-block;
    width: 600px;
    min-height: 500px;
    background-color: #fff;
    text-align: center;
    position: relative;
    z-index: 50;
}

.svyazmodalmodule h3 {
    font-size: 26px;
    color: #000;
    font-family: Segoe UI Semibold;
    margin: 30px 0 20px;
    line-height: 26px;
}

.svyazmodalmodulebody tr, .svyazmodalmodule td {
    padding: 0;
    margin: 0;
}

.svyazmodalmodule table {
    margin: 0 auto;
}

.svyazmodalmodule input {
    height: 40px;
    padding: 0 10px;
    width: 420px !important;
    outline: none;
    border: none;
    box-shadow: inset 0 0 0 1px #c4c4c4;
    margin: 0 0 5px;
}

.svyazmodalmodule input:focus {
    box-shadow: inset 0 0 0 1px #6f6f6f;
	border: none;
	padding: 0 10px;
}

.svyazmodalmodule textarea {
    height: 40px;
    padding: 10px;
    width: 420px !important;
    outline: none;
    border: none;
    box-shadow: inset 0 0 0 1px #c4c4c4;
    margin: 0 0 5px;
    min-height: 60px;
}

.svyazmodalmodule textarea:focus {
    box-shadow: inset 0 0 0 1px #6f6f6f;
	border: none;
	padding: 10px;
}

.svyazmodalmodulebody .simpleCaptcha {
    border: none;
    padding: 0;
    width: 440px;
    text-align: left;
    font-size: 16px;
    font-family: Segoe UI;
    color: #666666;
}

.simpleCaptcha .captchaText {
    color: #000;
}

.svyazmodalmodulebody [type="submit"] {
    background-color: #da000b;
    width: 215px !important;
    height: 40px;
    color: #fff;
    font-size: 18px;
    font-family: Segoe UI Semibold;
    cursor: pointer;
    margin: 0 0 30px;
	box-shadow: inset 0 0 0 0px #da000b;
}

.svyazmodalmodulebody [type="submit"]:hover {
    background-color: #fff;
	color: #da000b;
	box-shadow: inset 0 0 0 1px #da000b;
}

.svyazmodalmodulebody div.refreshCaptcha {
    float: right;
}

/*---------------------------------------------
               ОСНОВНОЙ КОНТЕЙНЕР
---------------------------------------------*/

#main-container{
margin:0 auto;
text-align:left;
min-height:100%;
width: 100%;
min-width: 1200px;
}
* html #main-container{height:100%;}

.maincont {
    width: 1160px;
    padding: 0 20px;
    margin: 0 auto;
    min-height: 500px;
	position: relative;
}

/***************** Шапка сайта */
#header {
  position: relative;
  height: 180px;
}

.headcon {
  width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  height: 120px;
  z-index: 5;
}

#header:before {
  content: "";
  background: #293858;
  height: 120px;
  width: 100%;
  position: absolute;
}

#header:after {
  content: "";
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  height: 180px;
  background: url(/backup/images/headback.png) center center no-repeat;
  background-size: cover;
}

/************************** Хлебные крошки */
.pathway {
    border-bottom: 1px dotted #666;
    margin: 0 0 30px;
    padding: 0 0 10px;
    font-family: Arial;
    font-size: 12px;
}

.pathway a {
    color: #777777;
    text-decoration: none;
}

.pathway a:last-child {
    color: #6279ac;
}

/***************** Модульная позиция - TOP */
#top {
    margin: 20px 0;
    overflow: hidden;
    min-width: 1200px;
    width: 100%;
}

/***************** Левая колонка */
#left {
    padding: 0;
    float: left;
    line-height: normal;
    width: 360px;
    min-height: 800px;
}

/***************** Правая колонка */

#right {
    padding: 0;
    float: right;
    line-height: normal;
    width: 360px;
    min-height: 800px;
    position: absolute;
    top: 0;
    right: 20px;
}

/***************** Стили блока основного содержания */
#both{
    padding: 0 0;
    margin: 0 375px;
    min-height: 800px;
}
#only_left {
margin:0 0 0 220px;
padding:0 15px;
}
#only_right {
margin:0 220px 0 0;
padding:0 15px;
}

#no_sides {
    padding: 20px 0;
    margin: 0;
    min-height: 800px;
}

/***************** Модульная позиция - BOTTOM */
#bottom {
    margin: 15px 0 0;
    overflow: hidden;
    background-color: #b1b8c7;
}

.bottomcon {
    height: 290px;
    background: #384868;
}

.bottomcon:before {
    content: "";
    background: url(/backup/images/uzor.png) 0 0;
    height: 31px;
    width: 100%;
    position: absolute;
}

/***************** Clear block and Rasporka */
#clear{
height:0;
font-size:1px;
line-height:0px;
clear:both;
}
#rasporka {
    height: 60px;
    margin: 0px 0 0;
}


/*---------------------------------------------
                  ПОДВАЛ САЙТА 
---------------------------------------------*/
#footer {
    position: relative;
    height: 60px;
    margin: -60px 0 0;
    width: 100%;
    min-width: 1200px;
    background-color: #d4cfcf;
}

.footcon {
    width: 1160px;
    padding: 0 20px;
    margin: 0 auto;
    height: 60px;
    position: relative;
}

.leftfoot {
    float: left;
    height: 60px;
}

.midfoot {
    height: 60px;
    position: absolute;
    left: 510px;
}

p.copyright {
    font-size: 14px;
    color: #384868;
    font-family: Segoe UI;
    height: 60px;
    display: table-cell;
    vertical-align: middle;
}

p.copyright a {
    text-decoration: none;
    color: inherit;
}

.rightfoot {
    position: absolute;
    right: 20px;
    height: 60px;
}

.rfoot {
    display: table-cell;
    height: 60px;
    vertical-align: middle;
}

.rightfoot a {
    margin-left: 10px;
}

#footer p{ margin:0;}
/************************************ Счетчики */

/* TEKAMA */

#footer .tecama {
  height: 30px;
  display: inline-block;
  padding: 0;
  margin: 0px;
  position: relative;
  padding-right: 75px;
}

#footer .tecama a.tecamaimg {
  line-height: normal;
  padding: 10px 0 0;
  width: 85px;
  overflow: hidden;
  height: 17px;
  display: block;
}

a.tecamaimg img {
  min-width: 140px;
  height: 17px;
}

a.tecamatxt {
  position: absolute;
  top: 7px;
  right: 0;
  color: #6d6b6b;
  text-decoration: none;
  font-family: arial;
  width: 72px;
  font-size: 10px;
  text-align: left;
  line-height: 10px !important;
  float: none !important;
  margin: 0 !important;
}

a.tecamatxt:hover {
  color: #fff;
}

/* end */

/************************************ Модуля */
#left .module,
#right .module {
	margin:0 0 15px;
}
#left .moduletitle,
#right .moduletitle {
	font-size:18px;
	text-align:center;
	margin:0 0 10px
}
#left .modulebody,
#right .modulebody {}


/* ---- */
#usermenu, #authmenu {
  list-style: outside none none;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 2px;
  right: 30px;
}

#usermenu li,
#authmenu li {
  float: left;
  margin-left: 20px;
}

#usermenu li a,
#authmenu li a {
  color: #fff;
  text-decoration: underline;
}

#usermenu li a:hover,
#authmenu li a:hover {
  text-decoration: none;
}