body {
    padding-top: 60px;
}

.section {
    margin: 10px 0;
}

.navbar .brand {
    padding: 0 20px;
}

#base_navbar.navbar-inverse .nav li.dropdown.open > .dropdown-toggle {
    background-color: darkred;
}

#base_navbar.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus {
    background-color: darkred;
}

#base_navbar.navbar-inverse .nav > li > a:hover {
    background-color: darkred;
}

#base_navbar.navbar-inverse .nav > li > a:focus {
    background-color: darkred;
}

#base_navbar {
    background-color: firebrick;
}

.num_param {
    width: 60px;
}

.select_param {
    margin: 0;
    width: 130px;
}

.form-horizontal .control-group {
    margin-bottom: 10px;
}

.form-horizontal .control-label {
    width: 200px;
}

.form-horizontal .controls {
    margin-left: 220px;
}

#canvas_ {
    border: 1px solid black;
}

#region_name {
    margin-left: 25px;
}

.alert {
    font-weight: bold;
}

label.checkbox span {
    position: relative;
}

#public_key {
    width: 200px;
    height: 100px;
}

.hidden_field {
    display: none;
}

.select-all {
    margin-right: 5px !important;
    margin-bottom: 5px !important;
}

.device_info_button {
    padding: 3px;
    text-align: left;
}

.device-info .row {
    padding: 3px;
}

#format_and_reboot_container {
    padding: 20px 0 5px 0;
    text-align: center;
}

.span2 {
    width: 140px;
}

.email_confirm {
    color: red;
}

.device-name {
    display: inline-block;
    height: 20px;
    min-width: 10px;
    max-width: 145px;
}

.chan-name {
    display: inline-block;
    height: 20px;
    min-width: 10px;
}

.flag-btn {
    margin-right: 20px;
}

.btn.btn-danger.btn-large {
    font-weight: bold
}

.btn.btn-danger.btn-large.active {
    color: yellow;
}

.btn.btn-danger.btn-large.bitrate-btn {
    width: 70px;
}

#update-info {
    text-align: center;
}

/* GPIO */
#table-gpio td {
    width: 160px;
    line-height: 30px;
    text-align: left;
}

#table-gpio th {
    text-align: center;
}

#table-gpio input[type="checkbox"] {
    margin: 0px 0 0;
}

#gpio-separator {
    border-left: 1px solid black;
}

​
#table-action th {
    text-align: center;
}

#table-action th {
    text-align: center;
}

#table-action input[type="checkbox"] {
    margin: 0px 0 0;
}

.gpio {
    width: 160px;
}

[id$="-alarm_name"] {
    width: 172px;
}

[id$="-alarm_device"] {
    width: 185px;
}

.contenitore {
    width: 186px;
    margin-bottom: 7px;
    margin-top: 7px;
}

[id$="-output_num"] {
    width: 187px;
}

[id$="-output_action"] {
    width: 187px;
}

[id$="-output_duration"] {
    width: 60px;
    float: right;
}

.btn.btn-danger.btn-yellow {
    color: yellow;
}

.action_enabled {
    width: 60px;
    height: 20px;
}

[id$="-action_name"] {
    height: 25px;
}

.counter {
    line-height: 30px;
}

.duration {
    width: 210px;
}

#table-action td {
    vertical-align: middle;
}

.text-gpio {
    text-align: center;
}

.empty-element {
    width: 135px;
}

.span5 {
    width: 400px;
    line-height: 35px;
}

#activation {
    margin-bottom: 5px;
}

.input-name {
    display: inline-block;
    height: 20px;
    min-width: 10px;
}

.underlined {
    text-decoration: underline
}

.even {
    background-color: #ddd;
}

.padding10 {
    padding: 10px;
}

.padding20 {
    padding: 20px;
}

.padding-left-10 {
    padding-left: 10px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.top10 {
    margin-top: 10px;
}

.top20 {
    margin-top: 20px;
}

.top30 {
    margin-top: 30px;
}

.pointer {
    cursor: pointer;
}

.algo-plates-env {
    width: 100px;
}

.text-center {
    text-align: center;
}

.table td.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.border_field {
    color: #555;
    border-bottom: 1px solid #e5e5e5;
}


.tile {
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    background: #fff;
    padding: 20px;
    margin-bottom: 10px;
}

.tile .title {
    margin-top: 5px;
}

.tile.purple {
    background: #5133ab;
}

.tile.purple:hover {
    background: #3e2784;
}

.tile.red {
    background: #ac193d;
}

.tile.red:hover {
    background: #7f132d;
}

.tile.green {
    background: #00a600;
}

.tile.green:hover {
    background: #007300;
}

.tile.blue {
    background: #2672ec;
}

.tile.blue:hover {
    background: #125acd;
}

.tile.sky {
    background: #87cefa;
}

.tile.sky:hover {
    background: #00bfff;
}

.tile.salmon {
    background: #ffa07a;
}

.tile.salmon:hover {
    background: #fa8072;
}

.tile.orange {
    background: #dc572e;
}

.tile.orange:hover {
    background: #b8431f;
}

.tile.golden {
    background: #EEE8AA;
}

.tile.golden:hover {
    background: #F0E68C;
}

.tile.cyan {
    background: #66CDAA;
}

.tile.cyan:hover {
    background: #008080;
}


.tile.white {
    background: white;
}

.tile.white:hover {
    background: whitesmoke;
}


.home-tile-page h6 {
    color: whitesmoke;
}

.home-tile-page a:hover {
    cursor: pointer;
    text-decoration: None !important;
}


.onoffswitch {
    text-align: left;
    height: 34px;
    position: relative;
    width: 90px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none !important;
}

.onoffswitch-label {
    display: block !important;;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block !important;;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #34A7C1;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE;
    color: #999999;
    text-align: right;
}

.onoffswitch-switch {
    display: block !important;;
    width: 18px;
    margin: 6px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 2px solid #999999;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.dispositivi .table th, .table td {
    vertical-align: middle;
}

.white {
    color: white;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

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

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

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

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}