﻿/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

input[type=checkbox] {
    width: 40px;
    height: 40px;
}

label.checkbox-inline {
    vertical-align: middle;
}
/* Customise bootstrap*/
body {
    background: #eeeeee;
    font-family: 'Varela Round', sans-serif;
}

.btn-lg {
    margin-right: 10px;
}

.wrapper {
    margin: 20px 0;
}

.jumbotron {
    background-size: cover;
    margin-top: -20px;
    color: beige;
}

footer {
    vertical-align: middle;
    padding: 10px 0;
    margin: 10px 0 0;
    background-color: #212529;
    color: beige;
}

.mb-5, .my-5 {
    margin-bottom: 3rem !important;
}

.mt-5, .my-5 {
    margin-top: 3rem !important;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}
/*Step Wizard*/
.stepwizard-step p {
    margin-top: 10px;
    font-weight: 600;
}

.stepwizard-row {
    display: flex;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
    background-color: white;
    margin: 10px 0;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
}

.stepwizard-row:before {
    top: 34px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 5px;
    background-color: #bbb;
    z-index: 0;
}

.stepwizard-step {
    margin: 10px 0;
    text-align: center;
    width: 100%;
    position: relative;
}

.btn-circle {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.428571429;
    border-radius: 50%;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
/*Blank state*/
.blank-state {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 3px 4px -3px rgba(102, 102, 102, 0.25);
    -webkit-box-shadow: 0 3px 4px -3px rgba(102, 102, 102, 0.25);
    box-shadow: 0 3px 4px -3px rgba(102, 102, 102, 0.25);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 40px 20px;
    font-size: 100%;
    color: #737373;
    text-align: center;
    border: 1px solid #ddd;
    background-color: #fefefe;
}

    .blank-state h1, .blank-state p {
        font-weight: 300;
    }

    .blank-state p {
        margin-bottom: 15px;
    }

    .blank-state.blank-state-lg {
        padding: 90px 45px;
        font-size: 150%;
    }

    .blank-state.blank-state-sm {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        padding: 20px 10px;
        font-size: 85%;
    }

/*Next of kin required classes*/
.NextofKinRequired {
    position: relative;
    text-align: center;
    vertical-align: top;
    margin: 0;
    padding: 0;
}

.panel heading .row, .panel heading .caption {
    vertical-align: middle;
    height: 100%;
}

/*Dashboard customisation*/
.maximumPercent {
    width: 100%;
    height: 100%;
}

.smallChart {
    width: 100%;
    height: 250px;
}

#salesStatisticsChart {
    width: 100%;
    height: 285px;
}

#graveyardChart {
    width: 100%;
    height: 450px;
}

#graveyardMapChart {
    width: 100%;
    height: 438px;
}

.info-box {
    display: block;
    min-height: 90px;
    background: #fff;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border-radius: 2px;
    margin-bottom: 15px;
}

.info-box-icon {
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
    display: block;
    float: left;
    height: 90px;
    width: 90px;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
    /*background: rgba(0,0,0,0.2);*/
}

.info-box-content {
    padding: 5px 10px;
    margin-left: 90px;
}

.info-box-text {
    text-align: center;
    text-transform: uppercase;
}

.progress-description, .info-box-text {
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-box-number {
    display: block;
    font-weight: bold;
    font-size: 35px;
    text-align: center;
}

/*Timeline*/
ul.timeline {
    list-style-type: none;
    position: relative;
}

    ul.timeline:before {
        content: ' ';
        background: #d4d9df;
        display: inline-block;
        position: absolute;
        left: 29px;
        width: 2px;
        height: 100%;
        z-index: 400;
    }

    ul.timeline > li {
        margin: 20px 0;
        padding-left: 20px;
    }

        ul.timeline > li:before {
            content: ' ';
            background: white;
            display: inline-block;
            position: absolute;
            border-radius: 50%;
            border: 3px solid #22c0e8;
            left: 20px;
            width: 20px;
            height: 20px;
            z-index: 400;
        }
/* Footer */
#myFooter {
    background-color: #557CB5;
    color: white;
    padding: 30px 0 0 0;
}

    #myFooter .footer-copyright {
        background-color: #404756;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: center;
    }

    #myFooter .row {
        margin-bottom: 60px;
    }

    #myFooter .navbar-brand {
        margin-top: 45px;
        height: 65px;
    }

    #myFooter .footer-copyright p {
        margin: 10px;
    }

    #myFooter ul {
        list-style-type: none;
        padding-left: 0;
        line-height: 1.7;
    }

    #myFooter h5 {
        font-size: 18px;
        color: white;
        font-weight: bold;
        margin-top: 30px;
    }

    #myFooter h2 a {
        font-size: 50px;
        text-align: center;
        color: #fff;
    }

    #myFooter a {
        color: #d2d1d1;
        text-decoration: none;
    }

        #myFooter a:hover,
        #myFooter a:focus {
            text-decoration: none;
            color: white;
        }

    #myFooter .social-networks {
        text-align: center;
        padding-top: 30px;
        padding-bottom: 16px;
    }

        #myFooter .social-networks a {
            font-size: 32px;
            color: #f9f9f9;
            padding: 10px;
            transition: 0.2s;
        }

            #myFooter .social-networks a:hover {
                text-decoration: none;
            }

    #myFooter .facebook:hover {
        color: #0077e2;
    }

    #myFooter .google:hover {
        color: #ef1a1a;
    }

    #myFooter .twitter:hover {
        color: #00aced;
    }

    #myFooter .btn {
        color: white;
        background-color: #d84b6b;
        border-radius: 20px;
        border: none;
        width: 150px;
        display: block;
        margin: 0 auto;
        margin-top: 10px;
        line-height: 25px;
    }

    #myFooter .logo img.bgwhite {
        padding: 5px;
        background-color: white;
    }

