﻿
/***********************************************************************/
@media screen and (min-width: 1900px) {
   
    canvas {
        height: 50%;
        width: 75%;
        margin-bottom: -19%;
    }

    .gridster {
        width: 100%
    }
}

@media screen and (min-width: 1100px)and (max-width: 1250px) {
  

    canvas {
        height: 54%;
        width: 54%;
    }

    .gridster {
        width: 100%
    }
}

@media screen and (min-width: 1366px)and (max-width: 1400px) {
   
    canvas {
        height: 52%;
        width: 64%;
        margin-bottom: -18%;
    }

    .gridster {
        width: 100%
    }
}

.body-color {
    background-color: #222222;
}

.modal-dialog {
    top: 140px
}

.fg-dial-custom {
    font-weight: bold;
    position: absolute;
    text-align: center;
    top: 75%;
    width: 100%;
    height: inherit;
    font-size: 150%;
}

#save_pos {
    display: inline;
    padding: 10px 17px;
    position: fixed;
    transform: rotate(270deg);
    top: 50%;
    right: -37px;
    z-index: 15;
    display: none;
}

.widget-head {
    line-height: 1;
    padding-top: 15px;
    color: white;
}

.widget-foot {
    line-height: 1;
    padding-bottom: 15px;
}

.font-aw-div {
    height: inherit;
    width: inherit;
    opacity: 0.06;
    position: absolute;
    display: table;
}

.font-aw-div2 {
    display: table-cell;
    vertical-align: middle;
    height: inherit;
    width: inherit;
}

.li-table {
    height: inherit;
    width: inherit;
}

.li-table-tr {
    height: 100%;
}

.dotanimate {
    margin-left: 20px;
}

    .dotanimate:after {
        overflow: hidden;
        display: inline-block;
        vertical-align: bottom;
        -webkit-animation: ellipsis steps(4,end) 900ms infinite;
        animation: ellipsis steps(4,end) 900ms infinite;
        content: "\2026"; /* ascii code for the ellipsis character */
        width: 0px;
    }

@keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

/***********************************************************************/
html, body {
    height:100%;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
.board {
    margin-top: 10px;
    height: calc(96vh - 6.26em - 10px);
    padding-left: 0.8em;
    padding-right: 0.8em;
    color: #444;
    overflow-y: auto;
}
.board1 {
    height: calc(77vh - 3.7em);
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 5px;
    color: #444;
    overflow-y: overlay;
}
.navigate {
    height: calc(96vh - 6.26em);
    overflow-y: auto;
}

.ripple {
    background-position: center;
    transition: background 0.8s;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    border-right: 2px solid lightgray;
    height: 16.66% ;
    width: 100%;
    color: white;
    overflow-y: hidden;
    overflow-x: hidden;
}
.topboarder {
    border-top: 1px solid lightgray;
    margin-top:-1px;
}
.bottomboarder {
    border-bottom: 2px solid lightgray;
}
.ripple:hover {
    background: #E1E1E1 radial-gradient(circle, transparent 1%, #D1D1D1 1%) center/15000%;
}

.ripple:active {
        background-color: #707070;
        background-size: 100%;
        transition: background 0s;
    }
.imgstretch {
    width:100%;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    text-align: center;
    justify-content:center;
    align-content:center;
    margin-top:15px;
}


.buttontext {
    color: #e64225;
    text-align: center;
    margin-top: -1vh;
    font-family: Roboto, "Helvetica Neue", sans-serif;
}
.headtext {
    color: #e64224;
    font-weight: 575;
    font-family: 'Montserrat', sans-serif !important;
}
.headtext:hover {
    cursor: pointer;
}
.square1x1 {
    height: 100%;
    border-radius: 0.5vw;
    padding: 1vh;
    color: inherit;
    background: #ec663c;
}
    .square1x1:active {
        height: 100%;
        border-radius: 0.5vw;
        padding: 1vh;
        color: inherit;
        background: #FF773F;
    }
.square2x2 {
    height: 103%;
    border-radius: 0.5vw;
    padding: 1vh;
    color: inherit;
    background: #ec663c;
}

    .square2x2:active {
        height: 103%;
        border-radius: 0.5vw;
        padding: 1vh;
        color: inherit;
        background: #FF773F;
    }

.squareselected {
    filter: brightness(140%);
}


.h3color {
    color: rgba(255,255,255,0.7);
    border: 0px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-stretch: normal;
    font-size: calc(0.7vw + 0.7vh + .5vmin);
    line-height: normal;
    font-family: Arial;
    text-align: center;
    padding: 0px;
    margin-top: 0.5vw;
    margin-bottom: 0.5vw;
    -webkit-appearance: none;
}

.h3color2 {
    color: rgba(255,255,255,0.7);
    border: 0px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-stretch: normal;
    font-size: calc(1.4vw + 1vh + .5vmin);
    line-height: normal;
    font-family: Arial;
    text-align: center;
    padding: 1vh;
    -webkit-appearance: none;
}

.datacolor {
    color: white;
    border: 0px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-stretch: normal;
    font-size: calc(2.3vw + 1.6vh + .5vmin);
    line-height: normal;
    font-family: Arial;
    text-align: center;
    padding: 0px;
    -webkit-appearance: none;
}


.header {
    background: #7E7E7E;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-stretch: normal;
    color: white;
    font-size: calc(0.5vw + 0.5vh + .5vmin);
    line-height: normal;
    font-family: Arial;
    margin-bottom:3px;
}
.headertext {
    margin-left: 0.2em;
    background: #7E7E7E;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-stretch: normal;
    color: white;
    font-size: calc(0.5vw + 0.5vh + .5vmin);
    line-height: normal;
    font-family: Arial;
}

.dummyelement {
    margin-left: 0.5em;
    font-style: normal;
    font-variant: normal;
    font-stretch: normal;
    font-size: calc(0.4vw + 0.4vh + .5vmin);
    line-height: normal;
    font-family: Arial;
    margin-bottom: 2px;
}
.elementclicked {
    background-color: lightskyblue;
 
}
.element:hover {
    cursor: pointer;
}
#AddNewWallboard:hover {
    cursor: pointer;
}
.texttemp {
    position: relative;
    z-index: 5;
}
.gaugetemp {
    position: relative;
    z-index: 5;
}
.gauge {
    margin-bottom: 1vh;
}

