
.video-container {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    left: 50%;
    top: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.overlay {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-align: center;
}
.overlay h1 {
    text-align:center;
    color:#fff;
    font-size: 50px;
    margin-top:17%;
}
#glavnaya .overlay button,
#raboti .btn{
    line-height: 30px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    border-radius: 0;
    font-weight: 400;
    border: 2px solid #fff;
    color: #f7f7f7;
    box-shadow: 0 8px 15px rgb(0 0 0 / 10%);
    transition: .3s;
}
    
#glavnaya .overlay button:hover,
#raboti .btn:hover{
  background: #448CCB;
  box-shadow: 0 15px 20px rgb(0 191 234 / 83%);
  color: white;
  transform: translateY(-7px);
  border: 2px solid #448CCB;
}

#glavnaya .pattern{
    background-image: url(../img/pattern.png);
    background-repeat: repeat;
    background-attachment: scroll;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#preim i.fas:before{
    color: #448CCB;
    font-size: 80px;
    margin: 10px 20px;
}
#prosmotr a{
    color:#fff;
    background-color:#448CCB;
    border-radius:0;
    line-height:1;
}
#prosmotr a:hover{
    background-color:#000;
}
  .navbar .navbar-nav .nav-link, .navbar .navbar-text{
	color: #fff;
	text-align: center;
	line-height: 1;
	-moz-transition: color 0.6s 0.02s ease;
 	-o-transition: color 0.6s 0.02s ease;
 	-webkit-transition: color 0.6s 0.02s ease;
}
.navbar-text{
	font-size: 1.2rem;
}
.navbar-expand-lg .navbar-nav .nav-link{
	padding: 8px 20px;
}
 .navbar .navbar-nav .nav-link:hover{
	color: #448CCB;
}
.navbar{
    position:absolute;
    top: 0;
    left: 0;
	font-weight: 500;
	opacity: 1;
    width: 100%;
    z-index: 2;
}
.navbar-dark .navbar-toggler {
    border-color: #fbfbfb;
}
#glavnaya-dvorik i.fas,
#glavnaya i.fas{
	font-size: 12px;
	margin: 5px 0;
}
#glavnaya-dvorik i.fas:before,
#glavnaya i.fas:before{
	margin-right: 10px;
	color: #448CCB; 
}
.info{
	font-size: 13px;
	font-weight: 400;
	color:#fff;
}
body{
	color: rgb(58, 58, 58);
	line-height: 1.3;
}
#calc,
#preim,
#komplekt,
#kachestvo,
#prosmotr,
#raboti,
#contacts{
	padding: 4rem 0;
}
#calc h2,
#preim h2,
#prosmotr h2,
#raboti h2{
	margin-bottom: 3rem;
}
#prosmotr,
#contacts,
footer{
	background: #F5F5F5;
}
#glavnaya-dvorik{
    max-width:100%;
    color: #fff;
}
.myvideo {
position:relative;
padding: 0 0 56.25% 0;
height:0;
overflow:hidden;
}
.myvideo iframe,.myvideo object,.myvideo embed {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

h1{
	font-weight: 900;
    line-height: 1.2em;
}
h2{
    font-weight: 300;
    line-height: 1.2;
}

/*--------------------- Калькулятор ------------------*/
.img-calc{
	margin: 0 auto;
	margin-bottom: 30px;
}

#calc .carousel-indicators {
    position: unset;
}

#calc .carousel-indicators li {
	box-sizing:unset;
	border:0;
	width: 0; 
  height: 0;
}
#calc .carousel-indicators button{
	width: 68px;
  padding: 6px 0;
  margin: 5px;
  border-radius: 26px;
  border: 0;
  background: rgb(206 210 225);
  color: #fff;
}
#calc .carousel-indicators .active {
    background: #448CCB;
    color: #fff;
    font-weight: 500;
}

#calc .base-comlect span{
    font-weight: 700;
    color: #448CCB;
}
button:focus{
	outline:0 dotted;
}
.solution-calc-res .base-comlect {
    padding-bottom: 50px;
  }
.solution-calc-res .res-title {
    text-align: center;
    font-size: 24px;
    padding-top: 50px;
    margin-bottom: 20px;
  }
