html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    color: #000;
    font: 14px Arial, Tahoma, Helvetica, Verdana;
    text-shadow: 0 0 1px transparent; /* google font pixelation fix */
}

/* Opera layout fix*/
body:before {
    /* thanks to Maleika (Kohoutec)*/
    content: "";
    height: 100%;
    float: left;
    width: 0;
    margin-top: -32767px; /* thank you Erik J - negate effect of float*/
}

a {
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

a.btn {
    text-decoration: none;
}

#wrap {
    width: 984px;
    margin: 0 auto;
    min-height: 100%;
}

#main {
/* overflow: auto; */
    padding-bottom: 170px;
}

#footer {
    position: relative;
    margin-top: -170px;
    height: 170px;
    clear: both;
}

#header {}

#header .logo {
    display: block;
    margin-top: 36px;
    float: left;
}

#header .search {
    display: block;
;    width: 300px;
    width: 200px;
    float: left;
    margin-top: 33px;
    margin-left: 30px;
    position: relative;
}

#header .search input {
    border-radius: 14px;
    border-color: #d4d2d2;
}

#header .search span {
    position: absolute;
    display: block;
    right: 12px;
    top: 4px;
    font-size: 14px;
    color: #8a8a8a;
    margin-top: 3px;
}

#header-block {
;    width: 385px;
    width: 485px;
    float: right;
    margin-top: 30px;
}

#header-block .phone-block {
    display: block;
    width: 120px;
    padding-left: 25px;
    color: #b8b8b8;
    font-size: 11px;
    background: url(img/phone.gif) no-repeat left;
    line-height: 10px;
    float: left;
    margin-top: 8px;
}

#header-block .header-phone {
    display: block;
    float: left;
    font-size: 22px;
    margin-top: 5px;
}

#login {
    float: right;
//background: url(img/login-bg.gif) no-repeat left;
;    margin-top: -2px;

font-size: 16px;
;margin-top: 8px;
}

#header-block a {
    display: block;
    height: 39px;
}

#header-block a span.user {
;Иконка в блоке входа в ЛК

    font-size: 16px;
;    margin-top: 6px;
margin-top: 1px;
    margin-left: 10px;
    margin-right: 10px;
    float: left;
}

#header-block a span.link {
    float: left;
    display: block;
    text-decoration: underline;
    margin-top: 9px;
    font-size: 11px;
    line-height: 10px;
}

#header-block a:hover span.link {
    text-decoration: none;
}

#empty {
    /*width: 100%;
    clear: both;
    margin-top: 30px;*/
}

#sidebar {
    width: 300px;
    float: left;
    margin-bottom: 20px;
}

#sidebar .service-block {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 3px;
}

#sidebar .service-block.inet {
    background: #8163a9;
}

#sidebar .service-block.tv {
    background: #39c;
}

#sidebar .service-block.phone {
    background: #63c145;
}
#sidebar .service-block.menu {
    background: #39c;
}
#sidebar .service-block.contacts {
    /* do not use border-color here */
    border-width: 2px;
    border-style: solid;

}

#sidebar .service-block .block-head {
    height: 52px;
    /* do not use border-bottom-color here */
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-shadow: #745998 1px;
    position: relative;
    width: 300px;
    left: -18px;
}

#sidebar .service-block.inet .block-head {
    border-color: #947ab6;
    -webkit-box-shadow: 0px 1px 0px 0px rgba(116, 89, 152, 1);
    -moz-box-shadow: 0px 1px 0px 0px rgba(116, 89, 152, 1);
    box-shadow: 0px 1px 0px 0px rgba(116, 89, 152, 1);
}

#sidebar .service-block.tv .block-head, #sidebar .service-block.menu .block-head {
    border-color: #51a8d4;
    -webkit-box-shadow: 0px 1px 0px 0px rgba(46, 137, 183, 1);
    -moz-box-shadow: 0px 1px 0px 0px rgba(46, 137, 183, 1);
    box-shadow: 0px 1px 0px 0px rgba(46, 137, 183, 1);
}

#sidebar .service-block.phone .block-head {
    border-color: #7aca61;
    -webkit-box-shadow: 0px 1px 0px 0px rgba(89, 173, 62, 1);
    -moz-box-shadow: 0px 1px 0px 0px rgba(89, 173, 62, 1);
    box-shadow: 0px 1px 0px 0px rgba(89, 173, 62, 1);
}

#sidebar .service-block.contacts .block-head {
    margin-left: -2px;
}

#sidebar .service-block .block-head h2 {
    text-transform: uppercase;
}
#sidebar .service-block.phone .block-head h2,
#sidebar .service-block.tv .block-head h2,
#sidebar .service-block.inet .block-head h2,
#sidebar .service-block.menu .block-head h2 {
    color: #fff;
}

#sidebar .service-block.phone .block-head h2 a,
#sidebar .service-block.tv .block-head h2 a,
#sidebar .service-block.inet .block-head h2 a {
    color: #fff;
}

#sidebar .service-block h2 {
    height: 40px;
    width: 280px;
    padding: 0 0 0 55px;
    margin: 0 0 0 15px;
    font-size: 18px;
}

#sidebar .service-block h2 span {
    height: 40px;
    display: table-cell;
    vertical-align: middle;
}

#sidebar .service-block.inet h2 {
    background: url(img/ico/ie-white-big.png) left no-repeat;
}

#sidebar .service-block.tv h2 {
    background: url(img/ico/tv-white-big.png) left no-repeat;
}
#sidebar .service-block.menu h2 {
    background: none;
}

#sidebar .service-block.phone h2 {
    background: url(img/ico/phone-white-big.png) left no-repeat;
}

#sidebar .service-block.contacts h2 {
    padding-left: 0;
}

