/* rules for common tags */

h1 {
	/*18px via YUI Fonts CSS foundation*/
	font-size:138.5%;  
}
h2 {
	/*16px via YUI Fonts CSS foundation*/
	font-size:123.1%; 
}
h3 {
	/*14px via YUI Fonts CSS foundation*/
	font-size:108%;  
}
h1,h2,h3 {
	/* top & bottom margin based on font size */
	margin:1em 0;
}
h1,h2,h3,h4,h5,h6,strong {
	/*bringing boldness back to headers and the strong element*/
	font-weight:bold; 
}
abbr,acronym {
	/*indicating to users that more info is available */
	border-bottom:1px dotted #000;
	cursor:help;
} 
em {
	/*bringing italics back to the em element*/
	font-style:italic;
}
blockquote,ul,ol,dl {
	/*giving blockquotes and lists room to breath*/
	margin:1em;
}
ol,ul,dl {
	/*bringing lists on to the page with breathing room */
	margin-left:2em;
}
ol li {
	/*giving OL's LIs generated numbers*/
	list-style: decimal outside;	
}
ul li {
	/*giving UL's LIs generated disc markers*/
	list-style: disc outside;
}
dl dd {
	/*giving UL's LIs generated numbers*/
	margin-left:1em;
}
th,td {
	/*borders and padding to make the table readable*/
	border:1px solid #000;
	padding:.5em;
}
th {
	/*distinguishing table headers from data cells*/
	font-weight:bold;
	text-align:center;
}
caption {
	/*coordinated marking to match cell's padding*/
	margin-bottom:.5em;
	/*centered so it doesn't blend in to other content*/
	text-align:center;
}
 

/* layout */

html {
    padding: 0;
    margin: 0;
    background-color: white;
    background-image: url("../images/pupystil/pelo-pattern.jpg");
    background-repeat: repeat;

    position: relative;
    font-family: Arial,Helvetica,FreeSans,"Liberation Sans","Nimbus Sans L",
                 sans-serif;
}

.page {
    /*margin: 35px 20px 100px 20px;*/
    margin: 0;
    min-width: 800px;
    /* the next line is for ie8 compatibility */
    background-image: url("../images/pupystil/pelo-pattern.jpg");
    margin-bottom: 50px;
}

.loginbar {
    text-align: right;
    position: relative;
}



/* logo, in the same line as the top menu */

.topmenubar {
    background-color: #ED1C24;
    height: 50px;
    padding-left: 149px;
    position: relative;
}

#topmenu {
    background-image: url("../images/pupystil/pelo-pattern.jpg");
}

img.logo {
    height: 35px;
    position: absolute;
    z-index: 100;    
    padding: 5px;
}


/* horizontal menus */


.hmenu {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin: 0 0 0 0;
}

.hmenu li {
    display: table-cell;
    text-align: center;
}

.hmenu li a {
    color: inherit;
    text-decoration: none;
}

.hmenu li.highlight a {
    color: red;
}

.primary {
}

.primary li { 
    height: 45px;
    vertical-align: middle;
    position: relative;
}

.primary li .outer {
    height: 100%;
    width: 100%;
    position: relative;
}

.primary li a {    
    height: 100%;
    width: 100%;
    display: table;    

    /* standard and opera */
    box-sizing: border-box;
    transition-property: background-color;
    transition-duration: 0.3s;
    
    /* firefox */
    -moz-box-sizing: border-box;
    -moz-transition-property: background-color;
    -moz-transition-duration: 0.3s;

    /* chrome and safari */
    -webkit-box-sizing: border-box;
    -webkit-transition-property: background-color;
    -webkit-transition-duration: 0.3s;    
}

.primary li.current .marker {
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 70px;
    margin-left: -35px;
    height: 10px;
    background-color: #006837;
}


.primary li a:hover {
    background-color: rgba(0,0,0,0.1);
}


.primary .separator {
    width: 24px;
    background-image: url(../images/pupystil/fiore.png);    
    background-position: center center;
    background-repeat: no-repeat;
}

.primary .inner {
    display: table-cell;
    vertical-align: middle;
    position: relative;
}


.secondary.empty {
    height: 3px;
    padding: 0;
    background-image: url("../images/pupystil/pelo-pattern.jpg");
}

.secondary  {
   background-color: #006837;
   color: white;
   padding: 5px 0 5px 0;
   height: 25px;
   line-height: 25px;
}

.secondary a:hover, .secondary .current a {
    font-weight: bold;
    border-bottom: 
}

