/*
Theme Name: PHARMACROSS
Theme URI: http://www.beta3.it
Description:
Author: Giancarlo Lavenuta
Version: 1.0

*/
@charset "utf-8";

/* CSS Document */
/*== RESET ==*/
@-webkit-viewport {
  width: device-width
}

cf @-moz-viewport {
  width: device-width
}

@-ms-viewport {
  width: device-width
}

@-o-viewport {
  width: device-width
}

@viewport {
  width: device-width
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-weight: 300;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

nav ul {
  list-style: none
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent
}

mark {
  background-color: #ff9;
  color: #6d6e72;
  font-style: italic;
  font-weight: bold
}

del {
  text-decoration: line-through
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0
}

input, select {
  vertical-align: middle
}

/*== General ==*/
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background: #fff;
  position: relative !important;
}

::-moz-selection {
  background: #009EE2;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #009EE2;
  color: #fff;
  text-shadow: none;
}

:focus {
  outline-color: transparent;
  outline-style: none;
}

body {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  line-height: 160%;
  color: #1a1a1a;
  background-size: cover;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: none;
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-text-size-adjust: none;
  -ms-tap-highlight-color: rgba(0, 0, 0, 0);
  -ms-text-size-adjust: none;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  overflow-x: hidden !important;
  position: relative !important;
}


table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 20px auto;
  display: block;
  max-width: 100%;
}

table td {
  border-bottom: 1px solid #eee!important;
  padding: 10px!important
}

.responsive-table {
  display: block;
  width: 100%;
  overflow-x: auto!important;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0;
}

.responsive-table table {
  margin: 0;
  min-width: 500px;
}

/* PRELOADER */
#preloader {
  background: #FFF url('images/loading.gif') no-repeat center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
}

/* PRELOADER */
b, strong {
  font-weight: 600;
}

a, a:link, a:active, a:visited {
  color: #007ec6;
  text-decoration: none;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

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

.hide, .screen-reader-text {
  display: none !important
}

.left {
  float: left !important;
}

.right {
  float: right !important;
}

.half {
  width: 48%
}

.fix {
  clear: both
}

.last {
  margin-right: 0 !important;
}

.grey {
  background: #f5f5f5 !important;
}

.red {
  color: #df2423
}

.black {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 20, 32, 0.4) !important;
  zoom: 1;
}

.full {
  width: 1200px;
}

.center {
  margin: 10px auto;
  text-align: center;
  clear: both;
  display: table;
}

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

img.aligncenter {
  margin: 10px auto;
  text-align: center;
  display: table;
}

a.button {
  display: table;
}

.button, .wpcf7-submit, .btn {
  height: 44px;
  line-height: 44px;
  border: none !important;
  background: #007ec6;
  color: #fff !important;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  cursor: pointer;
  padding: 0 30px;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
  border-radius: 3px;
}

.button:hover, .wpcf7-submit:hover, .btn:hover {
  background: #1a1a1a
}

.button-nl {
  width: 150px;
  height: 54px;
  line-height: 54px;
  border: none !important;
  background: #004a76;
  color: #fff !important;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  cursor: pointer;
  padding: 0 30px;
  text-transform: uppercase;
  font-weight: 300;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
  border-radius: 3px;
}

.button-nl:hover {
  background: #002d4d
}

.wpcf7-submit {
  display: inline;
}

div.top {
  width: 100%;
  margin: 0 auto;
}

div.main {
  width: 100%;
  margin: 140px auto 0 auto;
  position: relative;
  overflow-x: hidden !important;
  z-index: 2;
}

#header {
  height: 80px;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  margin: 0 auto;
  z-index: 101;
}

#header>.overlay {
  display: none;
}

