/* simpfinity custom css
* logo colors, from lightest to darkest: b9a1cd, 8769ae, 603f98
*/

.simpfinity-color-light {
    color: #b9a1cd;
}
.simpfinity-background-color-light {
    background-color: #b9a1cd;
}

.simpfinity-color-medium {
    color: #8769ae;
}
.simpfinity-background-color-medium {
    background-color: #8769ae;
}

.simpfinity-color-dark {
    color: #603f98;
}
.simpfinity-background-color-dark {
    background-color: #603f98;
}

body {padding-top: 70px;}
.user-img-navbar {
    border-radius: 6px;
}
.user-img {
    border-radius: 6px;
    display: inline;
    margin: auto;
    vertical-align: middle;
    margin-top: 7px;
}
.navbar-brand>img {max-width: 100px; margin-top: -10px;}

.row-odd {background-color: #f9f9f9;}

.plaintext {
    white-space: pre-wrap;
}

/* fix color for angular-loading-bar */
#loading-bar .bar {
    background: #8769ae;
}
#loading-bar .peg {
    box-shadow: #b9a1cd 1px 0 6px 1px;
}

.navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav>li>a {
    color: #603f98;
    font-weight: bolder;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #b9a1cd;
    background-color: transparent;
    font-weight: bolder;
    outline-style: none;
}

@media only screen and (max-width: 768px) {
    .input-group {
        width: 60%;
        margin: auto;
    }
    .input-placeholder {
        font-size: 11px;
    }
    .extra-padding {
        padding: 8px;
    }

    .plaintext {
        white-space: pre-wrap;
        word-break: break-all;
    }

}

@media only screen and (min-width: 768px) {
    #navbar-menu {display: block;}
    #navbar-search input[type='text'] {
        width: 150px;
    }
}

@media only screen and (min-width: 992px) {
    #navbar-search input[type='text'] {
        width: 300px;
    }
}

@media only screen and (min-width: 1200px) {
    #navbar-search input[type='text'] {
        width: 550px;
    }
}

#login-dp{
    min-width: 250px;
    padding: 14px 14px 0;
    overflow:hidden;
    background-color:rgba(255,255,255,.8);
}
#login-dp .help-block{
    font-size:12px
}
#login-dp .bottom{
    background-color:rgba(255,255,255,.8);
    border-top:1px solid #ddd;
    clear:both;
    padding:14px;
}
#login-dp .social-buttons{
    margin:12px 0
}
#login-dp .social-buttons a{
    width: 49%;
}
#login-dp .form-group {
    margin-bottom: 10px;
}
.btn-google{
    color: #fff;
    background-color:#3b5998;
}
.btn-google:hover{
    color: #fff;
    background-color:#496ebc
}
.btn-tw{
    color: #fff;
    background-color:#55acee;
}
.btn-tw:hover{
    color: #fff;
    background-color:#59b5fa;
}
@media(max-width:768px){
    #login-dp{
        background-color: inherit;
        color: #fff;
    }
    #login-dp .bottom{
        background-color: inherit;
        border-top:0 none;
    }
}

.object-permissions img {
    display: inline;
    margin-top: 7px; margin-right: 4px;
    vertical-align: middle;
    border-radius: 100%; border: 2px solid;
}

.object-permissions img.can_view {border-color: gold}
.object-permissions img.can_edit {border-color: green}
.object-permissions img.can_delete {border-color: red}
.object-permissions img.can_grant {border-color: #b9a1cd}

.add-control {
    vertical-align: sub;
}
.show-add-control .add-control {
    display: inline-block;
    color: gray;
    width: 24px; height: 24px;
    border-radius: 100%; border: 2px solid; border-color: lightgray;
}

div.user-wrap > div.user-grants {
    display: none;
}

div.user-wrap:hover > div.user-grants {
    display: block;
    background-color: white;
    position: absolute; top: 24px; left: 0px; width: 120px;
    padding: 10px;
    box-shadow: 0px 0px 8px #603f98; border: 1px solid #b9a1cd;
    z-index: 1;
}

div.section {
    box-shadow: 3px 3px 3px #8769ae;
    border-radius: 3px;
    border: 1px 1px solid #000; padding: 10px;
    background: #b9a1cd;
    margin: 20px 0px 10px;
}
div.s1 {font-size: 12px;}
div.s2 {font-size: 10px;}
div.section div:first-child {
    font-size: 1.5em;
    font-weight: bold;
    float: left;
}
div.section div.actions {
    font-style: normal; font-size: 1.2em; text-align: right; cursor: pointer;
    color: black;
}
div.section div.actions a {
    color: black;
}
span.delimiter {font-size: 12px; font-weight: bold}

.accesskey {text-decoration: underline}

.filter-selected {
    font-weight: bold;
}

.ticket-overdue { color: red; }
.ticket-duetoday { color: gold; }
.ticket-duetomorrow { color: green; }

.border-lr {
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}

.table th, .table td {
    border-top: none !important;
}

.ticket-open {
    text-decoration: none;
}

.ticket-closed {
    text-decoration: line-through;
}

table.table-design {
    width: 100%;
}

table.table-design thead {
    background-color: #8769ae;
    color: #fff;
}

table.table-design td {
    padding: 5px;
}

table.table-design th {
    padding: 5px;
}

.btn-transparent {
    background-color: Transparent;
    border: none;
    overflow: hidden;
    outline:none;
    font-size: 12px;
    line-height: 1.5;
    float: right;
}

table .dropdown {
    position: relative;
    display: inline-block !important;
    float: right;
}

table .dropdown ul.dropdown-menu {
    left: auto;
    top: 20px;
    right: 25px;
}

.btn-primary {
    border-color: #fff;
}

.btn:focus {
    outline: none;
}

.project-detail {
    background: #fff;
}

.new-project-button {
    background-color: #8769ae;
    margin-top:5px;
    color: #fff;
}

.new-project-button:hover {
    color:#fff;
}

.green-icon {
    color:green;
}

.red-icon {
    color:red;
}

.icon-resize {
    padding:0px 4px;
    font-size: 16px;
}

.word-break{
    word-break: break-all;
}

.field-width-products {
    max-width: 400px;
}

.field-width-documents {
    max-width: 120px;
}

.expanded-row-indentation {
    padding: 25px;
}

.active-background {
    background-color: #eee;
    border: 1px solid #b9a1cd;
}

@media only screen and (max-width: 760px),
(min-width: 768px) and (max-width: 991px)  {

    .dropdown-menu {
        min-width: 120px;
    }

    .btn-default:focus, .btn-default:hover {
        background-color: transparent;
    }

    .active-project-background {
        background-color: #eee;
    }

    .button-wrap {
        display: inline-block;
        float: right;
    }

    .row-odd {
        background-color: #fff;
    }

}