* {
    margin: 0px;
    padding: 0px;
}

.new_modal_window {
    font-size: 15px;
}

.cameraBlock {
    float:left;
    width:676px;
}

.cameraPrew {
    //float: left;
    //width: 220px;
    //margin-right:  8px;
    //margin-bottom: 8px;
    cursor: pointer;
    text-align: center;
}

.lastInRow {
    margin-right: 0px;
}

.cameraPrew img {
    //width:220px;
    //float:left;
    //height:124px;
    //margin:0px;
    //padding: 0px;
    //border:0px;
}

.new_modal_window {
    position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 9999; display: none;
    display: block; display: none;
}

.nmw_margin {
    margin: 0px auto; width: 980px;
}

.nmw_close {
    position: absolute; z-index: 999; width: 100%; height: 100%; top: 0px; left: 0px; cursor: pointer; 
    background: url(/assets/images/bg-dark-4785.jpg); 
    opacity: 0.6;
}

.nmw_container {
    background: url(/assets/images/bg-dark-4765.gif); 
    float: left; width: 980px; height: 600px; position: relative; z-index: 9999;   box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.35); overflow: hidden; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -o-border-radius: 10px; -ms-border-radius: 10px; -icab-border-toht-radius: 10px; border-radius: 10px;
    position: relative;
	border-right:2px solid black;
}

.nmw_line_top {
    text-align: center;
    text-indent: 220px;
    float: left;
    width: 100%;
    line-height: 40px;
    color: #fff;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0)));  background: -webkit-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);  background: -o-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);  background: -ms-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);  background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
}

.nmw_list_chanels {
    float: left;
    width: 200px;
    padding: 0px 15px;
    height: -webkit-calc(100% - 80px);
    height: -o-calc(100% - 80px);
    height: calc(100% - 80px);
    overflow: hidden;
    position: relative;
}

.nmw_screen {
    float: left;
    width: -webkit-calc(100% - 200px);
    width: -o-calc(100% - 200px);
    width: calc(100% - 200px);
    height: -webkit-calc(100% - 80px);
    height: -o-calc(100% - 80px);
    height: calc(100% - 80px);
    position: relative;
}

.nmw_line_bottom {
    float: left; 
    text-align: left;
    text-indent: 220px;
    width: 100%; line-height: 40px; color:#46BEE2;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65)));  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);  background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);  background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}

.nmw_close_x {
    position: absolute;
    z-index: 9999;
    top: 10px;
    right: 10px;
    color: #fff;
    padding: 0px 7.5px 2px;
    border-radius: 20px;
    border: 1px solid #fff;
    cursor: pointer;
    font-size: 13px;
}

.arrows {
    position: absolute; height: 40px; right: 0px; width: 100%; z-index: 999999999;
}

.arrows div {
    cursor: pointer; -webkit-transition: .3s background ease; -moz-transition: .3s background ease; -ms-transition: .3s background ease; -o-transition: .3s background ease; transition: .3s background ease; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.76);
}

.arrows_fs {
    position: absolute; height: 40px; right: 0px; width: 100%; z-index: 9999999;
}

.arrows_fs div {
    cursor: pointer; -webkit-transition: .3s background ease; -moz-transition: .3s background ease; -ms-transition: .3s background ease; -o-transition: .3s background ease; transition: .3s background ease; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.76);
}

.arrow_l {
    background: rgba(255, 255, 255, 0.35) url(/assets/images/arrow-l.png) -1px -1px no-repeat; float: left; width: 38px; height: 38px; margin-left: 20px; -moz-border-radius: 30px; -webkit-border-radius: 30px; -khtml-border-radius: 30px; -o-border-radius: 30px; -ms-border-radius: 30px; -icab-border-radius: 30px; border-radius: 30px; margin-top: 1px;
}

.arrow_l:hover {
    background: rgba(255, 255, 255, 0.8) url(/assets/images/arrow-l.png) -1px -1px no-repeat; 
}