.head {
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.head-contatti {
  position: relative;
  top: -25px;
}

.item img {
  display: block;
  width: 100%;
}

.item {
  position: relative;
}

.descrizione {
  position: absolute;
  background: rgba(0, 116, 185, 0.85);
  right: 5%;
  bottom: 15%;
  padding: 40px;
  color: #fff
}

.descrizione h1 {
  font-size: 28px;
  line-height: 120%;
  font-weight: 400
}

.descrizione h2 {
  font-size: 24px;
  line-height: 120%;
  margin-top: 10px
}

.top-content {
  width: 100%;
  background: #fff
}

.logo-resp {
  display: none
}

.logo-content {
  width: 1200px;
  height: 90px;
  margin: 0 auto;
}

.logo {
  float: left;
  width: 280px;
  height: 84px;
  position: relative;
  overflow: hidden;
  margin-top: 3px;
}

.logo img {
  width: 100%;
  height: auto;
}

#header .menu-bar {
  width: 100%;
  height: 50px;
  background: #007ec6;
  zoom: 1;
  margin: 0 auto;
}

#header .menu-bar-content {
  width: 1200px;
  height: 50px;
  margin: 0 auto;
}

#header .menu {
  height: 50px;
  line-height: 50px;
  margin: 0;
  float: left;
}

#header .menu>.menu-toggle {
  display: none;
}

#header .menu>ul {
  list-style: none;
  padding: 0;
}

#header .menu>ul>li {
  margin: 0 80px 0 0;
  border: 0;
  float: left;
  position: relative;
}

#header .menu>ul>li.wpml-ls-item {
  margin: 0 10px 0 0;
}

#header .menu>ul>li.wpml-ls-item a {
  display: block;
  padding-bottom: 0
}

#header .menu>ul>li.wpml-ls-item a:hover {
  background: none
}

#header .menu>ul>li>a {
  font-family: 'Rubik', sans-serif;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  -moz-transition: all 0.2s linear 0s;
  -webkit-transition: all 0.2s linear 0s;
  -o-transition: all 0.2s linear 0s;
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 300;
  padding: 5px 6px;
  border-radius: 3px
}

#header .menu .submenu-toggle {
  display: none;
}

#header .menu>ul>li>a:hover, #header .menu>ul>li.current-menu-item>a, #header .menu>ul>li.current-menu-ancestor>a {
  cursor: pointer;
  /* border-bottom: 2px solid #fff */
  background: #0B466F
}

#header ul.sub-menu {
  position: absolute;
  top: 80px;
  left: 0;
  display: block;
  overflow: hidden;
  width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  -webkit-transition: width 0.01s linear 0.8s, opacity 0.6s ease 0.2s, -webkit-transform 0.6s ease 0.2s;
  -o-transition: width 0.01s linear 0.8s, opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
  transition: width 0.01s linear 0.8s, opacity 0.6s ease 0.2s, -webkit-transform 0.6s ease 0.2s;
  transition: width 0.01s linear 0.8s, opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
  transition: width 0.01s linear 0.8s, opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s, -webkit-transform 0.6s ease 0.2s;
  -webkit-transform: translateY(20px);
  -ms-transform: translateY(20px);
  transform: translateY(20px);
  opacity: 0;
  color: #222;
  background: #fff;
  z-index: 1
}

#header .menu>ul.menu-items>li:hover>.sub-menu {
  width: 200px;
  -webkit-transition: width 0.01s linear 0.1s, opacity 0.6s ease 0.11s, -webkit-transform 0.6s ease 0.11s;
  -o-transition: width 0.01s linear 0.1s, opacity 0.6s ease 0.11s, transform 0.6s ease 0.11s;
  transition: width 0.01s linear 0.1s, opacity 0.6s ease 0.11s, -webkit-transform 0.6s ease 0.11s;
  transition: width 0.01s linear 0.1s, opacity 0.6s ease 0.11s, transform 0.6s ease 0.11s;
  transition: width 0.01s linear 0.1s, opacity 0.6s ease 0.11s, transform 0.6s ease 0.11s, -webkit-transform 0.6s ease 0.11s;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  z-index: 2;
}

