/*
 * Markeplace
 */



/* GRID VIEW */
.grid-view {
    font-size: 0;
}
.grid-view .col {
    float: none;
    display: inline-block;
    font-size: 13px;
    margin-bottom: 20px;
    vertical-align: top;
}
.grid-view .col .col-inner {
    border-radius: 2px;
    /*-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);*/
     box-shadow: 0px 0px 5px 0px rgba(150,150,150,0.75);
    transition: all 0.3s;
    /*padding-bottom: 50px;*/
}
.grid-view .col .col-inner:hover {
    box-shadow: 0px 0px 20px 0px rgba(150,150,150,0.75);
}
.grid-view .col .field {
    //text-align: center;
    text-align: left;
}
.grid-view .col .field-icon {
    font-size: 40px;
    color: #cbcbcb;
    height: 120px;
    padding: 1px;
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 10px;
    background-color: white;
    text-align: center;
}
.grid-view .col .field-icon img {
    width: auto;
    max-width: 100%;
    height: 100%;
    padding: 20px;
}
.field-wrapper-content{
    padding: 0 20px;
    display: inline-block;
}

.grid-view .col .field-title {
    font-size: 16px;
}

.grid-view .col .field-wrapper-actions {
    position: absolute;
    bottom: 0;
    display: contents;
}

.grid-view .col .field-actions {
    border-top: 1px solid #dcdcdc;
    margin-top: 15px;
    background-color: #5995b3;
    color: white;
    display: table;
    width: 100%;
    text-align: center;
    opacity: 0.8;
}
.grid-view .col .field-actions > .action-btn {
    display: table-cell;
    padding: 10px 0;
}
.field-actions > .action-btn.favorite.red {
    color: #ff8282;
}
.field-actions > .action-btn.contact.interest {
    color: #ff8726;
}

.field-actions > .action-btn.rate.rate-1 span:nth-child(-n+1) {
    color: #ffff00;
}
.field-actions > .action-btn.rate.rate-2 span:nth-child(-n+2) {
    color: #ffff00;
}
.field-actions > .action-btn.rate.rate-3 span:nth-child(-n+3) {
    color: #ffff00;
}
.field-actions > .action-btn.rate.rate-4 span:nth-child(-n+4) {
    color: #ffff00;
}
.field-actions > .action-btn.rate.rate-5 span:nth-child(-n+5) {
    color: #ffff00;
}

.field-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    max-height: 24px;
}
.field-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 6;
    -moz-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    max-height: 110px;
    white-space: break-spaces;
}

/* VIEW PAGE - align center style with top image */
.view-page {}
.view-page .field {

}
.view-page .field-label{
    font-weight: bold;
}

.view-page .inline > div {
    display: inline-block;
}

.view-page .field-body {
    text-align: justify;
    text-justify: inter-word;
}

.view-page .field-image {
    text-align: center;
    background-color: #fff;
}

.view-page .field-image img {
    max-height: 300px;
    max-width: 100%;
    width: auto;
}

.view-page .field-title {
    padding-left: 7px;
    border-left: 3px solid #0288d1;
    margin: 0px 0px 5px 0px;
}
.view-page .field-title h1 {
    font-size: 20px;
    line-height: 1.4;
    margin: 0px;
}
.view-page .field-description {
    font-style: italic;
    color: gray;
}
.view-page .field-actions {
    display: table;
    width: 100%;
    background-color: #5995b3;
    padding: 8px 15px;
    color: white;
    opacity: 0.8;
}
.view-page .field-actions .action-btn {
    display: table-cell;
    text-align: center;
}
.view-page .field-actions .favorite {
    text-align: left;
}
.view-page .field-actions .contact {
    text-align: right;
}

.view-more{
    border: 1px solid #eee;
    text-align: center;
    padding: 12px;
    margin-top: 20px;
    cursor: pointer;
}

.view-more:hover {
    background-color: #f1f1f1;
}


.dashboard-title {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #0288D1;
}

.dashboard-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    letter-spacing: normal;
    max-width: 540px;
}

.table.borderless>tbody>tr>td, .table.borderless>thead>tr>th{
    border: none;
}

/* Overide Boostrap Carousel */
.carousel-control.left, .carousel-control.right {
    background-image: none
}

.carousel-inner > .item > img {
    height:200px;
    width: auto;
}

.carousel-inner > .item > * >h6 {
    background-color: black;
    padding: 2px;
}

.well{
    overflow: auto;
}

.pending{
    background-color: #f2dede;
}

.resolved{
    background-color: #dff0d8
}
/* Inbox */
.inbox-message {
    background-color: #EBEEF0;
    padding: 6px;
    border-radius: 10px;
    display: inline-block;
}

.inbox-chat {
    list-style: none;
    background: none;
    margin: 0;
    padding: 0 0 50px 0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.inbox-chat li {
    padding: 0.5rem;
    overflow: hidden;
    display: flex;
}

.inbox-chat .other .msg {
    background: #00affe;
    order: 1;
    border-top-left-radius: 0px;
    box-shadow: -1px 2px 0px #D4D4D4;
}

.inbox-chat .self {
    justify-content: flex-end;
    align-items: flex-end;
}

.inbox-chat .self .msg {
    background : #fafafa;
    order: 1;
    border-bottom-right-radius: 0px;
    box-shadow: 1px 2px 0px #D4D4D4;
}

.inbox-chat .msg {
    width: 95%;
    background: white;
    min-width: 50px;
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.07);
}

.inbox-chat .other .msg p {
    color: #fafafa;
}

.inbox-chat .msg p {
    font-size: 14px;
    margin: 0 0 0.2rem 0;
    color: #777;
}

.inbox-chat .inbox-date {
    float: right;
}

.inbox-chat .msg time {
    /*font-size: 0.7rem;*/
    color: #ccc;
    margin-top: 3px;
    float: right;
    cursor: default;
}

.inbox-chat .msg time:before {
    content:"\f017";
    color: #ddd;
    font-family: FontAwesome;
    display: inline-block;
    margin-right: 4px;
}

#inbox-reply {
    width: 100%;
    max-width: none;
}
#doublerows {
    line-height: 0.9em;
    height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: inline;
}

.conversation {
    padding: 20px 5px 20px 20px;
    border-radius: 10px;
    background: #fafafa;
    margin-bottom: 10px;
}

.conversation.not-seen {
    background: #f3f3f3;
    font-weight: bold;
}

.conversation .username {
    color: black;
    font-size: 14px;
}

.conversation .message {
    font-size: 12px;
    color: #aaa;
    /*padding: 1px 1px 1px 40px;*/
}

.conversation .inbox-status {
    float:right;
}

.more-btn {
    cursor:pointer;
    color: #337ab7;
}

.more-btn:hover {
    color: #23527c
}

.field.field-datecreated {
	color: #aaa;
}

.form-control {
    border-color: #eee;
}

.fa {
    cursor:pointer
}

.stakeholders-img {
    background-color: #ececec;
    padding: 20px;
    border-radius: 10px;
    max-width: 120px;
    max-height: 120px;
    width: 100%;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.field-paypal {
    padding-top: 10px;
    background-color: #5995b3;
}

.paypal-price {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
}

.paypal-image  {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 25px;
}

.paypal-image:hover {
    opacity: .5;
}

.paypal-image-tick  {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 25px;
    cursor: default;
}

.not-approved {
    color: #ff8282;;
}