html {
position: relative;
height: 100%;
min-height: 100%;
//background: #fff url(/images/main-bg.png) repeat-x center top;
}

body {//background-color: #f17116; //background-color: #f17116;

/* Margin bottom by footer height */
height: 100%;
//margin-bottom: 60px;
//background: radial-gradient(circle, #7eb4ff, #4F78C3);
//background: url(/images/main-bg2.png) no-repeat center top;
}

#footer {
//position: absolute;
//bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
//height: 80px;
//background-color: #f5f5f5;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
//padding: 60px 15px 0;
}

.navbar-default {//background-color: #f17116; }
.container .text-muted {
margin: 20px 0;
}

#footer > .container {
padding-right: 15px;
padding-left: 15px;
}

/* Preloader */

//#page-preloader {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: #fff;
z-index: 100500;
}

//#page-preloader .spinner {
width: 32px;
height: 32px;
position: absolute;
left: 50%;
top: 50%;
background: url(/images/loader.gif) no-repeat 50% 50%;
margin: -16px 0 0 -16px;
}

//#page-preloader .text {
position: absolute;
left: 50%;
top: 50%;
margin: 16px 0 0 -28px;
}

/* end Preloader */

#overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
opacity: 0.8;
}

.topbar {
height: 105px;
//background: #68758e;
//background: linear-gradient(to bottom, #68758e 0, #68758e 100%);
position: relative;
//z-index: 9999;
}

#headerblock {
//position: fixed;
width: 100%;
z-index: 21;
}

//#headerblock.fixed {
position:fixed;
top:0;
left:0;
width:100%;
display: block;
z-index: 9999;
}

.carousel {
height: auto;
//margin-bottom: 60px;
}

.carousel-caption {
z-index: 10;
}

.carousel .item {
height: auto;
//background-color: #777;
background-image: url(/images/slider-bg.jpg);
background-repeat: repeat-x;
}

.carousel-inner > .item > img {
//position: absolute;
top: 0;
left: 0;
//float: right;// margin-right:30px;
//min-width: 100%;
//height: auto;
}

//.carousel .carousel-inner .bg {
background-repeat: no-repeat;
background-size: cover;
}

//.carousel .carousel-inner .bg1 {
background-image: url(/images/internet-plus-tv.png);
background-position: center top;
}

.tarif {
display: table;
width: 180px;
height: 180px;
border-radius: 180px;
//border: 1px solid #1C9DE8;
margin: 0 auto;
background-color: rgba(0,0,0,0.05);
margin-bottom: 16px;
}

.tarif:hover {
display: table;
width: 180px;
height: 180px;
border-radius: 180px;
//border: 1px solid #fff;
margin: 0 auto;
background-color: #1C9DE8;
margin-bottom: 16px;
}

.tarif-block {
display: table-cell;
vertical-align: middle;
font-size: 16px;
color: #1C9DE8;
margin-bottom: 16px;
}

.tarif-block span {
font-size: 20px;
font-weight: bold;
}

.tarif-block:hover {
display: table-cell;
vertical-align: middle;
font-size: 16px;
color: #fff;
margin-bottom: 16px;
}



@media (max-width: 368px) {
#beforeafter > div > img {
width: 300px;
}
}

.box {
padding: 20px;
display: none; 
margin-top: 20px;
border: 1px solid #eee; /*  border: 1px solid #000; */
}

.box-show {
padding: 20px;
display: block;
margin-top: 20px;
border: 1px solid #eee; /* border: 1px solid #000;   */
}

.internet-block { background: #fefefe; }
.tv-block { background: #fefefe; }

input + span {
width: 18px;
height: 18px;
background-image: url(/images/icons/glyphicons-154-unchecked.png);
}

input:checked + span {
width: 18px;
height: 18px;
background-image: url(/images/icons/glyphicons-153-check.png);
}

/*   index  */

.btn-internet {
width: 100%;
font-weight: normal;
text-align: left;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 12px 12px;
font-size: 18px;
line-height: 1.42857143;
border-radius: 4px 4px 0px 0px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #fff;
background-color: #253040;
border-color: #253040;
}

.btn-tv {
width: 100%;
font-weight: normal;
text-align: left;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 12px 12px;
font-size: 18px;
line-height: 1.42857143;
border-radius: 4px 4px 0px 0px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #fff;
background-color: #253040;
border-color: #253040;
}

.labels-input {
text-align: left;
}

.labels-input span {
color: #ff0000;
}


/*   internet */

.tarif_line { border: solid 1px #eee;padding:5px; margin:2px;}
.tarif_line:hover {background:#253040;color: #fff; }
.vmiddle {padding-top:7px;}
.tr {margin:5px 0px; border-bottom:solid 1px #eee;}
.tr_small {margin:5px 0px; border-bottom:solid 1px #eee; font-size:0.9em;}
.star {color:red;}
.smalltext {color:#39c;font-size:0.9em;line-height:0.8;}


/* tv */

.digit {color:#39c; font-size:3em; float:left;margin:-10px 10px 10px 0px;font-weight:bold;}
.image {width:130px;}

.btn-help-more {
display: block;
height: 42px;
background: #fff;
border: 2px solid #5f82a6;
border-radius: 3px;
margin: 2px;
display: inline-block;
white-space: nowrap;
font: bold 14px/38px 'Helvetica Neue',sans-serif;
letter-spacing: -.025em;
color: #424b4c;
padding: 0 26px;
text-decoration: none;
}

.btn-help-more:hover {
display: block;
height: 42px;
background: #5f82a6;
border-radius: 3px;
margin: 2px;
display: inline-block;
white-space: nowrap;
font: bold 14px/38px 'Helvetica Neue',sans-serif;
letter-spacing: -.025em;
color: #fff;
padding: 0 26px;
text-decoration: none;
}

.btn-info-more {
display: block;
height: 42px;
background: #fff;
border: 2px solid #5f82a6;
border-radius: 3px;
margin: 2px;
display: inline-block;
white-space: nowrap;
font: bold 14px/38px 'Helvetica Neue',sans-serif;
letter-spacing: -.025em;
color: #424b4c;
padding: 0 26px;
text-decoration: none;
}

.btn-info-more:hover {
display: block;
height: 42px;
background: #5f82a6;
border-radius: 3px;
margin: 2px;
display: inline-block;
white-space: nowrap;
font: bold 14px/38px 'Helvetica Neue',sans-serif;
letter-spacing: -.025em;
color: #fff;
padding: 0 26px;
text-decoration: none;
}

.text-footer {
//color: #999;
margin: 20px 0 0 0;
}

/* zayavki */

.bg-danger {
background: #FF0000;
color: #fff;
}

.bg-warning {
background: #ffa500;
color: #fff;
}

.bg-success {
background: #008000;
color: #fff;
}