/* You can add global styles to this file, and also import other style files */
:root {
	/* Colors */
	--barix_black:rgb(29, 29, 27);
	--barix_red:#d42928;
	--barix_white: rgb(255, 255, 255);
	--barix_blue: rgb(113, 154, 190);
	--barix_blue_hover: rgb(31, 120, 197);
	--barix_green: #46bf46;
	--barix_orange: rgb(239, 176, 88);
	/* Gray tones */
	--barix_dark_gray: rgb(74, 74, 73) ;
	--barix_semi_dark_gray: rgb(128, 128, 127) ;
	--barix_medium_gray: rgb(158, 158, 157) ;
	--barix_semi_light_gray: rgb(198, 198, 198) ;
	--barix_light_gray: rgb(235, 235, 234) ;
	--barix_very_light_gray: rgb(248, 248, 248) ;
	
	/* Others */
	--barix_submit_color: rgb(0, 109, 19) ;
	--barix_cancel_color: rgb(162, 16, 16) ;
	--reflector_submit: #2e66af;
	--reflector_red: #C02127;

	/* Other variables */
	--left_sidebar_width: 195px;
	--padding_sidebar_left: 20px;
	--border_radius: 0.5em;
  }


body {
	background: #eeeeee;
	margin: 0;
	padding: 0;
	font-family: arial;
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
:focus {outline:none;} 
::-moz-focus-inner {border:0;}

a{
    font-size:12px;
    color:#C02127;
}

a:hover{
    color:#666;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
        font-size:12px;
}

table.transparent,
table.transparent tr,
table.transparent th,
table.transparent td
{
	border: 0px solid #000;
	margin: 0px;
	padding: 0px;
	background: transparent;
}

#logo{
    margin: 0;
    padding: 0;
    height:136px;
    white-space: nowrap;
}
#user {
    height:20px;
    background:url(../img/sf.gif) repeat-x 0 0;
    font-size: 13px;
    color: #999;
    padding: 15px;
    text-align: right;
}
#user a{
    color: #C02127;
}
#container{
    position: relative;
    width: 1400px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #ddd;
}
#sx {
    float:left;
    width: var(--left_sidebar_width) + var(--padding_sidebar_left) ;
    padding-left: var(--padding_sidebar_left);
}
#sx h2{
    display: block;
    padding:5px;
    margin: 0;
    border-top: 8px solid #999;
    font-size: 18px;
    color: #666;
}
#sx ul{
    list-style: none;
    margin:0;
    padding:0;
}
#sx ul li a{
    display: block;
    padding:10px;
    font-weight: bold;
    background: #eee;
    border: 1px solid #ddd;
    text-decoration: none;
    font-size: 12px;
    color: #666;
    text-shadow: 0 1px 0 white;
}
#sx ul li a:hover{
    background:#ddd;
}
#sx ul li ul li a{
    padding:5px 5px 5px 20px;
    border: 1px solid #ddd;
    background: #fff;
    text-decoration: none;
    font-size: 11px;
    color: #C02127;
    text-shadow: 0 1px 0 white;
}
#sx ul li ul li a:hover{
    background:#ddd;
}
#content {
    float:right;
    width:1183px;
    padding:0 45px;
}
#logo img{
    margin:0;
    padding:0;
}
#footer {
    clear: both;
    height: 20px;
}

#login_form {
	width: 350px;
        margin: 2% 24% 5%;
	background: #f0f0f0 url(../img/login_bg.jpg) repeat-x 0 0;
	border: 1px solid #ddd;
	padding: 1em;
	-moz-border-radius: 3px;
}
#login_form input,.inblock input{
    display: block;
}
#wrap_page{
    height: 25px;
}
#paging{
    text-align: right;
    margin: 5px;
}
#paging strong,#paging a{
    font-size: 11px;
    border: 1px solid #ddd;
    padding: 2px;
    text-decoration: none;
    font-weight: bold;
}
#paging a{
    background: #eee;
    color: #666;
}
#paging a:hover{
    background: #ddd;
}
#paging strong{
    background: #ddd;
    color: #C02127;
}
.center{
   text-align:center;
}
.inline{
    display: inline!important;
}
.imglink{
    text-decoration: none;
    color: #C02127;
    font-size: 12px;
}
.imglink img{
    vertical-align: middle;
    margin:0 3px 0 0;
}
.list{
        width:100%;

}

.list th,.list td{
     border: 1px solid #ddd;
     padding: 5px;
     font-size: 12px;
}

