/*
Theme Name: ferrovieappulolucane
Author: Studio RP
Author URI: http://www.studiorp.it
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ferrovieappulolucane
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

html {
    font-family: "Helvetica", sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: #4075b2;
}

input, textarea {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=url],
input[type=search] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}

select {
    border: 0 !important;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance:none;
}

#ricerca_treni .dettagli-orari select.ora, #ricerca-corse .tipo_mezzo {
   background-color: #fff !important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 4.236em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: "Helvetica", monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: "Helvetica", sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Helvetica", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: "Helvetica", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #4075b2;
    /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, .8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

select {
    border: 1px solid #ccc;
}

select.train, select.bus {
    background-color: #f1f2f2;
    width: 80%;
    font-size: 15px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

textarea {
    width: 100%;
}

.ora {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 7.5px 4px;
    /* margin-top: -1px; */
    margin: 0px 2px;
    height: 36px;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
    /*color: royalblue;
    color: #caddff;*/
    color: #fff;
}

a:visited {
    color: #999;
}

a:hover,
a:focus,
a:active {
    color: #999;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation {
    clear: both;
    display: block;
    /*float: left;*/
    /*width: 100%;*/
}

#topmenu > .row {
    margin: 0 auto;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul {
    float: left;
    position: absolute;
    top: 1.5em;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

/* Small menu. */

.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }
    .main-navigation ul {
        display: block;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.site-main .posts-navigation {
	overflow: visible;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
	min-height: 66px;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
    min-height: 66px;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/


/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}


/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
    outline: 0;
}


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
    margin: 0 0 1.5em;
}


/* Make sure select elements fit in widgets. */

.widget select {
    max-width: 100%;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    /*margin: 1.5em 0 0;*/ margin: 0.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/


/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,

/* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}


/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
    display: block;
}


/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}


/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}


/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
    border: 1px solid #fff;
    padding: 6px;
    background-color: rgba(255,255,255,0.25);
}


/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}


body {
    font-family: "Helvetica", sans-serif;
    font-size: 16px;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica", sans-serif;
    font-weight: 800;
    color: #fff;
}

h1 { font-size: 3em; }
h2 { font-size: 2.25em; }
h3 { font-size: 1.75em; }
h4 { font-size: 1.325em; }
h1 { font-size: 3em; }

@media (min-width: 10px) {
    #topmenu {
        background: #4075b2;
        height: 34px;
    }
    #topmenu div {
        color: white;
    }
    #topmenu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    #topmenu li {
        margin: 0;
        padding: 0;
        float: left;
        padding-right: 1em;
    }
    #topmenu li a,
    .orologio {
        color: white;
        font-size: 0.618em;
        line-height: 3.1em;
        font-size: 1em;
        line-height: 2.1em;
    }
    #topmenu ul ul {
        background: #4075b2;
        padding: 3px 10px;
    }
    #top-dx-desktop {
        float: right;
        padding: 3px 10px 0px 10px !important;
    }
    h1.site-title {
        padding: 0;
        margin: 0;
        width: 441px;
        text-indent: -9999px;
		background-image: url(img/logo_fal_horiz_w.png);
        height: 91px;
        padding: 12px 0;
        background-position: center left;
        background-repeat: no-repeat;
		margin: auto;
    }
    h1.site-title a {
        display: block;
    }
    #masthead {
        position: relative;
        z-index: 3;
        background: white;
		background: #00953c; /* Old browsers */
    }

    .site-description {
        display: none;
    }
    #site-navigation a {
        display: block;
        text-decoration: none;
        color: white;
        /*font-weight: 900;*/
        text-transform: uppercase;
        display: block;
        padding: 0.3em 1em;
        min-height: 35px;
        font-size: 0.8em;
        line-height: 24px;
    }

.main-navigation ul li:hover > ul.js-wpml-ls-sub-menu, .main-navigation ul li.focus > ul.js-wpml-ls-sub-menu {
    left: 0;
}

    #site-navigation .sub-menu a {
        padding: 0.3em 0.5em;
    }

    #site-navigation li {
        float: none;
        position: relative;
        display: inline-block;
        padding: 3px 0px;
    	margin: 0px 3px;
    }
	#site-navigation li ul {
		background: #00953c;
