﻿body {
    background-color: #fafbfc;
}


/*BOOTSTRAP MODALS*/
.modal-open {
    overflow: hidden;
}

    body.modal-open,
    .modal-open .navbar-fixed-top,
    .modal-open .navbar-fixed-bottom {
        margin-right: 15px;
    }

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: none;
    overflow: auto;
    overflow-y: scroll;
}

    .modal.fade .modal-dialog {
        -webkit-transform: translate(0, -25%);
        -ms-transform: translate(0, -25%);
        transform: translate(0, -25%);
        -webkit-transition: -webkit-transform 0.3s ease-out;
        -moz-transition: -moz-transform 0.3s ease-out;
        -o-transition: -o-transform 0.3s ease-out;
        transition: transform 0.3s ease-out;
    }

    .modal.in .modal-dialog {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
    }

.modal-dialog {
    z-index: 1050;
    width: 70%;
    padding: 10px;
    margin-right: auto;
    margin-left: auto;
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #999999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    outline: none;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background-color: #000000;
}

    .modal-backdrop.fade {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .modal-backdrop.in {
        opacity: 0.8;
        filter: alpha(opacity=80);
    }

.modal-header {
    min-height: 16.428571429px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    background-color: rgba(0,0,0,.7);
    border-bottom: 4px solid #1e951e;
}

    .modal-header .close {
        margin-top: -2px;
    }

.modal-title {
    margin: 0;
    line-height: 1.428571429;
    color:white;
}

.modal-body {
    position: relative;
    padding: 20px;
}

.modal-footer {
    padding: 19px 20px 20px;
    margin-top: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

    .modal-footer:before,
    .modal-footer:after {
        display: table;
        content: " ";
    }

    .modal-footer:after {
        clear: both;
    }

    .modal-footer:before,
    .modal-footer:after {
        display: table;
        content: " ";
    }

    .modal-footer:after {
        clear: both;
    }

    .modal-footer .btn + .btn {
        margin-bottom: 0;
        margin-left: 5px;
    }

    .modal-footer .btn-group .btn + .btn {
        margin-left: -1px;
    }

    .modal-footer .btn-block + .btn-block {
        margin-left: 0;
    }

@media screen and (min-width: 768px) {
    .modal-dialog {
        right: auto;
        left: 50%;
        width: 70%;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
}

/*UI GRID OVERRIDES*/

.ui-grid-pager-row-count-picker {
    visibility:hidden;
}

.ui-grid-pager-control-input {
    width: 25px !important;
    height: 14px !important;
}

.ui-grid-pager-panel {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

.ui-grid-header-canvas {
    background-color: #3c5281;
    color: white;
    padding-bottom: 8px;
    border-bottom: 4px solid grey;
}

.ui-grid-filter-input {
    height: 22px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 2px !important;
    padding-left: 22px !important;
    background: white url(/Content/searchicon.png) left no-repeat;
    background-size: 16px 16px;
    -webkit-box-sizing: border-box !important; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box !important; /* Firefox, other Gecko */
    box-sizing: border-box !important; /* Opera/IE 8+ */
}

/*RT STYLE OVERRIDES*/
@media screen and (min-width: 978px) {
    .rt-container {
        width: 75%;
        padding-left: 56px;
        padding-right: 56px;
        margin: auto;
    }
}

.modal-body .rt-container {
    width:100%;
}

.rt-hero-banner {
    border-bottom: 4px solid #1e951e;
    padding-bottom: 24px;
    margin-bottom: 15px;
}

.rt-hero-banner p {
    color:rgba(255,255,255,0.6);
}

.rt-breadcrumb-dark li a {
    color: #1e951e;
    font-weight:bold;
}

.rt-breadcrumb-dark li a:hover {
    color: #1e951e;
    font-weight:bold;
}

.rt-row + .rt-row {
    margin-top:15px;
}

.rt-button {
    background-color: #1e951e;
    cursor: pointer;
}

.rt-button-save {
    background-color: #fafbfc;
    border: 2px solid #3c5281;
    border-radius: 2px;
    color: #3c5281;
    font-weight: 800;
    font-size: 12px;
}

    .rt-button-save:disabled {
        border: 2px solid rgba(1,1,1,.05);
        cursor: initial;
        font-weight: 400;
        font-size: 12px;
        margin-bottom: 2px;
    }

.rt-button-cancel {
    background-color: #fafbfc;
    border: 2px solid #999;
    border-radius: 3px;
    color: #555;
    font-weight: 800;
    font-size: 12px;
}

    .rt-button-cancel:disabled {
        border: 2px solid rgba(1,1,1,.05);
        cursor: initial;
        font-weight: 400;
        font-size: 12px;
        margin-bottom: 2px;
    }

.rt-button-reset {
    background-color: #fafbfc;
    border: 2px solid orange;
    border-radius: 3px;
    color: orange;
    font-weight: 800;
    font-size: 12px;
}

    .rt-button-reset:disabled {
        border: 2px solid rgba(1,1,1,.05);
        cursor: initial;
        font-weight: 400;
        font-size: 12px;
        margin-bottom: 2px;
    }

.rt-button-delete {
    background-color: #fafbfc;
    border: 2px solid red;
    border-radius: 3px;
    color: red;
    font-weight: 800;
    font-size: 12px;
}

    .rt-button-delete:disabled {
        border: 2px solid rgba(1,1,1,.05);
        cursor: initial;
        font-weight: 500;
        font-size: 12px;
        margin-bottom: 2px;
    }

.rt-label {
    color: #555;
}

.rt-label-optional {
    font-size:12px;
}

.rt-file-upload-control {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
} 

.rt-text-input {
    min-height:42px;
}

.rt-text-input {
    font-family: 'Open Sans',sans-serif; /*Set explicitly here so it styles TextAreas*/
}

.rt-section-stepper li {
    height: inherit; /*Remove explicit height and set min-height, otherwise wrapped text bunches up*/
    min-height:36px;
}

.rt-info-block-minor {
    background: -moz-linear-gradient(left,rgba(0,0,0,.04) 0%,transparent 100%);
    background: -webkit-linear-gradient(left,rgba(0,0,0,.04) 0%,transparent 100%);
    background: linear-gradient(to right,rgba(0,0,0,.04) 0%,transparent 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a000000',endColorstr='#00000000',GradientType=1);
    border-left: 2px solid #1e951e;
    padding: 12px;
    position: relative;
    font-size: 13px;
    color: rgba(0,0,0,.56);
    font-weight: 400;
}

/*.rt-info-block-minor::before {
    position: absolute;
    top: -13px;
    left: -3px;
    content: ' ';
    background-color: #3c5281;
    width: 13px;
    height: 13px;
}

.rt-info-block-minor::after {
    position: absolute;
    top: 0;
    left: -3px;
    content: ' ';
    border-right: 13px solid transparent;
    border-top: 10px solid #3c5281;
}*/


/*MISC STYLES*/
.centerContainer {
    margin: 0 auto;
}

.grid-action {
    margin: 5px;
}


.has-success .form-control-feedback {
    color: #3c763d;
}

.form-control-feedback {
    position: absolute;
    top: 25px;
    right: 0;
    z-index: 2;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    display: none;
}


.managementbtns-client {
    border-radius: 4px;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    transition-duration: 0.2s;
    cursor: pointer;
    background-color: white;
    color: black;
    border: 1px solid #1e951e;
    font-weight: bold;
    min-width: 20px;
    min-height: 20px;
}

    .managementbtns-client:hover {
        background-color: #1e951e;
        color: white;
        text-decoration: none;
    }



