ion-modal-view#begin-ion-content {
    /*height: 65%;*/
}

.SystemGray {
  color: #8E8E93 !important;
}
.PageListIcon {
  font-size: 17px !important;
  right: 0px !important;
  padding-left: 30px;
}
#welcome-instructions > #greeting {
    position: absolute;
    width: 100px;
    height: 30px;
    left: calc(50% - 50px);
    top: 50px;

    text-align: center;
    font-size: x-large;
}

.domestic-ion-content {
    top: 0px;
    background-color: #fffcf9;
}

#welcome-instructions > #instructions {
    position: absolute;
    width: 260px;
    height: 30px;
    left: calc(50% - 130px);
    top:80px;

    text-align: center;
    font-size: large;
}

#welcome-instructions > #squid-icon {
    position: absolute;
    width: 160px;
    height: 160px;
    left: calc(50% - 80px);
    top:180px;
}

#welcome-instructions > #arrow-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    left: calc(50% - 25px);
    top: 370px;
    animation: backForth 1s alternate infinite;
    transition-timing-function: ease-in-out;
}

@keyframes backForth {
    from { transform: translateY(10px)}
    to   { transform: translateY(-30px)}
}

#welcome-instructions > #start-scan-button{
    position: absolute;
    width:200px;
    left: calc(50% - 100px);
    height:50px;
    top: 450px;
    /*bottom:200px;*/
}

#welcome-instructions2 {
  margin-top: 40%;
  position: relative;
}
#welcome-instructions2 > #welcome-button {
  margin-top: 20px;
  width:200px;
  left: calc(50% - 100px);
  font-weight: bold;
}
#welcome-instructions2 > #welcome-spinner {
  margin-top: 20px;
  left: calc(50% - 14px);
  position: relative;
}

ion-scroll.scroll-container{
    background-color: #fffcf9;
    height:100%;
}

.domestic-background{
    position:relative;
    background-color: #fffcf9;
    margin-top:-1px;
    overflow:scroll;
}

.add-displacement-to-bottom{
    height:200px;
    width:100%;
}

.offset-for-header {
    margin-top:40px;
}

.relativecontent {
    height:100%;
}

.domestic-wrapper {

}

.domestic-grid {
    /*
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(100px, auto);
*/
}
.unit-tile {
    width: 33%;
}
.activity.panels{

}

.panels {
    transition: margin 0.3s, background-color 0.7s;
    -webkit-transition: margin 0.3s, background-color 0.7s;
    -ms-transition: margin 0.3s, background-color 0.7s;
    border-bottom: 1px solid #4D4D4D;
    vertical-align: top;
}

.panels.offline {
    background-color: darkgray;
}

.panels-termination {
    margin-bottom: -2px;
    border: none;
}
.panels.expanded50 {
    padding-top: 50px;
}
.panels.expanded100 {
    padding-top: 100px;
}
.panels.expanded150 {
    padding-top: 150px;
}
.panels.expanded200 {
    padding-top: 200px;
}
.panels.expanded300 {
    padding-top: 300px;
}
.panels.expanded400 {
    padding-top: 400px;
}
.panels.expanded500 {
    padding-top: 500px;
}
.panel-moved-down {
    margin-top: 300px;
}

.domestic-padded{
    padding:5px;
    padding-top: 10px
}

.domestic-card-size {
    width: 100%;
    height: 95%;
}

.info-container {
    position: absolute;
    width: 100%;
    height:0px;
    transition: height 0.3s, opacity 0.2s;
    -webkit-transition: height 0.3s, opacity 0.2s;
    -ms-transition: height 0.3s, opacity 0.2s;
    opacity: 0;
    border-bottom: 1px solid black;
}

.info-container.expanded50 {
    height:50px;
    opacity:1;
    margin-top: 0px;
}
.info-container.expanded100 {
    height:100px;
    opacity:1;
    margin-top: 0px;
}
.info-container.expanded150 {
    height:150px;
    opacity:1;
    margin-top: 0px;
}
.info-container.expanded200 {
    height:200px;
    opacity:1;
    margin-top: 0px;
}
.info-container.expanded300 {
    height:300px;
    opacity:1;
    margin-top: 0px;
}
.info-container.expanded400 {
    height:400px;
    opacity:1;
    margin-top: 0px;
}
.info-container.expanded500 {
    height:500px;
    opacity:1;
    margin-top: 0px;
}

