/* ==========================================================================
   NAV NAME
   ========================================================================== */
.inline-div {
    display: -webkit-inline-box;
    display: -moz-inline-box;
}
/* LEFT MENU */
.add-new-button {
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    font-size: 17px;
    padding-top: 0;
    margin: 0;
    margin-left: 0;
    margin-top: -20px;
}
.add-new-ambience-modal {
    margin-top: -10px;
    margin-bottom: -20px;
}
.add-new-ambience-modal input {
    width: 100%;
    margin-left: 0;
    color: #20252E;
    height: 35px;
    margin: 5px 0 15px;
}
.add-new-ambience-modal input::-webkit-input-placeholder {
    color: #90969B;
}
.add-new-ambience-modal input:-moz-placeholder {
    color: #90969B;
}
.add-new-ambience-modal input::-moz-placeholder {
    color: #90969B;
}
.add-new-ambience-modal input:-ms-input-placeholder {
    color: #90969B;
}
.ambience-play-span span {
    width: calc(100% - 35px);
    display: table;
    height: 54px;
    margin: 0;
}
.ambience-play-span .left-menu-listing-name b {
    display: table-cell;
    vertical-align: middle;
    line-height: initial;
    word-break: break-all;
}
.ambience-play-span .left-menu-listing-name img {
    position: absolute;
    height: 30px;
    right: 18px;
    top: 13px;
    margin: 0;
}
.ambience-play-span hr {
    margin-top: 16px;
}
.icon-play {
    position: relative;
    z-index: 1;
    cursor: pointer;
    float: right;
}
.icon-stop {
    position: relative;
    z-index: 1;
    cursor: pointer;
    float: right;
}
/* RIGHT MENU */
.ambience-top-div {
    margin-bottom: 4px;
}
.ambience-top-div-h2 {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    width: 80%;
}
.ambience-top-div-h2 > div {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}
.ambience-top-div-h2 > div:first-child {
    width: 40%;
    margin-right: 5px;
}
.ambience-top-div-h2 > div:nth-child(2) {
    width: 30%;
    margin: 0 5px;
}
.ambience-top-div-h2 > div:last-child {
    width: 30%;
    margin-left: 5px;
}
.ambience-top-div-h2 > div > div {
    width: auto;
}
.ambience-top-div-h2 > div > div:first-child {
    margin-right: 5px;
}
.ambience-top-div-h2 > div:first-child > div:last-child > input{
    width: 100%;
    margin: 0;
}
.ambience-top-div-h2 > div:not(:first-child) > div {
    padding: 0 9px;
}
.p-text-ambience {
    text-align: center;
    padding-top: 20%;
    font-size: 30px;
}
h2 input {
    height: 28px;
    font-size: 70%;
    margin-left: -5px;
    margin-right: 10px;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}
