﻿/*Form groups and controls*/
.form-control:focus {
    border-color: white;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: #337ab7 0px 0px 7px;
}

    .form-control:focus + .input-group-addon {
        box-shadow: #337ab7 3px 0px 8px;
    }

.onoffswitch {
    position: relative;
    width: 70px;
    -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 #C2BEBE;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block;
        float: left;
        width: 50%;
        height: 30px;
        padding: 0;
        line-height: 30px;
        font-size: 14px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
        box-sizing: border-box;
    }

    .onoffswitch-inner:before {
        content: "YES";
        padding-left: 10px;
        background-color: #1E2E3E;
        color: #FFFFFF;
    }

    .onoffswitch-inner:after {
        content: "NO";
        padding-right: 10px;
        background-color: #EEEEEE;
        color: #999999;
        text-align: right;
    }

.onoffswitch-switch {
    display: block;
    width: 18px;
    margin: 6px;
    background: #FAF2F2;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 2px solid #C2BEBE;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.input-group-addon {
    color: white;
    background-color: #146794;
}

/*Custom panels and overwrites*/
.panel-default {
    background-color: none;
    border: 1px solid gainsboro;
}

    .panel-default > .panel-heading {
        background: whitesmoke;
        color: #505050;
    }

/*Modals and modal components*/
.modal-footer p {
    font-size: 18px !important;
    margin-bottom: 0px;
    font-weight: 700;
}

.modal-mobile-content {
    height: auto;
    min-height: 100%;
    border-radius: 0;
}

.modal-dialog-mobile {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.modal-title {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

body.modal-open {
    overflow: visible;
}

/*Standalone components*/
/*--------------------------------------------------------------------------------------------------*/
/*Sticky header*/
#appHeader {
    background: white;
    z-index: 1;
}

/*Defining sub-header class*/
h1.sub-header {
    color: pink;
    margin-bottom: 15px;
}

h2.sub-header {
    color: pink;
    margin-bottom: 15px;
}

h3.sub-header {
    margin-bottom: 15px;
}

h4.sub-header {
    margin-bottom: 10px;
}

h5.sub-header {
    margin-bottom: 10px;
}

h6.sub-header {
    margin-bottom: 5px;
}

.ajax-loader {
    display: inline-block;
    position: relative;
    height: 15px;
    width: 15px;
    background-image: url('../images/ajax-loader.gif');
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center center;
}