.solution-calc-res .res-line, 
.recoder-line,
.power-line,
.connector-line, 
.wire-line{
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.solution-calc-res .res-line__name {
    width: 60%;
    font-weight: 700;
    padding-left: 20px;
}
.res-line__info {
    font-size: 12px;
    color: #777;
    font-weight: 400;
}
.res-line__count {
    width: 20%;
    text-align: center;
}
.solution-calc-res .res-line > div {
    float: left;
}
.tpl {
    display: none;
}
.solution-calc-res .dop-oborudovanie .res-line__name {
    width: 45%;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}
.solution-calc-res .dop-oborudovanie .res-line__count {
    width: 20%;
}
.solution-calc-res .dop-oborudovanie .res-line__cost {
    width: 15%;
    text-align: right;
    padding-top: 5px;
}

.solution-calc-res .dop-oborudovanie .res-line__switch {
    width: 15%;
    text-align: right;
}
.cl-line .cl-value {
    float: left;
    width: 50%;
    text-align: right;
}
#calc .fas{
  float: left;
  width: 5%;
}
#calc .fas:before {
    font-size: 33px;
    display: inline-block;
}
.dop-oborudovanie .up, 
.dop-oborudovanie .down{
	color: #448CCB;
	cursor:pointer;
	text-align:center;
	font-size: 22px;

}
.dop-oborudovanie .up:hover, 
.dop-oborudovanie .down:hover {
	color: #000;
}
.dop-oborudovanie input {
	width:22px;
	text-align:center;
	border: 0;
}
.dop-oborudovanie .unit{
	font-size: 14px;
}
.dop-oborudovanie .row div:nth-child(-n+4){
    opacity: .5;
}
.dop-oborudovanie .row div:nth-child(3n),
.dop-oborudovanie .row div:nth-child(4n){
    opacity: 0;
}
.base .row div:nth-child(4)>span,
.dop-oborudovanie .row div:nth-child(4)>span,
.dop-oborudovanie .row:last-child div:nth-child(3)>span{
    font-weight: 700;
    color: #448CCB;
}
#calc .base_order_result p,
#calc .order_discount p,
#calc .order_result p,
#output3{
    font-weight: 600;
    color: #448CCB;
}
.base .row div:nth-child(2)>span,
.dop-oborudovanie .row div:nth-child(2)>span{
    font-weight: 700; 
    font-size: 1rem;
    color: rgb(58, 58, 58);
}
.base .row,
.dop-oborudovanie .row{
    padding: 15px 0;
    border-top: 1px solid #eee;
}
.dop-oborudovanie .switch{
    margin-bottom: 0;
    vertical-align: top;
}
.base .row:nth-child(1),
.dop-oborudovanie .row:nth-child(2){
    border-top: none;
}
.base .row div:nth-child(2),
.dop-oborudovanie .row div:nth-child(2){
    font-size: 12px;
    color: #777;
    font-weight: 400;
}
.base .row div:nth-child(3),
.base .row div:nth-child(4),
.dop-oborudovanie .row div:nth-child(3),
.dop-oborudovanie .row div:nth-child(4){
    margin: auto;
    text-align: center!important;
}
.base .row div:nth-child(3),
.base .row div:nth-child(4),
.base .row div:nth-child(1),
.dop-oborudovanie .row div:nth-child(1),
.dop-oborudovanie .row div:nth-child(5){
   align-self: center!important;
}
.cl-line, .cl-line {
    padding-bottom: 25px;
}
.cl-line .cl-name, .cl-line .cl-name {
    float: left;
    width: 50%;
}
.service-calc .cl-line .cl-value, .solution-calc .cl-line .cl-value {
    float: left;
    width: 50%;
    text-align: right;
}

.res-panel {
    position: sticky;
    top: 0;
    padding: 40px 15px;
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0 0 30px rgb(0 0 0 / 10%);
    box-shadow: 0 0 30px rgb(0 0 0 / 10%);
    text-align: center;
    margin-top: 15px;
    margin-left: 0;
}
.res-panel .title {
    font-size: 22px;
    font-weight: 700;
    padding: 0 0 15px 0;
    text-align: center;
}
.res-panel .calc-solutions-price-save{
    display: inline-block;
    padding: 0 3px;
    text-decoration: line-through;
    font-size: 18px;
    color: #777;
}
.mob-container{
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 20;
}

.mob-price{
    padding: 0 40px;
    text-decoration: line-through;
    font-size: 18px;
    color: #777;
    text-align: end;
}

.res-panel .calc-solutions-result,
.mob-result{
    font-size: 26px;
}
.res-panel .calc-solutions-result span,
.mob-result span{
    color: #448CCB;
    font-size: 34px;
    font-weight: 700;
}
.res-panel .calc-solutions-discount,
.mob-discount{
    font-size: 20px;
    font-weight: 300;
}

.res-panel .calc-solutions-discount span,
.mob-discount span{
    color: #448CCB;
    font-size: 26px;
    font-weight: 700;
}