.ambience-menus-list-names input[disabled] {
    cursor: default !important;
}
.ambience-checked-icon {
    float: right;
    margin-right: 15px;
}
.no-configuration-message-division {
    height: 70vh;
}
.no-configuration-message {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.no-configuration-message p {
    text-transform: uppercase;
    /* margin-top: 0;
    position: absolute;
    top: 40%;
    left: 40%;
    margin-right: -50%;
    text-align: center; */
    font-size: 22px;
    /* word-break: break-all; */
}
.ambience-actions {
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #1e5d91;
}
.action-initiator {
    display: -moz-box;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    display: -webkit-flex;
    display: -webkit-box;
}
.action-initiator img {
    height: 70px;
}
.action-initiator-list {
    padding-left: 0;
}
.action-initiator-item {
    background-color: #1e5d91;
    margin-right: 15px;
    margin-bottom: 0;
    color: #fff;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    cursor: pointer;
    height: 70px;
    width: 200px;
}
.action-initiator-item img {
    margin-left: 5px;
    margin-right: 5px;
    height: auto;
    width: 40px;
    margin-top: 15px;
}
.action-initiator-item-text {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
.action-initiator-item span {
    margin: auto;
    margin-right: 5px;
    line-height: initial;
}
.action-initiator-item-name {
    text-align: center;
    margin: 0;
    width: 200px;
}
.outer-inline-scroll-actions {
    width: calc(100% - 20px);
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
.inline-scroll-actions::-webkit-scrollbar, .input-config::-webkit-scrollbar {
    height: 8px;
    border: 3.5px solid #fff;
    background-color: #90969b;
    background-color: rgba(144,150,155,0.8);
}
.inline-scroll-actions::-webkit-scrollbar-track, .input-config::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0);
    -moz-box-shadow: inset 0 0 2px rgba(0,0,0,0);
    box-shadow: inset 0 0 2px rgba(0,0,0,0);
}
.inline-scroll-actions::-webkit-scrollbar-thumb, .input-config::-webkit-scrollbar-thumb {
    background: #1e5d91;
    background: #1e5d91;
}
.inline-scroll-actions::-webkit-scrollbar-thumb:window-inactive, .input-config::-webkit-scrollbar-thumb:window-inactive {
    background: #1e5d91;
    background: #1e5d91;
}
.inline-scroll-actions {
    max-width: 70vw;
    margin-left: 15px;
    min-height: 80px;
    overflow-x: auto;
    overflow-y: hidden;
    display: -webkit-flex;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-box;
}
.inline-scroll-actions div:last-child div>div {
    margin-right: 0;
}
.inline-scroll-actions div:last-child .rounded-box-condition {
    margin-right: 0;
}
.action-initiator-icon {
    height: 75px;
    text-align: left;
    /*margin-right: 15px;*/
    margin-left: 15px;
    /* padding-left: 0; */
}
.action-initiator-icon img {
    height: 70px;
    width: 70px;
    cursor: pointer;
}
.rounded-box-condition {
    border-radius: 10px;
    width: 200px;
    height: 70px;
    padding: 5px;
    text-align: center;
}
.rounded-box-condition span {
    margin: auto;
    word-break: break-word;
}
.add-condition {
    height: 75px;
    text-align: left;
    margin-left: 15px;
}
.add-condition-icon {
    cursor: pointer;
    height: 70px;
    width: 70px;
}
.finisher {
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #1e5d91;
}
.conditions-finisher-no-actions {
    margin-top: 55px;
}
.conditions-finisher {
    margin-top: 25px;
}
.action-finisher-icon {
    margin-left: 13%;
    margin-top: 1%;
    cursor: pointer;
}
.ambience-hr {
    height: 60px;
    margin-top: 15px;
    text-align: center;
}
.ambience-hr hr {
    border-top: 1px solid #90969B;
    margin-top: -15px;
}
.ambience-hr span {
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    color: #1e5d91;
    font-weight: 700;
}
.ambience-hr p {
    border-left: 1px solid #90969B;
    margin-top: -2px;
    height: 15px;
    margin-left: 50%;
    width: 1px;
}
.ambience-action-box {
    margin-left: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.ambience-action {
    background-color: #eaeff2;
    margin-bottom: 40px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    cursor: pointer;
    height: 70px;
    width: 200px;
    padding: 0;
}
.ambience-action-name {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ambience-action-name p {
    margin: auto;
    margin-left: 0;
    margin-right: 3px;
    width: 100%;
}
.ambience-action-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ambience-action-image img {
    height: auto;
    width: 35px;
    margin: auto 5px auto 5px;
}
.ambience-junction {
    text-align: center;
    margin: 0;
    margin-bottom: 40px;
    cursor: pointer;
    height: 70px;
    width: auto;
    min-width: 60px;
    padding: 0;
}
.actions-box {
    padding-left: 15px;
}
.next-icon {
    margin: auto;
    min-height: 70px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    width: 30px;
}
.timed-icon {
    margin: 0;
    cursor: pointer;
    height: 70px;
    padding: 10px 3px 0 2px;
}
.linked-icon {
    background-color: #eaeff2;
    margin: 0;
    cursor: pointer;
    height: 70px;
    padding-top: 20px;
}
.timed-linked-icon {
    background-color: #eaeff2;
    margin: 0;
    cursor: pointer;
    height: 70px;
    padding-top: 10px;
}
.add-interaction {
    border: 1px dashed;
    min-height: 70px;
    margin-left: 50px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
.add-interaction img {
    margin-right: 10px;
    height: 35px;
    margin-top: 10px;
}
.action-event-timed-label {
    position: absolute;
    bottom: -25px;
    left: 0;
    text-align: center;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.start-trigger {
    border-right: 2px solid #EAEFF2;
}
.start-condition {
    border-right: 2px solid #EAEFF2;
}
.start-trigger-left {
    border-left: 2px solid #EAEFF2;
    margin-left: -2px;
}
.domo-select-modal-margin {
    margin: -1px 0 10px;
}
.ambience-modal-input-config {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 10px;
    padding-bottom: 10px;
    padding-left: 2px;
    padding-top: 2px;
    max-height: 275px;
    text-align: center;
}
.ambience-modal-input-config::-webkit-scrollbar {
    height: 8px;
    width: 8px;
    border: 3.5px solid #fff;
    background-color: #90969b;
    background-color: rgba(144,150,155,0.5);
}
.ambience-modal-input-config::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0);
    -moz-box-shadow: inset 0 0 2px rgba(0,0,0,0);
    box-shadow: inset 0 0 2px rgba(0,0,0,0);
}
.ambience-modal-input-config::-webkit-scrollbar-thumb {
    background: #1e5d91;
    background: #1e5d91;
}
.ambience-modal-input-config::-webkit-scrollbar-thumb:window-inactive {
    background: #1e5d91;
    background: #1e5d91;
}
.ambience-modal-output-config::-webkit-scrollbar {
    height: 8px;
    width: 8px;
    border: 3.5px solid #fff;
    background-color: #90969b;
    background-color: rgba(144,150,155,0.5);
}
.ambience-modal-output-config::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0);
    -moz-box-shadow: inset 0 0 2px rgba(0,0,0,0);
    box-shadow: inset 0 0 2px rgba(0,0,0,0);
}
.ambience-modal-output-config::-webkit-scrollbar-thumb {
    background: #1e5d91;
    background: #1e5d91;
}
.ambience-modal-output-config::-webkit-scrollbar-thumb:window-inactive {
    background: #1e5d91;
    background: #1e5d91;
}
.action-click-option {
    text-align: center;
}
.action-click-option img {
    background-color: #eaeff2;
    padding: 5px;
    cursor: pointer;
    height: 35px;
    width: auto;
    margin-bottom: 5px;
}
.selected {
    outline: 2px solid #1e5d91;
    background-color: #eaeff2;
}
.ambience-modal-output-config {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 10px;
    padding-bottom: 10px;
    padding-left: 2px;
    padding-top: 2px;
    max-height: 330px;
    text-align: center;
}
.ambience-modal-output-config div {
    width: 100px;
    display: inline-block;
    text-align: center;
    margin: 0;
    margin-right: 5px;
    cursor: pointer;
    margin-bottom: 2px;
    vertical-align: text-top;
    height: auto;
}
.ambience-modal-input-config div {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    vertical-align: top;
    min-width: 100px;
    font-size: 16px;
    max-width: 118px;
    padding: 1px;
    margin: 2px 1px;
    word-break: break-word;
}
.ambience-modal-input-config > div > output-box > div .output-description {
    display: block;
    min-height: 20px;
    height: auto;
}
.ambience-action-modal-input-config {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 10px;
    padding: 2px 0 10px 2px;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    display: -webkit-box;
}
.ambience-action-modal-input-config div {
    margin-right: 0;
    text-align: center;
    width: 25%;
    padding: 0;
}
.ambience-action-modal-input-config div img {
    width: auto;
    height: 50px;
    padding: 5px;
}
.ambience-action-modal-input-config div:nth-last-child(2) img {
    padding: 1px;
}
.ambience-modal-icon {
    height: 35px;
    background-color: #eaeff2;
    cursor: pointer;
    margin-top: -3px;
}
.timer-input input {
    width: 60px;
    height: 35px;
    margin-left: 10px;
    margin-right: 5px;
    text-align: center;
    border: 1px solid #1e5d91;
}
.timer-input input:first-child {
    margin-left: 37px;
}
.ambience-modal-div {
    margin-bottom: 10px;
}
.modal-outputs {
    border: 0 !important;
    margin-left: 2px !important;
    margin-top: 2px;
    margin-bottom: 2px;
}
.ambience-interaction-icon {
    background-color: #eaeff2;
    padding: 5px;
}
.ambience-condition-input {
    display: inline-block;
    margin-top: 40px;
    margin-bottom: -10px;
    padding: 0;
    width: 68px;
}
.ambience-condition-input input {
    width: 68px;
    margin: 0;
    background-color: #eaeff2;
    height: 33px;
    line-height: 31px;
    font-size: 20px;
    outline: 0;
    padding: 0;
    text-align: center;
    color: transparent;
    text-shadow: 0 0 0 #1e5d91;
    border: 1px solid #1e5d91;
}
.ambience-condition-input input:focus {
    border-bottom: 3px solid #1e5d91;
}
.ambience-condition-input img {
    height: 25px;
    vertical-align: sub;
}
.ambience-condition-input-name {
    width: 100%;
    border: none;
    margin: 5px 0 25px 0;
}
.ambiences-delete-actions {
    text-align: right;
    margin-top: -37px;
    margin-bottom: 0;
    color: #1e5d91;
    max-width: 175px;
    float: right;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.condition-analog-div {
    padding: 0;
}
.ambience-analog-label {
    text-align: center;
    margin-bottom: 15px;
}
.numeric-condition-span-value {
    width: 60px;
    border: 1px solid #1e5d91;
    height: 30px;
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
    display: inline-block;
    margin: 0 5px;
    margin-bottom: -8px;
    background-color: #eaeff2;
    font-size: 18px;
}
.ambiences-analog-slider > div > div > .tooltip-main > .tooltip-inner {
    display: none;
}
.modules-shutter-condition-label {
    margin: 15px 0;
}
.ambiences-choose-action-title {
    margin-bottom: 30px;
}
.ambiences-choose-action-title span {
    font-weight: 700;
}
.gt-label {
    font-size: 120%;
}
.ambiences-action-keypad div {
    padding-left: 0;
}
.ambiences-action-keypad div:first-child div {
    text-align: left;
}
.ambiences-action-keypad div:last-child div {
    padding-top: 0;
}
.gt-icon {
    height: 20px;
    vertical-align: text-bottom;
    margin-right: 5px;
}
.ambiences-analog-slider {
    padding-left: 0;
    margin-top: 25px;
}
.ambiences-analog-slider {
    padding-left: 0;
    margin-top: 25px;
    padding-right: 35px;
}
.ambiences-trigger-counter-display {
    text-align: right;
    margin-top: 43px;
    margin-bottom: -10px;
    margin-left: -25px;
}
.ambiences-trigger-counter-label {
    text-align: left;
    margin: 43px 0 -10px 3px;
    padding: 0;
}
.clock-input-display-div {
    width: 45px;
    padding: 0 !important;
}
.clock-input {
    width: 45px;
    margin: 0;
    text-align: center;
    padding: 0;
    font-size: 18px;
    line-height: 33px;
    background-color: #eaeff2;
    height: 32px;
    border: 1px solid #1e5d91;
    margin-right: 3px;
    outline: 0;
    color: transparent;
    text-shadow: 0 0 0 #1e5d91;
}
.clock-input:focus {
    border-bottom: 3px solid #1e5d91;
}
.clock-separator {
    width: 25px;
    text-align: left;
    padding: 0;
    margin-left: 2px;
}
.clock-separator span {
    font-size: 18px;
    line-height: 33px;
    color: #1e5d91;
    font-weight: 700;
}
.timed-ambience-action {
    margin: 25px 0;
    padding: 0;
    width: 90%;
    margin-left: 10%;
}
.ambience-action-duration {
    margin-top: 25px;
    margin-left: -12px;
    width: calc(100% + 65px);
}
.condition-timed-trigger {
    display: -webkit-inline-box;
    margin-bottom: -10px;
    margin-left: 5px;
}
.action-duration-timer>div>div>span {
    margin-left: 17px;
    font-weight: 700;
}
.ambience-actions-label-floor-first {
    margin: 5px 0 -1px;
}
.ambience-actions-label-floor {
    margin: 0 0 -1px;
    font-size: 18px;
}
.ambience-actions-slider {
    margin-top: 30px;
    margin-left: 5px;
}
.day-of-week-label p {
    margin-top: -5px;
    margin-bottom: 15px;
}
.day-of-week-div {
    margin-bottom: 20px;
}
.day-of-week-circle {
    width: 90px;
    height: 90px;
    border: 1px solid #1e5d91;
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    display: inline-table;
    margin-right: 10px;
    margin-bottom: 5px;
}
.day-of-week-circle span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.active-day-of-week {
    background: #1e5d91;
    color: #fff;
    font-weight: 700;
    border: 0;
}
.condition-start-time {
    cursor: pointer;
}
.condition-start-time span:last-child {
    color: #1e5d91;
    font-weight: 700;
}
.condition-end-time {
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 10px;
}
.condition-end-time span:last-child {
    color: #1e5d91;
    font-weight: 700;
}
.timed-condition-couter-keypad {
    padding-left: 15%;
}
.ambience-action-percentage-value {
    color: #1e5d91;
    font-weight: 700;
    margin-left: 0 !important;
}
.action-duration-timer .tooltip-inner {
    display: none;
}
.minutes-div {
    margin-right: 3px;
}
.succession-modal-clock-input {
    margin: 30px;
}
.ambience-name-not-editable {
    padding-right: 50px;
    font-size: 80%;
    font-weight: 600;
}
.action-duration-timer {
    margin-bottom: 20px;
}
.ambience-action-label {
    margin-bottom: 20px;
}
.ambience-action-field-label {
    font-weight: 700;
    color: #1e5d91;
    height: 50px;
}
.ambience-action-type-labels > div:first-child {
    padding-left: 0;
}
.ambience-action-type-labels > div:last-child {
    padding-right: 0;
}
.ambience-action-type-labels > div:first-child domo-select .select-option-div {
    width: 100%;
}
.ambience-action-type-labels > div:first-child domo-select .select-option-name {
    margin: 0;
}
.ambience-action-type-labels > div:last-child input {
    width: 100%;
    margin: 0;
}
.ambience-condition-name-input input {
    width: 100%;
    margin-left: 0;
}
/* STATUS-BOX */
.ambience-status-box-modal {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    height: 80px;
    width: 100%;
    margin-bottom: 20px;
}
.ambience-status-box-modal > div:first-child {
    height: 100%;
    width: 60px;
    margin-right: 20px;
}
.ambience-status-box-modal > div:last-child {
    height: 100%;
    width: 60px;
    margin-left: 20px;
}
.ambience-status-box-modal > div:nth-child(2) {
    height: 100%;
}
.ambience-status-box-image {
    width: 100%;
    height: 80%;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}
.ambience-status-box-image #white_line {
    width: 87px;
    border-bottom: 3px solid white;
    transform: translateY(60px) rotate(315deg);
    transform-origin: 0% 0%;
    position: absolute;
    top: 0;
    left: 0;
}
.ambience-status-box-image img {
    width: 100%;
    height: 100%;
}
.ambience-status-box-p {
    width: 100%;
    height: 20%;
    margin-top: 10px;
}
.ambience-status-box-p p {
    text-align: center;
    font-size: 14px;
}
.ambience-status-box-securityAlarm-modal {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    height: 80px;
    width: 100%;
    margin-bottom: 20px;
}
.ambience-status-box-securityAlarm-modal > div:first-child {
    height: 100%;
    width: 60px;
    margin-right: 10px;
}
.ambience-status-box-securityAlarm-modal > div:last-child {
    height: 100%;
    width: 60px;
    margin-left: 10px;
}
.ambience-status-box-securityAlarm-modal > div:nth-child(2) {
    height: 100%;
    width: 60px;
    margin-left: 10px;
    margin-right: 10px;
}
.ambience-status-box-securityAlarm-modal > div:nth-child(3) {
    height: 100%;
    width: 60px;
    margin-left: 10px;
    margin-right: 10px;
}
.ambience-status-box-input-modal {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    height: 40px;
    width: 100%;
    margin-top: 70px;
}
.ambience-status-box-input-modal div {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}
.ambience-status-box-input-modal div input {
    width: 100%;
}
.ambience-status-box-input-modal span {
    margin-left: 10px;
}
.ambience-status-box-thermostat-modal {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
.ambience-status-box-thermostat-modal > div {
    margin-bottom: 20px;
}
.ambience-status-box-thermostat-modal > div:last-child {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    width: 100%;
}

@media only screen and (max-width: 1199px) {
    .add-new-button {
        height: 35px;
        line-height: 35px;
        font-size: 16px;
        margin-top: -15px;
    }
    .ambience-condition-input input {
         height: 30px;
         line-height: 28px;
         font-size: 18px;
    }
    .action-event-timed-label {
        bottom: -22px;
    }
    .ambience-action-modal-input-config div img {
        height: 40px;
    }
    .ambience-play-span .left-menu-listing-name img {
        height: 27px;
        top: 15px;
    }
}
@media only screen and (max-width: 991px) {
    .add-new-button {
        margin-top: -15px;
        margin-left: -10px;
    }
    .action-initiator-icon {
        margin-left: 9px;
    }
    .action-initiator-icon img {
        height: 60px;
        width: 60px;
    }
    .ambience-condition-input {
        width: 55px;
    }
    .ambience-condition-input input {
        width: 55px;
        height: 27px;
        line-height: 26px;
        font-size: 16px;
    }
    .outer-inline-scroll-actions {
        width: calc(100% - 15px);
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .outer-inline-scroll-actions div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .ambience-modal-icon {
        margin-top: -7px;
    }
    .inline-scroll-actions {
        max-width: calc(100vw - 130px);
        margin-left: 9px;
        margin-right: 0;
    }
    inline-scroll-actions-no-margin {
        margin-right: 5px;
    }
    .action-initiator-item {
        height: 60px;
        width: 185px;
    }
    .action-initiator-item-name {
        width: 185px;
    }
    .action-initiator-item img {
        width: 35px;
        margin-top: 13px;
    }
    .actions-box div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .ambience-action {
        height: 60px;
        width: 185px;
        margin-bottom: 30px;
    }
    .ambience-junction {
        margin-bottom: 30px;
        height: 60px;
        min-width: 50px;
    }
    .next-icon {
        min-height: 60px;
    }
    .timed-icon {
        height: 60px;
        padding-top: 5px;
    }
    .linked-icon {
        height: 60px;
        padding-top: 15px;
    }
    .timed-linked-icon {
        height: 60px;
        padding-top: 5px;
    }
    .add-condition {
        margin-right: 4px;
        margin-left: 9px;
    }
    .add-condition-icon {
        height: 60px;
        width: 60px;
    }
    .rounded-box-condition {
        min-width: 185px;
    }
    .icon-play {
        border-width: 9px 0 10px 20px;
        margin-right: 5px;
        margin-left: 5px;
    }
    .action-event-timed-label {
        bottom: -19px;
    }
    .modal-dialog {
        width: 738px;
    }
    .ambience-action-modal-input-config div img {
        padding: 3px;
        height: 35px;
    }
    .ambience-action-modal-input-config div:nth-last-child(2) img {
        padding: 1px;
    }
    h2 input {
        width: 34%;
        margin-left: -13px;
        padding-left: 5px;
        height: 22px;
        margin-right: 0;
        font-size: 75%;
    }
    .ambiences-delete-actions img {
        height: 25px;
    }
    .day-of-week-circle {
        width: 35px;
        height: 35px;
    }
    .slider.slider-horizontal {
        margin-left: 15px;
        width: calc(100% - 40px) !important;
    }
    .ambience-modal-input-config img {
        width: 50px;
        height: 50px;
    }
    .action-duration-timer {
        padding: 0;
    }
    .action-duration-timer div {
        padding: 0;
    }
    .ambience-action-duration {
        margin-left: 2px;
    }
    .ambiences-trigger-counter-display {
        margin-left: -20px;
    }
    .ambience-name-not-editable {
        margin-left: -10px;
    }
    .ambience-top-div-h2 > div:first-child > div:last-child {
        padding: 0;
    }
}
@media only screen and (max-width: 800px) {
    /******************************
    STYLING FOR IPADS
    ******************************/
    h2 input {
        width: 30%;
        font-size: 80%;
        height: 30px;
    }
    .ambience-top-div-h2 {
        flex-direction: column;
        align-items: initial;
        justify-content: center;
    }
    .ambience-top-div-h2 > div:first-child {
        margin: 0;
        width: 80%;
        margin-bottom: 5px;
    }
    .ambience-top-div-h2 > div:not(:first-child) {
        width: 50%;
    }
    .ambience-top-div-h2 > div:nth-child(2) {
        margin: 0;
        margin-bottom: 5px;
    }
    .ambience-top-div-h2 > div:last-child {
        margin: 0;
    }
    .ambience-top-div-h2 > div:not(:first-child) > div {
        width: 50%;
    }
    .ambience-top-div-h2 > div:not(:first-child) > div:last-child {
        margin-left: 5px;
    }
    .inline-scroll-actions {
        margin-right: 0;
    }
    .ambiences-delete-actions img {
        height: 22px;
        margin-left: -2px;
    }
    .day-of-week-circle {
        width: 55px;
        height: 55px;
    }
    .ambience-condition-input-name {
        margin: 3px 0 25px 0;
        line-height: 35px;
    }
    .action-event-timed-label {
        bottom: -23px;
    }
    .ambience-play-span span {
        height: 55px;
        padding: 0;
    }
    .ambience-play-span hr {
        margin-top: 16px;
    }
    .ambience-play-span .left-menu-listing-name img {
        top: 13px;
        height: 30px;
    }
    .ambiences-delete-actions {
        margin-top: -39px;
    }
    .rounded-box-condition span {
        font-size: 16px;
    }
    .action-initiator-item span {
        font-size: 16px;
        line-height: 18px;
    }
    .ambience-action p {
        font-size: 16px;
        line-height: 18px;
    }
    .outer-inline-scroll-actions {
        width: calc(100% - 30px);
    }
    .ambience-action-modal-input-config {
        display: block;
    }
    .ambience-action-modal-input-config div {
        width: 50%;
    }
    .ambience-action-modal-input-config p {
        margin-top: 2px;
        margin-bottom: 15px;
        font-size: 16px;
    }
}
@media only screen and (max-width: 767px) {
    .add-new-button {
        font-size: 22px;
        line-height: 45px;
        height: 45px;
    }
    .modal-dialog {
        width: auto;
    }
    .ambiences-delete-actions span {
        font-size: 20px;
    }
    .ambiences-delete-actions img {
        height: 26px;
        vertical-align: bottom;
    }
    h2 input {
        width: 25%;
        height: 30px;
        font-size: 70%;
        margin-top: -2px;
        margin-right: 5px;
        padding-top: 2px;
    }
    .ambience-top-div-h2 {
        flex-direction: row;
        align-items: center;
        justify-content: initial;
    }
    .ambience-top-div-h2 > div:first-child {
        width: 40%;
        margin-bottom: 0;
        margin-right: 5px;
    }
    .ambience-top-div-h2 > div:not(:first-child) {
        width: 50%;
    }
    .ambience-top-div-h2 > div:nth-child(2) {
        margin: 0 5px;
        width: 30%;
    }
    .ambience-top-div-h2 > div:last-child {
        width: 30%;
        margin-left: 5px;
    }
    .ambience-top-div-h2 > div:not(:first-child) > div {
        width: auto;
    }
    .ambiences-trigger-counter-display {
        margin-left: 0;
        padding: 0;
        padding-right: 10px;
    }
    /********** TABLET STYLING REFACTORY **********/
    .ambience-actions span {
        font-size: 20px;
    }
    .ambience-action-field-label span {
        font-size: 20px;
    }
    .finisher span {
        font-size: 20px;
    }
    .action-duration-timer>div>div>span {
        font-size: 16px;
    }
    .ambience-action-modal-input-config {
        padding-bottom: 20px;
        min-height: 100px;
        height: auto;
        display: block;
    }
    .ambience-modal-div {
        margin-bottom: 15px;
    }
    .condition-analog-div span {
        font-size: 18px;
    }
    .condition-start-time span {
        font-size: 18px;
    }
    .condition-end-time span {
        font-size: 18px;
    }
    .ambience-condition-input-name {
        margin: 3px 0 25px 0;
        height: 32px;
        line-height: 32px;
    }
    .day-of-week-circle {
        width: 60px;
        height: 60px;
    }
    .day-of-week-circle span {
        font-size: 18px;
    }
    .ambiences-choose-action-title {
        margin-bottom: 20px;
    }
    .succession-modal-clock-input {
        margin-left: 40px;
    }
    .add-new-ambience-modal input {
        height: 40px;
    }
    .action-initiator-item img {
        width: 30px;
        margin-top: 15px;
    }
    .ambience-action img {
        width: 30px;
    }
    .ambience-play-span span {
        width: calc(100% - 40px);
        height: 65px;
        padding: 0;
    }
    .ambience-play-span hr {
        margin-top: 26px;
    }
    .ambience-play-span .left-menu-listing-name img {
        height: 35px;
        top: 15px;
    }
    .outer-inline-scroll-actions {
        width: calc(100% - 15px);
    }
}
@media only screen and (max-width: 600px) {
    .ambience-condition-input {
        width: 49px;
    }
    .ambience-condition-input input {
        width: 49px;
        line-height: 25px;
        font-size: 14px;
    }
    .action-initiator-item {
        height: 60px;
        width: 170px;
    }
    .action-initiator-icon img {
        height: 60px;
        width: 60px;
    }
    .rounded-box-condition {
        min-width: 170px;
    }
    .ambience-action {
        height: 60px;
        width: 140px;
        margin-bottom: 15px;
    }
    .action-initiator-item-name {
        width: 170px;
    }
    .ambience-modal-input-config {
        text-align: center;
    }
    .action-event-timed-label {
        bottom: -26px;
    }
    .ambience-action-modal-input-config p {
        font-size: 18px;
    }
    .ambience-action-modal-input-config div {
        margin-bottom: 10px;
        width: 100%;
    }
    .action-duration-timer>div:first-child>div {
        padding-left: 15px;
    }
    .action-duration-timer {
        margin-top: 0;
        margin-left: 0;
    }
    .action-duration-timer>div>div>span {
        margin-left: 0;
    }
    .condition-end-time {
        margin-top: 10px;
    }
    .start-trigger-left {
        margin-bottom: 15px;
    }
    .ambience-actions-slider {
        /* margin-left: 0; */
        width: calc(100% - 30px);
    }
    .timed-ambience-action {
        margin-top: 15px;
        width: calc(100% + 25px);
        margin-left: -15px;
    }
    .ambience-action-duration {
        margin-top: 15px;
        margin-left: 0;
        width: calc(100% + 15px);
    }
    .condition-timed-trigger {
        width: calc(100% + 40px);
        margin-left: -15px;
        margin-top: 5px;
    }
    .ambiences-trigger-counter-display {
        margin-top: 20px;
    }
    .ambiences-trigger-counter-label {
        margin-top: 20px;
    }
    .ambience-condition-input {
        margin-top: 17px;
    }
    .inline-scroll-actions {
        min-height: 85px;
        max-width: calc(100vw - 116px);
    }
    .add-condition {
        margin-right: 0;
    }
    .slider.slider-horizontal {
        margin-left: 0;
        width: 100% !important;
    }
    .ambience-play-span img {
        top: 16px;
    }
    .add-new-button {
        line-height: 42px;
        height: 40px;
    }
    .ambience-action-type-labels {
        display: flex;
        flex-flow: column nowrap;
        /* align-items: center; */
        /* height: 50px; */
    }
    .ambience-action-type-labels div {
        width: 100%;
    }
    .ambience-action-type-labels > div:first-child {
        padding: 0;
    }
    .ambience-action-type-labels > div:last-child {
        padding: 0;
    }
    .ambience-top-div-h2 {
        flex-direction: column;
        align-items: initial;
        justify-content: center;
    }
    .ambience-top-div-h2 > div:first-child {
        margin: 0;
        width: 80%;
        margin-bottom: 5px;
    }
    .ambience-top-div-h2 > div:not(:first-child) {
        width: 50%;
    }
    .ambience-top-div-h2 > div:nth-child(2) {
        margin: 0;
        margin-bottom: 5px;
    }
    .ambience-top-div-h2 > div:last-child {
        margin: 0;
    }
    .ambience-top-div-h2 > div:not(:first-child) > div {
        width: 50%;
    }
    .ambience-top-div-h2 > div:not(:first-child) > div:last-child {
        margin-left: 5px;
    }
}
@media only screen and (max-width: 500px) {
    .clock-input-display-div {
        width: 35px;
    }
    .clock-separator span {
        font-size: 16px;
        line-height: 27px;
    }
    .clock-input {
        width: 35px;
        font-size: 16px;
        line-height: 26px;
        height: 25px;
    }
    h2 input {
        font-size: 90%;
        width: 68%;
        height: 35px;
        padding-top: 2px;
    }
    .ambience-top-div-h2 > div:first-child {
        width: 100%;
    }
    .ambience-top-div-h2 > div:not(:first-child) {
        width: 70%;
    }
    /* .ambience-top-div .active-toggle {
        margin-top: 20px !important;
    } */
    .ambience-status-box-modal {
        height: 70px;
    }
    .ambience-status-box-modal > div:first-child {
        width: 50px;
    }
    .ambience-status-box-modal > div:first-child .ambience-status-box-image-condition {
        margin-left: 15px;
    }
    .ambience-status-box-modal > div:last-child {
        width: 50px;
    }
    .ambience-status-box-securityAlarm-modal {
        height: 70px;
    }
    .ambience-status-box-securityAlarm-modal > div:first-child {
        width: 50px;
    }
    .ambience-status-box-securityAlarm-modal > div:last-child {
        width: 50px;
    }
    .ambience-status-box-securityAlarm-modal > div:nth-child(2) {
        width: 50px;
    }
    .ambience-status-box-securityAlarm-modal > div:nth-child(3) {
        width: 50px;
    }
    .ambience-status-box-input-modal {
        margin-top: 50px;
    }
    .ambience-status-box-image #white_line {
        width: 75px;
        top: -7px;
    }
}
@media only screen and (max-width: 450px) {
    .no-configuration-message p { 
        left: 15%;
    }
    .add-new-button {
        font-size: 18px;
        line-height: 35px;
        height: 35px;
    }
    .ambience-actions-slider {
        width: calc(100% - 15px);
    }
    .action-click-option {
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }
    .numeric-span-value {
        font-size: 14px
    }
    .ambience-modal-icon {
        margin-top: -9px;
    }
    .ambience-modal-div-description {
        padding-left: 25px;
        margin-right: -10px;
    }
    .ambience-modal-output-config {
        text-align: center;
    }
    .day-of-week-circle {
        width: 50px;
        height: 50px;
    }
    .ambience-top-div span {
        font-size: 18px;
    }
    .ambience-top-div .ambiences-delete-actions {
        margin-top: -35px;
    }
    .ambience-top-div .general-checkbox label:before {
        width: 4.2rem !important;
        height: 1.5rem!important;
        margin-top: 3.5px;
    }
    .ambience-top-div .general-checkbox label:after {
        width: 2.3rem !important;
        height: 2.3rem !important;
        margin-top: 0;
    }
    .ambience-top-div .general-checkbox input[type="checkbox"] {
        width: 4rem !important;
        height: 2.3rem !important;
        margin-top: 0;
        margin-bottom: 0 !important;
    }
    .ambience-top-div .ui.toggle.checkbox label {
        padding-top: 2.3em;
        margin-bottom: -5px;
    }
    .action-duration-timer {
        width: 100%;
        padding: 0;
    }
    .ambiences-delete-actions img {
        height: 18px;
        margin-top: 4px;
    }
    .clock-input-display-div {
        width: 30px;
    }
    .clock-input {
        width: 30px;
        font-size: 14px;
        line-height: 26px;
        height: 25px;
    }
    .clock-input:focus {
        border-bottom: 2px solid #1e5d91;
    }
    .clock-separator {
        width: 15px;
    }
    .clock-separator span {
         font-size: 16px;
         line-height: 26px;
     }
    .numeric-condition-span-value {
        font-size: 20px;
        width: 60%;
    }
    .ambience-analog-label span:last-child {
        font-size: 20px;
    }
    .ambiences-analog-slider {
        padding-right: 15px;
    }
    .ambiences-delete-actions {
        margin-top: -12px;
        margin-bottom: 13px;
    }
    .ambiences-delete-actions span {
        font-size: 18px;
    }
    .ambiences-delete-actions img {
        height: 26px;
        margin-top: 0;
    }
    .succession-modal-clock-input {
        margin-left: 30px;
    }
    .succession-modal-clock-input .clock-input {
        width: 50px;
        font-size: 20px;
        height: 35px;
        line-height: 36px;
    }
    .succession-modal-clock-input .clock-separator {
        width: 20px;
    }
    .succession-modal-clock-input .clock-separator span {
        font-size: 20px;
        line-height: 36px;
    }
    .succession-modal-clock-input .clock-input-display-div {
        width: 50px;
    }
    .ambience-condition-input {
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-top: 5px;
    }
    .ambience-play-span span {
        height: 50px;
    }
    .ambience-play-span hr {
        margin-top: 13px;
    }
    .ambience-play-span .left-menu-listing-name img {
        height: 33px;
        top: 10px;
    }
    .ambience-actions span {
        font-size: 18px;
    }
    .ambience-action-field-label span {
        font-size: 16px;
    }
    .finisher span {
        font-size: 18px;
    }
    .ambience-condition-name-input input {
        margin-left: 10px;
    }
}
@media only screen and (max-width: 400px) {
    .ambience-top-div-h2 > div:not(:first-child) {
        width: 100%;
    }    
}
@media only screen and (max-width: 350px) {
    .ambience-modal-input-config {
        padding-right: 5px;
    }
    .ambience-modal-input-config img {
        width: 40px;
        height: 40px;
    }
    .ambience-modal-div-description {
        margin-left: -10px;
        padding-left: 35px;
        padding-right: 0;
    }
    .day-of-week-circle {
        width: 25px;
        height: 25px;
    }
    .ambience-action-duration .clock-input-display-div {
        margin-left: 20%;
        line-height: 30px;
    }
    .ambience-action-duration .clock-separator {
        width: 45%;
        line-height: 30px;
    }
    .ambiences-trigger-counter-display {
        width: 100%;
        text-align: left;
        margin-top: 0;
    }
    .ambiences-trigger-counter-label {
        padding-left: 3px;
        margin-left: 0;
        width: 20%;
        margin-bottom: 10px;
    }
    .ambience-condition-input {
        width: 80%;
        text-align: right;
    }
    h2 input {
        width: 65%;
    }
    .ambience-top-div > h2 input {
        width: 100%;
        margin-left: 0;
    }
    .succession-modal-clock-input {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    .ambience-action-type-labels > div:first-child {
        margin-left: 10px;
    }
    .ambience-action-type-labels > div:last-child {
        margin-left: 10px;
    }
}
