/*
    Document   : ssd.css
    Created on : 07 ?March ?2017, ??18:10:40 PM
    Author     : Pabitra K Jana
    Organization : IIT Kharagpur 
*/

body{
    background-color: rgb(1, 41, 67); 
}
#wrapper {
    width: 100%;
    height: 100%;
    margin: 0 auto; 

}
#header{
    width: 80%;
    height: 10%;
    position: absolute;
    left: 10%;    
}

#logo img{
    width: 100%;    
}
#lab-name-wrapper{
    background-color: rgb(229,243,254);    
    height: 54%;
    margin: 0 auto;
    overflow-x: hidden;
    padding-top: 1px;
}
#lab-name-wrapper a{
    width: 100%;
    background-color: chocolate;
    color: #fff;
    text-decoration: none;
    float: left;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 25px 0px;

}
#main{
    background-color: rgb(229,243,254);
    position: absolute;
    top:30.2%;
    width: 80%;
    overflow-x: hidden;
    left: 10%;
    height: 80%;
}
#main-content{
    height: 90%;
    padding-top: 32px;
}
#main-title,#graph-title,#controller-title{
    width: 100%;
    background-color: rgb(13,139,211);
    color: #fff;
    float: left;
    font-size: 22px;
    font-weight: bold;
    padding: 3px 25px 0px;
}
#graph-title,#controller-title{
    background-color: rgb(13,139,111);
    padding:0 !important;
}
/*#graph-wrapper {
    height:420px;
    width:620px;
}*/

#graph-title span,#controller-title span {
    padding-left:25px;
}

#graph-wrapper{ 
    width: 75%;
    height: 102%;    
    float: left;
    overflow-x: hidden;
}
#graph-display {
    clear: both;
    height: 90%;
    width: 100%;
}
#graph-display img{
    height: 100%;
    width: 100%;    
}
#controller-wrapper{
    width: 25%;
    height: 100%;
    /*position: absolute;*/
    margin-left: 75.2%;
}

#footer{
    position: absolute;
    top:111%;
    background-color: lightseagreen;
    width: 80%;    
    height: 5%;
    left: 10%;
    text-align: center;
    padding-top: 10px;
}
.clearfix{
    clear: both;
}

/*******************Device status toggle button************************/

.switch {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 56px;
    height: 20px;
    padding: 3px;
    background-color: white;
    border-radius: 18px;
    box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    background-image: -webkit-linear-gradient(top, #eeeeee, white 25px);
    background-image: -moz-linear-gradient(top, #eeeeee, white 25px);
    background-image: -o-linear-gradient(top, #eeeeee, white 25px);
    background-image: linear-gradient(to bottom, #eeeeee, white 25px);
}

.switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 10px;
    text-transform: uppercase;
    background: #eceeef;
    border-radius: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
    -webkit-transition: 0.15s ease-out;
    -moz-transition: 0.15s ease-out;
    -o-transition: 0.15s ease-out;
    transition: 0.15s ease-out;
    -webkit-transition-property: opacity background;
    -moz-transition-property: opacity background;
    -o-transition-property: opacity background;
    transition-property: opacity background;
}
.switch-label:before, .switch-label:after {
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    line-height: 1;
    -webkit-transition: inherit;
    -moz-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
}
.switch-label:before {
    content: attr(data-off);
    right: 11px;
    color: #aaa;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
.switch-label:after {
    content: attr(data-on);
    left: 11px;
    color: white;
    text-shadow: 0 1px rgba(0, 0, 0, 0.2);
    opacity: 0;
}
.switch-input:checked ~ .switch-label {
    background: #47a8d8;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch-input:checked ~ .switch-label:before {
    opacity: 0;
}
.switch-input:checked ~ .switch-label:after {
    opacity: 1;
}

.switch-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 10px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    background-image: -webkit-linear-gradient(top, white 40%, #f0f0f0);
    background-image: -moz-linear-gradient(top, white 40%, #f0f0f0);
    background-image: -o-linear-gradient(top, white 40%, #f0f0f0);
    background-image: linear-gradient(to bottom, white 40%, #f0f0f0);
    -webkit-transition: left 0.15s ease-out;
    -moz-transition: left 0.15s ease-out;
    -o-transition: left 0.15s ease-out;
    transition: left 0.15s ease-out;
}
.switch-handle:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    width: 12px;
    height: 12px;
    background: #f9f9f9;
    border-radius: 6px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
    background-image: -webkit-linear-gradient(top, #eeeeee, white);
    background-image: -moz-linear-gradient(top, #eeeeee, white);
    background-image: -o-linear-gradient(top, #eeeeee, white);
    background-image: linear-gradient(to bottom, #eeeeee, white);
}
.switch-input:checked ~ .switch-handle {
    left: 40px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.switch-green > .switch-input:checked ~ .switch-label {
    background: #4fb845;
}

/*************************    knob    **********************************/

#frequency-knon-container {
    /*border: 1px solid red;*/
    /*margin-bottom: 20px;*/
    text-align: center;
    float: left;
    width: 120px;
    height: 110px;
    padding: 5px;
    /*background-color: orange;*/
    text-align: center;
}
#amplitude-knon-container {
    /*border: 1px solid red;*/
    /*margin-bottom: 20px;*/
    text-align: center;
    float: right;
    width: 120px;
    height: 110px;
    padding: 5px;
    /*background-color: grey;*/
    text-align: center;
}
#frequency-knon-container label,#amplitude-knon-container label,#switch-container span{
    font-style: italic;
}

#knob-container{
    /*    position: absolute;
        top:2%;*/
}
#switch-container{
    position: absolute;
    top:40%; 
    padding-left: 10px;
}
#message-container{
    position: absolute;
    top:50%; 
}
#function-generator-container{
    position: absolute;
    top:67.5%;
}
#function-generator-container img{
    height: 100%;
    width: 100%;
}

/***********export button********************/

#export{
    display: none;
    width: 80px;
    height: 25px;
    background: #4E9CAF;
    padding: 3px;
    text-align: center;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}
#export:focus,
#export:hover {
    background-color: rgb(13,139,211);
}