body {
   background: #456ca3;
   font-family: 'Roboto Slab', Verdana, Tahoma, Arial, Sans Serif;
   color: #222;
}
html {
	scroll-behavior: smooth;
}

a {
  color: #456ca3;
}

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

p a{
	text-decoration:underline;
}

h1 {
	font-size:1.8em;
    line-height:1.1em;
}
h2 {
	font-size:1.4em;
    line-height: 1.1em;
}
h3 {
	font-size: 1.2em;
}
h4 {
	font-size: 1em;
}

p,div,ul,ol {
	font-size: 17px;
	line-height: 26px;
}

.colore_footer {
	background:#222;
	color:#fff;
}

h1,h2,h3,h4,h5,h6 {
	color:#456ca3;
	font-family: 'Roboto Slab', Verdana, Tahoma, Arial, Sans Serif;
    font-weight: 300;
}

button[type="submit"] {
    background: #456ca3;
    border: 1px solid #eef5ff;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    font-family: 'Roboto Slab', Verdana, Tahoma, Arial, Sans Serif;
}

select{
    padding: 10px 15px;
    font-size: 16px;
    font-family: 'Roboto Slab', Verdana, Tahoma, Arial, Sans Serif;
}

#content_all {
	width:100%px;
	background:#fff;
	margin:0 auto;
}

.min_height_0 {
	min-height: 0px;
}

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

.img-center {
	margin:0 auto;
}

img {
	max-width:100%;
	height:auto;
}

.fondino {
	background:#eee;
}

.fondino_colore2 {
	background:transparent;
}

.clear_after:after, .clear_before:before {
	display:block;
	content:"";
	clear:both;
}

img.alignright {
  float: right;
  margin-left: 20px;
}

img.alignleft {
  float: left;
  margin-right: 20px;
}

a.more_red {
    background: #456ca3;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    display: inline-block;
}

/********* PADDING *************/

/* PADDING bottom e top 30px */
.p-bt-30 {
	padding-bottom:30px;
	padding-top:30px;
}

.p-bt-10 {
	padding-bottom:10px;
	padding-top:10px;
}

.p-t-30 {
	padding-bottom:0px;
	padding-top:30px;
}

.p-b-30 {
	padding-bottom:30px;
	padding-top:0px;
}

/* SELETTORE LINGUE */
#language_list li{
    display: inline-block;
    padding: 10px;
}
#language_list img{
    padding-right: 4px;
}


/******** MENU **********/
.menu_1 {
	background-color:none;
	margin-top:15px;text-align:right;}
.menu_1 a {
	color:#fff; 
	font-size:13px;
}

.menu_1 a:hover {
	color:#ddd;
	background-color:transparent;
}

.menu_2 {
	background-color:transparent;
}

.menu_2 a {
	color:#000;
	 
}

.menu_2 a:hover {
	color:#0f5ea5;
	background-color:transparent;
}

.menu_2 li, .menu_1 li {
	display: inline-block;
}

.menu_2 li ul li, .menu_1 li ul li{
	display: block;
}

/*MENU*/
.btn-navbar {
	display:none;
}

.collapse {
	display: block;
	visibility: visible;
}

.btn-navbar {
	top: 34px;
	right: 0px;
	color: transparent;
	font-size: 25px;
	text-align: right;
}

#footer{
    background: #fff;
}


/*footer*/
#footer {
    color: #456ca3;
}

#footer a{
    color: #456ca3;
}

/*banner*/
.hero-image {
    background-image: linear-gradient(rgba(255, 255, 255, 0.67), rgba(0, 0, 0, 0.5)), url(../i/elfa-elettronica-faenza.jpg);
    height: 850px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin-bottom: 20px;
    width: 100%;
    background-attachment: fixed;
    background-position: top;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}
.hero-text-mobile {
  text-align: center;
  color: white;
}
.hero-button {
  text-align: center;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}
.hero-button-mobile {
  text-align: center;
  color: #222;
}
.hero-button-mobile .more_white.header {
    float: none;
    /* background: #e2001a; */
    padding: 5px 7px;
    color: #222 !important;
    font-weight: 700;
    border: 1px solid #222;
    margin: 15px 0;

    display: inline-block;
}

.hero-text h1{
    color: white;
}
.hero-text h1 span {
    font-size: 27px;
}
.hero-text-mobile h1, .hero-text-mobile p{
    color: #222;
}
.hero-text-mobile h1 span {
    font-size: 27px;
}

#openNav{
    background: #fff;
}

/*search*/
#searchsubmit, #searchsubmit-mobile {
    background-color: transparent;
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    border: none;
    cursor: pointer;
    height: 34px;
    margin: 3px 0;
    padding: 0 0 0 34px;
    position: relative;
    -webkit-transition: width 400ms ease, background 400ms ease;
    transition: width 400ms ease, background 400ms ease;
    width: 0;
    font-weight: 400;
}

.home #searchsubmit {
    background-image: url(../i/search.png);
}
.header_pagina_interna {
    height: 150px;
    background: #fff;
    z-index: -2;
    position: relative
}
.menu-main-menu-container li a,
.menu-main-menu-inglese-container li a{
    color: #000;
}

/* tabelle */
table {
  border-collapse: collapse;
  width: 100% !important;
  margin: 15px 0;
}

table td, table th {
  border: 1px solid #ddd;
  padding: 10px;
}

table tr:nth-child(even){background-color: #f2f2f2;}

table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #456ca3;
  color: white;
}

@media only screen and (max-width: 899px) {
    .hero-image {
        background-image: linear-gradient(rgba(255, 255, 255, 0.67), rgba(0, 0, 0, 0.5)), url(../i/elfa-elettronica-faenza.jpg);
        height: 700px;
        padding-top: 60px;
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        display: block;
        margin-bottom: 20px;
        width: 100%;
    }
    #row_logo{
        background: #fff;
        /*padding: 3px;*/
    }

}
@media only screen and (max-width: 599px) {
    .hero-image {
        background-image: linear-gradient(rgba(255, 255, 255, 0.67), rgba(0, 0, 0, 0.5)), url(../i/elfa-elettronica-faenza.jpg);
        height: 500px;
        padding-top: 60px;
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        display: block;
        margin-bottom: 20px;
        width: 100%;
    }
}