/* 
This code was obtained from Marco Schwartz
https://github.com/openhomeautomation/remote-control-motor/blob/master/interface/style/style.css
*/

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.72222;
  color: #34495e;
  background-color: #ffffff;
}
a {
  color: #16a085;
  text-decoration: none;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}
a:hover,
a:focus {
  color: #1abc9c;
  text-decoration: none;
}
a:focus {
  outline: none;
}

.btn-close {
  color: #ffffff;
  background-color: #ff4d4d;
}

.btn-close2 {
  color: #ffffff;
  background-color: #48c9b0;
}

.btn {
  border: none;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.4;
  border-radius: 4px;
  padding: 10px 15px;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-transition: border .25s linear, color .25s linear, background-color .25s linear;
  transition: border .25s linear, color .25s linear, background-color .25s linear;
}
.btn:hover,
.btn:focus {
  outline: none;
  color: #ffffff;
}
.btn:active,
.btn.active {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  background-color: #bdc3c7;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0.7;
  filter: alpha(opacity=70);
}

.btn-wide {
  min-width: 140px;
  padding-left: 30px;
  padding-right: 30px;
}

.ui-slider {
   /*background: #ebedef;*/
   /*border-radius: 32px;*/
   /*height: 12px;*/
  width: 600px;
  display: inline-block;
   /*-webkit-box-shadow: none;*/
   /*box-shadow: none;*/
   /*margin-bottom: 20px;*/
   /*position: relative;*/
   /*cursor: pointer;*/
}

.ui-slider-range {
  background-color: #1abc9c;
  display: block;
  height: 100%;
  position: absolute;
  z-index: 1;
}

.ui-slider-range {
   /*border-radius: 30px 0 0 30px;*/

  -webkit-appearance: none;
  width: calc(500px - 60px + 13px);
   /*width: 400px;*/
  height: 10px;
  border-radius: 5px;
  background: #d7dcdf;
  outline: none;
  padding: 0;
  margin: 0;

   /*Range Handle*/
  &::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #2c3e50;
    cursor: pointer;
    transition: background .15s ease-in-out;

    &:hover {
      background: #2c3e50;
    }
  }

  &:active::-webkit-slider-thumb {
    background: #1abc9c;
  }

  &::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #2c3e50;
    cursor: pointer;
    transition: background .15s ease-in-out;

    &:hover {
      background: #1abc9c;
    }
  }

  &:active::-moz-range-thumb {
    background: #2c3e50;
  }
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #2c3e50;
  border: 0px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  cursor: pointer;
}

.ui-slider-value {
  float: right;
   /*font-size: 13px;*/
  margin-top: -10px;

  display: inline-block;
  position: relative;
  width: 60px;
  color: #fff;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  background: #2c3e50;
  padding: 5px 10px;
  margin-left: 5px;
  
  &:after {
    position: absolute;
    top: 8px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-right: 7px solid #2c3e50;
    border-bottom: 7px solid transparent;
    content: '';
  }
}
.ui-slider-value.first {
  clear: left;
  float: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.1;
  color: inherit;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small {
  color: #e7e9ec;
}
h1,
h2,
h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}
h4,
h5,
h6 {
  margin-top: 15px;
  margin-bottom: 15px;
}
h6 {
  font-weight: normal;
}
h1,
.h1 {
  font-size: 61px;
}
h2,
.h2 {
  font-size: 53px;
}
h3,
.h3 {
  font-size: 40px;
}
h4,
.h4 {
  font-size: 29px;
}
h5,
.h5 {
  font-size: 28px;
}
h6,
.h6 {
  font-size: 24px;
}

p {
  font-size: 18px;
  line-height: 1.72222;
  margin: 0 0 15px;
}
/**************************************************************************************************************/

/*body {
    font-family: 'Open Sans';
}*/

/*input + span {
    margin-left: 120px;
}*/

span + input {
    /*margin-left: -30px;*/
    margin-bottom: 40px;
}

/* change color of knob text */
.dial { color: #2f3e4e !important; }

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #2f3e4e;
}

.nav li {
    float: left;
}

.nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.nav li a:hover:not(.active) {
    /*background-color: #acacac;*/
    /*color: white;*/

    color: #6cc6b1;
}

.nav li a:hover {
    color: white;
}

.active {
    /*background-color: #acacac;*/
    background-color: #6cc6b1;
}

.styled-select {
        font-size: 14pt;
        font-family: 'Open Sans';
        height: 10px;
}

.leftSpace {
    margin-left: 700px;
}

.bottomPadding {
    margin-bottom: 50px;
}

.bottomPadSmall {
    margin-bottom: 50px;   
}

.leftPadSmall {
    margin-left: 10px;
    margin-right: 10px;   
}

.leftPadLarge {
    margin-left: 630px;
    
}

.buttonBlock{    
    margin: 25px;
    width: 1200px;
    /*// width: 100%;*/
    margin-left: auto;
    margin-right: auto;
}

.buttonBlock2{    
    margin: 25px;
    width: 800px;
    /*// width: 100%;
    // padding-left: 500px;*/
    margin-left: 1000px;
    margin-right: auto;
}

// .buttonBlock2{    
//     margin: 25px;
//     width: 500px;
//     margin-left: 282px;
//     margin-right: auto;
// }

.title{
    text-align: center;
    font-size: 40px;
    vertical-align: middle;
}

.text{
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    font-size: 16px;
    margin-left: 10px;
    margin-right: 150px;
    width: 45px;
}

.text2{
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    font-size: 20px;
    margin-left: 0px;
    margin-right: 10px;
    // height: 40px;
}

.text3{
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    margin-left: 10px;
    margin-right: 10px;
    width: 45px;
}

.buttonTitle {
    font-size: 30px;
    margin-right: 5px;
    width: 225px;
    display: inline-block;
    vertical-align: middle;
}

.buttonTitle2 {
    font-size: 30px;
    margin-right: 5px;
    width: 180px;
    display: inline-block;
    vertical-align: middle;
}

.buttonTitle3 {
    font-size: 30px;
    margin-right: 5px;
    width: 110px;
    display: inline-block;
    vertical-align: middle;
}

.statTitle {
    font-size: 20px;
    margin-right: 5px;
    margin-left: 75px;
    width: 150px;
    display: inline-block;
    vertical-align: middle;
}

.statText {
    font-size: 20px;
    margin-right: 5px;
    margin-left: 5px;
    width: 100px;
    display: inline-block;
    vertical-align: middle;
}

.mainContainer {
    //width: 560px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

input[type=range]{
    margin-left: 25px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 15px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #323E4D;
    color: white;
    height: 65px; /* new, delete to revert 2 original */
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px;
    background-color: #323E4D;
    color: white;
}

h3 {
   color: white;
   font-family: arial;
}

