/*
SMALL (BASE) SIZE
These are the small/base styles. It's what people see on their phones. If
you set a great foundation, you won't need to add too many styles in
the other stylesheets. Remember, keep it light: Speed is Important.
*/

/******************************************************************

Stylesheet: Base/Small Stylesheet

Be light and don't over style since everything here will be
loaded by mobile devices. You want to keep it as minimal as
possible. This is called at the top of the main stylsheet
and will be used across all viewports.

******************************************************************/

/*********************
GENERAL STYLES
*********************/

/********************
WORDPRESS BODY CLASSES
style a page via class
********************/

/* for sites that are read right to left (i.e. hebrew) */

/* home page */

/* blog template page */

/* archive page */

/* date archive page */

/* replace the number to the corresponding page number */

/* search page */

/* search result page */

/* no results search page */

/* individual paged search (i.e. body.search-paged-3) */

/* 404 page */

/* single post page */

/* individual post page by id (i.e. body.postid-73) */

/* individual paged single (i.e. body.single-paged-3) */

/* attatchment page */

/* individual attatchment page (i.e. body.attachmentid-763) */

/* style mime type pages */

/* author page */

/* user nicename (i.e. body.author-samueladams) */

/* paged author archives (i.e. body.author-paged-4) for page 4 */

/* category page */

/* individual category page (i.e. body.category-6) */

/* tag page */

/* individual tag page (i.e. body.tag-news) */

/* custom page template page */

/* individual page template (i.e. body.page-template-contact-php */

/* parent page template */

/* child page template */

/* if user is logged in */

/* paged items like search results or archives */

/* individual paged (i.e. body.paged-3) */

/*********************
LAYOUT & GRID STYLES
*********************/

/*********************
LINK STYLES
*********************/

a,
a:visited {
/* on click */

}

a:link,
a:visited:link {
    -webkit-tap-highlight-color: rgba(0,0,0,0.3);
}

/******************************************************************
H1, H2, H3, H4, H5 P STYLES
******************************************************************/

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
}

h1 a,
.h1 a,
h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a {
    text-decoration: none;
}

/*********************
HEADER STYLES
*********************/

.header {
    margin-bottom: 20px;
}

.header #inner-header li {
    list-style: none;
}

/*********************
NAVIGATION STYLES
*********************/

.top-bar .title-area {
    z-index: 1;
}

.off-canvas-list ul {
    margin-left: 0;
}

.off-canvas-list ul li a {
    border-bottom: 0;
}

.off-canvas-list ul .dropdown {
    margin-left: 20px;
}

/*********************
POSTS & CONTENT STYLES
*********************/

#content {
}

#content a:hover,
#content a:focus {
    color: #fff;
    background: #008cba;
}

/* end .hentry */

/* want to style individual post classes? Booya! */

/* post by id (i.e. post-3) */

/* general post style */

/* general article on a page style */

/* general style on an attatchment */

/* sticky post style */

/* hentry class */

/* style by category (i.e. category-videos) */

/* style by tag (i.e. tag-news) */

/* post meta */

.byline {
    color: #999;
}

/* entry content */

.entry-content {
}

.entry-content dd {
    margin-bottom: 1.5em;
    margin-left: 0;
    font-size: 0.9em;
    color: #787878;
}

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

.entry-content video,
.entry-content object {
    height: auto;
    max-width: 100%;
}

.entry-content pre {
  /*  padding: 10px;
    border: 1px solid #cecece;
    background: #eee; */
}

/* end .entry-content */

.wp-caption {
    padding: 5px;
    max-width: 100%;
    background: #eee;
}

.wp-caption img {
    width: 100%;
    margin-bottom: 0;
    max-width: 100%;
}

.wp-caption p.wp-caption-text {
    margin: 4px 0 7px;
    text-align: center;
    font-size: 0.85em;
}

/* end .wp-caption */

/* image gallery styles */

/* end .gallery */

/* gallery caption styles */

/******************************************************************
PAGE NAVI STYLES
******************************************************************/

.pagination a:hover {
    color: black;
}

/******************************************************************
COMMENT STYLES
******************************************************************/

