/*
*  --------------------------------------------------------
*  Bootstrap 2.x Grid system
*/
.row-fluid {
    width: 100%;
    *zoom: 1;
}

.row-fluid:before,
.row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
}

[dir] .row-fluid:after {
    clear: both;
}

.row-fluid [class*="span"] {
    display: block;
    width: 100%;
    min-height: 30px;
    box-sizing: border-box;
}

[dir=ltr] .row-fluid [class*="span"] {
    float: left;
    margin-left: 2.127659574468085%;
    margin-left: 2.074468085106383%;
}

[dir=rtl] .row-fluid [class*="span"] {
    float: right;
    margin-right: 2.127659574468085%;
    *margin-right: 2.074468085106383%;
}

[dir=ltr] .row-fluid [class*="span"]:first-child {
    margin-left: 0;
}

[dir=rtl] .row-fluid [class*="span"]:first-child {
    margin-right: 0;
}

[dir=ltr] .row-fluid .controls-row [class*="span"] + [class*="span"] {
    margin-left: 2.127659574468085%;
}

[dir=rtl] .row-fluid .controls-row [class*="span"] + [class*="span"] {
    margin-right: 2.127659574468085%;
}

.row-fluid .span12 {
    width: 100%;
    *width: 99.94680851063829%;
}
.row-fluid .span11 {
    width: 91.48936170212765%;
    *width: 91.43617021276594%;
}

.row-fluid .span10 {
    width: 82.97872340425532%;
    *width: 82.92553191489361%;
}

.row-fluid .span9 {
    width: 74.46808510638297%;
    *width: 74.41489361702126%;
}

.row-fluid .span8 {
    width: 65.95744680851064%;
    *width: 65.90425531914893%;
}

.row-fluid .span7 {
    width: 57.44680851063829%;
    *width: 57.39361702127659%;
}

.row-fluid .span6 {
    width: 48.93617021276595%;
    *width: 48.88297872340425%;
}

.row-fluid .span5 {
    width: 40.42553191489362%;
    *width: 40.37234042553192%;
}

.row-fluid .span45 {
    width: 36.170212765957449%;
    *width: 36.117021276595747%;
}

.row-fluid .span4 {
    width: 31.914893617021278%;
    *width: 31.861702127659576%;
}

.row-fluid .span35 {
    width: 27.659574468085106%;
    *width: 27.606382978723405%;
}

.row-fluid .span3 {
    width: 23.404255319148934%;
    *width: 23.351063829787233%;
}

.row-fluid .span2 {
    width: 14.893617021276595%;
    *width: 14.840425531914894%;
}

.row-fluid .span1 {
    width: 6.382978723404255%;
    *width: 6.329787234042553%;
}

[dir=ltr] .row-fluid .offset12 {
    margin-left: 104.25531914893617%;
    margin-left: 104.14893617021275%;
}

[dir=rtl] .row-fluid .offset12 {
    margin-right: 104.25531914893617%;
    *margin-right: 104.14893617021275%;
}

[dir=ltr] .row-fluid .offset12:first-child {
    margin-left: 102.12765957446808%;
    margin-left: 102.02127659574467%;
}

[dir=rtl] .row-fluid .offset12:first-child {
    margin-right: 102.12765957446808%;
    *margin-right: 102.02127659574467%;
}

[dir=ltr] .row-fluid .offset11 {
    margin-left: 95.74468085106382%;
    margin-left: 95.6382978723404%;
}

[dir=rtl] .row-fluid .offset11 {
    margin-right: 95.74468085106382%;
    *margin-right: 95.6382978723404%;
}

[dir=ltr] .row-fluid .offset11:first-child {
    margin-left: 93.61702127659574%;
    margin-left: 93.51063829787232%;
}

[dir=rtl] .row-fluid .offset11:first-child {
    margin-right: 93.61702127659574%;
    *margin-right: 93.51063829787232%;
}

[dir=ltr] .row-fluid .offset10 {
    margin-left: 87.23404255319149%;
    margin-left: 87.12765957446807%;
}

[dir=rtl] .row-fluid .offset10 {
    margin-right: 87.23404255319149%;
    *margin-right: 87.12765957446807%;
}

[dir=ltr] .row-fluid .offset10:first-child {
    margin-left: 85.1063829787234%;
    margin-left: 84.99999999999999%;
}

[dir=rtl] .row-fluid .offset10:first-child {
    margin-right: 85.1063829787234%;
    *margin-right: 84.99999999999999%;
}

[dir=ltr] .row-fluid .offset9 {
    margin-left: 78.72340425531914%;
    margin-left: 78.61702127659572%;
}

[dir=rtl] .row-fluid .offset9 {
    margin-right: 78.72340425531914%;
    *margin-right: 78.61702127659572%;
}

[dir=ltr] .row-fluid .offset9:first-child {
    margin-left: 76.59574468085106%;
    margin-left: 76.48936170212764%;
}

[dir=rtl] .row-fluid .offset9:first-child {
    margin-right: 76.59574468085106%;
    *margin-right: 76.48936170212764%;
}

[dir=ltr] .row-fluid .offset8 {
    margin-left: 70.2127659574468%;
    margin-left: 70.10638297872339%;
}

[dir=rtl] .row-fluid .offset8 {
    margin-right: 70.2127659574468%;
    *margin-right: 70.10638297872339%;
}

[dir=ltr] .row-fluid .offset8:first-child {
    margin-left: 68.08510638297872%;
    margin-left: 67.9787234042553%;
}

[dir=rtl] .row-fluid .offset8:first-child {
    margin-right: 68.08510638297872%;
    *margin-right: 67.9787234042553%;
}

[dir=ltr] .row-fluid .offset7 {
    margin-left: 61.70212765957446%;
    margin-left: 61.59574468085106%;
}

[dir=rtl] .row-fluid .offset7 {
    margin-right: 61.70212765957446%;
    *margin-right: 61.59574468085106%;
}

[dir=ltr] .row-fluid .offset7:first-child {
    margin-left: 59.574468085106375%;
    margin-left: 59.46808510638297%;
}

[dir=rtl] .row-fluid .offset7:first-child {
    margin-right: 59.574468085106375%;
    *margin-right: 59.46808510638297%;
}

[dir=ltr] .row-fluid .offset6 {
    margin-left: 53.191489361702125%;
    margin-left: 53.085106382978715%;
}

[dir=rtl] .row-fluid .offset6 {
    margin-right: 53.191489361702125%;
    *margin-right: 53.085106382978715%;
}

[dir=ltr] .row-fluid .offset6:first-child {
    margin-left: 51.063829787234035%;
    margin-left: 50.95744680851063%;
}

[dir=rtl] .row-fluid .offset6:first-child {
    margin-right: 51.063829787234035%;
    *margin-right: 50.95744680851063%;
}

[dir=ltr] .row-fluid .offset5 {
    margin-left: 44.68085106382979%;
    margin-left: 44.57446808510638%;
}

[dir=rtl] .row-fluid .offset5 {
    margin-right: 44.68085106382979%;
    *margin-right: 44.57446808510638%;
}

[dir=ltr] .row-fluid .offset5:first-child {
    margin-left: 42.5531914893617%;
    margin-left: 42.4468085106383%;
}

[dir=rtl] .row-fluid .offset5:first-child {
    margin-right: 42.5531914893617%;
    *margin-right: 42.4468085106383%;
}

[dir=ltr] .row-fluid .offset4 {
    margin-left: 36.170212765957444%;
    margin-left: 36.06382978723405%;
}

[dir=rtl] .row-fluid .offset4 {
    margin-right: 36.170212765957444%;
    *margin-right: 36.06382978723405%;
}

[dir=ltr] .row-fluid .offset4:first-child {
    margin-left: 34.04255319148936%;
    margin-left: 33.93617021276596%;
}

[dir=rtl] .row-fluid .offset4:first-child {
    margin-right: 34.04255319148936%;
    *margin-right: 33.93617021276596%;
}

[dir=ltr] .row-fluid .offset3 {
    margin-left: 27.659574468085104%;
    margin-left: 27.5531914893617%;
}

[dir=rtl] .row-fluid .offset3 {
    margin-right: 27.659574468085104%;
    *margin-right: 27.5531914893617%;
}

[dir=ltr] .row-fluid .offset3:first-child {
    margin-left: 25.53191489361702%;
    margin-left: 25.425531914893618%;
}

[dir=rtl] .row-fluid .offset3:first-child {
    margin-right: 25.53191489361702%;
    *margin-right: 25.425531914893618%;
}

[dir=ltr] .row-fluid .offset2 {
    margin-left: 19.148936170212764%;
    margin-left: 19.04255319148936%;
}

[dir=rtl] .row-fluid .offset2 {
    margin-right: 19.148936170212764%;
    *margin-right: 19.04255319148936%;
}

[dir=ltr] .row-fluid .offset2:first-child {
    margin-left: 17.02127659574468%;
    margin-left: 16.914893617021278%;
}

[dir=rtl] .row-fluid .offset2:first-child {
    margin-right: 17.02127659574468%;
    *margin-right: 16.914893617021278%;
}

[dir=ltr] .row-fluid .offset1 {
    margin-left: 10.638297872340425%;
    margin-left: 10.53191489361702%;
}

[dir=rtl] .row-fluid .offset1 {
    margin-right: 10.638297872340425%;
    *margin-right: 10.53191489361702%;
}

[dir=ltr] .row-fluid .offset1:first-child {
    margin-left: 8.51063829787234%;
    margin-left: 8.404255319148938%;
}

[dir=rtl] .row-fluid .offset1:first-child {
    margin-right: 8.51063829787234%;
    *margin-right: 8.404255319148938%;
}

[class*="span"].hide,
.row-fluid [class*="span"].hide {
    display: none;
}

[dir=ltr] [class*="span"].pull-right, [dir=ltr] .row-fluid [class*="span"].pull-right {
    float: right;
}

[dir=rtl] [class*="span"].pull-right, [dir=rtl] .row-fluid [class*="span"].pull-right {
    float: left;
}

[dir] input[class*="span"], [dir] select[class*="span"], [dir] textarea[class*="span"], [dir] .uneditable-input[class*="span"], [dir] .row-fluid input[class*="span"], [dir] .row-fluid select[class*="span"], [dir] .row-fluid textarea[class*="span"], [dir] .row-fluid .uneditable-input[class*="span"] {
    float: none;
}

[dir=ltr] input[class*="span"], [dir=ltr] select[class*="span"], [dir=ltr] textarea[class*="span"], [dir=ltr] .uneditable-input[class*="span"], [dir=ltr] .row-fluid input[class*="span"], [dir=ltr] .row-fluid select[class*="span"], [dir=ltr] .row-fluid textarea[class*="span"], [dir=ltr] .row-fluid .uneditable-input[class*="span"] {
    margin-left: 0;
}

[dir=rtl] input[class*="span"], [dir=rtl] select[class*="span"], [dir=rtl] textarea[class*="span"], [dir=rtl] .uneditable-input[class*="span"], [dir=rtl] .row-fluid input[class*="span"], [dir=rtl] .row-fluid select[class*="span"], [dir=rtl] .row-fluid textarea[class*="span"], [dir=rtl] .row-fluid .uneditable-input[class*="span"] {
    margin-right: 0;
}

.input-append input[class*="span"],
.input-append .uneditable-input[class*="span"],
.input-prepend input[class*="span"],
.input-prepend .uneditable-input[class*="span"],
.row-fluid input[class*="span"],
.row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"],
.row-fluid .input-prepend [class*="span"],
.row-fluid .input-append [class*="span"] {
    display: inline-block;
}

.row-fluid .span45 {
    width: 36.170212765957449%;
    *width: 36.117021276595747%;
}

.row-fluid .span35 {
    width: 27.659574468085106%;
    *width: 27.606382978723405%;
}

.row-fluid .spanX {
    width: auto;
    *width: auto;
}

/* fix for ie7 and ie8 weird min-height behavior */
.modernizr-ie7 .row-fluid input[class*="span"],
.modernizr-ie7 .row-fluid select {
    min-height: auto;
}

.modernizr-ie8 .row-fluid input[class*="span"],
.modernizr-ie8 .row-fluid select {
    height: 30px;
    min-height: auto;
}

.row-fluid [class*="span"] select.bootstrap.form-control {
    width: 100%;
}

.row-fluid [class*="span"] .input-group input.bootstrap.form-control {
    width: 100%;
}
/*
*  End Bootstrap 2.x Grid system
*  --------------------------------------------------------
*/

/*
*  ----------------------------------------------
*  Bootstrap 3 Grid Support and Overrides
*/
/* fix for some pages being built with table structure */
table .row * {
    border-collapse: separate;
}

/* changing gutter width to 10px */
[dir=ltr] .row {
    margin-left: -10px;
    margin-right: -10px;
}
[dir=rtl] .row {
    margin-right: -10px;
    margin-left: -10px;
}

.row .text-one-line {
    line-height: 40px;
}

/* have to adjust for the bottom line */
.row.modal-searchable-row .text-one-line {
    line-height: 39px;
}

[dir=ltr] .col-xs-1, [dir=ltr] .col-sm-1, [dir=ltr] .col-md-1, [dir=ltr] .col-lg-1, [dir=ltr] .col-xs-2, [dir=ltr] .col-sm-2, [dir=ltr] .col-md-2, [dir=ltr] .col-lg-2, [dir=ltr] .col-xs-3, [dir=ltr] .col-sm-3, [dir=ltr] .col-md-3, [dir=ltr] .col-lg-3, [dir=ltr] .col-xs-4, [dir=ltr] .col-sm-4, [dir=ltr] .col-md-4, [dir=ltr] .col-lg-4, [dir=ltr] .col-xs-5, [dir=ltr] .col-sm-5, [dir=ltr] .col-md-5, [dir=ltr] .col-lg-5, [dir=ltr] .col-xs-6, [dir=ltr] .col-sm-6, [dir=ltr] .col-md-6, [dir=ltr] .col-lg-6, [dir=ltr] .col-xs-7, [dir=ltr] .col-sm-7, [dir=ltr] .col-md-7, [dir=ltr] .col-lg-7, [dir=ltr] .col-xs-8, [dir=ltr] .col-sm-8, [dir=ltr] .col-md-8, [dir=ltr] .col-lg-8, [dir=ltr] .col-xs-9, [dir=ltr] .col-sm-9, [dir=ltr] .col-md-9, [dir=ltr] .col-lg-9, [dir=ltr] .col-xs-10, [dir=ltr] .col-sm-10, [dir=ltr] .col-md-10, [dir=ltr] .col-lg-10, [dir=ltr] .col-xs-11, [dir=ltr] .col-sm-11, [dir=ltr] .col-md-11, [dir=ltr] .col-lg-11, [dir=ltr] .col-xs-12, [dir=ltr] .col-sm-12, [dir=ltr] .col-md-12, [dir=ltr] .col-lg-12 {
    padding-left: 10px;
    padding-right: 10px;
}

[dir=rtl] .col-xs-1, [dir=rtl] .col-sm-1, [dir=rtl] .col-md-1, [dir=rtl] .col-lg-1, [dir=rtl] .col-xs-2, [dir=rtl] .col-sm-2, [dir=rtl] .col-md-2, [dir=rtl] .col-lg-2, [dir=rtl] .col-xs-3, [dir=rtl] .col-sm-3, [dir=rtl] .col-md-3, [dir=rtl] .col-lg-3, [dir=rtl] .col-xs-4, [dir=rtl] .col-sm-4, [dir=rtl] .col-md-4, [dir=rtl] .col-lg-4, [dir=rtl] .col-xs-5, [dir=rtl] .col-sm-5, [dir=rtl] .col-md-5, [dir=rtl] .col-lg-5, [dir=rtl] .col-xs-6, [dir=rtl] .col-sm-6, [dir=rtl] .col-md-6, [dir=rtl] .col-lg-6, [dir=rtl] .col-xs-7, [dir=rtl] .col-sm-7, [dir=rtl] .col-md-7, [dir=rtl] .col-lg-7, [dir=rtl] .col-xs-8, [dir=rtl] .col-sm-8, [dir=rtl] .col-md-8, [dir=rtl] .col-lg-8, [dir=rtl] .col-xs-9, [dir=rtl] .col-sm-9, [dir=rtl] .col-md-9, [dir=rtl] .col-lg-9, [dir=rtl] .col-xs-10, [dir=rtl] .col-sm-10, [dir=rtl] .col-md-10, [dir=rtl] .col-lg-10, [dir=rtl] .col-xs-11, [dir=rtl] .col-sm-11, [dir=rtl] .col-md-11, [dir=rtl] .col-lg-11, [dir=rtl] .col-xs-12, [dir=rtl] .col-sm-12, [dir=rtl] .col-md-12, [dir=rtl] .col-lg-12 {
    padding-right: 10px;
    padding-left: 10px;
}

[dir] .container {
    padding: 0;
}

/*
*  End Bootstrap 3  Grid Support and Overrides
*  ----------------------------------------------
*/