.list th{
    color: #666;
    background:url(../img/sf.gif) repeat-x 0 0;
    padding: 8px;
	width: 10%;
}

.param th,.param td{
    border: 1px solid #ddd;
     padding: 3px;   
}

.param th{
    color: #666;
    background:url(../img/sf.gif) repeat-x 0 0;
}

.param input{
    margin: 0;
}

.param{
    width: 50%;
}

.device{
/*    width: 500px;
    float:left;*/
    padding: 5px;
    color: #666;
}
.device h3{
    color: #C02127;
    margin-bottom: 5px;
    font-size: 12px;
}
.device h3 span{
    color:#000;
}
.device h4{
    color: #666;
    margin-bottom: 5px;
    font-size: 12px;
}

.device ul{
    margin:10px!important;
    padding:0!important;
}
.subDevice{
   text-align:right;
}
h1,h2,h3,h4,h5 {
	margin-top: 0;
	font-family: arial;
}

input{	
	margin: 0;
	border: 1px solid #ddd;
	-moz-border-radius: var(--border_radius);
	-webkit-border-radius: var(--border_radius);
	border-radius: var(--border_radius);
	padding: 0.5em;
	width: 170px;
}

textarea {	
	margin: 0;
	border: 1px solid #ddd;
	-moz-border-radius: var(--border_radius);
	-webkit-border-radius: var(--border_radius);
	border-radius: var(--border_radius);
	padding: 0.5em;
}

input[type=submit] {
	border: none;
	margin-right: 0em;
	padding: 6px;
	text-decoration: none;
	font-size: 12px;	
	background: var(--reflector_submit);
	color: rgb(255, 255, 255);
	box-shadow: 0 1px 0 rgb(3, 3, 3);
	-moz-box-shadow: 0 1px 0 white;
	-webkit-box-shadow: 0 1px 0 white;
	-moz-border-radius: var(--border_radius);
	border-radius: var(--border_radius);
}

form a, input[type=button] {
	border: none;
	margin-right: 1em;
	padding: 6px;
	text-decoration: none;
	font-size: 12px;	
	background: var(--reflector_red);
	color: white;
	box-shadow: 0 1px 0 white;
	-moz-box-shadow: 0 1px 0 white;
	-webkit-box-shadow: 0 1px 0 white;
	-moz-border-radius: var(--border_radius);
	border-radius: var(--border_radius);
}

form a:hover,input[type=submit]:hover,input[type=button]:hover{
	background: #ff6666;
	cursor: pointer;
}




/* Validation error messages */

.error {
	color: #f00;
	font-size: 15px;
        font-weight: bold;
}
.ok_message {
	color: #090;
	font-size: 15px;
        font-weight: bold;
}

fieldset {
	margin: auto;
	margin-bottom: 2em;
	padding: 1em;
	display: block;
	border: 1px solid #ddd;
}

fieldset p{
	margin:0 0 10px;
	color: #666;
	font-size: 12px;
}

fieldset label {
	white-space: nowrap;
}

legend{
    font-weight: bold;
    color: #000;
    font-size: 16px;
    font-weight: bold;
}
label{
    font-size: 12px;
    padding:5px;
}
label span{
    color:#C02127;
    padding-left: 3px;
}

/* FOR FUN */
refl_service{
	font-size: 30px;
	color:#C02127;
	text-shadow: 0 1px 0 white;
	margin-left: 194px;
	margin-top: 0;
	font-family: arial;
}
h1{
	font-size: 18px;
	color:#C02127;
	text-shadow: 0 1px 0 white;
}
h2{
	font-size: 18px;
	color:var(--barix_blue);
	text-shadow: 0 1px 0 white;
    /* padding-left: 133px; */
}

.clearflow{
    overflow:hidden;
    zoom:1;
    word-wrap:break-word;
}
.a1{
    background-color: #fff;
}
.a2{
    background-color: #efefef;
}
.hid{
    display: block;
    background: none;
    padding:0;
    margin: 0;
}
.msgType{
    background-color: #ffffcc;
    color: #C02127;
    border: 1px solid #ffff33;
    margin-top: 10px;
}