#main {
    border: 5px solid #7E7E7E;
    height: calc(100vh - 3.2em);
    background-color: #fff;
    color: #444;
}
#mainx {
    background-color: #222222;
    color: #444;
    border-radius:5px;
}
.gadgetclicked {
    border: 3px dotted #222222;
    filter: brightness(125%);
}
.naviggationicon {
    width: 100%;
    
}
.controls {
    background-color: #e64225;
    height: calc(20vh - 3.2em);
    border-top: 2px solid lightgray;
    border-bottom: 2px solid lightgray;
    border-right: 2px solid lightgray;
    background-position: center;
    transition: background 0.8s;
}
    .controls:hover {
        background: #ee7b66 radial-gradient(circle, transparent 1%, #d51d0d1) center/15000%;
    }

    .controls:active {
        background-color: #d51d0d;
        background-size: 100%;
        transition: background 0s;
    }
.whitetext {
    color: white;
    text-align: center;
    margin-top: -10px;
}

.header-container{
    height: 80px;
}
.header-logo {
    height: 77px;
    margin-left: 20px;
    margin-top: 3px;
}
.main-content-container {
    border-top: 3px solid lightgrey;
    height: calc(100% - 80px);
}
.main-content-container> div{
    height: 100%;
}
.wallboard-content {
    border-left: 5px solid lightgrey;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.body-content{
    height: 99%;
}
.header-profile-image {
    height: 50px;
    top: 15px;
}
.navigate > div{
    text-align: center;
}

.navigate > div > img{
    max-height: 85px;
    max-width: 85px;
}
.operations-bar .controls{
    margin-bottom: 0px;
}
.wallboard-view-container{
    height: 84%;
}
.board1{
    height: 100%;
}
.navigate{
    height: 100%;
}

.license-info{
    margin-left: 30px;
}
#login-div {
    position: absolute;
    left: 40%;
    top: 20%;
    border: 1px solid #ccc;
    padding: 10px 10px;
}
.login-header-text {
    font-weight: 500;
    margin: 0 16px;
    font-size: 20px;
    margin-left: 35%;
}
.login-div:not([class*=mat-elevation-z]) {
    box-shadow: 0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12);
}
.login-div {
    transition: box-shadow 280ms cubic-bezier(.4,0,.2,1);
    display: block;
    position: relative;
    padding: 16px;
    border-radius: 4px;
    background: #fff;
    color: rgba(0,0,0,.87);
    font-family: Roboto,"Helvetica Neue",sans-serif;
}

.mat-fab.mat-accent, .mat-fab.mat-primary, .mat-fab.mat-warn, .mat-flat-button.mat-accent, .mat-flat-button.mat-primary, .mat-flat-button.mat-warn, .mat-mini-fab.mat-accent, .mat-mini-fab.mat-primary, .mat-mini-fab.mat-warn, .mat-raised-button.mat-accent, .mat-raised-button.mat-primary, .mat-raised-button.mat-warn {
    color: #fff;
    margin: 10px;
    margin-left: 35%;
}

.mat-fab.mat-primary, .mat-flat-button.mat-primary, .mat-mini-fab.mat-primary, .mat-raised-button.mat-primary {
    background-color: #3f51b5;
}

.mat-raised-button:not([class*=mat-elevation-z]) {
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}

.mat-card-actions .mat-button, .mat-card-actions .mat-raised-button {
    margin: 0 8px;
}

    .mat-card-actions .mat-button:first-child, .mat-card-actions .mat-raised-button:first-child {
        margin-left: 0;
        margin-right: 0;
    }
.mat-raised-button {
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: 0;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
    transform: translate3d(0,0,0);
    transition: background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);
}
.login-label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: normal;
    margin-top: 5px;
    margin-left:12px;
}
.login-box {
    width: 90%;
    margin-left: 12px;
    margin-right: 12px;
}
.header-container {
    padding-bottom: 80px;
    border-bottom: 5px solid #d3d3d3;
}
.field-validation-message {
    color: red;
    font-weight: normal;
    font-size: 12px;
}
.image-container, .image-container img {
    width: 100%;
}
.cursorPointer {
    cursor:pointer;
}
.boundry {
    scroll-padding-top: 50px;
    scroll-padding-left: 50px;
    background-size: 20px 20px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}