
* { margin: 0; padding: 0; }

html {
    overflow-y: scroll;
    background: #F7ECEA; /* Ganz helles Rosa */
    margin: 8px;
}

body {
    font: 12px/1.4 Helvetica, sans-serif;
    padding: 2px;
    background: #F8F8F8;
    color: #424242;
    margin: 0 auto;
    max-width: 700px;
    border-radius: 25px;
    /*border: 2px solid #F0ACC2;*/
    font: 1em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.group:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
    text-align: center;
}

.group {
    display: inline-block;
    clear: both;
    text-align: center;
}

/* start commented backslash hack \*/ * html .group { height: 1%; } .group { display: block; } /* close commented backslash hack */
article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; }
a:focus { outline: 0; }

#page-wrap {
    width: 500px;
    margin: 5px auto 5px;
    background: #E2B3C5;
    padding: 8px;
    background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
	background: -moz-linear-gradient(top,  #eee,  #ccc);
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
}

#main-content {
    padding: 14px;
}

h1 {
    letter-spacing: 2px;
    padding: 14px;
    margin-bottom: 0;
    text-shadow: 1px 1px 1px white;
}

/* Tabs */
.js-on #tabs article
{
	   display: none;
}

.js-on #tabs article.active
{
	display:block;
}
#tabs #mobiles{
	display:none;
	border-radius: 0;
}
#tabs #mobiles a, #tabs #mobiles a:first-child, #tabs #mobiles a:last-child{
	width:300px;
	border-radius: 0;
}

.item1 { grid-area: switch; border-top-left-radius: 10px;}
.item2 { grid-area: buttonshow; }
.item3 { grid-area: button; border-top-right-radius: 10px;}
.item4 { grid-area: power; }
.item5 { grid-area: voltage; }
.item6 { grid-area: frequency; }
.item7 { grid-area: none; }
.item8 { grid-area: show1; border-bottom-left-radius: 10px;}
.item9 { grid-area: show2; }
.item10 { grid-area: show3; border-bottom-right-radius: 10px;}

/*Gridpanel*/
.remote {
    display: center;
    padding: 100px;
}

.grid-container {
  width: 100%;
  display: grid;
  grid-template-areas:
    'switch none none buttonshow button'
    'power none none voltage frequency'
    'show1 none none show2 show3';
  /*grid-gap: 0.5px;*/
  background-color: #999999;						/*Hintergrund Grid System*/
  padding: 5px;
  max-width: 240px;
  border-radius: 10px;
}

.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
    max-width: 100%;
  height: auto;
}

.grid-container > div img {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
    max-width: 100%;
    margin: -10px;
  height: auto;
}

/*slider*/
input[type=range].range {
    cursor: pointer;
    width: 10px !important;
    -webkit-appearance: none;
    z-index: 200;
    width: 180px !important;			/*Slider höhe*/
    margin-left: -80px;
    margin-right: -80px;
    background-color: #CCCCCC;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#CCCCCC), to(#d2d2d2));
    background-image: -webkit-linear-gradient(right, #CCCCCC, #CCCCCC);
    background-image: -moz-linear-gradient(right, #CCCCCC, #CCCCCC);
    background-image: -ms-linear-gradient(right, #CCCCCC, #CCCCCC);
    background-image: -o-linear-gradient(right, #CCCCCC, #CCCCCC)
}

input[type=range].range:focus {
    border: 0 !important;
    outline: 0 !important
}

/*Slidersteine*/
input[type=range].range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 30px;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a86a77), to(#a86a77));
    background-image: -webkit-linear-gradient(right, #a86a77, #a86a77);
    background-image: -moz-linear-gradient(right, #a86a77, #a86a77);
    background-image: -ms-linear-gradient(right, #a86a77, #a86a77);
    background-image: -o-linear-gradient(right, #a86a77, #a86a77)
}


input[type=range].round::-webkit-slider-thumb {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px
}

.vertical {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg)
}

/*Switch*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-top: 15px;
  text-align: center;
  vertical-align: middle;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CCCCCC;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

input:checked + .slider {
  background-color: #a86a77; /* Mattes Rosa */
}

input:focus + .slider {
  box-shadow: 0 0 1px #a86a77; /* Mattes Rosa*/
  border-radius: 34px;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  border-radius: 50%;
}

.numbers {
	color: #a86a77; /* Mattes Rosa */
	font-size: 16px;
	font-family: cursive;
	margin: -10px;
    padding: 3px;
}

.btn-primary {
    background: #a86a77; /* Mattes Rosa */
    border: none;
    hover: CCCCCC;
}