.secondary .current a {
    position: relative;
    bottom: -3px;
    border-bottom: solid 9px #ED1C24;
    z-index: 2;
    padding: 0 5px;
}


.primary li.current {
    background-image: url(../images/pupystil/menupattern.png);
    background-repeat: x-repeat;
    background-position: 0 -30px;
}

.primary li.current.parent .inner .text {
/*    border-bottom: none;*/
}

#main {
    background-color: white;
    clear: both;
}

.vertical-title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    width: 36px;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#5d5250));
    background: -moz-linear-gradient(top, #FFFFFF, #5d5250);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#5d5250');
}

.vertical-title .text { 
    font-size: 1.8em;
    /* /\* /\\* firefox *\\/ *\/ */
    -moz-transform: rotate(-90deg);
    -moz-transform-origin: left bottom;
    /* /\* chrome and safari *\/ */
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: left bottom;
    /* /\* opera *\/ */
    -o-transform: rotate(-90deg);
    -o-transform-origin: left bottom;
    /* /\* ie >= 9 *\/ */
    -ms-transform: rotate(-90deg);
    -ms-transform-origin: left bottom;

    padding: 0 0 15px 5px;
    position: absolute;
    bottom: 0;
    left: 48px;
    color: #534741;
    width: 8000px;
}

.vertical-title a { 
    color: inherit;
    text-decoration: none;
}

.vertical-title a.firstlink { 
    margin-left: 65px;
}

.vertical-title .breadimage {
    width: 60px;
    height: 60px;
    position: absolute;
    top: -15px;    
    background-repeat: no-repeat;
    background-position: center center;
}
 
.vertical-title .breadimage img:after {
    content: ".";
    visibility: hidden;
}

.column {
    padding: 3em;
}

.content {
    padding: 8px 5px 5px 5px;
    position: relative;
    min-height: 450px;
}

.link-slider .content {
    /* make some additional space for the slider */
    padding: 8px 5px 160px 5px;
}

.sidebar {
    width: 150px;
    float: right;
    height: 100%;
    padding-top: 0;
}

/* footer */

.footer {
   position: fixed;
   bottom: 0;
   width: 100%;
   height: 40px;
   background-color: #ED1C24;
   line-height: 40px;
   min-width: 800px;
}

.footer .breadcrumb_start, .footer .arrow {
    margin-left: 5px;
    height: 30px;
    vertical-align: middle;
}

.footer .breadcrumbs {
    color: white;
}

.footer a {
    font-weight: bold;
    vertical-align: middle;
}

.footer div {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer .search {
    text-align: right;
    z-index: 2;
}

.footer .search input {
    border: none;
    padding: 0 5px 0 15px;
    height: 20px;
    margin-bottom: 7px;
    background-image: url(../images/pupystil/lens.png);
    background-position: 2px 1px;
    background-repeat: no-repeat;
}

.footer .search label {
    color: black;
    background-color: #E6E6E6;
    line-height: 20px;
    padding: 1px 5px;
    margin-right: 5px;
    cursor: pointer;
}

.footer .assistenza {
    text-align: right;
}

.footer a {
    color: white;
    text-decoration: none;
}


/* product catalog */

.catalog_wrapper {
}


.products_catalog  {
    vertical-align: bottom;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 785px) and (max-width: 1219px) {
    .products_catalog  {
    width: 685px;
    }
}

@media screen and (min-width: 1220px) and (max-width: 1500px) {
    .products_catalog  {
	width: 1028px;
    }
}

@media screen and (min-width: 1501px)  {
    .products_catalog  {
	width: 1372px;
    }
}

.products_catalog .ins_prod {
    position: relative;
    vertical-align: bottom;
    display: inline-block;
    width: 300px;
    height: 140px;
    margin: 20px;
    color: inherit;
    
    background-image: url(../images/prodotti/Elemento_Catalogo.png);
    background-position: 0 0;
    text-decoration: none !important; /* for safari compatibility */
}

.products_catalog .ins_prod:hover {
    background-position: 0 140px;
}

.products_catalog .ins_prod .image {
    width: 130px;
    height: 130px;
    margin-left: 5px;
    text-align: center;
    line-height: 130px;
}

.products_catalog .ins_prod .image img {
    vertical-align: bottom;
}
.products_catalog .ins_prod .name {
    position: absolute;
    top: 10px;
    left: 140px;
    font-size: 20px;
    font-weight: bold;
    width: 155px;
}

.products_catalog .ins_prod .description {
    position: absolute;
    top: 50px;
    left: 140px;
    width: 155px;
}

.products_catalog .ins_prod .view {
    position: absolute;
    top: 60px;
    right: 20px;
}


/* modal message for catalog items */

.catalog-message h1 {
    font-size: 20px;
    margin: 0 0 2px 0;
}

.catalog-message h2 {
    font-size: 16px;
    margin: 0 0 20px 0;
}

.catalog-message .description {
/*    overflow: auto;*/
}

.catalog-message .button {
    display: block;
    position: absolute;
    top: -16px;
    right: -16px;
}

/* catalog admin page */
#formSalva .media-grid.ec-catalog  .items .item  {
    position: relative;
    vertical-align: bottom;
    display: inline-block;
    width: 300px;
    height: 140px;
    margin: 20px;
    color: inherit;
    
    background-image: url(../images/prodotti/Elemento_Catalogo.png);
    background-position: 0 0;
    
    border: none;
}