/*		margin-left: -14px;
		padding-left: 5px;*/
	}
    .menu-principale-container ul {
        text-align: center;
    }
    #site-navigation .menu-centrale-desktop-container, #site-navigation .menu-centrale-desktop-inglese-2-container {
        float: left;
        margin-left: 10px;
    }
    #site-navigation .search-form {
        float: left;
		margin-bottom: 0px;
		margin-top: 3px;
    }
    #site-navigation .search-form .search-field {
        width: 90%;
		padding: 0px 10px;
    }
    .search-submit {
        display: none;
    }
    .search-field {
        color: #666;
        border: 1px solid #47aa42;
        border-radius: 3px;
        padding: 3px;
        line-height: 25px;
        margin-top: 3px;
        margin-left: 8px;
    }
    .rullo {
   /*     padding: 0;
        margin: 0 -15px;*/
        background: #00953c;
        min-height: 40px;
        clear: both;
    }
    .rullo #marquee h3 {
        margin: 0;
        float: left;
        font-size: 1em;
        font-weight: normal;
        text-align: right;
        font-weight: 900;
        padding-right: 10px !important;
    }
    .rullo #marquee h3 a {
        color: white;
        line-height: 46px;
    }
    .rullo #marquee marquee {
        float: right;
		font-size: 1em;
		background-color: #00953c;
    }
    .rullo marquee a {
        color: #fff;
        line-height: 43px;
    }
    .rullo marquee {
        background: white;
        min-height: 40px;
    }
    .news_marquee {
        line-height: 40px;
    }
    .news_marquee a span {
        color: #333;
    }
    .site-footer {
        background-color: #4075b2;
    }
    .wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
        border: 0;
        background: #4075b2;
        margin-bottom: 20px;
		padding: 0px;
    }
    .site-footer a {
        color: white;
    }
    .site-info {
        color: white !important;
    }
    #contenitore_search {
        position: absolute;
        z-index: 2;
        width: 100%;
        transform: translateY(-100%);
    }
    .input-group-prepend {
        width: 55px;
    }
    .headsearch {
        font-size: 1.4em !important;
        font-weight: 900 !important;
        line-height: 1em;
    }
    #ricerca-corse {
        color: white;
        background-color: #4075b2;

    }
    #ricerca-corse h1 {
        color: white;
        margin: 0;
        font-size: 1.15em !important;  
    }
    .input-testuale input {
        float: right;
        width: 85%;
        min-height: 36px;
		border: none;
    }
    .mezzo {
        text-align: right;
    }
    .input-testuale > div {
        /*background-color: #f1f2f2*/
    }
    .input-testuale input {
        /*background-color: #e6e7e8*/
        background-color: #fff;
    }
    .boxhome {
		/*border-radius: 10px;*/
		background-color: #fff;
		display: flex;
		overflow: hidden;
	}
	.anchorbox {
		height: 110px;
    	display: flex;
    	align-items: center;
	}
	.anchorpar {
		margin: auto 0;
		line-height: 19px;
		font-size: 20px;
		padding: 10px;
		font-weight: 600;
		color: #000;
		text-decoration: none;
		display: inline-block;
	}
	#newsscorr .anchorpar {
		font-size: 14px;
		line-height: 15px;
	}
	.boximg {
		height: 110px;
    	background-repeat: no-repeat;
    	background-size: contain;
	}
    #ricerca-corse label,
    .input-testuale {
        color: #4075b2;
        margin-bottom: 0;
        line-height: 29px;
        text-indent: 5px;
    }
    #ricerca-corse label {
        color: #fff;
    }
	input.flexselect {
		/*margin-top: 2px;*/
		font-size: 15px;
        width: calc(100% - 55px);
	}
    #ricerca_treni {
        /*padding-top: 5px;
        clear: both;
        min-height: 1%;*/
        overflow: hidden;
    }
    .glyphicon.glyphicon-calendar {
        color: white;
        font-size: 1.2em;
        float: left;
        line-height: 1.6em;
    }
    #ricerca_treni .dettagli-orari input {
        width: 25%;
        float: left;
        margin-left: 3%;
    }
    #ricerca_treni .dettagli-orari > label {
        float: left;
        width: 13%;
    }
    .home.entry-title {
        margin: 0;
        position: absolute;
        bottom: 10px;
        width: auto;
        background: #4db157;
        /*font-size: 0.75em;*/
		font-size: 0.75em;
        padding: 16px;
        color: white;
        font-weight: 200;
        display: inline-block;
    }
    .home.entry-title a {
        color: white;
    }
    .entry-content.immagine_evidenza {
        margin-top: 0;
        max-height: 200px;
        overflow: hidden;
        margin-bottom: 30px;
        position: relative;
        min-height: 200px;
    }
    .notizie-home {
        padding: 30px 0 0 0;
    }
    .sidebar-home {
        background-color: #ffffff;
        /*padding: 0px;*/
        min-height: 430px;
        border: 0px solid #d8e0f1;
    }
    .sidebar-home h2 {
        margin: 0;
        margin: 0;
        font-size: 1em;
        clear: right;
        width: auto;
        font-weight: normal;
    }
    .sidebar-home h3 {
        color: #ffffff;
        background: #44629f;
        padding: 10px 15px;
        display: inline-block;
        margin: 0;
        margin-bottom: 15px;
        margin-left: -30px;
    }
    .sidebar-home .entry-header img {
        float: left;
        float: left;
        max-width: 50px;
        margin-right: 15px;
        margin-bottom: 15px;
    }
    .sidebar-home .entry-header h2 a {
        color: #333;
    }
    .sidebar-home article:first-of-type h2 {
        font-size: 1.2em;
    }
    .sidebar-home article:first-of-type header img {
        min-width: 75px !important;
    }
    .sidebar-home > h2 {
        font-weight: 500;
        text-transform: uppercase;
        font-size: 1.4em;
        margin-bottom: 15px;
        font-family: "Helvetica", sans-serif;
    }
    .readall {
        color: #4075b2;
        padding-top: 15px;
        display: inline-block;
    }
    body {
        overflow-x: hidden;
    }
    .main-navigation ul ul {
        /*top: 2.2em !important;*/
		top: 2.65em !important;
        font-size: 0.9em;
    }
    .main-navigation ul ul li a {
        font-size: 0.9em !important;
    }
    .main-navigation ul > li.menu-item-has-children > a:after {
        font-family: 'Fontawesome';
        content: '\f078';
        font-size: 0.7em;
        padding: 0px 0px 0 7px;
    }
    .site {
        clear: both !important;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f4f4f4+100 */
        background: rgb(255, 255, 255);
        /* Old browsers */
        background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(244, 244, 244, 1) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(244, 244, 244, 1) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(244, 244, 244, 1) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4', GradientType=1);
        /* IE6-9 fallback on horizontal gradient */
    }
    #top-sx-desktop ul.sub-menu {
        top: 28px !important;
    	display: block !important;
    }
    #topmenu ul.sub-menu li a {
        line-height: 2.1em;
        font-size: 0.9em !important;
    }
    .menu-centrale-desktop-container ul.sub-menu li {
        padding: 0px !important;
    }
    #top-dx-desktop li a {
        font-size: 0.65em;
        line-height: 2.1em;
        padding-top: 2px;
    }
    .entry-title {
        color: #fff;
		color: #00953c;
        margin-top: 0;
        margin-bottom: 15px;
    }
	.entry-content h3 {
		color: #fff;
	}
	.entry-content li img {
		margin-top: 20px;
	}
    .pt50 {
        padding-top: 90px;
        padding-bottom: 50px;
    }
    .home .pt50 {
        padding-top: 0px;
    }
    .widget-area ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .widget-area ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .widget-area li {
        padding-left: 1em;
        text-indent: -.7em;
    }
    /*.widget-area li::before {
        content: "•";
        color: #47aa42;
        float: left;
        margin-left: 10px;
        margin-right: 10px;
    }*/
	
    h2.widget-title {
        color: #47aa42;
        font-size: 1.125em;
        border-bottom: solid 1px rgba(150, 150, 150, 0.25);
        padding-bottom: 15px;
        margin-bottom: 15px;
        margin-top: 0;
    }
	.attachwidg {
		background-color: #4075b2;
	}
	.attachwidg .widget-title {
		color: #fff;
		border-bottom: solid 1px rgba(255, 255, 255, 0.75);
	}
	.attachwidg li {
		color:#fff !important;
		margin-bottom: 15px !important;
	}
    .widget {
        margin: 0;
    }
    .entry-header > h1 {
        font-size: 2em;
		line-height: 1.2em;
		font-weight: 900;
		background-color: #fff;
		padding: 5px 10px; padding: 15px;
    }
    .widget-area a {
        color: #444;
        padding-left: 0.9em;
        font-size: 0.9em;
        font-weight: 900;
    }
	.attachwidg a {
		color: #fff;
	}
    .widget-area li {
        padding-left: 0em;
    }
	.widget-area li {
		list-style: none;
		padding: 0;
		margin: 0;
		padding-left: 13px;
		border-left: solid 4px #e5e5e5;
	}
	.widget-area li:hover {
		border-left: solid 4px #47aa42;
	}
    #secondary {
        background: #ffffff;
        /*background: -moz-linear-gradient(top, #ffffff 0%, rgba(238, 238, 238, 0.35) 100%);
        background: -webkit-linear-gradient(top, #ffffff 0%, rgba(238, 238, 238, 0.35) 100%);
        background: linear-gradient(to bottom, #ffffff 0%, rgba(238, 238, 238, 0.35) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#47aa42', GradientType=0);*/
        border: 1px solid rgba(238, 238, 238, 0.35);
		margin-bottom: 30px;
		margin-top: 65px;
    }
    #secondary .widget {
        padding: 15px;
        padding-top: 30px;
    }
    .attachwidg {
		margin-top: 16px;
	}
    #primary #main {
        /*padding: 0px 45px 0 0;*/     min-height: 1%;    overflow: hidden;
    }
    .entry-content {
        font-size: 1.1em;
        line-height: 1.66em;
		color: #fff;
    }
    .entry-content ul {
        margin: 0;
		margin-bottom: 1.5em;
    }
	.entry-content li {
		margin-bottom: 15px;
	}
    .home #myCarousel {
        position: relative;
        float: right;
    }
    .home #myCarousel .item {
        min-height: 200px;
        max-height: 200px;
    }
    .carousel-control.right,
    .carousel-control.left {
        background-image: none;
        background-image: none;
        background-image: none;
        background-image: none;
        background-repeat: repeat-x;
        color: #ffffff;
    }
    .carousel-inner {
        margin-bottom: 30px;
    }
    .carousel-inner .item h2 {
        font-size: 0.9em;
    }
    #etichettanews {
        /*position: absolute;
        top: 10px;
        right: 15px;
        background: #4db157;
        color: white;
        z-index: 3;
        font-size: 1.75em;
        padding: 5px;
        margin: 0;*/
		position: absolute;
		top: 10px;
		right: 0px;
		background: #4db157;
		color: white;
		z-index: 3;
		font-size: 1.25em;
		padding: 5px;
		margin: 0;
    }
    .entry-title a {
        /*color: #4075b2;*/
        color: #fff;
    }
    .page-header h1 {
		color: #fff;
	}

    .page-header h1 {
    color: #00953c;
    font-size: 2em;
    line-height: 1.2em;
    font-weight: 900;
    background-color: #fff;
    padding: 5px 10px;
    padding: 15px;
}
    .nav-previous,
    .nav-next {
        background: #4075b2;
        width: 49% !important;
        /*text-align: center !important;*/
        padding: 15px;
        line-height: 1.1em;
    }
    .site-main .posts-navigation .nav-previous,
    .site-main .posts-navigation .nav-next {
		/*text-align: unset !important;*/
    }
    .nav-previous a,
    .nav-next a {
        color: #ffffff;
    }
    .home #primary #main {
