*
{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html, body
{
   width: 100%;
   height: 100%;
}

body
{
   font-family: tahoma;
   font-size: 100%;
   /*background: #e1e1e1;*/
   background: url(../images/bg.png) repeat;
}

a
{
  text-decoration: none;
  color: #3e7aa5;
}

a:hover
{
  text-decoration: none;
}

table
{
   border-spacing: 0;
   border-collapse: collapse;
}

td
{
   vertical-align: top;
}

.but, .del, .but2
{
  display: inline-block;
  padding: 5px 10px;
  border: 2px solid blueviolet;
  border-radius: 3px;
  font-size: 14px;
  color: blueviolet;
  cursor: pointer;
}

.del
{
  margin: 15px 0 0 0!important;
  border-color: red;
  background: red;
  color: #fff;
  font-size: 80%;
  padding: 3px;
}

.add
{
  display: inline-block;
  width: 100%;
  color: #fff;
  text-align: center;
  background: #56c2e1;
  border: 1px solid #46b3d3;
}

#enter{
    float: right;
    right: 15px;
    top: 0px;
    color: #fff;
    line-height: 70px;
    font-weight: bold;
    padding: 0 10px;
}
/*============================================================================*/

form p
{
   margin-bottom: 5px;
}

form input[type=text], form input[type=password]
{
   padding: 7px;
   margin-bottom: 15px;
   width: 100%;
}

form input[type=submit]
{
   padding: 7px 14px;
   margin-top: 10px;
}

/*============================================================================*/

#frame
{
   width: 100%;
   height: 100%;
}

#header
{
   height: 70px;
   background: #3e7aa5;
}

header
{
   max-width: 1200px;
   margin: auto;
}

#logo
{
   display: inline-block;
   color: #fff;
   line-height: 70px;
   font-weight: bold;
   padding: 0 10px;
}

.cont
{
   max-width: 1200px;
   margin: auto;
   padding: 20px 10px;
}

h1
{
   font-size: 120%;
   margin-bottom: 20px;
   font-weight: normal;
}

.pointer{
    cursor: pointer;
}
/*============================================================================*/
/*аккордеон*/
.ac-container{
	width: 100%;
	margin: 10px auto 30px auto;
	text-align: left;
}
.ac-container label{
	/*padding: 5px 20px;*/
	position: relative;
	z-index: 20;
	display: block;
	/*height: 30px;*/
	cursor: pointer;
	color: #777;
	/*text-shadow: 1px 1px 1px rgba(255,255,255,0.8);*/
	line-height: 33px;
	font-size: 19px;
	background: #ffffff;
	background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
	/*box-shadow:
		0px 0px 0px 1px rgba(155,155,155,0.3),
		1px 0px 0px 0px rgba(255,255,255,0.9) inset,
		0px 2px 2px rgba(0,0,0,0.1);*/
}
.ac-container label div{
    content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	right: 13px;
	top: 6px;
	background: transparent url(/images/arrow_down.png) no-repeat center center;
}
.ac-container label:hover{
	background: #eeb;
}
.ac-container input:checked + label,
.ac-container input:checked + label:hover{
	background: #c6e1ec;
	color: #3d7489;
	text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);
	/*box-shadow:
		0px 0px 0px 1px rgba(155,155,155,0.3),
		0px 2px 2px rgba(0,0,0,0.1);*/
}
.ac-container label:hover:after,
.ac-container input:checked + label:hover:after{
	content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	right: 13px;
	top: 6px;
	background: transparent url(/images/arrow_down.png) no-repeat center center;
}
.ac-container input:checked + label:hover:after{
	background-image: url(/images/arrow_up.png);
}
.ac-container input:checked + label div{
	background-image: url(/images/arrow_up.png);
}
.ac-container input{
	display: none;
}
.ac-container article{
	background: rgba(255, 255, 255, 0.5);
	margin-top: -1px;
	overflow: hidden;
	height: 0px;
	position: relative;
	z-index: 10;
	-webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}
.ac-container article p, .ac-container article form{
	font-style: italic;
	color: #777;
	line-height: 20px;
	/*font-size: 14px;*/
	/*padding: 20px;*/
	/*text-shadow: 1px 1px 1px rgba(255,255,255,0.8);*/
}
.ac-container input:checked ~ article{
	-webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	-ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
	/*box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);*/
}
.ac-container input:checked ~ article.ac-small{
	height: 220px;
}
.ac-container input:checked ~ article.ac-medium{
	height: 180px;
}
.ac-container input:checked ~ article.ac-large{
	height: 230px;
}

/*============================================================================*/

#add-old-anket{
    background: #f9f9f9;
    padding: 10px 10px;
    border: 1px dashed #ddd;
    max-width: 360px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

#add-anket p{
    padding: 0 15px 5px 15px;
    font-weight: bold;
}

.inline{
    display:inline;
}