﻿/* Web fonts */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic);

/* My cutom styles */

body {
    font-family: 'PT Sans', 'Open Sans', sans-serif;
}

.my-header {
}

    .my-header h1 {
        margin: 0.5em auto !important;
        padding: 0 !important;
    }

.my-footer {
    text-align: center;
    padding-bottom: 1em;
}

.my-nav-btn {
    font-size: 1em !important;
    padding: 0.5em 0.7em;
    color: #A6A6A6;
    margin: 0.2em !important;
}

.ui-content h1 {
    font-size: 1.5em;
    margin-top: 0;
    font-weight: 400;
}

.brands-list {
    margin: 1em 0;
}

    .brands-list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .brands-list ul li {
            list-style: none;
            margin: 0;
            display: inline;
        }

    .brands-list a {
        text-decoration: none !important;
    }

    .brands-list img {
        width: 100px;
    }
    
    

/* Home slider */

.cycle-slideshow, .cycle-slideshow * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cycle-slideshow {
    width: 100%;
    padding: 0;
    position: relative;
}

    .cycle-slideshow img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
        display: block;
    }

        .cycle-slideshow img:first-child {
            position: static;
            z-index: 100;
        }

.cycle-pager, 
.my-pager {
    text-align: center;
    width: 100%;
    z-index: 500;
    position: absolute;
    top: 10px;
    overflow: hidden;
}

    .cycle-pager span, 
    .my-pager span {
        font-family: arial;
        font-size: 50px;
        width: 16px;
        height: 16px;
        display: inline-block;
        color: #ddd;
        cursor: pointer;
    }

        .cycle-pager span.cycle-pager-active, 
        .my-pager span.cycle-pager-active {
            color: #D69746;
        }

    .cycle-pager > * {
        cursor: pointer;
    }


.cycle-caption {
    position: absolute;
    color: white;
    bottom: 15px;
    right: 15px;
    z-index: 700;
}

.cycle-arrows {
    position: absolute;
    width: 100%;
    top: 42%;
    z-index: 700;
}

    .cycle-arrows a.prev,
    .cycle-arrows a.next {
        position: absolute;
        background: #FFF;
        padding: 0.5em;
        font-size: 1.5em;opacity: .8;
        filter: alpha(opacity=80);
        color: #3B3B3B;
    }

    .cycle-arrows a.prev {
        left: 0;
    }

    .cycle-arrows a.next {
        right: 0;
    }

.cycle-overlay {
    font-family: tahoma, arial;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 600;
    background: black;
    color: white;
    padding: 15px;
    opacity: .5;
}

.cycle-prev, .cycle-next {
    position: absolute;
    top: 0;
    width: 30%;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 800;
    height: 100%;
    cursor: pointer;
}

.cycle-prev {
    left: 0;
    background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat;
}

.cycle-next {
    right: 0;
    background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat;
}

    .cycle-prev:hover, .cycle-next:hover {
        opacity: .7;
        filter: alpha(opacity=70);
    }

.disabled {
    opacity: .5;
    filter: alpha(opacity=50);
}

.cycle-paused:after {
    content: 'Paused';
    color: white;
    background: black;
    padding: 10px;
    z-index: 500;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 10px;
    opacity: .5;
    filter: alpha(opacity=50);
}

/* 
    media queries 
    some style overrides to make things more pleasant on mobild devices

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    .cycle-slideshow { width: 200px;}
    .cycle-overlay { padding: 4px }
    .cycle-caption { bottom: 4px; right: 4px }
}
*/

.cycle-slideshow {
    background: #e9e9e9;
}

.m-promoItem, 
.m-promoImg, 
.m-promoImg a, 
.m-promoText {
    width: 100%;
}

.m-promoItem {
    display: block;
    position: relative;
    width: 100%;
}

.m-promoImg {
    position: relative;
    height: auto;
    overflow: hidden;
}

    .m-promoImg a {
        display: block;
        text-align: center;
    }

    .m-promoImg img {
        width: 100%;
        height: auto;
    }

.m-promoText {
    height: 100px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    background: #3B3B3B;
    -webkit-background-clip: padding;
    background-clip: padding-box;
    opacity: .8;
    filter: alpha(opacity=80);
}

    .m-promoText a {
        display: block;
        padding: 1em 1em 2em 1em;
        color: white !important;
        text-decoration: none;
        text-shadow: 0 1px 0 #111 !important;
    }

    .m-promoText h3,
    .m-promoText p {
        margin: 0;
        padding: 0;
        line-height: normal;
        font-weight: 400;
    }

.m-promoNav {
    font-size: 1em;
    line-height: 1.7em;
    font-weight: 400;
    display: table;
    width: 100%;
}

    .m-promoNav a {
        display: block;
        width: 50%;
        background: #3B3B3B;
        color: white !important;
        text-shadow: 0 1px 0 #111 !important;
        text-decoration: none;
    }

        .m-promoNav a span {
            padding: 0 0.5em;
            display: block;
        }

        .m-promoNav a.prev {
            float: left;
            text-align: left;
        }

        .m-promoNav a.next span {
        }

        .m-promoNav a.next {
            float: right;
            text-align: right;
        }

/* Scheda auto */

#gallery {
    display: table;
    width: 100%;
}

    #gallery a {
        display: block;
        float: left;
        width: 30%;
        margin-right: 3%;
        margin-bottom: 3%;
    }

        #gallery a img {
            float: left;
            width: 100%;
        }

.my-radio br {
    display: none;
}

.accessori ul,
.optionals ul {
    margin-left: 1.2em;
    padding-left: 0;
}

.info-box {
    font-size: .75em;
}

    .info-box ul,
    .info-box ol {
        margin-left: 0;
        padding-left: 1.5em;
    }

.call {
    background: #108040 !important;
}

h1.price {
    margin-top: 0;
    font-weight: 700;
}

ul.ui-listview > li.ui-li-has-thumb > a > .my-img-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 5em;
    height: 5em;
    overflow: hidden;
    display: inline-block;
}

    ul.ui-listview > li.ui-li-has-thumb > a > .my-img-box img {
        height: 100%;
        min-width: 100%;
    }

.ui-listview .ui-btn-icon-right .ui-li-count {
}

.ui-listview>.ui-li-has-count>.ui-btn {
    padding-right: 5em;
    padding-left: 5.5em;
}

.ui-listview>.ui-li-has-thumb>.ui-btn {
    padding-left: 5.5em;
}

.error {
    color: red;
}