/*====================================================
RESPONSIVE DESIGN
DouaneSIG Intelligence
====================================================*/

/****************************************************
ECRAN XXL (>1600px)
****************************************************/

@media (min-width:1600px){

.container-fluid{
    max-width:1550px;
    margin:auto;
}

}


/****************************************************
LAPTOP (1200px - 1599px)
****************************************************/

@media (max-width:1400px){

.stat-card{
    padding:18px;
}

.stat-card h2{
    font-size:26px;
}

#map{
    height:500px;
}

.alertes{
    height:500px;
}

}


/****************************************************
TABLETTE
****************************************************/

@media (max-width:992px){

#sidebar{

    position:fixed;

    left:-280px;

    width:280px;

    transition:.35s;

    z-index:9999;

}

#sidebar.active{

    left:0;

}

#content{

    margin-left:0;

    width:100%;

}

.topbar{

    flex-wrap:wrap;

    padding:15px;

}

.topbar .left{

    width:100%;

}

.topbar .right{

    width:100%;

    justify-content:space-between;

    margin-top:15px;

}

.search{

    width:100%;

}

.stat-card{

    margin-bottom:20px;

}

#map{

    height:420px;

}

.alertes{

    height:auto;

}

.table-responsive{

    overflow-x:auto;

}

.card{

    margin-bottom:20px;

}

}


/****************************************************
SMARTPHONE
****************************************************/

@media (max-width:768px){

.logo{

    padding:15px;

}

.logo h3{

    font-size:20px;

}

.logo p{

    display:none;

}

.sidebar-user{

    display:none;

}

.topbar{

    padding:15px;

}

.topbar h2{

    font-size:20px;

}

.topbar p{

    font-size:13px;

}

.right{

    gap:10px;

}

.search{

    display:none;

}

.icon{

    width:50px;

    height:50px;

}

.stat-card{

    flex-direction:column;

    text-align:center;

}

.stat-info{

    width:100%;

}

.stat-card h2{

    font-size:30px;

}

#map{

    height:350px;

}

.card-header h5{

    font-size:17px;

}

.table{

    font-size:13px;

}

footer{

    font-size:12px;

}

.btn{

    width:100%;

    margin-top:10px;

}

}


/****************************************************
PETITS TELEPHONES
****************************************************/

@media (max-width:576px){

body{

    font-size:14px;

}

.logo-icon{

    width:50px;

    height:50px;

}

.logo h3{

    font-size:18px;

}

#toggleSidebar{

    width:40px;

    height:40px;

}

.topbar{

    text-align:center;

}

.topbar .left{

    justify-content:center;

}

.right{

    justify-content:center;

}

.right .icon{

    font-size:20px;

}

.stat-card{

    padding:20px;

}

.icon{

    width:60px;

    height:60px;

    font-size:24px;

}

#map{

    height:300px;

}

.card-body{

    padding:15px;

}

.table{

    font-size:12px;

}

canvas{

    max-width:100%;

}

}


/****************************************************
MENU MOBILE
****************************************************/

.overlay{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.45);

    display:none;

    z-index:9990;

}

.overlay.active{

    display:block;

}


/****************************************************
ANIMATIONS
****************************************************/

*{

    transition:.25s;

}

img{

    max-width:100%;

    height:auto;

}

canvas{

    width:100%!important;

}

table{

    width:100%;

}
