body {
  padding: 0;
  margin: 0;
  border: 0;
  font-size: 16px;
  color: #454e52;
  background: 0px 0px repeat-x url(../images/background.png);
}
[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

[type="radio"] + img {
  cursor: pointer;
  margin-left: 20px;
  margin-right: 5px;
}

/* CHECKED STYLES */
[type="radio"]:checked + img {
  background-image: url(../images/radio_btn_selected.svg);
}

#setting_popup {
  display: none;
  position: absolute;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  top:0;
  right:0;
  bottom:0;
  left:0;
  margin:auto;
  width: 600px;
  height: 480px;
  background-color: #fff;
  border: 1px solid #454e52;
}
#setting_popup > .content {
  margin-top: 70px;
  padding-bottom: 80px;
  width: 85%;
  background: #fcfcfc;
  border: 1px solid #e2e2e2;
}
#setting_popup > .title {
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  height: 40px;
  top: 16px;
  left: 40px;
}
#setting_popup > .content > form > div > * {
  cursor: pointer;
}
#setting_popup > .content > form > .title {
  font-size: 15px;
  margin-left: 20px;
  color: #0e0e0e;
}
#setting_popup > .content > form > div > .desc {
  font-size: 14px;
  margin-left: 48px;
  margin-top: 5px;
  line-height: 1.5;
}
#setting_popup > .content > form > div > label {
  font-weight: 600;
  font-size: 16px;
}
#setting_popup > .bottom {
  margin-top: 15px;
  display: flex;
  width: 90%;
  justify-content: flex-end;
}
#setting_popup > .bottom > .button {
  border: 1px solid #2f2f2f;
  border-radius: 4px;
  margin-right: 8px;
  margin-left: 8px;
  box-sizing: border-box;
  background-color: #ffffff;
  height: 30px;
  width: 110px;
  padding: 0 37px 0 37px;
  color: #2f2f2f;
  cursor: pointer;
  transition: all 100ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.25;
}
#setting_popup > .bottom > .button:active {
  color: #2f2f2f !important;
}
#setting_popup > .bottom > .button:hover {
  color: #707070;
}

#setting_popup_close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
svg:hover #setting_popup_close_path {
  fill: #707070;
}

