/*
Theme Name: Marina
Description: Child Divi WordPress Theme (Divi version 2.3.1)
Author: Chiara Mannari
Template: Divi
Version: 2.0
License: GNU General Public License
*/

/*@import url("../Divi 2.3.1/style.css");*/

html * { font-family: 'proxima-nova', 'Proxima Nova', sans-serif }

body { font-family: 'proxima-nova', 'Proxima Nova', sans-serif }

#top-header { z-index: 1000 }

#et-secondary-nav { border-right: 1px solid grey }

#et-secondary-menu li { margin-right:5px; }

#et-secondary-nav > li:last-child {margin-right:12px}

#et-secondary-menu li a { text-transform:lowercase; padding-left:3px }

#et-secondary-menu li.lang-item { margin:0;}

#et-secondary-menu li.lang-item-en { margin-right:15px; }


#et-secondary-menu li.lang-item a { text-transform:uppercase; padding:7px; }

#et-secondary-menu li.lang-item-it { padding-right:3px;  }


#et-secondary-menu li.menu-item-type-post_type::before, #et-secondary-menu li.menu-item-153::before { content: "\2022 "; color: rgba( 0, 0, 0, 0.5 ) }

#et_top_search { margin-top:0; margin-left:10px }

#et_search_icon { vertical-align:middle }

#et_search_icon::before { font-size:11px; padding-left:7px; padding-top:2px; font-weight:bold; color: #8c8c8c;   }

.et-search-form { top:103px; }

.et-fixed-header .et-search-form { top:75px }

.et_fixed_nav.et_secondary_nav_enabled #page-container {padding-top:114px !important }

 #et_search_icon::before, .et-fixed-header #et_search_icon::before { margin-top:2px }

.et_fixed_nav #logodiv { position:absolute; top:-38px; z-index:9999 }

.et_fixed_nav #logo { max-height: 85px;  }

.et-fixed-header #logo { max-height: 75px }

.et_fixed_nav #sitetitle { font-size:17px; text-transform:uppercase; color:#002369; font-weight:bold; float:left; padding-top:38px; }
 
 .et-fixed-header #sitetitle { font-size:15px; font-weight:900 }
 
.et-fixed-header { box-shadow: none !important }

#main-header { z-index:1000; box-shadow:none }

#top-menu li { text-transform:uppercase }

#top-menu li a span.marina { color: #82b351 }

#top-menu li a span.borgo { color: #f99d1c }

#top-menu li a span.yachtclub { color: #002862 }

#top-menu li a span.cantiere { color: #0191cb }

#top-menu li a span.booking { color: #ffffff; font-weight:bold; background:#002369; padding:5px 8px; border-radius:3px }

#top-menu li#menu-item-112 ul, #top-menu li#menu-item-129 ul  { border-color: #82b351 }

#top-menu li#menu-item-110 ul, #top-menu li#menu-item-126 ul  { border-color: #f99d1c }

#top-menu li#menu-item-113 ul, #top-menu li#menu-item-141 ul  { border-color: #002862 }

#top-menu li#menu-item-111 ul  { border-color: #0191cb }

#top-menu .menu-item-has-children > a:first-child::after { content:none }

#top-menu li.current-menu-item a span, #top-menu li.current_page_parent a span, #top-menu li.current-page-ancestor a span { padding-bottom:3px; border-bottom: 5px solid #f3f3f3 }

#top-menu li.current-menu-item a span.marina, #top-menu li.current_page_parent a span.marina, #top-menu li.current-page-ancestor a span.marina { border-color: #97c767 }

#top-menu li.current-menu-item a span.borgo, #top-menu li.current_page_parent a span.borgo, #top-menu li.current-page-ancestor a span.borgo { border-color: #f99d1c }

#top-menu li.current-menu-item a span.yachtclub, #top-menu li.current_page_parent a span.yachtclub, #top-menu li.current-page-ancestor a span.yachtclub { border-color: #002862 }

#top-menu li.current-menu-item a span.cantiere, #top-menu li.current_page_parent a span.cantiere, #top-menu li.current-page-ancestor a span.cantiere { border-color: #0191cb }

/*elementi comuni*/

.et_right_sidebar #main-content .container:before { content:none }

#page-container { overflow:hidden; }