/*        padding: inherit;
*/    }
    .entry-meta a,
    .cat-links a,
    .breadcrumbs a,
    .comments-link a {
        color: #47aa42;
		color: #fff;
        margin-right: 5px;
		font-weight: 600;
    }
    .breadcrumbs {
        font-size: 1.1em;
        line-height: 1.25em;
        color: #fff;
    }
    .archive .entry-title {
        color: #4075b2;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.25em;
    }
    .site-info {
        font-size: 0.8em;
        text-align: center;
        padding: 15px;
    }
    .tm_lcptu_post_title {
        clear: right;
        margin: 0;
        padding: 0;
        font-weight: normal;
        font-size: 1em;
        font-family: inherit;
        margin-bottom: 15px;
    }
    .single .entry-content {
        padding-left: 1.5em;
        /*text-indent: 1em;*/
        border-left: 7px solid #47aa42;
    }
    .single .entry-content.bread{
        border: none;
    }

    #menu-footer-new {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    #menu-footer-new li {
        float: left;
        margin-right: 15px;
        float: none;
        margin-right: 15px;
        display: inline-block;
        margin-bottom: 15px;
    }
    #lang_sel a.lang_sel_sel {
        padding-top: 0!important;
        padding-bottom: 0 !important;
        height: 30px !important;
        line-height: 23px;
    }
    .wpml-ls-statics-shortcode_actions {
        float: right;
        width: auto;
    }
    #topmenu ul.wpml-ls-sub-menu {
        margin-top: -9px !Important;
		width: 50px !important;
		padding: 10px;
    }
    .entry-content p a,
    .entry-content p a:hover {
        /*color: #47aa42;
        color: #caddff;*/
        color: #fff;
    }
    #allegati {
        min-height: 1%;
        overflow: hidden;
        width: 100%;
        background: #00953c;
        clear: both;
        background-clip: padding-box;
        margin-top: 15px;
        margin-bottom: 30px;
        padding: 15px 0;
    }
    #allegati h3 {
        color: white;
        text-transform: uppercase;
        color: white;
        letter-spacing: -.03em;
        margin: 0;
    }
    .immagine_allegato {
        float: left;
        margin-right: 10px;
    }
    #allegati li a {
        color: #FFF;
        font-size: 13px;
        font-weight: bold;
        text-decoration: none;
        line-height: 12px;
    }
    #allegati li a:hover {
        text-decoration: none;
    }
    #allegati li img {
        width: 53px;
        height: auto;
        margin: 0;
        background: white;
        padding: 10px;
    }
    #allegati p {
        font-size: 11px;
        color: #FFF;
        margin: 0;
        line-height: 13px;
    }
    #allegati small {
        font-size: 10px;
        color: #fff;
        margin: 0;
    }
    #allegati li {
        clear: both;
        display: block;
        width: 100%;
        float: left;
        margin: 0 0 10px 0;
    }
    #allegati ul {
        min-height: 1%;
        overflow: hidden;
        margin: 0;
        padding: 15px 30px;
    }
    #allegati h3 {
        color: white;
        text-transform: uppercase;
        color: white;
        letter-spacing: -.03em;
        margin: 0;
        text-align: center;
        padding: 15px;
    }
    h1.page-title {
        margin: 0;
    }
    .archive .entry-content {
        margin: 0.2em 0 0;
    }
    .archive .entry-content p {
        margin-bottom: 1em;
        line-height: 1.3em;
        font-size: 0.8em;
    }
    .articolo_archivio {
/*        float: left;
        width: calc(100% - 180px);*/
    }
    .archive .news img.attachment-thumbnail {
        margin-right: 30px;
        float: left;
    }
    .archive article.hentry {
        min-height: 1%;
        overflow: hidden;
        background: transparent;
        float: left;
        border-bottom: 1px solid #eeeeee;
        margin-bottom: 25px;
        padding-bottom: 25px;
        width: 100%;
    }