.infoRow {
    height:35px;
}

.activity-time {
    text-align: center;
    font-weight: bold;
    font-size: x-large;
    width:100%;
    float: left;
    line-height: normal;
}

.in-n-out-indicator {
    font-size: small;
    padding-bottom: 1px;
    color: white;
    background: black;
    width: 35%;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    float: left;
}

.sleep-status {
    font-size: small;
    padding-bottom: 1px;
    color: white;
    background: black;
    width: 80%;
    text-align: center;
    border-radius: 4px;
}

.userlog-count {
    text-align: center;
    padding-top:5px;
    font-weight: bold;
    width:100%;
    height:40px;
    font-size: xx-large;
}

.userlog-count > div.userlog-entries {
    float: left;
    text-align: end;
    width: 62%;
}


.alarm-count {
    text-align: center;
    padding-top:5px;
    font-weight: bold;
    width:100%;
    height:40px;
    font-size: xx-large;
}

.alarm-count > div.alarm-open {
    float: left;
    text-align: end;
    width: calc(50% - 7px);
}

.alarm-count > div.alarm-separator {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.alarm-count > div.alarm-closed {
    float: right;
    width: calc(50% - 7px);
    text-align: start;
}

.domestic-alarmcount {
    text-align: center;
    font-size: xx-large;
    padding-top: 10px;
    font-weight: bold;
}

.top-row {
    height:50px;
}

.top-row .unit {
    float: left;
    width: 20px;
}

.top-row .info {
    text-align: center;
    width:100%;
    font-size: x-large;
    font-weight:bold;
    height: 30px;
}

.unitNameRow {
    vertical-align: bottom;
    height: 40px;
    padding-bottom:5px;
    padding-top:10px;
    font-size: small;
    font-weight: normal;
}


.top-unit-names > .temperature-part {
    width:50%;
    float: left;
    text-align: left;
}

.top-unit-names > .humidity-part {
    width: 50%;
    float: right;
    text-align: right;
}

.info > .temperature-part {
    width:60%;
    float: left;
    text-align: left;
}

.info > .humidity-part {
    width: 40%;
    float: right;
    text-align: right;
}

.top-unit-names > .minutes-part-left {
  float: left;
  text-align: left;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.domestic-stuck {
  color: #bc2d35 !important;
}

.stucktext-right {
  font-weight: bold;
  font-size: 11px;
  background: #bc2d35;
  color: white;
  line-height: 10px;
  padding-bottom: 1px;
  width: 65%;
  border-radius: 5px;
  float: right;
  text-align: center;
  overflow: hidden;
  text-overflow: clip;
}
.stucktext-right.offline {
  font-size: 14px;
  width: 100%;
  padding: 5px;
}

.top-unit-names > .minutes-part-right {
  float: right;
  text-align: right;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.info > .minutes-part-left {
  width: 50%;
  float: left;
  text-align: left;
}

.info > .minutes-part-right {
  width: 50%;
  float: right;
  text-align: right;
}

.top-unit-names>.today-part {
  width: auto;
  float: left;
  text-align: left;
}

.top-unit-names>.yesterday-part {
  width: auto;
  float: right;
  text-align: right;
}

.info>.today-part {
  width: 50%;
  float: left;
  text-align: left;
  padding-left: 10px;
}

.info>.yesterday-part {
  width: 50%;
  float: right;
  text-align: right;
  padding-right: 10px;
}

.smaller-time-unit-tiles {
  font-size: 55%;
}

.small-time-unit-tiles {
  font-size: 85%;
}

.small-time-unit-bold {
  font-size: 85%;
  font-weight: bold;
}

.itemselected {
    background-color: rgb(235,232,230);
}

.itemselected.panels {
  border-bottom: 1px solid rgb(235,232,230);
}

.itemselected.info-container {
}

.fill-container{
    width: 100%;
    height: 100%;
}

.domestic-border-place-0 {
    border-right: 1px solid #4D4D4D;
}
.domestic-border-place-1 {
    border-right: 1px solid #4D4D4D;
}
.domestic-border-place-2 {}

.domestic-icon {
    background-size: 100%;
    width: 45px;
    height: 45px;
    margin-top:5px;
    background-repeat: no-repeat;
}

.switch-status {
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
    height: 57px;
    padding-top:10px;
}

.onoff-wrapper {
  width: 70%;
  margin: auto;
  position: inherit;
}

.offlineswitchtopbar-offset {
    margin: 0px;
    padding: 0px;
    height: 50px;
}

.onoffswitch {
    position: relative;
    width: 90px;
    height: 20px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #555;
    border-radius: 20px;
}
.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 1px;
    line-height: 30px;
    font-size: 20px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    /*content: "ON";*/
    content:"";
    padding-left: 10px;
    background-color: #FD0;
    color: #555;
}
.onoffswitch-inner:after {
    /*content: "OFF";*/
    content: "";
    padding-right: 10px;
    font-weight: 900;
    color: #FFF;
    background-color: #333;
    text-align: right;
}
.onoffswitch-switch {
    display: block;
    width: 34px;
    height: 34px;
    margin: 0px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(100% - 34px);
    border: 2px solid #555;
    border-radius: 20px;
    transition: all 0.3s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0%;
}

.text_type_bold {
    font-weight: bold;
}

#detailbar {
    width: 100%;
    height: 100%;
    position: relative;
    overflow:hidden;
}

.scrollable {
    overflow-y: scroll;
    height:100%;
    -webkit-overflow-scrolling: touch;
}


.connections-detail {
    height:100px;
}

.canvas {
    width: 100%;
    height: 70px;
    padding: 10px;
    background-color: white;
}

.alarm-logo {
    float : left;
    margin-left: 5px;
    min-width: 10%;
}

.row {
    margin-right : 0px;
    margin-left : 0px;
}

.alarm-list-item {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin: 0;
}

.amp-itemcaption {
  font-size: 14px;
  line-height: 14px;
  padding-top: 4px;
  white-space: initial;
  cursor: pointer;
}

.row + .amp-iteminfo {
  font-size: 12px;
  line-height: 12px;
  font-weight: normal;
  margin-top: 0px;
}

.row + .amp-itemlink {
  font-size: 12px;
  line-height: 12px;
  font-weight: normal;
  margin-top: 0px;
}

.userlog-info {
    float:left;
    max-width: 75%;
    margin-left: 5px;
    margin-right: 5px;
}
.userlog-user {
    margin-left: 77%;
    margin-right: 5px;
}


.no-padding {
    padding: 0px;
}

.acknowledge {
    position:absolute;
    right:20px;
    padding-top:10px;
}

.acknowledge-slide {
    position:absolute;
    padding-top:5px;
    right:10px;
    height:40px;
    width:10px;
}


.acknowledge-input {
    width: 20px;
    height: 20px;
    float:right;
}

.slider-show-icon {
    font-size: xx-large;
}

.domestic-chart {
/*    width: 300px;
    height: 298px;
    */
    width: 100%;
    height: 100%;
    position: absolute;
}

.top-content > .aggregated-alarmlist-wrapper > .alarm-list {
    height:320px;
    width: 100%;
}

.popup-overlay-menu > .aggregated-content > .aggregated-alarmlist-wrapper > .alarm-list {
    height: 230px;
}

#detailbar > .scrollable > .alarm-list-item{
    background-color:rgb(235,232,230);
}