.et_pb_fullwidth_header { border-bottom: 5px solid #002862 }

.parent-pageid-47 .et_pb_fullwidth_header, .parent-pageid-49 .et_pb_fullwidth_header { border-color: #97c767 }

.parent-pageid-51 .et_pb_fullwidth_header, .parent-pageid-53 .et_pb_fullwidth_header, .single-project .et_pb_fullwidth_header  { border-color: #f99d1c }

.parent-pageid-55 .et_pb_fullwidth_header, .parent-pageid-57 .et_pb_fullwidth_header, .type-event .et_pb_fullwidth_header, .single.single-post .et_pb_fullwidth_header, .parent-pageid-731 .et_pb_fullwidth_header, .type-event .et_pb_fullwidth_header, .single.single-post .et_pb_fullwidth_header { border-color: #002862 }

.parent-pageid-59 .et_pb_fullwidth_header { border-color: #0191cb }

.et_pb_section.et_section_regular, .et_pb_section.et_section_specialty {
padding-top:0;
padding-bottom:0
}

.et_pb_section.et_section_regular:last-child, .et_pb_section.et_section_specialty:last-child { padding-bottom:50px }

.entry-content  , .entry-content ul  {
     font-size:120%;
     line-height:1.6em;
}


.mcdm-blog  article p {
	display:none ;
}
.et_pb_widget_area ul {
     font-size:100%;
}

.entry-content .et_pb_blurb_content p, .entry-content .et_pb_all_tabs p {
    font-size:100%;
}
.entry-content h2, .entry-content h4 {
    line-height:1.3em
}

.et_pb_widget h4, .widget h3.widget-title {
text-transform:uppercase;
font-weight:normal;
border-bottom:1px solid #D9D9D9;
margin-bottom:15px;
font-size:18px
}

.widget_subpages .widget_subpages_current_page a {
font-weight:bold;
}

.entry-content tr td {
padding:6px 10px
}

.pagination .page-numbers {
padding:6px
}

.shadow-bottom {
-webkit-box-shadow: 0 10px 10px -10px #000000;
-moz-box-shadow: 0 10px 10px -10px #000000;
box-shadow: 0 10px 10px -10px #000000;
margin-bottom:10px
}


input, input[type=text], textarea { 
padding:16px !important;
font-size:14px;
background:#eee;
border:0;
width:70%
}

.large-form input, .large-form input[type=text], .large-form textarea { 
	width:100%!important
}




input[type=checkbox], input[type=radio] { width:auto }

input[type=submit] {
color:#2c5869;
border:2px solid #2c5869;
border-radius:3px;
font-size:20px;
margin-bottom:0;
background: transparent;
cursor:pointer;
width:auto;
padding:6px 20px !important
}

input[type=submit]:hover {
background:#eee;
border-color:transparent
}

.no-cover.et_pb_slider::before, .no-cover.et_pb_fullwidth_header::before { content:none }

/*homepage*/

.et-pb-controllers {
z-index:100
}

.et-pb-controllers a {
width:30px;
height:30px;
border-radius:50%;
border:2px solid #ffffff;
background:transparent;
position:relative;
}

.et-pb-controllers a.et-pb-active-control {
background:transparent !important
}

.et-pb-controllers a.et-pb-active-control::before {
content:" ";
width:16px;
height:16px;
border-radius:50%;
border:2px solid #ffffff;
background:transparent;
position:absolute;
left:50%;
top:50%;
margin-left:-10px;
margin-top:-10px;
z-index:10000;
}

{}


/* slider */

.et_pb_bg_layout_dark .et_pb_slide_description {
          text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}
.et_pb_slide_description h2{
        font-size:48px;
        font-weight:500;
        letter-spacing:-1px
}

a.et_pb_more_button {
position:absolute;
z-index:100
}


.testo-intro-marina h2 {
position:relative;
padding-right:30px;
padding-top:20px
}

.testo-intro-marina h2 a {
color:#666
}

.testo-intro-marina h2 a:before {
        position:absolute;
        font-family: FontAwesome;
        top:50%;
	margin-top:-15px;
        right:0;
        content: "\f054"; 
background: #97c767 !important;
color: #ffffff !important;
font-weight:900 !important;
/*background:transparent !important;
color:#97c767 !important;*/
display:block;
/*padding-top:15px;*/
border:0;
border-radius:50%;
width:30px;
height:30px;
line-height:30px;
text-align:center;
font-size:16px
    }

.testo-intro-marina .fa {
float:right;
box-shadow:none;
background: #97c767 !important;
color: #ffffff !important;
font-weight:900 !important;
/*background:transparent !important;
color:#97c767 !important;*/
display:block;
/*padding-top:15px;*/
border:0;
border-radius:50%;
width:30px;
height:30px;
line-height:30px;
text-align:center
}



.banner-app {
background: #f7f7f7 url('http://www.marinacalademedici.it/wp-content/uploads/2015/04/app-marina-cala-de-medici.png') no-repeat top right;
padding:15px;
box-sizing:border-box
}

.banner-app h4 {
padding-left:60px;
font-size:24px;
color:#0a4541;
font-weight:200
}

.banner-app p {
padding:0 0 0 70px
}

.banner-app h4::before {
        content: " ";
        display: block;
        background: url('http://www.marinacalademedici.it/wp-content/uploads/2015/04/vele-sx.png') no-repeat;
        background-size:100%;
        background-position: left; 
        height: 115px;
        width: 100px;
        position: absolute;
        bottom: 30px;
	left:0;
        z-index:99;
    }​
  {} 

#video-home h1 { padding:200px 0; text-shadow:0 1px 0 #000 }


.marina-servizi-home h3 {
border-top:1px solid #97c767;
border-bottom:1px solid #97c767;
color:#97c767;
text-align:center;
text-transform:uppercase;
font-size:22px;
padding:20px 0
}

.borgo-evento-home {
margin-bottom:0;
}

.borgo-evento-home h3 {
border-top:1px solid #f99d1c;
border-bottom:1px solid #f99d1c;
color:#f99d1c;
text-align:center;
text-transform:uppercase;
font-size:22px;
padding:20px 0;
}

.yachtclub-evento-home h3 {
position:relative
}

.yachtclub-evento-home h3::before {
        content: " ";
        display: block;
        background: url('http://www.marinacalademedici.it/wp-content/uploads/2015/04/yachtclub-cover.png') no-repeat;
        background-size:100% 100%;
        width: 199px;
        height: 111px;
        position: absolute;
        top:0;
	left:0;
    }​
  {} 

.yachtclub-evento-home h3 {
border-top:1px solid #073068;
border-bottom:1px solid #073068;
color:#073068;
text-align:right;
text-transform:uppercase;
font-size:22px;
padding:20px 0
}

.yachtclub-evento-home p {
font-size:16px;
margin:30px 0 20px 0;
z-index:99;
position:relative
}


/* sistemare vele hover 
.borgo-evento-home {
display:block;
position:relative;
}


.borgo-evento-home::before {
        content: " ";
        display: block;
        background: url('http://www.marinacalademedici.it/wp-content/uploads/2015/04/cover-borgo-home.png') no-repeat;
        background-size:100%;
        background-position: left; 
        height: 100%;
        width: 100%;
        position: absolute;
        bottom: 0;
	left:0;
        z-index:99;
    }​
  {} 
*/

.eventi-borgo-home {
background:#f99d1c;
}

.eventi-borgo-home h5 { background:#f5730a }

.eventi-yachtclub-home {
background:#44a6c4;
}

.eventi-yachtclub-home h5 {
background:#217da4;
}

.webcam { 
position:relative;
margin-bottom:0
}

.webcam h3 { 
border-top: 1px solid #2C5869;
border-bottom: 1px solid #2C5869;
color: #2C5869;
padding:20px 0
 }

.webcam p { padding-bottom:0 }

.webcam h5 { margin-top:20px }

.webcam .fancybox-iframe { 
    top: -459px;
    position: relative;
    display:block;
    background: #FFF none repeat scroll 0% 0%;
    height: 36px;
    padding-top:11px
 }

.lavori-diga { margin-bottom:10px }

.lavori-diga h3 {
border-top:1px solid #97c767;
border-bottom:1px solid #97c767;
color:#97c767;
text-transform:uppercase;
font-size:22px;
padding:20px 0
}

.lavori-diga h5 { margin-top:20px }

.form-prenotazione { padding-bottom: 0 }

/*
.form-prenotazione h3 {
color:#97C767;
border-bottom:1px solid #dedede;
margin-bottom:25px;
text-transform:uppercase;
font-size:20px
}
*/

.form-prenotazione h2 {
text-transform:uppercase;
font-size:24px;
margin-bottom:10px
}

.form-prenotazione .et_pb_promo_description { padding-bottom:0 }

/*
.form-prenotazione label {
display:block;
margin-top:10px;
font-weight:bold;
text-transform:uppercase
}
*/

.form-prenotazione input {
display:block;
margin-bottom:15px;
padding:14px 4% !important;
width:92%;
font-size:16px;
font-weight:400;
border-radius:3px !important
}

/*

#form-prenotazione { text-align:center }

.form-prenotazione input.date {
width: 6.2rem;
text-align:center
}
*/

.form-prenotazione input.submit {
width:100%;
color:#ffffff;
padding:11px;
border-radius:4px;
font-size:15px;
border:0;
margin-bottom:0;
cursor:pointer;
background: #e9ae45; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U5YWU0NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkNzdlMWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #e9ae45 0%, #d77e1a 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e9ae45), color-stop(100%,#d77e1a)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #e9ae45 0%,#d77e1a 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #e9ae45 0%,#d77e1a 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #e9ae45 0%,#d77e1a 100%); /* IE10+ */
background: linear-gradient(to bottom,  #e9ae45 0%,#d77e1a 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9ae45', endColorstr='#d77e1a',GradientType=0 ); /* IE6-8 */
}

.facebook-title-home {
padding-top:20px;
margin-bottom:15px;
border-top:1px solid #dedede
}


.facebook-title-home.yc, .facebook-title-home.borgo  { border-top:none; }
 
.fa-facebook-square, .fa-twitter-square, .fa-instagram { padding-right:10px; } 

.fa-facebook-square { color:#4d5ea1; } 

.fa-twitter-square { color:#55acee; } 

.fa-instagram { color:#517FA4; } 

.cff-wrapper {
padding:20px;
border:1px solid #dedede
}

.social-box { margin-bottom:0 }

.et_pb_column_1_3 .et_pb_promo.social-call { padding-top:0; padding-bottom:0 }

.et_pb_column_1_3 .et_pb_promo.social-call.instagram { 
padding-bottom:30px;
border-bottom:1px solid #dedede }

/*
.twitter-box .et_pb_promo_description { padding:0 }

.twitter-box .et_pb_promo_button:before {
 font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size:26px;
  display: inline-block;
  text-decoration: inherit;
  content: "\f099";
  padding-right:8px
}
*/

/* marina */

.news-marina-title h3 {
border-bottom:1px solid #97c767;
color:#97c767;
text-align:left;
text-transform:uppercase;
font-size:22px;
padding:0 0 20px 0
}

.news-marina {
border-bottom:1px solid #97c767;
overflow: auto;
height: auto !important;
}


.news-marina .post {
width:48%;
float:left;
color:#ffffff;
max-height: 250px;
overflow:hidden;
margin-bottom:30px
}

.news-marina .post:first-child {
padding-right:2%;
}

.news-marina .post:last-child {
padding-left:2%;
}

.news-marina .post .entry-header {
background:#73b332;
color:#ffffff;
line-height:26px;
}

.news-marina .post .entry-header span {
background:#97c767;
float:left;
padding:10px;
line-height:26px;
font-size:16px;
margin-right:10px;
text-transform:uppercase
}

.news-marina .post .entry-header h3 {
padding:10px;
line-height:26px;
font-size:16px;
color:#ffffff;
}

.news-marina .post a img {
-webkit-box-shadow: 0 10px 10px -10px #000000;
   -moz-box-shadow: 0 10px 10px -10px #000000;
        box-shadow: 0 10px 10px -10px #000000;
}

.servizi-marina-title h3 {
border-bottom:1px solid #f3f3f3;
text-transform:uppercase;
color:#666666
}

.servizi_accessori .et_pb_blurb_content {
text-align:center;
padding:0;
border:1px solid #f3f3f3;
margin-top:0
}

.servizi_accessori .et_pb_blurb_content .et_pb_main_blurb_image {
margin-bottom:0
}

.servizi_accessori .et_pb_blurb_content h4 {
padding:10px 7px 7px 7px;
text-transform:uppercase;
font-size:16px;
font-weight:bold;
color:#666666;
background:#f6f6f7;
border-top:1px solid #f3f3f3;
}

.porto-ormeggio h3 {
position:relative
}

.porto-ormeggio h3 {
border-top:1px solid #073068;
border-bottom:1px solid #073068;
color:#073068;
text-align:right;
text-transform:uppercase;
font-size:22px;
padding:20px 0
}

.porto-ormeggio h3::before {
        content: " ";
        display: block;
        background: url('http://www.marinacalademedici.it/wp-content/uploads/2015/05/guidone-mcdm.jpg') no-repeat;
        background-size:100% 100%;
        width: 208px;
        height: 111px;
        position: absolute;
        top:0;
	left:0;
    }​
  {} 


/* servizi marina - scheda */

.et_pb_tabs {
overflow: auto;
height: auto !important;
}

.et_pb_tabs_controls {
float:left;
width:50%
}

.et_pb_tabs_controls li {
float:none;
border-bottom:1px solid #D9D9D9
}

.et_pb_tabs_controls li:last-child {
border-right:1px solid #D9D9D9;
border-bottom:none;
}

.et_pb_all_tabs {
float:right;
width:50%;
box-sizing:border-box;

}

/* marina - servizi accessori pag */
.servizi_accessori_page .et_pb_blurb_content {
max-width:100%;
}

.servizi_accessori_page .et_pb_blurb_position_left .et_pb_blurb_content {
padding-left:300px;
}

.servizi_accessori_page .et_pb_blurb_position_left .et_pb_main_blurb_image {
width:280px;
}

.servizi_accessori_page .et_pb_blurb_content h4 {
color:#6f9f40;
border-bottom:1px solid #D9D9D9;
margin-bottom:10px
}

/* sistemare font awesome icon
.servizi_accessori_page .et_pb_blurb_content span.time::before { content:'f017'; font-size:11px; padding-right:7px; padding-top:2px; font-weight:bold; color: #fa9b40; font-family:"FontAwesome";  }
*/

/* tariffe */
.tariffe-posti-auto .et_pb_pricing_content { display:none }

.tariffe-posti-auto .et_pb_pricing_table { padding-bottom:0 }

.tariffe-posti-auto .et_pb_pricing_content_top { border-bottom:0 }

.toggle-prezzi-alta-stagione .et_pb_toggle_content, .toggle-prezzi-media-stagione .et_pb_toggle_content, .toggle-prezzi-bassa-stagione .et_pb_toggle_content { padding-top:0; margin-top:20px }

.toggle-prezzi-alta-stagione, .toggle-prezzi-media-stagione, .toggle-prezzi-bassa-stagione, .toggle-prezzi-alta-stagione.et_pb_toggle_open h5.et_pb_toggle_title, .toggle-prezzi-media-stagione.et_pb_toggle_open h5.et_pb_toggle_title, .toggle-prezzi-bassa-stagione.et_pb_toggle_open h5.et_pb_toggle_title, .toggle-prezzi-alta-stagione.et_pb_toggle_close h5.et_pb_toggle_title, .toggle-prezzi-media-stagione.et_pb_toggle_close h5.et_pb_toggle_title, .toggle-prezzi-bassa-stagione.et_pb_toggle_close h5.et_pb_toggle_title { color:#fff }

.toggle-prezzi-media-stagione .et_pb_toggle_content, .toggle-prezzi-bassa-stagione .et_pb_toggle_content { background: #e669ad }


.toggle-prezzi-alta-stagione { background:#e0479a }

.toggle-prezzi-alta-stagione .et_pb_toggle_content  { background:#e669ad;  }

.toggle-prezzi-media-stagione { background:#f88f3c }

.toggle-prezzi-media-stagione .et_pb_toggle_content  { background:#f9a460;  }

.toggle-prezzi-bassa-stagione { background:#98c767 }

.toggle-prezzi-bassa-stagione .et_pb_toggle_content  { background:#add285;  }

/* visita il porto */

.visita-il-porto .et_pb_slider::before { content:none }

.visita-il-porto .et_pb_slider .et_pb_slide { background-size:100% 100% }


/* marina newsletter */

.display_archive .campaign {
margin-bottom:20px
}

.display_archive .campaign a {
font-size:130%;
display:block;
font-family: 'proxima-nova', 'Proxima Nova', sans-serif;
color:#002862
}


/* marina il territorio */

.facebook-box .et_pb_promo_button:before {
 font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size:26px;
  text-decoration: inherit;
  content: "\f09a";
  padding-right:5px
}

/* yacht club news */

.news-yacht-club-cat .type-post h2 a { color:#002862 } 

/* borgo */

.eventi-borgo-title h3 {
border-bottom:1px solid #fa9b40;
color:#fa9b40;
text-align:left;
text-transform:uppercase;
font-size:22px;
padding:0 0 20px 0
}

.eventi-borgo ul.events-list {
padding:0;
}

.eventi-borgo ul.events-list li {
width:48%;
float:left;
background:#fbb775;
position:relative;
padding-top:46px
}

ul.events-list li span.no-events  {
padding-left:10px
}

.eventi-borgo ul.events-list li:first-child {
margin-right:2%
}

.eventi-borgo ul.events-list li:last-child {
margin-left:2%
}

.eventi-borgo ul.events-list li img {
display:block
}

.eventi-borgo .events-list .date {
background:#F99D1C;
padding:2%;
position:absolute;
top:0;
width:96%;
z-index:2;
font-size:90%
}

.eventi-borgo .events-list .event-link {
background:#fbb775;
display:block;
padding:2% 0;
position:absolute;
top:35px;
z-index:2;
width:100%
}

.eventi-borgo-title.mappa { margin-top:30px }

.eventi-borgo-title.mappa h3 { margin-bottom:10px }


/* borgo - negozi pag */

.page-id-90 h1, .page-id-90 .et_pb_fullwidth_header_subhead, .single-project h1, .single-project .et_pb_fullwidth_header_subhead {
color: #dc7d22
} 

/* yachtclub */

.yc-intro img {
margin-bottom:50px
}

.eventi-yachtclub-title h3, .meteo h3 {
border-bottom:1px solid #002a5e;
color:#002a5e;
text-align:left;
text-transform:uppercase;
font-size:22px;
padding:0 0 20px 0
}

.eventi-yachtclub ul.events-list {
padding:0;
}

.eventi-yachtclub ul.events-list li {
width:48%;
float:left;
background:#44a6c4;
margin-bottom:20px;
position:relative;
padding-top:46px
}

.eventi-yachtclub ul.events-list li:first-child, .eventi-yachtclub ul.events-list li:nth-child(3) {
margin-right:2%
}

.eventi-yachtclub ul.events-list li:last-child, .eventi-yachtclub ul.events-list li:nth-child(2) {
margin-left:2%
}

.eventi-yachtclub ul.events-list li img {
display:block
}

.eventi-yachtclub .events-list .date {
background:#217da4;
padding:2%;
position:absolute;
top:0;
width:96%;
z-index:2;
font-size:90%
}

.eventi-yachtclub .events-list .event-link {
background: #44a6c4;
display:block;
padding:2% 0;
position:absolute;
top:35px;
z-index:2;
width:100%
}

.merchandising .et_pb_lightbox_image img {
border: 1px solid #f3f3f3;
padding: 10px;
margin-bottom:0
}

.merchandising .et_pb_column_1_4 .et_pb_text {
padding: 10px;
text-tranform:uppercase;
color:#666;
background: #F6F6F7
}

/* news singole */

.post-cat { padding-bottom:0.5em }

.post-cat .notizie-marina { border-bottom: 3px solid #E49321 }

.post-cat .notizie-yacht-club { border-bottom: 3px solid #002862 }


/*footer*/

#footer-widgets {
margin-top:20px;
}

#footer-widgets .footer-widget .textwidget {
line-height: 1.3em;
font-size:0.9em
}

.footer-widget {
width:auto;
color:#2c5869;
font-size:1.1em
}

.footer-widget {
border-bottom: 1px solid #bcd0d1;
margin-bottom:20px
}

.footer-widget h4 {
font-size:16px
}

.footer-widget:first-child, .footer-widget:last-child {
border-bottom: 0;
margin-bottom:50px
}

#footer-widgets .footer-widget strong a, #footer-widgets .footer-widget a {
color:#3b6074 
}

#footer-widgets .footer-widget .fa-facebook, #footer-widgets .footer-widget .fa-twitter  {
padding-right:7px;
padding-bottom:7px;
color:#3b6074;
font-size:26px
}  

#text-3 {
border-right: 1px solid #bcd0d1;
padding-right:30px
}

#text-3 img {
padding-bottom:20px
}

.footer-widget .widget_nav_menu {
border-right: 1px solid #bcd0d1;
padding-left:20px;
padding-right:20px;
margin-bottom:30px !important;
font-size:0.9em
}

#footer-widgets .footer-widget .widget_nav_menu ul li:first-child {
font-size:16px;
text-transform:uppercase;
border-bottom: 1px solid #D9D9D9;
margin-bottom:15px;
padding-bottom:10px
}

.footer-widget .widget_nav_menu#nav_menu-8, .footer-widget .widget_nav_menu#nav_menu-17 { border-left: 1px solid #bcd0d1; }

.footer-widget .widget_nav_menu#nav_menu-17, .footer-widget .widget_nav_menu#nav_menu-16, .footer-widget .widget_nav_menu#nav_menu-8, .footer-widget .widget_nav_menu#nav_menu-5  { border-right: 0; }


#footer-widgets .footer-widget li::before {
content:none;
}

#footer-widgets .footer-widget li {
padding:0
}

#footer-widgets .footer-widget li a {
color:#2c5869;
}

#text-4, #text-5 {
padding:20px
}

#text-4 a, #text-5 a {
color:#2c5869;

}

#footer-bottom {
background-color: #d7eef7
}

/* eventi */

.eventi-home h5 {
float:left;
padding:10px;
color:#ffffff;
font-size:16px;
line-height:26px
}

.entry-content .events-list {
color:#ffffff;
padding:10px
}

.events-list li {
list-style-type:none;
font-size:16px
}

.events-list .event-link {
display:inline;
}

.events-list .date {
text-transform:uppercase;
font-weight:bold;
padding-left:10px;
font-size:85%
}

.events-list .event-link a {
color:#ffffff;
padding-left:6px;
font-weight:normal;
}

/* event category */

.tax-event-category .type-event {
margin-bottom:60px;
clear:both;
overflow: auto;
height: auto !important;
}

.tax-event-category .type-event .cat_description { 
margin-bottom:50px;
}


.tax-event-category .type-event img { 
width:280px;
float:left;
}

.tax-event-category .type-event > .entry-header, .tax-event-category .type-event > .description { padding-left:300px }

.tax-event-category .event.type-event > .entry-header { clear:none }

.tax-event-category .type-event .entry-meta { margin:0 0 10px 0 }

.tax-event-category .type-event .entry-meta .entry-date  {
display:inline-block;
background:#44A6C4;
padding:10px;
}

.event-category-evento-borgo.type-event .entry-meta .entry-date  {
	background-color:#E49320;
} 

.tax-event-category .type-event .entry-meta .entry-date a {
color:#ffffff; 
}

.tax-event-category .type-event > .description p { font-size:100% }

.tax-event-category .type-event > .entry-header .entry-title {
padding:10px 0;
font-size:18px;
font-weight:600;
}

/* single event */

.single-event .type-event .entry-meta { padding:20px 0 }

.single-event .type-event .entry-meta span { 
display:inline-block;
margin-bottom:5px
}


.single-event .type-event .entry-meta .event-category {
padding:10px;
background:#217DA4;
text-transform:uppercase;
}

.single-event .type-event .entry-meta .event-category a { color:#fff; }

.single-event .type-event .entry-meta .entry-date { 
border-left: 1px solid #ffffff;
padding:10px;
background:#44A6C4
}

.single-event .type-event .entry-meta .entry-date a {
color:#ffffff
} 

.single-event h1.entry-title {
margin-top:10px
}

.single-event .description {
margin:10px 0 15px 0
}



/*sidebar eventi*/

.et_pb_column_1_4 .et_pb_widget_area_right .widget {
margin: 0px 0px 40px 30px    }

.et_pb_column_1_4 .et_pb_widget_area_right .widget li a {
color:#666
}

.entry-content tr td.fc-event-container {
padding:6px;
}

#events-full-calendar .fc-event {
background: #002862
}

#events-full-calendar .fc-event.fc-event-cat-evento-borgo {
background: #E49320;	
}

.fc-day-grid-container .fc-day-grid-event > .fc-content {
white-space: normal
}

/*widget meteo*/

#awesome-weather-rosignano-marittimo, #awesome-weather-rosignano-marittimo pre {
     white-space: nowrap;
     }

#awesome-weather-rosignano-marittimo .awesome-weather-header {
font-size:130%;
padding:18px;
}




/* ANNUNCI */
.annunci_lista .et_portfolio_image img {
	max-height:132px!important;
	
}

.annunci_lista .et_pb_portfolio_item {
	border:1px solid #e3e3e3;
}

.annunci_lista .et_pb_portfolio_item h2, .annunci_lista .et_pb_portfolio_item .post-meta {
	padding:5px;
}

/*
.entry-content  .et_pb_fullwidth_section.shadow:before {
  z-index: 1;
  position: absolute;
  content: "";
  bottom: 12px;
  right: 0;
  width: 80%;
  top: 80%;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(0.3deg);
  -moz-transform: rotate(0.3deg);
  -o-transform: rotate(0.3deg);
  -ms-transform: rotate(0.3deg);
  transform: rotate(0.3deg);
}
*/

.et_pb_slider {
z-index:1
}

.et_pb_slider::before {
        content: " ";
        display: block;
        background-image: url('img/slider-cover-blu50.png');
		background-repeat: no-repeat;
        background-size:100% 100%;
        background-position: center; 
        height: 100%;
        width: 100%;
        position: absolute;
        bottom: 0;
        z-index:99;
    }​


.et_pb_fullwidth_header::before {
        content: " ";
        display: block;
        background-image: url('http://www.marinacalademedici.it/wp-content/uploads/2015/04/vele-banner-pag.png');
		background-repeat: no-repeat;
        background-size:auto 100%;
        background-position: left; 
        height: 100%;
        width: 100%;
        position: absolute;
        bottom: -1px;
		left:0;
        z-index:99;
    }​ 
 

@media (max-width: 1400px) { 

.et_pb_fullwidth_header .et_pb_row { padding-left:140px }
#video-home h1 { padding:150px 0 }

}

@media (max-width: 1100px) { 

.footer-widget { float:none; clear:both; border-bottom:0 }
.footer-widget .widget_nav_menu, #text-3, .footer-widget .widget_nav_menu#nav_menu-8, .footer-widget .widget_nav_menu#nav_menu-17, #text-4, #text-5 {  float:none; border-right:0; border-left:0; padding-left:0 }

}

@media (max-width: 1024px) { 
.et_pb_section_video { display:none }
}

@media (max-width: 980px) { 

.et_secondary_nav_only_menu #top-header, #et-secondary-menu, #et-secondary-nav { display:inline }
.et_fixed_nav_temp #main-header, .et_secondary_nav_only_menu #main-header { top:0 !important }
body.admin-bar.et_fixed_nav #top-header, body.admin-bar.et_fixed_nav #main-header { top:0 !important}
#main-header > .container { margin-top:25px }
#et_top_search { float:right; margin-right:10px }

}

@media (max-width: 768px) { 
body.admin-bar.et_fixed_nav #top-header, body.admin-bar.et_fixed_nav #main-header { top:0 !important}
#main-header > .container { margin-top:45px }
.banner-app h4::before { content: none }
.banner-app p {
padding:0 15px;
text-align:center}
.banner-app {padding-bottom:300px; background-position:bottom right}

}

@media (max-width: 600px) { 
	
.et_fixed_nav #logo {max-height: 60px; padding-top: 30px;}
.et_fixed_nav #sitetitle {font-size:15px;}

#et-secondary-menu li.lang-item {
    margin: 0;
	text-align:left;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 35px;
}
#et-secondary-menu li.lang-item-it {padding-left:0!important;}

.et_pb_fullwidth_header .et_pb_row { padding-left:inherit }
.et_pb_fullwidth_header:before { content:none }

#et-secondary-menu li, #et-secondary-menu li.lang-item-en, #et-secondary-nav > li:last-child { margin-right:0 }

#et-secondary-nav { border-right:0 }

#et_top_search { margin-top:10px }

.et_pb_text { margin-bottom: 10px }

.testo-intro-marina h2 { font-size:18px }

.banner-app h4, .banner-app p { padding-left:0 }

.banner-app img.alignright { display:block; float:none; margin: 5px auto }

.eventi-home h5 { float:none }

.events-list .date { padding-left:0 }

.yachtclub-evento-home h3 a { display:none }

.porto-ormeggio h3 { text-align:center  }

.porto-ormeggio h3::before { content: none }

.yc-intro img.alignleft { display:block; float:none }

}

/* PAGINA SERVIZI */ 

.lista-servizi ul:after {
	visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
}
.lista-servizi li {
	display: block;
    float: left;
    height: 90px;
    width: 30%;
    padding: 5px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2em;
    margin: 8px 1%;
    list-style: none;
    background: #6f9f40;
}

.lista-servizi li a {
	color:#fff!important;
	display:inline-block;
	padding:10px;
	font-size:1.1em;
}


.lista-servizi.blue ul  {
	padding:0;
	margin:0;
}
.lista-servizi.blue li {
	background:#3f8dce;
	width:90%;
	margin:8px 0;
}
.lista-servizi.large li {
	width:45%;
}
.autoclear {clear:both;}
