body {
    padding-top: 51px;
    -ms-overflow-style: scrollbar !important;
}

#wrapper {
    width: 100%;
    background-color: #545454;
}

#page-wrapper {
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
    min-height: 568px;
    background-color: #FFF;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        background: red;
        cursor: inherit;
        display: block;
    }

input[readonly] {
    cursor: text !important;
}

@media(min-width:768px) {
    .table-condensed > thead {
        position: sticky;
        top: 50px;
        z-index: 100;
    }
    #page-wrapper {
        margin-right: 0;
        margin-left: 250px;
        margin-bottom: 0;
        padding: 1px 30px;
        border-left: 1px solid #e7e7e7;
    }

    .sidebar {
        z-index: 1;
        width: 250px;
        position: absolute;
    }

        .sidebar li > a {
            position: relative;
            display: block;
            padding: 10px 15px;
            color: #F5F3EE;
        }

            .sidebar li > a:hover,
            .sidebar li > a:focus {
                text-decoration: none;
                background-color: #567592;
                color: #F5F3EE;
            }

        .sidebar ul ul li > a:hover,
        .sidebar ul ul li > a:focus {
            text-decoration: none;
            background-color: #CCC9C2;
            border-radius: 3px;
            color: #545454;
        }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    /*#wrapper {
	margin-top: 100px;
	}*/
    .table-condensed > thead {
        position: sticky;
        top: 0px;
        z-index: 100;
    }
    .navbar-fixed-top {
        position: static;
    }

    .sidebar {
        position: static;
    }

    body {
        padding-top: 0px;
    }
}

.navbar-top-links {
    margin-right: 0;
}

    .navbar-top-links li {
        display: inline-block;
    }

        .navbar-top-links li:last-child {
            margin-right: 15px;
        }

        .navbar-top-links li a {
            padding: 15px;
            min-height: 50px;
            color: #F5F3EE;
        }

    .navbar-top-links .dropdown-menu li {
        display: block;
    }


        .navbar-top-links .dropdown-menu li a {
            padding: 3px 20px;
            min-height: 0;
            color: #545454;
        }

    .navbar-top-links .dropdown-user {
        right: 0;
    }

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar ul ul {
    background-color: #CCC9C2;
}

    .sidebar ul ul a {
        color: #606060;
        background-color: #F5F3EE;
    }

    .sidebar ul ul ul a {
        color: #606060;
        margin-left: 10px;
        background-color: #F5F3EE;
    }

.sidebar ul li {
}

    .sidebar ul li a.active {
        background-color: #02BFA6;
        color: #F5F3EE;
    }

.sidebar .arrow {
    float: right;
    color: #F5F3EE;
    border-radius: 50%;
    background-color: #02BFA6;
    position: relative;
    font-weight: bolder;
    text-align: center;
    background-size: auto auto;
    width: 13px;
    height: 13px;
    text-decoration: none;
    line-height: 13px;
    margin-top: 4px;
    font-family: "Courier New";
}

    .sidebar .arrow:before {
        content: "+";
    }

.sidebar .active > a > .arrow:before {
    content: "-";
}


.sidebar li {
    border-bottom: 0 !important;
}