/*
*  --------------------------------------------------------
*  Utils
*/
.box-size {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.unselectable {
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    user-select: none;
}

.unselectable-all, .unselectable-all * {
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    user-select: none;
}

.overflow-hidden {
    overflow: hidden !important;
}

.position-fixed {
    position: fixed;
}

.page-description {
    font-size: 14px;
    line-height: 18px;
}

[dir] .page-description {
    margin-top: 5px;
    margin-bottom: 10px;
}


/* margin helpers */
[dir] .margin-top-0 {
    margin-top: 0 !important;
}

[dir] .margin-top-5 {
    margin-top: 5px !important;
}

[dir] .margin-top-10 {
    margin-top: 10px !important;
}

[dir] .margin-top-15 {
    margin-top: 15px !important;
}

[dir] .margin-top-20 {
    margin-top: 20px !important;
}

[dir] .margin-bottom-0 {
    margin-bottom: 0 !important;
}

[dir] .margin-bottom-5 {
    margin-bottom: 5px !important;
}

[dir] .margin-bottom-10 {
    margin-bottom: 10px !important;
}

[dir] .margin-bottom-15 {
    margin-bottom: 15px !important;
}

[dir] .margin-bottom-20 {
    margin-bottom: 20px !important;
}

[dir] .margin-0 {
    margin: 0 !important;
}

[dir] .margin-5 {
    margin: 5px !important;
}

[dir] .margin-10 {
    margin: 10px !important;
}

[dir] .margin-15 {
    margin: 15px !important;
}

[dir] .margin-20 {
    margin: 20px !important;
}

/* padding helpers */
[dir] .padding-top-0 {
    padding-top: 0 !important;
}

[dir] .padding-top-5 {
    padding-top: 5px !important;
}

[dir] .padding-top-10 {
    padding-top: 10px !important;
}

[dir] .padding-top-15 {
    padding-top: 15px !important;
}

[dir] .padding-top-20 {
    padding-top: 20px !important;
}

[dir] .padding-bottom-0 {
    padding-bottom: 0 !important;
}

[dir] .padding-bottom-5 {
    padding-bottom: 5px !important;
}

[dir] .padding-bottom-10 {
    padding-bottom: 10px !important;
}

[dir] .padding-bottom-15 {
    padding-bottom: 15px !important;
}

[dir] .padding-bottom-20 {
    padding-bottom: 20px !important;
}

[dir] .padding-0 {
    padding: 0 !important;
}

[dir] .padding-5 {
    padding: 5px !important;
}

[dir] .padding-10 {
    padding: 10px !important;
}

[dir] .padding-15 {
    padding: 15px !important;
}

[dir] .padding-20 {
    padding: 20px !important;
}

/* border-radius helpers */
[dir] .border-radius-0, [dir] .square-corners {
    border-radius: 0 !important;
}

[dir=ltr] .border-radius-0-left, [dir=ltr] .square-corners-left {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

[dir=rtl] .border-radius-0-left, [dir=rtl] .square-corners-left {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

[dir=ltr] .border-radius-0-right, [dir=ltr] .square-corners-right {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

[dir=rtl] .border-radius-0-right, [dir=rtl] .square-corners-right {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

[dir=ltr] .border-radius-0-top, [dir=ltr] .square-corners-top {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

[dir=rtl] .border-radius-0-top, [dir=rtl] .square-corners-top {
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

[dir=ltr] .border-radius-0-bottom, [dir=ltr] .square-corners-bottom {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

[dir=rtl] .border-radius-0-bottom, [dir=rtl] .square-corners-bottom {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

[dir] .border-radius-3 {
    border-radius: 3px !important;
}

[dir=ltr] .border-radius-3-left {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}

[dir=rtl] .border-radius-3-left {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

[dir=ltr] .border-radius-3-right {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

[dir=rtl] .border-radius-3-right {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}

[dir=ltr] .border-radius-3-top {
    border-top-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
}

[dir=rtl] .border-radius-3-top {
    border-top-right-radius: 3px !important;
    border-top-left-radius: 3px !important;
}

[dir=ltr] .border-radius-3-bottom {
    border-bottom-left-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

[dir=rtl] .border-radius-3-bottom {
    border-bottom-right-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}

[dir] .border-radius-4 {
    border-radius: 4px !important;
}

[dir=ltr] .border-radius-4-left {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

[dir=rtl] .border-radius-4-left {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

[dir=ltr] .border-radius-4-right {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

[dir=rtl] .border-radius-4-right {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

[dir=ltr] .border-radius-4-top {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

[dir=rtl] .border-radius-4-top {
    border-top-right-radius: 4px !important;
    border-top-left-radius: 4px !important;
}

[dir=ltr] .border-radius-4-bottom {
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

[dir=rtl] .border-radius-4-bottom {
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

[dir] .border-radius-5 {
    border-radius: 5px !important;
}

[dir=ltr] .border-radius-5-left {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

[dir=rtl] .border-radius-5-left {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

[dir=ltr] .border-radius-5-right {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

[dir=rtl] .border-radius-5-right {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

[dir=ltr] .border-radius-5-top {
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
}

[dir=rtl] .border-radius-5-top {
    border-top-right-radius: 5px !important;
    border-top-left-radius: 5px !important;
}

[dir=ltr] .border-radius-5-bottom {
    border-bottom-left-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

[dir=rtl] .border-radius-5-bottom {
    border-bottom-right-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

/* text colors */
.text-adc-color {
    color: #e3701f;
}
/* text-dealer color is defined in the custom master */
.text-dealer-color {
    color: #e3701f;
}

.text-success {
    color: #419E6E !important;
}

.text-info {
    color: #34789A !important;
}

.text-warning {
    color: #8A6D3B !important;
}

.text-error,
.text-danger,
.text-alert {
    color: #DB6963 !important;
}

.text-blue {
    color: #428BCA;
}

/* define colors for easier manipulation */
.text-green {
    color: #419E6E !important;
}

.text-red {
    color: #DB6963 !important;
}

.text-orange {
    color: #F29E63 !important;
}

.text-orange:hover {
    color: #F29E63 !important;
}

.text-strong, .text-bold {
    font-weight: bold;
}

.text-ellipsis {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
}

.icon-warning-sign {
    color: #E48A49;
}

[dir] .border-green {
    border-color: #419E6E !important;
}

[dir] .border-red {
    border-color: #DB6963 !important;
}

[dir] .border-orange {
    border-color: #F29E63 !important;
}

[dir] .border-transparent {
    border-color: transparent !important;
}

[dir] .background-green {
    background-color: #419E6E !important;
}

[dir] .background-red {
    background-color: #DB6963 !important;
}

[dir] .background-orange {
    background-color: #F29E63 !important;
}

[dir] .background-blue {
    background-color: #3276B1 !important;
}

[dir] .background-lightblue {
    background-color: #5bc0de !important;
}

[dir] .background-white {
    background-color: white !important;
}

[dir] .transparent {
    background: transparent !important;
}

/* vertical middle fixes */
.vertical-middle-outer {
    display: table !important;
    height: 100%;
    table-layout: fixed;
}

.vertical-middle-inner {
    display: table-cell !important;
    vertical-align: middle;
}

.no-animate {
    transition: none !important;
}

[dir] .no-animate {
    -webkit-transition: none !important;
}

[data-show="on-change-only"] {
    display: none;
}

[data-change="true"] [data-show="on-change-only"] {
    display: block;
}

/* font size helpers */
.font-size-14 {
    font-size: 14px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-18 {
    font-size: 18px;
}

/*
*  END Utils
*  --------------------------------------------------------
*/


/*
*  --------------------------------------------------------
*  Tooltip
*/
.tooltip {
    line-height: 14px;
    z-index: 100130;
}
[dir] .tooltip {
    padding: 5px;
}

.tooltip .tooltip-inner {
    overflow: visible;
    white-space: pre-wrap;
    word-wrap: break-word;
}

[dir] .tooltip .tooltip-inner {
    padding-top: 5px;
    padding-bottom: 5px;
}

[dir=ltr] .tooltip.text-left .tooltip-inner {
    text-align: left;
}

[dir=rtl] .tooltip.text-left .tooltip-inner {
    text-align: right;
}

.tooltip.error {
    width: 150px;
}

.tooltip.tooltip-wide {
    max-width: 350px;
}

.tooltip.tooltip-wide .tooltip-inner {
    max-width: 350px;
}

.tooltip.error.in {
    opacity: 1;
}

[dir] .tooltip.error .tooltip-inner {
    background-color: #D24736;
}

[dir] .tooltip.error.top .tooltip-arrow {
    border-top-color: #D24736;
}

[dir=ltr] .tooltip.error.right .tooltip-arrow {
    border-right-color: #D24736;
}

[dir=rtl] .tooltip.error.right .tooltip-arrow {
    border-left-color: #D24736;
}

[dir=ltr] .tooltip.error.left .tooltip-arrow {
    border-left-color: #D24736;
}

[dir=rtl] .tooltip.error.left .tooltip-arrow {
    border-right-color: #D24736;
}

[dir] .tooltip.error.bottom .tooltip-arrow {
    border-bottom-color: #D24736;
}

.popover {
    width: 236px;
    z-index: 100100;
}

[dir] .popover {
    text-align: none;
}

[dir] .popover-content p, [dir] .popover-content ul, [dir] .popover-content ol {
    margin-bottom: 0;
}
/*
*  END Tooltip
*  --------------------------------------------------------
*/

/*
*  --------------------------------------------------------
*  Forms/Inputs
*/
[dir] .input-append, [dir] .input-prepend {
    margin-bottom: 0px;
}

.input-append .add-on,
.input-prepend .add-on {
    min-width: 18px;
}

.input-append .add-on i,
.input-prepend .add-on i {
    font-size: 18px;
    min-width: 20px;
}

.input-append .add-on, .input-prepend .add-on {
    color: #888;
}

[dir] .input-append .add-on, [dir] .input-prepend .add-on {
    text-shadow: none;
    background-color: #EAEAEA;
    border-color: #CCC;
}

/* bootstrap 3 icons in addons */
.input-group .input-group-addon {
    color: #777;
    min-width: 20px;
}
[dir=ltr] .input-group .input-group-addon {
    padding-left: 8px;
    padding-right: 8px;
}
[dir=rtl] .input-group .input-group-addon {
    padding-right: 8px;
    padding-left: 8px;
}

[dir=ltr] .input-group-lg .input-group-addon {
    padding-left: 12px;
    padding-right: 12px;
}

[dir=rtl] .input-group-lg .input-group-addon {
    padding-right: 12px;
    padding-left: 12px;
}

.input-group .input-group-addon i {
    display: inline-block;
    font-size: 18px;
}

.input-group.input-group-lg .input-group-addon i {
    font-size: 22px;
}

input[type='text'].bootstrap.invalid,
input[type='text'].form-control.invalid,
input[type='text'].bootstrap.invalid:focus,
input[type='text'].form-control.invalid:focus {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(185, 74, 72, 0.8);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 rgba(185, 74, 72, 0.8);
}

[dir] input[type='text'].bootstrap.invalid, [dir] input[type='text'].form-control.invalid, [dir] input[type='text'].bootstrap.invalid:focus, [dir] input[type='text'].form-control.invalid:focus {
    border-color: rgba(185, 74, 72, 0.8);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(185, 74, 72, 0.8);
}

[dir] select.bootstrap.invalid, [dir] select.form-control.invalid, [dir] select.bootstrap.invalid:focus, [dir] select.form-control.invalid:focus {
    border-color: rgba(185, 74, 72, 0.8);
}


input.bootstrap,
textarea.bootstrap,
.uneditable-input,
.input-group input.bootstrap,
.input-group textarea.bootstrap {
    width: 206px;
}

input.bootstrap.form-control,
textarea.bootstrap.form-control,
select.bootstrap.form-control {
    display: inline-block;
}

select.bootstrap,
select.form-control.bootstrap {
    width: auto;
}

/* add padding for inside of the search query for browsers that support it */
[dir=ltr] .modernizr-borderradius input.search-query.bootstrap {
    padding-right: 14px;
    padding-left: 14px;
}
[dir=rtl] .modernizr-borderradius input.search-query.bootstrap {
    padding-left: 14px;
    padding-right: 14px;
}

/* make the padding on right a bit smaller */
[dir=ltr] select.form-control {
    padding-right: 5px;
}
[dir=rtl] select.form-control {
    padding-left: 5px;
}

[dir] .form-group {
    margin-bottom: 10px;
}

/* remove styling from iOS inputs, because they look weird */
html.browser-iOS input[type="text"] {
    -webkit-appearance: none;
}

/* hide empty option for select so they have to select only the right ones */
select.empty-option-hidden option[value=""] {
    display: none;
}


/*
*	End Forms/inputs
*	----------------------------------------------
*/

/*
*  ----------------------------------------------
*  Modal
*/
.modal {
    overflow: visible;
    z-index: 15500;
}
[dir=ltr] .modal {
    text-align: left;
}
[dir=rtl] .modal {
    text-align: right;
}

.modal-header {
    /*background-color: #f5f5f5;*/
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
}

[dir] .modal-header {
    border-radius: 5px 5px 0px 0px;
    padding: 10px 15px;
}

.modal-header .close {
    color: #666 !important;
    text-decoration: none;
}

[dir] .modal-header .close {
    padding-top: 3px;
}

[dir] .modal-footer {
    text-align: center;
}

[dir=ltr] .modal-footer.action-buttons {
    text-align: left;
}

[dir=rtl] .modal-footer.action-buttons {
    text-align: right;
}

.modal-body {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    max-height: 550px;
    overflow-y: auto;
}

[dir] .modal-body {
    padding: 10px;
}

.modal-body p.body-text {
    font-size: 14px;
}

[dir] .modal-body p.body-text {
    margin: 0;
}

.modal.exit-setup-wizard .modal-body p.body-text{
    font-size: 16px;
    line-height: 24px;
}

[dir] .modal .modal-footer {
    margin-top: 0px;
}

.modal.font-open-sans {
    font-family: 'Open Sans';
}

.modal-open .modal, .btn:focus, .btn:focus {
    outline: none !important;
}

.bootbox.modal .modal-body {
    font-size: 14px;
}

[dir] .bootbox.modal .modal-body {
    padding: 20px;
}

/* override for titles that are not of the new kind */
.modal .modal-title {
    font-size: 18px;
}

[dir] .modal .modal-footer {
    padding-top: 9px;
    padding-bottom: 10px;
}

/* When adding tooltip to left button, keep the right button's margin the same as it was */
[dir=ltr] .modal .modal-footer .tooltip + .btn {
    margin-left: 5px;
}
[dir=rtl] .modal .modal-footer .tooltip + .btn {
    margin-right: 5px;
}

/* new transforms - come up towards the user */
.modal.fade .modal-dialog {
    -webkit-transform: translate(0);
    -ms-transform: translate(0);
    -webkit-transform: scale(0.9, 0.9);
    -ms-transform: scale(0.9, 0.9);
    /*
-webkit-filter: blur(3px);
-moz-filter: blur(3px);
-ms-filter: blur(3px);
filter: blur(3px);
*/
    transition: all 0.2s ease-in-out;
    opacity: 0;
}
[dir] .modal.fade .modal-dialog {
    transform: translate(0);
    transform: scale(0.9, 0.9);
    -webkit-transition: all 0.2s ease-in-out;
}

.modal.fade.no-blur .modal-dialog {
    -moz-filter: none;
    -ms-filter: none;
    filter: none;
}

/* in state */
.modal.in .modal-dialog {
    -webkit-transform: none;
    -ms-transform: none;
}
[dir] .modal.in .modal-dialog {
    transform: none;
}

.modal.in.fade .modal-dialog {
    /*
-webkit-filter: none;
-moz-filter: none;
-ms-filter: none;
filter: none;
*/
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    opacity: 1;
}

[dir] .modal.in.fade .modal-dialog {
    transform: scale(1);
}

/*modal-searchable*/
[dir] .modal-searchable .modal-header {
    padding-bottom: 0px;
    padding-top: 10px;
}

[dir] .modal-searchable .modal-searchbox-wrapper {
    margin-top: 8px;
}

[dir] .modal-searchable .modal-searchbox-wrapper .row {
    border-top: 1px solid #E5E5E5;
    margin-top: 3px;
}

[dir=ltr] .modal-searchable .modal-searchbox-wrapper .row {
    margin-left: -15px;
    margin-right: -15px;
    padding: 10px 11px 10px 6px;
}

[dir=rtl] .modal-searchable .modal-searchbox-wrapper .row {
    margin-right: -15px;
    margin-left: -15px;
    padding: 10px 6px 10px 11px;
}

[dir=ltr] .modal-searchable .modal-searchbox-wrapper .btn i {
    padding-right: 7px;
}

[dir=rtl] .modal-searchable .modal-searchbox-wrapper .btn i {
    padding-left: 7px;
}

[dir=ltr] .modal-searchable .modal-searchbox-wrapper .input-invisible-addon {
    padding-left: 5px;
}

[dir=rtl] .modal-searchable .modal-searchbox-wrapper .input-invisible-addon {
    padding-right: 5px;
}

[dir=ltr] .modal-searchable .modal-searchbox-wrapper .input-invisible-addon .input-invisible-pre {
    padding-left: 5px;
}

[dir=rtl] .modal-searchable .modal-searchbox-wrapper .input-invisible-addon .input-invisible-pre {
    padding-right: 5px;
}

[dir] .modal-searchable .modal-searchbox-wrapper .input-invisible-post {
    cursor: pointer;
}

[dir=ltr] .modal-searchable .modal-searchbox-wrapper .input-invisible-post {
    right: 15px;
}

[dir=rtl] .modal-searchable .modal-searchbox-wrapper .input-invisible-post {
    left: 15px;
}

[dir] .modal-searchable .modal-body {
    background-color: #E9EAED;
}

.modal-searchable .modal-searchable-row {
    height: 40px;
    min-height: 40px;
    position: relative;
}

[dir] .modal-searchable .modal-searchable-row {
    border-bottom: 1px solid #DFE0E4;
    background-color: white;
}

[dir=ltr] .modal-searchable .modal-searchable-row {
    border-left: 1px solid #DFE0E4;
    border-right: 1px solid #DFE0E4;
}

[dir=rtl] .modal-searchable .modal-searchable-row {
    border-right: 1px solid #DFE0E4;
    border-left: 1px solid #DFE0E4;
}

[dir=ltr] .modal-searchable .modal-searchable-row.row {
    margin-left: 0;
    margin-right: 0;
}

[dir=rtl] .modal-searchable .modal-searchable-row.row {
    margin-right: 0;
    margin-left: 0;
}

[dir] .modal-searchable .modal-searchable-row:first-child {
    border-top: 1px solid #DFE0E4;
}


[dir] .modal-searchable .modal-searchable-row.hover {
    background-color: #F5F5F5;
}

.modal-searchable .highlight-row.selected::after {
    content: "\f00c";
    display: inline-block;
    font-family: FontAwesome;
    font-size: 14px;
    height: 16px;
    line-height: 16px;
    position: absolute;
    top: 50%;
    width: 16px;
}

[dir] .modal-searchable .highlight-row.selected::after {
    margin-top: -8px;
}

[dir=ltr] .modal-searchable .highlight-row.selected::after {
    right: 10px;
}

[dir=rtl] .modal-searchable .highlight-row.selected::after {
    left: 10px;
}

.modal-searchable .blast {
    font-weight: bold;
}

/* flipping how width is done
default case is 600px and then auto is forced when the width is less than 768px
*/
.modal-dialog {
    width: 600px;
}
[dir] .modal-dialog {
    margin: 5px auto 0 auto;
}

@media screen and (max-width: 768px) {
    .modal-dialog {
        width: auto !important;
    }
    [dir] .modal-dialog {
        margin: 10px;
    }
    /* make the small one be still small */
    .modal-dialog.modal-sm {
        width: 300px !important;
    }
    [dir] .modal-dialog.modal-sm {
        margin: 5px auto 0 auto;
    }
    /* make the medium one be still small */
    .modal-dialog.modal-md {
        width: 450px !important;
    }
    [dir] .modal-dialog.modal-md {
        margin: 5px auto 0 auto;
    }
}

@media screen and (max-width: 450px) {
    /* make the medium one fill out */
    .modal-dialog.modal-md {
        width: auto !important;
    }
    [dir] .modal-dialog.modal-md {
        margin: 10px;
    }
}

@media screen and (max-width: 400px) {
    /* make the small one fill out */
    .modal-dialog.modal-sm {
        width: auto !important;
    }
    [dir] .modal-dialog.modal-sm {
        margin: 10px;
    }
}

@media (min-width: 768px) {
    .modal-sm.modal-dialog {
        width: 300px;
    }

    .modal-md.modal-dialog {
        width: 450px;
    }
}

@media (min-width: 992px) {
    .modal-lg.modal-dialog {
        width: 900px;
    }
}

/*
*	End modal
* -----------------------------------------------
*/

/*
* -----------------------------------------------
*	Buttons
*/
.btn {
    color: #333333;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}
[dir] .btn {
    background-color: #fff;
    border-color: #ccc;
}

.btn [class^="icon-"] {
    line-height: inherit;
}

.btn:hover,
.btn:focus {
    color: #333333;
    text-decoration: none;
}

.btn-large,
.btn-lg {
    font-size: 18px;
    line-height: 1.33;
}

[dir] .btn-large, [dir] .btn-lg {
    padding: 10px 16px;
}

/* add the lg class here and icon*/
[dir] .btn-large [class^="icon-"], [dir] .btn-large [class*=" icon-"], [dir] .btn-lg [class^="icon-"], [dir] .btn-lg [class*=" icon-"] {
    margin-top: 4px;
}

/* add the btn-mini, sm and xs here */
.btn-small,
.btn-mini,
.btn-sm,
.btn-xs {
    font-size: 12px;
    line-height: 1.5;
}
[dir] .btn-small, [dir] .btn-mini, [dir] .btn-sm, [dir] .btn-xs {
    padding: 5px 10px;
}

/* add the icon here */
[dir] .btn-small [class^="icon-"], [dir] .btn-small [class*=" icon-"], [dir] .btn-sm [class^="icon-"], [dir] .btn-sm [class*=" icon-"] .btn-xs [class^="icon-"], [dir] .btn-xs [class*=" icon-"] {
    margin-top: 0;
}

[dir] .btn-mini, [dir] .btn-xs {
    padding: 1px 5px;
}

.btn-group > .btn-mini.only-icon i {
    font-size: 13px;
}

.btn-group > .btn-small.only-icon i {
    font-size: 15px;
}

/* add the first child class */
[dir=ltr] .btn-group > .btn:first-child, [dir=ltr] .btn-group > .btn.first-child {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
[dir=rtl] .btn-group > .btn:first-child, [dir=rtl] .btn-group > .btn.first-child {
    margin-right: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* add the last child class */
[dir=ltr] .btn-group > .btn:last-child, [dir=ltr] .btn-group > .btn.last-child, [dir=ltr] .btn-group > .dropdown-toggle {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
[dir=rtl] .btn-group > .btn:last-child, [dir=rtl] .btn-group > .btn.last-child, [dir=rtl] .btn-group > .dropdown-toggle {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

/*
*	Buttons from styles
*/
a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn.active,
a.btn.disabled,
a.btn[disabled] {
    color: #333333 !important;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.open .dropdown-toggle.btn-default {
    color: #333333;
}

[dir] .btn:hover, [dir] .btn:focus, [dir] .btn:active, [dir] .btn.active, [dir] .open .dropdown-toggle.btn-default {
    background-color: #d7d7d7;
    border-color: #8e8e8e;
}

[dir] .btn:active, [dir] .btn.active, [dir] .open .dropdown-toggle.btn-default {
    background-image: none;
}

[dir] .btn.disabled, [dir] .btn[disabled], [dir] fieldset[disabled] .btn, [dir] .btn.disabled:hover, [dir] .btn[disabled]:hover, [dir] fieldset[disabled] .btn:hover, [dir] .btn.disabled:focus, [dir] .btn[disabled]:focus, [dir] fieldset[disabled] .btn:focus, [dir] .btn.disabled:active, [dir] .btn[disabled]:active, [dir] fieldset[disabled] .btn:active, [dir] .btn.disabled.active, [dir] .btn[disabled].active, [dir] fieldset[disabled] .btn.active {
    background-color: #ebebeb;
    border-color: #ccc;
}

.btn .badge {
    color: #ebebeb;
}

[dir] .btn .badge {
    background-color: #fff;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.open .dropdown-toggle.btn {
    color: #333333;
}

[dir] .btn:hover, [dir] .btn:focus, [dir] .btn:active, [dir] .btn.active, [dir] .open .dropdown-toggle.btn {
    background-color: #ebebeb;
    border-color: #ccc;
}

[dir] .btn:active, [dir] .btn.active, [dir] .open .dropdown-toggle.btn, [dir] .btn-default:active, [dir] .btn-default.active, [dir] .open .dropdown-toggle.btn-default {
    background-image: none;
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn,
.btn.disabled:hover,
.btn[disabled]:hover,
fieldset[disabled] .btn:hover,
.btn.disabled:focus,
.btn[disabled]:focus,
fieldset[disabled] .btn:focus,
.btn.disabled:active,
.btn[disabled]:active,
fieldset[disabled] .btn:active,
.btn.disabled.active,
.btn[disabled].active,
fieldset[disabled] .btn.active,
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    color: #666 !important;
}

[dir] .btn.disabled, [dir] .btn[disabled], [dir] fieldset[disabled] .btn, [dir] .btn.disabled:hover, [dir] .btn[disabled]:hover, [dir] fieldset[disabled] .btn:hover, [dir] .btn.disabled:focus, [dir] .btn[disabled]:focus, [dir] fieldset[disabled] .btn:focus, [dir] .btn.disabled:active, [dir] .btn[disabled]:active, [dir] fieldset[disabled] .btn:active, [dir] .btn.disabled.active, [dir] .btn[disabled].active, [dir] fieldset[disabled] .btn.active, [dir] .btn-default.disabled, [dir] .btn-default[disabled], [dir] fieldset[disabled] .btn-default, [dir] .btn-default.disabled:hover, [dir] .btn-default[disabled]:hover, [dir] fieldset[disabled] .btn-default:hover, [dir] .btn-default.disabled:focus, [dir] .btn-default[disabled]:focus, [dir] fieldset[disabled] .btn-default:focus, [dir] .btn-default.disabled:active, [dir] .btn-default[disabled]:active, [dir] fieldset[disabled] .btn-default:active, [dir] .btn-default.disabled.active, [dir] .btn-default[disabled].active, [dir] fieldset[disabled] .btn-default.active {
    background-color: #e6e6e6;
    border-color: #cccccc;
}

/* make it look more like adc button */
.btn-primary {
    color: #ffffff;
}
[dir] .btn-primary {
    background-color: #565656;
    border-color: #565656;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.btn.btn-primary:hover,
a.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary.active,
.btn.btn-primary.disabled,
.btn.btn-primary[disabled] {
    color: #fff !important;
    text-decoration: none;
}

[dir] .btn.btn-primary:hover, [dir] a.btn.btn-primary:hover, [dir] .btn.btn-primary:focus, [dir] .btn.btn-primary:active, [dir] .btn.btn-primary.active, [dir] .btn.btn-primary.disabled, [dir] .btn.btn-primary[disabled] {
    background-color: #4A4A4A;
    *background-color: #4A4A4A;
}

.btn.btn-primary.disabled,
.btn.btn-primary[disabled] {
    color: #444 !important;
}

[dir] .btn.btn-primary.disabled, [dir] .btn.btn-primary[disabled] {
    background-color: #e6e6e6;
}

[dir] .btn.btn-primary:active, [dir] .btn.btn-primary.active {
    background-color: #4D4D4D \9;
}

.btn.btn-primary:visited {
    color: #fff;
}

/* blue button - originally primary in bootstrap */
.btn-blue {
    color: #FFF !important;
}
[dir] .btn-blue {
    background-color: #428BCA;
    border-color: #357EBD;
}

.btn.btn-blue:hover,
.btn.btn-blue:focus,
.btn.btn-blue:active,
.btn.btn-blue.active,
.open .dropdown-toggle.btn.btn-blue {
    color: #FFF !important;
}

[dir] .btn.btn-blue:hover, [dir] .btn.btn-blue:focus, [dir] .btn.btn-blue:active, [dir] .btn.btn-blue.active, [dir] .open .dropdown-toggle.btn.btn-blue {
    background-color: #3276B1;
    border-color: #285E8E;
}

/* orange button */
.btn-orange {
    color: #fff;
}
[dir] .btn-orange {
    background-color: #F29E63;
    border-color: #F29E63;
}

.btn-orange:hover,
.btn-orange:active,
.btn-orange.active {
    color: #fff !important;
}

[dir] .btn-orange:hover, [dir] .btn-orange:active, [dir] .btn-orange.active {
    background-color: #E48A49;
    *background-color: #E48A49;
}

[dir] .btn-orange:active, [dir] .btn-orange.active {
    background-color: #F7832F \9;
}

.btn-orange:visited {
    color: #fff;
}

/* defining simple button from all the colors */
[dir] .btn[class^="btn-simple-"], [dir] .btn[class*=" btn-simple-"] {
    background-color: #fff;
}

[dir] .btn[class^="btn-simple-"].hover, [dir] .btn[class*=" btn-simple-"].hover, [dir] .btn[class^="btn-simple-"]:hover, [dir] .btn[class*=" btn-simple-"]:hover {
    background-color: #E9E9E9;
}

.btn[class^="btn-simple-"].active,
.btn[class^="btn-simple-"]:active,
.btn[class*=" btn-simple-"].active,
.btn[class*=" btn-simple-"]:active {
    color: #fff !important;
}

.btn-simple-orange,
.btn-simple-orange.active:hover {
    color: #F29E63 !important;
}

[dir] .btn-simple-orange, [dir] .btn-simple-orange.active:hover {
    border-color: #F29E63;
}

.btn-simple-orange:hover,
.btn-simple-orange.hover {
    color: #E9E9E9;
}

[dir] .btn-simple-orange:active, [dir] .btn-simple-orange.active {
    background-color: #F29E63;
}

.btn-simple-primary,
.btn-simple-primary.active:hover {
    color: #565656 !important;
}

[dir] .btn-simple-primary, [dir] .btn-simple-primary.active:hover {
    border-color: #565656;
}

.btn-simple-primary:hover,
.btn-simple-primary.hover {
    color: #565656;
}

[dir] .btn-simple-primary:active, [dir] .btn-simple-primary.active {
    background-color: #565656;
}

.btn[class^="btn-simple-"].disabled,
.btn[class^="btn-simple-"][disabled],
.btn[class^="btn-simple-"].disabled:hover,
.btn[class^="btn-simple-"][disabled]:hover,
.btn[class^="btn-simple-"].disabled:focus,
.btn[class^="btn-simple-"][disabled]:focus,
.btn[class^="btn-simple-"].disabled:active,
.btn[class^="btn-simple-"][disabled]:active,
.btn[class^="btn-simple-"].disabled.active,
.btn[class^="btn-simple-"][disabled].active,
.btn[class*=" btn-simple-"].disabled,
.btn[class*=" btn-simple-"][disabled],
.btn[class*=" btn-simple-"].disabled:hover,
.btn[class*=" btn-simple-"][disabled]:hover,
.btn[class*=" btn-simple-"].disabled:focus,
.btn[class*=" btn-simple-"][disabled]:focus,
.btn[class*=" btn-simple-"].disabled:active,
.btn[class*=" btn-simple-"][disabled]:active,
.btn[class*=" btn-simple-"].disabled.active,
.btn[class*=" btn-simple-"][disabled].active {
    color: #666 !important;
}

[dir] .btn[class^="btn-simple-"].disabled, [dir] .btn[class^="btn-simple-"][disabled], [dir] .btn[class^="btn-simple-"].disabled:hover, [dir] .btn[class^="btn-simple-"][disabled]:hover, [dir] .btn[class^="btn-simple-"].disabled:focus, [dir] .btn[class^="btn-simple-"][disabled]:focus, [dir] .btn[class^="btn-simple-"].disabled:active, [dir] .btn[class^="btn-simple-"][disabled]:active, [dir] .btn[class^="btn-simple-"].disabled.active, [dir] .btn[class^="btn-simple-"][disabled].active, [dir] .btn[class*=" btn-simple-"].disabled, [dir] .btn[class*=" btn-simple-"][disabled], [dir] .btn[class*=" btn-simple-"].disabled:hover, [dir] .btn[class*=" btn-simple-"][disabled]:hover, [dir] .btn[class*=" btn-simple-"].disabled:focus, [dir] .btn[class*=" btn-simple-"][disabled]:focus, [dir] .btn[class*=" btn-simple-"].disabled:active, [dir] .btn[class*=" btn-simple-"][disabled]:active, [dir] .btn[class*=" btn-simple-"].disabled.active, [dir] .btn[class*=" btn-simple-"][disabled].active {
    background-color: #e6e6e6;
    border-color: #cccccc;
}

/* white button */
.btn-white {
    color: #333333;
}
[dir] .btn-white {
    text-shadow: none;
    background-color: #fff;
    border: 1px solid #bbbbbb;
    border-bottom-color: #a2a2a2;
}

.btn-white:hover,
.btn-white:active,
.btn-white.active,
.btn-white.disabled,
.btn-white[disabled] {
    color: #333333 !important;
}

[dir] .btn-white:hover, [dir] .btn-white:active, [dir] .btn-white.active, [dir] .btn-white.disabled, [dir] .btn-white[disabled] {
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
}

[dir] .btn-white:active, [dir] .btn-white.active {
    background-color: #cccccc \9;
}

[dir=ltr] .btn-white:first-child {
    margin-left: 0;
}

[dir=rtl] .btn-white:first-child {
    *margin-right: 0;
}

.btn-white:hover {
    color: #333333;
    text-decoration: none;
}

[dir] .btn-white:hover {
    background-color: #f5f5f5;
}

.btn-white.active,
.btn-white:active {
    outline: 0;
}

[dir] .btn-white.active, [dir] .btn-white:active {
    background-color: #f5f5f5;
    background-color: #f5f5f5 \9;
}

.btn-white:visited {
    color: #333333;
}

.btn-group.btn-group-flat .btn {
    color: #7f7f7f;
}

[dir] .btn-group.btn-group-flat .btn {
    background-color: #EAEAEA;
}

[dir] .btn-group.btn-group-flat .btn.active {
    background-color: #fafafa;
}

[dir] .btn-group.btn-group-white .btn.active {
    background-color: #fff;
}

.btn-group.btn-group-flat-simple .btn {
    color: #aaa;
}

[dir] .btn-group.btn-group-flat-simple .btn {
    border-color: #ccc;
}

[dir] .btn-group.btn-group-flat-simple.bg-gray .btn.active {
    background-color: #EAEAEA;
}

.btn-group.btn-group-flat-simple .btn.disabled,
.btn-group.btn-group-flat-simple .btn:disabled {
    color: #ccc !important;
}

[dir] .btn-group.btn-group-flat-simple .btn.disabled, [dir] .btn-group.btn-group-flat-simple .btn:disabled {
    background-color: #fafafa;
}

.btn-group.btn-group-flat-simple .btn:hover {
    color: #777 !important;
}

[dir] .btn-group.btn-group-flat-simple .btn:hover {
    background-color: #fff;
}

.btn-group.btn-group-flat-simple .btn.active {
    color: #5a5a5a;
}

[dir] .btn-group.btn-group-flat-simple .btn.active {
    background-color: #fff;
}

[dir] .btn.disabled:hover {
    cursor: not-allowed;
}

/*
buttons with arrows
- maybe this should be applied to all buttons? will have to check the pages
- especially the video pages
*/
.btn.btn-with-icon {
    position: relative;
}

.btn.btn-with-icon span,
.btn.btn-with-icon i {
    display: inline-block;
    vertical-align: middle;
}

.btn.btn-with-icon i {
    position: absolute;
    top: 0;
}

[dir=ltr] .btn.btn-with-icon.btn-with-icon-left {
    padding-left: 25px;
}

[dir=rtl] .btn.btn-with-icon.btn-with-icon-left {
    padding-right: 25px;
}

[dir=ltr] .btn.btn-with-icon.btn-icon-right {
    padding-right: 25px;
}

[dir=rtl] .btn.btn-with-icon.btn-icon-right {
    padding-left: 25px;
}

[dir=ltr] .btn.btn-sm.btn-with-icon.btn-with-icon-left, [dir=ltr] .btn.btn-xs.btn-with-icon.btn-with-icon-left {
    padding-left: 20px;
}

[dir=rtl] .btn.btn-sm.btn-with-icon.btn-with-icon-left, [dir=rtl] .btn.btn-xs.btn-with-icon.btn-with-icon-left {
    padding-right: 20px;
}

[dir=ltr] .btn.btn-sm.btn-with-icon.btn-with-icon-right, [dir=ltr] .btn.btn-xs.btn-with-icon.btn-with-icon-right {
    padding-right: 20px;
}

[dir=rtl] .btn.btn-sm.btn-with-icon.btn-with-icon-right, [dir=rtl] .btn.btn-xs.btn-with-icon.btn-with-icon-right {
    padding-left: 20px;
}

[dir=ltr] .btn.btn-lg.btn-with-icon.btn-with-icon-left {
    padding-left: 30px;
}

[dir=rtl] .btn.btn-lg.btn-with-icon.btn-with-icon-left {
    padding-right: 30px;
}

[dir=ltr] .btn.btn-lg.btn-with-icon.btn-with-icon-right {
    padding-right: 30px;
}

[dir=rtl] .btn.btn-lg.btn-with-icon.btn-with-icon-right {
    padding-left: 30px;
}

[dir=ltr] .btn.btn-with-icon.btn-with-icon-left i {
    left: 5px;
}

[dir=rtl] .btn.btn-with-icon.btn-with-icon-left i {
    right: 5px;
}

[dir=ltr] .btn.btn-with-icon.btn-with-icon-right i {
    right: 5px;
}

[dir=rtl] .btn.btn-with-icon.btn-with-icon-right i {
    left: 5px;
}

[dir=ltr] .btn.btn-sm.btn-with-icon.btn-with-icon-left i, [dir=ltr] .btn.btn-xs.btn-with-icon.btn-with-icon-left i {
    left: 3px;
}

[dir=rtl] .btn.btn-sm.btn-with-icon.btn-with-icon-left i, [dir=rtl] .btn.btn-xs.btn-with-icon.btn-with-icon-left i {
    right: 3px;
}

[dir=ltr] .btn.btn-sm.btn-with-icon.btn-with-icon-right i, [dir=ltr] .btn.btn-xs.btn-with-icon.btn-with-icon-right i {
    right: 3px;
}

[dir=rtl] .btn.btn-sm.btn-with-icon.btn-with-icon-right i, [dir=rtl] .btn.btn-xs.btn-with-icon.btn-with-icon-right i {
    left: 3px;
}

.btn.btn-with-icon i {
    font-size: 16px;
    line-height: 34px;
}

.btn.btn-sm.btn-with-icon i,
.btn.btn-xs.btn-with-icon i {
    font-size: 14px;
    line-height: 30px;
}

.btn.btn-lg.btn-with-icon i {
    font-size: 20px;
    line-height: 45px;
}

/**Buttons for dashboard**/
.btn.btn-dashboard {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    color: #fff;
    font-size: 18px;
    height: 80px;
    line-height: 24px;
    width: 130px;
}
[dir] .btn.btn-dashboard {
    background: none;
    background-color: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 5px;
    box-shadow: none;
    padding: 10px 5px;
    text-shadow: none;
}
[dir=ltr] .btn.btn-dashboard {
    margin-left: 5px;
    margin-right: 5px;
}
[dir=rtl] .btn.btn-dashboard {
    margin-right: 5px;
    margin-left: 5px;
}

.btn.btn-dashboard i {
    font-size: 30px;
}

.btn.btn-dashboard .text {
    font-size: 14px;
    line-height: 26px;
    max-width: 100%;
    white-space: nowrap;
}

/* reset for hover */
.not-mobile .btn.btn-dashboard:hover,
.btn.btn-dashboard:focus {
    color: #888 !important;
}
[dir] .not-mobile .btn.btn-dashboard:hover, [dir] .btn.btn-dashboard:focus {
    background: none;
}

/* bigger text for english */
html[data-language="en"] .btn.btn-dashboard .text {
    font-size: 18px;
}

/* hovers */
.not-mobile .btn.btn-dashboard:hover,
.btn.btn-dashboard:focus {
    color: #fff !important;
}
[dir] .not-mobile .btn.btn-dashboard:hover, [dir] .btn.btn-dashboard:focus {
    background-color: #666;
}

[dir] .not-mobile .btn.btn-dashboard.text-green:hover, [dir] .btn.btn-dashboard.text-green:focus {
    background-color: #419E6E;
}

[dir] .not-mobile .btn.btn-dashboard.text-orange:hover, [dir] .btn.btn-dashboard.text-orange:focus {
    background-color: #F29E63;
}

[dir] .not-mobile .btn.btn-dashboard.text-red:hover, [dir] .btn.btn-dashboard.text-red:focus {
    background-color: #DB6963;
}
/**End Buttons for Dashboard**/

/* Buttons with spinner */
.btn i.icon-spinner {
    display: inline-block;
    position: absolute;
    top: 50%;
    vertical-align: middle;
}
[dir] .btn i.icon-spinner {
    margin: 0;
    padding: 0;
}
[dir=ltr] .btn i.icon-spinner {
    left: 50%;
    right: auto !important;
    animation: spin 0.75s infinite linear;
}
[dir=rtl] .btn i.icon-spinner {
    right: 50%;
    left: auto !important;
    animation: spin 0.75s infinite linear;
}

button i.icon-spinner {
    display: inline-block;
    vertical-align: middle;
}

[dir] button i.icon-spinner {
    margin: 0;
    padding: 0;
}

[dir=ltr] button i.icon-spinner {
    animation: spin 0.75s infinite linear;
}

[dir=rtl] button i.icon-spinner {
    animation: spin 0.75s infinite linear;
}

.btn.btn-lg i.icon-spinner {
    font-size: 22px;
}

/* button group */
.btn-group.btn-group-adc .btn {
    color: #B7B7B7;
    overflow: hidden;
    /*
-o-transition: .2s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-ms-transition: .2s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-moz-transition: .2s cubic-bezier(0.455, 0.030, 0.215, 1.330);
-webkit-transition: .2s cubic-bezier(0.455, 0.030, 0.215, 1.330);
transition: .2s cubic-bezier(0.455, 0.030, 0.215, 1.330);
*/
}
[dir] .btn-group.btn-group-adc .btn {
    background: #fff;
    border-color: #B7B7B7;
    box-shadow: none;
}

.btn-group.btn-group-adc .btn.active {
    color: #fff !important;
}

[dir] .btn-group.btn-group-adc .btn.active {
    background-color: #565656;
}

.btn-group.btn-group-adc .btn-option-on,
.btn-group.btn-group-adc .btn-option-off {
    opacity: 0;
    position: absolute;
    width: 100%;
}

[dir] .btn-group.btn-group-adc .btn-option-on, [dir] .btn-group.btn-group-adc .btn-option-off {
    text-align: center;
}

[dir=ltr] .btn-group.btn-group-adc .btn-option-on, [dir=ltr] .btn-group.btn-group-adc .btn-option-off {
    left: 0;
}

[dir=rtl] .btn-group.btn-group-adc .btn-option-on, [dir=rtl] .btn-group.btn-group-adc .btn-option-off {
    right: 0;
}

/* if browser does not support 3d transforms, we just hide these */
html.modernizr-no-csstransforms .btn-group.btn-group-adc .btn-option-on,
html.modernizr-no-csstransforms .btn-group.btn-group-adc .btn-option-off {
    display: none;
}

/* end button group */


/*
*	END Buttons
* -----------------------------------------------------------------
*/

/*
* -----------------------------------------------------------------
*  Dropdown Menu overrides
*/
/* dropdown fix to fix the main style class */
.dropdown, .dropup {
    font-size: inherit;
    font-weight: inherit;
    text-decoration: inherit;
}
[dir] .dropdown, [dir] .dropup {
    border: inherit;
    margin: inherit;
}

.dropdown-menu li > a {
    color: #333333;
    text-decoration: none;
    line-height: 20px;
}

.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a {
    color: #fff !important;
}

[dir] .dropdown-menu li > a:hover, [dir] .dropdown-menu li > a:focus, [dir] .dropdown-submenu:hover > a {
    background-color: #565656;
    background-repeat: no-repeat;
    background-image: none;
}

.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
    color: #fff !important;
}

[dir] .dropdown-menu .active > a, [dir] .dropdown-menu .active > a:hover {
    background-color: #565656;
    background-repeat: no-repeat;
    background-image: none;
}

.dropdown-menu li > a.disabled,
.dropdown-menu li > a[data-disabled=true] {
    color: #aaa;
    text-decoration: none;
}

.dropdown-menu li > a.disabled:hover,
.dropdown-menu li > a.disabled:focus,
.dropdown-submenu:hover > a.disabled,
.dropdown-menu li > a[data-disabled=true]:hover,
.dropdown-menu li > a[data-disabled=true]:focus,
.dropdown-submenu:hover > a[data-disabled=true] {
    color: #aaa !important;
}

[dir] .dropdown-menu li > a.disabled:hover, [dir] .dropdown-menu li > a.disabled:focus, [dir] .dropdown-submenu:hover > a.disabled, [dir] .dropdown-menu li > a[data-disabled=true]:hover, [dir] .dropdown-menu li > a[data-disabled=true]:focus, [dir] .dropdown-submenu:hover > a[data-disabled=true] {
    background-color: inherit;
    background-repeat: no-repeat;
    background-image: none;
    cursor: default;
}

.dropdown-menu .active > a.disabled,
.dropdown-menu .active > a.disabled:hover,
.dropdown-menu .active > a[data-disabled=true],
.dropdown-menu .active > a[data-disabled=true]:hover {
    color: #aaa !important;
}

[dir] .dropdown-menu .active > a.disabled, [dir] .dropdown-menu .active > a.disabled:hover, [dir] .dropdown-menu .active > a[data-disabled=true], [dir] .dropdown-menu .active > a[data-disabled=true]:hover {
    background-color: inherit;
    background-repeat: no-repeat;
    background-image: none;
    cursor: default;
}

.dropdown-menu-arrow .dropdown-menu::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: -7px;
    content: "";
    display: inline-block;
    position: absolute;
    top: -7px;
}

[dir] .dropdown-menu-arrow .dropdown-menu::before {
    border-bottom: 7px solid rgba(0, 0, 0, 0.2);
    border-bottom: 7px solid rgba(0, 0, 0, 0.2);
}

[dir=ltr] .dropdown-menu-arrow .dropdown-menu::before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    left: 9px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    left: 9px;
}

[dir=rtl] .dropdown-menu-arrow .dropdown-menu::before {
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    right: 9px;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    right: 9px;
}

.dropdown-menu-arrow .dropdown-menu::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: -6px;
}

[dir] .dropdown-menu-arrow .dropdown-menu::after {
    border-bottom: 6px solid #FFFFFF;
}

[dir=ltr] .dropdown-menu-arrow .dropdown-menu::after {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    left: 10px;
}

[dir=rtl] .dropdown-menu-arrow .dropdown-menu::after {
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    right: 10px;
}

[dir=ltr] .dropdown-menu-arrow.pull-right .dropdown-menu::before {
    left: inherit;
    right: 9px;
}

[dir=rtl] .dropdown-menu-arrow.pull-right .dropdown-menu::before {
    right: inherit;
    left: 9px;
}

[dir=ltr] .dropdown-menu-arrow.pull-right .dropdown-menu::after {
    left: inherit;
    right: 10px;
}

[dir=rtl] .dropdown-menu-arrow.pull-right .dropdown-menu::after {
    right: inherit;
    left: 10px;
}

[dir=ltr] .btn-group.pull-right > .dropdown-menu-arrow::before {
    left: inherit;
    right: 9px;
}

[dir=rtl] .btn-group.pull-right > .dropdown-menu-arrow::before {
    right: inherit;
    left: 9px;
}

[dir=ltr] .btn-group.pull-right > .dropdown-menu-arrow::after {
    left: inherit;
    right: 10px;
}

[dir=rtl] .btn-group.pull-right > .dropdown-menu-arrow::after {
    right: inherit;
    left: 10px;
}
/*
*  END Dropdown Menu overrides
* -----------------------------------------------------------------
*/


/*
* -----------------------------------------------------------------
*  TABS
*/
.tabs-content-wrapper {
    width: 100%;
}
[dir=ltr] .tabs-content-wrapper {
    float: left;
}
[dir=rtl] .tabs-content-wrapper {
    float: right;
}

[dir] .tabs-content {
    padding: 10px 10px 0;
}

.tabs-header {
    height: 32px;
    overflow: hidden;
}

[dir=ltr] .tabs-header {
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    -webkit-border-top-left-radius: 5px !important;
    -webkit-border-top-right-radius: 5px !important;
    -moz-border-radius-topleft: 5px !important;
    -moz-border-radius-topright: 5px !important;
}

[dir=rtl] .tabs-header {
    border-top-right-radius: 5px !important;
    border-top-left-radius: 5px !important;
    -webkit-border-top-right-radius: 5px !important;
    -webkit-border-top-left-radius: 5px !important;
    -moz-border-radius-topright: 5px !important;
    -moz-border-radius-topleft: 5px !important;
}

.tabs-header, .tabs-header * {
    box-sizing: content-box;
}

.tabs-header .prev,
.tabs-header .next {
    color: #999;
    display: none;
    font-size: 30px;
    position: absolute;
    top: 0px;
}

[dir] .tabs-header .prev, [dir] .tabs-header .next {
    padding: 5px;
    text-align: center;
    background: #eaeaea;
    background: rgba(234,234,234,0.8);
}

.tabs-header .prev:hover,
.tabs-header .next:hover {
    color: #3a3a3a !important;
}

[dir=ltr] .tabs-header .prev {
    border-top-left-radius: 5px !important;
    -webkit-border-top-left-radius: 5px !important;
    -moz-border-radius-topleft: 5px !important;
    left: 0px;
}

[dir=rtl] .tabs-header .prev {
    border-top-right-radius: 5px !important;
    -webkit-border-top-right-radius: 5px !important;
    -moz-border-radius-topright: 5px !important;
    right: 0px;
}

[dir=ltr] .tabs-header .next {
    border-top-right-radius: 5px !important;
    -webkit-border-top-right-radius: 5px !important;
    -moz-border-radius-topright: 5px !important;
    right: 0px;
}

[dir=rtl] .tabs-header .next {
    border-top-left-radius: 5px !important;
    -webkit-border-top-left-radius: 5px !important;
    -moz-border-radius-topleft: 5px !important;
    left: 0px;
}

[dir] .modal-header.catalog-tabs {
    border-bottom: none;
    padding: 9px 0 0 0;
}

ul.tabs {
    display: block;
    width: 660px;
}

[dir] ul.tabs {
    border-bottom: 1px solid #C2C2C2;
    margin: 0px;
    padding: 0 20px;
}

[dir=ltr] ul.tabs {
    float: left;
}

[dir=rtl] ul.tabs {
    float: right;
}

ul.tabs.transition {
    transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
}

[dir] ul.tabs.transition {
    -webkit-transition: all 250ms ease-in-out;
    transform: translate3d(0,0,0);
}

ul.tabs li {
    display: inline;
    list-style: none;
}

[dir] ul.tabs li {
    margin: 0;
}

[dir=ltr] ul.tabs li {
    float: left;
    padding-right: 4px;
}

[dir=rtl] ul.tabs li {
    float: right;
    padding-left: 4px;
}

[dir=ltr] ul.tabs li.last-child {
    padding-right: 0;
}

[dir=rtl] ul.tabs li.last-child {
    padding-left: 0;
}

ul.tabs li a {
    color: #5A5A5A;
    display: inline-block;
    font-weight: bold;
    line-height: 16px;
    text-decoration: none;
}

[dir] ul.tabs li a {
    background: #f5f5f5;
    padding: 7px 11px;
    text-align: center;
    border-top: 1px solid #C2C2C2;
}

[dir=ltr] ul.tabs li a {
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    -webkit-border-top-left-radius: 5px !important;
    -webkit-border-top-right-radius: 5px !important;
    -moz-border-radius-topleft: 5px !important;
    -moz-border-radius-topright: 5px !important;
    border-left: 1px solid #C2C2C2;
    border-right: 1px solid #C2C2C2;
}

[dir=rtl] ul.tabs li a {
    border-top-right-radius: 5px !important;
    border-top-left-radius: 5px !important;
    -webkit-border-top-right-radius: 5px !important;
    -webkit-border-top-left-radius: 5px !important;
    -moz-border-radius-topright: 5px !important;
    -moz-border-radius-topleft: 5px !important;
    border-right: 1px solid #C2C2C2;
    border-left: 1px solid #C2C2C2;
}

[dir] ul.tabs li a:hover {
    background-color: #ddd;
}

ul.tabs li a:visited {
    text-decoration: none;
    color: #5A5A5A;
}

ul.tabs li a.active {
    color: #E3701F;
    font-weight: bold;
}

[dir] ul.tabs li a.active {
    background-color: #fff;
    background-image: none;
    margin-bottom: -1px;
    padding-bottom: 8px;
}

ul.tabs li a span {
    white-space: nowrap;
}

.tabs-content-wrapper .tab-content {
    display: none;
}

.tabs-content-wrapper .tab-content.active {
    display: block !important;
}

/*
*  END TABS
*/

/*
*
*   Switch Toggle Non Bootstrap
*
*/

.switch.toggle,
.switch.toggle *,
.switch.toggle *:before,
.switch.toggle *:after {
    box-sizing: border-box !important;
}

.switch.toggle {
    display: inline-block;
    width: 77px;
    height: 28px;
    position: relative;
    outline: 0;
    overflow: hidden;
}

[dir] .switch.toggle {
    background-color: #f0f0f0;
    background-image: linear-gradient(top,#e6e6e6,#fff);
    background-repeat: repeat-x;
    border-color: #fff #fff #d9d9d9;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
}

.switch.toggle.small {
    width: 69px;
    height: 25px;
}

[dir] .switch.toggle:hover, [dir] .switch.toggle:active, [dir] .switch.toggle.active, [dir] .switch.toggle.disabled, [dir] .switch.toggle[disabled] {
    background-color: #f0f0f0;
}

[dir] .switch.toggle:active, [dir] .switch.toggle.active {
    background-color: #e6e6e6 \9;
}

.switch.toggle > .switch-track {
    display: block;
    width: 13px;
    height: 26px;
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: width .15s linear, opacity .15s linear;
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    -ms-text-shadow: 0 1px 1px #000000;
    -ms-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    text-indent: -6px;
    color: #555;
}

[dir] .switch.toggle > .switch-track {
    border: 0;
    -webkit-transition: width.15s linear,opacity.15s linear;
    text-shadow: 0 1px 1px #000000;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    text-align: center;
}

[dir=ltr] .switch.toggle > .switch-track {
    border-radius: 4px 0 0 4px;
    left: 0px;
}

[dir=rtl] .switch.toggle > .switch-track {
    border-radius: 0 4px 4px 0;
    right: 0px;
}

.switch.toggle.small > .switch-track {
    height: 24px;
    width: 12px;
}

.switch.switch-ios > .switch-track {
    color: #ECECEC;
}

[dir] .switch.switch-ios > .switch-track {
    background-color: #0069cc;
    background-image: linear-gradient(top,#05c,#08c);
    background-repeat: repeat-x;
    border-color: #08c #08c #005580;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
}

[dir] .switch.switch-ios > .switch-track:active, [dir] .switch.switch-ios > .switch-track.active {
    background-color: #069 \9;
}

.switch.switch-warning > .switch-track {
    color: #f2f2f2;
}

[dir] .switch.switch-warning > .switch-track {
    background-color: #0F86D3;
    background-repeat: repeat-x;
    border-color: #fbb450 #fbb450 #f89406;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
}

[dir] .switch.switch-warning > .switch-track:hover, [dir] .switch.switch-warning > .switch-track:active, [dir] .switch.switch-warning > .switch-track.active, [dir] .switch.switch-warning > .switch-track.disabled, [dir] .switch.switch-warning > .switch-track[disabled] {
    background-color: #0F86D3;
    *background-color: #0F86D3;
}

[dir] .switch.switch-warning > .switch-track:active, [dir] .switch.switch-warning > .switch-track.active {
    background-color: #0F86D3 \9;
}

[dir] .switch.switch-danger > .switch-track {
    background-color: #d14641;
    background-image: linear-gradient(top,#bd362f,#ee5f5b);
    background-repeat: repeat-x;
    border-color: #ee5f5b #ee5f5b #e51d18;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
}

[dir] .switch.switch-danger > .switch-track:hover, [dir] .switch.switch-danger > .switch-track:active, [dir] .switch.switch-danger > .switch-track.active, [dir] .switch.switch-danger > .switch-track.disabled, [dir] .switch.switch-danger > .switch-track[disabled] {
    background-color: #ee5f5b;
    *background-color: #ec4844;
}

[dir] .switch.switch-danger > .switch-track:active, [dir] .switch.switch-danger > .switch-track.active {
    background-color: #e9322d \9;
}

[dir] .switch.switch-success > .switch-track {
    background-color: #58b058;
    background-image: linear-gradient(top,#51a351,#62c462);
    background-repeat: repeat-x;
    border-color: #62c462 #62c462 #3b9e3b;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    *background-color: #62c462;
}

[dir] .switch.switch-success > .switch-track:hover, [dir] .switch.switch-success > .switch-track:active, [dir] .switch.switch-success > .switch-track.active, [dir] .switch.switch-success > .switch-track.disabled, [dir] .switch.switch-success > .switch-track[disabled] {
    background-color: #62c462;
}

[dir] .switch.switch-success > .switch-track:active, [dir] .switch.switch-success > .switch-track.active {
    background-color: #42b142 \9;
}

[dir] .switch.switch-info > .switch-track {
    background-color: #41a7c5;
    background-image: linear-gradient(top,#2f96b4,#5bc0de);
    background-repeat: repeat-x;
    border-color: #5bc0de #5bc0de #28a1c5;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
}

[dir] .switch.switch-info > .switch-track:hover, [dir] .switch.switch-info > .switch-track:active, [dir] .switch.switch-info > .switch-track.active, [dir] .switch.switch-info > .switch-track.disabled, [dir] .switch.switch-info > .switch-track[disabled] {
    background-color: #5bc0de;
    *background-color: #46b8da;
}

[dir] .switch.switch-info > .switch-track:active, [dir] .switch.switch-info > .switch-track.active {
    background-color: #31b0d5 \9;
}

[dir] .switch.switch-inverse > .switch-track {
    background-color: #363636;
    background-image: linear-gradient(top,#222,#555);
    background-repeat: repeat-x;
    border-color: #555 #555 #2f2f2f;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
}

[dir] .switch.switch-inverse > .switch-track:hover, [dir] .switch.switch-inverse > .switch-track:active, [dir] .switch.switch-inverse > .switch-track.active, [dir] .switch.switch-inverse > .switch-track.disabled, [dir] .switch.switch-inverse > .switch-track[disabled] {
    background-color: #555;
    *background-color: #484848;
}

[dir] .switch.switch-inverse > .switch-track:active, [dir] .switch.switch-inverse > .switch-track.active {
    background-color: #3b3b3b \9;
}

.switch.toggle.active > .switch-track {
    opacity: 1;
    width: 61px;
}

.switch.toggle.small.active > .switch-track {
    width: 55px;
}

.switch.toggle > .switch-off {
    display: block;
    width: 40px;
    height: 26px;
    position: absolute;
    z-index: 1;
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    -ms-text-shadow: 0 1px 1px #ffffff;
    -ms-text-shadow: 0 1px 1px rgba(255, 255, 255, 0.25);
    text-indent: -6px;
    color: #555;
    -ms-opacity: 1;
    opacity: 1;
    transition: width .15s linear, opacity .15s linear;
}

[dir] .switch.toggle > .switch-off {
    border: 0;
    text-shadow: 0 1px 1px #ffffff;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.25);
    text-align: center;
    -webkit-transition: width .15s linear,opacity .15s linear;
}

[dir=ltr] .switch.toggle > .switch-off {
    left: 32px;
    border-radius: 0px 4px 4px 0px;
}

[dir=rtl] .switch.toggle > .switch-off {
    right: 32px;
    border-radius: 4px 0px 0px 4px;
}

.switch.toggle.small > .switch-off {
    width: 36px;
    height: 23px;
    line-height: 22px;
    font-size: 13px;
}

[dir=ltr] .switch.toggle.small > .switch-off {
    left: 29px;
}

[dir=rtl] .switch.toggle.small > .switch-off {
    right: 29px;
}

.switch.toggle.active > .switch-off {
    -ms-opacity: 0;
    opacity: 0;
}

.switch.toggle > .switch-thumb {
    display: block;
    width: 26px;
    height: 26px;
    position: absolute;
    z-index: 3;
    top: 0;
}

[dir] .switch.toggle > .switch-thumb {
    background-color: #f5f5f5;
    background-image: linear-gradient(top,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border: 1px solid #bbb;
    border-radius: 4px;
}

[dir=ltr] .switch.toggle > .switch-thumb {
    left: 0;
    transition: left 0.15s linear;
}

[dir=rtl] .switch.toggle > .switch-thumb {
    right: 0;
    transition: right 0.15s linear;
}

.switch.toggle.small > .switch-thumb {
    width: 23px;
    height: 23px;
}

.switch.toggle > .switch-thumb:before, .switch > .switch-thumb:after {
    display: block;
    width: 61px;
    height: 24px;
    position: absolute;
    z-index: -1;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    -ms-text-shadow: 0 1px 1px #000000;
    -ms-text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

[dir] .switch.toggle > .switch-thumb:before, [dir] .switch > .switch-thumb:after {
    text-shadow: 0 1px 1px #000000;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
    text-align: center;
}

.switch.toggle.small > .switch-thumb:before, .switch.small > .switch-thumb:after {
    width: 55px;
    height: 22px;
    font-size: 13px;
    line-height: 22px;
}

[dir=ltr] .switch.toggle.active > .switch-thumb {
    left: 49px;
}

[dir=rtl] .switch.toggle.active > .switch-thumb {
    right: 49px;
}

[dir=ltr] .switch.toggle.small.active > .switch-thumb {
    left: 44px;
}

[dir=rtl] .switch.toggle.small.active > .switch-thumb {
    right: 44px;
}

.switch.toggle > input[type="checkbox"] {
    display: none;
}

/*
*    New switch button
*/
.switch.toggle.modern {
    overflow: visible;
    backface-visibility: hidden;
    height: 34px;
    position: relative;
    text-indent: 0;
    width: 60px;
}
[dir] .switch.toggle.modern {
    background: none;
    background-repeat: no-repeat;
    background-image: none;
    border: none;
    border-color: transparent;
    background-color: #E5E5E5;
    border-radius: 100px;
}

.switch.toggle.modern.disabled {
    opacity: 0.4;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    filter: alpha(opacity=0.4);
}

[dir] .switch.toggle.modern.disabled:hover {
    cursor: not-allowed;
}

.switch.toggle.modern .switch-track,
.switch.toggle.modern .switch-off {
    /*
background-image: none;
background: none;
*/
    height: 100%;
    line-height: 34px;
    position: absolute;
    text-indent: 0;
    top: 0;
    width: 100%;
}

[dir] .switch.toggle.modern .switch-track, [dir] .switch.toggle.modern .switch-off {
    border: none;
    background-repeat: no-repeat;
    border-radius: 100px;
    text-shadow: none;
}

[dir=ltr] .switch.toggle.modern .switch-track, [dir=ltr] .switch.toggle.modern .switch-off {
    left: 0;
}

[dir=rtl] .switch.toggle.modern .switch-track, [dir=rtl] .switch.toggle.modern .switch-off {
    right: 0;
}

.switch.toggle.modern .switch-track {
    /* we can use the default colors from the original toggle
background-image: -o-linear-gradient(#00e459, #00e158);
background-image: -ms-linear-gradient(#00e459, #00e158);
background-image: -moz-linear-gradient(#00e459, #00e158);
background-image: -webkit-linear-gradient(#00e459, #00e158);
background-image: linear-gradient(#00e459, #00e158);
*/
    opacity: 0;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    filter: alpha(opacity=0);
    z-index: 1;
    transition: .3s 0.1s;
    color: #fff;
}

[dir] .switch.toggle.modern .switch-track {
    -webkit-transition: .3s 0.1s;
}

.switch.toggle.modern .switch-off {
    z-index: 2;
    -o-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transition: .4s;
    color: #E5E5E5;
}

[dir] .switch.toggle.modern .switch-off {
    border-radius: 100px;
    background-image: linear-gradient(#ffffff, #FDFDFD);
    border: 2px solid #E5E5E5;
    transform: scale(1);
    -webkit-transition: .4s;
}

.switch.toggle.modern .switch-thumb {
    width: 30px;
    height: 30px;
    top: 2px;
    position: absolute;
    z-index: 3;
    transition: transform .3s 0.15s cubic-bezier(0.455, 0.030, 0.215, 1.330);
}

[dir] .switch.toggle.modern .switch-thumb {
    border: none;
    background-repeat: no-repeat;
    background-image: none;
    background: none;
    background-color: white;
    border-radius: 20px;
    -webkit-transition: -webkit-transform .3s 0.15s cubic-bezier(0.455, 0.030, 0.215, 1.330);
    -webkit-transition: transform .3s 0.15s cubic-bezier(0.455, 0.030, 0.215, 1.330);
}

[dir=ltr] .switch.toggle.modern .switch-thumb {
    left: 2px;
    box-shadow: 0 0 3px 1px hsla(0, 0%, 0%, .075), 0 3px 5px hsla(0, 0%, 0%, .15), 1px 2px 2px hsla(0, 0%, 0%, .05);
}

[dir=rtl] .switch.toggle.modern .switch-thumb {
    right: 2px;
    box-shadow: 0 0 3px 1px hsla(0, 0%, 0%, .075), 0 3px 5px hsla(0, 0%, 0%, .15), -1px 2px 2px hsla(0, 0%, 0%, .05);
}

.switch.toggle.modern.switch-off .switch-thumb {
    -o-transform: translate3d(0px, 0, 0);
    -ms-transform: translate3d(0px, 0, 0);
    -moz-transform: translate3d(0px, 0, 0);
    -webkit-transform: translate3d(0px, 0, 0);
}

[dir] .switch.toggle.modern.switch-off .switch-thumb {
    transform: translate3d(0px, 0, 0);
}

[dir=ltr] .switch.toggle.modern.switch-off .switch-thumb {
    animation: expand-off .3s 0.1s;
}

[dir=rtl] .switch.toggle.modern.switch-off .switch-thumb {
    animation: expand-off .3s 0.1s;
}

.switch.toggle.modern.switch-off .switch-track {
    transition: .3s 0s;
}

[dir] .switch.toggle.modern.switch-off .switch-track {
    -webkit-transition: .3s 0s;
}

.switch.toggle.modern.switch-off .switch-off {
    transition: .4s 0.25s;
}

[dir] .switch.toggle.modern.switch-off .switch-off {
    -webkit-transition: .4s 0.15s;
}

[dir=ltr] .switch.toggle.modern.switch-on .switch-thumb {
    animation: expand-on .3s 0.2s;
    transform: translate3d(26px, 0, 0);
}

[dir=rtl] .switch.toggle.modern.switch-on .switch-thumb {
    animation: expand-on .3s 0.2s;
    transform: translate3d(-26px, 0, 0);
}

.switch.toggle.modern.switch-on .switch-track {
    opacity: 1;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    filter: alpha(opacity=100);
}

.switch.toggle.modern.switch-on .switch-off {
    -o-transform: scale(0);
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
}

[dir] .switch.toggle.modern.switch-on .switch-off {
    transform: scale(0);
}

/* definitions for icons */
.switch.toggle.modern .switch-track i,
.switch.toggle.modern .switch-off i {
    display: inline-block;
    font-size: 12px;
    line-height: 34px;
    position: absolute;
    vertical-align: middle;
}


[dir=ltr] .switch.toggle.modern .switch-track i {
    left: 10px;
}


[dir=rtl] .switch.toggle.modern .switch-track i {
    right: 10px;
}

.switch.toggle.modern .switch-off i {
    top: -2px;
}

[dir=ltr] .switch.toggle.modern .switch-off i {
    right: 5px;
}

[dir=rtl] .switch.toggle.modern .switch-off i {
    left: 5px;
}

/* small size */
.switch.switch-sm.toggle.modern {
    height: 25px;
    width: 45px;
}

.switch.switch-sm.toggle.modern .switch-thumb {
    height: 21px;
    width: 21px;
}

.switch.switch-sm.toggle.modern .switch-track i,
.switch.switch-sm.toggle.modern .switch-off i {
    font-size: 10px;
    line-height: 25px;
}

[dir=ltr] .switch.switch-sm.toggle.modern.switch-on .switch-thumb {
    transform: translate3d(20px, 0, 0);
}

[dir=rtl] .switch.switch-sm.toggle.modern.switch-on .switch-thumb {
    transform: translate3d(-20px, 0, 0);
}

.switch.switch-sm.toggle.modern .switch-track i {
    top: 1px;
}

[dir=ltr] .switch.switch-sm.toggle.modern .switch-track i {
    left: 7px;
}

[dir=rtl] .switch.switch-sm.toggle.modern .switch-track i {
    right: 7px;
}

/* adjustment for older browsers */
html.modernizr-no-csstransforms3d .switch.toggle.modern .switch-off {
    color: #fff;
}

html.modernizr-no-csstransforms3d .switch.toggle.modern.switch-on .switch-thumb {
    /* move it all the way, so +2 to what we do in transforms */
}

html[dir=ltr].modernizr-no-csstransforms3d .switch.toggle.modern.switch-on .switch-thumb {
    left: 28px;
}

html[dir=rtl].modernizr-no-csstransforms3d .switch.toggle.modern.switch-on .switch-thumb {
    right: 28px;
}

html.modernizr-no-csstransforms3d .switch.switch-sm.toggle.modern.switch-on .switch-thumb {
    /* again move it all the way to the end, so +2 */
}

html[dir=ltr].modernizr-no-csstransforms3d .switch.switch-sm.toggle.modern.switch-on .switch-thumb {
    left: 22px;
}

html[dir=rtl].modernizr-no-csstransforms3d .switch.switch-sm.toggle.modern.switch-on .switch-thumb {
    right: 22px;
}


/*
* END Switch
* --------------------------------------------------------------
*/

/*
* --------------------------------------------------------------
*  Floating Labels
*/

[dir] .border-top-gray {
    border-top: 1px solid #ccc;
}

[dir] .border-top-light-gray {
    border-top: 1px solid #B7B7B7;
}

[dir] .border-bottom-gray {
    border-bottom: 1px solid #ccc;
}

[dir] .border-bottom-light-gray {
    border-bottom: 1px solid #B7B7B7;
}

.floating-label {
    height: 50px;
    /* make space after floating labels row  so that it does not looks so close together*/
    position: relative;
}

[dir] .floating-label {
    margin-bottom: 10px;
    padding-top: 11px;
}

[dir=ltr] .floating-label {
    padding-left: 20px;
}

[dir=rtl] .floating-label {
    padding-right: 20px;
}

/* border underneath */
/* z-index is one higher than the floating-label*/
.floating-label:not(.nested):after {
    bottom: 0;
    content: '';
    height: 1px;
    position: absolute;
    z-index: 2;
}
[dir] .floating-label:not(.nested):after {
    background: #CCC;
}
[dir=ltr] .floating-label:not(.nested):after {
    left: 17px;
    right: 10px;
}
[dir=rtl] .floating-label:not(.nested):after {
    right: 17px;
    left: 10px;
}

.floating-label input,
.floating-label textarea,
.floating-label select,
.floating-label .floating-label-data,
.floating-label label.floating-label-secure-data {
    -ms-border-radius: 0;
    -webkit-box-shadow: none !important;
    -ms-box-shadow: none !important;
    font-size: 14px;
    position: relative;
    -moz-resize: none;
    -ms-resize: none;
    -o-resize: none;
    resize: none;
    z-index: 1;
}

[dir] .floating-label input, [dir] .floating-label textarea, [dir] .floating-label select, [dir] .floating-label .floating-label-data, [dir] .floating-label label.floating-label-secure-data {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    margin-top: 2px;
    padding-bottom: 0;
    padding-top: 10px;
}

[dir=ltr] .floating-label input, [dir=ltr] .floating-label textarea, [dir=ltr] .floating-label select, [dir=ltr] .floating-label .floating-label-data, [dir=ltr] .floating-label label.floating-label-secure-data {
    padding-left: 0;
    padding-right: 0;
}

[dir=rtl] .floating-label input, [dir=rtl] .floating-label textarea, [dir=rtl] .floating-label select, [dir=rtl] .floating-label .floating-label-data, [dir=rtl] .floating-label label.floating-label-secure-data {
    padding-right: 0;
    padding-left: 0;
}

.floating-label.textarea {
    height: auto;
}

[dir] .floating-label.textarea {
    padding-bottom: 5px;
}

[dir] .floating-label textarea {
    margin-top: 10px;
    padding-top: 0;
}

.floating-label select {
    height: 25px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

[dir] .floating-label select {
    background-color: transparent;
    margin-top: 12px;
    padding: 0;
}

[dir=ltr] .floating-label select {
    margin-left: 0px;
}

[dir=rtl] .floating-label select {
    margin-right: 0px;
}

.modernizr-borderradius .floating-label .input-checkbox-alt + label {
    bottom: -2px;
    line-height: 1em;
    position: relative;
}

[dir=ltr] .modernizr-borderradius .floating-label .input-checkbox-alt + label {
    left: 25px;
    margin-left: 0;
}

[dir=rtl] .modernizr-borderradius .floating-label .input-checkbox-alt + label {
    right: 25px;
    margin-right: 0;
}

.floating-label select::-ms-expand {
    display: none;
}

/* for a select, hack in a carret */
.floating-label.floating-label-select:before {
    content: "\f0d7";
    font-family: FontAwesome;
    height: 16px;
    line-height: 16px;
    position: absolute;
    font-size: 16px;
    bottom: 5px;
    color: #777;
    z-index: 5;
}
[dir=ltr] .floating-label.floating-label-select:before {
    right: 15px;
}
[dir=rtl] .floating-label.floating-label-select:before {
    left: 15px;
}

/* also have to adjust the select inside */
[dir=ltr] .floating-label.floating-label-select select {
    padding-right: 20px;
}
[dir=rtl] .floating-label.floating-label-select select {
    padding-left: 20px;
}

/* make the select have a lighter placeholder like color for options with no value */
.floating-label select.placeholder {
    color: #999;
}

[dir] .floating-label .floating-label-data {
    cursor: not-allowed;
}

.floating-label label.floating-label-secure-data {
    bottom: -4px;
    color: #777;
    font-size: 10px;
    line-height: 20px;
    width: 100%;
}

[dir] .floating-label label.floating-label-secure-data {
    cursor: pointer;
    margin-bottom: 0;
}

[dir=ltr] .floating-label label.floating-label-secure-data i.icon-circle {
    padding-right: 1px;
}

[dir=rtl] .floating-label label.floating-label-secure-data i.icon-circle {
    padding-left: 1px;
}

.floating-label label.floating-placeholder {
    color: #bbb;
    top: 20px;
    display: block;
    font-size: 12px;
    position: absolute;
    -ms-opacity: 0;
    opacity: 0;
    z-index: 0;
    vertical-align: middle;
    vertical-align: baseline;
}

[dir] .floating-label label.floating-placeholder {
    margin: 0;
}

/* for browsers that do not support placeholders, make this be the placeholder */
html.modernizr-no-placeholder .floating-label label.floating-placeholder {
    font-size: 14px;
    -ms-opacity: 1;
    opacity: 1;
}

/* override top for when in an input group */
html.modernizr-no-placeholder .floating-label .input-group label.floating-placeholder {
    top: 12px;
}

.floating-label.invalid .floating-placeholder {
    color: #D24736;
}

[dir] .floating-label.invalid:not(.nested):after {
    background-color: #D24736;
}

.floating-label .form-control[disabled],
.floating-label .form-control[readonly],
.floating-label fieldset[disabled] .form-control {
    color: #bbb;
    -webkit-text-fill-color: #bbb;
}

[dir] .floating-label .form-control[disabled], [dir] .floating-label .form-control[readonly], [dir] .floating-label fieldset[disabled] .form-control {
    background-color: transparent;
    cursor: not-allowed;
}

html.modernizr-no-placeholder .floating-label-with-value label.floating-placeholder,
.floating-label-with-value label.floating-placeholder {
    font-size: 12px;
    top: 5px;
    -ms-opacity: 1;
    opacity: 1;
    z-index: 2 !important;
}

/* for browsers that do not support placeholders override the top */
html.modernizr-no-placeholder .floating-label-with-value .input-group label.floating-placeholder,
.floating-label-with-value .input-group label.floating-placeholder {
    top: -3px;
}

.floating-label-with-focus label.floating-placeholder {
    color: blue;
}

.floating-label .input-group .input-group-addon {
    vertical-align: bottom;
}

[dir] .floating-label .input-group .input-group-addon {
    background-color: transparent;
    border: none;
    padding-bottom: 3px;
}

[dir=ltr] .floating-label .input-group .input-group-addon {
    padding-left: 0;
}

[dir=rtl] .floating-label .input-group .input-group-addon {
    padding-right: 0;
}

/* multiple elements in one row with one header */
.floating-label-multi .floating-label {
    height: 24px;
}
[dir] .floating-label-multi .floating-label {
    margin-top: 12px;
    padding-top: 0;
}

[dir] .floating-label-multi .floating-label select {
    margin-top: -1px;
}

[dir] .floating-label-multi .floating-label input, [dir] .floating-label-multi .floating-label textarea, [dir] .floating-label-multi .floating-label label.floating-label-secure-data {
    padding-top: 2px;
}

/* Fill over the ugly yellow Chrome autofill input fields with white and ensure
the floating label is on top. */
[dir] input:-webkit-autofill, [dir] .floating-label input:-webkit-autofill, [dir] input:-webkit-autofill:hover, [dir] input:-webkit-autofill:active, [dir] input:-webkit-autofill:focus, [dir] textarea:-webkit-autofill, [dir] select:-webkit-autofill {
    box-shadow: inset 0 0 0 1000px #FFFFFF !important;
}

/* additional sizes */
.floating-label.floating-label-lg {
    height: 56px;
}

html.modernizr-no-placeholder .floating-label-with-value.floating-label-lg label.floating-placeholder,
.floating-label-with-value.floating-label-lg label.floating-placeholder {
    font-size: 14px;
}

.floating-label.floating-label-lg select,
.floating-label.floating-label-lg input {
    font-size: 22px;
    font-weight: 300;
    height: 36px;
    line-height: 36px;
}

[dir] .floating-label.floating-label-lg input {
    margin-top: 10px;
    padding-top: 0;
}

/*
* END Floating Labels
* --------------------------------------------------------------
*/

/*
* --------------------------------------------------------------
*  Gauge chart
*/
.gauge-chart {
    height: 110px;
    width: 110px;
}
[dir] .gauge-chart {
    text-align: center;
}
/*
* END Gauge chart
* --------------------------------------------------------------
*/


/*
* --------------------------------------------------------------
*	From bootstrap-addon.css (JASNY)
*/
.navbar-fixed-top,
.navbar-fixed-bottom {
    position: fixed;
    z-index: 1030;
}
[dir] .navbar-fixed-top, [dir] .navbar-fixed-bottom {
    margin-bottom: 0;
}
[dir=ltr] .navbar-fixed-top, [dir=ltr] .navbar-fixed-bottom {
    right: 0;
    left: 0;
}
[dir=rtl] .navbar-fixed-top, [dir=rtl] .navbar-fixed-bottom {
    left: 0;
    right: 0;
}

[dir] .navbar-fixed-top .navbar-inner, [dir] .navbar-static-top .navbar-inner {
    border-width: 0 0 1px;
}

[dir] .navbar-fixed-bottom .navbar-inner {
    border-width: 1px 0 0;
}

.navbar-fixed-top .navbar-inner,
.navbar-fixed-bottom .navbar-inner {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
}

[dir] .navbar-fixed-top .navbar-inner, [dir] .navbar-fixed-bottom .navbar-inner {
    border-radius: 0;
}

[dir=ltr] .navbar-fixed-top .navbar-inner, [dir=ltr] .navbar-fixed-bottom .navbar-inner {
    padding-left: 0;
    padding-right: 0;
}

[dir=rtl] .navbar-fixed-top .navbar-inner, [dir=rtl] .navbar-fixed-bottom .navbar-inner {
    padding-right: 0;
    padding-left: 0;
}

.navbar-fixed-top {
    top: 0;
}

.navbar-fixed-bottom {
    bottom: 0;
}
/*
*	From bootstrap-addon.css (JASNY)
* --------------------------------------------------------------
*/

/*
*  --------------------------------------------------------
*  Icons
*/

/* reset for icons */
[class^="icon-"],
[class*=" icon-"],
[class^="icon-"]:hover,
[class*=" icon-"]:hover {
    font-weight: normal;
    text-decoration: none;
}

/* force font awesome on icons */
[class^="icon-"], [class*=" icon-"] {
    font-family: FontAwesome !important;
}

[class^="icon-"].icon-fw,
[class*=" icon-"].icon-fw {
    width: 1.1428571428571428em;
}

[dir] [class^="icon-"].icon-fw, [dir] [class*=" icon-"].icon-fw {
    text-align: center;
}

.input-group .input-group-addon i {
    display: inline-block;
    -moz-min-width: 20px;
    -ms-min-width: 20px;
    -o-min-width: 20px;
    -webkit-min-width: 20px;
    min-width: 20px;
}

[dir] .input-group .input-group-addon i {
    text-align: center;
}

[dir] .input-group .input-invisible-addon .form-control {
    border-radius: 0;
}
[dir=ltr] .input-group > .input-invisible-addon:first-child .form-control {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
[dir=rtl] .input-group > .input-invisible-addon:first-child .form-control {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
[dir=ltr] .input-group > .input-invisible-addon:last-child .form-control {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
[dir=rtl] .input-group > .input-invisible-addon:last-child .form-control {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
[dir=ltr] .input-group > .input-invisible-addon:first-child:not(:last-child) .form-control{
    border-right: 0;
}
[dir=rtl] .input-group > .input-invisible-addon:first-child:not(:last-child) .form-control{
    border-left: 0;
}
[dir=ltr] .input-group > .input-group-addon + .input-invisible-addon:last-child .form-control {
    border-left: 0;
}
[dir=rtl] .input-group > .input-group-addon + .input-invisible-addon:last-child .form-control {
    border-right: 0;
}

button.icon-remove {
    display: inline-block;
}
/*
*  END Icons
*  --------------------------------------------------------
*/

/*
*  --------------------------------------------------------
*  Style Addons
*/


body {
    font-size: 12px;
}

body.dashboard-ui h1,
body.dashboard-ui h2,
body.dashboard-ui h3,
body.dashboard-ui h4,
body.dashboard-ui h5,
body.dashboard-ui h6 {
    color: #333;
    /*font-weight: 100; /* make it light */
}

h4 {
    font-size: 16px;
}

label {
    font-weight: normal;
}

[dir] form {
    margin: 0;
}

a {
    text-decoration: underline;
}

a.no-underline {
    text-decoration: none !important;
}

a.no-underline:hover {
    text-decoration: none !important;
}

ul.inline-list {
    list-style-type: none;
}

[dir] ul.inline-list {
    margin: 0;
    padding: 0;
    text-align: center;
}

ul.inline-list li {
    display: inline;
}

[dir=ltr] input[type="radio"], [dir=ltr] input[type="checkbox"] {
    margin: 4px 4px 4px 0;
}

[dir=rtl] input[type="radio"], [dir=rtl] input[type="checkbox"] {
    margin: 4px 0 4px 4px;
}

[dir] .alert {
    margin-bottom: 10px;
    padding: 8px 14px;
}

[dir=ltr] .alert {
    text-align: left;
}

[dir=rtl] .alert {
    text-align: right;
}

.alert .close.icon-remove {
    display: inline-block;
    font-size: 18px;
}

.alert-dismissable .close {
    top: -0px;
}

[dir=ltr] .alert-dismissable .close {
    right: -6px;
}

[dir=rtl] .alert-dismissable .close {
    left: -6px;
}

.alert-gray {
    color: #5a5a5a;
}

[dir] .alert-gray {
    background: #f5f5f5;
    border-color: #eaeaea;
}

.alert.alert-with-icon {
    position: relative;
}

.alert.alert-with-icon .alert-icon {
    display: inline-block;
    font-size: 22px;
    height: 24px;
    line-height: 24px;
    position: absolute;
}

[dir=ltr] .alert.alert-with-icon .alert-icon {
    left: 10px;
}

[dir=rtl] .alert.alert-with-icon .alert-icon {
    right: 10px;
}

.alert.alert-with-icon.alert-icon-centered .alert-icon {
    top: 50%;
}

[dir] .alert.alert-with-icon.alert-icon-centered .alert-icon {
    margin-top: -12px;
}

.alert.alert-with-icon .alert-text {
    display: inline-block;
}

[dir=ltr] .alert.alert-with-icon .alert-text {
    padding-left: 25px;
}

[dir=rtl] .alert.alert-with-icon .alert-text {
    padding-right: 25px;
}

/*
*  END Style Addons
*  --------------------------------------------------------
*/


/*
*  --------------------------------------------------------
*  Callouts
*
* Not quite alerts, but custom and helpful notes
* Requires a base and modifier class
*/
/* Common styles for all types */
[dir] .bs-callout {
    margin: 20px 0;
    padding: 20px;
}
[dir=ltr] .bs-callout {
    border-left: 3px solid #eee;
}
[dir=rtl] .bs-callout {
    border-right: 3px solid #eee;
}

[dir] .bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

[dir] .bs-callout p:last-child {
    margin-bottom: 0;
}

/* Variations */
[dir] .bs-callout-danger {
    background-color: #fdf7f7;
    border-color: #eed3d7;
}

.bs-callout-danger h4 {
    color: #b94a48;
}

[dir] .bs-callout-warning {
    background-color: #faf8f0;
    border-color: #faebcc;
}

.bs-callout-warning h4 {
    color: #8a6d3b;
}

[dir] .bs-callout-info {
    background-color: #f4f8fa;
    border-color: #bce8f1;
}

.bs-callout-info h4 {
    color: #34789a;
}
/*
*  END Callouts
*  --------------------------------------------------------
*/

/*
*  ----------------------------------------------
*  Row Highlighting
*/
/* gray section header */
.headerControl,
.header-control {
    height: 45px;
}
[dir] .headerControl, [dir] .header-control {
    background-color: #f1f1f1;
    margin: 0 -15px;
    padding: 5px 10px;
}

[dir] .header-control {
    margin: 0 -10px;
}

[dir] .header-control.header-control-dark {
    background-color: #7d7e7f;
}

[dir] .header-control.header-control-dark.subsection {
    background-color: #c5c5c5;
}

.header-control.header-control-dark h1,
.header-control.header-control-dark h2,
.header-control.header-control-dark h3,
.header-control.header-control-dark h4,
.header-control.header-control-dark h5,
.header-control.header-control-dark h6 {
    color: #fff;
}

[dir=ltr] .header-control.row {
    padding-left: 0;
    padding-right: 0;
}

[dir=rtl] .header-control.row {
    padding-right: 0;
    padding-left: 0;
}

.header-control.header-control-sm {
    height: 40px;
}

.header-control h1,
.header-control h2,
.header-control h3,
.header-control h4,
.header-control h5,
.header-control h6 {
    letter-spacing: 0.03em;
    line-height: 35px;
}

[dir] .header-control h1, [dir] .header-control h2, [dir] .header-control h3, [dir] .header-control h4, [dir] .header-control h5, [dir] .header-control h6 {
    margin: 0;
}

.header-control.header-control-sm h1,
.header-control.header-control-sm h2,
.header-control.header-control-sm h3,
.header-control.header-control-sm h4,
.header-control.header-control-sm h5,
.header-control.header-control-sm h6 {
    line-height: 30px;
}

.header-control.header-control-xs {
    height: 30px;
}

.header-control.header-control-xs h1,
.header-control.header-control-xs h2,
.header-control.header-control-xs h3,
.header-control.header-control-xs h4,
.header-control.header-control-xs h5,
.header-control.header-control-xs h6 {
    line-height: 20px;
}

/* fix for some pages being built with table structure */
.highlight-row {
    color: #5A5A5A;
}

[dir] .highlight-row.highlight-row-border {
    border-bottom: 1px solid #e5e5e5;
}

html[dir].modernizr-no-touch .highlight-row.selectable:hover {
    cursor: pointer;
}

.highlight-row.inactive {
    color: #ccc;
}

.row.highlight-row {
    height: 40px;
}

/* new way to do highlight */
/* do not highlight on hover if the page is scrolling or if it is a touch device */
html.modernizr-no-touch body.page-not-scrolling .row.highlight-row:hover:before,
.row.highlight-row.selected:before {
    content: "";
    height: inherit;
    position: absolute;
    width: 5px;
    z-index: 10;
}
html[dir].modernizr-no-touch body.page-not-scrolling .row.highlight-row:hover:before, [dir] .row.highlight-row.selected:before {
    background-color: #565656;
}

.row.highlight-row.no-border-highlight:before {
    display: none;
}


/* extra div as a highlight */
.highlight-bar {
    height: 100%;
    width: 5px;
}
[dir] .highlight-bar {
    background-color: transparent;
    padding: 0;
}
[dir=ltr] .highlight-bar {
    float: left;
}
[dir=rtl] .highlight-bar {
    float: right;
}
/* border as a highlight */
[dir=ltr] .highlight-border-left {
    border-left: 5px solid transparent;
}
[dir=rtl] .highlight-border-left {
    border-right: 5px solid transparent;
}

html[dir].modernizr-no-touch body.page-not-scrolling .highlight-row:hover, html[dir].modernizr-no-touch body.page-not-scrolling .highlight-row.hover {
    background-color: #fafafa;
}

.highlight-row.selected {
    color: #333;
}

[dir] .highlight-row.selected {
    background-color: #e9e9e9;
}

.highlight-row.selected.inactive {
    color: #aaa;
}

html[dir].modernizr-no-touch .highlight-row.cursor-pointer:hover {
    cursor: pointer;
}

[dir] .highlight-row:hover .highlight-bar, [dir] .highlight-row.hover .highlight-bar {
    background-color: #B7B7B7;
}

[dir=ltr] .highlight-row:hover .highlight-border-left, [dir=ltr] .highlight-row.hover .highlight-border-left {
    border-left: 5px solid #B7B7B7;
}

[dir=rtl] .highlight-row:hover .highlight-border-left, [dir=rtl] .highlight-row.hover .highlight-border-left {
    border-right: 5px solid #B7B7B7;
}

[dir] .highlight-row.inactive:hover .highlight-bar, [dir] .highlight-row.inactive.hover .highlight-bar {
    background-color: #ccc;
}

[dir=ltr] .highlight-row.inactive:hover .highlight-border-left, [dir=ltr] .highlight-row.inactive.hover .highlight-border-left {
    border-left: 5px solid #ccc;
}

[dir=rtl] .highlight-row.inactive:hover .highlight-border-left, [dir=rtl] .highlight-row.inactive.hover .highlight-border-left {
    border-right: 5px solid #ccc;
}

/*
DEPRECATED
tools on the right
*/
.highlight-row .tool-wrap {
    display: block;
    font-size: 22px;
    height: 24px;
    line-height: 24px;
    width: 34px;
}
[dir] .highlight-row .tool-wrap {
    margin: 0;
    padding: 0 5px 0 5px;
}
[dir=ltr] .highlight-row .tool-wrap {
    float: right;
}
[dir=rtl] .highlight-row .tool-wrap {
    float: left;
}

.highlight-row .tool {
    color: #7f7f7f;
    display: block;
    line-height: 24px;
    width: 24px;
}

[dir] .highlight-row .tool {
    text-align: center;
}

html.modernizr-no-touch .highlight-row a.tool:hover {
    color: #3a3a3a !important;
    font-weight: normal;
    text-decoration: none;
}
/*
END DEPRECATED
*/

/* newer version of the tool - just a link that is display block */
.btn.btn-link-tool {
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    font-size: 20px;
    height: 30px;
    line-height: 20px;
    text-decoration: none !important;
    width: 30px;
}
[dir] .btn.btn-link-tool {
    background-color: transparent;
    box-shadow: none;
    border-color: transparent;
    padding: 5px;
    text-align: center;
}

.btn.btn-link-tool.btn-sm {
    font-size: 16px;
    line-height: 16px;
    height: 26px;
    width: 26px;
}

.btn.btn-link-tool.btn-lg {
    font-size: 24px;
    line-height: 24px;
    height: 36px;
    width: 36px;
}

[dir] .btn.btn-link-tool.btn-lg {
    padding: 6px;
}

.btn.btn-link-tool.btn-link-tool-text {
    width: auto;
}

.header-control-dark .btn.btn-link-tool {
    color: #fff;
}

[dir] .header-control.header-control-xs .btn {
    margin-top: -5px;
}

.btn.btn-link-tool.disabled {
    color: #ccc !important;
}

[dir] .btn.btn-link-tool.disabled:hover {
    background-color: transparent;
    border-color: transparent;
}

[dir] .tools-wrap {
    padding: 0;
}

[dir=ltr] .tools-wrap {
    padding-right: 5px;
    text-align: right;
}

[dir=rtl] .tools-wrap {
    padding-left: 5px;
    text-align: left;
}

.tools-wrap .btn-link-tool.vertical-middle {
    top: 50%;
}

[dir] .tools-wrap .btn-link-tool.vertical-middle {
    margin-top: -18px;
}

/* show them in the center when it is on small device */

/* simulating table structure for rows*/
.row.table-header-row {
    font-weight: bold;
}
[dir] .row.table-header-row {
    border-bottom: 2px solid #dddddd;
}

[dir] .row.table-row {
    border-bottom: 1px solid #dddddd;
}

/*
*  End Row Highlighting
*  ----------------------------------------------
*/

/*
*  ----------------------------------------------
*  UI Rows that open up
*/

.ui-rows .ui-row {
    overflow: hidden;
    position: relative;
}

[dir] .ui-rows .ui-row {
    background-color: #fff;
}

[dir] .ui-rows .ui-row.selected {
    background-color: #E9E9E9;
}

.ui-rows .ui-row .ui-row-content {
    height: 100%;
    /* give it a bit more padding so that we can go all the way to the edge without going over the arrow */
    position: absolute;
    top: 0;
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    -webkit-transform: translateX(0);
    z-index: 5;
}

[dir] .ui-rows .ui-row .ui-row-content {
    background-color: inherit;
    transform: translateX(0);
}

[dir=ltr] .ui-rows .ui-row .ui-row-content {
    left: 0;
    padding-right: 25px;
}

[dir=rtl] .ui-rows .ui-row .ui-row-content {
    right: 0;
    padding-left: 25px;
}

.ui-rows .ui-row .ui-row-arrow-handle {
    display: none;
    height: 100%;
    position: absolute;
    top: 0;
    width: 30px;
    z-index: 6;
}

[dir=ltr] .ui-rows .ui-row .ui-row-arrow-handle {
    right: 0;
}

[dir=rtl] .ui-rows .ui-row .ui-row-arrow-handle {
    left: 0;
}

[dir] .ui-rows .ui-row .ui-row-arrow-handle:hover {
    cursor: pointer;
}

.ui-rows .ui-row .ui-row-arrow-handle:after {
    content: "\e601";
    font-family: "ADCFont";
    height: 30px;
    position: absolute;
    width: 20px;
    font-size: 26px;
    top: 50%;
    line-height: 30px;
}

[dir] .ui-rows .ui-row .ui-row-arrow-handle:after {
    margin-top: -15px;
}

[dir=ltr] .ui-rows .ui-row .ui-row-arrow-handle:after {
    right: 7px;
}

[dir=rtl] .ui-rows .ui-row .ui-row-arrow-handle:after {
    left: 7px;
}

.ui-rows .ui-row .ui-row-content > .row {
    height: 100%;
}

.ui-rows .ui-row .ui-row-tools {
    height: 100%;
    position: absolute;
    width: auto;
    z-index: 3;
}

[dir] .ui-rows .ui-row .ui-row-tools {
    padding: 0;
}

[dir=ltr] .ui-rows .ui-row .ui-row-tools {
    right: 0;
    text-align: right;
}

[dir=rtl] .ui-rows .ui-row .ui-row-tools {
    left: 0;
    text-align: left;
}

.ui-rows .ui-row .ui-row-tools .btn-tool-wrap {
    height: 100%;
    position: relative;
    width: 35px;
}

[dir=ltr] .ui-rows .ui-row .ui-row-tools .btn-tool-wrap {
    float: right;
}

[dir=rtl] .ui-rows .ui-row .ui-row-tools .btn-tool-wrap {
    float: left;
}

.ui-rows .ui-row .ui-row-tools .btn-link-tool {
    position: absolute;
    top: 50%;
}

[dir] .ui-rows .ui-row .ui-row-tools .btn-link-tool {
    border-radius: 0;
    margin: -15px 0 0 0;
}

[dir=ltr] .ui-rows .ui-row .ui-row-tools .btn-link-tool {
    right: 5px;
}

[dir=rtl] .ui-rows .ui-row .ui-row-tools .btn-link-tool {
    left: 5px;
}

/* if there are no tools, then do not allow moving */
.ui-rows .ui-row.no-tools .ui-row-content {
    -moz-transform: translateX(0) !important;
    -ms-transform: translateX(0) !important;
    -o-transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
}
[dir] .ui-rows .ui-row.no-tools .ui-row-content {
    transform: translateX(0) !important;
}
[dir=ltr] .ui-rows .ui-row.no-tools .ui-row-content {
    left: 0 !important;
}
[dir=rtl] .ui-rows .ui-row.no-tools .ui-row-content {
    right: 0 !important;
}

/* handle tool wrap for a switch toggel */
.ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-switch-toggle .switch.modern {
    position: absolute;
    top: 50%;
}
[dir] .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-switch-toggle .switch.modern {
    margin-top: -12.5px;
}
[dir=ltr] .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-switch-toggle .switch.modern {
    left: 50%;
    margin-left: -22.5px;
}
[dir=rtl] .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-switch-toggle .switch.modern {
    right: 50%;
    margin-right: -22.5px;
}

@media (min-width: 992px) {
    /* force left and translate so that there are no issue when screen size changes */
    .ui-rows .ui-row .ui-row-content {
        -moz-transform: translateX(0) !important;
        -ms-transform: translateX(0) !important;
        -o-transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        /* revert to normal padding */
    }
    [dir] .ui-rows .ui-row .ui-row-content {
        transform: translateX(0) !important;
    }
    [dir=ltr] .ui-rows .ui-row .ui-row-content {
        left: 0 !important;
        padding-right: 10px;
    }
    [dir=rtl] .ui-rows .ui-row .ui-row-content {
        right: 0 !important;
        padding-left: 10px;
    }

    /* for switch tool here, we wan to make the width longer */
    .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-switch-toggle {
        width: 60px;
    }
}

/* fake responsive overrride */
@media (min-width: 860px) {
    /* force left and translate so that there are no issue when screen size changes */
    .responsive-page-legacy .ui-rows .ui-row .ui-row-content {
        -moz-transform: translateX(0) !important;
        -ms-transform: translateX(0) !important;
        -o-transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        /* revert to normal padding */
    }
    [dir] .responsive-page-legacy .ui-rows .ui-row .ui-row-content {
        transform: translateX(0) !important;
    }
    [dir=ltr] .responsive-page-legacy .ui-rows .ui-row .ui-row-content {
        left: 0 !important;
        padding-right: 10px;
    }
    [dir=rtl] .responsive-page-legacy .ui-rows .ui-row .ui-row-content {
        right: 0 !important;
        padding-left: 10px;
    }

    /* for switch tool here, we wan to make the width longer */
    .responsive-page-legacy .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-switch-toggle {
        width: 60px;
    }
}

/* 991px originally */
/*
*  this is really stupid, but basically have to duplicate this information because of different uis
*  the old ui should go up to 859, whereas the new one to 991px
*  so first to up to 859, then another one that goes from that to 991 but only where it is container responsive
*/
@media (max-width: 859px) {
    .ui-rows .ui-row .ui-row-content {
        width: 100% !important;
    }

    .ui-rows .ui-row .ui-row-arrow-handle {
        display: block;
    }

    .ui-rows .ui-row.no-tools .ui-row-arrow-handle {
        display: none;
    }

    .ui-rows .ui-row .ui-row-content.show-tools .ui-row-arrow-handle:after {
        content: "\e65a";
    }

    /* define transitions */
    html[dir=ltr].modernizr-no-csstransforms3d .ui-rows .ui-row .ui-row-content {
        transition: left 0.25s ease-out;
    }
    html[dir=rtl].modernizr-no-csstransforms3d .ui-rows .ui-row .ui-row-content {
        transition: right 0.25s ease-out;
    }

    html.modernizr-csstransforms3d .ui-rows .ui-row .ui-row-content {
        transition: transform 0.25s ease-out;
    }

    html[dir].modernizr-csstransforms3d .ui-rows .ui-row .ui-row-content {
        -webkit-transition: -webkit-transform 0.25s ease-out;
    }

    .ui-rows .ui-row .ui-row-tools {
        -webkit-box-shadow: inset 0 2px 10px 0px #444;
        -ms-box-shadow: inset 0 2px 10px 0px #444;
        width: auto;
    }

    [dir] .ui-rows .ui-row .ui-row-tools {
        background-color: #555;
        box-shadow: inset 0 2px 10px 0px #444;
    }

    .ui-rows .ui-row .ui-row-tools .btn-tool-wrap {
        width: 60px;
    }

    .ui-rows .ui-row .ui-row-tools .btn-tool-wrap .btn-link-tool {
        color: #eaeaea !important;
        font-size: 28px;
    }

    html[dir].modernizr-no-touch .ui-rows .ui-row .ui-row-tools .btn-tool-wrap .btn-link-tool:hover {
        background-color: #333;
    }
    /* float the delete to the left most part */
    [dir=ltr] .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-delete {
        float: left;
    }
    [dir=rtl] .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-delete {
        float: right;
    }

    .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-delete .btn-link-tool {
        color: #DB6963 !important;
    }

    .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-undo .btn-link-tool {
        color: #419E6E !important;
    }

    .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-edit .btn-link-tool {
        font-size: 24px;
    }

    .ui-rows .ui-row .ui-row-tools .btn-link-tool {
        height: 100%;
        width: 100%;
        top: 0;
        position: relative;
    }

    [dir] .ui-rows .ui-row .ui-row-tools .btn-link-tool {
        margin: 0;
    }

    [dir=ltr] .ui-rows .ui-row .ui-row-tools .btn-link-tool {
        left: 0;
    }

    [dir=rtl] .ui-rows .ui-row .ui-row-tools .btn-link-tool {
        right: 0;
    }

    .ui-rows .ui-row .ui-row-tools .btn-link-tool i {
        display: inline-block;
        height: 30px;
        line-height: 30px;
        width: 30px;
        position: absolute;
        top: 50%;
    }

    [dir] .ui-rows .ui-row .ui-row-tools .btn-link-tool i {
        text-align: center;
    }

    [dir=ltr] .ui-rows .ui-row .ui-row-tools .btn-link-tool i {
        left: 50%;
        margin: -15px 0 0 -15px;
    }

    [dir=rtl] .ui-rows .ui-row .ui-row-tools .btn-link-tool i {
        right: 50%;
        margin: -15px -15px 0 0;
    }
}

/* additional pixels for the new ui so that it matches up well */
@media (min-width: 859px) and (max-width: 991px) {
    .container.responsive .ui-rows .ui-row .ui-row-content {
        width: 100%;
    }

    .container.responsive .ui-rows .ui-row .ui-row-arrow-handle {
        display: block;
    }

    .container.responsive .ui-rows .ui-row.no-tools .ui-row-arrow-handle {
        display: none;
    }

    .container.responsive .ui-rows .ui-row .ui-row-content.show-tools .ui-row-arrow-handle:after {
        content: "\e65a";
    }

    /* define transitions */
    html[dir=ltr].modernizr-no-csstransforms3d .container.responsive .ui-rows .ui-row .ui-row-content {
        transition: left 0.25s ease-out;
    }
    html[dir=rtl].modernizr-no-csstransforms3d .container.responsive .ui-rows .ui-row .ui-row-content {
        transition: right 0.25s ease-out;
    }

    html.modernizr-csstransforms3d .container.responsive .ui-rows .ui-row .ui-row-content {
        transition: transform 0.25s ease-out;
    }

    html[dir].modernizr-csstransforms3d .container.responsive .ui-rows .ui-row .ui-row-content {
        -webkit-transition: -webkit-transform 0.25s ease-out;
    }

    .container.responsive .ui-rows .ui-row .ui-row-tools {
        -webkit-box-shadow: inset 0 2px 10px 0px #444;
        -ms-box-shadow: inset 0 2px 10px 0px #444;
        width: auto;
    }

    [dir] .container.responsive .ui-rows .ui-row .ui-row-tools {
        background-color: #555;
        box-shadow: inset 0 2px 10px 0px #444;
    }

    .container.responsive .ui-rows .ui-row .ui-row-tools .btn-tool-wrap {
        width: 60px;
    }

    .container.responsive .ui-rows .ui-row .ui-row-tools .btn-tool-wrap .btn-link-tool {
        color: #eaeaea !important;
        font-size: 28px;
    }

    html[dir].modernizr-no-touch .container.responsive .ui-rows .ui-row .ui-row-tools .btn-tool-wrap .btn-link-tool:hover {
        background-color: #333;
    }
    /* float the delete to the left most part */
    [dir=ltr] .container.responsive .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-delete {
        float: left;
    }
    [dir=rtl] .container.responsive .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-delete {
        float: right;
    }

    .container.responsive .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-delete .btn-link-tool {
        color: #DB6963 !important;
    }

    .container.responsive .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-undo .btn-link-tool {
        color: #419E6E !important;
    }

    .container.responsive .ui-rows .ui-row .ui-row-tools .btn-tool-wrap.tool-edit .btn-link-tool {
        font-size: 24px;
    }

    .container.responsive .ui-rows .ui-row .ui-row-tools .btn-link-tool {
        height: 100%;
        width: 100%;
        top: 0;
        position: relative;
    }

    [dir] .container.responsive .ui-rows .ui-row .ui-row-tools .btn-link-tool {
        margin: 0;
    }

    [dir=ltr] .container.responsive .ui-rows .ui-row .ui-row-tools .btn-link-tool {
        left: 0;
    }

    [dir=rtl] .container.responsive .ui-rows .ui-row .ui-row-tools .btn-link-tool {
        right: 0;
    }

    .container.responsive .ui-rows .ui-row .ui-row-tools .btn-link-tool i {
        display: inline-block;
        height: 30px;
        line-height: 30px;
        width: 30px;
        position: absolute;
        top: 50%;
    }

    [dir] .container.responsive .ui-rows .ui-row .ui-row-tools .btn-link-tool i {
        text-align: center;
    }

    [dir=ltr] .container.responsive .ui-rows .ui-row .ui-row-tools .btn-link-tool i {
        left: 50%;
        margin: -15px 0 0 -15px;
    }

    [dir=rtl] .container.responsive .ui-rows .ui-row .ui-row-tools .btn-link-tool i {
        right: 50%;
        margin: -15px -15px 0 0;
    }
}
/*
*  END UI Rows
*  ----------------------------------------------
*/

/*
*  ----------------------------------------------
*  Fake responsive for legacy
*/
/* responsive stuff for the inside content */
#content_container .responsive-page-legacy {
    position: relative;
    width: 100%;
}


@media (max-width: 330px) {
    body.responsive-page #content_container .responsive-page-legacy {
        max-width: 300px;
    }
}

@media (max-width: 479px) {
    body.responsive-page #content_container .responsive-page-legacy {
        max-width: 370px;
    }
}

@media (min-width: 480px) {
    body.responsive-page #content_container .responsive-page-legacy {
        width: 440px;
    }
}

@media (min-width: 620px) {
    body.responsive-page #content_container .responsive-page-legacy {
        width: 580px;
    }
}

@media (min-width: 720px) {
    body.responsive-page #content_container .responsive-page-legacy {
        width: 690px;
    }
}

@media (min-width: 768px) {
    body.responsive-page #content_container .responsive-page-legacy {
        width: 730px;
    }

    body.responsive-page.responsive-centered #content_container .responsive-page-legacy {
        width: 660px;
    }

    body.responsive-page.responsive-centered .main .main_box_noshadow {
        width: 780px;
    }

    body.responsive-page.responsive-centered .main .top_content {
        width: 715px;
    }

    [dir=ltr] body.responsive-page.responsive-centered .main .top_content {
        margin-left: 52.5px;
    }

    [dir=rtl] body.responsive-page.responsive-centered .main .top_content {
        margin-right: 52.5px;
    }
}

@media (min-width: 785px) {
    body.responsive-page.responsive-centered .main .main_box_noshadow {
        width: 755px;
    }

    body.responsive-page.responsive-centered .main .top_content {
        width: 727.5px;
    }
}

@media (min-width: 810px) {
    body.responsive-page.responsive-centered .main .main_box_noshadow {
        width: 730px;
    }

    body.responsive-page.responsive-centered .main .top_content {
        width: 740px;
    }
}

@media (min-width: 835px) {
    body.responsive-page.responsive-centered .main .main_box_noshadow {
        width: 705px;
    }

    body.responsive-page.responsive-centered .main .top_content {
        /*width:705px;*/
        width: 752.5px;
    }
}

@media (min-width: 860px) {
    body.responsive-page #content_container .responsive-page-legacy {
        width: 100%;
    }

    body.responsive-page.responsive-centered .main .main_box_noshadow {
        width: 660px;
    }

    body.responsive-page.responsive-centered .main .top_content {
        width: 775px;
    }
}

@media (min-width: 1920px) {
    body.responsive-page.responsive-centered .main .main_box_noshadow {
        width: 672px;
    }

    body.responsive-page.responsive-centered #content_container .responsive-page-legacy {
        width: 672px;
    }
}



/*
*  Fake responsive for legacy
*  ----------------------------------------------
*/

/*
*  ----------------------------------------------
*  Checkboxes and radios
*/
/* styling of checkboxes and radio buttons; works in webkit, ff, ie9+
by using modernizr classes we can style these just for the modern browsers which makes it easier on the older ones
styling for checkbox directly */
.modernizr-borderradius .input-checkbox-alt {
    -ms-opacity: 0;
    opacity: 0;
    position: absolute;
    z-index: 5;
}

[dir] .modernizr-borderradius .input-checkbox-alt:hover {
    cursor: pointer;
}

.modernizr-borderradius .input-checkbox-alt + label {
    display: inline;
}

[dir] .modernizr-borderradius .input-checkbox-alt + label {
    cursor: pointer;
}

[dir=ltr] .modernizr-borderradius .input-checkbox-alt + label {
    margin-left: 23px;
}

[dir=rtl] .modernizr-borderradius .input-checkbox-alt + label {
    margin-right: 23px;
}

.modernizr-borderradius .input-checkbox-alt + label:before {
    content: "\f096";
    display: inline-block;
    font: 17px/1em FontAwesome;
    vertical-align: middle;
    width: 1.4em;
}

[dir] .modernizr-borderradius .input-checkbox-alt + label:before {
    cursor: pointer;
}

[dir=ltr] .modernizr-borderradius .input-checkbox-alt + label:before {
    margin-left: -23px;
    padding-right: 4px;
}

[dir=rtl] .modernizr-borderradius .input-checkbox-alt + label:before {
    margin-right: -23px;
    padding-left: 4px;
}

[dir] .modernizr-borderradius .input-checkbox-alt + label:before:hover {
    cursor: pointer;
}

.modernizr-borderradius .input-checkbox-alt:checked + label {
    color: #333;
}

.modernizr-borderradius .input-checkbox-alt:checked + label:before {
    content: "\f046";
}
/* styling for inside of span */
.modernizr-borderradius span.style-checkbox input[type=checkbox],
.modernizr-borderradius span.style-checkbox input[type=radio] {
    -ms-opacity: 0;
    opacity: 0;
    position: absolute;
    z-index: 5;
}

[dir] .modernizr-borderradius span.style-checkbox input[type=checkbox]:hover, [dir] .modernizr-borderradius span.style-checkbox input[type=radio]:hover {
    cursor: pointer;
}

[dir] .modernizr-borderradius span.style-checkbox input[type=checkbox]:hover:disabled, [dir] .modernizr-borderradius span.style-checkbox input[type=radio]:hover:disabled {
    cursor: not-allowed;
}

.modernizr-borderradius span.style-checkbox input[type=checkbox] + label,
.modernizr-borderradius span.style-checkbox input[type=radio] + label {
    display: inline;
}

[dir] .modernizr-borderradius span.style-checkbox input[type=checkbox] + label, [dir] .modernizr-borderradius span.style-checkbox input[type=radio] + label {
    cursor: pointer;
}

[dir=ltr] .modernizr-borderradius span.style-checkbox input[type=checkbox] + label, [dir=ltr] .modernizr-borderradius span.style-checkbox input[type=radio] + label {
    margin-left: 23px;
}

[dir=rtl] .modernizr-borderradius span.style-checkbox input[type=checkbox] + label, [dir=rtl] .modernizr-borderradius span.style-checkbox input[type=radio] + label {
    margin-right: 23px;
}

[dir] .modernizr-borderradius span.style-checkbox input[type=checkbox]:disabled + label, [dir] .modernizr-borderradius span.style-checkbox input[type=radio]:disabled + label {
    cursor: not-allowed;
}

.modernizr-borderradius span.style-checkbox input[type=checkbox] + label:before,
.modernizr-borderradius span.style-checkbox input[type=radio] + label:before {
    content: "\f096";
    font: 17px/1em FontAwesome;
    vertical-align: middle;
    display: inline-block;
    width: 1.28571429em;
}

[dir] .modernizr-borderradius span.style-checkbox input[type=checkbox] + label:before, [dir] .modernizr-borderradius span.style-checkbox input[type=radio] + label:before {
    cursor: pointer;
}

[dir=ltr] .modernizr-borderradius span.style-checkbox input[type=checkbox] + label:before, [dir=ltr] .modernizr-borderradius span.style-checkbox input[type=radio] + label:before {
    margin-left: -23px;
    padding-right: 6px;
}

[dir=rtl] .modernizr-borderradius span.style-checkbox input[type=checkbox] + label:before, [dir=rtl] .modernizr-borderradius span.style-checkbox input[type=radio] + label:before {
    margin-right: -23px;
    padding-left: 6px;
}

.modernizr-borderradius span.style-checkbox input[type=checkbox]:disabled + label:before,
.modernizr-borderradius span.style-checkbox input[type=radio]:disabled + label:before {
    color: #aaa;
}

[dir] .modernizr-borderradius span.style-checkbox input[type=checkbox]:disabled + label:before, [dir] .modernizr-borderradius span.style-checkbox input[type=radio]:disabled + label:before {
    cursor: not-allowed;
}

[dir=ltr] .modernizr-borderradius span.style-checkbox input[type=checkbox]:checked + label:before, [dir=ltr] .modernizr-borderradius span.style-checkbox input[type=radio]:checked + label:before {
    padding-right: 3px;
}

[dir=rtl] .modernizr-borderradius span.style-checkbox input[type=checkbox]:checked + label:before, [dir=rtl] .modernizr-borderradius span.style-checkbox input[type=radio]:checked + label:before {
    padding-left: 3px;
}

[dir] .modernizr-borderradius span.style-checkbox input[type=checkbox] + label:before:hover, [dir] .modernizr-borderradius span.style-checkbox input[type=radio] + label:before:hover {
    cursor: pointer;
}

[dir] .modernizr-borderradius span.style-checkbox input[type=checkbox]:disabled + label:before:hover, [dir] .modernizr-borderradius span.style-checkbox input[type=radio]:disabled + label:before:hover {
    cursor: not-allowed;
}

.modernizr-borderradius span.style-checkbox input[type=checkbox]:checked + label,
.modernizr-borderradius span.style-checkbox input[type=radio]:checked + label {
    color: #333;
}

.modernizr-borderradius .inactive span.style-checkbox input[type=checkbox]:checked + label,
.modernizr-borderradius .inactive span.style-checkbox input[type=radio]:checked + label {
    color: inherit;
}

.modernizr-borderradius span.style-checkbox input[type=checkbox]:checked + label:before,
.modernizr-borderradius span.style-checkbox input[type=radio]:checked + label:before {
    content: "\f046";
}

[dir] .modernizr-borderradius span.style-checkbox.disabled-checkbox input[type=checkbox], [dir] .modernizr-borderradius span.style-checkbox.disabled-checkbox input[type=checkbox] + label {
    cursor: default;
}

/*
*  End Checkboxes and radios
*  ----------------------------------------------
*/

/*
*  ----------------------------------------------
*  Invisible Addons - Inputs with icons inside them (without having to do input-group)
*/
.input-invisible-addon {
    position: relative;
}

.input-invisible-addon .input-invisible-pre,
.input-invisible-addon .input-invisible-post {
    color: #999;
    font-size: 16px;
    height: 16px;
    line-height: 16px;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 16px;
}

[dir] .input-invisible-addon .input-invisible-pre, [dir] .input-invisible-addon .input-invisible-post {
    margin-top: -8px;
}

.input-invisible-addon .input-invisible-pre i,
.input-invisible-addon .input-invisible-post i {
    width: inherit;
    height: inherit;
    display: inherit;
    line-height: inherit;
}

[dir=ltr] .input-invisible-addon .input-invisible-pre {
    left: 5px;
}

[dir=rtl] .input-invisible-addon .input-invisible-pre {
    right: 5px;
}

[dir=ltr] .input-invisible-addon .input-invisible-post {
    right: 5px;
}

[dir=rtl] .input-invisible-addon .input-invisible-post {
    left: 5px;
}

.input-invisible-addon input,
.input-invisible-addon select {
    position: relative;
    top: 0;
    z-index: 1;
}

[dir=ltr] .input-invisible-addon input, [dir=ltr] .input-invisible-addon select {
    left: 0;
}

[dir=rtl] .input-invisible-addon input, [dir=rtl] .input-invisible-addon select {
    right: 0;
}

[dir=ltr] .input-invisible-addon.pre input, [dir=ltr] .input-invisible-addon.pre select {
    padding-left: 23px;
}

[dir=rtl] .input-invisible-addon.pre input, [dir=rtl] .input-invisible-addon.pre select {
    padding-right: 23px;
}

[dir=ltr] .input-invisible-addon.post input, [dir=ltr] .input-invisible-addon.post select {
    padding-right: 23px;
}

[dir=rtl] .input-invisible-addon.post input, [dir=rtl] .input-invisible-addon.post select {
    padding-left: 23px;
}

/* different sizes */
/* small */
.input-invisible-addon.input-invisible-sm input,
.input-invisible-addon.input-invisible-sm select,
.input-group-sm > .input-invisible-addon input,
.input-group-sm > .input-invisible-addon select {
    height: 30px;
    font-size: 12px;
    line-height: 1.5;
    -ms-border-radius: 3px;
}
[dir] .input-invisible-addon.input-invisible-sm input, [dir] .input-invisible-addon.input-invisible-sm select, [dir] .input-group-sm > .input-invisible-addon input, [dir] .input-group-sm > .input-invisible-addon select {
    padding: 5px 10px;
    border-radius: 3px;
}

.input-invisible-addon.input-invisible-sm .input-invisible-pre,
.input-group-sm > .input-invisible-addon .input-invisible-pre,
.input-invisible-addon.input-invisible-sm .input-invisible-post,
.input-group-sm > .input-invisible-addon .input-invisible-post {
    font-size: 14px;
    height: 14px;
    width: 14px;
}

[dir] .input-invisible-addon.input-invisible-sm .input-invisible-pre, [dir] .input-group-sm > .input-invisible-addon .input-invisible-pre, [dir] .input-invisible-addon.input-invisible-sm .input-invisible-post, [dir] .input-group-sm > .input-invisible-addon .input-invisible-post {
    margin-top: -8px;
}

[dir=ltr] .input-invisible-addon.input-invisible-sm.pre input, [dir=ltr] .input-invisible-addon.input-invisible-sm.pre select, [dir=ltr] .input-group-sm > .input-invisible-addon.pre input, [dir=ltr] .input-group-sm > .input-invisible-addon.pre select {
    padding-left: 21px;
}

[dir=rtl] .input-invisible-addon.input-invisible-sm.pre input, [dir=rtl] .input-invisible-addon.input-invisible-sm.pre select, [dir=rtl] .input-group-sm > .input-invisible-addon.pre input, [dir=rtl] .input-group-sm > .input-invisible-addon.pre select {
    padding-right: 21px;
}

[dir=ltr] .input-invisible-addon.input-invisible-sm.post input, [dir=ltr] .input-invisible-addon.input-invisible-sm.post select, [dir=ltr] .input-group-sm > .input-invisible-addon.post input, [dir=ltr] .input-group-sm > .input-invisible-addon.post select {
    padding-right: 21px;
}

[dir=rtl] .input-invisible-addon.input-invisible-sm.post input, [dir=rtl] .input-invisible-addon.input-invisible-sm.post select, [dir=rtl] .input-group-sm > .input-invisible-addon.post input, [dir=rtl] .input-group-sm > .input-invisible-addon.post select {
    padding-left: 21px;
}

/* large */
.input-invisible-addon.input-invisible-lg input,
.input-invisible-addon.input-invisible-lg select,
.input-group-lg > .input-invisible-addon input,
.input-group-lg > .input-invisible-addon select {
    height: 46px;
    font-size: 18px;
    line-height: 1.33;
    -ms-border-radius: 5px;
}
[dir] .input-invisible-addon.input-invisible-lg input, [dir] .input-invisible-addon.input-invisible-lg select, [dir] .input-group-lg > .input-invisible-addon input, [dir] .input-group-lg > .input-invisible-addon select {
    padding: 10px 16px;
    border-radius: 5px;
}

.input-invisible-addon.input-invisible-lg .input-invisible-pre,
.input-group-lg > .input-invisible-addon .input-invisible-pre,
.input-invisible-addon.input-invisible-lg .input-invisible-post,
.input-group-lg > .input-invisible-addon .input-invisible-post {
    font-size: 20px;
    height: 20px;
    width: 20px;
}

[dir] .input-invisible-addon.input-invisible-lg .input-invisible-pre, [dir] .input-group-lg > .input-invisible-addon .input-invisible-pre, [dir] .input-invisible-addon.input-invisible-lg .input-invisible-post, [dir] .input-group-lg > .input-invisible-addon .input-invisible-post {
    margin-top: -10px;
}

[dir=ltr] .input-invisible-addon.input-invisible-lg.pre input, [dir=ltr] .input-invisible-addon.input-invisible-lg.pre select, [dir=ltr] .input-group-lg > .input-invisible-addon.pre input, [dir=ltr] .input-group-lg > .input-invisible-addon.pre select {
    padding-left: 27px;
}

[dir=rtl] .input-invisible-addon.input-invisible-lg.pre input, [dir=rtl] .input-invisible-addon.input-invisible-lg.pre select, [dir=rtl] .input-group-lg > .input-invisible-addon.pre input, [dir=rtl] .input-group-lg > .input-invisible-addon.pre select {
    padding-right: 27px;
}

[dir=ltr] .input-invisible-addon.input-invisible-lg.post input, [dir=ltr] .input-invisible-addon.input-invisible-lg.post select, [dir=ltr] .input-group-lg > .input-invisible-addon.post input, [dir=ltr] .input-group-lg > .input-invisible-addon.post select {
    padding-right: 27px;
}

[dir=rtl] .input-invisible-addon.input-invisible-lg.post input, [dir=rtl] .input-invisible-addon.input-invisible-lg.post select, [dir=rtl] .input-group-lg > .input-invisible-addon.post input, [dir=rtl] .input-group-lg > .input-invisible-addon.post select {
    padding-left: 27px;
}

/* border radius for using with input-group
.first gives it left border-radius
.right gives it right border-radius
*/
[dir=ltr] .input-group .input-invisible-addon .form-control.first {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
[dir=rtl] .input-group .input-invisible-addon .form-control.first {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

[dir=ltr] .input-group .input-invisible-addon .form-control.last {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

[dir=rtl] .input-group .input-invisible-addon .form-control.last {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

[dir=ltr] .input-group.input-group-lg .input-invisible-addon .form-control.first {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

[dir=rtl] .input-group.input-group-lg .input-invisible-addon .form-control.first {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

[dir=ltr] .input-group.input-group-lg .input-invisible-addon .form-control.last {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

[dir=rtl] .input-group.input-group-lg .input-invisible-addon .form-control.last {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

[dir=ltr] .input-group .input-invisible-addon input.first:not(.last) {
    border-right: none;
}

[dir=rtl] .input-group .input-invisible-addon input.first:not(.last) {
    border-left: none;
}

[dir=ltr] .input-group .input-invisible-addon input.last:not(.first) {
    border-left: none;
}

[dir=rtl] .input-group .input-invisible-addon input.last:not(.first) {
    border-right: none;
}
/*
*  Invisible Addons - Inputs with icons inside them (without having to do input-group)
*  ----------------------------------------------
*/


/*
*  ----------------------------------------------
*  CSS3 Flip
*/
.flip-container {
    -ms-perspective: 1000;
    -o-perspective: 1000;
    perspective: 1000;
    transform-style: preserve-3d;
    -moz-transform: perspective(1000px);
    -webkit-transform: perspective(1000px);
    -ms-transform: perspective(1000px);
    -o-transform: perspective(1000px);
    height: 100%;
    position: relative;
}
[dir] .flip-container {
    transform: perspective(1000px);
}

.flip-container .flip-front,
.flip-container .flip-back {
    backface-visibility: hidden;
    -webkit-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-in;
    -ms-transition-timing-function: ease-in;
    -moz-transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
    transform-style: preserve-3d;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

[dir] .flip-container .flip-front, [dir] .flip-container .flip-back {
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
}

[dir=ltr] .flip-container .flip-front, [dir=ltr] .flip-container .flip-back {
    left: 0;
}

[dir=rtl] .flip-container .flip-front, [dir=rtl] .flip-container .flip-back {
    right: 0;
}

.flip-container .flip-front {
    z-index: 2;
}

[dir=ltr] .flip-container.flip-vertical {
    transform-origin: 100% 50%;
}

[dir=rtl] .flip-container.flip-vertical {
    transform-origin: 0% 50%;
}

/* define flips for different types of flips */
/* horizontal */
/* for horizontal we also need half the height for origin */
.flip-container.flip-horizontal .flip-front {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
}
[dir] .flip-container.flip-horizontal .flip-front {
    transform: rotateY(0deg);
}

[dir=ltr] .flip-container.flip-horizontal .flip-back {
    transform: rotateY(-180deg);
}

[dir=rtl] .flip-container.flip-horizontal .flip-back {
    transform: rotateY(180deg);
}

/* vertical */
.flip-container.flip-vertical .flip-front {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
}
[dir] .flip-container.flip-vertical .flip-front {
    transform: rotateX(0deg);
}

.flip-container.flip-vertical .flip-back {
    -webkit-transform: rotateX(-180deg);
    -moz-transform: rotateX(-180deg);
    -o-transform: rotateX(-180deg);
    -ms-transform: rotateX(-180deg);
}

[dir] .flip-container.flip-vertical .flip-back {
    transform: rotateX(-180deg);
}

/* define flipping */
/* hotizontal */
[dir=ltr] .flip-container.flip-horizontal.flip-to-back .flip-front {
    transform: rotateY(180deg);
}
[dir=rtl] .flip-container.flip-horizontal.flip-to-back .flip-front {
    transform: rotateY(-180deg);
}

.flip-container.flip-horizontal.flip-to-back .flip-back {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
}

[dir] .flip-container.flip-horizontal.flip-to-back .flip-back {
    transform: rotateY(0deg);
}

/* vertical */
.flip-container.flip-vertical.flip-to-back .flip-front {
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
}
[dir] .flip-container.flip-vertical.flip-to-back .flip-front {
    transform: rotateX(180deg);
}

.flip-container.flip-vertical.flip-to-back .flip-back {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
}

[dir] .flip-container.flip-vertical.flip-to-back .flip-back {
    transform: rotateX(0deg);
}

/* old browsers just show and hide */
html.modernizr-no-csstransforms3d .flip-container .flip-back {
    display: none !important;
}

html.modernizr-no-csstransforms3d .flip-container.flip-to-back .flip-front {
    display: none;
}

html.modernizr-no-csstransforms3d .flip-container.flip-to-back .flip-back {
    display: block !important;
}

html.modernizr-no-csstransforms3d .flip-container.flip-to-back .flip-back.vertical-middle-outer {
    display: table !important;
}

html.modernizr-no-csstransforms3d .flip-container.flip-to-back .flip-back.vertical-middle-inner {
    display: table-cell !important;
}
/*
*  CSS3 Flip
*  ----------------------------------------------
*/

/*
*  ----------------------------------------------
*  Slide Control
*/
.slide-control {
    overflow: hidden;
    position: relative;
    /*width: 100%;*/
    transition: height 300ms ease-out;
}
[dir] .slide-control {
    margin: 0 -10px;
    -webkit-transition: height 300ms ease-out;
}

.slide-element {
    position: absolute;
    transition: all 400ms ease-out;
    width: 100%;
}

[dir] .slide-element {
    background-color: #fff;
    -webkit-transition: all 400ms ease-out;
    padding: 0 10px;
}

.modernizr-csstransforms3d .slide-element.slide-current {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-opacity: 1;
    opacity: 1;
}

[dir] .modernizr-csstransforms3d .slide-element.slide-current {
    transform: translateX(0%);
}

.modernizr-csstransforms3d .slide-element.slide-next {
    -ms-opacity: 1;
    opacity: 1;
}

[dir=ltr] .modernizr-csstransforms3d .slide-element.slide-next {
    transform: translateX(105%);
}

[dir=rtl] .modernizr-csstransforms3d .slide-element.slide-next {
    transform: translateX(-105%);
}

.modernizr-csstransforms3d .slide-element.slide-previous {
    -ms-opacity: 0.4;
    opacity: 0.4;
    -moz-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}

[dir=ltr] .modernizr-csstransforms3d .slide-element.slide-previous {
    transform: translateX(-10%);
}

[dir=rtl] .modernizr-csstransforms3d .slide-element.slide-previous {
    transform: translateX(10%);
}

/* old browsers - we could probably do better here and animate left for browsers that have at least transitions */
.modernizr-no-csstransforms3d .slide-element.slide-current {
    display: block;
}

.modernizr-no-csstransforms3d .slide-element.slide-next {
    display: none;
}

.modernizr-no-csstransforms3d .slide-element.slide-previous {
    display: none;
}
/*
*  Slide Control
*  ----------------------------------------------
*/

/*
*  Page Call to action warning
*  ----------------------------------------------
*/
.alert-page-action .alert-page-action-text {
    font-size: 14px;
    line-height: 20px;
    /*padding-top: 5px;*/
}

[dir=ltr] .alert-page-action .alert-page-action-buttons {
    text-align: right;
}

[dir=rtl] .alert-page-action .alert-page-action-buttons {
    text-align: left;
}

@media (max-width: 767px) {
    [dir] .alert-page-action .alert-page-action-text {
        padding-top: 0;
    }

    [dir] .alert-page-action .alert-page-action-buttons {
        margin-top: 10px;
    }

    [dir=ltr] .alert-page-action .alert-page-action-buttons {
        text-align: left;
    }

    [dir=rtl] .alert-page-action .alert-page-action-buttons {
        text-align: right;
    }
}

/*
*  Page Call to action warning
*  ----------------------------------------------
*/


/*
*  ----------------------------------------------
*  Status Enabled Disabled Indicator
*/
.status-enabled-disabled-control {
    /*color: #F29E63;*/
    color: #337147;
    display: inline-block;
    vertical-align: text-bottom;
    width: 20px;
}
[dir] .status-enabled-disabled-control {
    text-align: center;
}

.status-enabled-disabled-control i {
    display: none;
    font-size: 14px !important;
    line-height: inherit;
}

.status-enabled-disabled-control.status-enabled i.status-enabled,
.status-enabled-disabled-control.status-partial i.status-partial,
.status-enabled-disabled-control.status-disabled i.status-disabled,
.status-enabled-disabled-control.status-warning i.status-warning,
.status-enabled-disabled-control.status-pending i.status-pending,
.status-enabled-disabled-control.status-scheduled i.status-scheduled,
.status-enabled-disabled-control.status-expiring i.status-expiring {
    display: inline-block;
}

.status-enabled-disabled-control.status-disabled {
    color: #aaa;
}

.status-enabled-disabled-control.status-warning i {
    color: #DB6963 !important;
}

.status-enabled-disabled-control.status-pending {
    color: #5A5A5A;
}
/*
*  Status Enabled Disabled Indicator
*  ----------------------------------------------
*/
.select-display {
    -ms-border-radius: 4px;
    color: #A8A8A8;
}
[dir] .select-display {
    border-radius: 4px;
    border: 1px solid transparent;
}

.select-display.disabled {
    color: #aaa;
}

[dir] .select-display.disabled {
    cursor: not-allowed;
}

.select-display.selected,
.select-display.selected.disabled {
    color: #FFF;
}

[dir] .select-display.selected, [dir] .select-display.selected.disabled {
    background-color: #337147;
    border-color: #337147;
}

.select-display.selected-partial,
.select-display.selected-partial.disabled {
    color: #337147;
}

[dir] .select-display.selected-partial, [dir] .select-display.selected-partial.disabled {
    background-color: transparent;
    border-color: #337147;
}
/*
*  ----------------------------------------------
*  Select display
*/

/*
*  Select display
*  ----------------------------------------------
*/

/*
*  ----------------------------------------------
*  Dropdown List
*/
.dropdown-list,
.input-group .dropdown-list,
.input-group .form-control.dropdown-list {
    display: inline-block;
    position: relative;
}

.dropdown-list-open {
    overflow: hidden;
}

/* hide the select element */
.dropdown-list select {
    display: none !important;
}

[dir] .dropdown-list.dropdown-list-trigger, [dir] .dropdown-list .dropdown-list-trigger {
    cursor: pointer;
}

.dropdown-list.form-control .selected-description {
    line-height: inherit;
}

.dropdown-list.form-control {
    /*allow for extra padding on the right for the dropdown arrow*/
}

[dir=ltr] .dropdown-list.form-control {
    padding-right: 25px;
}

[dir=rtl] .dropdown-list.form-control {
    padding-left: 25px;
}

.dropdown-list.form-control:after {
    content: '\e65c';
    font-family: 'ADCFont';
    position: absolute;
    top: 9px;
}

[dir=ltr] .dropdown-list.form-control:after {
    right: 7px;
}

[dir=rtl] .dropdown-list.form-control:after {
    left: 7px;
}

[dir] .dropdown-list.disabled, [dir] .dropdown-list:disabled {
    cursor: not-allowed;
}

.dropdown-list-menu {
    display: none;
    -moz-min-width: 200px;
    -ms-min-width: 200px;
    -o-min-width: 200px;
    -webkit-min-width: 200px;
    min-width: 200px;
    top: 0;
    position: absolute;
    z-index: 15502;
}

[dir=ltr] .dropdown-list-menu {
    float: left;
    left: 0;
}

[dir=rtl] .dropdown-list-menu {
    float: right;
    right: 0;
}

.dropdown-list-menu.font-open-sans {
    font-family: 'Open Sans';
}

/* if it is inside, give it top of 100% */
.dropdown-list .dropdown-list-menu {
    top: 100%;
}

.dropdown-list > .dropdown-list-menu,
.dropdown-list-menu.open {
    display: block;
}

.dropdown-list-menu .dropdown-list-items {
    -ms-border-radius: 3px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    -ms-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    -ms-background-clip: padding-box;
    font-size: 12px;
    list-style: none;
}

[dir] .dropdown-list-menu .dropdown-list-items {
    background-color: #FFF;
    border: 1px solid #CCC;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    margin: 2px 0 0;
    padding: 2px 0;
}

.dropdown-list-menu ul {
    display: none;
    list-style: none;
}

[dir] .dropdown-list-menu ul {
    margin: 0;
    padding: 0;
}

.dropdown-list-menu ul.current-list {
    display: inline-block;
}

.dropdown-list-menu .dropdown-list-items {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-list-menu li.dropdown-list-item.disabled,
.dropdown-list-menu li.dropdown-list-item:disabled {
    color: #bbb !important;
}

[dir] .dropdown-list-menu li.dropdown-list-item.disabled, [dir] .dropdown-list-menu li.dropdown-list-item:disabled {
    cursor: not-allowed;
}

.dropdown-list-menu li.dropdown-list-item {
    color: #5a5a5a;
    font-size: 14px;
    position: relative;
    width: 100%;
}

[dir] .dropdown-list-menu li.dropdown-list-item {
    cursor: pointer;
    padding: 5px 10px;
}

[dir=ltr] .dropdown-list-menu li.dropdown-list-item {
    float: left;
    text-align: left;
}

[dir=rtl] .dropdown-list-menu li.dropdown-list-item {
    float: right;
    text-align: right;
}

.dropdown-list-menu ul.dropdown-list-items li.dropdown-list-item.show-while-searching,
.dropdown-list-menu ul.dropdown-list-items li.dropdown-list-item.hidden-by-search,
.dropdown-list-menu ul.dropdown-list-items.searching li.dropdown-list-item.show-while-searching.hidden-by-search {
    display: none;
}

.dropdown-list-menu ul.dropdown-list-items.searching li.dropdown-list-item.show-while-searching {
    display: list-item;
}

/* Get rid of IE10+'s 'x' that automatically appears on inputs while typing */
.dropdown-list-menu li.dropdown-list-item.search-box input.list-search::-ms-clear {
    display: none;
}

.dropdown-list-menu li.dropdown-list-item * {
    vertical-align: middle;
}

[dir=ltr] .dropdown-list-menu li.dropdown-list-item .list-item-description {
    padding-right: 20px;
}

[dir=rtl] .dropdown-list-menu li.dropdown-list-item .list-item-description {
    padding-left: 20px;
}

[dir=ltr] .dropdown-list-menu li.dropdown-list-item.with-icon .list-item-description {
    padding-left: 20px;
}

[dir=rtl] .dropdown-list-menu li.dropdown-list-item.with-icon .list-item-description {
    padding-right: 20px;
}

.dropdown-list-menu li.dropdown-list-item .list-item-icon,
.dropdown-list-menu li.dropdown-list-item i.list-item-icon-selection {
    height: 14px;
    position: absolute;
    top: 50%;
    width: 20px;
}

[dir] .dropdown-list-menu li.dropdown-list-item .list-item-icon, [dir] .dropdown-list-menu li.dropdown-list-item i.list-item-icon-selection {
    margin-top: -7px;
    text-align: center;
}

[dir=ltr] .dropdown-list-menu li.dropdown-list-item .list-item-icon, [dir=ltr] .dropdown-list-menu li.dropdown-list-item i.list-item-icon-selection {
    right: 5px;
}

[dir=rtl] .dropdown-list-menu li.dropdown-list-item .list-item-icon, [dir=rtl] .dropdown-list-menu li.dropdown-list-item i.list-item-icon-selection {
    left: 5px;
}

[dir=ltr] .dropdown-list-menu li.dropdown-list-item .list-item-icon {
    left: 5px;
    right: auto;
}

[dir=rtl] .dropdown-list-menu li.dropdown-list-item .list-item-icon {
    right: 5px;
    left: auto;
}

.dropdown-list-menu li.dropdown-list-item i.icon-ok,
.dropdown-list-menu li.dropdown-list-item i.icon-ban-circle {
    display: none;
}

[dir=ltr] .dropdown-list-menu li.dropdown-list-item i.icon-ok, [dir=ltr] .dropdown-list-menu li.dropdown-list-item i.icon-ban-circle {
    float: right;
}

[dir=rtl] .dropdown-list-menu li.dropdown-list-item i.icon-ok, [dir=rtl] .dropdown-list-menu li.dropdown-list-item i.icon-ban-circle {
    float: left;
}

.dropdown-list-menu li.dropdown-list-item.selected {
    color: #333;
}

.dropdown-list-menu li.dropdown-list-item.selected i.icon-ok,
.dropdown-list-menu li.dropdown-list-item.disabled i.icon-ban-circle {
    display: inline-block;
}

.dropdown-list-menu li.dropdown-list-item.disabled.selected i.icon-ban-circle {
    display: none;
}

.dropdown-list-menu .dropdown-list-highlight {
    font-weight: bold;
    display: inline-block;
}

[dir] .dropdown-list-menu .dropdown-list-highlight {
    margin-top: -2px;
}

/* hide the buttons on normal screen */
.dropdown-list-menu .dropdown-list-actions {
    display: none;
}

[dir] .dropdown-list-menu.no-icons li.dropdown-list-item {
    text-align: center;
}

[dir] .dropdown-list-menu.no-icons li.dropdown-list-item .list-item-description {
    text-align: center;
}

[dir=ltr] .dropdown-list-menu.no-icons li.dropdown-list-item .list-item-description {
    padding-right: initial;
}

[dir=rtl] .dropdown-list-menu.no-icons li.dropdown-list-item .list-item-description {
    padding-left: initial;
}

.dropdown-list-menu.no-icons li.dropdown-list-item.selected .list-item-description {
    font-weight: bold;
}

.dropdown-list-menu.no-icons li.dropdown-list-item.selected i.list-item-icon-selection,
.dropdown-list-menu.no-icons li.dropdown-list-item.disabled i.list-item-icon-selection {
    display: none;
}

/* Get rid of padding if there is no check icon when clicked */
[dir=ltr] .dropdown-list-menu.no-select-icons li.dropdown-list-item .list-item-description {
    padding-right: 0;
}
[dir=rtl] .dropdown-list-menu.no-select-icons li.dropdown-list-item .list-item-description {
    padding-left: 0;
}

.dropdown-list-menu.allow-wrapping li.dropdown-list-item .text-ellipsis {
    display: initial;
    overflow: visible;
    text-overflow: clip;
    width: 100%;
    white-space: normal;
}

.dropdown-list-backdrop {
    position: fixed;
    bottom: 0;
    top: 0;
    z-index: 990;
}

[dir=ltr] .dropdown-list-backdrop {
    left: 0;
    right: 0;
}

[dir=rtl] .dropdown-list-backdrop {
    right: 0;
    left: 0;
}


@media (min-width: 768px) {
    html.modernizr-no-touch .dropdown-list-menu li.dropdown-list-item:hover {
        color: #FFF !important;
    }
    html[dir].modernizr-no-touch .dropdown-list-menu li.dropdown-list-item:hover {
        background: none;
        background-color: #565656;
    }

    html.modernizr-no-touch .dropdown-list-menu li.dropdown-list-item.search-box:hover {
        color: #5a5a5a !important;
    }

    html[dir].modernizr-no-touch .dropdown-list-menu li.dropdown-list-item.search-box:hover {
        background-color: white;
    }

    html.modernizr-no-touch .dropdown-list-menu li.dropdown-list-item.back-button .back-button-wrap:hover {
        color: #FFF !important;
    }

    html[dir].modernizr-no-touch .dropdown-list-menu li.dropdown-list-item.back-button .back-button-wrap:hover {
        background-color: lightgray;
    }

    html.modernizr-no-touch .dropdown-list-menu li.dropdown-list-item.back-button .item-search-wrap:hover {
        color: lightgray !important;
    }

    .dropdown-list-menu {
        -webkit-transform: translateY(0) !important;
        -moz-transform: translateY(0) !important;
        -ms-transform: translateY(0) !important;
        -o-transform: translateY(0) !important;
    }

    [dir] .dropdown-list-menu {
        transform: translateY(0) !important;
    }

    /* arrow for when menu is open on wider screen */
    .dropdown-list-menu .dropdown-list-menu-arrow {
        position: absolute;
        top: 0;
    }
    [dir=ltr] .dropdown-list-menu .dropdown-list-menu-arrow {
        left: 50%;
    }
    [dir=rtl] .dropdown-list-menu .dropdown-list-menu-arrow {
        right: 50%;
    }

    .dropdown-list-menu .dropdown-list-menu-arrow::before {
        bottom: -3px;
        content: "";
        display: inline-block;
        position: absolute;
        z-index: 1001;
    }

    [dir] .dropdown-list-menu .dropdown-list-menu-arrow::before {
        border-bottom: 7px solid rgba(0, 0, 0, 0.2);
    }

    [dir=ltr] .dropdown-list-menu .dropdown-list-menu-arrow::before {
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        left: 50%;
        margin-left: -8px;
    }

    [dir=rtl] .dropdown-list-menu .dropdown-list-menu-arrow::before {
        border-right: 7px solid transparent;
        border-left: 7px solid transparent;
        right: 50%;
        margin-right: -8px;
    }

    .dropdown-list-menu .dropdown-list-menu-arrow::after {
        bottom: -3px;
        content: "";
        display: inline-block;
        position: absolute;
        z-index: 1002;
    }

    [dir] .dropdown-list-menu .dropdown-list-menu-arrow::after {
        border-bottom: 6px solid #FFFFFF;
    }

    [dir=ltr] .dropdown-list-menu .dropdown-list-menu-arrow::after {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        left: 50%;
        margin-left: -7px;
    }

    [dir=rtl] .dropdown-list-menu .dropdown-list-menu-arrow::after {
        border-right: 6px solid transparent;
        border-left: 6px solid transparent;
        right: 50%;
        margin-right: -7px;
    }

    /* and down arrow */
    .dropdown-list-menu.up .dropdown-list-menu-arrow {
        bottom: 0;
        position: absolute;
        top: auto;
    }
    [dir=ltr] .dropdown-list-menu.up .dropdown-list-menu-arrow {
        left: 50%;
    }
    [dir=rtl] .dropdown-list-menu.up .dropdown-list-menu-arrow {
        right: 50%;
    }

    .dropdown-list-menu.up .dropdown-list-menu-arrow::before {
        bottom: -6px;
    }

    [dir] .dropdown-list-menu.up .dropdown-list-menu-arrow::before {
        border-bottom: none;
        border-top: 7px solid rgba(0, 0, 0, 0.2);
    }

    .dropdown-list-menu.up .dropdown-list-menu-arrow::after {
        bottom: -5px;
    }

    [dir] .dropdown-list-menu.up .dropdown-list-menu-arrow::after {
        border-bottom: none;
        border-top: 6px solid #FFFFFF;
    }

    .dropdown-list-backdrop {
        -ms-opacity: 0 !important;
        opacity: 0 !important;
    }
}

/* todo: make the backdrop fade in like it does on iOS */
@media (max-width: 767px) {
    .dropdown-list-backdrop {
        z-index: 15501;
    }
    [dir] .dropdown-list-backdrop {
        background-color: #000;
    }

    .dropdown-list.open > .dropdown-list-menu {
        display: none;
    }

    .dropdown-list-menu {
        bottom: 0;
        display: block !important;
        position: fixed;
        top: auto !important;
        width: 70% !important;
        z-index: 15502;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -ms-transform: translateY(100%);
        -o-transform: translateY(100%);
    }

    [dir] .dropdown-list-menu {
        margin: 0;
        padding: 0 0 10px 0;
        transform: translateY(100%);
    }

    [dir=ltr] .dropdown-list-menu {
        left: 15% !important;
    }

    [dir=rtl] .dropdown-list-menu {
        right: 15% !important;
    }

    .dropdown-list-menu.open {
        -webkit-transform: translateY(0) !important;
        -moz-transform: translateY(0) !important;
        -ms-transform: translateY(0) !important;
        -o-transform: translateY(0) !important;
    }

    [dir] .dropdown-list-menu.open {
        transform: translateY(0) !important;
    }

    .dropdown-list-menu .dropdown-list-items {
        /*background: #f5f5f5;*/
        -ms-border-radius: 5px;
        -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
        -ms-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
        overflow: auto;
    }

    [dir] .dropdown-list-menu .dropdown-list-items {
        border-radius: 5px;
        box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
        padding: 0;
    }

    .dropdown-list-menu li.dropdown-list-item {
        list-style: none;
        font-size: 22px;
        text-decoration: none;
    }

    [dir] .dropdown-list-menu li.dropdown-list-item {
        padding: 6px 20px;
        border-bottom: solid 1px #e3e3e3;
    }

    [dir=ltr] .dropdown-list-menu li.dropdown-list-item {
        text-align: left;
    }

    [dir=rtl] .dropdown-list-menu li.dropdown-list-item {
        text-align: right;
    }

    [dir] .dropdown-list-menu li.dropdown-list-item:last-child {
        border-bottom: none;
    }

    .dropdown-list-menu li.dropdown-list-item * {
        line-height: 30px;
    }

    .dropdown-list-menu li.dropdown-list-item i.list-item-icon {
        font-size: 24px;
        width: 40px;
    }

    .dropdown-list-menu li.dropdown-list-item .list-item-icon,
    .dropdown-list-menu li.dropdown-list-item i.list-item-icon-selection {
        height: 26px;
        line-height: 26px;
        width: 26px;
    }

    [dir] .dropdown-list-menu li.dropdown-list-item .list-item-icon, [dir] .dropdown-list-menu li.dropdown-list-item i.list-item-icon-selection {
        margin-top: -13px;
        text-align: center;
    }

    .dropdown-list-menu li.dropdown-list-item i.list-item-icon-selection.icon-ok {
        font-size: 26px;
    }

    [dir] .dropdown-list-menu li.dropdown-list-item.search-box i {
        margin-top: -7px;
    }

    [dir] .dropdown-list-menu .dropdown-list-highlight {
        margin-top: -5px;
    }

    /* actions */
    .dropdown-list-menu .dropdown-list-actions {
        display: block;
        width: 100%;
    }
    [dir] .dropdown-list-menu .dropdown-list-actions {
        margin-top: 10px;
    }
    [dir=ltr] .dropdown-list-menu .dropdown-list-actions {
        float: left;
    }
    [dir=rtl] .dropdown-list-menu .dropdown-list-actions {
        float: right;
    }

    .dropdown-list-menu .dropdown-list-actions .dropdown-list-action {
        -ms-border-radius: 5px;
        -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
        -ms-box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
        -ms-background-clip: padding-box;
        font-size: 22px;
        font-weight: 500;
        text-decoration: none;
        width: 47%;
    }

    [dir] .dropdown-list-menu .dropdown-list-actions .dropdown-list-action {
        border-radius: 5px;
        border: 1px solid #CCC;
        border: 1px solid rgba(0, 0, 0, 0.15);
        box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
        background-color: #FFF;
        background-clip: padding-box;
        cursor: pointer;
        margin: 0;
        text-align: center;
        padding: 6px 20px;
    }

    /* if it is just one button, then make it a full width */
    .dropdown-list-menu .dropdown-list-actions.single-select .dropdown-list-action {
        width: 100%;
    }

    .dropdown-list-menu .dropdown-list-actions .dropdown-list-action.cancel {
        color: #DB6963;
    }

    [dir=ltr] .dropdown-list-menu .dropdown-list-actions .dropdown-list-action.cancel {
        float: left;
    }

    [dir=rtl] .dropdown-list-menu .dropdown-list-actions .dropdown-list-action.cancel {
        float: right;
    }

    .dropdown-list-menu .dropdown-list-actions .dropdown-list-action.select {
        color: #337147;
    }

    [dir=ltr] .dropdown-list-menu .dropdown-list-actions .dropdown-list-action.select {
        float: right;
    }

    [dir=rtl] .dropdown-list-menu .dropdown-list-actions .dropdown-list-action.select {
        float: left;
    }
}

@media (max-width: 460px) {
    .dropdown-list-menu {
        width: 96% !important;
    }
    [dir=ltr] .dropdown-list-menu {
        left: 2% !important;
    }
    [dir=rtl] .dropdown-list-menu {
        right: 2% !important;
    }
}
/*
*  Dropdown list
*  ----------------------------------------------
*/

/*
*  Bootstrap TouchSpin - v3.0.1
*  A mobile and touch friendly input spinner component for Bootstrap 3.
*  http://www.virtuosoft.eu/code/bootstrap-touchspin/
*
*  Made by István Ujj-Mészáros
*  Under Apache License v2.0 License
*/

.bootstrap-touchspin .input-group-btn-vertical {
    position: relative;
    white-space: nowrap;
    width: 1%;
    vertical-align: middle;
    display: table-cell;
}

.bootstrap-touchspin .input-group-btn-vertical > .btn {
    display: block;
    width: 100%;
    max-width: 100%;
    position: relative;
}

[dir] .bootstrap-touchspin .input-group-btn-vertical > .btn {
    float: none;
    padding: 8px 10px;
}

[dir=ltr] .bootstrap-touchspin .input-group-btn-vertical > .btn {
    margin-left: -1px;
}

[dir=rtl] .bootstrap-touchspin .input-group-btn-vertical > .btn {
    margin-right: -1px;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    -ms-border-radius: 0;
}

[dir] .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    border-radius: 0;
}

[dir=ltr] .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    border-top-right-radius: 4px;
}

[dir=rtl] .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    border-top-left-radius: 4px;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    -ms-border-radius: 0;
}

[dir] .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    margin-top: -2px;
    border-radius: 0;
}

[dir=ltr] .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    border-bottom-right-radius: 4px;
}

[dir=rtl] .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    border-bottom-left-radius: 4px;
}

.bootstrap-touchspin .input-group-btn-vertical i {
    position: absolute;
    top: 3px;
    font-size: 9px;
    font-weight: normal;
}

[dir=ltr] .bootstrap-touchspin .input-group-btn-vertical i {
    left: 5px;
}

[dir=rtl] .bootstrap-touchspin .input-group-btn-vertical i {
    right: 5px;
}
/*
*  Bootstrap TouchSpin
*  ----------------------------------------------
*/


/*
*  ----------------------------------------------
*  Page Action Buttons
*/
.page-action-buttons { /* adjust for the border just in case we have collapsed ones */
}
[dir] .page-action-buttons {
    border-top: 1px solid #ccc;
    margin-top: -1px;
    margin-bottom: 0;
    margin-top: 10px;
    padding-top: 10px;
}
[dir=ltr] .page-action-buttons {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 50px;
}
[dir=rtl] .page-action-buttons {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 50px;
}

[dir] .page-action-buttons.centered {
    text-align: center;
}

[dir=ltr] .page-action-buttons.centered {
    padding-left: 0;
}

[dir=rtl] .page-action-buttons.centered {
    padding-right: 0;
}

[dir] .page-action-buttons.page-info-action-buttons {
    margin-top: 10px;
}

.page-action-buttons .page-action-buttons-inner {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.page-action-buttons .btn {
    min-width: 200px;
}

[dir] .page-action-buttons .btn {
    margin: 0 5px;
}

.page-action-buttons .btn-wrap {
    display: inline-block;
}

@media screen and (min-width: 768px) {
    [dir] .page-action-buttons.no-border-top {
        border-top: none;
        margin-top: 0;
    }
}

/* on small devices, make them sticky */
@media screen and (max-width: 767px) {
    .page-action-buttons {
        /*
background-color: #fff;
bottom: 0;
opacity: 0.9;
padding: 0;
position: fixed;
width: 100%;
z-index: 500;
*/
    }
    [dir] .page-action-buttons {
        border: 1px solid #ccc;
        padding: 0;
    }

    .page-action-buttons .btn {
        -ms-border-radius: 0;
        display: table-cell;
        min-width: 0;
    }

    [dir] .page-action-buttons .btn {
        border-radius: 0;
        border: 0;
        margin: 0;
    }

    .page-action-buttons .btn-wrap {
        -ms-border-radius: 0;
        display: table-cell;
    }

    [dir] .page-action-buttons .btn-wrap {
        border-radius: 0;
        border: 0;
        margin: 0;
    }

    .page-action-buttons .btn-wrap .btn {
        display: inline-block;
        width: 100%;
    }
}

/*
*  Page Action Buttons
*  ----------------------------------------------
*/

/*
*  Page Info Framework
*  ----------------------------------------------
*/
body .page-info-framework-wrap {
    font-size: 14px;
}

[dir=ltr] body .page-info-framework-wrap ul.icons-ul {
    margin-left: 0;
}

[dir=rtl] body .page-info-framework-wrap ul.icons-ul {
    margin-right: 0;
}

body .page-info-framework-wrap ul li {
    font-size: 14px;
    line-height: 20px;
}

[dir] body .page-info-framework-wrap ul li {
    padding-top: 5px;
    padding-bottom: 5px;
}

body .page-info-framework-wrap ul li i.icon-li {
    font-size: 8px;
}

[dir=ltr] body .page-info-framework-wrap ul li i.icon-li {
    padding-right: 10px;
}

[dir=rtl] body .page-info-framework-wrap ul li i.icon-li {
    padding-left: 10px;
}
/*
*  Page Action Buttons
*  ----------------------------------------------
*/

/*
*  Widget Cards
*  ----------------------------------------------
*/


.card {
    backface-visibility: hidden;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -o-border-radius: 3px !important;
    -ms-border-radius: 3px !important;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(61, 61, 61, 0.3);
    -moz-box-shadow: 0px 0px 2px 0px rgba(61, 61, 61, 0.3);
    -o-box-shadow: 0px 0px 2px 0px rgba(61, 61, 61, 0.3);
    -ms-box-shadow: 0px 0px 2px 0px rgba(61, 61, 61, 0.3);
    box-sizing: border-box;
    color: #121212;
    height: 310px;
    overflow: hidden;
    position: relative;
    width: 300px;
}


[dir] .card {
    background-color: #fff;
    border-radius: 3px !important;
    box-shadow: 0px 0px 2px 0px rgba(61, 61, 61, 0.3);
    margin-bottom: 30px;
}


[dir=ltr] .card {
    float: left;
    margin-right: 15px;
    margin-left: 15px;
}


[dir=rtl] .card {
    float: right;
    margin-left: 15px;
    margin-right: 15px;
}

.card-container {
    height: 310px;
    width: 300px;
    backface-visibility: hidden;
    -ms-perspective: 2000;
    -o-perspective: 2000;
    perspective: 2000;
}

[dir] .card-container {
    margin-bottom: 30px;
}

[dir=ltr] .card-container {
    float: left;
    margin-right: 15px;
    margin-left: 15px;
}

[dir=rtl] .card-container {
    float: right;
    margin-left: 15px;
    margin-right: 15px;
}

.card-container.font-open-sans {
    font-family: 'Open Sans';
}

[dir] .card-container .card {
    margin: 0 !important;
}

.card-container .card-with-flip {
    height: 100%;
    transform-style: preserve-3d;
    transition: 0.4s;
    position: relative;
}

[dir] .card-container .card-with-flip {
    -webkit-transition: 0.4s;
}

[dir=ltr] .card-container .card-with-flip {
    transform-origin: right center;
}

[dir=rtl] .card-container .card-with-flip {
    transform-origin: left center;
}

/* flip for browsers that support it */
html[dir=ltr].modernizr-csstransforms3d .card-container.show-back-card .card-with-flip {
    transform: translateX(-100%) rotateY(-180deg);
}
html[dir=rtl].modernizr-csstransforms3d .card-container.show-back-card .card-with-flip {
    transform: translateX(100%) rotateY(180deg);
}

/* override for ie 10 and ie 11 because it does not support preserve-3d */
html.modernizr-csstransforms3d.modernizr-no-preserve3d .card-container.show-back-card .card-with-flip {
    -ms-transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
}
html[dir].modernizr-csstransforms3d.modernizr-no-preserve3d .card-container.show-back-card .card-with-flip {
    transform: none;
}

/* ie 10 and browsers without support just show and hide stuff */
html.modernizr-no-csstransforms3d .card-container .card.card-back,
html.modernizr-no-preserve3d .card-container .card.card-back {
    display: none;
}

html.modernizr-no-csstransforms3d .card-container.show-back-card .card.card-front,
html.modernizr-no-preserve3d .card-container.show-back-card .card.card-front {
    display: none;
}

html.modernizr-no-csstransforms3d .card-container.show-back-card .card.card-back,
html.modernizr-no-preserve3d .card-container.show-back-card .card.card-back {
    display: block;
}


.card.card-front,
.card.card-back {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}


[dir=ltr] .card.card-front, [dir=ltr] .card.card-back {
    left: 0;
}


[dir=rtl] .card.card-front, [dir=rtl] .card.card-back {
    right: 0;
}

.card.card-front {
    backface-visibility: hidden;
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    z-index: 2;
}

[dir] .card.card-front {
    transform: rotateY(0deg);
}

.card.card-back {
    z-index: 1;
}

[dir=ltr] .card.card-back {
    transform: rotateY(180deg);
}

[dir=rtl] .card.card-back {
    transform: rotateY(-180deg);
}

html.modernizr-no-preserve3d .card.card-back {
    -ms-transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
}

html[dir].modernizr-no-preserve3d .card.card-back {
    transform: none;
}


.card .title-bar {
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
    height: 40px;
    line-height: 30px;
    position: relative;
    z-index: 410;
}


[dir] .card .title-bar {
    padding: 5px 10px 5px 10px;
}


[dir=ltr] .card .title-bar {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}


[dir=rtl] .card .title-bar {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.card .title-bar.overflow-ellipsis .title {
    display: inline-block;
    overflow: hidden;
    -moz-text-overflow: ellipsis;
    text-overflow: ellipsis;
    width: 260px;
    white-space: nowrap;
}

.card .title-bar .card-flip .icon-cog {
    font-size: 24px;
}

/* give the PC cards a border for title bar for now */
[dir] .system-list .card .title-bar, [dir] .card.vrm-info .title-bar, [dir] .card.occupancy-graph .title-bar {
    border-bottom: 1px solid #dedede;
}

[dir] .card.no-style .title-bar {
    background: none;
}

[dir] .card-container.unselectable .title-bar {
    cursor: default;
}

[dir] .card .title-bar.bottom {
    border-bottom: none;
}

.card .title-bar .link-right {
    color: #666 !important;
    font-size: 18px;
    height: 25px;
    line-height: 25px;
    position: absolute;
    text-decoration: none !important;
    top: 6px;
    width: 25px;
}

[dir] .card .title-bar .link-right {
    text-align: center;
}

[dir=ltr] .card .title-bar .link-right {
    right: 5px;
}

[dir=rtl] .card .title-bar .link-right {
    left: 5px;
}

[dir=ltr] .card .title-bar .link-right + .link-right {
    right: 32px;
}

[dir=rtl] .card .title-bar .link-right + .link-right {
    left: 32px;
}

/* make the link bigger on touch devices, so that it is easier to hit it */
html.modernizr-touch .card .title-bar .link-right {
    height: 51px;
    line-height: 51px;
    top: -5px;
    width: 51px;
}
html[dir=ltr].modernizr-touch .card .title-bar .link-right {
    right: -8px;
}
html[dir=rtl].modernizr-touch .card .title-bar .link-right {
    left: -8px;
}

.thermostat .card .title-bar .top-right-buttons {
    position: absolute;
    top: 0;
    height: 35px;
    width: 60px;
}

[dir=ltr] .thermostat .card .title-bar .top-right-buttons {
    right: 5px;
    margin-right: -5px;
}

[dir=rtl] .thermostat .card .title-bar .top-right-buttons {
    left: 5px;
    margin-left: -5px;
}

.thermostat .card .title-bar .title .title-dropdown .device-type {
    width: 30px;
    position: absolute;
}

[dir=ltr] .thermostat .card .title-bar .title .title-dropdown .device-type {
    right: 55px;
}

[dir=rtl] .thermostat .card .title-bar .title .title-dropdown .device-type {
    left: 55px;
}

.thermostat .card .title-bar .title .title-dropdown .device-type.tooltip-only {
    opacity: 0.5;
    color: #999;
}

[dir] .thermostat .card .title-bar .title .title-dropdown .device-type.tooltip-only {
    cursor: default;
}

html[dir=ltr].modernizr-touch .thermostat .card .title-bar .title .title-dropdown .device-type {
    right: 60px;
}

html[dir=rtl].modernizr-touch .thermostat .card .title-bar .title .title-dropdown .device-type {
    left: 60px;
}

html.modernizr-touch .card .title-bar .top-right-buttons {
    width: 60px;
}

html[dir].modernizr-touch .card .title-bar .top-right-buttons {
    margin-top: 0;
}

html[dir=ltr].modernizr-touch .card .title-bar .top-right-buttons {
    margin-right: -5px;
    float: right;
}

html[dir=rtl].modernizr-touch .card .title-bar .top-right-buttons {
    margin-left: -5px;
    float: left;
}

html.modernizr-touch .card .title-bar .link-right {
    top: -5px;
    width: 40px;
}

html[dir=ltr].modernizr-touch .card .title-bar .link-right {
    right: -5px;
}

html[dir=rtl].modernizr-touch .card .title-bar .link-right {
    left: -5px;
}

html[dir].modernizr-touch .thermostat .card .title-bar .link-right i {
    padding-top: 12px;
}

html.modernizr-touch .card .title-bar .link-right + .link-right {
    width: 35px;
}

html[dir=ltr].modernizr-touch .card .title-bar .link-right + .link-right {
    right: 30px;
}

html[dir=rtl].modernizr-touch .card .title-bar .link-right + .link-right {
    left: 30px;
}

html.modernizr-touch .card .title-bar .link-right + .link-right {
    width: 35px;
}

html[dir=ltr].modernizr-touch .card .title-bar .link-right + .link-right {
    right: 30px;
}

html[dir=rtl].modernizr-touch .card .title-bar .link-right + .link-right {
    left: 30px;
}

html.modernizr-touch .card .title-bar .title {
    width: 220px;
}

.card .title-bar .link-right .icon-cog,
.card .title-bar .link-right .icon-angle-right,
.card .title-bar .link-right .icon-share,
.card .title-bar .link-right .icon-rotate-right {
    display: inline-block;
    line-height: inherit;
    color: #999;
}

.card .title-bar .link-right.disabled .icon-cog,
.card .title-bar .link-right.disabled .icon-angle-right,
.card .title-bar .link-right.disabled .icon-share,
.card .title-bar .link-right.disabled .icon-rotate-right {
    color: #dddddd;
}

.card .title-bar .link-right.disabled, .card .title-bar .link-right.disabled * {
    color: #DDD !important;
}

[dir] .card .title-bar .link-right.disabled, [dir] .card .title-bar .link-right.disabled * {
    cursor: default !important;
}

.card .title-bar .link-right.disabled:hover, .card .title-bar .link-right.disabled *:hover {
    color: #DDD !important;
}

.card .title-bar .card-flip,
.card .title-bar .card-flip:hover {
    text-decoration: none !important;
}

[dir] .card .card-flip:hover {
    cursor: pointer;
}

.card .title-bar .card-flip.link-text {
    position: absolute;
    top: 5px;
}

[dir] .card .title-bar .card-flip.link-text {
    padding: 0px;
}

[dir=ltr] .card .title-bar .card-flip.link-text {
    right: 10px;
}

[dir=rtl] .card .title-bar .card-flip.link-text {
    left: 10px;
}

/* make bigger target for touch devices */
.modernizr-touch .card .title-bar .card-flip.link-text {
    position: absolute;
    top: -5px;
}
[dir] .modernizr-touch .card .title-bar .card-flip.link-text {
    padding: 10px;
}
[dir=ltr] .modernizr-touch .card .title-bar .card-flip.link-text {
    right: 0;
}
[dir=rtl] .modernizr-touch .card .title-bar .card-flip.link-text {
    left: 0;
}

.card .title-bar .icon-angle-right {
    font-size: 26px;
}

.card .title-bar .icon-rotate-right {
    font-size: 21px;
}

.card .title-bar .icon-cog:hover,
.card .title-bar .icon-angle-right:hover,
.card .title-bar .icon-share:hover,
.card .title-bar .icon-rotate-right:hover {
    color: #666;
}

[dir] .card .title-bar .icon-cog:hover, [dir] .card .title-bar .icon-angle-right:hover, [dir] .card .title-bar .icon-share:hover, [dir] .card .title-bar .icon-rotate-right:hover {
    cursor: pointer;
}

.not-mobile .card .title-bar .link-right:hover,
.not-mobile .card .title-bar .link-right:active {
    color: #666 !important;
    text-decoration: none;
}

.not-mobile .card .title-bar .link-right.disabled:hover,
.not-mobile .card .title-bar .link-right.disabled:active {
    color: initial !important;
    text-decoration: initial;
}


.card .body a {
    backface-visibility: hidden;
}


.card ul {
    list-style: none;
}


[dir] .card ul {
    margin: 0;
    padding: 0;
}

.card .body {
    backface-visibility: hidden;
    box-sizing: border-box;
    position: relative;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
    z-index: 400;
}

[dir=ltr] .card .body {
    -webkit-border-bottom-right-radius: inherit;
    -webkit-border-bottom-left-radius: inherit;
    -moz-border-radius-bottomright: inherit;
    -moz-border-radius-bottomleft: inherit;
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}

[dir=rtl] .card .body {
    -webkit-border-bottom-left-radius: inherit;
    -webkit-border-bottom-right-radius: inherit;
    -moz-border-radius-bottomleft: inherit;
    -moz-border-radius-bottomright: inherit;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

[dir] .card .body.with-padding {
    padding: 0 10px 10px 10px;
}

.card .body.status,
.card .body.settings {
    box-sizing: border-box;
    height: 270px;
}

[dir] .card .body.status {
    text-align: center;
}

[dir=ltr] .card .body.status {
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

[dir=rtl] .card .body.status {
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.card .body.status .card-status {
    font-size: 160px;
    height: 190px;
    line-height: 200px;
}

[dir] .card .body.status .card-status {
    text-align: center;
}

.card .body.status .card-status a,
.card .body.status .card-status a:hover,
.card .body.status .card-status i,
.card .body.status .card-status i:hover {
    text-decoration: none;
}



/* new browsers */
html.modernizr-csstransforms3d .card.show-action-buttons .body.status {
    -webkit-transform: translateY(-110px);
    -moz-transform: translateY(-110px);
    -ms-transform: translateY(-110px);
    -o-transform: translateY(-110px);
}
html[dir].modernizr-csstransforms3d .card.show-action-buttons .body.status {
    transform: translateY(-110px);
}

html.modernizr-csstransforms3d .card.show-action-buttons .body.status .card-status {
    -webkit-transform: translateY(50px) scale(0.5);
    -moz-transform: translateY(50px) scale(0.5);
    -ms-transform: translateY(50px) scale(0.5);
    -o-transform: translateY(50px) scale(0.5);
    -ms-opacity: 0.45;
    -moz-opacity: 0.45;
    opacity: 0.45;
}

html[dir].modernizr-csstransforms3d .card.show-action-buttons .body.status .card-status {
    transform: translateY(50px) scale(0.5);
}

html.modernizr-csstransforms3d .card.show-action-buttons .body.status .status-since {
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
}

html[dir].modernizr-csstransforms3d .card.show-action-buttons .body.status .status-since {
    transform: translateY(10px);
}

html[dir=ltr].modernizr-csstransforms3d .card.show-color-picker.single .body.status .card-status {
    transform: translateX(-85px) scale(0.7);
}

html[dir=rtl].modernizr-csstransforms3d .card.show-color-picker.single .body.status .card-status {
    transform: translateX(85px) scale(0.7);
}

html[dir=ltr].modernizr-csstransforms3d .card.show-color-picker.program .body.status .card-status {
    transform: translateX(-65px) scale(1);
}

html[dir=rtl].modernizr-csstransforms3d .card.show-color-picker.program .body.status .card-status {
    transform: translateX(65px) scale(1);
}

/* old browsers */
html.modernizr-no-csstransforms3d .card.show-action-buttons .body.status {
    top: 0px;
    height: 150px;
}

html.modernizr-no-csstransforms3d .card.show-action-buttons .body.status .card-status {
    font-size: 80px;
    line-height: 100px;
    height: 100px;
}

/* most browsers still do not support filters, so have to make two cases */
html.modernizr-no-csstransforms3d html.modernizr-cssfilters .card.show-action-buttons .body.status .card-status {
    -moz-filter: -moz-grayscale(10%) opacity(55%);
    -ms-filter: grayscale(10%) opacity(55%);
    filter: grayscale(10%) opacity(55%);
}

html.modernizr-no-csstransforms3d .card.show-action-buttons .body.status .card-status {
    -ms-opacity: 0.45;
    -moz-opacity: 0.45;
    opacity: 0.45;
}

/* override for arming alarms */
html.modernizr-no-csstransforms3d .card-container.arming.alarm .body.status .card-status,
html.modernizr-no-csstransforms3d .card-container.arming.silent-alarm .body.status .card-status,
html.modernizr-no-csstransforms3d .card-container.arming.duress-alarm .body.status .card-status,
html.modernizr-no-csstransforms3d .card-container.arming.alarm-old .body.status .card-status {
    font-size: 180px;
}

html.modernizr-no-csstransforms3d .card-container.arming.alarm.show-action-buttons .body.status .card-status,
html.modernizr-no-csstransforms3d .card-container.arming.silent-alarm.show-action-buttons .body.status .card-status,
html.modernizr-no-csstransforms3d .card-container.arming.duress-alarm.show-action-buttons .body.status .card-status,
html.modernizr-no-csstransforms3d .card-container.arming.alarm-old.show-action-buttons .body.status .card-status {
    font-size: 80px;
}

.card .body a {
    position: relative;
}

.card .body .item {
    line-height: 30px;
    min-height: 30px;
}

[dir] .card .body .item {
    clear: both;
    padding: 5px 10px 0px 10px;
}

[dir] .card .body .item .item-border {
    border-bottom: 1px solid #e5e5e5;
    padding-top: 5px;
}

[dir=ltr] .card .body .item .item-border {
    margin-left: 20px;
}

[dir=rtl] .card .body .item .item-border {
    margin-right: 20px;
}

[dir] .card .body > .item:last-child .item-border, [dir] .card .body .wrapper > .item:last-child .item-border {
    border-bottom: none;
}

.card .body .item .item-inside {
    position: relative;
}

.card .body .item .item-title {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 280px;
}

.card .body .item.status-indicator .item-title {
    position: relative;
    width: 250px;
}

[dir=ltr] .card .body .item.status-indicator .item-title {
    left: 25px;
}

[dir=rtl] .card .body .item.status-indicator .item-title {
    right: 25px;
}

.card .body .item.status-indicator.toggle-indicator .item-title {
    width: 150px;
}

.card .body .item .item-status {
    display: inline-block;
    /*float: right;*/
}

.card .body .item .status-toggle {
    display: inline-block;
}

[dir=ltr] .card .body .item .status-toggle {
    float: right;
}

[dir=rtl] .card .body .item .status-toggle {
    float: left;
}

.item-status-marker,
.card .body .item .item-icon-marker {
    display: inline-block;
    position: absolute;
    width: 17px;
}

[dir] .item-status-marker, [dir] .card .body .item .item-icon-marker {
    padding: 0;
}

.card .body .item .item-icon-marker {
    font-size: 18px;
    height: 17px;
    line-height: 30px;
}

[dir] .card .body .item .item-icon-marker {
    text-align: center;
}

.card .body .item .item-icon-marker i {
    line-height: inherit;
}

/* links on the bottom of a card */
.card .card-links {
    bottom: 0;
    box-sizing: border-box;
    -mozbox-sizing: border-box;
    color: #727272;
    display: table;
    font-size: 16px;
    height: 50px;
    line-height: 50px;
    position: absolute;
    width: 100%;
}
[dir] .card .card-links {
    background-color: #F9F9F9;
    border-top: 1px solid #D5D5D5;
    text-align: center;
}
[dir=ltr] .card .card-links {
    -webkit-border-bottom-right-radius: inherit;
    -webkit-border-bottom-left-radius: inherit;
    -moz-border-radius-bottomright: inherit;
    -moz-border-radius-bottomleft: inherit;
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}
[dir=rtl] .card .card-links {
    -webkit-border-bottom-left-radius: inherit;
    -webkit-border-bottom-right-radius: inherit;
    -moz-border-radius-bottomleft: inherit;
    -moz-border-radius-bottomright: inherit;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.card .card-links .link {
    display: table-cell;
}

.card .card-links .link a,
.card .card-links .link a:hover,
.card .card-links .link a:active {
    color: #727272 !important;
    text-decoration: none;
}

/* end links on the bottom of a card */

/* lights */
.card.lights .body,
.lights .card.card-front .body {
    max-height: 265px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.lights .card .body .item.status-indicator.toggle-indicator .item-title,
.card.lights .body .item.status-indicator.toggle-indicator .item-title {
    width: 140px;
}

.lights .card .body .item .item-icon-marker,
.card.lights .body .item .item-icon-marker {
    font-size: 22px;
    top: 2px;
}

.lights .card .body .item .item-icon-marker i,
.card.lights .body .item .item-icon-marker i {
    display: none;
}

.lights .card .body .item.on .item-icon-marker i.climacon.sun,
.card.lights .body .item.on .item-icon-marker i.climacon.sun {
    color: #F29E63;
    display: inline;
}

.lights .card .body .item.off .item-icon-marker i.climacon.moon.new,
.card.lights .body .item.off .item-icon-marker i.climacon.moon.new {
    display: inline;
}

.lights .card.card-back .body .adc-light-on {
    font-size: 120px;
    vertical-align: middle;
}

[dir] .lights .card.card-back .body .adc-light-on {
    margin: 10px;
    cursor: pointer;
}

[dir] .card-container.lights .mode-action {
    text-align: center;
}

.card-container.lights .setting-wrap {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    line-height: 30px;
}

[dir] .card-container.lights .setting-wrap {
    padding: 0 20px;
}

[dir] .card-container.lights .setting-wrap .row-fluid {
    border-bottom: 1px solid #EAEAEA;
    padding: 10px 0;
}

[dir] .card-container.lights .setting-wrap.action .row-fluid {
    border-bottom: 0;
}

.card-container.lights .colorPicker {
    position: absolute;
    top: 0;
    width: 150px;
}

[dir=ltr] .card-container.lights .colorPicker {
    right: 0;
}

[dir=rtl] .card-container.lights .colorPicker {
    left: 0;
}

.card-container.lights #single.colorPicker {
    top: 20px;
    width: 150px;
}

[dir=ltr] .card-container.lights #single.colorPicker {
    right: 30px;
}

[dir=rtl] .card-container.lights #single.colorPicker {
    left: 30px;
}

.card-container.lights .card-status i {
    color: inherit !important;
    -ms-text-shadow: 0px 0px 20px #DDD;
}

[dir] .card-container.lights .card-status i {
    text-shadow: 0px 0px 20px #DDD;
}

[dir] .card-container.lights .minicolors-slider-wheel {
    border: none;
}

[dir] .card-container.lights .colorPicker .btn-group-vertical {
    padding-top: 13px;
}

[dir=ltr] .card-container.lights .colorPicker .btn-group-vertical button {
    text-align: left;
}

[dir=rtl] .card-container.lights .colorPicker .btn-group-vertical button {
    text-align: right;
}

[dir] .card-container.lights .colorPicker .btn-group-vertical button .color-program-wrapper {
    text-align: center;
}

.card-container.lights .colorPicker .color-program-wrapper {
    position: absolute;
    width: 20px;
    font-size: 1.5em;
}

[dir] .card-container.lights .colorPicker #btnProgramRainbow .color-program-wrapper {
    padding-top: 3px;
}

[dir=ltr] .card-container.lights .colorPicker .color-program-wrapper + span {
    margin-left: 28px;
}

[dir=rtl] .card-container.lights .colorPicker .color-program-wrapper + span {
    margin-right: 28px;
}

.card-container.lights .colorPicker i.color-program.icon-rainbow:before {
    content: "\f140"; /*since there is no rainbow icon, use font awesome's bullseye icon cut in half'*/
    overflow: hidden;
    height: 0.5em;
}

[dir] .card-container.lights .colorPicker i.color-program.icon-rainbow:before {
    margin-bottom: 0.25em;
}

.cp-popover-container .popover {
    width: 300px;
}


/* sensor status */

.card.sensor-status.closed .item.status .item-status {
    top: 8px;
}

.card.sensor-status .item.status .item-status i {
    display: none;
    font-size: 16px;
    position: relative;
}

.card.sensor-status .item.status .item-status .sensor {
    display: none;
}

.card.sensor-status .item.status.contact .item-status span.contact,
.card.sensor-status .item.status.motion-sensor .item-status span.motion-sensor {
    display: inline-block;
}

.card.sensor-status .item.status.open .item-status .open {
    color: #F29E63;
    display: inline-block;
}

.card.sensor-status .item.status.closed .item-status .closed {
    color: #ccc;
    display: inline-block;
}
/*
*	End sensor status
*/

/* spinner for settings on the back of the card for those that need it */
.card .body.settings .setting-wrap.action i.icon-spinner {
    color: #666;
    display: none;
}

.card .body.settings.processing-ajax .setting-wrap.action i.icon-spinner {
    display: inline-block;
}

.card .body.settings.processing-ajax .setting-wrap.action .btn.set-button {
    display: none;
}

/*
*	---------------------------------------------------------------------------------------------
*/


/*
*
*	Thermostat card CSS
*
*/
.card-container.thermostat .body {
    height: 270px;
}
[dir] .card-container.thermostat .body {
    text-align: center;
    padding-top: 0px;
}

[dir] .card-container.thermostat .card .body.settings {
    padding-top: 0px;
}

.card-container.thermostat .card .title-bar.overflow-ellipsis .title {
    width: 230px;
}

html.modernizr-touch .card-container.thermostat .card .title-bar.overflow-ellipsis .title {
    width: 220px;
}

.card-container.thermostat .card .title-bar.overflow-ellipsis i {
    line-height: 30px;
}

.card-container.thermostat .card .title-bar.overflow-ellipsis i:not(.battery-level) {
    color: #999;
}

.card-container.thermostat .card .title-bar.overflow-ellipsis i.icon-warning-sign {
    color: #E48A49;
    font-size: 20px;
}

[dir=ltr] .card-container.thermostat .card .title-bar.overflow-ellipsis i.icon-warning-sign {
    right: 52px;
}

[dir=rtl] .card-container.thermostat .card .title-bar.overflow-ellipsis i.icon-warning-sign {
    left: 52px;
}

.card-container.thermostat .card .title-bar.overflow-ellipsis i:hover {
    color: #666;
}

[dir] .card-container.thermostat .card .title-bar.overflow-ellipsis i:hover {
    cursor: pointer;
}

.card-container.thermostat .body .new-thermostat-desc {
    font-size: 18px;
    line-height: 1.5em;
}

.card-container.thermostat .body .setup-wrapper {
    position: absolute;
    bottom: 30px;
}

.card-container.thermostat .tab-temp {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 100%;
    width: 100%;
}

[dir] .card-container.thermostat .tab-temp {
    padding: 0;
}

.card-container.thermostat .malfunction {
    display: none;
}

.card-container.thermostat .not-malfunction {
    display: block;
}

.card-container.thermostat[data-device-status~="Malfunction"] .malfunction {
    display: block;
}

.card-container.thermostat[data-device-status~="Malfunction"] .not-malfunction,
.card-container.thermostat[data-device-status~="Malfunction"] .title-bar .battery {
    display: none;
}


/* malfunction */
.grey-icon-color {
    color: #7F7F7F;
}

.card-container.thermostat .malfunction-wrapper {
    height: 210px;
}

.card-container.thermostat .malfunction-wrapper .malfunction-label {
    font-size: 16px;
}

.card-container.thermostat .malfunction-wrapper .icon-question-sign {
    font-size: 8em;
}

/* battery */
.card-container.thermostat .title-bar.show-battery .title {
    width: 210px;
}


.card-container.thermostat .card.card-front .title-bar .battery {
    width: 100%;
    top: 30px;
}


[dir] .card-container.thermostat .card.card-front .title-bar .battery {
    text-align: center;
}


[dir=ltr] .card-container.thermostat .card.card-front .title-bar .battery {
    right: -2px;
}


[dir=rtl] .card-container.thermostat .card.card-front .title-bar .battery {
    left: -2px;
}

.card-container.thermostat .title-bar .battery {
    color: #419E6E;
    font-size: 16px;
    position: absolute;
    top: 0;
}

[dir=ltr] .card-container.thermostat .title-bar .battery {
    margin-left: 10px;
}

[dir=rtl] .card-container.thermostat .title-bar .battery {
    margin-right: 10px;
}

.card-container.thermostat .title-bar .battery i {
    font-size: 35px;
    line-height: 40px;
    display: inline-block;
    vertical-align: middle;
}

.card-container.thermostat .title-bar .battery-percentage {
    display: inline-block;
    vertical-align: middle;
}

.card-container.thermostat .card-front .title-bar .battery-percentage {
    font-size: 10px;
}

.card-container.thermostat .card-back .title-bar .battery-percentage {
    font-size: 10px;
}

.card-container.thermostat .title-bar .battery.low,
.card-container.thermostat .title-bar.show-battery .battery.low *,
.card-container.thermostat .title-bar.show-battery .battery.low *:hover {
    color: #DB6963;
}

[dir] .card-container.thermostat .title-bar .battery.low, [dir] .card-container.thermostat .title-bar.show-battery .battery.low *, [dir] .card-container.thermostat .title-bar.show-battery .battery.low *:hover {
    cursor: default;
}

.card-container.thermostat .title-bar .title-dropdown {
    text-decoration: none;
    color: inherit !important;
    vertical-align: top;
}

.card-container.thermostat .title-bar .title-dropdown i {
    font-size: 22px;
    vertical-align: middle;
}

[dir] .card-container.thermostat .title-bar .title-dropdown i {
    padding: 1px 1px 1px 1px;
}

.card .title-bar.overflow-ellipsis .title-dropdown .device-name {
    display: inline-block;
    overflow: hidden;
    -moz-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-width: 195px;
    white-space: nowrap;
    vertical-align: middle;
}

.card .title-bar.overflow-ellipsis .title-dropdown.show-num-devices .device-name {
    max-width: 160px;
}

.card .title-bar.overflow-ellipsis .title-dropdown .num-devices {
    vertical-align: middle;
}

/* tabs on top for auto mode */
.card .card-tabs {
    display: table;
    font-size: 14px;
    width: 100%;
}

/*.card .card-tabs-wrap{
border: 1px solid #f5f5f5;
}*/

.card .card-tabs .tab {
    box-sizing: border-box;
    display: table-cell;
    font-weight: 400;
    line-height: 20px;
    -moz-opacity: 0.5;
}

[dir] .card .card-tabs .tab {
    background-color: #fafafa;
    border-bottom: 1px solid #f5f5f5;
    padding: 4px 12px;
}

[dir=ltr] .card .card-tabs .tab {
    border-right: 1px solid #f5f5f5;
}

[dir=rtl] .card .card-tabs .tab {
    border-left: 1px solid #f5f5f5;
}

.card .card-tabs .tab * {
    -ms-opacity: 0.5;
    opacity: 0.5;
}

[dir=ltr] .card .card-tabs > .tab:last-child {
    border-right: none;
}

[dir=rtl] .card .card-tabs > .tab:last-child {
    border-left: none;
}

[dir] .card .card-tabs .tab.active {
    background-color: transparent;
    border-bottom: none;
}

.card .card-tabs .tab.active * {
    -ms-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

[dir] .card .card-tabs .tab:hover {
    cursor: pointer;
}

[dir] .card .card-tabs .tab.active:hover, [dir] .card .card-tabs .tab.disabled:hover {
    cursor: default;
}

.card .card-tabs .tab i.icon-circle {
    display: inline-block;
    visibility: hidden;
    width: 20px;
}


.card .card-tabs .tab.active {
    color: #666;
}

.card .card-tabs .tab.active i.icon-circle {
    visibility: visible;
}

/* not auto, hide both of them */
.card-container.thermostat .tab-temp .card-tabs {
    display: none;
}

.card-container.thermostat.auto .tab-temp .card-tabs {
    display: table;
}

.card-container.thermostat .tab-temp .card-tabs .tab.cool {
    color: #59C5F0;
}

.card-container.thermostat .tab-temp .card-tabs .tab.heat,
.card-container.thermostat .tab-temp .card-tabs .tab.aux-heat {
    color: #F29E63;
}


/* set when which temp mode is visible and adjust positions*/
/* cool */
.card-container.thermostat.cool .body .tab-temp .temp-setup.temp-setup-cool {
    display: block;
}

/* heat */
.card-container.thermostat.heat .body .tab-temp .temp-setup.temp-setup-heat,
.card-container.thermostat.aux-heat .body .tab-temp .temp-setup.temp-setup-heat{
    display: block;
}

/* auto */
.card-container.thermostat.auto .body .tab-temp .temp-setup.temp-setup-auto {
    display: block;
}

/* auto - depending on which one is active */
/*.card-container.thermostat .body.temp.auto-cool .tab-temp .temp-setup.temp-setup-cool,
.card-container.thermostat .body.temp.auto-heat .tab-temp .temp-setup.temp-setup-heat{
display: block;
}*/

/* off - show ambient temp, but do not show current or arrows */
.card-container.thermostat.off .body .tab-temp .temp-setup.temp-setup-cool {
    display: block;
}

.card-container.thermostat.off .body .tab-temp .temp-setup.temp-setup-cool .temp-change {
    display: none;
}

.card-container.thermostat.off .body .tab-temp .temp-setup.temp-setup-cool .desc.setpoint-desc {
    display: none;
}

.card-container.thermostat.off .body .tab-temp .temp-setup.temp-setup-cool .current-temp-setpoint {
    display: none;
}

/* inside of temperature */
.card-container.thermostat .body .tab-temp .temp-setup {
    display: none;
    height: 160px;
    overflow: visible;
    position: absolute;
    top: 20px;
    width: 260px;
}
[dir] .card-container.thermostat .body .tab-temp .temp-setup {
    clear: both;
}
[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup {
    margin-left: auto;
    margin-right: auto;
    left: 20px;
}
[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup {
    margin-right: auto;
    margin-left: auto;
    right: 20px;
}

/*.card-container.thermostat.auto .body .tab-temp .temp-setup{
top: 15px;
}*/

/* arrows */
.card-container.thermostat .body .tab-temp .temp-setup .temp-change {
    display: inline-block;
    font-size: 120px;
    line-height: 120px;
    -ms-opacity: 0.7;
    -moz-opacity: 0.4;
    opacity: 0.7;
    position: absolute;
    text-decoration: none;
    transition: opacity 0.3s;
    width: 45px;
}
[dir] .card-container.thermostat .body .tab-temp .temp-setup .temp-change {
    text-align: center;
    -webkit-transition: opacity 0.3s;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto {
    cursor: pointer;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change {
    font-size: 30px;
    line-height: 30px;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-change.active,
.card-container.thermostat .body .tab-temp .temp-setup .temp-change:hover:not(.disabled) {
    -ms-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-change i {
    line-height: 120px;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change i {
    line-height: 30px;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-change.active:active i {
    font-size: 100px;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.active:active i {
    font-size: 20px;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup .temp-change.disabled:hover {
    cursor: default;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-change.disabled:active i {
    font-size: inherit;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.disabled:active i {
    font-size: 30px;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup .temp-change:hover {
    cursor: pointer;
}

[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-minus {
    left: 0px;
}

[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-minus {
    right: 0px;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-minus {
    color: #59C5F0 !important;
}

/* Pool Controllers (subtype of thermostat) */
.card-container.thermostat.pool .body.not-malfunction .status-options .status span {
    font-size: 12px;
}

.card-container.thermostat.pool .body .tab-temp .temp-setup .temp-change.temp-minus,
.card-container.thermostat.pool .body .tab-temp .temp-setup.temp-setup-auto .high .temp-change,
.card-container.thermostat.pool .status-icon .cool,
.card-container.thermostat.pool .status-icon .auto {
    /* Pool controllers cards only have orange accents */
    color: #F29E63 !important;
}

.card-container.thermostat.pool .body.not-malfunction .status-icon i.cool.adc-cool,
.card-container.thermostat.pool .body.not-malfunction .status-icon div.auto.icon-stack {
    /* Don't show the cool/auto icons for pool controllers */
    display: none;
}

.card-container.thermostat:not(.pool) .body.not-malfunction .status-icon .adc-heat:not(.heat):not(.aux-heat) {
    /* Don't show the extra heat icon for normal thermostats */
    display: none;
}


.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.temp-minus {
    position: absolute;
}


[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.temp-minus {
    left: 0;
}


[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.temp-minus {
    right: 0;
}

[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-plus {
    right: 0px;
}

[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-plus {
    left: 0px;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-plus {
    color: #F29E63 !important;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.temp-plus {
    position: absolute;
}

[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.temp-plus {
    right: 0;
}

[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.temp-plus {
    left: 0;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change {
    color: #888 !important;
    z-index: 1;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.active {
    transition: all 0.3s ease-in-out;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change.active {
    -webkit-transition: all 0.3s ease-in-out;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .low .temp-change {
    color: #F29E63 !important;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .high .temp-change {
    color: #59C5F0 !important;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .low .temp-change.temp-plus,
.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .high .temp-change.temp-minus {
    -ms-opacity: 0.5;
    opacity: 0.5;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .low .temp-change.temp-plus.active,
.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .low .temp-change.temp-plus:hover,
.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .high .temp-change.temp-minus.active,
.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .high .temp-change.temp-minus:hover {
    -ms-opacity: 0.8;
    opacity: 0.8;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp-change i {
    font-weight: bold;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-minus.disabled,
.card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-plus.disabled {
    color: #e5e5e5 !important;
    transition: all 0.3s ease-in-out;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-minus.disabled, [dir] .card-container.thermostat .body .tab-temp .temp-setup .temp-change.temp-plus.disabled {
    -webkit-transition: all 0.3s ease-in-out;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-change {
    transition: all 0.3s ease-in-out;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup .temp-change {
    -webkit-transition: all 0.3s ease-in-out;
}

/* end arrows */

.card-container.thermostat .body .tab-temp .temp-setup .temp-display {
    display: inline-block;
    position: absolute;
    top: 3px;
    width: 160px;
}

[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup .temp-display {
    left: 50%;
    margin-left: -78px;
}

[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup .temp-display {
    right: 50%;
    margin-right: -78px;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup .temp-display:hover {
    cursor: pointer;
}

[dir] .card-container.thermostat.off .body .tab-temp .temp-setup .temp-display:hover {
    cursor: default;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-display .temp,
.card-container.thermostat .body .tab-temp .temp-setup .current-temp-range {
    color: #555;
    display: block;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-display .temp.current-temp-setpoint,
.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp.current-temp-setpoint {
    font-size: 20px;
    height: 24px;
    line-height: 24px;
    position: relative;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-display .temp.current-temp-setpoint {
    top: 5px;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp.current-temp-setpoint {
    font-size: 24px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    position: absolute;
    width: 100%;
}

[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp.current-temp-setpoint {
    left: 0;
}

[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .temp.current-temp-setpoint {
    right: 0;
}

.card-container.thermostat .body .tab-temp .temp-setup .temp-display .temp.current-temp-ambient {
    font-size: 80px;
    height: 80px;
    line-height: 80px;
    width: 100%;
    position: relative;
}


/* remove transition time from the inside when we are shoting the temp */
.card-container.thermostat .body .tab-temp .temp-setup .temp-display.show-setpoint .flip-container * {
    -webkit-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -o-transition-duration: 0s;
}
[dir] .card-container.thermostat .body .tab-temp .temp-setup .temp-display.show-setpoint .flip-container * {
    transition-duration: 0s;
}

.card-container.thermostat .body .tab-temp .temp-setup .desc {
    color: #555;
    font-size: 14px;
    line-height: 16px;
    position: relative;
}

.card-container.thermostat .body .tab-temp .temp-setup .desc.ambient-desc {
    top: 5px;
}

.card-container.thermostat .body .tab-temp .temp-setup .desc.setpoint-desc {
    font-size: 12px;
    top: 5px;
}

.card-container.thermostat .body.not-malfunction .status-options {
    bottom: 0;
    font-size: 14px;
    height: 80px;
    position: absolute;
    width: 100%;
    vertical-align: bottom;
    /*border-top: 1px solid #e5e5e5;*/
}

[dir] .card-container.thermostat .body.not-malfunction .status-options {
    text-align: center;
    padding: 5px;
}

[dir=ltr] .card-container.thermostat .body.not-malfunction .status-options {
    left: 0;
}

[dir=rtl] .card-container.thermostat .body.not-malfunction .status-options {
    right: 0;
}

.card-container.thermostat .body.not-malfunction .status-options * {
    transition: all 0.3s ease-in-out, background 1ms;
}

[dir] .card-container.thermostat .body.not-malfunction .status-options * {
    -webkit-transition: all 0.3s ease-in-out, background 1ms;
}

.card-container.thermostat .body.not-malfunction .status-options .thermostat-off {
    display: none;
    height: 70px;
    line-height: 70px;
    font-size: 1.8em;
    vertical-align: middle;
}

.card-container.thermostat .body.not-malfunction .status-options .col-xs-4 .thermostat-off {
    line-height: normal;
}

.card-container.thermostat.off .body.not-malfunction .status-options .thermostat-on {
    display: none;
}

.card-container.thermostat.off .body.not-malfunction .status-options .thermostat-off {
    display: block;
}

.card-container.thermostat .body.not-malfunction .temp-display .thermostat-off {
    display: none;
}

.card-container.thermostat.off .body.not-malfunction .temp-display .thermostat-off {
    display: block;
    bottom: auto;
    color: #888;
    font-size: 14px;
    height: 55px;
    line-height: 22px;
    position: absolute;
    width: 100%;
    vertical-align: bottom;
}

[dir] .card-container.thermostat.off .body.not-malfunction .temp-display .thermostat-off {
    text-align: center;
}

[dir=ltr] .card-container.thermostat.off .body.not-malfunction .temp-display .thermostat-off {
    left: 0;
}

[dir=rtl] .card-container.thermostat.off .body.not-malfunction .temp-display .thermostat-off {
    right: 0;
}

html[data-language="fr"] .card-container.thermostat.off .status-options .thermostat-off {
    font-size: 20px;
}

[dir=ltr] .card-container.thermostat.off .body.not-malfunction .temp-display .thermostat-off i {
    padding-right: 3px;
}

[dir=rtl] .card-container.thermostat.off .body.not-malfunction .temp-display .thermostat-off i {
    padding-left: 3px;
}

.card-container.thermostat .body.not-malfunction .status-options > div .status,
.card-container.thermostat .body.not-malfunction .status-options > div .status-icon {
    -ms-opacity: 0.8;
    opacity: 0.8;
}

.card-container.thermostat .body.not-malfunction .status-options > div:hover .status,
.card-container.thermostat .body.not-malfunction .status-options > div:hover .status-icon,
.card-container.thermostat .body.not-malfunction .status-options > div.active .status,
.card-container.thermostat .body.not-malfunction .status-options > div.active .status-icon {
    -ms-opacity: 1;
    opacity: 1;
}

[dir] .card-container.thermostat .body.not-malfunction .status-options > div:hover, [dir] .card-container.thermostat .body.not-malfunction .status-options > div.active {
    background-color: #ebebeb;
}

.card-container.thermostat .body.not-malfunction .status-options .col-xs-4,
.card-container.thermostat .body.not-malfunction .status-options .col-xs-6,
.card-container.thermostat .body.not-malfunction .status-options .col-xs-12 {
    height: 70px;
}

[dir=ltr] .card-container.thermostat .body.not-malfunction .status-options .col-xs-4, [dir=ltr] .card-container.thermostat .body.not-malfunction .status-options .col-xs-6, [dir=ltr] .card-container.thermostat .body.not-malfunction .status-options .col-xs-12 {
    border-left: 1px solid #e5e5e5;
}

[dir=rtl] .card-container.thermostat .body.not-malfunction .status-options .col-xs-4, [dir=rtl] .card-container.thermostat .body.not-malfunction .status-options .col-xs-6, [dir=rtl] .card-container.thermostat .body.not-malfunction .status-options .col-xs-12 {
    border-right: 1px solid #e5e5e5;
}

[dir=ltr] .card-container.thermostat .body.not-malfunction .status-options .temp {
    border-left: none;
}

[dir=rtl] .card-container.thermostat .body.not-malfunction .status-options .temp {
    border-right: none;
}

.card-container.thermostat .body.not-malfunction .status-options .status-header {
    font-size: 11px;
    color: #090909;
}

[dir] .card-container.thermostat .body.not-malfunction .status-options .status-header {
    padding-top: 3px;
}

.card-container.thermostat .body.not-malfunction .status-options .status {
    line-height: 22px;
}

html[data-language="fr"] .card-container.thermostat .body.not-malfunction .status-options .temp.col-xs-4 .status .cool {
    font-size: 12px;
}

.card-container.thermostat .body.not-malfunction .status-options .status span {
    font-size: 14px;
    font-weight: 400;
    display: none;
}

.card-container.thermostat .body.not-malfunction .status-options .status-icon * {
    display: none;
}

.card-container.thermostat .body.not-malfunction .status-options .status-icon i {
    font-size: 27px;
}

[dir=ltr] .card-container.thermostat .body.not-malfunction .status-options .status-icon i {
    left: 0;
}

[dir=rtl] .card-container.thermostat .body.not-malfunction .status-options .status-icon i {
    right: 0;
}

.dropdown-list-menu.thermostat-fan-select-menu li[data-list-item-value="fan-on"].dropdown-list-item {
    display: none;
}


.dropdown-list-menu.thermostat-fan-select-menu li[data-list-item-value="fan-circulate"].dropdown-list-item {
    display: none;
}

.dropdown-list-menu.thermostat-fan-select-menu.circulate-enabled li[data-list-item-value="fan-circulate"].dropdown-list-item {
    display: list-item;
}

.dropdown-list-menu.thermostat-fan-select-menu.fan-on-control-enabled li[data-list-item-value="fan-on"].dropdown-list-item {
    display: list-item;
}

html[data-language="fr"] .dropdown-list-menu.thermostat-temp-select-menu.width-4 li[data-list-item-value="cool"].dropdown-list-item {
    font-size: 11px;
}

html[dir=ltr][data-language="fr"] .dropdown-list-menu.thermostat-temp-select-menu.width-4 li[data-list-item-value="cool"].dropdown-list-item {
    padding-left: 0;
    padding-right: 0;
}

html[dir=rtl][data-language="fr"] .dropdown-list-menu.thermostat-temp-select-menu.width-4 li[data-list-item-value="cool"].dropdown-list-item {
    padding-right: 0;
    padding-left: 0;
}

/* status displays */
.card-container.thermostat.heat .body.not-malfunction .status-options .temp .heat,
.card-container.thermostat.cool .body.not-malfunction .status-options .temp .cool,
.card-container.thermostat.auto .body.not-malfunction .status-options .temp .auto,
.card-container.thermostat.auto .body.not-malfunction .status-options .temp .auto *,
.card-container.thermostat.aux-heat .body.not-malfunction .status-options .temp .aux-heat,
.card-container.thermostat.off .body.not-malfunction .status-options .temp .off,
.card-container.thermostat.schedules-on .body.not-malfunction .status-options .schedule .schedules-on,
.card-container.thermostat.no-schedules .body.not-malfunction .status-options .schedule .schedules-off,
.card-container.thermostat.schedules-basic .body.not-malfunction .status-options .schedule .schedules-basic,
.card-container.thermostat.schedules-smart .body.not-malfunction .status-options .schedule .schedules-smart,
.card-container.thermostat.fan-on .body.not-malfunction .status-options .fan .fan-on,
.card-container.thermostat.fan-circulate .body.not-malfunction .status-options .fan .fan-circulate,
.card-container.thermostat.fan-auto .body.not-malfunction .status-options .fan .fan-auto {
    display: inline-block;
}

[dir] .card-container.thermostat:not(.fan-circulate):not(.fan-auto):not(.fan-on) .body.not-malfunction .status-options .fan .status-icon {
    margin-top: 10px;
}

.card-container.thermostat:not(.fan-circulate):not(.fan-auto):not(.fan-on) .body.not-malfunction .status-options .fan i.fan-on { /*default icon when fan status unknown*/
    display: inline-block;
}

[dir] .card-container.thermostat .status-icon {
    margin-top: 3px;
}

.card-container.thermostat .status-icon .heat,
.card-container.thermostat .status-icon .aux-heat {
    color: #F29E63;
}

.card-container.thermostat .status-icon .cool {
    color: #59C5F0;
}

.card-container.thermostat .status-icon .auto .adc-thermostat-auto-1 {
    color: #F29E63;
}

.card-container.thermostat .status-icon .auto .adc-thermostat-auto-2 {
    color: #59C5F0;
}

.card-container.thermostat .status-icon .schedules-smart {
    color: #419E6E;
}

.card-container.thermostat .status-icon .off {
    color: #cccccc;
}

.card-container.thermostat .status-icon .schedules-basic
/*.card-container.thermostat .status-icon .schedules-smart*/ {
    color: #666666;
}

.card-container.thermostat .status-icon .schedules-off {
    color: #cccccc;
}

.card-container.thermostat .status-icon .fan-auto {
    color: #666666;
}

.card-container.thermostat .status-icon .fan-on {
    color: #666666;
}

.card-container.thermostat .status-icon .fan-circulate {
    color: #666666;
}

/* indicators */
.card .body .status-indicators {
    bottom: 0;
    color: #888;
    font-size: 14px;
    height: 55px;
    line-height: 22px;
    position: absolute;
    width: 100%;
    vertical-align: bottom;
}
[dir] .card .body .status-indicators {
    text-align: center;
}
[dir=ltr] .card .body .status-indicators {
    left: 0;
}
[dir=rtl] .card .body .status-indicators {
    right: 0;
}

.card .body .status-indicators .indicator {
    box-sizing: border-box;
}

[dir] .card .body .status-indicators .indicator {
    padding: 15px 20px;
}

.card .body .status-indicators .indicator i {
    display: inline-block;
    width: 20px;
}

[dir] .card .body .status-indicators .indicator i {
    text-align: center;
}

.card-container.thermostat .setting-wrap .edit-link {
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.card-container.thermostat .setting-wrap .edit-link span:after {
    display: inline;
    line-height: normal;
    vertical-align: baseline;
    font-family: FontAwesome !important;
    content: "\f054";
}

[dir] .card-container.thermostat .setting-wrap .edit-link span:after {
    background-image: none;
    background-repeat: repeat;
}

[dir=ltr] .card-container.thermostat .setting-wrap .edit-link span:after {
    background-position: 0 0;
}

[dir=rtl] .card-container.thermostat .setting-wrap .edit-link span:after {
    background-position: 100% 0;
}

.card-container.thermostat .body .tab-temp .temp-setup .current-temp-setpoint-wrapper {
    position: relative;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper .desc.setpoint-desc {
    top: 100%;
    width: 100%;
    position: absolute;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper .desc.setpoint-desc {
    text-align: center;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper {
    display: inline-block;
    position: absolute;
    width: 100px;
    height: 30px;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper span {
    -ms-opacity: 1;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper span {
    -webkit-transition: all 0.3s ease-in-out;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper.transparent span {
    -ms-opacity: 0.6;
    opacity: 0.6;
    transition: all 0.3s ease-in-out;
}

[dir] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper.transparent span {
    -webkit-transition: all 0.3s ease-in-out;
}

[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper.low {
    right: 140px;
}

[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper.low {
    left: 140px;
}

[dir=ltr] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper.high {
    left: 140px;
}

[dir=rtl] .card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-setpoint-wrapper.high {
    right: 140px;
}

.card-container.thermostat .body .tab-temp .temp-setup.temp-setup-auto .current-temp-range {
    display: block;
    position: relative;
    width: 100%;
    bottom: -100px;
    height: 30px;
    line-height: 30px;
}



/*
*	Settings/Mode
*/
.card .body .settings-form,
.card-container.thermostat .body .tab-mode {
    font-size: 14px;
}
[dir] .card .body .settings-form, [dir] .card-container.thermostat .body .tab-mode {
    margin-top: 0px;
}
[dir=ltr] .card .body .settings-form, [dir=ltr] .card-container.thermostat .body .tab-mode {
    text-align: left;
}
[dir=rtl] .card .body .settings-form, [dir=rtl] .card-container.thermostat .body .tab-mode {
    text-align: right;
}

[dir] .card .body .settings-form .tab-title {
    padding-bottom: 15px;
    padding-top: 0;
}

.card .body .settings-form .setting-wrap {
    box-sizing: border-box;
    line-height: 1em;
}

[dir] .card .body .settings-form .setting-wrap {
    padding: 0 20px;
}

[dir] .card .body .settings-form .setting-wrap .row-fluid {
    border-bottom: 1px solid #EAEAEA;
    padding: 10px 0;
}

[dir] .thermostat .card .body .settings-form .setting-wrap .row-fluid {
    border-bottom: 0;
}

[dir] .card .body .settings-form .setting-wrap.action .row-fluid {
    border-bottom: 0;
}

[dir] .card .body .settings-form .setting-wrap .row-fluid input, [dir] .card .body .settings-form .setting-wrap .row-fluid textarea {
    margin: 0;
}

[dir=ltr] .card .body .settings-form .setting-wrap .description {
    padding-left: 10px;
}

[dir=rtl] .card .body .settings-form .setting-wrap .description {
    padding-right: 10px;
}

.card-container.thermostat .malfunction-wrapper .updating {
    font-size: 14px;
    line-height: 30px;
}

[dir] .card-container.thermostat .mode-action {
    text-align: center;
}

[dir=ltr] .card-container.thermostat .links {
    text-align: left;
}

[dir=rtl] .card-container.thermostat .links {
    text-align: right;
}
/* Temperature Sensors */

.card-container.temperature-sensors .body,
.temperature-sensors .card.card-front .body {
    max-height: 265px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

[dir] .card-container.temperature-sensors .body, [dir] .temperature-sensors .card.card-front .body {
    margin-top: -8px;
}

.card-container.temperature-sensors .card.card-front .body .title-bar {
    font-size: 12px;
    font-weight: bold;
    height: 40px;
}

[dir] .card-container.temperature-sensors .card.card-front .body .title-bar {
    background-color: #EAEAEA;
}

.card-container.temperature-sensors .card.card-front .body .item.status-indicator.active-device {
    color: #555555;
    font-weight: bold;
}

.card-container.temperature-sensors .card.card-front .body .item.status-indicator.inactive-device i{
    color: #C6C6C6;
    font-weight: normal;
}

.card-container.temperature-sensors .card.card-front .body .item.status-indicator.inactive-device {
    font-weight: normal;
}

.card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-border { /* Overriding last-child check since these are above the items */
}

[dir] .card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-border {
    border-bottom: 1px solid #e5e5e5;
    padding-top: 0;
    margin: 0 0 5px 0;
}

.card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-border.parent {
    width: 300px;
}

[dir] .card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-border.parent {
    border-bottom: 0;
    border-top: 5px #E5E5E5 solid;
    margin-bottom: 0;
    padding-top: 5px;
}

[dir=ltr] .card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-border.parent {
    margin-left: -10px;
}

[dir=rtl] .card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-border.parent {
    margin-right: -10px;
}

.card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-title {
    width: 100%;
}

[dir=ltr] .card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-title {
    left: 0;
}

[dir=rtl] .card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-title {
    right: 0;
}

.card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-title .device-name-container {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[dir=ltr] .card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-title .device-name.child {
    padding: 0 0 0 20px;
}

[dir=rtl] .card-container.temperature-sensors .card.card-front .body .item.status-indicator .item-title .device-name.child {
    padding: 0 20px 0 0;
}

.card-container.temperature-sensors .card.card-front .body .adc-battery-0,
.card-container.temperature-sensors .card.card-front .body .adc-battery-25 {
    font-size: 24px;
    color: #DB6963;
    vertical-align: middle;
}

.card-container.temperature-sensors .card.card-front .body .icon {
    line-height: 30px;
    font-size: 18px;
}

[dir=ltr] .card-container.temperature-sensors .card.card-front .body .icon.icon-question-sign {
    padding-left: 3px;
}

[dir=rtl] .card-container.temperature-sensors .card.card-front .body .icon.icon-question-sign {
    padding-right: 3px;
}

.card-container.temperature-sensors .card.card-front .body .icon.icon-warning-sign {
    color: #E48A49 !important;
}

[dir=ltr] .card-container.temperature-sensors .card.card-front .body .icon.icon-warning-sign {
    padding-left: 1px;
}

[dir=rtl] .card-container.temperature-sensors .card.card-front .body .icon.icon-warning-sign {
    padding-right: 1px;
}

.card-container.temperature-sensors .card.card-front .body .temp-data:after {
    content: '\00b0';
}

.card-container.temperature-sensors .card.card-back .body.settings {
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.card-container.temperature-sensors .card.card-back .body.settings .icon.device-type {
    font-size: large;
    line-height: 28px;
}

.card-container.temperature-sensors .card.card-back .action.action-bar {
    position: absolute;
    height: 54px;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

[dir] .card-container.temperature-sensors .card.card-back .action.action-bar {
    background-color: white;
    padding: 10px 0 10px 0;
    border-top: 1px solid #EAEAEA;
}

[dir=ltr] .card-container.temperature-sensors .card.card-back .action.action-bar {
    left: 0;
}

[dir=rtl] .card-container.temperature-sensors .card.card-back .action.action-bar {
    right: 0;
}

/*
* video
*/
.card-container.video .card-front .body {
    height: 210px;
}
[dir] .card-container.video .card-front .body {
    text-align: center;
}

.card-container.video .card-front .body img {
    position: absolute;
    top: 10px;
}

[dir] .card-container.video .card-front .body img {
    margin: 0;
}

[dir=ltr] .card-container.video .card-front .body img {
    left: 5px;
}

[dir=rtl] .card-container.video .card-front .body img {
    right: 5px;
}

.card-container.video .card-front .body .live-video-connecting {
    width: 100%;
}

[dir] .card-container.video .card-front .body .live-video-connecting {
    text-align: center;
}

[dir=ltr] .card-container.video .card-front .body .live-video-connecting {
    float: left;
}

[dir=rtl] .card-container.video .card-front .body .live-video-connecting {
    float: right;
}

.card-container.video .card-front .body .live-video-connecting .connecting-text {
    display: block;
    font-size: 14px;
}

[dir] .card-container.video .card-front .body .live-video-connecting .connecting-text {
    clear: both;
    margin-top: 20px;
}

.card-container.video .card-front .body .live-video-connecting i.icon-spinner {
    color: #aaa;
    display: block;
    font-size: 60px;
}

[dir] .card-container.video .card-front .body .live-video-connecting i.icon-spinner {
    margin-top: 70px;
}

/* hide the back part */
.card-container.video .card-front .body img.live-video,
.card-container.video .card-front .body img.live-video-back {
    visibility: hidden;
}

[dir] .card-container.video .card-front .icons.action {
    margin-top: 15px;
    text-align: center;
}

.card-container.video .card-front .icons.action i {
    display: inline-block;
}

.card-container.video.loading .icons.action .video-play,
.card-container.video.loading .icons.action .video-stop,
.card-container.video .icons.action .video-stop {
    display: none;
}

.card-container.video.playing .icons.action .video-stop {
    display: inline-block;
}

.card-container.video.playing .icons.action .video-play {
    display: none;
}

/* paused tag */
.card-container.video .video-paused-tag {
    color: #F29E63;
    display: none;
    position: absolute;
    top: 10px;
}
[dir] .card-container.video .video-paused-tag {
    background-color: #000;
}
[dir=ltr] .card-container.video .video-paused-tag {
    padding-left: 10px;
    padding-right: 10px;
    right: 5px;
}
[dir=rtl] .card-container.video .video-paused-tag {
    padding-right: 10px;
    padding-left: 10px;
    left: 5px;
}

.card-container.video.initial-image-loaded .video-paused-tag {
    display: inline-block;
}

.card-container.video.playing .video-paused-tag {
    display: none;
}

/*
*	End Video
*/


/*
*	Locks + similar devices
*/
[dir] .card-container.arming .body, [dir] .card-container.lock .body, [dir] .card-container .body.status {
    background-color: inherit;
    text-align: center;
    padding-top: 20px;
}

.card-container.arming .body .arming-status,
.card-container.lock .body .lock-status .card-container .body.status .device-status {
    display: inline-block;
    font-size: inherit;
    height: inherit;
    line-height: inherit;
    -moz-min-width: 200px;
    -ms-min-width: 200px;
    -o-min-width: 200px;
    -webkit-min-width: 200px;
    min-width: 200px;
    vertical-align: middle;
}

[dir] .card-container.arming .body .arming-status, [dir] .card-container.lock .body .lock-status .card-container .body.status .device-status {
    background-color: inherit;
    text-align: center;
}

.card .status-since {
    font-size: 16px;
    height: 30px;
    line-height: 24px;
    position: relative;
    z-index: 450;
}

[dir] .card .status-since {
    background-color: inherit;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

[dir] .card .status-since:hover {
    cursor: pointer;
}

/* if the card is processing, status since should not be shown because we do not know if it took effect */
.card.processing .status-since,
.card.processing .status-since-time-wrap,
.card-container.processing .status-since,
.card-container.processing .status-since-time-wrap {
    display: none;
}

.card .slide-handle {
    bottom: 0;
    color: #ccc;
    font-size: 28px;
    height: 30px;
    position: absolute;
    width: 100%;
    z-index: 451;
}

[dir=ltr] .card .slide-handle {
    left: 0;
}

[dir=rtl] .card .slide-handle {
    right: 0;
}

html.modernizr-no-touch .card .slide-handle:hover {
    color: #666;
}

html[dir].modernizr-no-touch .card .slide-handle:hover {
    cursor: pointer;
}

.card.show-action-buttons .slide-handle,
.card-container.show-action-buttons .slide-handle {
    color: #666;
}

.card .slide-handle i {
    display: inline-block;
    position: relative;
    top: 5px;
}

[dir] .card-container.arming .body .arming-status i:hover, [dir] .card-container.lock .body .lock-status i:hover .card-container .body.status .device-status i:hover {
    cursor: pointer;
}

.card-container.lock .body .lock-status i,
.card-container .body.status .device-status i {
    display: inline-block;
}

/* default statuses */
.card-container .body.status a.device-status,
.card-container.lock a.lock-status {
    color: #999 !important;
    display: none;
    text-decoration: none !important;
}

.card-container .body.status a.device-status.closed,
.card-container.lock a.lock-status.locked {
    color: #DB6963 !important;
}

.card-container .body.status a.device-status.open,
.card-container.lock a.lock-status.unlocked {
    color: #419E6E !important;
    display: none;
}

/* open/unlocked */
.card-container.open .body.status a.device-status.open,
.card-container.lock.unlocked a.lock-status.unlocked {
    display: inline-block;
}

.card-container.open .body.status a.device-status.locked,
.card-container.lock.unlocked a.lock-status.locked {
    display: none;
}

/* locked */
.card-container.closed .body.status a.device-status.open,
.card-container.lock.locked a.lock-status.unlocked {
    display: none;
}

.card-container.closed .body.status a.device-status.closed,
.card-container.lock.locked a.lock-status.locked {
    display: inline-block;
}

/* status text */
.card-container .status-since .status-text {
    display: none;
}

/* closed/locked */
.card-container.closed .status-since,
.card-container.lock.locked .status-since {
    color: #DB6963;
}

.card-container.closed .status-since .status-text.closed,
.card-container.lock.locked .status-since .status-text.locked {
    display: inline;
}

/* open/unlocked */
.card-container.open .status-since,
.card-container.lock.unlocked .status-since {
    color: #419E6E;
}

.card-container.open .status-since .status-text.open,
.card-container.lock.unlocked .status-since .status-text.unlocked {
    display: inline;
}


/*
*	Icons
*/
.card-container.lock .info.icons {
    font-size: 40px;
}

.card-container.lock .info.icons.malfunction {
    display: none;
    width: 100%;
}

.card-container.lock.malfunction .info.icons.malfunction {
    display: block;
}

[dir] .card-container.lock.malfunction .info.icons.malfunction {
    margin-top: 10px;
}

.card .icons.popup {
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 2px 10px 1px #444;
    -moz-box-shadow: inset 0 2px 10px 1px #444;
    -ms-box-shadow: inset 0 2px 10px 1px #444;
    display: none;
    height: 0;
    -ms-opacity: 1;
    opacity: 1;
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 350;
    display: block;
    height: 110px;
}

[dir] .card .icons.popup {
    background-color: #666;
    box-shadow: inset 0 2px 10px 1px #444;
    margin: 0;
    padding: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

[dir=ltr] .card .icons.popup {
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

[dir=rtl] .card .icons.popup {
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

[dir] .card-with-flip .card .icons.popup {
    margin: 1px;
}

/*
*	Icons - card specific
*/
.card-container.lock.locked .icons.popup .action.lock,
.card-container.closed .icons.popup .action.device-close,
.card-container.closing .icons.popup .action.device-close {
    display: none;
}

.card-container.lock.unlocked .icons.popup .action.unlock,
.card-container.open .icons.popup .action.device-open,
.card-container.opening .icons.popup .action.device-open {
    display: none;
}

/*
*	Garage status
*/
.card-container.garage-door .body.status .device-status.opening {
    color: #419E6E !important;
}

.card-container.garage-door .body.status .device-status.closing {
    color: #DB6963 !important;
}

.card-container.garage-door.opening .body.status .device-status.opening {
    display: block;
}

.card-container.garage-door.closing .body.status .device-status.closing {
    display: block;
}

/* have to handle states closing and opening */
.card-container.garage-door.opening .status-since,
.card-container.garage-door.closing .status-since {
    display: block;
}

.card-container.garage-door.opening .status-since .status-text.opening,
.card-container.garage-door.closing .status-since .status-text.closing {
    display: inline;
}

/*
*	Arming
*/
.card-container.arming .arming-status {
    color: #666;
}

/* PC still uses the status here */
.card-container.arming .title-bar .status-disarmed,
.card-container.arming .title-bar .status-armed-stay,
.card-container.arming .title-bar .status-armed-away {
    display: none;
}

.card-container.arming.disarmed .title-bar .status-disarmed,
.card-container.arming.armed-stay .title-bar .status-armed-stay,
.card-container.arming.armed-away .title-bar .status-armed-away {
    display: inline;
}

.card-container.arming .body .arming-status {
    display: inline-block;
}

.card-container.arming.disarmed .arming-status .status.disarmed {
    display: inline-block;
}

.card-container.arming.armed-stay .arming-status .status.armed-stay {
    display: inline-block;
}

.card-container.arming.armed-away .arming-status .status.armed-away {
    display: inline-block;
}

.card-container.arming .body .arming-status .alarm,
.card-container.arming .body .arming-status .silent-alarm,
.card-container.arming .body .arming-status .duress-alarm,
.card-container.arming .body .arming-status .status,
.card-container.arming.alarm .body .arming-status .status,
.card-container.arming.silent-alarm .body .arming-status .status,
.card-container.arming.duress-alarm .body .arming-status .status {
    display: none;
}

/* alarm icon enables */
.card-container.arming.alarm .body .arming-status .alarm,
.card-container.arming.silent-alarm .body .arming-status .silent-alarm,
.card-container.arming.duress-alarm .body .arming-status .silent-alarm {
    display: inline-block;
}

/* hide the regular alarm icon if it is duress/silent */
.card-container.arming.silent-alarm .body .arming-status .alarm,
.card-container.arming.duress-alarm .body .arming-status .alarm {
    display: none;
}

.card-container.arming.alarm.silent-alarm .body .arming-status .silent-alarm,
.card-container.arming.alarm.duress-alarm .body .arming-status .silent-alarm {
    display: inline-block;
}

.card-container.arming.disarmed .icons.popup .action.disarm {
    display: none;
}

/* status text */
.card-container.arming .status-since .status-since-normal,
.card-container.arming .status-since .status-since-alarm,
.card-container.arming .status-since .status-since-silent-alarm,
.card-container.arming .status-since .status-since-duress-alarm {
    display: none;
}

/* status text enables */
.card-container.arming.disarmed .status-since .status-since-normal,
.card-container.arming.armed-stay .status-since .status-since-normal,
.card-container.arming.armed-away .status-since .status-since-normal,
.card-container.arming.alarm .status-since .status-since-alarm,
.card-container.arming.silent-alarm .status-since .status-since-silent-alarm,
.card-container.arming.duress-alarm .status-since .status-since-duress-alarm {
    display: block;
}

/* in alarms the normal text should not show */
.card-container.arming.alarm .status-since .status-since-normal,
.card-container.arming.silent-alarm .status-since .status-since-normal,
.card-container.arming.duress-alarm .status-since .status-since-normal {
    display: none;
}

.card-container.arming .status-since .status-since-normal .status-text {
    display: none;
}

.card-container.arming.disarmed .status-since .status-since-normal .status-text.disarmed,
.card-container.arming.armed-stay .status-since .status-since-normal .status-text.armed-stay,
.card-container.arming.armed-away .status-since .status-since-normal .status-text.armed-away {
    display: inline;
}

/* status text colors */
.card-container.arming.disarmed .status-since {
    color: #419E6E;
}

.card-container.arming.armed-stay .status-since {
    color: #F29E63;
}

.card-container.arming.armed-away .status-since {
    color: #DB6963;
}

/* if there is more than 1 alarm, have to adjust the sizes of the text and placement */
/* 2 alarms */
.card-container.arming.alarm.silent-alarm .status-since,
.card-container.arming.silent-alarm.duress-alarm .status-since,
.card-container.arming.alarm.duress-alarm .status-since {
    font-size: 14px;
    line-height: 20px;
}
[dir] .card-container.arming.alarm.silent-alarm .status-since, [dir] .card-container.arming.silent-alarm.duress-alarm .status-since, [dir] .card-container.arming.alarm.duress-alarm .status-since {
    margin-top: -10px;
}

/* all 3 alarms */
.card-container.arming.alarm.silent-alarm.duress-alarm .status-since {
    font-size: 12px;
    line-height: 16px;
}
[dir] .card-container.arming.alarm.silent-alarm.duress-alarm .status-since {
    margin-top: -20px;
}

/* end status text */

/* action buttons */
.card-container.arming .icons.popup .btn {
    display: none;
}

/* display arming buttons for the appropriate states */
.card-container.arming.armed-away .icons.popup .action.disarm,
.card-container.arming.armed-stay .icons.popup .action.disarm,
.card-container.arming.disarmed .icons.popup .action.arm-away,
.card-container.arming.disarmed .icons.popup .action.arm-stay {
    display: inline-block;
}

/* hide the arming buttons if it is any type of alarm */
.card-container.arming.alarm .icons.popup .btn.action,
.card-container.arming.alarm-old .icons.popup .btn.action,
.card-container.arming.silent-alarm .icons.popup .btn.action,
.card-container.arming.duress-alarm .icons.popup .btn.action {
    display: none;
}


/* if it is alarm, then show the disarm button */
.card-container.arming.alarm .icons.popup .action.disarm {
    display: inline-block;
}

/* but do not show the disarm button if it is any type of special alarm */
.card-container.arming.silent-alarm .icons.popup .action.disarm,
.card-container.arming.duress-alarm .icons.popup .action.disarm,
.card-container.arming.alarm-old .icons.popup .action.disarm {
    display: none;
}

/* if it is other types of alarm, then show those buttons */
.card-container.arming.silent-alarm .icons.popup .clear-alarm.silent-alarm,
.card-container.arming.duress-alarm .icons.popup .clear-alarm.duress-alarm,
.card-container.arming.alarm-old .icons.popup .clear-alarm.alarm-old {
    display: inline-block;
}

/* if it is old alarm, do not show buttons for silent and duress, because old clears everything */
.card-container.arming.alarm-old .icons.popup .clear-alarm.silent-alarm,
.card-container.arming.alarm-old .icons.popup .clear-alarm.duress-alarm {
    display: none;
}

[dir] .card-container.arming .icons.popup .clear-alarm {
    margin-top: 25px;
}


/* history feed stuff */
/* todo: this has to adjust according to the screen size - probably just do it directly in the responsive.css */
.card.wide2,
.enterprise-status-widget.wide2 {
    width: 630px;
}

.card.tall2 {
    height: 650px;
}

.card.no-style {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
}

[dir] .card.no-style {
    background: none;
    background-color: transparent;
    box-shadow: none;
}

/* responsive content */
@media (max-width: 630px) {
    [dir] .card, [dir] .card-container {
        margin-bottom: 20px;
    }
    [dir=ltr] .card, [dir=ltr] .card-container {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    [dir=rtl] .card, [dir=rtl] .card-container {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
}

@media (min-width: 1920px) {
    [dir=ltr] .card, [dir=ltr] .card-container {
        margin-left: 18px !important;
        margin-right: 18px !important;
    }
    [dir=rtl] .card, [dir=rtl] .card-container {
        margin-right: 18px !important;
        margin-left: 18px !important;
    }
}


/* responsive addons */
@media (max-width: 689px) {
    .card.responsive,
    .card-container.responsive {
        height: auto;
    }
    [dir] .card.responsive, [dir] .card-container.responsive {
        padding-bottom: 5px;
    }
}

/* helper classes */
@media (min-width: 768px) {
    .wide-sm-2 .card,
    .card-container.wide-sm-2 {
        width: 630px;
    }
}

@media (min-width: 992px) {
    .wide-md-2 .card,
    .card-container.wide-md-2 {
        width: 630px;
    }
}

@media (min-width: 1200px) {
    .wide-lg-2 .card,
    .card-container.wide-lg-2 {
        width: 630px;
    }
}

.wide-xs-auto.card,
.wide-xs-auto .card {
    overflow-y: auto;
}

.card.auto-height,
.card-container.auto-height,
.card-container.auto-height .card {
    height: auto;
}

.card.auto-shrink-height,
.card-container.auto-shrink-height,
.card-container.auto-shrink-height .card {
    height: auto;
    max-height: 310px;
}

.card {
    z-index: 1;
}

.card.no-shadow {
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    z-index: 0;
}

[dir] .card.no-shadow {
    box-shadow: none;
}

.card.wide2 {
    width: 630px;
}

.card.wide3 {
    width: 960px;
}

.card.tall2 {
    height: 650px;
}

.card.no-style {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
}

[dir] .card.no-style {
    background: none;
    background-color: transparent;
    box-shadow: none;
}

.card .body .infoMsgPanel {
    -ms-border-radius: 3px;
}

[dir] .card .body .infoMsgPanel {
    background-color: #e5e5e5;
    margin: 3px;
    border-radius: 3px;
    padding: 5px 10px 5px 10px;
}

[dir=ltr] .card .body .infoMsgPanel {
    text-align: left;
}

[dir=rtl] .card .body .infoMsgPanel {
    text-align: right;
}

.inactive {
    color: #ccc;
}

[dir] .disabled {
    cursor: default;
}

[dir] .not-allowed {
    cursor: not-allowed;
}
/*
*  Widget Cards
*  ----------------------------------------------
*/


/*
*  ----------------------------------------------
*  Page loading spinner
*/
body .page-loading-spinner {
    font-size: 60px;
    width: 100%;
}
[dir] body .page-loading-spinner {
    padding-top: 150px;
    padding-bottom: 150px;
    text-align: center;
}

/*
*  Page loading spinner
*  ----------------------------------------------
*/


/*
*  ----------------------------------------------
*  Animations (should always be last)
*/
/* faster spinning */
[dir=ltr] .icon-spin.icon-spin-2x {
    animation: spin 1s infinite linear;
}
[dir=rtl] .icon-spin.icon-spin-2x {
    animation: spin 1s infinite linear;
}

/* blinking animation */
[dir=ltr] .blink {
    animation: blink 1.5s steps(5, start) infinite;
}
[dir=rtl] .blink {
    animation: blink 1.5s steps(5, start) infinite;
}

.card .body.status.status-with-animation,
.card .body.status.status-with-animation .card-status,
.card .body.status.status-with-animation .status-since {
    transition: all 0.3s cubic-bezier(0,0,.58,1);
}

[dir] .card .body.status.status-with-animation, [dir] .card .body.status.status-with-animation .card-status, [dir] .card .body.status.status-with-animation .status-since {
    -webkit-transition: all 0.3s cubic-bezier(0,0,.58,1);
}

[dir=ltr] .remove-item-shrink-height {
    animation: shrinkHeight 500ms ease forwards;
}

[dir=rtl] .remove-item-shrink-height {
    animation: shrinkHeight 500ms ease forwards;
}

.card-container.thermostat .ellipsis i {
    -ms-opacity: 0;
    opacity: 0;
}

[dir=ltr] .card-container.thermostat .ellipsis i {
    animation: dot 4s infinite;
    animation-delay: 0.0s;
    animation-timing-function: ease-in-out;
}

[dir=rtl] .card-container.thermostat .ellipsis i {
    animation: dot 4s infinite;
    animation-delay: 0.0s;
    animation-timing-function: ease-in-out;
}

.card-container.thermostat .ellipsis i + i {
    -ms-opacity: 0;
    opacity: 0;
}

[dir=ltr] .card-container.thermostat .ellipsis i + i {
    animation: dot 4s infinite;
    animation-delay: 0.6s;
    animation-timing-function: ease-in-out;
}

[dir=rtl] .card-container.thermostat .ellipsis i + i {
    animation: dot 4s infinite;
    animation-delay: 0.6s;
    animation-timing-function: ease-in-out;
}

.card-container.thermostat .ellipsis i + i + i {
    -ms-opacity: 0;
    opacity: 0;
}

[dir=ltr] .card-container.thermostat .ellipsis i + i + i {
    animation: dot 4s infinite;
    animation-delay: 1.2s;
    animation-timing-function: ease-in-out;
}

[dir=rtl] .card-container.thermostat .ellipsis i + i + i {
    animation: dot 4s infinite;
    animation-delay: 1.2s;
    animation-timing-function: ease-in-out;
}

.card-container.arming.processing .arming-status,
.card-container.lock.processing .lock-status,
.card-container.processing .body.status .device-status,
.card-container.thermostat .malfunction-icon.processing {
    -ms-opacity: 1;
    opacity: 1;
}

[dir=ltr] .card-container.arming.processing .arming-status, [dir=ltr] .card-container.lock.processing .lock-status, [dir=ltr] .card-container.processing .body.status .device-status, [dir=ltr] .card-container.thermostat .malfunction-icon.processing {
    animation: processing 1.5s linear;
    animation-iteration-count: infinite;
}

[dir=rtl] .card-container.arming.processing .arming-status, [dir=rtl] .card-container.lock.processing .lock-status, [dir=rtl] .card-container.processing .body.status .device-status, [dir=rtl] .card-container.thermostat .malfunction-icon.processing {
    animation: processing 1.5s linear;
    animation-iteration-count: infinite;
}

.card-container.thermostat .status-options .processing .status,
.card-container.thermostat .status-options .processing .status-icon,
.card-container.thermostat .temp-setup .processing {
    -ms-opacity: 1;
    opacity: 1;
}

[dir=ltr] .card-container.thermostat .status-options .processing .status, [dir=ltr] .card-container.thermostat .status-options .processing .status-icon, [dir=ltr] .card-container.thermostat .temp-setup .processing {
    animation: dot 1.5s linear;
    animation-iteration-count: infinite;
}

[dir=rtl] .card-container.thermostat .status-options .processing .status, [dir=rtl] .card-container.thermostat .status-options .processing .status-icon, [dir=rtl] .card-container.thermostat .temp-setup .processing {
    animation: dot 1.5s linear;
    animation-iteration-count: infinite;
}

/* alarm animation */
.card-container.arming.alarm .body .arming-status,
.card-container.arming.silent-alarm .body .arming-status,
.card-container.arming.duress-alarm .body .arming-status {
    -ms-opacity: 0.1;
    opacity: 0.1;
}
[dir=ltr] .card-container.arming.alarm .body .arming-status, [dir=ltr] .card-container.arming.silent-alarm .body .arming-status, [dir=ltr] .card-container.arming.duress-alarm .body .arming-status {
    animation-duration: 1s;
    animation-name: alarm;
    animation-iteration-count: infinite;
}
[dir=rtl] .card-container.arming.alarm .body .arming-status, [dir=rtl] .card-container.arming.silent-alarm .body .arming-status, [dir=rtl] .card-container.arming.duress-alarm .body .arming-status {
    animation-duration: 1s;
    animation-name: alarm;
    animation-iteration-count: infinite;
}

.card-container.lights .storm {
    color: darkblue;
}

[dir=ltr] .card-container.lights .storm {
    animation: storm 15s;
}

[dir=rtl] .card-container.lights .storm {
    animation: storm 15s;
}

.card-container.lights .fireplace {
    color: gold;
}

[dir=ltr] .card-container.lights .fireplace {
    animation: fireplace 4s;
}

[dir=rtl] .card-container.lights .fireplace {
    animation: fireplace 4s;
}

.card-container.lights .color-loop {
    color: red;
}

[dir=ltr] .card-container.lights .color-loop {
    animation: colorloop 15s;
}

[dir=rtl] .card-container.lights .color-loop {
    animation: colorloop 15s;
}

.card-container.lights .aurora {
    color: orchid;
}

[dir=ltr] .card-container.lights .aurora {
    animation: aurora 30s;
}

[dir=rtl] .card-container.lights .aurora {
    animation: aurora 30s;
}

.card-container.lights .lpd {
    color: orange;
}

[dir=ltr] .card-container.lights .lpd {
    animation: lpd 0.24s;
}

[dir=rtl] .card-container.lights .lpd {
    animation: lpd 0.24s;
}

[dir] .tooltip-pointer {
    cursor: pointer;
}


@keyframes blink {
    to {
        visibility: hidden;
    }
}

@keyframes shrinkHeight {
    to {
        max-height: 0;
        opacity: 1;
        transform: scale(0.7);
    }

    from {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes processing {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.825;
    }

    50% {
        opacity: 0.65;
    }

    75% {
        opacity: 0.825;
    }

    100% {
        opacity: 1;
    }
}

@keyframes alarm {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes dot {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*
*  Animations (should always be last)
*  ----------------------------------------------
*/







/* ========================================================================
* bootstrap-tour - v0.9.3
* http://bootstraptour.com
* ========================================================================
* Copyright 2012-2013 Ulrich Sossou
*
* ========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================================
*/

.help-backdrop,
.help-backdrop-top,
.help-backdrop-left,
.help-backdrop-right,
.help-backdrop-bottom {
    display: none;
    position: fixed;
    z-index: 875;
    opacity: 0.3;
}

[dir] .help-backdrop, [dir] .help-backdrop-top, [dir] .help-backdrop-left, [dir] .help-backdrop-right, [dir] .help-backdrop-bottom {
    background-color: #000;
}

.help-backdrop {
    top: 0;
    bottom: 0;
}

[dir=ltr] .help-backdrop {
    right: 0;
    left: 0;
}

[dir=rtl] .help-backdrop {
    left: 0;
    right: 0;
}

.help-backdrop-top {
    top: 0;
}

[dir=ltr] .help-backdrop-top {
    right: 0;
    left: 0;
}

[dir=rtl] .help-backdrop-top {
    left: 0;
    right: 0;
}

[dir=ltr] .help-backdrop-left {
    left: 0;
}

[dir=rtl] .help-backdrop-left {
    right: 0;
}

[dir=ltr] .help-backdrop-right {
    right: 0;
}

[dir=rtl] .help-backdrop-right {
    left: 0;
}

.help-backdrop-bottom {
    bottom: 0;
}

[dir=ltr] .help-backdrop-bottom {
    right: 0;
    left: 0;
}

[dir=rtl] .help-backdrop-bottom {
    left: 0;
    right: 0;
}

.tour-step-backdrop {
    position: relative;
    z-index: 20001;
}

[dir] .tour-step-backdrop {
    background: inherit;
}

.tour-step-backdrop > td {
    position: relative;
    z-index: 20001;
}

.tour-step-background {
    position: absolute !important;
    z-index: 20000;
}

[dir] .tour-step-background {
    background: inherit;
    border-radius: 6px;
}

.popover[class*="tour-"] {
    z-index: 20000;
}

[dir] .popover[class*="tour-"] .popover-navigation {
    padding: 9px 14px;
}

[dir=ltr] .popover[class*="tour-"] .popover-navigation *[data-role="end"] {
    float: right;
}

[dir=rtl] .popover[class*="tour-"] .popover-navigation *[data-role="end"] {
    float: left;
}

[dir] .popover[class*="tour-"] .popover-navigation *[data-role="prev"], [dir] .popover[class*="tour-"] .popover-navigation *[data-role="next"], [dir] .popover[class*="tour-"] .popover-navigation *[data-role="end"] {
    cursor: pointer;
}

[dir] .popover[class*="tour-"] .popover-navigation *[data-role="prev"].disabled, [dir] .popover[class*="tour-"] .popover-navigation *[data-role="next"].disabled, [dir] .popover[class*="tour-"] .popover-navigation *[data-role="end"].disabled {
    cursor: default;
}

.popover[class*="tour-"].orphan {
    position: fixed;
}

[dir] .popover[class*="tour-"].orphan {
    margin-top: 0;
}

.popover[class*="tour-"].orphan .arrow {
    display: none;
}

.popover.tour {
    width: auto;
    max-width: 552px;
}

[dir] .popover.tour button.close {
    padding-top: 5px;
}

[dir=ltr] .popover.tour button.close {
    padding-right: 5px;
}

[dir=rtl] .popover.tour button.close {
    padding-left: 5px;
}

[dir] .popover.tour .popover-footer {
    text-align: center;
    margin: 5px;
}

.popover.tour .popover-footer button[data-role='end'] {
    display: none;
}

.popover.tour.end .popover-footer button[data-role='next'] {
    display: none;
}

.popover.tour.end .popover-footer button[data-role='end'] {
    display: inline-block;
}

.tooltip.quick-help-tooltip {
    font-size: 13px;
    line-height: 17px;
    opacity: 1;
    z-index: 850;
}

.tooltip.quick-help-tooltip .tooltip-inner {
    color: #FFF;
    max-width: 175px;
}

[dir] .tooltip.quick-help-tooltip .tooltip-inner {
    background-color: #B3916A;
    box-shadow: 0 0 7px 0px rgba(110, 81, 49, 0.6);
}

[dir] .tooltip.quick-help-tooltip.top .tooltip-arrow {
    border-top-color: #B3916A;
}

[dir] .tooltip.quick-help-tooltip.bottom .tooltip-arrow {
    border-bottom-color: #B3916A;
}

[dir=ltr] .tooltip.quick-help-tooltip.left .tooltip-arrow {
    border-left-color: #B3916A;
}

[dir=rtl] .tooltip.quick-help-tooltip.left .tooltip-arrow {
    border-right-color: #B3916A;
}

[dir=ltr] .tooltip.quick-help-tooltip.right .tooltip-arrow {
    border-right-color: #B3916A;
}

[dir=rtl] .tooltip.quick-help-tooltip.right .tooltip-arrow {
    border-left-color: #B3916A;
}

.tooltip.quick-help-tooltip:hover,
.tooltip.quick-help-tooltip.hover {
    z-index: 900;
}

/* hover effects */

[dir] .tooltip.quick-help-tooltip:hover .tooltip-inner, [dir] .tooltip.quick-help-tooltip.hover .tooltip-inner {
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
    cursor: default;
}
/* ========================================================================
* bootstrap-tour - v0.9.3
* http://bootstraptour.com
* ========================================================================
*/