.archivionews img {
    float: left;
    margin-right: 16px;
    border: 5px solid white;
    width: 100%;
}

.drag-wrapper {
    display: none;
}

#lingue_footer {
    width: 100%;
}

#lingue_footer #lang_sel {
    width: 100%;
    float: none;
}

.home .ls-slide img { margin-left: 0 !important;}

}

.wpml-ls-sub-menu {
	width: 30px !important;
}
.wpml-ls-item .wpml-ls-sub-menu a {
    width: 21px !important;
    padding: 0px;
    line-height: 17px !important;
}

li.wpml-ls-item > a {
    width: 58px;
    line-height: 17px !important;
}
.home #page { /*padding: 0;*/}


/* FINE DESKTOP DA 768 in su */


/* €€€€€ DESKTOP DA 768 a 992 */

@media (max-width: 992px) {
    #contenitore_search {
        position: relative;
        z-index: 2;
        width: 100%;
        transform: initial;
    }
    #cerca {
        /*width: 100%;*/
        margin: 0;
    }
    #site-navigation {
        clear: both;
        display: inline-block;
        float: none;
        width: auto;
        background: white;
        height: auto;
        float: left;
   /*     margin-left: -15px;*/
        transform: initial;
/*        margin-left: 0;*/
        position: relative;
    /*    padding: 5px 0px;*/
    }
    #site-navigation li {
        display: block;
        float: left;
        width: 100%;
    }
    .ls-wp-fullwidth-container {
        /*display: none !important;*/
    }
    nav#site-navigation .menu-toggle {
        display: block !important;
        float: right;
        width: 50px;
        border: none;
        background: none;
        height: 91px;
        margin-top: -91px;
        color: #fff;
        font-size: 2.3em;
    }
    #masthead {
        box-shadow: none;
        margin-left: 0;
        margin-right: 0;
        position: relative;
        z-index: 3;
        padding: 0;
    }
    .rullo {
/*        padding: 0;
        margin: 0;*/
        background: #4db157;
        min-height: 40px;
        clear: both;
        position: fixed;
        bottom: 0;
        z-index: 30000;
        left: 0;
    }
    .immagine_evidenza img {
        height: auto;
        width: 100%;
    }
    .site-branding {
        position: relative;
        /*background: white;*/
        min-height: 91px;
        text-align: center;
		/*width: auto !important;*/
    }
    h1.site-title {
        margin: 0 auto;
		width: 100%;
    }
    #site-navigation {
        bottom: auto;
        width: 100%;
    }
    #site-navigation a {
        display: block;
        text-decoration: none;
        background: white;
        color: #4075b2;
        font-weight: 900;
        text-transform: capitalize;
        display: block;
        padding: 0.3em 0.6em;
        font-size: 0.8em;
        text-align: left;
        border-bottom: 1px solid #f1f1f1;
        line-height: 2em;
        font-family: "Helvetica", sans-serif;
    }
    .menu-principale-container {
        display: none;
    }
    .toggled .menu-principale-container {
        display: block;
    }
    .main-navigation ul.sub-menu {
        display: none;
    }
    .main-navigation.toggled li.focus ul.sub-menu {
        position: relative;
        top: 0 !important;
        display: block;
    }
    .main-navigation.toggled li.focus ul.sub-menu li {
        padding-left: 2em;
    }
    .toggled .sub-menu a {
        width: 100%;
    }
    .menu-toggle i {
        font-size: 3em;
		font-size: 4em;
		color: #fff;
		margin-top: -10px;
    }
    img.ls-bg {
        margin-left: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        height: auto !important;
    }
    #layerslider_1 {
        max-height: 250px;
    }
}

