div.pricelist label
{
	width: 150pt;
	margin: 10pt 5pt 5pt 5pt;
	padding: 10pt;
	cursor: pointer;
}
div.pricelist label:hover
{
	border: 1px solid #000;
}
div.pricelist label b
{
	display: block;
}

div.new-form
{
	display: none;
	background-color: #fff;
	color: #000;
	border: 1px solid #314d5b;
	border-radius: 50pt;
	margin-left: 20%;
	margin-right: 20%;
	margin-top: 0pt;
	padding: 50pt;
	position: absolute;
	width: 60%;
	z-index: 999;
	min-width: 450pt;
}

div.new-form table tr td
{
	padding-top: 10pt;
}
.regular
{
	border: 1px solid #fff;
	background: #fff;
}
.choosed
{
	border: 1px solid #000;
	background: #314d5b;
	color: #fff;
}
div#promo
{
	color: #fff;
}


div.tariffs
{
	display: block;
	text-align: center;
	width: 100%;
}
div.tariffs table
{
	text-align: center;
	margin-top: 50pt;
}
div.tariffs tr
{
	/*cursor: pointer;*/
}
div.tariffs table td, div.tariffs table th
{
	border: 3px dashed #ccc;
	padding: 10pt;
	text-align: center;
}

div.tariffs table td:nth-child(1)
{
	text-align: left;
	min-width: 220pt;
}
div.tariffs table td:nth-child(3), div.tariffs table td:nth-child(4)
{
	padding-top: 29pt;
}
div.tariffs table th:nth-child(1)
{
	border-top: 0;
	border-left: 0;
}
div.tariffs table th
{
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
    -webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
}
div.tariffs table.margin-1
{
	margin-left: -100pt;
}
div.tariffs table.margin-2
{
	margin-left: 0pt;
}
div.tariffs table.margin-3
{
	margin-left: 100pt;
}

div.doc 
{
	width: 90%;
}

div.doc pre
{
	width: 600pt;
	white-space: pre-wrap;
	text-align: left;
}

div.clients
{
}

div.clients table th
{
	text-align: center;
}

div.clients table td
{
	border: 1px dashed #ccc;
	padding: 3pt;
}

div.clients table tr.joined:hover
{
	background: #ccc;
	cursor: pointer;
}
div.clients table tr.request_new
{
	background: #FF99CC;
}
div.clients table tr.request_call
{
	background: #FFCCFF;
}

div.script table td
{
	border: 1px solid #ccc;
	padding: 10pt;
	width: 49%;
}

table.contacts td
{
	text-align: left;
	padding: 10pt;
}
div.page-2
{
	padding: 200pt 200pt 50pt 50pt;
}

div.page
{
	padding: 200pt 200pt 0 200pt;
}

div.page h2
{
	padding: 10pt;
}

div.page small
{
	text-align: left;
}


#addresses
{
	position: absolute;
	width: 200pt;
	background-color: #fff;
	border: 1px solid #ccc;
	visibility: hidden;
}
div.address:hover
{
	background: #eee;
}

a.join
{
	border-radius: 3px;
	border: 1px solid #d61f29;
	transition: 0.2s;
} 

table.pay
{
	margin: 20pt;
}

table.pay td
{
	padding: 5pt;
}
table.pay input
{
	text-align: right;
}

input.error
{
	border: 1px solid #d61f29;
}

table.calendar th, table.calendar td
{
	padding: 5pt;
	min-width: 100pt;
	border: 1px dashed #ccc;
	text-align: center;
}
table.calendar div.joinhour
{
	background: #99FF99;
	font-size: 8pt;
	margin: 2pt;
}
table.calendar div.inet
{
	background: #FFCCCC;
}

table.calendar div.joinhour a
{
	color: #000;
	text-decoration: none;
}
table.calendar div.joinhour img
{
	cursor: pointer;
}
table.calendar div.comment
{
	border: 1px solid #FFCC00;
}

footer
{
	background: #000;
	font-family: Verdana, Arial;
	color: #ccc;
	font-size: 10pt;
}
footer a, footer a:visited, footer a:hover
{
	color: #ccc;
}
footer div
{
	padding: 50pt;
	vertical-align: top;
	display: inline-block;
	width: 30%;
}
footer div.pay
{
	text-align: right;
	line-height: 20pt;
	width: 39%;
}

@media screen and (max-width:679px) { /*479*/

	div.tariffs table
	{
		font-size: 10pt;
	}
	div.tariffs table td, div.tariffs table th
	{
		border: 2px dashed #ccc;
		padding: 2pt;
		min-width: 60pt;
	}
	div.tariffs table td:nth-child(1)
	{
		min-width: 80pt;
	}
	div.tariffs table th
	{
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
		-webkit-border-top-left-radius: 10px;
		-webkit-border-top-right-radius: 10px;
	}
	div.tariffs table.margin-1, div.tariffs table.margin-2, div.tariffs table.margin-3
	{
		margin-left: 0;
	}

	div.new-form
	{
		padding: 5pt;
		font-size: 11pt;
		margin: 0;
		width: auto;
		min-width: 400pt;
	}
	
	div.page
	{
		padding: 100pt 10pt 10pt 10pt;
	}
	div.doc pre
	{
		width: auto;
	}
	
	footer div
	{
		width: auto;
		padding: 10pt;
	}

	a.join
	{
		border: 0;
	} 
}

