/************************

    COLOR PALETTE

    #1a70ad blu cangini
 */

body {
    font-family: "Darker Grotesque", Helvetica, Arial, sans-serif;
    color: #666;
    font-size: 15px;
}

a {
    color: #1a70ad;
}

a:link, a:visited {
    text-decoration: none;
}

a.btn.btn-default{
    border-color: #aaaaaa;
    text-decoration:none;
}
a.btn.btn-default:hover{
    border-color: #aaaaaa;
    text-decoration:none;
    background-color: #cbccce;
    transition-delay: initial;
}

a:hover, a:active {
    text-decoration: underline;
    color: #1a70ad;
}

h1, h2, h3, h4 {
    font-weight: normal;
}

/*********************************
*
*   HEADER
*
*********************************/

#pim_header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding:10px;
    height: 60px;
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2);
    z-index:999;
}

#pim_header img {
    height: 40px;
}

#pim_langdropdown {
    position: absolute;
    top: 10px;
    right:10px;
}

#pim_menuhide {
    position: absolute;
    top:15px;
    left:200px;
    font-size: 20px;
    padding: 0px 10px;
    height: auto;
}

/*********************************
*
*   BODY
*
*********************************/

#pim_body {
    margin-top: 60px;
    width:100%;
    min-height: calc(100vh - 60px);
    overflow: hidden;
    background-color: #eee;
}

/*********************************
*
*   MENU
*
*********************************/

#pim_sidemenu {
    width: 250px;
    color: #666;
    float: left;
    z-index:666;
    font-size: 15px;
    transition: width 0.5s;
    background-color: #eee;
    overflow: hidden;
}

.menuhidden #pim_sidemenu {
    width: 0;
}

#pim_sidemenu .pim_menu-item {
    display: block;
    text-decoration: none;
    color: #666;
    padding: 10px 10px;
    border-bottom: solid 1px #aaa;
    white-space: nowrap;
}

#pim_sidemenu .pim_menu-item.pim_menu-item2 {
    padding-left: 20px;
    background-color: #fafafa;
}

#pim_sidemenu div.pim_menu-item {
    padding-top: 34px;
}

#pim_sidemenu a.pim_menu-item:hover, #pim_sidemenu a.pim_menu-item:active {
    text-decoration: none;
    color: #eee;
    background-color: #aaa;
}

#collapseLogin {
    background-color: #1a70ad;
    padding: 0px 15px;
    overflow: hidden;
}

#collapseLogin .form-group {
    margin: 15px 0px;
}

#collapseLogin .form-group, #collapseLogin a {
    margin-bottom: 15px;

}

#collapseLogin a {
    color: #ffffff;
    display: inline-block;
    white-space: nowrap;
}

/*********************************
*
*   CONTAINER
*
*********************************/

#pim_container {
    width: calc(100% - 250px);
    min-height: calc(100vh - 60px);
    background-color: #fff;
    float: left;
    transition: width 0.5s;
}

/*********************************
*
*   SEARCH
*
*********************************/

#pim_container .pim_search {
    background-color: #1a70ad;
    padding:15px 30px;
}

.pim_search select {
    margin-bottom: 15px;
}



.menuhidden #pim_container {
    width:100%;
}

#filtri {
    color: #fff;
}

#filtri h4 {
    margin-top: 15px;
}

/*********************************
*
*   CONTENT
*
*********************************/

#pim_content {
    padding:30px;
}

.pim_product_item {
    margin-bottom: 30px;
}

.pim_product_item .pim_product_title a {
    font-size: 16px;
    font-weight: bold;
}
.pim_product_item .pim_product_img {
    margin-bottom: 15px;
}


.pim_prodotto_intestazione img {
    max-width: 100%;
    max-height: 200px;
}

.pim_prodotto_icone_colori img {
    max-width:41px;
}

.pim_prodotto_dimensioni {
    margin-top:60px;
}

hr.pim_prodotto_separatore {
    border: solid 6px #999999;
    margin: 30px 0px;
}

.pim_prodotto_dimensioni img {
    max-height: 500px;
}

.pim_prodotto_caratteristiche, .pim_prodotto_allegati, .pim_prodotto_imballi, .pim_prodotto_diba {
    margin-top:60px;
}

.pim_prodotto_flags img {
    height: 24px;
    margin:5px;
}

.pim_prodotto_flags .ip {
    display: inline-block;
    height:24px;
    border: solid 1px #000000;
    font-weight: bold;
    font-size: 12px;
    padding:2px 4px;
    margin:5px;
}


.help-block.form-error {
    color: red;
}

/*********************************
*
*   MEDIA QUERIES
*
*********************************/

@media screen and (max-width: 576px) {
    #pim_sidemenu {
        width: 100%;
        position: absolute;
        top:60px;
        left:0;
        min-height: 100vh;
        z-index: 800;
        transition: none;

    }

    #pim_container {
        width: 100%;
        transition: none;
    }
}

/*********************************
*
*   CLASSES
*
*********************************/
.action{
    white-space: nowrap;
}


/* Chrome, Safari, Edge, Opera */
input.no_arrow_spinner::-webkit-outer-spin-button,
input.no_arrow_spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.no_arrow_spinner[type=number]  {
    -moz-appearance: textfield;
}

/*********************************
*
*   DRAG AREA
*
*********************************/

.drag-area{
    border: 2px dashed #fff;
    height: 500px;
    width: 700px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #aaaaaa;
}
.drag-area.active{
    border: 2px solid #fff;
}
.drag-area .icon{
    font-size: 100px;
    color: #fff;
}
.drag-area header{
    font-size: 30px;
    font-weight: 500;
    color: #fff;
}
.drag-area span{
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    margin: 10px 0 15px 0;
}
.drag-area button{
    padding: 10px 25px;
    font-size: 20px;
    font-weight: 500;
    border: none;
    outline: none;
    background: #fff;
    color: #5256ad;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
}

.drag-area button:hover{
    background: rgb(228, 220, 220);
}

.drag-area img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.thumbs{
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
}

.swipebox img {
    padding: 10px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    -webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

/* TOOLTIP GALLERY*/

.mostraAnteprima + span {
    z-index:100;
    display:none;
    width:200px;
    margin-left: 20px;
}

.mostraAnteprima + span img{
    width:200px;
}
.mostraAnteprima:hover + span{
    display:inline;
    position:absolute;
    transition: width 2s, height 4s;
}

.mostraAnteprima + span
{
    border-radius:2px;
    box-shadow: 0px 0px 8px 4px #666;
}

@media (max-width: 745px) {

    .drag-area button{
        padding: 8px 20px;
        font-size: 18px;
        font-weight: 450;
    }

    .drag-area{
        height: 400px;
        width: 450px
     ;
    }

    .drag-area header{
        font-size: 25px;
        font-weight: 450;
        color: #fff;
    }

    .drag-area .icon{
        font-size: 80px;
    }

}