#formSalva .media-grid.ec-catalog  .items .item .preview {
    width: 130px;
    height: 130px;
    display: inline-block;
    padding: 0;
    margin: 0;
    line-height: 130px;
}

#formSalva .media-grid.ec-catalog  .items .item .preview img {
    vertical-align: bottom;
}

#formSalva .media-grid.ec-catalog  .items .item .name {
    position: absolute;
    top: 10px;
    left: 140px;
    font-size: 20px;
    font-weight: bold;
    width: 155px;
    text-align: left;
}

#formSalva .media-grid.ec-catalog  .items .item .description {
    position: absolute;
    top: 50px;
    left: 140px;
    width: 155px;
    text-align: left;
}


#formSalva .media-grid.ec-catalog  .items .item .controls {
    width: 190px;
    margin-bottom: 5px;
    background-color: transparent;    
}

/* administration catalog */

#formSalva .media-grid.catalog  .items  {
    clear: both;
}

#formSalva .media-grid.catalog  .items .item  {
    width: 320px;
    height: 200px;
    padding: 5px;
    margin: 10px;
    vertical-align: bottom;
    border-radius: 10px;
    background-color: #FF0000;
    color: white;
    position: relative;
}

#formSalva .media-grid.catalog  .items .item  .preview {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 180px;
    height: 120px;
    text-align: center;
    line-height: 120px;
}

#formSalva .media-grid.catalog  .items .item  .preview img {
    height: 120px;
}

#formSalva .media-grid.catalog  .items .item  .name {
    position: absolute;
    left: 220px;
    top: 30px;    
}

#formSalva .media-grid.catalog  .items .item  .name {
    position: absolute;
    left: 230px;
    top: 30px;    
    text-align: left;
}

#formSalva .media-grid.catalog  .items .item .description {
    position: absolute;
    left: 230px;
    top: 70px;    
    text-align: left;
    padding: 0;
}

#formSalva .media-grid.catalog  .items .item .controls  {
    background-color: transparent;
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 310px;
}

#formSalva .media-grid.catalog  .items .item .controls .drag {
    float: left;
}

#formSalva .media-grid.catalog  .items .add_product  {
    width: 320px;
    height: 200px;
    padding: 5px;
    margin: 10px;
    vertical-align: bottom;
    background-color: #39B54A;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    background-image: none;
    text-align: center;
    font-size: 250px;
    line-height: 200px;
}
/*
#formSalva .media-grid.catalog  .items .item .preview {
    width: 130px;
    height: 130px;
    display: inline-block;
    padding: 0;
    margin: 0;
    line-height: 130px;
}

#formSalva .media-grid.catalog  .items .item .preview img {
    vertical-align: bottom;
}

#formSalva .media-grid.catalog  .items .item .name {
    position: absolute;
    top: 10px;
    left: 140px;
    font-size: 20px;
    font-weight: bold;
    width: 155px;
    text-align: left;
}

#formSalva .media-grid.catalog  .items .item .description {
    position: absolute;
    top: 50px;
    left: 140px;
    width: 155px;
    text-align: left;
}


#formSalva .media-grid.catalog  .items .item .controls {
    width: 190px;
    margin-bottom: 5px;
    background-color: transparent;
}


/* edit form for catalog item */
.modal.catalog, .modal.catalog.fade.in {
    background-color: white;
    border: 2px solid black;
}

/* botton styles */

.btn * {
    vertical-align: middle;
}