/*#header li:hover > .sub-menu
{
    height: auto;
}*/
#header .sub-menu>li {
  color: #222;
  font-family: 'Rubik', sans-serif;
  text-transform: uppercase;
  text-align: left;
  width: 100%;
}

#header .sub-menu>li>a {
  display: block;
  padding: 0 10px;
  width: auto;
  white-space: nowrap;
  height: 35px;
  line-height: 35px;
  color: #222;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
}

#header .sub-menu>li>a:hover, #header .sub-menu>li.current-menu-item>a {
  color: #007ec6;
  text-decoration: none;
}

.script-map {
  display: none
}

.googleMap-content {
  margin-top: 0;
  width: 100%;
  display: block;
}

#googleMap {
  width: 100%;
  height: 660px;
  background: #ddd
}

#googleMap span {
  width: 100%;
  position: absolute;
  top: 50%;
  text-align: center;
  font-size: 30px;
}

.gm-style-cc {
  display: none;
}

.gm-style-iw {
  white-space: nowrap;
}

.superpage {
  background: #fff;
  position: relative;
}

.page {
  margin: 0 auto;
  width: 1200px;
  padding: 40px 0;
  clear: both;
}

.page-carousel-prodotti {
  display: block !important;
}

.carousel-prodotti .item {
  margin: 0 10px
}

.page-padding {
  padding: 90px 0 !important
}

div.page p {
  padding-bottom: 12px;
  text-align: justify;
}

.page-content {
  margin: 0;
  width: 100%;
}

.page:after, .page-content:after {
  content: "";
  display: table;
  clear: both;
}

.page-sidebar {
  width: 70%;
  float: left;
}

.page h1 {
  color: #1a1a1a;
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  line-height: 130%;
  margin: 20px 0 10px 0;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
}

.page-content h4 {
  color: #1a1a1a !important;
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  line-height: 130%;
  margin: 20px 0;
  text-transform: uppercase;
  text-align: center;
}

.page-content h5 {
  color: #1a1a1a;
  font-size: 15px;
  font-family: 'Rubik', sans-serif;
  line-height: 130%;
  margin: 0 0 20px 0;
  text-align: center;
}

.microline-red {
  width: 60px;
  height: 3px;
  background: #007ec6;
  margin: 0px auto 40px auto
}

.microline-blu {
  width: 60px;
  height: 3px;
  background: #007ec6;
  margin: 0px auto 40px auto
}

.line-red {
  width: 120px;
  height: 3px;
  background: #df2423;
  margin: 0 0 20px 0
}

.page-prodotto {
  padding: 90px 0 40px 0
}

.page-prodotto h1 {
  font-size: 40px;
  color: #007ec6;
  text-align: left;
  text-transform: inherit;
}

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

.img-prodotto img {
  width: 70%;
}

.page-company h2 {
  font-size: 26px;
  font-weight: 400;
  color: #007ec6;
  text-align: left;
  margin: 20px 0
}

.page-company h3, .page-content h3 {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  margin: 20px 0
}

.page-content h2 {
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  margin: 20px 0
}

.page-company ol li {
  margin: 5px 30px
}

.logo-company {
  float: left;
  margin-right: 10px;
}

.page-countries {
  padding: 0
}

.page-tab {
  border-bottom: 1px solid #e6e6e6;
  padding: 0 !important
}

.welcome {
  padding: 60px 0 !important;
  border-bottom: 1px solid #e6e6e6
}

.left-home {
  width: 20%;
  float: left;
}

.left-home h1 {
  font-size: 28px;
  text-align: right;
  font-weight: 400;
}

.right-home {
  width: 75%;
  float: right;
  text-align: left;
  padding: 15px 20px;
  border-left: 3px solid #df2423
}

.right-home p {
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 0 !important
}

ul.categorie-home {
  list-style: none;
  margin: 20px auto;
  display: table;
  text-align: center;
}

ul.categorie-home li {
  display: inline-block;
  margin: 5px 40px;
}