div.main {
  margin: 0 auto;
  width: 1024px;
}
div.top {
  background: white;
}
div#div_control {
  background-image: linear-gradient(#1a72c7, #2796eb);
  position: relative;
  width: 1024px;
  height: 114px;
  border: 0;
  border-bottom: 2px solid #c1d5db;
}
div.cloud {
  background: 0px 0px no-repeat url(../images/icon_cloud.svg);
  position: absolute;
  width: 180px;
  height: 71px;
  left: 30px;
  bottom: 0;
}
div#div_control > div.logo {
  display: inline-block;
  margin: 28px 0 0 210px;
  padding: 0;
  border: 0;
  width: 143px;
  height: 45px;
  background: 0px 0px no-repeat url(../images/logo.png);
}
div#div_control > div.logo > a {
  display: block;
  height: 100%;
  width: 303px;
  margin-top: -16px;
}
div#div_control > div.logo > .description {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  left: 2px;
  top: 42px;
  height: 16px;
  position: relative;
  width: 260px;
}
div#div_control > div.logo > div.icon {
  border: 0;
  padding: 0;
  margin: 0;
  width: 68px;
  height: 14px;
  background: 0px 0px no-repeat url(../images/logo-qnap.png);
  position: absolute;
  top: 10px;
  left: 12px;
}
div#div_control > div.version {
  display: inline-block;
  font-size: 12px;
  position: absolute;
  top: 76px;
  right: 12px;
  color: #b6d3eb;
}
div#div_control > div.link {
  display: inline-block;
  color: #c2d5db;
  font-size: 14px;
  vertical-align: top;
  position: absolute;
  top: 88px;
  right: 12px;
}
div#div_control > div.link > a {
  text-decoration: none;
  color: #b6d3eb;
}
div#div_control > div.link > a:hover {
  text-decoration: underline;
}
.btnContainer {
  position: absolute;
  right: 15px;
  top: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

div.topBtn {
  background-color: rgba(255, 255, 255, 0.3);
  height: 40px;
  width: 40px;
  border-radius: 20px;
  margin-left: 10px;
  margin-right: 10px;
}
div.topBtn:hover {
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

ul#ul_device {
  max-height: 510px;
}
ul.device {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow-y: overlay;
}
ul.device > li.device {
  display: block;
  position: relative;
  height: 30px;
  font-size: 14px;
  text-align: center;
}
ul.device > li.device > .field {
  display: inline-block;
  height: 100%;
  text-align: left;
}
ul.device > li.device > .bookmark {
  height: 16px;
  width: 80px;
}
ul.device > li.device > .name {
  width: 212px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.device > li.device > .name .text {
  padding-left: 23px;
}
ul.device > li.device > .address {
  width: 168px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.device > li.device > .address > .address_list {
  color: #454e52;
  width: 100%;
  height: 100%;
  border-width: 0px;
  border-radius: 3px;
  -webkit-appearance: none;
  background: url(../images/down_arrow_b.svg) no-repeat scroll 50% 0;
}
ul.device > li.device.item:hover select.address_list,
ul.device > li.device > .address > .address_list:hover {
  background-image: url(../images/down_arrow.svg);
  background-color: #263142;
  color: white;
}
ul.device > li.device > .myqnapcloud {
  width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.device > li.device > .type {
  width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.device > li.device > .model {
  width: 204px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.device > li.device > .version {
  width: 204px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.device > li.device > .mac {
  width: 176px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}
ul.device > li.device > .status {
  min-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul.device > li.device.item {
  background: #c2d5db;
  color: #454e52;
  display: flex;
}
ul.device > li.device.item.item0 {
  background: #fff;
}
ul.device > li.device.item.item1 {
  background: #eee;
}
ul.device > li.device.item a.link {
  display: inline-block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  top: 0;
  color: #454e52;
  cursor: pointer;
}
/*ul.device > li.device.item.selected {
	background: #263142;
	color: white;
}
ul.device > li.device.item.selected a.link > .text {
	color: white;
}*/
ul.device > li.device.item:hover {
  background: #263142;
  color: white;
}
ul.device > li.device.item:hover a.link > .text {
  color: white;
}
ul.device > li.device.item:hover .select-selected {
  color: white;
}

ul.device > li.device.item:hover .select-selected::after {
  border-color: #fff transparent transparent transparent;
}

/* list title */
ul.device > li.device.title {
  color: white;
  background: #b2b2b2;
  display: block;
  display: flex;
}
ul.device > li.device > div.field .text {
  display: inline-block;
  vertical-align: middle;
  margin-top: 6px;
}
ul.device > li.device > div.field a.link > .text {
  color: #454e52;
}
ul.device > li.device > div.field a.link > .text:hover {
  text-decoration: underline;
}
#div_list > div.empty.result {
  display: none;
  text-align: center;
}
#div_list > div.empty.result.show {
  display: inherit;
  background: 0px 0px no-repeat url(../images/empty.png);
  width: 243px;
  height: 243px;
  margin: 129px auto 0 auto;
}
#div_list > div.empty.result > .text {
  padding-top: 180px;
}
#div_process {
  display: none;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
#div_process.show {
  display: block;
}

.disfunction_desc {
  display: none;
  width: 100%;
  height: 200px;
}
.disfunction_desc > .text {
  width: 80%;
}
.disfunction_desc.show {
  display: flex;
  justify-content: center;
}

/*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  background-color: transparent;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: relative;
  content: "";
  top: 11px;
  right: -10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #111 transparent transparent transparent;
}

/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
  color: #454e52;
  padding: 8px 0px 8px 0px;
  cursor: pointer;
  user-select: none;
}

.custom-select {
  width: 140px;
}

.select_menu {
  display: none;
  background-color: #fff;
  border: 1px solid #111;
  position: absolute;
  top: 0;
  left: 0;
  width: 168px;
  max-height: 200px;
  overflow: auto;
  padding-top: 8px;
}

.select_menu .select-item {
  font-size: 13px;
  color: #222;
  background-color: #fff;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 5px;
  padding-left: 35px;
  box-sizing: border-box;
  cursor: pointer;
}
.select_menu .selected-item::before {
  content: url(../images/selectd_item_menu.svg);
  position: absolute;
  left: 10px;
}

.select_menu .select-item:hover {
  background-color: #E7EAED;;
}

#scan_progress {
  display: block;
}

#btn_scan_container {
  display: none;
}