menu_bottom .left a.btn.back {
    vertical-align: middle;
}

/* modal messages */
.modal {
}

/* mail form */
form._mailform_ {
    width: 23em;
    padding: 5px;
}

form._mailform_.center {
    margin: 0 auto;
}

form._mailform_.right {
    margin: 0 0 0 auto;
}



form._mailform_ label {
    display: block;
}

form._mailform_ input, form._mailform_ select {
    display: block;
    margin-bottom: 10px;
    width: 100%;
}

form._mailform_ input[type='submit'] {
    width: auto;
}

form._mailform_ textarea {
    width: 100%;
    height: 8em;
}

/* separator */
.section_separator {
    width: 100%;
    margin: 25px 0;
    text-align: center;
}

.section_separator .first, .section_separator .second {
    display: inline-block;
    width: 45%;
    height: 19px;
    background-image: url(../images/templates/0-1-2.png);
    background-repeat: repeat-x;
    background-position: center center;
    margin-right: -3px;
}

.section_separator .sepsx,.section_separator .sepdx {
    margin-bottom: 4px;
}

/* editor in the backend */
#editor_I_tbl {
    width: 100% !important;
    height: auto !important;
}


/* buttons */
#formSalva > div.actions .btn.save {
    float: right;
}

/* login form */
form.login {
    background-color:#f5f5f5;
    margin-bottom:20px;
    padding:19px;
    min-height:20px;
    border:1px solid #eee;
    border:1px solid rgba(0, 0, 0, 0.05);
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

form.login blockquote{
    border-color:#ddd;
    border-color:rgba(0, 0, 0, 0.15);
}

form.login legend {
    display: block;
    font-size: 120%;
    margin: 10px 0;
}

form.login label {
    float: left;
    width: 7em;
}

/* slider */
.slider {
    overflow: hidden;
}
    
.slider .ulist {
    height: 150px;
    padding: 0;
    width: 20000px;
    margin: 0;
}

.slider .ulist .element {
    margin: 0 20px;
    display: block;
    float: left;
    border: solid thin black;
    width: 250px;
    height: 140px;    
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    background-color: #ED1C24;
    -moz-box-shadow:    5px 5px 7px 0 #605959;
    -webkit-box-shadow: 5px 5px 7px 0 #605959;
    box-shadow:         5px 5px 7px 0 #605959;
}

.slider .ulist .element:hover, .slider .ulist .element.hovered {
    background-color: #006837;
}

.slider .ulist .element .image {
    text-align: center;
    margin: 10px 0 5px 0;
    height: 100px;
    margin-left: 0 !important;
}

.slider .ulist .element .caption {
    text-align: center;
    line-height: 100%;
    margin-left: 0 !important;
}

.slider .ulist .element a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.slider .ulist .element a.link {
    display: block;
}

.sliderwrapper {
    position: fixed;
    overflow: hidden;
    bottom: 40px;
    width: 100%;
}

.sliderwrapper .larrow img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 280px;
    z-index: 10;
}
.sliderwrapper .larrow:hover img {
    top: -140px;
}

.sliderwrapper .rarrow img {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 280px;
    z-index: 10;
}
.sliderwrapper .rarrow:hover img {
    top: -140px;
}


/* administration page for slider */
.slider.admin .ulist  {
    width: auto;
}

.slider.admin .ulist .element {
    height: 245px;
    margin-top: 10px;
}

.slider.admin div.template {
    display: none;
}


.slider.admin .ulist .controls {
    margin-top: 5px;
}

.slider.admin .ulist .element .drag {
    display: inline-block;
    float: left;
    height: 35px;
    width: 65px;
    vertical-align: top;
    background-image: url(../images/icons/dragndrop.png);
    background-position: 5px 5px;
    background-repeat: no-repeat;
}

.slider.admin .ulist .element .btn.delete  {
    float: right;
}

.slider.admin .ulist .element.add {
    background-color: #39B54A;
    cursor: pointer;
}

.slider.admin .ulist .element.add img {
    text-align: center;
    display: block;
    margin: 22px;
}

/* product slider */
.productslider {    
    overflow: hidden;
    position: relative;
}
    
.productslider .ulist {
    height: 110px;
    padding: 0;
    width: 20000px;
    margin: 0;
}

.productslider .ulist .element {
    margin: 0 5px;
    display: block;
    float: left;
    border: solid 3px #ED1C24;
    width: 180px;
    height: 100px;    
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    background-color: #ED1C24;
    position: relative;
    -moz-box-shadow:    5px 5px 7px 0 #605959;
    -webkit-box-shadow: 5px 5px 7px 0 #605959;
    box-shadow:         5px 5px 7px 0 #605959;
}

