* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Tahoma, Verdana, arial, sans-serif;
    /*font-family: ‘Palatino Linotype’, ‘Book Antiqua’, Palatino, serif;*/
    /*font-family: Georgia, Palatino,” Palatino Linotype”, Times, “Times New Roman”, serif;*/

    font-size: 62, 5%;
    color: #505050;
}

a img {
    border: 0;
}

a,
a:visited {
    color: #505050;
}

a:hover {
    color: #004673;
    text-decoration: none;
}

#container {
    width: 970px;
    margin: 0 auto;
    clear: both;
    margin-top: 20px;
}

.left_col {
    float: left;
    width: 200px;
}

.content_outline {
    float: left;
    margin-top: 10px;
    background: #fff url("../img/content_back.png") top left;
}

.content {
    border: 1px solid #e0e0e0;
    background: transparent url("../img/cont_shadow.png") top left repeat-y;
    width: 670px;
    padding: 5px 5px 5px 10px;
}

.content ul {
    margin-left: 40px;
}

.content ul li {
    margin: 5px 0px;
}

.logo {
    text-align: center;
}

.logo a {
    display: block;
    background: transparent url("../img/logo.png") top left no-repeat;
    width: 156px;
    height: 111px;
    margin: 0 auto;
}

.payoff {
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 20px;
    font-weight: lighter;
}

#vnav {
    width: 180px;
    float: right;
    margin: 50px 10px 0px 0px;
}

#vnav h3 {
    text-align: right;
    font-size: 35px;
    line-height: 15px;
    border-bottom: 1px dotted #458bcf;
    padding: 0px 0px 3px 0px;
    margin: 20px 10px 10px 0px;
}

#vnav a {
    text-decoration: none;
    font-size: 25px;
    line-height: 30px;
}

ul.menu,
ul.categories {
    list-style-type: none;
    margin-right: 5px;
}

ul.menu li a,
ul.categories li a {
    display: block;
    text-align: right;
    margin-right: 5px;
}

#vnav ul.menu a {
    font-size: 35px;
    line-height: 45px;
}

/*Menu istituzionale*/
ul.categories a {
    color: #458bcf;
    font-style: italic;
}

ul.categories a:hover {
    color: #505050;
}

#footer {
    clear: both;
    background: #fff url("../img/footer.jpg") top center repeat-x;
    height: 163px;
    color: #808080;

}

.inner_footer {
    clear: both;
    max-width: 970px;
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
}

.inner_footer div {
    font-size: 0.8em;
    text-align: center;
}

.table_form {
    margin-top: 15px;
    margin-bottom: 10px;
    color: #919191;
    font-size: 13px;
    font-weight: bold;
}

.table_form td {
    padding: 4px;
    color: #505050;
    text-align: left;
}

.table_form tr {
    background-color: none;
}

.table_form tr:hover {
    background-color: #eaeaea;
}

.table_form input[type="text"] {
	width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    height: 15px;
}

.table_form textarea {
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    height: 120px;
}

.table_form input[type="submit"] {
    width: 150px;
    border: 1px solid #ccc;
    height: 18px;
    margin-left: 150px;
    margin-right: 20px;
    font-weight: bold;
    color: #717171;
}

.table_form input[type="text"]:focus {
    border: 1px solid #aaa;
}

.table_form textarea:focus {
    border: 1px solid #aaa;
}

.error_reporting {
    border: 1px solid #cccccc;
    background-color: #FFFFFF;
    text-align: left;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    padding: 3px;
    font-size: 13px;
    clear: both;
}

.error_reporting ul {
    list-style: outside url("../img/cancel.png") !important;
    margin-top: 10px;
    margin-bottom: 10px;
}

.error_reporting li {
    margin-left: 40px !important;
    padding-left: 5px !important;
    color: #520000;
    background-image: none;
}

.cat_col {
    float: left;
    width: 200px;
    height: 516px;
    margin: 10px 10px 10px 5px;
    position: relative;
}

.col_img a img {
    position: absolute;
    top: 0;
    left: 0;
    float: left;
    z-index: 0;
    border: 3px solid #e0e0e0;
}

.col_img {
    clear: both;
}

.cat_title {
    position: absolute;
    display: block;
    background: transparent url("../img/back_dot.png") top left;
    width: 206px;
    margin-top: 20px;
    font-size: 33px;
    line-height: 40px;
    text-align: center;
    color: #505050;
}

.cat_subtitle {
    position: absolute;
    display: block;
    background: transparent url("../img/back_dot.png") top left;
    width: 206px;
    margin-top: 61px;
    font-size: 21px;
    line-height: 30px;
    text-align: center;
    color: #505050;
    font-style: italic;
}

.col_shadow {
    background: transparent url("../img/col_shadow.png") top right no-repeat;
    position: relative;
    top: 506px;
    height: 16px;
    width: 200px;
}

.item_cat_col {
    float: left;
    width: 200px;
    height: 516px;
    margin: 10px 10px 10px 5px;
    position: relative;
}

