/**
 * @copyright Link to Business Technology
*/

div.row-fluid h3 {
    border-bottom: solid 1px #ddd;
    color: #0069B3;
}

div.row-fluid h3 button {
    margin-top: 6px;
}

div.dashboard ul.inline li {
    min-width: 150px;
    display: inline-block;
    margin: 10px 0 0 30px;
}

.avatar {
    margin: 60px 0 0 60px;
}

.dropzone {
    margin-top: 10px;
}

#dropzone {
    margin-bottom: 20px;
}

.form-horizontal .control-group {
    margin-bottom: 10px;
}

.block-right {
    border-left: 1px solid #ddd;
}

.row-fluid .item_content {
    height: 360px;
    /*border: 1px solid #ddd;*/
    padding: 1%;
    margin-left: 0;
    margin-right: 1.1%;
    border-radius: 4px;
}

.item_content .select {
    position: absolute;
    margin-left: 4px;
}

.item_content a.thumbnail {
    height: 200px;
}

.item_content h5 {
    height: 40px;
}

.recent-files tr:first-child td {
    border-top: 0;
}

.recent-files tr td:first-child {
    text-align: right;
}

.recent-files td:nth-child(2),
.recent-files td:nth-child(3) {
    font-family: monospace;
    font-size: 12px;
    border-left: 1px solid #ccc;
}

.recent-files td:nth-child(2) {
    text-align: right;
}

.user_history a {
    color: #0069B3;
}

.dl-horizontal {
    margin-bottom: 10px;
}

.dl-horizontal dt {
    width: 100px;
}

.dl-horizontal dd {
    margin-left: 115px;
}

.blocAddressInfo {
    margin-left: 30px;
}

input.dial {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.bloc-set {
    position: relative;
    left: 0;
    /*background-color: #fff;
    border: 1px solid #ebf0f5;
    border-radius: 5px;*/
    font-size: 13px;
    /*height: 344px;*/
    line-height: 16px;
    list-style-type: none;
    /*margin: 10px 0;
    overflow: auto;
    padding: 0 20px;
    position: relative;*/
    text-align: center;
    text-decoration: none;
    max-width: 430px;
}

.bloc-set a {
    text-decoration: none;
    white-space: normal;
    color: #555;
}

.bloc {
    background-color: #fff;
    border: 1px solid #ebf0f5;
    border-radius: 5px;
    font-size: 11px;
    height: 320px;
    line-height: 16px;
    list-style-type: none;
    margin: 10px 0;
    overflow: auto;
    padding: 0 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    color: #555555;
    opacity: 0.95;
    -webkit-transition: 350ms;
    -moz-transition: 350ms;
    -ms-transition: 350ms;
    -o-transition: 350ms;
    transition: 350ms;
}

.bloc-set .bloc:hover {
    opacity: 1;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .15);
    -webkit-transition: 150ms;
    -moz-transition: 150ms;
    -ms-transition: 150ms;
    -o-transition: 150ms;
    transition: 150ms;
}

.blocStatus {
    height: 15px;
    width: 100%
}

.blocPicture {
    margin: 0 auto 0;
}

.blocStatus h4 {
    margin: 0;
    font-weight: 300;
    line-height: 1.25em;
    color: #444;
    text-rendering: optimizelegibility
}

.blocStatus p {
    color: #555555;
    font-size: 11px
}

.blocAction {
    bottom: 10px;
    display: block;
    left: 0;
    padding: 0px 24px;
    position: absolute;
    vertical-align: bottom;
    width: 100%;
}

.blocOptions {
    padding: 10px 0;
    /*overflow: auto;*/
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.flow {
    float: left;
    font-size: 15px;
    line-height: 24px;
    margin-top: 2px
}

.row-fluid.span12.grip {
    margin: 0;
}

/*==================================================*/
/*======== NewHome Style more responsive ===========*/


.row-fluid .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.dashboard-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    cursor: pointer;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.dashboard-card:hover .btn-open {
    background: #f5f5f5;
    border-color: #d0d0d0;
    color: #444;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
}

.card-icon {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

.card-icon img {
    width: 354px; /* Largeur fixe de l'image */
    height: auto; /* Hauteur fixe de l'image */
    max-width: 100%;
    object-fit: contain;
    display: block; /* Évite l'espace blanc sous l'image */
}


.card-content h4 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.card-content p {
    margin: 0;
    flex-grow: 1;
    color: #666;
}

.card-action {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-open {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #666;
    border-radius: 4px;
    text-transform: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e0e0e0; /* Bordure légère */
    transition: all 0.2s ease;
}

.btn-open:hover {
    background: #ebebeb; /* Fond légèrement gris au survol */
    border-color: #c0c0c0; /* Bordure un peu plus foncée au survol */
    color: #333; /* Texte plus foncé au survol */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .row-fluid .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .card-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .row-fluid .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