.productslider .ulist .element:hover, .productslider .ulist .element.hovered {
    background-color: #006837;
    border: solid 3px #006837;
}


.productslider .ulist .element.current img.marker {
    height: 20px;    
    position: absolute;
    bottom: -7px;
    left: 40px;
    z-index: 11;
}

.productslider .ulist .element .sceneIndex {
    position: absolute;
    bottom: -5px;
    right: -10px;
    height: 20px;
    width: 30px;
    background-color: white;
    color: black;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    border: solid 3px #FF0000;
    text-align: center;
}

.productslider .ulist .element .sceneIndex span {
    vertical-align: middle;
}

.productssliderwrapper {
    position: relative;
    overflow: hidden;
}

.productssliderwrapper .larrow img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 228px;
    z-index: 10;
}
.productssliderwrapper .larrow:hover img {
    top: -114px;
}

.productssliderwrapper .element a.link {
    width: 100%;
    height: 100%;
    display: block;
}

.productssliderwrapper .rarrow img {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 228px;
    z-index: 10;
}
.productssliderwrapper .rarrow:hover img {
    top: -114px;
}


/* product view in catalog page */
.productbox {
    border-top: solid 20px #ED1C24;
}

.productbox a.external_link {
   display: block;
   color: inherit;
   text-decoration: none;
}

.productbox .product {
    margin: 0 auto;
    width: 550px;
    border: solid 20px #ED1C24;
    border-top: none;
    position: relative; 
}

.productbox .product .video {
    width: 550px;
    height: 330px;
    background-color: #ED1C24;
}

.productbox .product .caption {
    height: 40px;
    background: #ED1C24;
    color: white;
    padding-top: 5px;
}

.productbox .product .download {
    height: 100px;
    width: 160px;
    position: absolute;
    right: -180px;
    bottom: -20px;
    background: #ED1C24;
    color: white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: center;
    font-size: 18px;
    line-height: 25px;
    padding-top: 10px;
}

/* scenes admin */
.admin .scenes .productbox {
    border-top: none;
}

.admin .scenes .items {
    padding: 50px 0 30px 0;
    overflow: hidden;
    clear: both;
}

.admin .scenes .items .item.scene {
    width: 180px;
    height: 160px;
    padding: 5px;
    margin-right: 30px;
    margin-top: 20px;
    float: left;
    background-color: #ED1C24;    
    border-radius:10px;
}

.admin .scenes .items .item.scene .image {
    width: 170px;
    height: 100px;
    text-align: center;
}

.admin .scenes .items .item.scene .image img {
    height: 100px;
}

.admin .scenes .items .item.scene .controls {
    padding-top: 15px;
}

.admin .scenes .items .item.scene .controls .drag {
    width: 52px;
    height: 32px;
    margin-right: 10px;
    cursor: move;
    background-image: url(../images/icons/dragndrop.png);
    float: left;
    background-position: 0 1px;
    background-repeat: no-repeat;
}

.admin .scenes .items .sceneadd {
    width: 180px;
    height: 160px;
    float: left;
    background-color: #006837;
    border-radius:10px;
    text-align: center;
    margin-right: 30px;
    margin-top: 20px;
}

.admin .scenes .items .sceneadd img {
    width: 160px;
}

.admin .scenes #formSalva .actions {
    clear: both;
}

.admin .scenes .hidden_elements {
    display: none;
}

.admin .scenes #labelimage, .admin .scenes #labelvideo, .admin .scenes #labeldescription {
    color: black;
}

.admin .scenes .actions {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    background-color: #ED1C24;
}

.admin .scenes .actions .btn {
    margin: 10px 40px;
}

.admin .scenes .introduction {
    width: 450px;
}

.admin .scenes .left {
    float: left;
}

.admin .scenes .menu_bottom {
    clear: both;
}

.admin .scenes .videopagina {
    margin-top: 20px;
    clear: both;
}

.admin .scenes .immaginepagina {
    margin-top: 10px;
}