/* h3 comment title */

#comments {
}

#respond ul {
    margin-left: 0;
}

.commentlist {
/* vcard */

/* end .commentlist .vcard */

/* comment meta */

/* comment content */

/* end .commentlist .comment_content */

/* comment reply link */

}

.commentlist li {
    clear: both;
    position: relative;
    margin-bottom: 1.5em;
    padding: 0.7335em 10px;
    overflow: hidden;
    list-style-type: none;
}

.commentlist li:last-child {
    margin-bottom: 0;
}

.commentlist li ul.children {
    margin: 0;
}

.commentlist li[class*=depth-] {
    margin-top: 1.1em;
}

.commentlist li.depth-1 {
    margin-top: 0;
    margin-left: 0;
}

.commentlist li:not(.depth-1) {
    margin-top: 0;
    margin-left: 10px;
    padding-bottom: 0;
    background: #e7e7e7;
}

.commentlist li.depth-3 {
    background: #dadada;
}

.commentlist .vcard {
    margin-left: 50px;
}

.commentlist .vcard cite.fn {
    font-style: normal;
    font-weight: 700;
}

.commentlist .vcard time {
    float: right;
}

.commentlist .vcard time a {
    text-decoration: none;
    color: #999;
}

.commentlist .vcard time a:hover {
    text-decoration: underline;
}

.commentlist .vcard img.avatar {
    position: absolute;
    left: 10px;
    padding: 2px;
    border: 1px solid #cecece;
    background: #fff;
}

.commentlist .comment_content p {
    margin: 0.7335em 0 1.5em;
    font-size: 1em;
    line-height: 1.5em;
}

.commentlist .comment-reply-link {
    display: inline-block;
    float: right;
    position: relative;
    margin: 0 0 1.25rem;
    padding: 0.875rem 1.75rem 0.9375rem 1.75rem;
    border: 0 solid #007095;
    text-align: center;
    text-decoration: none;
    font-family: "Open Sans",Arial,sans-serif;
    font-size: 0.8125rem;
    font-weight: normal;
    line-height: normal;
    color: white;
    background-color: #008cba;
    cursor: pointer;
}

.commentlist .comment-reply-link:hover,
.commentlist .comment-reply-link:focus {
    background-color: #007095;
}

.commentlist .comment-reply-link:hover,
.commentlist .comment-reply-link:focus {
    color: white;
}

/* end .commentlist */

/******************************************************************
COMMENT FORM STYLES
******************************************************************/

.respond-form {
    margin: 1.5em 10px;
    padding-bottom: 2.2em;
}

.respond-form form {
    margin: 0.75em 0;
}

.respond-form form li {
    clear: both;
    margin-bottom: 0.7335em;
    list-style-type: none;
}

.respond-form form li label,
.respond-form form li small {
    display: none;
}

.respond-form form input[type=text],
.respond-form form input[type=email],
.respond-form form input[type=url],
.respond-form form textarea {
    padding: 3px 6px;
    border: 2px solid #cecece;
    line-height: 1.5em;
    background: #efefef;
}

.respond-form form input[type=text]:focus,
.respond-form form input[type=email]:focus,
.respond-form form input[type=url]:focus,
.respond-form form textarea:focus {
    background: #fff;
}

.respond-form form input[type=text]:invalid,
.respond-form form input[type=email]:invalid,
.respond-form form input[type=url]:invalid,
.respond-form form textarea:invalid {
    border-color: #fbc2c4;
    outline: none;
    background-color: #f6e7eb;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -ms-box-shadow: none;
}

.respond-form form input[type=text],
.respond-form form input[type=email],
.respond-form form input[type=url] {
    max-width: 400px;
    min-width: 250px;
}

.respond-form form textarea {
    width: 97.3%;
    height: 150px;
    resize: none;
}

/* comment submit button */

/* comment form title */

#comment-form-title {
    margin: 0 0 1.1em;
}

/* cancel comment reply link */

/* logged in comments */

/* allowed tags */

#allowed_tags {
    margin: 1.5em 10px 0.7335em 0;
}

/* no comments */

.nocomments {
    margin: 0 20px 1.1em;
}