/*- Menu Tabs --------------------------- */

    #tabsF {
      float:left;
      width:100%;
	  background:#fff url(../img/top.jpg) right bottom no-repeat;
      font-size:12px;
      line-height:normal;
      }
    #tabsF ul {
	margin:0;
	padding:10px 10px 0 0px;
	list-style:none;
      }
    #tabsF li {
      display:inline;
      margin:0;
      padding:0;
      }
    #tabsF a {

      float:left;
      background:url("../img/tableftF.gif") no-repeat left top;
      margin:0;
      padding:0 0 0 4px;
      text-decoration:none;

      }
    #tabsF a span {
      float:left;
      display:block;
      background:url("../img/tabrightF.gif") no-repeat right top;
      padding:10px 15px 9px 6px;
      color:#000;
      }
    /* Commented Backslash Hack hides rule from IE5-Mac \*/
    #tabsF a span {float:none;}
    /* End IE5-Mac hack */
    #tabsF a:hover span {
      color:#C02127;
      }
    #tabsF a:hover {
      background-position:0% -42px;

      }
    #tabsF a:hover span {
      background-position:100% -42px;
      }
	 #tabsF .selTab a {
      background-position:0% -42px;
      }
    #tabsF .selTab a span {
     	background-position:100% -42px;
        color:#C02127;

      }
#sub_menu{
	clear: both;
	border-top: 1px solid #F7E4E4;
/*	height: 20px; */
	height: 1px;
	background-color: #FEFBFB;
	margin-bottom: 10px;
}
.deviceCont{
    display: none;
}
#project{
    clear: both;
    position: relative;
}

#project h3{
    position: relative;
    margin-right: 10px;
    top: 2px;
    font-size: 12px;
	float: right;
}

#search_form{
    border:1px solid #ddd;
	width: var(--left_sidebar_width);
    padding: 11px;
}
#search_form h1{
    font-size: 14px;
	width: 160px;
    margin:5px;
}
#search_form label{
	width: 160px;
    display: block;
}
#result{
    font-size: 11px;
    color: #999;
    margin-bottom: 10px;
}
#services h3{
    font-size: 14px;
    color:#C02127;
    padding-bottom: 5px;
    border-bottom: 1px solid #F7E4E4;
}
#services p{
    font-size: 12px;
    color: #999;
}
#services div{
background:url(../img/sf.gif) repeat-x 0 0;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
}

fieldset table {
/*	border-collapse: separate;
	border-spacing: 0 1em;
	*/
}

#login_form input {
	margin-bottom: 1em;
}

.w20 {
	width: 20% !important;
}

.w30 {
	width: 30% !important;
}

.w50 {
	width: 50% !important;
}

.w100 {
	width: 100%;
}

.w3em {
	width: 3em !important;
}

.as_inp {
	margin: 0 auto;
	border: 1px solid #ddd;
	-moz-border-radius: var(--border_radius);
	-webkit-border-radius: var(--border_radius);
	border-radius: var(--border_radius);
	padding: 0.5em;
}

.uuid_label {
	width: 35%;
	float: left;
	margin: 0px;
	padding: 0px;
}

.uuid_input {
	width: 65%;
	float: left;
	margin: 0px;
	padding: 0px;
}

#flash_msg {
	position: absolute;
	left: 0; 
	right: 0; 
	top: 200px;
	margin-left: auto; 
	margin-right: auto; 
	width: 50%; 
	border: 2px solid #C02127;
	border-radius: 0.5em;
	padding: 1em 2em;
	background: #fff;
	z-index: 100;
}

#flash_closer {
	position: absolute;
	left: 0; 
	top: 0;
	width: 100%; 
	z-index: 90;
}

#flash_msg button {
	float: right;
	background: #C02127;
	color: #fff;
	border: 0px solid #F00;
	border-radius: var(--border_radius);
	padding: 0.5em 1em;
}

#flash_msg button:hover {
	background: #ff6666;
	cursor: pointer;
}

.data-value {
	margin: 0;
    border: 1px solid #ddd;
    background: #fcfcfc;
    -moz-border-radius: var(--border_radius);
    -webkit-border-radius: var(--border_radius);
    border-radius: var(--border_radius);
    padding: 0.5em;
}

.form-data input, 
.form-data textarea,
.form-data select {
	width: 100%;
}

span.required {
	color: red;
}

.text-top {
	vertical-align: top;
}

.br {
	float: none;
	clear: both;
}

.menu-head {
	font-weight: bold;
}

.up-line {
	margin-top: 1em;
}

.group-data input,
.group-data select
{
	margin: 0.25em 1em;
}

.stream_target1 {
	border-right: 1px solid #ddd;
}

