body {
  position: relative;
  font-family: 'Open Sans', sans-serif;
  background: #F5F5F5;
  font-size: 12px;
  margin: 0;
  padding: 0;
}

.app {
  position: relative;
  width: 1590px;
  background: #fff;
  margin: 50px auto 0;
  min-height: 1200px;
  border: 1px solid #E2E2E2;
  border-bottom: 0;
}

.app-wrap {
  padding: 50px;
}

/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inherit;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 400px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 65%;
  left: 50%;
  margin-left: -325px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 82%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

/* END of popup section */

.partone {
  width: calc(100% - 50px);
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  height: 55px;
}

.partone {
  border-bottom: 2px solid #eee;
}

.partone span.info {
  line-height: 40px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  color: #09c;
  align-self: flex-end;
}

.parttwo {
  background: #F5F5F5;
  border: 1px solid #e2e2e2;
  padding: 25px 32px;
  display: flex;
  justify-content: space-between;
}

.parttwo .days {
  display: flex;
  width: 400px;
  margin-top: 15px;
}

.parttwo .recordingmethod > span,
.parttwo .totalstorage > span,
.parttwo .networkusage > span {
  display: block;
  padding: 0 15px;
  padding-bottom: 3px;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}

.parttwo .totalstorage .inside {
  padding: 21.5px 15px;
  border-radius: 5px;
  background: #fff;
  display: flex;
  align-items: center;
  min-width: 200px;
  max-width: 260px !important;
  justify-content: space-between;
}

.parttwo .totalstorage .inside > div:nth-of-type(1) {
  padding-right: 25px;
  color: #09c;
  font-weight: 600;
  font-size: 14px;
}
.parttwo .totalstorage .inside > div:nth-of-type(2) {
  display: flex;
  align-self: flex-end;
  justify-content: flex-end;
  align-items: center;

}

.parttwo .totalstorage .inside > div:nth-of-type(2) > div:nth-of-type(1) {
  position: relative;
  top: 3px;
  display: flex;
  color: #000;
  font-size: 30px;
  font-weight: 600;
  padding-right: 10px;
  align-self: flex-end;
}
.parttwo .totalstorage .inside > div:nth-of-type(2) > div:nth-of-type(2) {
  display: flex;
  font-size: 20px;
  width: 30px;
  color: #09c;
  align-self: flex-end;
}

.parttwo .days .slidecontainer {
  width: auto;
}

.parttwo .days .rangeslider {
  width: 275px;
}

.parttwo .days > div:not(.slidecontainer) {
  width: 125px;
  padding-left: 25px;
}

.parttwo .days > div:not(.slidecontainer) {
  color: #09c;
}

.parttwo .days div:not(.slidecontainer) input {
  width: 40px;
  text-align: center;
  border: 1px solid #09c;
  margin-right: 2px;
}

h1 {
  font-weight: 300;
  margin: 0;
}

h1 span {
  font-size: 40px;
}
h1 small {
  padding-left: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #09c;
  text-transform: uppercase;
}

h1 span.blue {
  color: #09c;
}
h1 span.red {
  color: red;
}

.list {
  position: relative;
  display: flex;
  /*margin-top: 50px;*/
  flex-wrap: wrap;
}

.list-head {
  position: relative;
  display: flex;
  margin-top: 50px;
  align-items: center;
  vertical-align: bottom;
}

.list-head > div {
  padding-bottom: 10px !important;
  color: #09c;
  font-weight: 700;
  font-size: 13px;
}

.list-head .partial-results {
  align-self: flex-end;
}

.list .list-item {
  position: relative;
  display: flex;
  width: 100%;
  background: #F5F5F5;
  border: 1px solid #e2e2e2;
  margin-bottom: 2px;
  box-sizing: border-box;
}

.list .list-item:last-of-type {
  /*margin-bottom: 0;*/
}

.list .list-item:not(.hidden):first-child {
  /*border-top-left-radius: 25px;
  border-top-right-radius: 25px;*/
}

.list .list-item:first-of-type .close {
  display: none;
}

.list .list-item:not(.hidden):last-child {
  /*border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;*/
}

.add {
  font-family: "Open Sans";
  background: #5cb85c;
  border: 1px solid #4cae4c;
  float: right;
  text-align: center;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 8px;
  padding: 7px 8px;
  font-weight: 700;
  outline: none !important;
}

.add::after {
  content: "";
  display: table;
  clear: right;
}

.list .list-item > div {
  display: flex;
  height: 110px;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

#form .on-off {
  text-align: center;
  width: 90px !important;
}