/*********************
SIDEBARS & ASIDES
*********************/

.widget ul {
    margin: 0;
}

.widget ul li {
    list-style: none;
}

#sidebar-offcanvas .widgettitle {
    color: #fff;
}

/*********************
FOOTER STYLES
*********************/

.footer {
    clear: both;
    margin-top: 1em;
}

/*
if you checked out the link above:
http://www.alistapart.com/articles/organizing-mobile/
you'll want to style the footer nav
a bit more in-depth. Remember to keep
it simple because you'll have to
override these styles for the desktop
view.
*/

/* end .footer-links */

/*********************
FOUNDATION STYLES
*********************/

.clearing-assembled.clearing-blackout a:hover {
    background: none;
}

/*********************
PLUGIN STYLES
*********************/

.gform_body ul {
    margin: 0;
    list-style: none outside none;
}

/*
MEDIUM
*/

@media only screen and (min-width:40.063em) {
    /*********************
  NAVIGATION STYLES
  *********************/

    /*********************
  POSTS & CONTENT STYLES
  *********************/

    /* entry content */

    .entry-content {
    }

    .entry-content .alignleft,
    .entry-content img.alignleft {
        display: inline;
        float: left;
        margin-right: 1.5em;
    }

    .entry-content .alignright,
    .entry-content img.alignright {
        display: inline;
        float: right;
        margin-left: 1.5em;
    }

    .entry-content .aligncenter,
    .entry-content img.aligncenter {
        display: block;
        clear: both;
        margin-right: auto;
        margin-left: auto;
    }

    /* end .entry-content */

    /*********************
  SIDEBARS & ASIDES
  *********************/

    .widget {
        margin: 2.2em 0;
        padding: 0 10px;
    }
}

    /*
LARGE
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/

    @media only screen and (min-width:64.063em) {
    /*********************
  GENERAL STYLES
  *********************/

    /*********************
  LAYOUT & GRID STYLES
  *********************/

    .wrap {
        max-width: 1140px;
    }

    /*********************
  HEADER STYLES
  *********************/

    /*********************
  NAVIGATION STYLES
  *********************/

    /*********************
  SIDEBARS & ASIDES
  *********************/

    .widget ul li {
        margin-bottom: 0.75em;
    }

    .widget ul li ul {
        margin-top: 0.75em;
        padding-left: 1em;
    }

    /* links widget */

    /* meta widget */

    /* pages widget */

    /* recent-posts widget */

    /* archives widget */

    /* tag-cloud widget */

    /* calendar widget */

    /* category widget */

    /* recent-comments widget */

    /* search widget */

    /* text widget */

    /*********************
  FOOTER STYLES
  *********************/

    /*
  you'll probably need to do quite a bit
  of overriding here if you styled them for
  mobile. Make sure to double check these!
  */

    .footer-links ul li {
    }
}

    /*
XLARGE
*/

    @media only screen and (min-width:90.063em) {
    }

    /*
XXLARGE
*/

    @media only screen and (min-width:120.063em) {
    }

    /*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution. You can also create a media
query for retina AND a certain size if you want. Go Nuts.
*/

    @media only screen and (-webkit-min-device-pixel-ratio:1.5) ,
    only screen and (min--moz-device-pixel-ratio:1.5) ,
    only screen and (min-device-pixel-ratio:1.5) {
    /* 
  
  EXAMPLE 
  Let's say you have an image and you need to make sure it looks ok
  on retina screens. Let's say we have an icon which dimension are
  24px x 24px. In your regular stylesheets, it would look something
  like this:
  
  .icon {
  	width: 24px;
  	height: 24px;
  	background: url(img/test.png) no-repeat;
  }
  
  For retina screens, we have to make some adjustments, so that image
  doesn't look blurry. So, taking into account the image above and the
  dimensions, this is what we would put in our retina stylesheet:
  
  .icon {
  	background: url(img/test@2x.png) no-repeat;
  	background-size: 24px 24px;
  }
  
  So, you would create the same icon, but at double the resolution, meaning 
  it would be 48px x 48px. You'd name it the same, but with a @2x at the end
  (this is pretty standard practice). Set the background image so it matches
  the original dimensions and you are good to go. 
  
  */

    }

    /*
iPHONE 5 MEDIA QUERY
Want to get fancy for no good reason? Knock yourself out.
*/

    /*
PRINT STYLESHEET
Feel free to customize this. Remember to add things that won't make
sense to print at the bottom. Things like nav, ads, and forms should
be set to display none.
*/

    @media print {
    * {
        text-shadow: none !important;
        color: black !important;
        background: transparent !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
        color: #444444 !important;
    }

    a:after,
    a:visited:after {
        content: " (" attr(href) ") ";
    }

    a abbr[title]:after,
    a:visited abbr[title]:after {
        content: " (" attr(title) ") ";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .sidebar,
    .page-navigation,
    .wp-prev-next,
    .respond-form,
    nav {
        display: none;
    }
}

/* Fabio ///////////////////////////////////// */

#inner-content {
    padding-top: 20px; /*fabio */
    background: white;
}