ul.categorie-home li a {
  display: block;
  padding: 14px;
  border-radius: 20px
}

ul.categorie-home li a:hover {
  background: #f2f2f2
}

ul.categorie-home li h2 {
  text-transform: uppercase;
  font-size: 19px;
  margin: 10px 0;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

ul.categorie-home li.nephrology h2, ul.categorie-home li.nefrologia h2 {
  color: #eb1f4a
}

ul.categorie-home li.dermatology h2, ul.categorie-home li.dermatologia h2 {
  color: #b3d143
}

ul.categorie-home li.cardiology h2, ul.categorie-home li.cardiologia h2 {
  color: #913391
}

ul.categorie-home li.orthopaedics h2, ul.categorie-home li.ortopedia h2 {
  color: #881c0d
}

ul.categorie-home li.obstetrics h2, ul.categorie-home li.ostetricia h2 {
  color: #eca3c6
}

ul.categorie-home li.gastroenterology h2, ul.categorie-home li.gastroenterico h2 {
  color: #fbba00
}

ul.categorie-home li.immunity h2 {
  color: #4094c4
}


ul.categorie-prodotti li img {
  width: 82px
}

ul.categorie-prodotti {
  margin: 0 auto;
}

ul.categorie-prodotti li {
  margin: 0;
}

/*== INIZIO GRID 2 ==*/
ul.grid-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 40px;
  margin-left: -20px;
  margin-right: -20px;
  padding: 0
}

ul.grid-2 li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  width: 50%;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}

/*== FINE GRID 2 ==*/
.grid-conten-countries {
  border: 2px solid #eee;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 10px !important
}

.grid-conten-countries h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #007ec6;
  font-weight: 400;
  text-transform: uppercase;
}

.grid-conten-countries h3 {
  font-size: 18px;
  font-weight: 400;
}

/*== INIZIO GRID 3 ==*/
ul.grid-3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: -20px;
  margin-right: -20px;
  padding: 0
}

ul.grid-3 li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  width: 33.3333%;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}

/*== FINE GRID 3 ==*/
ul.grid-prodotti li {
  position: relative;
}

ul.grid-prodotti li img {
  padding: 10px
}

.titolo-prodotto {
  background-color: #007ec6;
  color: #fff;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.grid-prodotti-content a {
  border: 1px solid #007ec6;
  border-radius: 5px
}

.grid-prodotti-content a:hover .titolo-prodotto {
  background-color: #df2423
}

.grid-prodotti-content a:hover {
  border: 1px solid #df2423;
}

.titolo-prodotto h2 {
  font-size: 22px;
  padding: 10px 10px 0 10px;
  font-weight: 400;
  text-align: left;
}

.titolo-prodotto h3 {
  font-size: 16px;
  padding: 0 10px 10px 10px;
  text-align: left;
  margin: 0!important
}

.cat-name:after {
  content: ", ";
}

.cat-name:last-child:after {
  content: "" !important;
}

.content-icona {
  float: right;
}

.icona-nephrology, .icona-nephrologia {
  width: 40px;
  height: 40px;
  float: left;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 100%;
  margin: 17px 10px 0 0;
  background-image: url('images/nephrology.png');
  background-repeat: no-repeat;
  background-position: 98%;
  background-size: 40px
}

.icona-dermatology, .icona-dermatologia {
  width: 40px;
  height: 40px;
  float: left;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 100%;
  margin: 17px 10px 0 0;
  background-image: url('images/dermatology.png');
  background-repeat: no-repeat;
  background-position: 98%;
  background-size: 40px
}

.icona-cardiology, .icona-cardiologia {
  width: 40px;
  height: 40px;
  float: left;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 100%;
  margin: 17px 10px 0 0;
  background-image: url('images/cardiology.png');
  background-repeat: no-repeat;
  background-position: 98%;
  background-size: 40px
}

