/**************************************
 *
 * STYLESHEET Globale
 * Author : TeamDev
 * Ollandini 2018
 *
 **************************************/

/*@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";*/

body {
  font-size: 16px !important;
}

body > .container {
    padding: 130px 15px 50px;
    min-height:500px;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* Wrapper */
.wrapper {
    display: flex;
}

/* Button */
.btn {
    font-size: 16px !important;
}

.btn:hover {
    cursor: pointer;
}


/* -------------------------------
    NAVBAR
---------------------------------- */
.navbar-brand {
    width: auto;
    max-width: 80px;
    margin-right: 10px;
}

.navbar-brand img {
    width: 100%;
    height: auto;
}

.navbar-toggler {
    padding: .25rem .25rem;
}


/* -------------------------------
    CONTENT
---------------------------------- */
#content {
    width: calc(100% - 250px);
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 130px;
    right: 0;
}
#content.active {
    width: 100%;
}


/* -------------------------------
    SIDEBAR
---------------------------------- */
#sidebarCollapse {
    display: none;
    position: absolute;
    top: 130px;
    left: 250px;
    border-radius: 0;
    border: none;
    padding: 29px 10px;
    box-shadow: none;
    background: #6d7fcc;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #7386D5;
    padding-top: 130px;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    padding: 20px 10px;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul.components li {
    position: relative;
    width: 65px;
    height: 65px;
    margin: 0 5px 5px;
    background-color: #6d7fcc;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

#sidebar .img-cover {
    width: 100%;
    height: 100%;
}

a[data-toggle="collapse"] {
    position: relative;
}

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}
a[aria-expanded="true"]::before {
    content: '\e260';
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

#btn-download-select, #btn-download-all {
    color: #7386D5;
    background: rgba(255,255,255,0.9);
}

.btn-remove  {
    display: none;
    font-size: 20px !important;
    color: #C51616;
}

ul.components li:hover .btn-remove {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 0;
    background: rgba(255,255,255,0.5);
}


/* -------------------------------
    BOX
---------------------------------- */
.box__dragndrop,
.box__uploading,
.box__success,
.box__error {
    display: none;
}

.box.has-advanced-upload {
    background-color: white;
    outline: 2px dashed black;
    outline-offset: -10px;
}
.box.has-advanced-upload .box__dragndrop {
    display: inline;
}


/* -------------------------------
    GALLERY
---------------------------------- */
.btn-over {
    display: none;
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.featherlight-content > .btn-over {
    text-align: right;
    right: 30px;
    left: 30px;
}

.img-fluid {
    /* width: 300px !important; */
    height: 180px !important;
}

.img-thumbnail:hover > .btn-over, .featherlight-content > .btn-over {
    display: block;
}

.btn-over .btn {
    display: inline-block;
    border-radius: 0px;
    margin-right: 5px;
    background-color: rgba(255,255,255,0.6);
}

.btn-over .btn:hover {
    background-color: rgba(255,255,255,0.8);
}

.img-thumbnail {
    position: relative;
    padding: 0;
    background-color: #fbfbfb;
    border: 6px solid #f5f5f5;
    border-radius: 0;
    overflow: hidden;
}

.img-thumbnail:hover {
    border-color: #e5e5e5;
}

.img-contain {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.img-cover {
    object-fit: cover;
    width: 100%;
    height: auto;
}


/* -------------------------------
    COLOR
---------------------------------- */
.bg-darkblue {
    background-color: #0b1b3e !important;
}

.bg-lightgray {
    background-color: #60676d !important;
}

.bg-ultra-lightgray {
    color: #666;
    background-color: #f2f2f2 !important;
}

.ye-h1 {
    color: white;
    font-size: 40px;
}


/* -------------------------------
    MEDIA QUERIES
---------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        width: 100%;
    }
    #content.active {
        width: calc(100% - 250px);
    }
    #sidebarCollapse span {
        display: none;
    }
}

@media only screen and (max-width : 489px) {

    .ye-h1 {
        font-size: 1.5rem;
    }

    .navbar-brand {
        max-width: 60px;
        margin-right: 0;
    }
}

@media only screen and (max-width : 418px) {
    body > .container {
        padding-top: 100px;
    }
}

@media only screen and (max-width : 339px) {

}