.dataTables_wrapper {
    position: relative;
    clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

    table.dataTable thead .sorting_asc:after {
        content: "6";
        float: right;
        font-family: Webdings;
    }

    table.dataTable thead .sorting_desc:after {
        content: "5";
        float: right;
        font-family: Webdings;
    }

    table.dataTable thead .sorting:after {
        content: "<";
        float: right;
        font-family: Webdings;
    }


.login-panel {
    margin-top: 25%;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #F8F9F8 !important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.input-sm, select.input-sm, .form-horizontal .control-label, .control-label-ontario, .btn, tr, td, th {
    height: auto !important;
    padding: 2px !important;
    margin: -2px 0px -5px 0px !important;
}

    .input-sm + .form-control-feedback {
        line-height: 17px !important;
    }

.form-horizontal .form-group {
    margin-right: 0px !important;
    margin-left: 0px !important;
    margin-bottom: 9px !important;
}

hr {
    margin-bottom: 8px !important;
    margin-top: 0px !important;
    height: 2px;
    background-color: darkgrey;
}

.row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.checkbox {
    min-height: 0px !important;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 0px;
    padding-left: 0px;
}

table {
    margin-top: 5px !important;
}

.ui-autocomplete-loading {
    background: white url("../img/ui-anim_basic_16x16.gif") right center no-repeat;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

.collapsed-div-header {
    cursor: pointer;
    background-color: #EDE9E0;
    font-size: 14px;
    padding: 8px;
    clear: both;
    border-radius: 5px 5px 0 0;
    margin-top: 2px;
    border-bottom: 3px solid #02BFA6;
}

.collapsible-section {
    padding: 10px;
    border: solid 1px #EDE9E0;
    margin-bottom: 20px;
    border-radius: 0 0 20px 20px;
}

hr {
    height: 1px;
    border-width: 0;
    color: #02BFA6;
    background-color: #02BFA6;
}

.transparentBox {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    z-index: 499;
}

    .transparentBox h3 {
        color: #E54E4E;
    }

.popupBox {
    background-color: rgba(255,255,255,1);
    color: #E54E4E;
    z-index: 500;
    position: absolute;
    top: 25%;
    left: 25%;
    width: 500px;
    border-radius: 20px;
    padding: 0px;
    border: solid 2px #E54E4E;
    overflow: hidden;
}

    .popupBox .popupBoxCloseButton {
        background-color: #32A3DD;
        color: #FFF;
        padding: 10px 20px;
        border-radius: 0 0 0 20px;
        cursor: pointer;
        float: right;
    }

    .popupBox .popupBoxContent {
        clear: both;
        padding: 0 10px 20px 10px;
    }

        .popupBox .popupBoxContent div {
            padding: 4px;
        }

.loaderBackground, .messageBackground {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2000;
}

.loader {
    border-top: 7px solid rgba(2, 191, 166, 0.9);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 220px auto;
    background-color: rgba(2, 191, 166, 0.2);
}

.loaderBackground .loaderInfo {
    position: absolute;
    top: 260px;
    color: rgba(2, 191, 166, 1);
    z-index: 2100;
    text-align: center;
    width: 100%;
    font-size: 30px;
}

.messageBackground .messageBox {
    background-color: rgba(255,255,255,0.7);
    border-radius: 20px;
    width: 50%;
    margin: 220px auto;
    text-align: center;
}

    .messageBackground .messageBox .popupBoxCloseButton {
        background-color: #02BFA6;
        color: #FFF;
        padding: 10px 20px;
        border-radius: 0 20px;
        cursor: pointer;
        float: right;
    }

    .messageBackground .messageBox .message {
        clear: both;
        color: #000;
        padding: 20px;
        padding: 10px 20px;
        text-align: left;
        font-size: 12px;
    }

.insuredObjectHeader {
    cursor: pointer;
    background-color: #6e6e6e;
    color: #FFF;
    padding: 0;
    clear: both;
    border-radius: 5px 5px 0 0;
    margin-top: 2px;
}

    .insuredObjectHeader .headerObjectName {
        font-size: 20px;
        padding: 6px 8px 2px 8px;
    }

    .insuredObjectHeader #insuredObjectHeaderInfo {
        font-size: 12px;
        background-color: #a1a1a1;
        color: #FFF;
        padding: 4px 8px;
        border-radius: 0 25px 0 0;
    }

    .insuredObjectHeader .buttons {
        padding: 6px;
    }

    .insuredObjectHeader .insuredAmount {
        color: #FFF;
        font-size: 18px;
        text-align: right;
        padding: 6px;
        background-color: rgba(255,255,255, 0.1);
        border-radius: 0 5px 0 55px;
    }

    .insuredObjectHeader .insuredObjectPremium {
        color: #EDE9E0;
        font-size: 12px;
        text-align: right;
        padding: 4px 6px;
    }

    .insuredObjectHeader .insuredObjectValidity {
        font-size: 14px;
        margin: 0px 30px;
        padding: 5px;
        text-align: left;
    }

.insuredObjectDetail {
    margin-bottom: 30px;
    border-radius: 0 0 5px 5px;
    background-color: #ebebeb;
}

    .insuredObjectDetail .btn-default {
        background-color: #B8B3AA;
        color: #FFF;
        border: none;
    }

        .insuredObjectDetail .btn-default:hover, .insuredObjectDetail .btn-default:active, .insuredObjectDetail .btn-default:focus {
            background-color: #545454;
            color: #FFF;
            border: none;
        }

    .insuredObjectDetail .addressHeader {
        text-align: right;
        background-color: #a1a1a1;
        color: #FFF;
        padding: 5px 10px;
        font-size: 12px;
        cursor: pointer;
    }


    .insuredObjectDetail .addressDetail {
        text-align: center;
        background-color: #dedede;
        color: #6e6e6e;
        padding: 5px 5px 20px 5px;
        margin-top: 1px;
    }

    .insuredObjectDetail .actionSection {
        padding: 10px 20px 20px 20px;
        border-radius: 0 0 5px 5px;
        background-color: #6e6e6e;
    }

        .insuredObjectDetail .actionSection .btn-info {
            padding: 5px !important;
            background-color: #01695c !important;
            border: none !important;
        }

    .insuredObjectDetail .coverSectionHeader {
        background-color: rgba(49, 135, 123, 0.9);       
        border-bottom: 4px solid rgba(27, 75, 69, 0.2);
    }

    .insuredObjectDetail .discountLoadingSectionHeader {
        background-color: rgba(49, 121, 135, 0.9);
        border-bottom: 4px solid rgba(27, 55, 75, 0.2);
    }

    .insuredObjectDetail .coverSectionHeader, .insuredObjectDetail .discountLoadingSectionHeader {
        padding: 10px 10px 5px 10px;
        font-size: 18px;
        color: #FFF;
        cursor: pointer;
    }

        .insuredObjectDetail .total {
            text-align: right;
        }

    .insuredObjectDetail .coverSection {
        padding: 0;
    }

        .insuredObjectDetail .coverSection .btn-info {
            margin-left: 5px !important;
        }

        .insuredObjectDetail .coverSection .label-success {
            background-color: transparent;
        }



        .insuredObjectDetail .coverSection .coverHeader {
            cursor: pointer;
            background-color: rgba(175, 212, 207, 1);
            color: #FFF;
            padding: 2px;
            clear: both;
            margin-top: 1px;
        }

            .insuredObjectDetail .coverSection .coverHeader:hover, .coverHeaderCovered:hover {
                background-color: rgba(96, 169, 160, 1) !important;
                color: #FFF !important;
            }

            .insuredObjectDetail .coverSection .coverHeader .headerCoverName {
                font-size: 14px;
                padding: 6px;
            }

            .insuredObjectDetail .coverSection .coverHeader .coverPremium {               
                text-align: right;
                padding: 4px 6px;
            }

            .insuredObjectDetail .coverSection .coverHeader .coverValidity {
                font-size: 14px;
                margin: 0px 30px;
                padding: 5px;
                text-align: right;
            }

        .insuredObjectDetail .coverSection .coverHeaderCovered {
            background-color: rgba(126, 185, 177, 1) !important;
        }

        .insuredObjectDetail .coverSection .coverDetail {
            padding: 5px 5px 20px 5px;
        }

            .insuredObjectDetail .coverSection .coverDetail .control-label-ontario {
                font-size: 12px;
                color: rgba(126, 185, 177, 1) !important;
            }

        .insuredObjectDetail .coverSection .coverDetailCovered .control-label-ontario {
            color: rgba(80, 149, 140, 1) !important;
        }

            .insuredObjectDetail .coverSection .coverDetail > .row:first-child {
                padding: 7px 5px 0 5px;
                margin-bottom: 10px;
            }

        .insuredObjectDetail .coverSection .coverDetail .form-control {
            border: 1px solid rgba(126, 185, 177, 1) !important;
        }

                .insuredObjectDetail .coverSection .coverDetail .form-control[readonly] {
                    background-color: rgba(126, 185, 177, 1) !important;
                    color: #FFF;
                    border: none !important;
                }

        .insuredObjectDetail .coverSection .coverDetail .glyphicon {
            cursor: pointer;
            color: rgba(49, 135, 123, 1) !important;
        }

        .insuredObjectDetail .coverSection .coverDetail .coverRisk .coverRiskName {
            background-color: rgba(211, 222, 221, 1) !important;
            color: rgba(80, 149, 140, 1) !important;
            padding-left: 5px !important;
            border: none !important;
        }

    .insuredObjectDetail .discountLoadingSection {
        padding: 0;
        background-color: rgba(49, 121, 135, 0.6);
    }


        .insuredObjectDetail .discountLoadingSection .discountLoadingDetail {
            padding: 5px;
            color: #FFF;
        }

            .insuredObjectDetail .discountLoadingSection .discountLoadingDetail .form-control {
                background-color: rgba(49, 121, 135, 0.6) !important;
                color: #FFF;
                border: none !important;
                padding: 2px 5px !important;
            }

.hasError {
    background-color: #e13838 !important;
    color: #FFF;
}

.itemList {
    margin: 2px 0 8px 0;
}

    .itemList .itemListRow {
        background-color: #cfcfcf;
        margin-bottom: 2px;
    }

        .itemList .itemListRow .btn-default {
            min-width: 60px;
        }

.itemList .itemListRow:hover {
    background-color: #a3a3a3;
    color: #FFF;
}

        .itemList .itemListRow div {
            padding: 6px 3px 3px 6px;
            vertical-align: middle;
            min-height: 30px;
        }

            .itemList .itemListRow div.counter {
                text-align: right;
            }

            .itemList .itemListRow div.price {
                text-align: right;
                font-size: 18px;
            }

            .itemList .itemListRow div.buttons {
                padding: 4px;
            }

    .itemList .itemListHeader {
        padding: 3px 6px;
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 2px;
        margin-right: 2px;
        margin-bottom: 1px;
    }

.itemListFrame {
    padding: 7px;
    background-color: #E8E8E8;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
}

#actionBar {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 15px 30px;
    background-color: rgba(235, 235, 235, 1);
    z-index: 100; 
    left: 0;
}

    #actionBar button {
        padding: 5px 20px !important;
        min-width: 10%;
        margin: 5px !important;
        background-color: rgba(2, 191, 166, 1);
        border: none !important;
    }

        #actionBar button:hover {
            background-color: rgba(49, 135, 123, 1);
        }

    #actionBar .totalPremium {
        padding: 5px;
        text-align: right;
        font-size: 28px;
        color: rgba(2, 191, 166, 1);
    }