.icona-orthopaedics, .icona-ortopedia {
  width: 40px;
  height: 40px;
  float: left;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 100%;
  margin: 17px 10px 0 0;
  background-image: url('images/orthopaedics.png');
  background-repeat: no-repeat;
  background-position: 98%;
  background-size: 40px
}

.icona-obstetrics, .icona-ostetricia {
  width: 40px;
  height: 40px;
  float: left;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 100%;
  margin: 17px 10px 0 0;
  background-image: url('images/obstetrics.png');
  background-repeat: no-repeat;
  background-position: 98%;
  background-size: 40px
}

.icona-gastroenterology, .icona-gastroenterico {
  width: 40px;
  height: 40px;
  float: left;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 100%;
  margin: 17px 10px 0 0;
  background-image: url('images/gastroenteric.png');
  background-repeat: no-repeat;
  background-position: 98%;
  background-size: 40px
}

.icona-immunity {
  width: 40px;
  height: 40px;
  float: left;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 100%;
  margin: 17px 10px 0 0;
  background-image: url('images/immune.png');
  background-repeat: no-repeat;
  background-position: 98%;
  background-size: 40px
}

.zoom {
  width: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.zoom img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  -webkit-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

a:hover .zoom img {
  -webkit-transform: scale(1.07, 1.07);
  -ms-transform: scale(1.07, 1.07);
  transform: scale(1.07, 1.07);
}

a:hover .titolo-news {
  bottom: 0
}

.play-content {
  position: relative;
}

.titolo-play h3 {
  font-size: 20px;
  text-align: left;
  margin-bottom: 0
}

.titolo-play h4 {
  font-size: 16px;
  text-align: left;
  margin-top: 5px
}


.play {
	position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}


.play svg {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  display: inline-block;
  float: none;
  fill: #df2423;
  width: 60px;
  height: 60px;
  padding: 0;
  margin: 0;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

a:hover .play svg {
  fill: #007ec6;
}

a:hover .play {
  background: rgba(0, 0, 0, 0.1);
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.yt-img {
  display: block;
}

.grid-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 0;
  width: 100%;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.grid-content img {
  width: 100%;
  box-sizing: border-box;
}

.titolo-news {
  position: absolute;
  background: rgba(0, 116, 185, 0.6);
  color: #fff;
  bottom: -32px;
  padding: 10px;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
  width: 100%;
  box-sizing: border-box;
}

.titolo-news h2 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  height: 50px;
  overflow: hidden;
}

/*== INIZIO GRID 4 ==*/
ul.grid-4 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  padding: 0
}

ul.grid-4 li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  width: 25%;
  padding: 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

ul.grid-4 li h5 {
  color: #007ec6;
  font-size: 15px;
  font-family: 'Rubik', sans-serif;
  line-height: 130%;
  margin: 10px !important;
  text-align: center;
}

ul.grid-4 li h5 a {
  color: #1a1a1a;
}

ul.grid-4 li h5 a:hover {
  color: #007ec6;
}

/*== FINE GRID 4 ==*/
.news {
  display: table;
  margin-bottom: 20px;
  width: 100%;
}

.news h1, .page-news h1 {
  text-align: left;
  color: #007ec6;
  font-size: 28px;
}

.news-home {
  display: table;
  margin-bottom: 20px;
  width: 260px;
  float: left;
  margin-right: 20px;
}

.news-side {
  display: table;
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
  line-height: 140%
}

.img-content-news-side {
  width: 90px;
  height: 90px;
  overflow: hidden;
  float: left;
  margin-right: 10px;
  border-radius: 5px
}

.news h4, .news h4 a {
  text-align: left;
  color: #1a1a1a;
}

.news h4 a:hover {
  color: #007ec6;
}

.news p {
  margin-top: 10px;
}

.single-news {
  margin-bottom: 20px;
}

.single-news img {
  width: 100%;
  border-radius: 5px
}

.img-content-news {
  width: 840px;
  height: 500px;
  overflow: hidden;
  border-radius: 5px;
}

.data {
  position: absolute;
  background: #007ec6;
  color: #fff;
  width: 42px;
  height: 42px;
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
  text-align: center;
  line-height: 130%;
  z-index: 999;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.data-side {
  color: #007ec6;
  display: block;
  font-size: 11px;
}

.excerpt {
  display: block;
  font-size: 14px;
}

.contatti {
  margin-top: 125px !important;
  padding: 15px !important;
  background: #f9f9f9;
  border-radius: 5px;
}

.contatti h2 {
  color: #007ec6 !important;
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}

/* NEWSLETTER */
.supernewsletter {
  background: #007ec6 url('images/newsletter-bg.png') no-repeat center;
}

.page-newsletter {
  padding: 90px 0 !important;
}

.text-newsletter {
  float: left;
}

.form-newsletter {
  float: right;
  text-align: center;
}

.newsletter {
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}

.newsletter-info {
  text-align: left;
  color: #002338
}

.newsletter-info {
  font-size: 18px;
}

#dsubscribers-container {
  display: inline-block;
  padding-top: 0 !important;
  position: relative;
}

.dsubscribers_error {
  color: #fff;
}

.dsubscribers_success {
  color: #2ecc71;
}

#dsubscribers_email {
  width: 100%;
  float: left;
  margin-bottom: 10px;
}