.admin .scenes .btn.sceneedit {
    	color: #2b4418;
	background-color:#e8ad00;
	background-repeat:repeat-x;
	background-image:-khtml-gradient(linear, left top, left bottom, from(#eedc00), to(#e8ad00));
	background-image:-moz-linear-gradient(top, #eedc00, #e8ad00);
	background-image:-ms-linear-gradient(top, #eedc00, #e8ad00);
	background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #eedc00), color-stop(100%, #e8ad00));
	background-image:-webkit-linear-gradient(top, #eedc00, #e8ad00);
	background-image:-o-linear-gradient(top, #eedc00, #e8ad00);
	background-image:linear-gradient(top, #eedc00, #e8ad00);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eedc00', endColorstr='#e8ad00', GradientType=0);
	text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);
	border-color:#e8ad00 #e8ad00 #eedc00;
	border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

/* single scene edit */
.admin .scenes .product  {
    width: 800px;
    background-color: #ED1C24;    
    padding: 15px;
    position: relative;
}

.admin .scenes .product .video {
    margin: 5px 0;
}

.admin .scenes .product .caption {
    height: auto;
    clear: both;
    margin-top: 70px;
}

.admin .scenes .product #editor_I_ifr {
    height: 70px !important;
}

.admin .scenes .product .image_upload {
    color: white;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 0;
    width: 260px;
}

.admin .scenes .product .image_upload .preview {
    margin-bottom: 5px;
    border: solid 5px #ED1C24;    
    border-radius: 15px;
    -moz-box-shadow:    5px 5px 7px 0 black;
    -webkit-box-shadow: 5px 5px 7px 0 black;
    box-shadow:         5px 5px 7px 0 black;
    overflow: hidden;
}

.admin .scenes .product .image_upload .preview img {
    height: 150px;
}

.admin .scenes .product .image_upload img.icon {
    width: 60px;
    margin-right: 5px;
}

.admin .scenes .product .image_upload .btn {
    display: block;
    margin: 0 auto;
    width: 25px;
}

.admin .scenes .product .image_upload .btn img {
    width: 25px;
}


.admin .scenes .product .image_upload input {
    width: 100%;
    margin-top: 10px;
}

.admin .scenes .product .image_upload * {
    vertical-align: middle;
}

.admin .scenes .product .video_upload {
    color: white;
    font-weight: bold;
    position: absolute;
    top: 280px;
    right: 0;
    width: 250px;
}

.admin .scenes .product .video_upload input {
    width: 20px;
    margin-top: 10px;
}


.admin .scenes .product .video_upload * {
    vertical-align: middle;
}

.admin .scenes .product .video_upload img {
    width: 60px;
    margin-right: 5px;
}

.admin .scenes .product .video_upload .btn {
    display: block;
    margin: 5px auto;
    width: 25px;
}

.admin .scenes .product .video_upload .btn img {
    width: 25px;
}


.admin .scenes .is_enabled {
    text-align: center;
}

.admin .scenes .actions .btn.save {
    float: right;
}

.admin .scenes .actions .btn.large.danger {
    clear: both;
    width: 100%;
    margin: 0;
    text-align: center;
}

.admin .scenes .productbox {
    clear: both;
}

.admin .scenes form {
    padding-bottom: 80px;
}


/* fix for top menu admin */
#top .items.admin .link {
    margin-right: 20px !important;
}

/* side menu for catalog pages */

.sidemenu {
    position: absolute;
    margin-left: 0;
    top: 5px;
    left: 0px;
    bottom: 0;
    background-color: #006837;
    display: block;
    width: 320px;
}

.sidemenu li {
    margin: 15px 0 15px 15px;
    list-style-type: none;
}

.sidemenu li.current {
    background-color: #FF0000;
    border: solid thick white;
    text-align: right;
    padding: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-weight: bold;
    position: relative;
    left: 5px;
}

.sidemenu li a {
    text-decoration: none;
    color: white;
    font-size: 110%;
}

/* items in catalog pages */

.product_catalog {
    margin-left: 350px;

}

.product_catalog .product_link {
    background-color: #FF0000;
    color: white;
    border-radius: 10px;
    display: block;
    height: 170px;
    width: 350px;
    float: left;
    margin: 10px 10px;
    position: relative;
}

.product_catalog .product_link .image {
    position: absolute;
    top: 20px;
    left: 10px;
}

.product_catalog .product_link .name {
    position: absolute;
    top: 50px;
    left: 200px;
    font-size: 110%;
    font-weight: bold;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product_catalog .product_link .description {
    position: absolute;
    top: 20px;
    left: 200px;
    font-size: 110%;
    font-weight: bold;
    width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product_catalog .product_link .description .code {
    font-weight: normal;
}

/* edit modal dialog */

.admin .modal.catalog .modal-body {
    padding: 0;
}

#formSalvaContenutoAjax.catalog {
    background-color: #FF0000;
    padding: 10px 10px;
}

#formSalvaContenutoAjax.catalog .menu_buttons {
    padding: 5px 0;
    overflow: hidden;
}

#formSalvaContenutoAjax.catalog .menu_buttons .left {
    float: left;
}

#formSalvaContenutoAjax.catalog .menu_buttons .right {
    float: right;
}


#formSalvaContenutoAjax.catalog .videopagina {
    float: left;
    width: 310px;
    height: 310px;
}

#formSalvaContenutoAjax.catalog .videopagina .video {
    background-color: black;
    color: white;
    height: 240px;
}

#formSalvaContenutoAjax.catalog .videopagina .actions {
    margin: 5px 0;
    padding: 0;
    color: white;
    font-weight: bold;
}