#content {
    background: #efefef;
}

.header {
    margin-bottom: 0!important; /*fabio*/
}

.footer {
    margin-top: 0!important; /*fabio*/
    background: #e0e0e0;
}

a.linktop:hover {
    text-decoration: none;
    color: #3399FF!important;
    background: none;
}

.gallery-item {
    display: inline-block;
    float: left;
    padding: 1rem;
    min-height: 200px;
}

#respond {
    display: none !important;
}

.top-bar {
    position: relative;
    height: 45px;
    margin-bottom: 0;
    line-height: 45px;
    background: rgba(255,255,255,0.8);
}

.top-bar-section li:not(.has-form) a:not(.button) {
    padding: 0 15px;
    line-height: 45px;
    color: #008cba;
    background: none;
}

.top-bar-section li:not(.has-form) a:not(.button):hover {
    color: white;
    background: #008cba;
}

.footer-tema {
    background: #efefef;
}

.copyright {
    margin-top: 1.25rem;
    text-align: center;
}

.top-bar .toggle-topbar.menu-icon a {
    color: #008cba;
}

.top-bar.expanded .title-area {
    color: white!important;
    background: #008cba;
}

.top-bar .toggle-topbar.menu-icon {
    color: #008cba;
}

.top-bar-section ul {
    background: #efefef;
}

#sidebar1 .panel {
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #D1D1D1;
    border-bottom: 1px solid #D1D1D1;
    background: none;
}

.top-bar-section .dropdown li {
    background: rgba(255,255,255,0.9);
}

#wpfooter {
    position: static !important;
}

#wpadminbar {
    position: fixed!important;
}

/* galleria wordpress */

.gallery-columns-1,
.gallery-columns-2 {
    text-align: center;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-3 .gallery-item {
    width: 33%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
}

.gallery-columns-6 .gallery-item {
    width: 16%;
}

.gallery-columns-7 .gallery-item {
    width: 14%;
}

.gallery-columns-8 .gallery-item {
    width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    width: 11%;
}

.gallery-caption {
    width: 90%;
    margin: 0 auto !important;
    text-align: center;
    font-size: 12px !important;
    font-style: italic;
    line-height: 1.5;
    color: #757575;
}

.gallery img {
    padding: 1%;
    border: 2px solid #cfcfcf;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.gallery-columns-3 .gallery-caption {
    width: 85%;
    margin: 0 auto !important;
    margin-left: 0 !important;
    text-align: center;
    font-size: 12px !important;
    font-style: italic;
    line-height: 1.5;
    color: #757575;
}

.eo_widget_calendar #wp-calendar {
    width: 100%;
}

.eo_widget_calendar #eo-widget-next-month {
    text-align: right;
}

/* 	
	Stile per il menu del footer 
	Alcune parti vanno imposte negli stili dei singoli temi per adattarli ai colori.
*/

#pweb-footer_nav_wrap
{
	margin:0 auto;
	margin-top:15px
	
}

#pweb-footer_nav_wrap ul
{
	list-style:none;
	position:relative;
	margin:0 auto;
	padding:0;
	display:table;
}