.button {
    padding: 14px 32px;
    background: #448CCB;
    display: inline-block;
    max-width: initial;
    margin: 0;
    float: none;
    border: none;
    -webkit-border-radius: 4px;
    border-radius: 0;
    vertical-align: middle;
    font-weight: 500;
    color: #fff;
    position: relative;
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
}
.button:active {
    text-decoration: none !important;
}
.button:hover {
    background: #000;
    text-decoration: none !important;
    color: #fff;
}
.res-panel .res-info {
    color: #b2b2b2;
    padding-top: 15px;
    font-size: 14px;
}


.slidecontainer {
  width: 100%;
  padding-top:30px;
}

input[type="range"] {
  display: block;
  width: 100%;
  -webkit-appearance: none;
  background-color: #dce0e5;
  height: 5px;
  border-radius: 5px;
  margin: 0 auto;
  outline: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #448CCB;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  transition: .2s ease-in-out;
}
  input[type="range"]::-webkit-slider-thumb:active {
    background-color: white;
    border: 2px solid #448CCB;
  }
.switch {
  position: relative;
  display: inline-block;
  width: 47px;
  height: 25px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(206 210 225);
  -webkit-transition: .2s;
  transition: .2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 21px;
  width: 21px;
  left: 3px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .2s;
  transition: .2s;
}

input:checked + .slider {
  background-color: #448CCB;
}

input:focus + .slider {
  box-shadow: 0 0 1px #448CCB;
}

input:checked + .slider:before {
  -webkit-transform: translateX(21px);
  -ms-transform: translateX(21px);
  transform: translateX(21px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 16px;
}

.slider.round:before {
  border-radius: 50%;
}

/*---------------------Готовый комплект------------------*/

/*#komplekt .flaticon-boxes:before,*/
/*#komplekt .flaticon-block:before,*/
/*#komplekt .flaticon-barber:before,*/
/*#komplekt .flaticon-cafe:before,*/
/*#komplekt .flaticon-bald:before,*/
/*#komplekt .flaticon-house:before,*/
/*#komplekt .flaticon-phone-receiver:before,*/
/*#komplekt .flaticon-location-pointer:before,*/
/*#komplekt .flaticon-close-envelope:before{*/
/*	font-size: 90px;*/
/*	color: #fff;*/
/*	display: inline-block;*/
/*}*/
/*#komplekt .front p{*/
/*	margin-top: 10px;*/
/*	margin-bottom: 0;*/
/*	font-size: 20px;*/
/*	color: #fff;*/
/*	font-family: 'ubuntu',sans-serif;*/
/*}*/

/*#komplekt .back p{*/
/*	padding: 0 1rem 0 1rem;*/
/*	line-height: 1.3;*/
/*	font-size: 15px;*/
/*	color: #fff;*/
/*}*/
/*#komplekt .back h4{*/
/*	color: #fff;*/
/*}*/
/*#komplekt .back button{*/
/*	border: 1px solid #fff;*/
/*	border-radius: 0;*/
/*	color: #fff;*/
/*}*/
/*#komplekt .back button:hover{*/
/*	background-color: #fff; */
/*	color: #000;*/
/*}*/
/*.row-card{*/
/*	height: 560px;*/
/*}*/
/*.wrapper {*/
/*  position: absolute;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  left: 0;*/
/*  top: 0;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*}*/
/*.card {*/
/*  width: 350px;*/
/*  height: 250px;*/
/*  position: relative;*/
/*  -webkit-perspective: 1000px;*/
/*  -moz-perspective:1000px;*/
/*  perspective: 1000px;*/
/*  border: none;*/
/*}*/
/*.front, .back {*/
/*	position: absolute;*/
/*	width: 100%;*/
/*	height: 100%;*/
/*	left: 0;*/
/*	top: 0;*/
/*	display: flex;*/
/*	justify-content: center;*/
/*	align-items: center;*/
/*	-webkit-transition: 1s;*/
/*    -moz-transition: 1s;*/
/*    -o-transition: 1s;*/
/*	transition: 1s;*/
/*	-webkit-backface-visibility: hidden;*/
/*	-moz-backface-visibility:hidden;*/
/*	backface-visibility: hidden;*/
/* }*/
/* .front{*/
/* 	background-color: #448CCB;*/
/* }*/
/*.back {*/
/*	flex-direction: column;*/
/*	-ms-transform:rotateY(180deg);*/
/*	-webkit-transform:rotateY(180deg);*/
/*	-o-transform:rotateY(180deg);*/
/*	-moz-transform:rotateY(180deg);*/
/*	background-color: #181818;*/
/*}*/
/*.card:hover .front {*/
/*	-ms-transform:rotateY(180deg);*/
/*	-webkit-transform:rotateY(180deg);*/
/*	-o-transform:rotateY(180deg);*/
/*	-moz-transform:rotateY(180deg);*/
/*}*/
/*.card:hover .back {*/
/*	-ms-transform:rotateY(360deg);*/
/*	-webkit-transform:rotateY(360deg);*/
/*	-o-transform:rotateY(360deg);*/
/*	-moz-transform:rotateY(360deg);*/
/*}*/
#calc .modal-content, #komplekt .modal-content,
#glavnaya .modal-content, #komplekt .modal-content{
	border: 10px solid #000;
	border-radius: 0;
}
#komplekt .modal-header{
	border-bottom: 0;
	padding: 0;
	align-items: flex-end;
	justify-content: flex-end;
}
#komplekt .modal-header .close{
	margin: 5px 10px 0 0;
	padding: 0;
}
#calc form button,
#glavnaya form button,
#glavnaya .modal-footer button,
#komplekt form button,
#komplekt .modal-footer button,
#calc .modal-footer button{
	background-color: #000; 
	color: #fff;
	border-radius: 0;
}
#calc form button:hover,
#glavnaya form button:hover,
#glavnaya .modal-footer button:hover,
#komplekt form button:hover,
#komplekt .modal-footer button:hover,
#calc .modal-footer button:hover{
	background-color: #fff;
	border: 1px solid #000;
	border-radius: 0;
	color: #000;

}
#calc .form-control,
#glavnaya .form-control, 
#komplekt .form-control{
	border:1px solid #000;
	border-radius: 0;
	font-size: 1rem;
}
#calc .base_order_result p,
#calc .order_discount p,
#calc .order_result p,
#calc .row-order .row:nth-child(2) div:nth-child(3){
    text-align: end;
    margin: 0;
}
#calc .base_order_result p{
    margin: 10px 0;
}
#calc .row-order .row:nth-child(2) div:nth-child(2){
    text-align: center;
}
#calc .row-order div:nth-child(1) p{
    margin-bottom: .5rem;
}
#calc .row-order p{
    line-height: 1.4rem;
    margin-bottom: 0;
}
#calc .row-order .row{
    padding: 5px 0;
    border-top: 1px solid #eee;
}
.form-check-label {
    font-size: 14px;
}
#calc .row-order .row:nth-child(3) div:nth-child(3),
#calc .row-order .row:nth-child(3) div:nth-child(4){
    font-size: 20px;
    font-weight: 600;
    margin-top: 5px;
}
#calc .row-order .order_result p{
    font-weight: 700;
    color: #448CCB;
}
/*---------------------Качество------------------*/
#preim,
#kachestvo{
	background-color: #252525;
}
#preim,
#kachestvo .row,
#kachestvo h1{
	color: #fff;
}