@media only screen and (min-width: 1024px) {
	#contenitore_search #cerca {
        min-width: 555px;
		margin-top: 20px; 
    }
	#site-navigation {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	#site-navigation .menu-centrale-desktop-container, #site-navigation .menu-centrale-desktop-inglese-2-container {
		margin-left: 4px;
	}
	.search-field {
		line-height: 27px;
	}
	.search-form label {
		margin-bottom: 1px !important;
	}
	.site-content .rootrow {
		margin-top: 80px;
	}

}



@media only screen and (max-width: 767px) {

    .archivionews img {
        float: left;
        margin-right: 16px;
        border: 5px solid white;
        width: 100%;
        margin-bottom: 15px; 
    }
    .page-header {
        padding-bottom: 9px;
        margin: 0px 0 20px;
        border-bottom: 1px solid #eee;
    }
    .archive .news img.attachment-thumbnail {
        margin-right: 0;
        float: left;
        width: 100%;
        margin-bottom: 15px;
    }

    #ricerca_treni .dettagli-orari select.ora {
       max-width: 20%;
    }
    #primary #main {
        padding: 0px;
    }
    #site-navigation {
        min-width: auto;
    }
    .pt50 {
        padding-top: 0;
    }
    .single .entry-content {
        padding-left: 0em;
        text-indent: 1em;
        border-left: 0px solid #47aa42;
        font-size: 1.25em;
    }
    nav#site-navigation .menu-toggle {
        margin-right: 15px;
    }
    #secondary {
        /*margin: 30px 15px;*/
    }
    #contenitore_search #cerca {
/*        min-width: 100%;
*/		padding-top:15px;
    }
    #ricerca-corse h3 {
        margin-bottom: 15px;
		text-align: center;
    }
    .mezzo {
        text-align: center;
    }
    #ricerca_treni .dettagli-orari input.data {
        width: 52%;
        text-align: center;
        margin-left: 0%;
        margin-right: 2%;
        min-height: 35px;
        font-size: 1em;
    }
    .wpml-ls-statics-footer {
        padding: 15px;
    }
    .wpml-ls-legacy-list-horizontal .wpml-ls-flag+span {
        font-size: 0.8em;
    }
    .sidebar-home span {
        vertical-align: bottom;
        width: 320px !important;
        height: 430px;
        margin: 0 auto;
        display: block !important;
    }
    .site-footer {
        /*margin: 0;*/
    }
    .rullo {
     /*   padding: 0;*/
        /*margin: 0 -15px;*/
        background: #00953c;
        min-height: initial;
        clear: both;
    }
    .rullo #marquee h3 {
        margin: 0;
        float: left;
        /*font-size: 0.8em;*/
        font-weight: normal;
        text-align: right;
        padding-right: 5px;
		font-size: 0.7em;
    	line-height: 2em;
    }
    .rullo #marquee h3 a {
        color: white;
        line-height: initial;
		font-size: 8px;
    }
    .rullo #marquee marquee {
        float: right;
        font-size: initial;
        border-top: 0px solid #4db157;
        border-bottom: 0px solid #4db157;
    }
    .rullo marquee a {
        color: #fff;
        line-height: initial;
        white-space: nowrap;
    }
    .rullo marquee {
        background: white;
        min-height: initial;
    }
    .news_marquee {
        line-height: initial;
    }
    .news_marquee a span {
        color: #333;
    }
    body.home {
        padding-bottom: 25px;
    }
    .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev
    {    margin-top: -20px !important; }

    #ricerca_treni select {   
    float: right;
    width: 80%;
    height: 20px;
    margin-top: 5px;}