.activity-detail-container {
    padding-top:5px;
    display:block;
    color: #845f40;
    /*overflow-x: scroll; */
    width:100%;
    height: 270px;
}

.act-chart-div {
    /* overflow: scroll; */
    display:inline-block;
    width: 100%;
    height: 300px;
}

.act-text-canvas {
    width: 100%;
    display:block;
    height: 0px;
    z-index: 0;
    float: left;
    margin-top:10px;
}

.draggable-activity-canvas {
    margin-top: 16px;
}

.zoom-icon {
    font-size: 20px;
    right: 15px;
    position: absolute;
    z-index: 10;
    top: 4px;
}

.leaflet-map-pane canvas {
    z-index: 5;
}

.head.alarm-logo {
    width: 15%;
    max-width: 40px;
    padding-left: 3px;
}

.head.acknowledgehead {
    transition: all 0.3s ease;
    float: right;
    margin-right: 8px;
    width: 15%;
    text-align: right;
    box-shadow: 0px 0px 0px rgba(0,0,0,0);
    background-color:rgba(0,0,0,0);
}

.head.head.acknowledgehead.clickable {
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    background-color:rgba(200,200,200,1);
    cursor: pointer;
}

.head.alarm-row.alarm-header {
    height:35px;
    padding-top: 7px;
}