.claimPartHeader {
    cursor: pointer;
    background-color: #6e6e6e;
    color: #EDE9E0;
    font-size: 14px;
    padding: 8px;
    clear: both;
    border-radius: 3px 3px 0 0;
    margin-top: 2px;
}

.claimPartHeader select {
    color: #6e6e6e;
}


.claimPartDetail {
    border: solid 1px #EDE9E0;
    margin-bottom: 30px;
    border-radius: 0 0 5px 5px;
    background-color: #EDE9E0;
    display: none;
}

.ellipsis-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.popupInfoBox {
    background-color: rgba(255,255,255,1);
    color: #7700ee;
    z-index: 500;
    position: absolute;
    top: 25%;
    left: -200%;
    width: 500px;
    border-radius: 5px;
    padding: 0px;
    border: solid 2px #7700ee;
    overflow: hidden;
}

    .popupInfoBox .popupInfoBoxCloseButton {
        background-color: #32A3DD;
        color: #7700ee;
        padding: 10px 20px;
        border-radius: 0 0 0 20px;
        cursor: pointer;
        float: right;
    }

    .popupInfoBox .popupBoxInfoContent {
        clear: both;
        padding: 0 10px 20px 10px;
    }

        .popupInfoBox .popupBoxInfoContent span {
            padding: 4px;
        }