#site-navigation a {
    font-size: 1em;
    line-height: 3em;
    font-family: "Helvetica", sans-serif;
}

#site-navigation .menu-centrale-desktop-container {
    float: left;
    margin-left: 15px;
}

#site-navigation .sub-menu a {
    background: #4075b2;
    color: white;
}

#search-form, #search-form label {    width: 100%;}
#contenitore_search #cerca { min-width: auto;}

}

@media only screen and (min-width: 1024px) and (max-width: 1119px) {
.main-navigation ul li.focus ul { left: 0 !important; text-align: left;}

    #site-navigation {
/*      bottom: -42px;*/
        min-width: 100%;
    }
#cerca {min-width: 100% !important;
margin: 0 auto;
float: none;
}

div#rev_slider_1_1_forcefullwidth.forcefullwidth_wrapper_tp_banner{height: 550px !important;}
#site-navigation .menu-centrale-desktop-container {float: left;
margin: 0 auto;
text-align: center;
width: 100%;}

.main-navigation ul {display: inline-block;
margin: 0 auto;}
h1.site-title { margin: 0 auto;}

#site-navigation .search-form {display: none;}

#contenitore_search #cerca {
    padding: 15px 0 !important;
}

#topmenu li {

    width: 33%;
    text-align: center;
}





}

@media only screen and (min-width: 768px) and (max-width: 1023px) {


    #site-navigation {
/*      bottom: -42px;*/
        /*min-width: 100%;*/
    }
	
	#site-navigation form {
		display:none;
	}
    .div#rev_slider_1_1_forcefullwidth.forcefullwidth_wrapper_tp_banner {margin-bottom: 180px;}
#cerca {/*min-width: 100%;*/
margin: 0 auto;
float: none;
margin-left: -15px;}

    #menu-centrale-desktop-container {    width: 100%; margin: 0;}
    #topmenu {
    background: #4075b2;
    height: auto;}
#site-navigation {
    clear: both;
    display: inline-block;
    float: none;
    width: auto;
    background: white;
    height: auto;
    margin: initial;
    float: left;
    margin-left: -15px;
    transform: initial;
    margin-left: initial;
    position: relative;
    padding: initial; width: 100%;
}
#site-navigation li {
    padding: 0;
}


.notizie-home {
    padding: initial;
    margin: initial;
}

.notizie-home {
    padding: 15px;
    margin: 0 auto;
}


#site-navigation .menu-centrale-desktop-container {
    float: none;
/*    margin-left: initial;*/
}


.main-navigation .menu-top-sinistra-container ul ul a {
    width: 150px;   
}


nav#site-navigation .menu-toggle {
    margin-top: -62px;
}
.menu-centrale-desktop-container { display: none;}

.toggled .menu-centrale-desktop-container { display: block;}
.pt50 {
    padding-top: 30px;
    padding-bottom: 30px;
}

#site-navigation .sub-menu a {

    background: #4075b2;
    color: white ;


}
#site-navigation .sub-menu {

width: 100%;


}
h1.site-title {
    margin: 0;
}

nav#site-navigation .menu-toggle {
    margin-top: -68px;     margin-right: 15px;     position: absolute;
    left: 15px;
}
.home .pt50 {
   /* margin: 0 -15px;*/
}
/*.notizie-home {    margin: 0 auto;
    padding: 30px 0px;}*/

#contenitore_search #cerca {
/*    background: #4075b2;
    margin: 0 auto;
    float: none; 
    padding: 30px;     padding: 5% 10%;*/
}    

#contenitore_search #cerca {
    background: #4075b2;
    margin: initial;
    float: initial;
    padding: initial !important; 

        padding-top: 30px !important;
    padding-bottom: 30px !important;
}

#site-navigation a {
    font-size: 1em;
    line-height: 3em;
}
.fb-page iframe { width: 100% !important;}
.sidebar-home { text-align: center; background: transparent;}
#ricerca-corse h3 {    margin: 0 0 20px 0;}
#ricerca_treni .dettagli-orari > label {
    float: left; 
    width: 10%;
    margin-left: 0 !important; text-align: center;
}
#ricerca_treni .dettagli-orari input.data {
    width: 90%;
    text-align: center;
    margin-left: 0%;
    margin-right: 0;
    min-height: 35px;
    font-size: 1em;
}
.dettagli-orari {
    margin-top: 2px;
}
#ricerca_treni {
    padding-top: 2px;

}



}

/*$$$$ Cellulari*/

@media only screen and (max-width: 767px) {

    .rullo #marquee h3 {
font-size: 0.5em;
line-height: 3em;}