table.pricelist
{
	width: 100%;
}

table.pricelist th, td
{
	padding: 10pt;
}

table.pricelist th:first-child
{
	width: 70%;
}
table.pricelist th:nth-child(2), table.pricelist td:nth-child(2)
{
	text-align: center;
}

form.regular
{
	margin-top: 40pt;
	margin-bottom: 40pt;

}

form.regular label
{
	width: 150pt;
	display: inline-block;	
	color: #999;
}

form.regular input, form.regular textarea
{
	margin-top: 10pt;
}

form.regular textarea
{
	min-width: 300pt;
	min-height: 50pt;
}

form.regular input[type=submit]
{
	padding: 5pt;
	font-weight: bold;
}

div.clients-menu
{
	padding: 40pt;
	text-align: center;
}
div.clients-menu a
{
	margin: 5pt;
}

a.tel
{
	color: #000;
	text-decoration: none;
}

table.tvchannels
{
	margin-top: 30pt;
}
table.tvchannels td:nth-child(2)
{
	text-align: left;
}

div.tip
{
	padding: 20pt;
	border: 1px solid #ccc;
	background: #FFFF99;
}

div.bordered
{
	padding: 25pt;
	border: 1px solid #ccc;
}
div.bordered input
{
	height: 16pt;
	width: 30pt;
}

span.rounded
{
	border: 1px solid #bbb;
	border-radius: 3px;
}

div.calendar2
{
	display: flex;
	height: 700pt;
	overflow: auto;
	border: 3pt solid #ccc;
	margin-top: 10pt;
	min-width: 250pt;

}

div.calendar2 a
{
	text-decoration: none;
}
div.calendar2 div.half a
{
	background-color: #CC9999;
}

table.calendar2
{
	/*display: inline-block;*/
	border: 1px solid #ccc;
	width: 200pt;
}

table.calendar2 th
{
	display: block;
	height: 100pt;
	text-align: center;
	min-width: 100pt;
}

table.calendar2 td
{
	font-size: 10pt;
	border: 1px dashed #ccc;
	height: 55pt;
	padding: 0;
	margin: 0;
	line-height: normal;
	text-align: center;
	color: #999;
}

table.calendar2 td div
{
	margin: 2pt;
	text-align: left;
	color: #000;
}

table.calendar2 td div.plus
{
	text-align: center;
	padding: 5pt;
}

table.calendar2 td div.plus a
{
	text-decoration: none;
	border: 1px solid #ccc;
	padding: 5pt;
	border-radius: 3pt;
}

div.object
{
	border: 1px solid #ccc;
	padding: 5pt;
	border-radius: 5pt;
	text-decoration: none;
	margin: 5pt;
}

div.pool
{
	padding: 5pt;
	margin: 5pt;
	text-decoration: none;
	display: inline-block;
	vertical-align: top;
	min-width: 180pt;
	cursor: pointer;
	border-radius: 5pt;
}
div.pool:hover
{
	background-color: #ccc;
}

@media screen and (max-width: 768px) {
  div.object {
	display: block;
	min-width: 300px;
  }
}


div.selected
{
	background-color: #d61f29;
}
div.selected a
{
	font-weight: bold;
	color: #fff;	
}
div.works
{
	padding: 1px;
	background-color: #99CC99;
	font-family: arial, verdana;
	border-radius: 2pt;
}
div.works  a
{
	color: #000;
}
div.work-0, div.work-1, div.work-2, div.work-3, div.work-4, div.work-5
{
	/*height: 100%;*/
}
div.work-100, div.work-101, div.work-102, div.work-103, div.work-104, div.work-105
{
	background-color: #CC9999;
}
div.work-110, div.renewal
{
	background-color: #FFCCCC;
}
div.work-111
{
	background-color: #CCC;
}
div.result-1
{
	border: 1px solid green;
}
div.result-0
{
	border: 2px solid red;
}

label.sms
{
	border: 1px solid #ccc;
	cursor: pointer;
	padding: 5pt;
}
textarea.smstext
{
	width: 500pt;
	height: 100pt;
}

table.cells td
{
	border: 1px dashed #ccc;
}

span.counter
{
	border-radius: 5pt;
	background: #fff;
	padding-left: 3pt;
	padding-right: 3pt;
	color: #000;
	margin-left: 3pt;
}

img.unlink
{
	float: right;
	cursor: pointer;
}

span.anew
{
	border-radius: 5pt;
	border: 1px solid red;
	padding-left: 3pt;
	padding-right: 3pt;
}

table.calls
{
	
}

{
	border: 1px solid #ccc;
}

table.calls tr:hover
{
	background-color: #FFFFCC;
}

table.calls tr.call_done
{
	background: #999;
}