input#dsubscribers_email {
  border: none;
  width: 400px;
  height: 54px;
  line-height: 54px;
  padding: 0 10px 0 45px;
  text-align: left;
  font-size: 16px;
  margin-right: 7px;
  border: none;
  border-radius: 3px;
  background: #fff url('images/newsletter.png') no-repeat 10px;
}

.rimuovi {
  margin: 20px 0;
}

.rimuovi input[type="submit"] {
  margin-left: 8px;
}

#form-validation {
  margin-bottom: 10px;
}

#dsubscribers_email-error {
  width: 100%;
  float: left;
  margin-bottom: 10px;
  display: none !important;
}

.error {
  background-color: #f2585e !important;
}

#dsubscribers_msg {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 15px;
  text-align: left !important;
  position: absolute;
  top: -30px;
  width: 100%;
}

.attendi {
  background: #002d4d url('images/loading-nl.gif') no-repeat center;
  height: 54px;
  line-height: 54px;
  width: 150px;
  border: none !important;
  display: none;
}

/* NEWSLETTER */
.sottotitolo {
  font-size: 32px;
  font-family: 'Rubik', sans-serif;
  letter-spacing: 4px;
  line-height: 50px;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  z-index: 999;
}

.bg {
  height: 440px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

/*only for webkit  browsers*/
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .bg {
    background-attachment: scroll;
  }
}

#sidebar {
  width: 25%;
  float: right;
  margin: 20px 0 20px 0;
  font-family: 'Rubik', sans-serif;
  padding: 0;
  position: relative;
  z-index: 2;
}

#sidebar p {
  font-size: 13px;
  margin-bottom: 15px;
}

#sidebar h3 {
  color: #007ec6 !important;
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  line-height: 130%;
  margin-bottom: 20px;
  padding-bottom: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#sidebar>ul {
  list-style-type: none;
}

.footer-content {
  width: 1200px;
  margin: 0 auto;
}

.logo-footer {
  width: 70px;
  margin: 0 auto
}

.logo-footer img {
  width: 100%
}

#footer {
  width: 100%;
  color: #fff;
  font-size: 15px;
  margin: 0 auto;
  padding: 10px 0 0 0;
  background: #0b466e;
  font-family: 'Rubik', sans-serif;
}

#footer h2 {
  font-size: 18px;
  font-family: 'Rubik', sans-serif;
  color: #fff;
  margin-top: 12px;
  font-weight: 400;
}

#footer a {
  color: #fff !important;
}

.loghi-footer {
  text-align: right;
  margin-top: 0
}

.loghi-footer img {
  margin: 0 10px
}

.sub-footer {
  color: #fff;
  background: #002d4d;
  width: 100%;
  height: 80px;
  line-height: 80px;
  text-align: center;
  font-size: 13px;
}

