﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

td address {
    margin-top: 0;
    margin-bottom: 0;
}

textarea {
    width: 100%;
}

.badge-notify {
    background: red;
    position: relative;
    top: -20px;
    right: 5px;
}

.badge-notify-default {
    background: gray;
}

.btn-no-verticle-padding {
    padding-top: 0;
    padding-bottom: 0;
}

.btn-text-left {
    text-align: left;
}
.btn-text-right {
    text-align: right;
}

select.btn-text-left + .btn-group>.multiselect.dropdown-toggle {
    text-align: left;
}
select.btn-text-left + .btn-group > .multiselect.dropdown-toggle > .caret {
    /*float: right!important;*/
    position: absolute;
    right: 2%;
    top: 45%;
}
select.btn-text-right + .btn-group > .multiselect.dropdown-toggle {
    text-align: right;
}

.no-padding {
    padding: 0;
}

.table thead th {
    background: #337AB7 !important;
    color: white !important;
    font-weight: bold !important;
}

.table-info thead th {
    background: #DEEFF7 !important;
    color: #31718C !important;
}

.total {
    background: #31B0D5;
    color: white;
    font-weight: bold;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.29);
    padding: 15px;
}

.panel .panel-heading {
    font-weight: bold;
}

/* CUSTOM CHECKBOX */

/* The customcheck */
.customcheck {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: normal;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

thead .customcheck {
    margin-bottom: 20px;
}

    /* Hide the browser's default checkbox */
    .customcheck input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
    border: 1px solid #bbb;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

/* On mouse-over, add a grey background color */
.customcheck:hover input ~ .checkmark {
    background-color: #ccc;
}

.customcheck:hover input:disabled ~ .checkmark {
    cursor: not-allowed;
}


/* When the checkbox is checked, add a blue background */
.customcheck input:checked ~ .checkmark {
    background-color: #eee;
    border-radius: 5px;
}

.customcheck.customcheck-info input:checked ~ .checkmark {
    background-color: #5bc0de;
}

.customcheck.customcheck-primary input:checked ~ .checkmark {
    background-color: #337AB7;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.customcheck input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.customcheck .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #333;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.customcheck.customcheck-info .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.customcheck.customcheck-primary .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
    /* Create a custom checkbox 337AB7 */


.dropdown-header {
    margin-bottom: 0;
    background-color: #eee;
    font-weight: bold;
}

.dropdown-header.dropdown-header-primary {
    background-color: #E0EFFF;
    color: #337AB7;
}

.dropdown-toggle.bs-placeholder {
    color: inherit !important;
}

body {
    table-layout: fixed;
}

#notifications {
    background-color: #FFFFFF;
    display: block;
    width: 100%;
    position: relative;
}

#notifications .alert-danger {
    margin-bottom: 0px;
}

/*BLINK NEW ROW*/
@-webkit-keyframes blink-new-row {
    0% { opacity: 0.5; }
    20% { opacity: 1.0; }
    40% { opacity: 0.5; }
    60% { opacity: 1.0; }
    80% { opacity: 0.5; }
    100% { opacity: 1.0; }
}
@-moz-keyframes blink-new-row {
    0% { opacity: 0.5; }
    20% { opacity: 1.0; }
    40% { opacity: 0.5; }
    60% { opacity: 1.0; }
    80% { opacity: 0.5; }
    100% { opacity: 1.0; }
}
@-o-keyframes blink-new-row {
    0% { opacity: 0.5; }
    20% { opacity: 1.0; }
    40% { opacity: 0.5; }
    60% { opacity: 1.0; }
    80% { opacity: 0.5; }
    100% { opacity: 1.0; }
}
@keyframes blink-new-row {
    0% { opacity: 0.5; }
    20% { opacity: 1.0; }
    40% { opacity: 0.5; }
    60% { opacity: 1.0; }
    80% { opacity: 0.5; }
    100% { opacity: 1.0; }
}

.blink-new-row {
    -webkit-animation: blink-new-row 1s 2; /* Safari 4+ */
    -moz-animation: blink-new-row 1s 2; /* Fx 5+ */
    -o-animation: blink-new-row 1s 2; /* Opera 12+ */
    animation: blink-new-row 1s 2; /* IE 10+ */
}
/*BLNK NEW ROW*/
/*BLINK REMOVE ROW*/
@-webkit-keyframes blink-remove-row {
    0% { opacity: 0.25; }
    20% { opacity: 1.0; }
    40% { opacity: 0.25; }
    60% { opacity: 1.0; }
    80% { opacity: 0.25; }
    100% { opacity: 0.0; visibility: collapse; }
}
@-moz-keyframes blink-remove-row {
    0% { opacity: 0.25; }
    20% { opacity: 1.0; }
    40% { opacity: 0.25; }
    60% { opacity: 1.0; }
    80% { opacity: 0.25; }
    100% { opacity: 0.0; visibility: collapse; }
}
@-o-keyframes blink-remove-row {
    0% { opacity: 0.25; }
    20% { opacity: 1.0; }
    40% { opacity: 0.25; }
    60% { opacity: 1.0; }
    80% { opacity: 0.25; }
    100% { opacity: 0.0; visibility: collapse; }
}
@keyframes blink-remove-row {
    0% { opacity: 0.25; }
    20% { opacity: 1.0; }
    40% { opacity: 0.25; }
    60% { opacity: 1.0; }
    80% { opacity: 0.25; }
    100% { opacity: 0.0; visibility: collapse; }
}

.blink-remove-row {
    -webkit-animation: blink-remove-row 1s 2; /* Safari 4+ */
    -moz-animation: blink-remove-row 1s 2; /* Fx 5+ */
    -o-animation: blink-remove-row 1s 2; /* Opera 12+ */
    animation: blink-remove-row 1s 2; /* IE 10+ */
    animation-fill-mode: forwards;
}

.form-control-no-border {
    border: none;
    -webkit-box-shadow: none;
}

/*BLNK REMOVE ROW*/

.btn-outline-info {
    color: #5bc0de;
    background-color: #fff;
    border-color: #46b8da;
}
.btn-outline-info:hover {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-outline-primary {
    color: #337ab7;
    background-color: #fff;
    border-color: #2e6da4;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-outline-success {
    color: #5cb85c;
    background-color: #fff;
    border-color: #4cae4c;
}
.btn-outline-success:hover {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-outline-danger {
    color: #d9534f;
    background-color: #fff;
    border-color: #d43f3a;
}
.btn-outline-danger:hover {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-outline-warning {
    color: #f0ad4e;
    background-color: #fff;
    border-color: #eea236;
}
.btn-outline-warning:hover {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.btn-outline-secondary {
    color: #A0A0A0;
    background-color: #fff;
    border-color: #A0A0A0;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #C0C0C0;
    border-color: #A0A0A0;
}

.modal-full-screen-loading .modal-dialog {
    display: table;
    position: relative;
    margin: 0 auto;
    top: calc(50% - 24px);
}

.modal-full-screen-loading .modal-dialog .modal-content {
    background-color: transparent;
    border: none;
}

.background-danger {
    color: #fff;
    background-color: #d9534f !important;
    border-color: #d43f3a;
}

.background-warning {
    color: #fff;
    background-color: #f0ad4e !important;
    border-color: #eea236;
}

.text-white {
    color: #fff;
}