#kachestvo .pt-3 p{
	font-family: 'ubuntu',sans-serif; 
}
/*---------------------Работы------------------*/

#raboti, 
#brand{
	background-color: #252525;
}
#raboti .raboti-h{
	color: #fff;
	font-size: 1.8rem;
	font-weight: 400;
}

#raboti .lead{
	color: #ccced0;
	font-size: 1.4rem;
	line-height: 1.4; 
}

/*---------------------Captcha------------------*/
#glavnaya .captcha-img,
#komplekt .captcha-img{
    display: inline-block;
    float: left;
}
#calc .captcha-input,
#glavnaya .captcha-input,
#komplekt .captcha-input{
    height: 38px;
    padding: 2px 2px 2px 10px;
    border:1px solid #000;
    border-radius: 0;
}
/*---------------------Контакты------------------*/
#contacts i.fas{
	margin-top: 1.5rem;
}
#contacts i.fas:before{
	color: #448CCB;
	font-size: 4rem;
}
#contacts .info-contacts{
	font-size: 1.5rem;
    margin-top: 1.5rem;
    font-weight: 500; 
}
/*---------------------Бренд------------------*/
#brand{
	padding: 2rem 0;
}
.hikvision,
.hiq,
.ltv,
.satvision{
	-moz-transition:all 1s 0.02s ease;
 	-o-transition: all 1s 0.02s ease;
 	-webkit-transition: all 1s 0.02s ease;
}

.hikvision:hover,
.hiq:hover,
.ltv:hover,
.satvision:hover{
    -webkit-transform: scale(1.1) ;
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    -moz-transform: scale(1.1);
  	transform: scale(1.1);

/*---------------------Футер------------------*/
footer{
	background-color: #252525;
}
footer p{
	margin: 1rem 0 0 0;
}