@media only screen and (max-width: 767px) {
    .btn-sm-bottom-buffer {
        margin-bottom: 10px;
    }

    .mobile-hide {
        display: none;
    }

    #myFooter {
        text-align: center;
    }

    .panel-body .form-horizontal {
        padding: 5px;
    }

    .no-more-tables table {
        margin-top: 10px;
    }

    /* Force table to not be like tables anymore */
    .no-more-tables table,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables tfoot,
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    .no-more-tables tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .no-more-tables td {
        /* Behave  like a "row" */
        white-space: normal;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
        text-align: left;
        min-height: 30px;
    }

        .no-more-tables td[data-title=""] {
            padding: 5px !important;
        }

        .no-more-tables td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 4%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
        }

        /*
	Label the data
	*/
        .no-more-tables td:before {
            content: attr(data-title);
        }
}

@media all and (max-width:480px) {
    .mobile-btn-block {
        width: 100%;
        display: block;
        margin-bottom: 5px !important;
    }

    .wrapper {
        text-align: center;
    }
}

@media all and (min-width:767px) {
    .website-hide {
        display: none;
    }

    .wrapper .col-sm-3 {
        border-right: solid 1px #D0D0D0 !important;
    }
}

/*Bootstrap customisation*/
.bi-2x {
    font-size: 2em !important;
}
.bi-4x {
    font-size: 4em !important;
}

.bottom-buffer {
    margin-bottom: 15px;
}

.top-buffer {
    margin-top: 10px;
}

.form-inline {
    display: inline-block;
}

.navbar-header.col {
    padding: 0 !important;
}

.navbar {
    color: #fff;
    background: #002351;
    padding: 5px 16px;
    border-radius: 0;
    border: none;
    box-shadow: 0 0 4px rgba(0,0,0,.1);
}

    .navbar img {
        border-radius: 50%;
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }

    .navbar .navbar-brand {
        color: #efe5ff;
        padding-left: 0;
        padding-right: 50px;
        font-size: 24px;
    }

        .navbar .navbar-brand:hover, .navbar .navbar-brand:focus {
            color: #fff;
        }

        .navbar .navbar-brand i {
            font-size: 25px;
            margin-right: 5px;
        }

.search-box {
    position: relative;
    width: 300px;
}

    .search-box input {
        padding-right: 35px;
        min-height: 38px;
        border: none;
        background: #faf7fd;
        border-radius: 3px !important;
    }

        .search-box input:focus {
            background: #fff;
            box-shadow: none;
        }

    .search-box .input-group-addon {
        min-width: 35px;
        border: none;
        background: transparent;
        position: absolute;
        right: 0;
        z-index: 9;
        padding: 10px 7px;
        height: 100%;
    }

    .search-box i {
        color: #a0a5b1;
        font-size: 19px;
    }

.navbar .nav-item i {
    font-size: 18px;
}

.navbar .nav-item span {
    position: relative;
    top: 3px;
}

.navbar .nav > li a {
    color: #efe5ff;
    padding: 8px 15px;
    font-size: 14px;
}

    .navbar .nav > li a:hover, .navbar .nav > li a:focus {
        color: #fff;
        text-shadow: 0 0 4px rgba(255,255,255,0.3);
    }

.navbar .nav > li > a > i {
    display: block;
    text-align: center;
}

.navbar .dropdown-item i {
    font-size: 16px;
    min-width: 22px;
}

.navbar .dropdown-item .material-icons {
    font-size: 21px;
    line-height: 16px;
    vertical-align: middle;
    margin-top: -2px;
}

.navbar .nav-item.open > a, .navbar .nav-item.open > a:hover, .navbar .nav-item.open > a:focus {
    color: #fff;
    background: none !important;
}

.navbar .dropdown-menu {
    border-radius: 1px;
    border-color: #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

    .navbar .dropdown-menu li a {
        color: #777 !important;
        padding: 8px 20px;
        line-height: normal;
    }

        .navbar .dropdown-menu li a:hover, .navbar .dropdown-menu li a:focus {
            color: #333 !important;
            background: transparent !important;
        }

.navbar .nav .active a, .navbar .nav .active a:hover, .navbar .nav .active a:focus {
    color: #fff;
    text-shadow: 0 0 4px rgba(255,255,255,0.2);
    background: transparent !important;
}

.navbar .nav .user-action {
    padding: 9px 15px;
}

.navbar .navbar-toggle {
    border-color: #fff;
}

    .navbar .navbar-toggle .icon-bar {
        background: #fff;
    }

    .navbar .navbar-toggle:focus, .navbar .navbar-toggle:hover {
        background: transparent;
    }

.navbar .navbar-nav .open .dropdown-menu {
    background: #faf7fd;
    border-radius: 1px;
    border-color: #faf7fd;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.navbar .divider {
    background-color: #e9ecef !important;
}

@media (min-width: 1200px) {
    .form-inline .input-group {
        width: 350px;
        margin-left: 30px;
    }
}

@media (max-width: 1199px) {
    .navbar .nav > li > a > i {
        display: inline-block;
        text-align: left;
        min-width: 30px;
        position: relative;
        top: 4px;
    }

    .navbar .navbar-collapse {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .navbar .navbar-form {
        border: none;
        display: block;
        margin: 10px 0;
        padding: 0;
    }

    .navbar .navbar-nav {
        margin: 8px 0;
    }

    .navbar .navbar-toggle {
        margin-right: 0;
    }

    .input-group {
        width: 100%;
    }
}