.alarm-row {
  position: relative;
}

.alarmrowicon {
  left: 10px;
}

.alarm-info {
  width: 70%;
  display: inline-block;
  margin-left: 40px;
}


.list-of-alarms {
   width:100%;
   height:174px;
}

.alarm-list-header {
}

.mpointer {
    cursor: pointer;
}

.filler {
    border-left: none;
}
.filler .domestic-border-place-1 {
    border-right: none;
}

.connection-problems-container {
   height:100%;
   width:100%;
   overflow-y:scroll;
   padding: 7px;
}

.connection-error-list-item {
    height:35px;
    width:100%;
    border-bottom: 1px solid gray;
    padding-right: 10px;
    padding-left: 10px;
}

.connection-icon {
    display: inline-block;
    background-size: 100%;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    margin-top:1px;
}

.offline-item-name {
    width: calc(100%-40px);
    float: right;
    text-align: right;
    padding-top:10px;
    height:30px;
}

.activity-canvas-container {
  overflow: hidden;
  height: 270px;
}

.room-detail {
}
.activity-detail {
  height: 300px;
  overflow: hidden;
}

.alarms-scroller-content {
    height:265px;
    top:35px;
}

.alarms-scroller {
    height:165px;
}
.connections-detail {
    height:100px;
}
.domestic-grid-table {
  width : 100%;
}

.detailbar-centered-message {
    width: 100%;
    text-align: center;
    padding-top:20px;
}

.connection-scroller-content {
    height:100px;
    overflow:scroll;
    /* top:20px; */
}

.connection-scroller {
    height:100px;
}

.item.item-icon-right.alarm-list-item > .item-content {
    padding:0px;
}

.connection.inside-scroller-content {
    height:100px;
    overflow:scroll;
    /* top:20px; */
}

.item.item-icon-right.alarm-list-item > .item-content {
    padding:0px;
}

.inside-scroller{
    height:100px;
    overflow:scroll;
}-scroller{
    height:100px;
    overflow:scroll;
}

.alarm-popup-modal{
    height:100%;
    padding-left: 10px;
    padding-right:10px;
    padding-bottom:10px;
    text-align: center;
}

.alarm-popup-modal .title {
    width:100%;
    height:100%;
    font-size: x-large;
    font-weight: bold;
}

.alarm-popup-modal .raised-time {
    font-weight: bold;
}

.alarm-popup-modal .reason {
    padding-top:20px;
}

.alarm-popup-modal .okButton {
    background-color: #0078e7;
    color: #fff;
    border-radius: 3px;
    padding: .8em 1.5em;
    font-size: large;
}

.orange-text-link {
    font-weight:bolder;
    color: orangered;
}

i.orange-alert{
  cursor: pointer;
  font-size: 32px;
}
i.red-alert{
  cursor: pointer;
  font-size: 32px;
}

i.domestic-icon{
  width: 100%;
  height: 100%;
  font-size: 50px;
}
.rotate-45{
  transform-origin: center;
  transform: rotate(45deg)
}
.rotate{
  transform-origin: center;
  animation: rotate 1s ease-in-out infinite;
}
.rotate-back{
  transform-origin: center;
  animation: rotate 1s ease-in-out infinite;
  animation-direction: reverse;
}
.left{
  animation: move 1s ease-in-out infinite;
}
.right{
  animation: move 1s ease-in-out infinite;
}

@keyframes rotate{
  100%{
    transform: rotate(calc(90deg + 45deg))
  }
}
@keyframes move{
  50%{
    transform: translate(-30px,-30px)
  }
}