#sidebar .service-block.contacts h2 .fa {
    padding: .2em .25em .15em;
    border-radius: 3px;
    border: none;
    color: #fff;
    font-size: 30px;
    margin-right: 10px;
}

#sidebar .service-block ul {
    list-style: none;
    margin: 0 0 -15px 0;
    padding: 15px 0 0 0;
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
}

#sidebar .service-block ul li {
    display: inline-block;
    margin-bottom: 15px;
    line-height: 20px;
}

#sidebar .service-block ul li a {
    color: #fff;
	font-size:13px;
}

#sidebar .service-block a {
text-decoration:none;
}
#sidebar .service-block a:active, #sidebar .service-block a:hover {
text-decoration:underline;
}

#sidebar .service-block ul li .fa {
    color: #fff;
    border-radius: 3px;
    width: 21px;
    height: 20px;
    text-align: center;
    margin-right: 6px;
}

#sidebar .service-block.contacts ul li span.glyphicon-phone-alt {
    color: red;
    margin-right: 4px;
}

#sidebar .service-block.contacts ul {
column-count:1;
    padding-top: 12px;
    padding-bottom: 0;
    margin-bottom: 0;
	width:280px;
}
#sidebar .service-block.contacts .phones-contact {
	padding-bottom:10px;
	border-bottom:#E5E5E5 1px solid;
	margin-bottom:10px;
}
#sidebar .service-block.contacts .phones-contact li {
    float: left;
    white-space: nowrap;
}
#sidebar .service-block.contacts ul li {
margin-bottom:10px;
}
#sidebar .service-block.contacts ul li:first-child {
margin-right:14px;
}

#sidebar .service-block.contacts p {
    margin-bottom: 4px;
}

#content {
    width: 660px;
    float: right;
    margin-bottom: 20px;
font-size:14px;
}

/* footer-white */
.footer-white-wrap {
    position: relative;
    width: 984px;
    height: 90px;
    margin: 0 auto;
}

.footer-white-copyright {
    width: 228px;
    padding-top: 20px;
    font-size: 12px;
    line-height: 1.5;
    color: #9e9e9e;
}

.footer-white-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 40px;
    left: 248px;
    width: 748px;
    font-size: 12px;
    text-transform: uppercase;
}

.footer-white-nav li {
    display: block;
    float: left;
    margin-left: 25px;
}

.footer-white-nav li:first-child {
    margin-left: 0;
}

.footer-white-nav li a {
    color: #000;
    text-decoration: underline;
}

.footer-white-nav li a:hover {
    text-decoration: none;
}

.footer-white-counters {
    position: absolute;
    top: 32px;
    right: 0;
}

/* /footer-white */

/* link-more */
a.link-more {
    color: #000;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
}

a.link-more:hover {
    text-decoration: underline;
}

a.link-more:before {
    display: inline-block;
    content: "\00f105";
    width: 15px;
    height: 15px;
    margin-right: 10px;
    padding-left: 1px;
    border-radius: 8px;
    text-align: center;
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 15px;
}

a.link-more.red:before {
    color: #fff;
    background: #f90404;
}

a.link-more.yellow:before {
    color: #000;
    background: #ffcd17;
}
/* /link-more */

/* ears */
#ear-left,
#ear-right {
    position: fixed;
    top: 30%;
    width: 200px;
    padding: 10px;
    border: 2px solid #fff;
font-size:13px;
}

#ear-left {
    left: -200px;
    background: #ffcd17;
    border-left: none;
border-radius: 0 0 7px 0;
}

#ear-right {
    right: -200px;
    border-right: none;
border-radius: 0 0 0 7px;
}

#ear-left .tip,
#ear-right .tip {
    position: absolute;
    top: -2px;
    width: 37px;
    height: 170px;
    cursor: pointer;
    border: 2px solid #fff;
}

#ear-left .tip {
    right: -37px;
    background: #ffcd17;
    border-radius: 0 7px 7px 0;
    border-left: none;
}

#ear-right .tip {
    left: -37px;
    border-radius: 7px 0 0 7px;
    border-right: none;
}

#ear-left .tip-text,
#ear-right .tip-text {
    position: absolute;
    bottom: -37px;
    left: 0;

    width: 170px;
    height: 37px;

    text-align: center;
    line-height: 37px;
    font-size: 16px;

    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);

    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;

    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

#ear-left .tip-text {
    color: #176a97;
}

#ear-right .tip-text {
    color: #fff;
}

@media (max-width: 992px) {
    #ear-left,
    #ear-right {
        display: none
    }
}
/* /ears */

#content .width60 {
width:60%;
float:left;
border:1px solid;
}
#content .width40 {
width:38%;
float:right;
border:1px solid;
}
#content .width50 {
width:50%;
float:left;
}
#content .width48 {
width:48%;
float:right;
}
#content .block-grey {
padding:10px;
background:#e6e7e8;
margin-bottom:20px;
}
.chanelLow{
		color:#aaa;
	}
.table-striped > tbody > tr.chanelItem td{
	background:#39c;
	color:#fff;
}
.plan-select {
    /*269abc
    background-image: linear-gradient(to bottom, #5bc0de 0px, #3d94d8  100%);
    */
    background-image: linear-gradient(to bottom, #e0e0e0 0px, #a0a0a0  100%);
    background-repeat: repeat-x;
    color:#ffffff;
    text-shadow:0 -1px 0 rgba(0,0,0,0.2);

    border-color:#999999;
}
.fancybox-title-outside-wrap {
background:#000;
color:#fff;
font-size:16px;
font-weight:bold;
padding:10px;
z-index:8030;
top:10px;
}
.fancybox-close{top:-28px; right:2px;}