h1.page-title { font-size: 1.8em;}
    .has-post-thumbnail.hentry img { width: 100%; margin-bottom: 15px;}
    h1.site-title {
        /*background-position: 0px 33px !important;*/
		background-position: center left !important;
		background-size: 70%;
		/* max-width: 100%; */
		margin: 0px;
		/*width: 371px;*/
    }
    .mezzo i {
        display: none;
    }
    .rullo #marquee h3 {
        margin: 0;
        float: left;
        font-size: 0.5em;
        font-weight: normal;
        text-align: right;
        /*width: 39%;*/
        padding: 0;
        /*margin-left: 3px;*/
    }
    #ricerca_treni .dettagli-orari > label { width: auto;}
    .rullo #marquee marquee {
        float: right;
        font-size: 0.9em;
        max-width: 64%;
    }
    .sidebar-home h3 {
        color: #ffffff;
        background: #44629f;
        padding: 10px 15px;
        display: inline-block;
        margin: 0;
        margin-bottom: 15px;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    #layerslider_1 {
        max-height: 260px;
    }
    .ls-container {}
    #masthead {
        margin: 0 -15px;
		/*background-image: url(https://ferrovieappulolucane.it/wp-content/themes/ferrovieappulolucane/bgmenu.jpg);
		background-size: cover;*/
    }
    .ls-container img {
        width: 200% !important
    }
    #ricerca-corse .tipo_mezzo {
        margin-left: 0px !important;
    }
    body.home {
        padding-bottom: 25px;
    }
    #menu-footer-new li {
        float: none;
        margin-right: 15px;
        width: auto;
        display: inline;
        line-height: 2em;
    }
    #ricerca_treni select { float: left;}
}

@media only screen and (min-width: 1025px) and (max-width: 1600px) {
.anchorpar {
    margin: auto 0;
    line-height: 16px;
    font-size: 14px;
}
.rullo #marquee h3 a {
    font-size: 10px;
}
	
}

@media only screen and (min-width: 1120px) {

    #site-navigation {
        clear: both;
        display: inline-block;
        float: none;
        width: auto;
        /* min-width: 608px; */
        /* min-width: 833px; */
        /* background: white; */
        height: auto;
        /* margin: 0 auto; */
        /* box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.2); */
        /* box-shadow: 0px 11px 18px 0px rgba(0, 0, 0, 0.65); */
        /* box-shadow: 0px 16px 20px 0px rgba(0, 0, 0, 0.36); */
        /* float: left; */
        /* margin-left: -15px; */
        /* transform: translate(-50%); */
        /* margin-left: 50%; */
        /* bottom: -50px; */
        /* position: absolute; */
        /* padding: 5px 0px; */
        /* min-width: 605px; */
        /* background: #00953c; */
        /* box-shadow: 8px 10px 0 #0000001c; */
    }

}

#main .attachwidg i.fa.fa-file-pdf-o {
    margin-right: 20px;
    margin-left: 0px !important;
}

#main .attachwidg ul {
    list-style: none;
    margin: 0px;
}

.punti_vendita thead {
   background-color: #fff;
}

.punti_vendita th {
   color: #4075b2;
}

.punti_vendita thead th, .punti_vendita tbody td {
    padding: 5px 15px;
    border: 1px solid #8babd0;
}

.punti_vendita_head, #selezione_linea {
	margin-bottom: 25px;
    padding: 5px 15px;
    border: 1px solid #fff;
}

#selezione_linea { margin-top: 25px; color: #fff; }

.punti_vendita_head select, #selezione_linea select {
	    border: 0 !important;
    -moz-appearance: none;
    -webkit-appearance: menulist;
    appearance: inherit;
    padding: 3px 5px;
    margin: 0px 0px 5px 5px !important;
    font-size: 12px !important;
}

.news .entry-header p,
.archivionews .entry-header p,
.bando .entry-header p,
.comunicato-stampa .entry-header p,
.bandiscaduti .entry-header p,
.esitodigara .entry-header p {
    margin-top: 4px;
    color: #fff;
}

.subtitle_timeline {
	font-size: 16px;
    font-weight: 400;
    color: #fff;
    /*margin-top: 25px;
    margin-left: 2px;*/
}

.nav_timeline { height: 38px; }

.page-template-page-linee #timeline ul#issues { margin:0; list-style: none; /*padding-top: 10px;*/}
.page-template-page-linee #timeline ul#issues li { /*float: left;*/}
body.search .page-header {
    margin: 70px 0 20px;
}
#issues {    margin-left: 0.5px;
    height: 100%;
    min-height: 1%;
    overflow: hidden;
}
.page-template-page-linee #timeline ul#issues li {
    float: left;
    display: block;
    min-width: 847px;     min-width: 409px;     max-width: 409px;
}
#dates li { }
#timeline #next, #timeline #prev {
    background: #3c953c ;
    font-size: 1.5em;
    color: whitesmoke;
    padding: 1px 5px;
    width: 85px;
    display: inline-block;
    text-align: center;
    border-radius: 3px;
    font-weight: 900;
}

#timeline #next:hover, #timeline #prev:hover { text-decoration: none; opacity: 0.95; 
}
#dates {display: none;} 

#issues { padding-left: 0;}
#issues h1  {
    font-size: 2em;
    margin: 0 0 25px 0;     margin: 15px 0 10px 0;
}
#issues li a { height: 230px; overflow: hidden; display: block; margin-bottom: 10px;}

#timeline #prev { /*float: right;*/ float: left; margin-right: 87px;}
#timeline #next { /*float: left; */ float: left; right: 0px; position: absolute; }

#secondary {
    background: #ffffffed;
    border: 1px solid rgba(238, 238, 238, 0.35);
    margin-bottom: 30px;
    margin-top: 65px;
}

.articolo_archivio .time, .page .time {
    color: #fff;
}

.wpb_video_widget h2 {
    color: #4075b2 !important;
    font-size: 14px;
}