.stream_target2 {
	padding-left: 0.5em;
	border-left: 1px solid #ddd;
	left: -1px;
}

/* from bootstrap */
.row {
}

.col-sm-1 {
    width: 8.33333333%;
}

.col-sm-2 {
    width: 16.66666667%;
}

.col-sm-3 {
    width: 25%;
}

.col-sm-4 {
    width: 33.33333333%;
}

.col-sm-5 {
    width: 41.66666667%;
}

.col-sm-6 {
    width: 50%;
}

.col-sm-7 {
    width: 58.33333333%;
}

.col-sm-8 {
    width: 66.66666667%;
}

.col-sm-9 {
    width: 75%;
}

.col-sm-10 {
    width: 83.33333333%;
}

.col-sm-11 {
    width: 91.66666667%;
}

.col-sm-12 {
    width: 100%;
}

.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, 
.col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9 {
    float: left;
}

.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, 
.col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9
{
    position: relative;
    min-height: 1px;
}

.form_note {
    color: #a00;
    font-size: 0.9em;
    font-style: italic;

}

.refresh {
	float: right;
	padding: 0.25em;
	border: 1px solid #ddd;
	height: 2em;
	width: 2em;
	border-radius: var(--border_radius);
	background: #eee;
	margin-left: 0.5em;
}

.refresh:hover {
	background: #fff;
}

.refresh img {
	height: 1em;
	width: 1em;
}

i.arrow {
	border: solid black;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
}

.arrow.right {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

.arrow.left {
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

.arrow.up {
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
	margin-top: 3px;
	margin-bottom: -3px;
}

.arrow.down {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}

.nowrap {
	white-space: nowrap;
}

.but-list button.right:first-child {
	margin-left: 2.25em;
}

.but-list button {
	padding: 0 0.25em;
	margin-left: 0.5em;
}

.but-list button:first-child {
	margin-left: 0;
}

td.hr {
	height: 2px; 
	padding:0px;
}

/** popup window */
.popup-closer {
	position: fixed;
	width: 100%;
	background: rgba(0,0,0, 0.35);
	height: 100px;
	z-index: 10000;
	top: 0px;
	left: 0px;
}

.popup-wind {
	background: #fff;
	border: #ccc solid 2px;
	border-radius: 0.5em;
	padding: 0.5em;
	width: 80%;
	opacity: 1;
	margin: 5em auto;
	position: relative;
}

.popup-close-but {
	position: absolute;
	background: #fff;
	height: 2em;
	width: 2em;
	border-radius: 50%;
	right: -1em;
	top: -1em;
	cursor: pointer;
	border: #ccc solid 2px;
	box-sizing: content-box;
}

.popup-close-but img {
	height: 1em;
	width: 1em;
	padding: 0px;
	margin: 0.5em;
}

/** project tree */
.mtree {
	margin: 0px;
	padding: 0px;
	background-image: url(/img/tree-line.svg);
	background-size: 1.5em;
	background-repeat: repeat-y;
	background-position-x: 1em;
}

.mtree li {
	list-style-type: none;
}

.mtree .mtree-label {
	padding-left: 2em;
}

.mtree .mtree-node {
	margin-left: 1em;
	zoom: 1;
	line-height: 1.5em;
}

.mtree.mtree-root {
	max-height: 20em;
	overflow-y: auto;
	background-position-x: 0em;
}

.mtree.mtree-root > .mtree-node {
	margin-left: 0px;
}

.mtree .mtree-node .mtree-expand {
	width: 1.5em;
	height: 1.5em;
	display: inline-block;
	float: left;
	cursor: pointer;
	position: relative;
}

.mtree .mtree-node .mtree-expand::before {
	content: '';
	position: absolute;
	display: block;
	background-image: url(/img/tree-open.svg);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	height: 1.5em;
	width: 1.5em;
	top: 0px;
	left: 0px;
}

.mtree .mtree-node.open > .mtree-expand::before {
	background-image: url(/img/tree-close.svg);
}

.mtree .mtree-node.no-child > .mtree-expand::before {
	background-image: url(/img/tree-item.svg);
	cursor: auto;
}

/*
.mtree .mtree-node:last-child > .mtree-expand {
	background-image: url(/img/tree-line2.svg);
}
*/

.mtree-node > .mtree {
	display: none;
}

.mtree-node.open > .mtree {
	display: block;
}

.prj-status {
	text-align: center;
	white-space: no-wrap;
}