﻿
.invalid-field {
    background: #FBE3E4 !important;
    border: solid 1px Red !important;
}

input.ng-valid.ng-dirty, select.ng-valid.ng-dirty, textarea.ng-valid.ng-dirty {
    background-color: #fbfcfd !important;
    border-color: #ccd9e6 !important;
}
.section-card {
    border-bottom: 1px solid #ccc !important;
    padding: 10px !important;
    color: #000;
    background-color: white !important;
    font-weight: bold;
}
.switch {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 56px;
    height: 20px;
    padding: 3px;
    background-color: white;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    box-shadow: inset 0 -1px #fff, inset 0 1px 1px rgba(0,0,0,0.05);
    cursor: pointer;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background: #f9f9f9;
    border-radius: inherit;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.12), inset 0 0 2px rgba(0,0,0,0.15);
    -webkit-transition: .15s ease-out;
    -moz-transition: .15s ease-out;
    -o-transition: .15s ease-out;
    transition: .15s ease-out;
    -webkit-transition-property: opacity background;
    -moz-transition-property: opacity background;
    -o-transition-property: opacity background;
    transition-property: opacity background;
}

    .switch-label:before, .switch-label:after {
        position: absolute;
        top: 50%;
        margin-top: -0.5em;
        line-height: 1;
        -webkit-transition: inherit;
        -moz-transition: inherit;
        -o-transition: inherit;
        transition: inherit;
    }

    .switch-label:before {
        content: attr(data-off);
        right: 11px;
        color: #aaa;
        text-shadow: 0 1px rgba(255,255,255,0.5);
    }

    .switch-label:after {
        content: attr(data-on);
        left: 11px;
        color: white;
        text-shadow: 0 1px rgba(0,0,0,0.2);
        opacity: 0;
    }

.switch-input:checked ~ .switch-label {
    background: #b2b8bd;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.15), inset 0 0 3px rgba(0,0,0,0.2);
}

    .switch-input:checked ~ .switch-label:before {
        opacity: 0;
    }

    .switch-input:checked ~ .switch-label:after {
        opacity: 1;
    }

.switch-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    background: white;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
    background-image: -webkit-linear-gradient(top, #fff 40%, #f0f0f0);
    background-image: -moz-linear-gradient(top, #fff 40%, #f0f0f0);
    background-image: -o-linear-gradient(top, #fff 40%, #f0f0f0);
    background-image: linear-gradient(to bottom, #fff 40%, #f0f0f0);
    -webkit-transition: left .15s ease-out;
    -moz-transition: left .15s ease-out;
    -o-transition: left .15s ease-out;
    transition: left .15s ease-out;
}

    .switch-handle:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -6px 0 0 -6px;
        width: 12px;
        height: 12px;
        background: #f9f9f9;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        box-shadow: inset 0 1px rgba(0,0,0,0.02);
        background-image: -webkit-linear-gradient(top, #eee, #fff);
        background-image: -moz-linear-gradient(top, #eee, #fff);
        background-image: -o-linear-gradient(top, #eee, #fff);
        background-image: linear-gradient(to bottom, #eee, #fff);
    }

.switch-input:checked ~ .switch-handle {
    left: 40px;
    box-shadow: -1px 1px 5px rgba(0,0,0,0.2);
}

.switch-primary > .switch-input:checked ~ .switch-label {
    background: #36a9e1;
}

.switch-success > .switch-input:checked ~ .switch-label {
    background: #78cd51;
}

.switch-warning > .switch-input:checked ~ .switch-label {
    background: #fabb3d;
}

.switch-important > .switch-input:checked ~ .switch-label {
    background: #ff5454;
}

.switch-info > .switch-input:checked ~ .switch-label {
    background: #67c2ef;
}

.switch-danger > .switch-input:checked ~ .switch-label {
    background: #d9534f;
}



.checkbox,
.radio {
    padding-left: 0;
}

.pointer{
    cursor:pointer;
}

.ui-jqgrid .ui-jqgrid-htable th div {
    white-space: normal !important;
    height: auto;
    vertical-align: text-top;
    position: relative;
    overflow: hidden;
}

.ui-jqgrid tr.jqgrow td.wrap {
    white-space: nowrap !important;
}
.export-excel {
    background: #fff url('images/icon_exportToExcel_small.png') no-repeat;
    height: 32px;
    width: 42px;
    display: block;
    float: right;
    cursor: pointer;
    margin-right: 20px;
}

.icon-pdf {
    background: #fff url('images/icon_pdf.png') no-repeat;
    height: 18px;
    width: 18px;
    display: block;
    cursor: pointer;
}
.fade.in {
    opacity: 1;
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5;
}

.header-button-group {
    cursor: pointer!important;
}
.required-field{
    color:red!important;
}
.icon-edit {
    font-size: 1.2rem !important;
}
.icon-trash {
    font-size: 1.2rem !important;
}

.modal-title {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #000 !important;
}

.icon-cros{
    color:red;
    font-weight:bold;
}

.btn-primary {
    border-color: blue !important;
    background-color: blue !important;
    color: #fff;
}