.item_col_img a img {
    position: absolute;
    top: 0;
    left: 0;
    float: left;
    z-index: 0;
    border: 3px solid #e0e0e0;
}

.item_col_img {
    clear: both;
}

.col_img a {
    text-decoration: none;
}

.item_cat_title {
    position: absolute;
    display: block;
    background: transparent url("../img/back_dot.png") top left;
    width: 206px;
    margin-top: 20px;
    font-size: 23px;
    line-height: 40px;
    text-align: center;
    color: #505050;
}

.item_cat_subtitle {
    position: absolute;
    display: block;
    background: transparent url("../img/back_dot.png") top left;
    width: 206px;
    margin-top: 60px;
    font-size: 25px;
    line-height: 30px;
    text-align: center;
    color: #505050;
    font-style: italic;
}

.item_col_shadow {
    background: transparent url("../img/col_shadow.png") top right no-repeat;
    position: relative;
    top: 506px;
    height: 16px;
    width: 200px;
}

.cat_cont {
    float: left;
    width: 450px;
}

.item {
    float: left;
    width: 210px;
    height: 160px;
    position: relative;
    margin: 5px;
    margin-bottom: 20px;
}

.item a {
    text-decoration: none;
}

.item_img a img {
    position: absolute;
    top: 0;
    left: 0;
    float: left;
    z-index: 0;
    border: 3px solid #e0e0e0;
}

.item_title {
    position: absolute;
    display: block;
    background: transparent url("../img/item_title.png") top left no-repeat;
    width: 200px;
    height: 36px;
    font-size: 28px;
    line-height: 35px;
    font-style: italic;
    text-align: left;
    padding: 0px 0px 0px 3px;
    color: #505050;
}
.item_title {
    max-width: 203px;
    width: 100%;
    background-size: cover;
    height: 42px;
}
.item_shadow {
    background: transparent url("../img/col_shadow.png") top right no-repeat;
    position: relative;
    top: 166px;
    height: 16px;
    width: 200px;
}


h1 {
    font-size: 40px;
    color: #458bcf;
    margin-bottom: 20px;
}

.cat_cont h1 {
    font-size: 35px;
    color: #458bcf;
    padding: 5px 0px 0px 10px;
    margin-bottom: 10px;
}

h1.prod_title {
    font-size: 60px;
    color: #458bcf;
}

.details {
    margin-top: 10px;
}

h4 {
    font-size: 0.8em;
    margin: 0;
    padding: 0;
}

.prod_gallery {
    margin: 10px 0px 3px 0px;
}

.prod_label {
    width: 130px;
    font-weight: bold;
    font-size: 0.7em;
    border-bottom: 1px dotted #c0c0c0;
    height: 20px;
}

.prod_inclusi {
    font-size: 0.7em;
}

.prod_details {
    margin-bottom: 10px;
}

.bread {
    display: none;
}

.bread a,
.bread a:visited {
    color: #458bcf;
    text-decoration: none;
}

.bread a:hover {
    text-decoration: underline;
}

.carat_label {
    margin-bottom: 10px;
    /*border-bottom: 1px dotted #c0c0c0;*/
}

.map_container {
    width: 425px;
    height: 150px;
    margin: 10px 0px 10px 0px;
}

.desc_det {
    font-size: 0.9em;
    line-height: 1.4em;
    margin-top: 10px;
}

.cat_description {
    margin-left: 5px;
    font-size: 0.9em;
    line-height: 1.4em;
}

#imgPreviewWithStyles {
    background: #c0c0c0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 2px;
    z-index: 999;
    border: none;
}

.content_text {
    font-size: 12px;
}

ul.imps {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.imps li {
    float: left;
    margin: 0px 5px 3px 0px;
}

ul.imps li a {
    margin-right: 7px;
}

ul.imps li:after {
    content: " | ";
}

#default_image {
    margin: 0;
    padding: 0;
}

.label_cont {
    float: left;
    line-height: 36px;
    font-size: 20px;
}

.contact_button {
    display: block;
    float: right;
    width: 200px;
    height: 34px;
    background: url("../img/c_button_r.jpg") top left repeat-x;
    border: 1px solid #458cce;
    line-height: 36px;
    font-size: 16px;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
}

.contact_button:hover {
    border: 1px solid #115da4;
    text-shadow: #115da4 0px -1px 2px;
}

 