#pweb-footer_nav_wrap ul a
{
	display:block;
	color:#333;
	text-decoration:none;
	font-weight:700;
	font-size:12px;
	line-height:32px;
	padding:0 15px;
}

#pweb-footer_nav_wrap ul li
{
	position:relative;
	float:left;
	margin:0;
	padding:0
}

#pweb-footer_nav_wrap ul li.current-menu-item
{
	background:rgba(120,120,120,0.35);
	/* da modificare nel singolo tema */
}

#pweb-footer_nav_wrap ul li:hover
{
	background:rgba(120,120,120,0.50);
	/* da modificare nel singolo tema */
}

#pweb-footer_nav_wrap ul ul
{
	display:none;
	position:absolute;
	bottom:32px;
	left:0;
	background:rgba(255,255,255,0.50);
	/* da modificare nel singolo tema */
	padding:0
}

#pweb-footer_nav_wrap ul ul li
{
	float:none;
	width:200px
	
}

#pweb-footer_nav_wrap ul ul a
{
	line-height:120%;
	padding:10px 15px
}

#pweb-footer_nav_wrap ul ul ul
{
	top:0;
	left:100%
}

#pweb-footer_nav_wrap ul li:hover > ul
{
	display:block;
	background:rgba(255,255,255,0.50);
	/* da modificare nel singolo tema */
}

#pweb-footer_nav_wrap ul li  ul li  
{
	 background:rgba(255,255,255,0.50);
	 /* da modificare nel singolo tema */
}
#pweb-footer_nav_wrap ul li  ul li a:hover
{
	 background:rgba(120,120,120,0.50);
	/*  da modificare nel singolo tema */
}	
.header-container {
	background:#E0E0E0;
}

.fixed{
    position: relative !important;
}

@media only screen and (min-width: 40.063em){
    .top-bar-section .dropdown {
       
        background: RGBA(0,0,0,0.7)!important;
        
    }

     
    .top-bar-section .has-dropdown>a:after {
     
        border-color: rgba(44,44,44,0.4) transparent transparent transparent;
      
    }

}


.top-bar .toggle-topbar.menu-icon a::after {
    content: "";
    position: absolute;
    right: 0;
    display: block;
    width: 16px;
    top: 0;
    height: 0;
    -webkit-box-shadow: 1px 10px 1px 1px #008cba, 1px 16px 1px 1px #008cba, 1px 22px 1px 1px #008cba;
    box-shadow: 0 10px 0 1px #008cba, 0 16px 0 1px #008cba, 0 22px 0 1px #008cba;
}

.top-bar.expanded .toggle-topbar.menu-icon a {
    color: white;
}
.top-bar .toggle-topbar.menu-icon a {
    color: #008cba;
}
.top-bar.expanded .toggle-topbar a::after {
    -webkit-box-shadow: 1px 10px 1px 1px #fff, 1px 16px 1px 1px #fff, 1px 22px 1px 1px #fff;
    box-shadow: 0 10px 0 1px #fff, 0 16px 0 1px #fff, 0 22px 0 1px #fff;
}

.top-bar-section .dropdown li.title h5 a {
    color: #404040;
    line-height: 22.5px;
    display: block;
}


.top-bar-section .has-dropdown>a:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: inset 5px;
    border-color: transparent transparent transparent rgba(115,115,115,0.4);
    border-left-style: solid;
    margin-right: 15px;
    margin-top: -4.5px;
    position: absolute;
    top: 50%;
    right: 0;
}

.title.back.js-generated {
font-size:10px;
text-transform: uppercase;
font-weight: 700;
}
 

 .linkable-link{
    display: inline-block;
    width:90%;
 }
 .link-to-link {
    display:inline-block;
    width:10%;
    text-align:center;
 }

 .top-bar-section .dropdown li.title h5 a {
    color: #404040;
    line-height: 22.5px;
    display: block;
    font-size: 10px;
}

.top-bar-section .dropdown li.title h5 a::before {
    content:"« ";
    font-size:14px;
    }

.top-bar-section ul li:hover:not(.has-form)>a {
    background: rgba(0,0,0,0.16);
    color: #fff;
}