.switch {
  position: relative;
  display: inline-block;
  width: 74px;
  height: 51px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 23px;
  right: 0;
  bottom: 23px;
  background-color: #ccc;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: #00CC00;
}
input:checked + .slider:before {
  -webkit-transform: translateX(23px);
  -ms-transform: translateX(23px);
  transform: translateX(23px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

#form .qua-name-res {
  width: 250px;
  padding: 0 12.5px;
}

.qua-name-res .flexbetween {
  display: flex;
  justify-content: space-between;
}

.qua-name-res .flexbetween {
  color: #09c;
}

.qua-name-res input {
  height: 24px;
  padding: 0 5px;
  border-radius: 5px;
  font-weight: 600;
  color: #333;
  border: 1px solid #09c;
  font-family: 'Open Sans', sans-serif;
  margin-right: 2px;
}
.qua-name-res input:first-of-type {
  margin-right: 2px;
}
.qua-name-res input[type="text"] {
  width: 130px;
}
.qua-name-res .inline-radio {
  margin-top: 10px;
}

.inline-radio {
	display: flex;
  border-radius: 0;
	overflow: hidden;
}
.inline-radio div {
	position: relative;
	flex: 1;
  border: 1px solid #09c;
  margin-left: -1px;
}
.inline-radio div:first-of-type:before {
  position: absolute;
  content: "";
  width: 1px;
  background: #09c;
  height: 100%;
}
.inline-radio div input {
  width: 100%;
  margin: 0;
	height: 22px;
  opacity: 0;
  cursor: pointer;
}
.inline-radio div	label {
	position: absolute;
	top: 0; left: 0;
	color: #09c;
	width: 100%;
	height: 100%;
  font-size: 12px;
  cursor: pointer;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.inline-radio div	div:last-child label {
	border-right: 0;
}
.inline-radio div	input:checked + label {
	background: #09c;
  font-weight: 600;
	color: #fff;
}

#form .compression, #form .environment {
  width: 200px;
  padding: 0 12.5px;
}

.list .environment .inline-radio:first-of-type,
.list .compression .inline-radio:first-of-type {
  margin-bottom: 10px;
}

#form .picture-quality {
  width: 350px;
  padding: 0 12.5px;
}

.picture-quality > div {
  margin: 10px 0;
  display: flex;
  justify-content: flex-start;
}
.picture-quality > div:last-of-type {
  margin-bottom: 13px;
}

.picture-quality > div > div:last-of-type {
  width: 120px;
  display: flex;
  margin-left: 25px;
}

.picture-quality > div > div:last-of-type input[type="text"] {
  width: 40px;
  text-align: center;
  border: 1px solid #09c;
}

.picture-quality > div > div span {
  color: #09c;
  font-weight: 600;
}

.slidecontainer {
  width: calc(100% - 120px);
}
.rangeslider:hover {
  opacity: 1;
}

.rangeslider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 5px;
  background: #ccc;
  outline: none;
  opacity: 0.8;
  -webkit-transition: .2s;
  margin: 0;
  transition: opacity .2s;
}
.rangeslider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 1px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

}
.rangeslider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

#form .partial-results {
  width: 300px;
  padding: 0 12.5px;
}

.partial-results .inside,
.parttwo .networkusage .inside {
  background: #fff;
  width: 250px;
  padding: 5px 0 5px 25px;
}

.parttwo .networkusage .inside {
  padding: 15px;
  width: 268px;
  border-radius: 5px;
}

.partial-results .inside > div,
.parttwo .networkusage .inside > div {
  display: flex;
  font-weight: 600;
}
.partial-results .inside > div > div:first-of-type,
.parttwo .networkusage .inside > div > div:first-of-type {
  width: 120px;
  text-transform: uppercase;
  color: #09c;
  font-weight: 600;
}
.parttwo .networkusage .inside > div > div:first-of-type {
  width: 150px;
  font-weight: 600;
  font-size: 13px;
}

.partial-results .inside > div > div:last-of-type span,
.parttwo .networkusage .inside > div > div:last-of-type span {
  width: 60px;
}
.partial-results .inside > div > div:last-of-type span:first-of-type,
.parttwo .networkusage .inside > div > div:last-of-type span:first-of-type {
  text-align: right;
  color: #000;
  font-weight: 700;
}
.partial-results .inside > div > div:last-of-type span:last-of-type,
.parttwo .networkusage .inside > div > div:last-of-type span:last-of-type {
  text-align: left;
  color: #09c;
  padding-left: 10px;
  width: 40px;
}
.partial-results .inside > div > div,
.parttwo .networkusage .inside > div > div {
  display: flex;
}

.close {
  position: absolute;
  right: -12.5px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 90%;
  cursor: pointer;
  background: red;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
}

footer {
  padding: 25px 0;
  text-align: center;
  color: #09C;
}

footer span {
  color: #777;
}