#formSalvaContenutoAjax.catalog .videopagina .actions * {
    vertical-align: middle;
}

#formSalvaContenutoAjax.catalog .videopagina .actions .videochoose img {
    width: 15px;
}

#formSalvaContenutoAjax.catalog .videopagina input {
    font-size: 70%;
    width: 9em;
}

#formSalvaContenutoAjax.catalog .videopagina input[type=radio] {
    width: 30px;
}

#formSalvaContenutoAjax.catalog .texts {
    margin-left: 320px;
}

#formSalvaContenutoAjax.catalog .texts .introduction {
    margin-bottom: 10px;
    width: 280px;
    font-size: 120%;
}

#formSalvaContenutoAjax.catalog .texts label {
    color: black;
    font-size: 110%;
}

#formSalvaContenutoAjax.catalog .texts .name {
    width: 240px;
    margin-right: 10px;
    font-size: 120%;    
}

#formSalvaContenutoAjax.catalog .mceEditor {
    position: relative !important;
    top: 17px !important;
}

#formSalvaContenutoAjax.catalog .description {
    width: 270px;
    height: 135px;
}

#formSalvaContenutoAjax.catalog .immaginepagina {
    float: none;
    position: static;
}

#formSalvaContenutoAjax.catalog .immaginepagina .preview {
    width: 400px;
    height: 300px;
    text-align: center;
    line-height: 300px;
    overflow: hidden;
    margin: -35px auto 0;
}

#formSalvaContenutoAjax.catalog .immaginepagina .preview img {
    height: 300px;    
    vertical-align: top;
} 

#formSalvaContenutoAjax.catalog .immaginepagina .actions {
    padding: 0;
    margin: 0;
    color: white;
    font-weight: bold;
    background-color: transparent;
    position: relative;
    top: -70px;
    left: 290px;
    text-align: left;
}

#formSalvaContenutoAjax.catalog .immaginepagina .actions a {
    padding: 5px 14px;
    margin-top: 1px;
}

#formSalvaContenutoAjax.catalog .immaginepagina .actions * {
    vertical-align: middle;
}

#formSalvaContenutoAjax.catalog .immaginepagina .filechoose img {
    width: 15px;
}

#formSalvaContenutoAjax.catalog .immaginepagina input {
    font-size: 70%;
    width: 9em;
    margin-top: -6px;
}

/* related items in scene pages */

.related_products {
    margin-left: auto;
    margin-right: auto;
    display: block;
    overflow: hidden;
}

.related_products .productrelated_link {
    background-color: #FF0000;
    color: white;
    border-radius: 10px;
    display: block;
    height: 170px;
    width: 350px;
    float: left;
    margin: 10px 10px;
    position: relative;
}

.related_products .productrelated_link .image {
    position: absolute;
    top: 20px;
    left: 10px;
}

.related_products .productrelated_link .name {
    position: absolute;
    top: 50px;
    left: 200px;
    font-size: 110%;
    font-weight: bold;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related_products .productrelated_link .description {
    position: absolute;
    top: 20px;
    left: 200px;
    font-size: 110%;
    font-weight: bold;
    width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related_products .productrelated_link .description .code {
    font-weight: normal;
}


/* related products in admin page */

.admin .related_products .productrelated_link {
    position: relative;
}

.admin .related_products .productrelated_link.add {
    background-color: #42BE5C;
    font-size: 150px;
    font-size: 170px;
    color: white;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
} 

.admin .related_products .productrelated_link .btn.delete {
    position: absolute;
    bottom: 10px;
    right: 10px;
}
/* submenu in the catalog admin page */
.admin .catalog .sidemenu {
    display: none;
}

.admin .catalog #top #submenu {
    position: absolute;
    top: 50px;
    left: 0;
    width: 320px;
    background-color: #006837;
}

.admin .catalog #top #submenu .items .link {
    border: transparent;
    border-bottom: solid thin white;
    width: 310px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.admin .catalog #top #submenu .items .link:first-child {
    border-top: solid thin white;
}