.archive .mezzo {
    text-align: right;
    padding-right: 0;
}
.mezzo i {margin-top: 10px;}
.polaroid img { width: 100%; height: auto;}

.fullwidthbanner-container .fullwidthabanner, .forcefullwidth_wrapper_tp_banner {

    min-height: 60vh;
}
.page-header {
    margin: 0px 0 20px;
}
p.time {color: white; font-style: italic;}
.page-content p { color: white; }


@media screen and (max-width: 767px) {

#ricerca-corse .tipo_mezzo {
    width: 100%;
}
.mezzo i { display: block; width: 50%; float: left; height: 50px;}

.mezzo i:before { font-size: 2em;}

.rullo #marquee h3 { display: none;
}
.rullo #marquee marquee {
    float: left;
    font-size: 0.9em;
    max-width: 100%;
    width: 100%; 
}
#ricerca_treni .dettagli-orari > label {
    float: left;
    width: 100%; margin-left: 0 !important;
}
.glyphicon.glyphicon-calendar {
    color: white;
    font-size: 2em;
    line-height: 1.6em;
    text-align: center;
    margin: 0 auto;
    display: block;
    float: none;
}

#ricerca_treni .dettagli-orari input.data {
    width: 100% !important;
    text-align: center;
    margin-left: 0%;
    margin-right: 0;
    min-height: 35px;
    font-size: 1em; margin-bottom: 5px;
}


#ricerca_treni .dettagli-orari select.ora {
    color: #666;
    border: 0px solid #ccc;
    border-radius: 0px;
    padding: 7.2px 7px;
    margin: 0px;
    height: 35px;
    font-size: 1em;
    border-radius: 3px;
    max-width: none;
    width: 49% !important;
}
.dettagli-orari span {width: 2%; display: block;}
#ricerca_treni .dettagli-orari select.ora {

    margin: 0px 0px 0px 0px !important;

}
.rullo #marquee h3 { display: none;
}
.dettagli-orari span {
    text-align: center;
}
#menu-footer-new li {
    float: none;
    margin-right: 0;
    width: 100%;
    display: block;
    line-height: 1em;
    font-size: 1.1em;
    background: #ffffff1a;
    padding: 10px;
}
#topmenu {

    display: none;
}
.punti_vendita thead th, .punti_vendita tbody td {
    display: block;
}
.subtitle_timeline {
    font-size: 1.5em !important;
    font-weight: 400;
    color: #fff;
    text-align: center; width: 100%;     margin-top: 15px;
}
.subtitle_timeline span {
    font-size: 0.5em !important;
    width: 100%;
    display: block; }
.entry-content p {  text-align: left !important;}
.glabelleft, .glabelright, .glabelleft230, .glabelright230 {

    font-size: 16px !important;

}
.menupercorso-area { padding: 0;}
#risultato-ricerca center a {font-size: 2em;}


.menupercorso-area {
    padding: 0;
    margin-bottom: 0 !important;
}

h1.site-title {
    background-size: 90%;
}
.btnmezzo {
    border-right: 1px solid #f2adac;
    transform: none !important;
    transition: background .2s ease, color .2s ease;
}
.btnmezzo span, .btnmezzo option, .btnmezzosearch span {
    display: block;
    transform: none !important;
}
.paneltrain div:first-child { color: white;}

.btnmezzosearch {
    transform: none;
}





}

/* Query for Retina display */

@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
    /* Retina-specific stuff here */
}

/* 1.25 dpr */
@media 
(-webkit-min-device-pixel-ratio: 1.25), 
(min-resolution: 120dpi){ 
    /* Retina-specific stuff here */
}

/* 1.3 dpr */
@media 
(-webkit-min-device-pixel-ratio: 1.3), 
(min-resolution: 124.8dpi){ 
    /* Retina-specific stuff here */
}

/* 1.5 dpr */
@media 
(-webkit-min-device-pixel-ratio: 1.5), 
(min-resolution: 144dpi){ 
    /* Retina-specific stuff here */
}

.menupercorso { overflow: hidden; width: 100%;}
center a:visited {
    color: #ced8e4;
}

#switch-train, #switch-bus {cursor: pointer; }
.noswitch { opacity: 0.35; }

.mostra_dettagli {
    border: 1px solid #bbb;
    padding: 5px 10px;
    float: left;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    color: #47aa42;
}
.mostra_dettagli:hover { background-color: #47aa42; color: #fff; }

tr.dettagli { line-height: 20px; }
.dettagli div {    
	margin-left: 20px;
    border-left: 5px solid #47aa42;
    padding-left: 20px;
}

.scheda-lavori .gallery-icon.landscape, .scheda-lavori .gallery-icon.portrait {
    border: none;
    padding: 5px;
    margin-bottom: 5px;
}
.scheda-lavori div.gallery {
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100%;
}
.scheda-lavori .entry-content .scheda-content {
    width: 100%;
    max-width: 100%;
}

.scheda-lavori .entry-content .gallery-item {
    margin: 0px !important;
}

.headbox {
    position: absolute;
    z-index: 3;
    padding: 0px 10px;
    font-size: 14px;
    background-color: rgb(10 103 17);
    color: #fff;
    right: 12px;
    font-weight: 800;
}

.type-ammtrasparente td, .type-ammtrasparente th {
    padding: 20px;
}

.type-ammtrasparente table {
    font-size: 15px;
    line-height: 17px;
}

.vc_message_box a {
	color: #47aa42 !important;
}

figure.gallery-item {
    padding: 10px !important;
}