@media (max-width:767px) {
    #container {
        max-width: 970px;
        width: 100%;
        margin-top: 0px;
    }

    .content {
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .cat-main {
        display: flex;
        flex-direction: column;
    }

    .cat-main.inner .cat_col {
        display: none;
    }

    .cat-main::-webkit-scrollbar {
        -webkit-appearance: none;

    }

    .left_col .toggle {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        top: 35px;
        right: 15px;
        text-align: center;
        width: 46px;
        height: 39px;
        box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
        margin: -14px 0 0 -21px;
        transition: all .5s;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .left_col {
        width: 100%;
        float: none;
    }

    .content_outline {
        float: none;
    }

    .content {
        float: none;
        background: transparent;
        padding: 5px 10px 5px 10px;
    }

    .cat_cont {
		float: none;
		width: 100%;
		box-sizing: border-box;

    }

    .cat_col {
        float: none;
        height: auto;

    }

    .cat-main .cat_col {
        position: relative;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .cat-main .col_img a img {
        position: relative;
        width: 100%;
        box-sizing: border-box;
        height: 150px;
        object-fit: cover;
        margin-bottom: 20px;
    }

	.cat-main .cat_title,
	.cat-main .cat_subtitle {
		width: 100%;
		
	}
	.col_shadow{
		position: absolute;
		top: 88%;
		right: 0;
	}

    .payoff {
        text-align: left;
        margin-left: 15px;
        position: absolute;
        width: 100px;
        top: 0px;
    }

    .toggle span {
        display: block;
        background: #000;
        width: 26px;
        height: 1px;
        border-radius: 3px;
        transition: 0.25s margin 0.25s, 0.25s -webkit-transform;
        transition: 0.25s margin 0.25s, 0.25s transform;
        transition: 0.25s margin 0.25s, 0.25s transform, 0.25s -webkit-transform;
    }

    .toggle span:nth-child(1) {
        margin-bottom: 8px;
    }

    .toggle span:nth-child(3) {
        margin-top: 8px;
    }

    .toggle.active span {
        transition: 0.25s margin, 0.25s -webkit-transform 0.25s;
        transition: 0.25s margin, 0.25s transform 0.25s;
        transition: 0.25s margin, 0.25s transform 0.25s, 0.25s -webkit-transform 0.25s;
    }

    .toggle.active span:nth-child(1) {
        margin-top: 0px;
        margin-bottom: 14px;
    }

    .toggle.active span:nth-child(1),
    .toggle.active span:nth-child(2) {

        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .toggle.active span:nth-child(2) {
        display: none;
    }

    .toggle.active span:nth-child(3) {
        margin-top: -16px;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    #vnav {
        /* display: none; */
        position: fixed;
        right: -100%;
        top: 0px;
        margin: 0;
        width: 80%;
        background: rgba(243, 241, 241, 0.71);
        height: 100vh;
        transition: all.5s;
    }

    #vnav.active {
        right: 0%;
    }

    body {
        transition: all .5s;
        left: 0px;
        position: relative;
    }

    body.active {
        position: relative;
        left: -80%;
        overflow: hidden;

    }

    .toggle.active {
        right: 9px;
        z-index: 9;
	}
	h1.prod_title {
		font-size: 45px;
	}
	.item_title {
		position: absolute;
		display: block;
		background: transparent url(../img/item_title.png) top left no-repeat;
		background-size: contain;
		width: 100%;
		height: 45px;
	}
    .logo a {
        display: block;
        background: transparent url(../img/logo.png) top left no-repeat;
        width: 119px;
        background-size: contain;
        height: 85px;
        position: relative;
        left: 5px;
        margin: 0 auto;
    }

    .item_cat_col {
        display: none;
    }

    .item {
        float: none;
        display: inline-block;
        margin-bottom: 21px;
        height: auto;
        margin: 5px 0px;
        margin-bottom: 35px;
        width: 100%;
    }

    .item .item_img img {
        width: 100%;
        position: relative;
        box-sizing: border-box;
    }

    .item_shadow {
        background: transparent url(../img/col_shadow.png) top right no-repeat;
        position: absolute;
        top: 100%;
        right: 0;
        height: 16px;
        width: 200px;
    }

    .content table td,
    .content table,
    .content table tbody,
    .content table tr {
        display: block;
    }
    .thanks_tbl{
        margin-left: 0!important;
    }
    .thanks_tbl td img{
        margin: 0!important;
    }
    .thanks_tbl td{
        text-align: center;
        width: 100%!important;
    }
    .col_img a img {
        position: relative;

    }
}
@media (min-width:992px){
    .inner_footer div {
        margin-left: 200px;
        width: 670px;
    } 
    #footer{
        position: relative;
        width: 100%;
        bottom:0px;
    }
    .left_col{
        position: fixed;
        background: #fff;
        height: 100%;
        top: 0;
        padding-top: 50px;
    }
    .content{
        margin-left: 200px;  
        min-height: 700px; 
    }
}
#footer {
   
}

body.active{
    position: relative;
}
body.active:before{
    content:" ";
    position: fixed;
    z-index: 2;
    left:0px;
    top:0px;
    background: rgba(255, 255, 255, 0.88);
    width: 20%;
    height: 100%;
}
.main-img{
    width: 206px;
    height: 166px;
}
@media(max-width:768px){
    .main-img{
        width: 100%;
        height: 400px;
        object-fit: cover;
    }
}
@media(max-width:414px){
    .main-img{
        width: 100%;
        height: 200px;
    }
}