.admin .catalog #top #submenu .items .link .drag {
    float: left;
}

.admin .catalog #top #submenu .items .link .pageLabel {
    margin-left: 10px;
}

.admin .catalog #top #submenu .items .link .delete {
    float: right;
}

.admin .catalog #top #submenu .items .link .edit {
    float: right;
    margin-right: 5px;
}

.admin .internal_form .highlight {
    display: none;
}

.admin .internal_form h2 {
    display: none;
}

/* product popup */

.modal.product {
    background-color: #FF0000;
    color: white;    
    padding: 0 10px 0 10px;    
    border-radius: 20px;
}

.modal.product a.button {
    position: absolute;
    top: -20px;
    right: -20px;
}

.modal.product .video {
    display: block;
    float: left;
    width: 320px;
    text-align: center;
    margin-right: 10px;
}

.modal.product .video img {
    max-height: 240px;
}

.modal.product .code {
    font-weight: bold;
}

.modal.product .description {
    margin-top: 22px;    
}

.modal.product .bigimage {
    display: block;
    width: 590px;
    text-align: center;
    clear: both;
    padding-top: 20px;
}

.modal.product .bigimage img {
    max-height: 470px;
}

.modal.product .top {
    overflow: hidden;
    margin-bottom: 20px;
}

.modal.product .download  {
    clear: both;
    background-color: white;
    height: 7px;
    position: relative;
    margin-bottom: 10px;
}

.modal.product .download a {
    display: block;
    color: #FF0000;
    background-color: white;
    border-radius: 7px;
    padding: 3px;    
    position: absolute;
    top: -100%;
    left: 50%;
    width: 200px;
    margin: 0 0 0 -103px;
    text-decoration: none;
    text-align: center;
}

.modal.product .download a:hover {
    font-weight: bold;
}

.modal.product .download img {
    vertical-align: middle;
}

/* menu administration  */

#top .admin button.submenu {
    width: 32px;
    height: 32px;
    float: left;
    margin-top: 7px;
    cursor: pointer;
    text-align: center;
    padding: 2px 0 2px 4px;
}

/* add product to scene  form */
.addproductfrm .preview-container {
    height: 300px;
}

.addproductfrm .preview {
    display: block;
    margin: 20px auto;
    max-width: 350px;
}

.addproductrm label {
    margin-top: 20px;
    display: block;
}
.addproductfrm select {
    margin-bottom: 20px;
}

/* chosen plugin */
.autocomplete_select {
    width: 200px !important;
}

/* search */

.search_header .section_link {
    margin-right: 10px;
}

.search_header {
    background-color: #FF0000;
    padding: 10px;
    color: white;
    font-size: 120%;
}

.search_header .sections {
    float: right;
}

.search_header .sections a {
    color: white;
}

.search_header form input {
    border: none;
    padding: 1px 5px 1px 15px;
    font-size: 100%;
    height: 1em;
    margin-bottom: 7px;
    background-image: url(../images/pupystil/lens.png);
    background-position: 2px 1px;
    background-repeat: no-repeat;
}

.search_header form label {
    color: black;
    background-color: #E6E6E6;
    height: 1em;
    font-size: 100%;
    padding: 0 5px;
    margin-right: 5px;
    cursor: pointer;
}

.search_scenes li a {
    display: block;
    height: 100%;
}

.search_pages .p_entry a, .search_products .p_entry a {
    display: block;
    font-size: 120%;
    text-decoration: none;
    color: inherit;
}

.search_pages .p_entry a:hover {
    text-decoration: underline;
}


.search_pages .p_entry a p {
    font-size: 90%;
}

.search_pages .p_entry, .search_products .p_entry {
    padding: 5px;
    padding-top: 15px;
    margin: 15px 0;
}

.search_products {
    margin: 0 !important;
    padding: 0 |important;
}

.search_products .product_link {
    margin-right: 20px;
    margin-left: 0;
}

.search_no_result {
    position: absolute;
    top: 200px;
    width: 100%;
    text-align: center;
    font-size: 170%;
}