/*
 * Copyright (C) 2019 ATM Consulting <support@atm-consulting.fr>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#network-container {
    clear: both;
    padding: 15px 12px 20px 20px;
}

#network-panel {
    float: none;
    clear: both;
    height: 50px;
    line-height: 50px;
}

#network-header, #network-current-object, #network-add-comment {
    float: left;
    width: 10%;
    font-size: 1.1em;
    height: 50px;
    line-height: 50px;
}

#network-current-object {
    color: #727272;
}

#network-writer {
    float: left;
    width: 65%;
}

#network-writer input[type=text] {
    width: 40%;
}

#network-writer input[name=network_link] {
    margin-right: 5%;
    width: 20%;
}

#network-writer input[type=button] {
    width: 20%;
    margin-left: 10px;
}

#network-comments {
    clear: both;
}

#network-comments div.comm {
    border-bottom: 1px solid #dcdcdc;
    padding: 10px 3px;
    height: 32px;
    line-height: 32px;
}

#network-comments div.comm:nth-child(odd) {
    background-color: #eee;
}

#network-comments div.comm div.date {
    font-size: 1em;
    color: #a5a5a5;
    text-align: right;
    float: right;
}

#network-comments div.comm div.delete {
    float: right;
    font-size: 1.2em;
    padding-right: 4px;
}

#network-comments .network_element {
    display: inline;
    margin-right: 5px;
    border-radius: 3px;
    padding: 1px 3px;
    background-color: #966b1d;
}

/*div.network_badge.origin-element a {*/
/*	color:#FFF !important;*/
/*	font-size:13px;*/
/*	padding:5px 6px;*/
/*	text-decoration: none;*/
/*	border-radius: 10px;*/
/*}*/

#network-comments .network_element.propal, #network-comments .network_element.commande, #network-comments .network_element.facture  {
    background-color: #3C9D9B;
}

#network-comments .network_element.supplier_proposal, #network-comments .network_element.order_supplier, #network-comments .network_element.invoice_supplier  {
    background-color: #68909C;
}

#network-comments .network_element.project  {
    background-color: #74728E;
}

#network-comments .network-badge-link {
    background-color: #9A3BF9;
}

#network-comments .network-badge-poste {
    background-color: #FF6400;
}

#network-comments .network_badge.user, #network-comments .network_badge.usergroup {
    background-color: #3C70A4;
}

#network-comments .network_badge.societe, #network-comments .network_badge.contact {
    background-color: #B5525C;
}

#network-comments .network_badge {
    color: #FFF !important;
    font-size: 13px;
    padding: 5px 6px;
    text-decoration: none;
}

#network-comments .network-badge-link {
    margin-right: 8px;
}

#network-comments .network_badge.origin-element {
    background: #4963ff;
}

#network-comments .network_badge:hover {
    box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60, 60, 60, 0.1);
}
