/* app css stylesheet */

html {
    overscroll-behavior: contain !important;
    touch-action: none !important;
}

body {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    overscroll-behavior: contain !important;
    touch-action: none !important;
}
.row {
    padding-left: 0px;
    margin-left: 0px;
    padding-right: 0px;
    margin-right: 0px;
}
textarea {
    outline: none !important;
}
a.external {
    text-decoration: underline;
}
.nopadding {
   padding: 0 !important;
}
.form-control {
    box-shadow: none !important;
}
.form-control:focus {
    color: #444 !important;
    border-color: #a3a3a3;

}
.form-control:active {
    color: #888 !important;
}
.row-centered {
    text-align:center;
}
.col-centered {
    display:inline-block;
    float:none;
    text-align:left;
    margin-right:-4px;
}
/* Custom container */
.container-full {
    margin: 0 auto;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
#debug {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 300px;
    height: 500px;
    background-color: red;
    z-index: 1000;
    overflow: auto;
}
.width-100 {
    width: 100px !important;
}

.width-120 {
    width: 120px !important;
}

.width-160 {
    width: 160px !important;
}

.width-300 {
    width: 300px !important;
}

.width-30-percents {
    width: 30%;
}

/* Tables: */
.fullPageTable {
    padding: 0px;
}

.alignedCells th, td {
    height:         51px;
    text-align:     center !important;
    vertical-align: middle !important;
}

.alignLeft {
    text-align: left !important;
}

.sortTriangle {
    font-size:    10px;
    padding-left:  5px;
}

/* form elements: */
.form-element-offset {
    margin-top: 10px;
}

.ng-invalid.ng-touched {
    background-color: #faeadd;
    border: 1px solid #dd1144;
}

.ng-valid.ng-touched {
    background-color: #fff;
}


/* Just an experiment to make an expandable text area (feel free to make it in a proper way) */
textarea.expandable {
    height: 3em !important; /* couldn't make textarea be the same height as one line text input, did it this way */
    resize: none;
    overflow: hidden !important;
    margin-top: 16px;
    background-color: #fff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

textarea.expandable:focus {
    height: 10em !important; /* expand text area to contain many lines */
    overflow: auto !important;
    white-space: normal;
}

/*imageViewCSS*/

.imagePreview img {
    max-width: 100%;
    display: block;
    margin-right: auto;
    margin-left: auto;
}
.imgName {
    white-space: nowrap;
    overflow: auto;
}

/* Header: */
.mapHeader{
    height:     65px;
    background-color: #ededed;
}
.test .mapHeader{
    background-color: #FEFF15;
}
.dev .mapHeader{
    background-color: #ccf3ff;
}
.centerText{
    padding-top:   19px;
    height:        65px;
    max-width:     400px;
    margin:        auto;
    float:         none;
    text-align:    center;
    vertical-align: middle;
}

/* Navigation buttons in views headers: */

.mediumPaddingTop {
    padding-top: 10px;
}
.mediumPaddingBottom {
    padding-bottom: 10px;
}


.smallPaddingTop {
    padding-top: 3px;
}

.smallPaddingLeftOnly {
    padding-left:  3px !important;
    padding-right: 0px !important;
}

.mediumPaddingLeftOnly {
    padding-left:  10px !important;
    padding-right: 0px !important;
}

.smallPaddingRightOnly {
    padding-left:  0px !important;
    padding-right: 3px !important;
}

.noHorizontalPadding {
    padding-left:  0px !important;
    padding-right: 0px !important;
}

.noPaddingLeft {
    padding-left: 0px !important;
}

.noPaddingRight {
    padding-right: 0px !important;
}

.noWrap {
    white-space: nowrap;
}

.header {
    padding-top: 6px;
}

.wrap {
    margin-left: 0;
    margin-right: 15px;
}
/*alertBox*/
.alertBox {
    background: #ff4b38;
    color: #fff;
    border-radius: 2px;
    font-size: 16px;
}
.successBox {
    background: #ff4b38;
    color: #7cc242;
    border-radius: 2px;
    font-size: 16px;
}
/* Odd and even rows in lists: */
.odd {
    background-color: #EEE;
}

.even {
    background-color: #fff;
}

.odd2 {

}
.odd3 {

}
.even2 {
    background-color: #EEE;
}
.even2 td:first-child {
    background: #ededed; /*default*/
    background: -webkit-linear-gradient(-90deg, #ededed, #fff);
    background: -o-linear-gradient(-90deg, #ededed, #fff);
    background: -moz-linear-gradient(-90deg, #ededed, #fff);
    background: linear-gradient(-90deg, #ededed, #fff);
}
.even3 {
    background-color: #EEE;
}
.tableSideScroll {
}
@media only screen and (max-width: 700px){
.tableSideScroll {
    display: block;
    overflow: auto;
}
}
.leftAlignTable  td{
    text-align: left  !important;
    border: 0 !important;
}


.restoreBorders  td{

    border: 1px solid #dcdcdc !important;
}

/*color-classes*/
.btn-active {
    background: #7cc242 !important;
    color: #fff !important;
}
.btn-active:hover {
    background: #70b139 !important;
}
.btn-idle {
    background: #2b2b2b !important;
}
.btn-idle:hover {
    background: #1e1e1e !important;
}
.btn-cancel {
    background: #d9534f !important;
    color: #fff !important;
}
.btn-cancel:hover {
    background: #d43f3a !important;
}
.loginArea {
    background: #ededed;
    border-radius: 10px;
    padding: 1em;
    margin-top: 2em;
    padding-top: 0;
}
.loginButton {
    font-weight: bold;
    color: #fff;
}
.loginButton:hover {
    color: #555;
}
.checkButton {
    position: relative;
    z-index: 100;
    height: 50px;
    width: 50px;
    background: transparent;
    border-radius: 10px;
    font-size: 22px;
    outline: 0 !important;
    color: #7cc242 !important;
    border: 2px solid #7cc242;
}
#mapRemarkDiv {

    position: fixed;
    bottom: 10px;
    right: 50px;
    width: 40%;
    height:80px;
    display: none;

}
#info {
    position: absolute;
    z-index: 100;
}

.closed {
    display: none;
}

.calendarBtn {
    width: 55px;
    outline: 0 !important;
    background-color: #7cc454;
}

.calendarBtn span {
    background:   url(../img/calendar.png) no-repeat;
    transform:    scale(0.7, 0.7);
    position: absolute;
    width: 40px;
    height: 40px;
    top: 3px;
    right: 6px;
}