.arrow_r {
    background: rgba(255, 255, 255, 0.35) url(/assets/images/arrow-r.png) -1px -1px no-repeat; float: right; width: 38px; height: 38px; margin-right: 20px; -moz-border-radius: 30px; -webkit-border-radius: 30px; -khtml-border-radius: 30px; -o-border-radius: 30px; -ms-border-radius: 30px; -icab-border-radius: 30px; border-radius: 30px; margin-top: 1px;
}

.arrow_r:hover {
    background: rgba(255, 255, 255, 0.8) url(/assets/images/arrow-r.png) -1px -1px no-repeat; 
}

.nmw_list_chanels_house {
    float: left;
    width: -webkit-calc(100% + 40px);
    width: -o-calc(100% + 40px);
    width: calc(100% + 40px);
    height: 100%;
    overflow-y: scroll;
}

.nmw_list_chanels_in_house {
    float: left;
    width: 190px;
    position: relative;
}

.mjpeg_screen {
    float:left;width:100%; height:100%; position:relative;display: none;
    background-size: 100% 100%;
}

#fullscreen {
    position: absolute;
    width: 40px;
    height: 30px;
    bottom: 5px;
    right: 10px;
    background: url(/assets/images/to_full.png);
    cursor: pointer;
    background-size: 100% 100%;
}

.fullscreenvideo {
    position: fixed;
    z-index: 999999999;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.fcv_mjpeg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

.fullscreentop {
    text-align: center;  float: left; width: 100%; line-height: 40px; color: #fff; background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.65)), color-stop(100%,rgba(0,0,0,0))); background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); background: -o-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); background: -ms-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
}

.fullscreenbottom {
    position: absolute; text-align: center;  width: 100%; line-height: 40px; color: #46BEE2; background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65))); background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    bottom: 0px;
    left: 0px;
}

.closeFullscreen {
    position: absolute;
    bottom:10px;
    right: 0px;
    width: 40px;
    height: 30px;
    background: #96f96f;
    cursor: pointer;
    background: url(/assets/images/full_from.png);
    background-size: 100% 100%;
}

.cameraList {
    float: left;
    width: 100%;
    line-height: 16px;
    color: #BDBBBB;
    cursor: pointer;
    margin: 0px;
    margin-bottom: 10px;
}

.CLA {
    color:#46BEE2!important;
}

.change {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 220px;
    height: 40px;
    z-index: 999999999;
}

.q_change {
    position: absolute;
    bottom: 0px;
    right: 220px;
    width: 220px;
    height: 40px;
    z-index: 999999999;
}

.showToggleDiv,.qToggleDiv {
    margin: 0px;
    line-height: 40px;
    text-align: center;
    float: left;
    width: 100%;
    margin-bottom: 0px;
    color: #aaa;
    cursor: pointer;
    background: rgba(0, 0, 0, 0);
    border-top-left-radius: 10px;
     -webkit-transition: .3s all ease; -moz-transition: .3s all ease; -ms-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease;
}

.qToggleDiv {
    border-top-right-radius: 10px;
}

.tdp,.qCB {
    line-height: 40px;
    text-align: center;
    float: left;
    width: 50%;
    margin-bottom: 0px;
    color: #aaa;
    cursor: pointer;
    margin: 0px;
}

.tdp:hover ,.qCB:hover{
    color:#46BEE2;
}

.showToggleDiv:hover {
    color: #ddd;
}

#flash_player {
    float: left;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px; left:0px;
    display: none;
    background-size: 100% 100%;
}

.ToggleDiv,.qDiv {
    position: relative;
    line-height: 40px;
    width: 100%;
    background: rgba(0, 0, 0, 0.64);
    float: left;
}

.tdpa,.qCBA {
    color:#46BEE2;
}

.loading {
    background: #000 url(/assets/images/loading.png) center center no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 999999999;
    opacity: .8;
    background-size: 200px 200px;
}

.new_cameraAdresList {
    float: left;
    width: 715px;
}