.sub-footer a {
  color: #f5f5f5;
}

.sub-footer a:hover {
  color: #007ec6;
}

span.phone {
  background: url('images/phone.png') no-repeat left center;
  padding-right: 25px;
}

span.mobile {
  background: url('images/mobile.png') no-repeat left center;
  padding-right: 25px;
}

span.mail {
  background: url('images/email.png') no-repeat left center;
  padding-right: 25px;
}

.line {
  width: 50%;
  height: 1px;
  margin: 10px 0;
  background: #555;
}

.line-light {
  width: 100%;
  height: 1px;
  margin: 10px 0;
  background: #ddd;
}

.info {
  width: 33%;
}

.info ul {
  list-style-type: none;
}

.social-btn {
  float: right;
}

.fb, .tw, .gp {
  padding: 0 3px;
  display: block;
  float: left;
}

.facebook-btn:hover, .twitter-btn:hover {
  border-radius: 180px;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.facebook-btn {
  background: url('images/facebook-btn.png') no-repeat center;
  width: 80px;
  height: 24px;
  border-radius: 3px;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.twitter-btn {
  background: url('images/twitter-btn.png') no-repeat center;
  width: 80px;
  height: 24px;
  border-radius: 3px;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.google-btn {
  background: url('images/google-btn.png') no-repeat center;
  width: 70px;
  height: 20px;
}

.social-top {
  float: right;
  margin-top: 30px;
}

.social-top svg {
  display: inline-block;
  float: none;
  fill: #007ec6;
  width: 32px;
  height: 32px;
  padding: 0 6px;
  margin: 0;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.social-top svg:hover {
  fill: #df2423;
}

.social {
  float: left;
  margin-top: 25px;
}

.social svg {
  display: inline-block;
  float: none;
  fill: #fff;
  width: 32px;
  height: 32px;
  padding: 0 10px 0 0;
  margin: 0;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.social svg:hover {
  fill: #df2423;
}

/*== INIZIO CF7 ==*/
.wpcf7-form {
  width: 780px;
  margin: 10px auto;
  float: none;
  text-align: center;
  display: table;
}

.wpcf7-form p {
  text-align: center !important;
}

.label {
  font-size: 12px;
  height: 32px;
  line-height: 32px;
  color: #6d6e72;
  clear: both;
  float: left;
}

.campo {
  width: 46%;
  display: inline-block;
  margin: 10px
}

.campo-area {
  clear: both;
}

.wpcf7-text, .form-control[type="text"], .form-control[type="email"], .form-control[type="password"] {
  border: 1px solid #ccc!important;
  background: #fff!important;
  height: 55px!important;
  width: 100%!important;
  line-height: 55px!important;
  padding: 10px!important;
  color: #1a1a1a!important;
  font-size: 16px!important;
  font-family: 'Rubik', sans-serif!important;
  border-radius: 3px!important;
  box-sizing: border-box!important;
}

select.form-control {
  height: 55px!important;
  line-height: 100%!important
}

.wpcf7-textarea {
  width: 95%;
  border: 1px solid #ccc;
  background: #fff;
  padding: 10px;
  color: #1a1a1a;
  font-size: 14px;
  font-family: 'Rubik', sans-serif;
  margin: 10px;
  resize: none;
  border-radius: 3px;
  box-sizing: border-box;
}

div.wpcf7-response-output {
  margin: 10px 0 !important;
}

div.wpcf7 .ajax-loader {
  background-image: url('images/loading-contact.gif');
}

.privacy {
  width: 760px;
}

.wpcf7-not-valid {
  border: 1px solid #CC0000;
}

span.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7-checkbox.wpcf7-not-valid {
  border: none;
}

.wpcf7-checkbox.wpcf7-not-valid span {
  color: #CC0000;
}

span.wpcf7-list-item {
  margin: 10px 0
}

.Accetto span.wpcf7-not-valid-tip {
  display: inherit !important;
  font-size: 12px;
  margin-left: 5px;
  color: #CC0000;
}

div.wpcf7-validation-errors {
  color: #CC0000;
  padding: 0;
  border: none !important;
}

div.wpcf7-mail-sent-ok {
  color: #398F14;
  padding: 0;
  border: none !important;
}

div.wpcf7 img.ajax-loader {
  margin-top: 0;
}

/*== FINE CF7 ==*/
/* PAGINAZIONE */
.navigation {
  margin: 20px auto;
  text-align: center;
  height: 25px;
  font-size: 13px;
  width: 100%;
  display: inline-block;
}

.navigation .page-numbers {
  background: #eee;
  color: #007ec6;
  padding: 5px 10px;
  margin-right: 6px;
  -moz-transition: all 0.2s linear 0s;
  -webkit-transition: all 0.2s linear 0s;
  -o-transition: all 0.2s linear 0s;
  text-decoration: none;
  font-size: 16px;
}

.navigation .page-numbers:hover, .navigation .current {
  background: #007ec6;
  color: #fff
}

/* PAGINAZIONE */
.ce-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 25px;
  background: #000;
  color: #FFF;
  z-index: 1500;
  text-align: center;
  font-size: 12px;
  line-height: 1.4
}

.ce-banner a {
  color: #fff;
  text-decoration: underline;
  -webkit-transition: all .3s ease 0s;
  -o-transition: all .3s ease 0s;
  transition: all .3s ease 0s
}

.ce-banner a:hover {
  color: yellow;
}

.ce-banner a.ce-accept {
  display: inline-block;
  border: 0;
  margin-left: 5px;
  padding: 8px 12px;
  background: #FFF;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
}

.ce-banner a.ce-accept:hover {
  background: #ddd;
}

button::-moz-focus-inner {
  border: 0;
}

/* CUSTOM CHECKBOX */
[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}

.fb-text-label input[type="checkbox"]:not(:checked), .fb-text-label input[type="checkbox"]:checked {
  position: relative;
  left: 0;
}

[type="checkbox"]:not(:checked)+span, [type="checkbox"]:checked+span {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}

[type="checkbox"]:not(:checked)+span:before, [type="checkbox"]:checked+span:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25em;
  height: 1.25em;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 2px;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
}

[type="checkbox"]:not(:checked)+span:after, [type="checkbox"]:checked+span:after {
  content: '\2714';
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 1.3em;
  line-height: 0.8;
  color: #09ad7e;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
  font-family: 'Rubik', sans-serif;
}

[type="checkbox"]:not(:checked)+span:after {
  opacity: 0;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

[type="checkbox"]:checked+span:after {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

[type="checkbox"]:disabled:not(:checked)+span:before, [type="checkbox"]:disabled:checked+span:before {
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

[type="checkbox"]:disabled:checked+span:after {
  color: #999;
}

[type="checkbox"]:disabled+span {
  color: #aaa;
}

[type="checkbox"]:checked:focus+span:before, [type="checkbox"]:not(:checked):focus+span:before {
  /*border: 2px dotted blue;*/
}

label:hover:before {
  border: 2px solid #4778d9 !important;
}

/* CUSTOM CHECKBOX */


.page-riservata .erf-container {
    width: 400px;
    margin: 20px auto;
}

.area-riservata {
  float: right;
  margin: 28px 20px 0 20px;
}

.area-riservata a {
  display: table;
}

.area-riservata span {
  display: inline-block;
  line-height: 32px;
  font-weight: 500;
}

.area-riservata a:hover {
  color: #df2423
}

.area-riservata svg {
  display: inline-block;
  float: left;
  fill: #0074b9;
  width: 32px;
  height: 32px;
  padding: 0 10px 0 0;
  margin: 0;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.area-riservata a:hover svg {
  fill: #df2423;
}

.field-field-Fd0671J3F4MYyrZ {
  padding-bottom: 0!important
}