#OverallocationModal h2 {
    background-color: #d43f3a;
    color: #FFF;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pointer {
    cursor: pointer;
}

.tooltip {
    min-width: 200px;
}

.selected td {
    background-color: #92CCF7 !important;
}

.dropdown-toggle {
    background-color: unset !important;
}

button.btn.dropdown-toggle.btn-default {
    max-height: 24px !important;
    font-size: 12px;
    color: #545454 !important;
    border: none !important;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
    outline: none !important;
    outline-offset: 0px !important;
}

.no-margin {
    margin: 0px !important;
}

.width-40 {
    width: 40%;
}

.width-30 {
    width: 30%;
}

.insured-object-header {
    background-color: #6e6e6e;
    color: white;
}

.insured-object-change {
    background-color: #ebebeb;
}

.insured-object-cover {
    background-color: rgba(126, 185, 177, 1);
    color: white;
}

.expandable .info:not(.collapsed) > td {
    background-color: #92CCF7 !important; 
}

.expandable .info.collapsed > td {
    background-color: #d9edf7 !important;
}

.custom-legend-item {
    cursor: pointer;
    padding: 5px;
    margin: 2px;
    border: 1px solid #ccc;
    display: inline-block;
}

.custom-legend-item.selected {
    background-color: #d3d3d3;
    border-color: #000;
}