.new_caneraAdresName {
    float: left;
    width: 344px;
    text-align: center;
    margin-bottom: 10px;
    padding: 5px 0px;
    border-radius: 10px;
    background: #eeeeee;  background: -moz-linear-gradient(-45deg,  #eeeeee 0%, #f9f9f9 50%, #fcfcfc 51%, #ffffff 100%);  background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#eeeeee), color-stop(50%,#f9f9f9), color-stop(51%,#fcfcfc), color-stop(100%,#ffffff));  background: -webkit-linear-gradient(-45deg,  #eeeeee 0%,#f9f9f9 50%,#fcfcfc 51%,#ffffff 100%);  background: -o-linear-gradient(-45deg,  #eeeeee 0%,#f9f9f9 50%,#fcfcfc 51%,#ffffff 100%);  background: -ms-linear-gradient(-45deg,  #eeeeee 0%,#f9f9f9 50%,#fcfcfc 51%,#ffffff 100%);  background: linear-gradient(135deg,  #eeeeee 0%,#f9f9f9 50%,#fcfcfc 51%,#ffffff 100%);  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=1 );
    border: 1px solid #eee;
    box-shadow: inset 2px 2px 2px rgba(85, 85, 85, 0.04), 2px 2px rgba(0, 0, 0, 0.26);
    cursor: pointer;
    font-size: 14px;
    line-height: 28px;
    margin-right: 10px;
    -webkit-transition: .3s all ease; -moz-transition: .3s all ease; -ms-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease;
}

.new_caneraAdresName:hover {
    box-shadow: inset 2px 2px 2px rgba(85, 85, 85, 0.04), 2px 2px rgba(0, 0, 0, 0);
}

.listInadresBlock {
    float: left;
    width: 698px;
    display: none;
    background: #ffffff;  background: -moz-linear-gradient(-45deg,  #ffffff 0%, #fcfcfc 49%, #f9f9f9 50%, #f9f9f9 100%);  background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(49%,#fcfcfc), color-stop(50%,#f9f9f9), color-stop(100%,#f9f9f9));  background: -webkit-linear-gradient(-45deg,  #ffffff 0%,#fcfcfc 49%,#f9f9f9 50%,#f9f9f9 100%);  background: -o-linear-gradient(-45deg,  #ffffff 0%,#fcfcfc 49%,#f9f9f9 50%,#f9f9f9 100%);  background: -ms-linear-gradient(-45deg,  #ffffff 0%,#fcfcfc 49%,#f9f9f9 50%,#f9f9f9 100%);  background: linear-gradient(135deg,  #ffffff 0%,#fcfcfc 49%,#f9f9f9 50%,#f9f9f9 100%);  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=1 );
    padding: 10px 0px 0px 10px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid #eee;
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.25);
    margin-top: 30px;
}

.cameraListAdresName {
    float: left;
    width: calc((100%/3) - 10px);
    margin-right: 10px;
    margin-bottom: 10px;
    text-align: center;
    padding: 3px 0px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #eee;
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.56);
    cursor: pointer;
    background: #fff;
    -webkit-transition: .3s all ease; -moz-transition: .3s all ease; -ms-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease;
}

.cameraListAdresName:hover {
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0);
}

.new_caneraAdresZag {
    float: left;
    width: 100%;
    margin-bottom: 10px;
    font-size: 17px;
    color: #008cba;
    font-weight: bold;
    text-align: center;
}

.error_screen {
    display: none;
}

.error_Fullscreen {
    display: none;
}

.cameraNameMP {
	font-family:monospace;
    width: 100%;
    text-align: left;
	
	background:#fff;
    margin: 0px;
    padding: 5px;
    padding-top: 5px;
	font-size:0.85em;
	text-align:CENTER;
	border-radius:0 0  5px 5px;
	background:#aaa;
	color:#fff;margin-bottom:20px;
	white-space: nowrap;
}
.cameraPrew{display:inline-block;}
.row{vertical-align: middle}
.cameraPrew img{border:1px solid #aaa;border-bottom:0;border-radius:5px 5px 0 0;opacity:.9}
.cameraPrew:hover img{opacity:1}