/*
Theme Name:         FoundationPress
Theme URI:          http://foundationpress.olefredrik.com
Github Theme URI:   https://github.com/olefredrik/FoundationPress
Description:        FoundationPress is a WordPress starter theme based on Foundation 5 by Zurb
Version:            1.5.1
Author:             Ole Fredrik Lie
Author URI:         http://olefredrik.com/

License:            MIT License
License URI:        http://www.opensource.org/licenses/mit-license.php
*/

/* ----------------------------------------------------------------------------

  Unfortunately WordPress will require a style.css file
  located in the theme's root folder for stuff to work.

  However, we will not be using vanilla CSS. We're using Sass.

  Sass is a superset of CSS that adds in amazing features
  such as variables, nested selectors and loops. It's also
  the easiest way to customize Foundation.

  All Sass files are located in the /assets/scss folder.
  Please note that none of your scss files will be compiled to /stylesheets/foundation.css before you run
  'npm run watch' or 'npm run build'.

  Please read the README.md file before getting started. More info on how
  to use Sass with Foundation can be found here:
  http://foundation.zurb.com/docs/sass.html

  If you for some reason would like to write plain css instead of using Sass,
  you could just enqueue this file (style.css) to the header and add your styles in this file

---------------------------------------------------------------------------- */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,800,700,400);

@font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 700;
    src: local('Bree Serif Bold'), url('assets/fonts/BreeSerif-Bold.otf') format('opentype'),
        url('assets/fonts/BreeSerif-Bold.woff') format('woff'),
        url('assets/fonts/BreeSerif-Bold.ttf') format('truetype'),
        url('assets/fonts/BreeSerif-Bold.svg') format('svg');
}
@font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 400;
    src: local('Bree Serif'), url('assets/fonts/BreeSerif.otf') format("opentype"),
        url('assets/fonts/BreeSerif.woff') format('woff'),
        url('assets/fonts/BreeSerif.ttf') format('truetype'),
        url('assets/fonts/BreeSerif.svg') format('svg');
}



/*______________body_general______________*/
#twitter-feed-PG_Italia .fts-tweeter-wrap { min-width: 330px; }
.contain-to-grid .top-bar,
.top-bar-social-stripe,
#footer-container #footer {
    max-width: 1440px;
    padding: 0 100px;
    margin: 0 auto;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.row {
    max-width: none;
    padding: 0 100px;
}

.color-blue {
    color: #0070B6 !important;
}

.color-white {
    color: #FFF !important;
}

.page-header {
    height: 245px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*______________header______________*/

.menu-button {
    position: absolute;
    top: 27px;
    right: 30px;
    height: 45px;
    width: 45px;
    z-index: 999;
    border: 1px solid #fff;
    border-radius: 10px;
}

.menu-button a {
    outline: none;
}

.contain-to-grid {
    background: transparent;
}

.top-bar-social-stripe {
    position: relative;
    background: #DA251D;
    height: 100px;
    font-family: 'Open Sans', sans-serif;
}

.top-bar-social-stripe > .columns {
    text-align: center;
    margin: 25px 0;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    font-weight: 700;
}

.top-bar-social-stripe > .with-separator {
    border-left: 2px solid rgba(255, 255, 255, 0.5);
}

.top-bar-social-stripe .fa {
    line-height: inherit;
}

.fa-twitter {
    font-size: 25px;
}

.fa-facebook {
    font-size: 22px;
}

.top-bar {
    background: #0070B6;
    height: 50px;
}

.top-bar-bg-logo {
    position: absolute;
    top: 0;
    right: calc(17% + 700px);
    width: 35%;
    height: 200px;
    background: url('assets/images/bg-logo.png') no-repeat;
    background-size: contain;
    z-index: 33;
}

.top-bar-logo {
    position: absolute;
    top: 31px;
    right: 22.5%;
    width: 35%;
    height: 143px;
    background: url('assets/images/gmg-logo.png') no-repeat;
    background-size: contain;
    z-index: 44;
}

.half-line-height {
    line-height: 25px !important;
}

/*______________navbar______________*/

.title-area > .name {
    display: none;
}

.top-bar-menu {
    float: right !important;
}

.off-canvas-list li > a,
.top-bar-menu li > a {
    font-family: 'Bree Serif', serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    line-height: 50px !important;
    padding: 0px 1.2rem !important;
    background: #0070B6 !important;
}

.off-canvas-list li > a:hover,
.top-bar-menu li > a:hover {
    background: #015B93 !important;
}

.top-bar-menu li.active > a {
    font-weight: bold !important;
}

.top-bar-menu > .divider {
    display: none;
}

.top-bar-section .has-dropdown > a {
    padding-right: 0.9375rem !important;
}

.top-bar-section .has-dropdown > a:after {
    display: none;
}

.top-bar-container {
    margin-bottom: 0;
}


/*______________skyline______________*/

@keyframes horizontal-scroll {
    0% { background-position: left bottom; }
    50% { background-position: right bottom; }
    100% { background-position: left bottom; }
}
@-moz-keyframes horizontal-scroll {
    0% { background-position: left bottom; }
    50% { background-position: right bottom; }
    100% { background-position: left bottom; }
}
@-webkit-keyframes horizontal-scroll {
    0% { background-position: left bottom; }
    50% { background-position: right bottom; }
    100% { background-position: left bottom; }
}
@-ms-keyframes horizontal-scroll {
    0% { background-position: left bottom; }
    50% { background-position: right bottom; }
    100% { background-position: left bottom; }
}
@-o-keyframes horizontal-scroll {
    0% { background-position: left bottom; }
    50% { background-position: right bottom; }
    100% { background-position: left bottom; }
}


@keyframes floating {
    0% { transform: translate(0,0); }
    50% { transform: translate(0,-20px); }
    100% { transform: translate(0,0); }
}
@-moz-keyframes floating {
    0% { transform: translate(0,0); }
    50% { transform: translate(0,-20px); }
    100% { transform: translate(0,0); }
}
@-webkit-keyframes floating {
    0% { transform: translate(0,0); }
    50% { transform: translate(0,-20px); }
    100% { transform: translate(0,0); }
}
@-ms-keyframes floating {
    0% { transform: translate(0,0); -ms-transform: translate(0,0); }
    50% { transform: translate(0,-20px); -ms-transform: translate(0,-20px); }
    100% { transform: translate(0,0); -ms-transform: translate(0,0); }
}
@-o-keyframes floating {
    0% { transform: translate(0,0); }
    50% { transform: translate(0,-20px); }
    100% { transform: translate(0,0); }
}

#skyline {
    height: calc(100vh - 150px); /*barre superiori*/
    background: linear-gradient(#0070B6, #FFF);
    position: relative;
}

#skyline > #animation-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#skyline > #animation-container > #cracovia {
    background: url('assets/images/skyline-cracovia.png') no-repeat left bottom;
    height: 310px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.cracovia-anim {
    animation: horizontal-scroll 40s linear infinite;
    -moz-animation: horizontal-scroll 40s linear infinite;
    -webkit-animation: horizontal-scroll 40s linear infinite;
    -ms-animation: horizontal-scroll 40s linear infinite;
    -o-animation: horizontal-scroll 40s linear infinite;
}

#skyline > #animation-container > #nuvole {
    background: url('assets/images/nuvole.png') no-repeat left bottom;
    height: 112px;
    width: 150%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 200px;
}

.nuvole-anim {
    animation: horizontal-scroll 40s linear infinite;
    -moz-animation: horizontal-scroll 40s linear infinite;
    -webkit-animation: horizontal-scroll 40s linear infinite;
    -ms-animation: horizontal-scroll 40s linear infinite;
    -o-animation: horizontal-scroll 40s linear infinite;
}

#skyline > #animation-container > #mongolfiera {
    background: url('assets/images/mongolfiera.png') no-repeat;
    height: 97px;
    width: 62px;
    position: absolute;
    right: 200px;
    bottom: 250px;
}

.mongolfiera-anim {
    animation: floating 10s linear infinite;
    -moz-animation: floating 10s linear infinite;
    -webkit-animation: floating 10s linear infinite;
    -ms-animation: floating 10s linear infinite;
    -o-animation: floating 10s linear infinite;
}

#skyline > #animation-container > #nightlayer {
    background: rgba(0, 5, 12, .8);
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
}

#skyline > #animation-container > #nightlight {
    background: url('assets/images/nightlight.png') no-repeat left bottom;
    height: 191px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 23px;
}

.nightlight-anim {
    animation: horizontal-scroll 40s linear infinite;
    -moz-animation: horizontal-scroll 40s linear infinite;
    -webkit-animation: horizontal-scroll 40s linear infinite;
    -ms-animation: horizontal-scroll 40s linear infinite;
    -o-animation: horizontal-scroll 40s linear infinite;
}

.cracovia-fix-ie {
    animation: horizontal-scroll 40s linear infinite !important;
    -ms-animation: horizontal-scroll 40s linear infinite;
}
.nuvole-fix-ie {
    animation: horizontal-scroll 40s linear infinite !important;
    -ms-animation: horizontal-scroll 40s linear infinite;
}
.mongolfiera-fix-ie {
    animation: floating 10s linear infinite !important;
    -ms-animation: floating 10s linear infinite;
}
.nightlight-fix-ie {
    animation: horizontal-scroll 40s linear infinite !important;
    -ms-animation: horizontal-scroll 40s linear infinite;
}

.header-carousel {
    position: absolute;
    top: calc(40% - 100px);
}

.header-carousel .slick-dots {
    bottom: 5px;
    right: -100px;
}

.header-carousel h2 {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Open Sans', sans-serif;
    font-size: 46px;
    font-weight: 800;
    margin: 0;
    padding: .3rem 1.5rem;
}

.header-carousel p {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    margin: 0;
    padding: 0 1.5rem;
}

.header-carousel .button-link-small,
.header-carousel .button-link-small:hover {
    margin: .5rem 1.5rem 0;
    border: 1px solid #fff;
    color: #fff;
}


/*______________countdown______________*/

#countdown {
    background: #DA251D;
}

#countdown-gmg-logo {
    height: 39px;
    width: 273px;
    background: url('assets/images/GMG-2016.png');
    margin: 2rem 0;
}

.countdown-description {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 2.5rem;
}

#circle-countdown {
    margin-top: 10px;
    padding: 0 auto;
    width: 100%;
}


/*______________body_homepage______________*/

.section-home {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    font-family: 'Open Sans', sans-serif;
}

.section-title {
    font-family: 'Bree Serif', serif;
    font-weight: bold;
    font-size: 32px;
    margin: 0;
}

.section-description {
    margin: .5rem 0 1.5rem;
}

#altrenotizie-home {
    background: #0070B6;
}

#altrenotizie-home .link {
    font-size: 22px;
    line-height: 45px;
}

#contatti-home {
    background: #E5F5FA;
}


/*______________notizie______________*/

.altranotizia {
    margin-top: 3rem;
}

.altranotizia > .image {
    background-size: cover;
    height: 150px;
}

.altranotizia > .data {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-style: italic;
    color: #4E4E4E;
    padding: .5rem 0;
}

.altranotizia > .title {
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-overflow: ellipsis;
    overflow: hidden;
}

.altranotizia > .content {
    font-family: 'Open Sans', sans-serif;
    text-align: justify;
    color: #4E4E4E;
    padding: .5rem 0;
}

.altranotizia > .button-link-small {
    margin-top: 2rem;
}


/*______________iscrizioni______________*/

#iscrizioni-home {
    background: #F3F4F4;
}

.iscrizioni-plan {
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    background: #fff;
    overflow: hidden;
    position: relative;
}

.iscrizioni-plan > h4 {
    display: block;
    line-height: 65px;
    font-family: 'Bree Serif', serif;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.iscrizioni-plan > h6 {
    font-family: 'Open Sans', sans-serif;
    padding: .9rem 1.2rem .5rem;
    margin: 0;
    font-weight: bold;
    color: #4E4E4E;
}

.iscrizioni-plan > p {
    padding: 0 1.2rem 1.3rem;
    color: #4E4E4E;
}

.iscrizioni-plan > .separator {
    margin: 0 1.2rem;
    border-bottom: 1px solid #ddd;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 70px;
}

.iscrizioni-plan > .button-link-small {
    display: block;
    margin: 1.3rem auto;
}

.plan-blue > h4 {
    background: #0070B6;
}

.plan-blue > .button-link-small:hover {
    border-color: #0070B6;
    color: #0070B6;
}

.plan-yellow > h4 {
    background: #EE9814;
}

.plan-yellow > .button-link-small:hover {
    border-color: #EE9814;
    color: #EE9814;
}

.plan-red > h4 {
    background: #DA251D;
}

.plan-red > .button-link-small:hover {
    border-color: #DA251D;
    color: #DA251D;
}


/*______________multimedia______________*/

#multimedia-home {
    background: #015B93;
}

.media-carousel {
    background: #015B93;
    margin: 0;
    padding-bottom: 5rem;
}

.media-container {
    height: 200px;
}

.media-container a {
    display: block;
    height: 100%;
    width: 100%;
}

.media-container img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.media-carousel > .slick-prev,
.media-carousel > .slick-next {
    height: 128px;
    width: 64px;
    z-index: 69;
    top: 30%;
}

.media-carousel > .slick-prev {
    left: 0;
}

.media-carousel > .slick-next {
    right: 0;
}

.media-carousel > .slick-next:before {
    content: url('assets/images/freccia-gallery-dx.png');
    opacity: 1;
}

.media-carousel > .slick-prev:before {
    content: url('assets/images/freccia-gallery-sx.png');
    transform: none;
    opacity: 1;
}


/*______________sussidi______________*/

#sussidi-home {
    background: #EE9814;
}

.sussidio-item {
    height: 450px;
    overflow: hidden;
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    background: #fff;
    overflow: hidden;
    color: #4E4E4E;
    position: relative;
}

.sussidio-image-container {
    position: absolute;
    padding: 0;
    top: 0;
    bottom: 0;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
}

.sussidio-item h3 {
    font-family: 'Open Sans', sans-serif;
    padding: .9rem .5rem 1.2rem;
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    color: #EE9814;
}

.sussidio-item p {
    padding: 0 .5rem;
    font-size: 18px;
    color: #4E4E4E;
}

.sussidio-item .button-link-big {
    margin: 4rem .5rem 1rem;
}


/*______________esplorasito______________*/

#esplorasito {
    background: #E5F5FA;
}
/*
.esplorasito-container {
    display: flex;
}

.esplorasito-container > article {
    flex: 1 1 auto;
    align-items: stretch;
}
*/
.esplorasito-section {
    height: 100%;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    background: #fff;
    overflow: hidden;
    color: #4E4E4E;
}

.esplorasito-section > h4 {
    font-family: 'Open Sans', sans-serif;
    padding: .9rem 1.2rem .5rem;
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #4E4E4E;
}

.esplorasito-section > p {
    padding: 0 1.2rem;
    color: #4E4E4E;
}

.esplorasito-section > .button-link-small {
    margin: 0 0 1.2rem 1.2rem;
}

.esplorasito-section > .header-image {
    width: 100%;
    height: auto;
}


/*______________skyline-footer______________*/

#skyline-footer:before {
    content: '';
    height: 150px;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    background: url('assets/images/skyline-footer.png') no-repeat center bottom, #E5F5FA;
}

#skyline-footer {
    position: relative;
    height: 300px;
    background: #C9DEE6;
}


/*______________footer______________*/

#footer-container #footer {
    background: #4E4E4E;
}

#copyright {
    background: #4E4E4E;
    color: #E4E4E4;
    line-height: 50px;
    padding: 0 1rem;
}

#footer-container {
    margin: 0;
    border: none;
}

#footer-container #footer {
    padding-bottom: 0;
}


/*______________button_link______________*/

.button-link-small {
    width: 120px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    border: 1px solid #4E4E4E;
    color: #4E4E4E;
}

.button-link-small:hover {
    border-color: #0070B6;
    color: #0070B6;
}

.button-link-big {
    width: 155px;
    height: 40px;
    line-height: 40px;
    border-radius: 25px;
    font-size: 18px;
    text-align: center;
    display: inline-block;
    border: 1px solid #4E4E4E;
    color: #4E4E4E;
}

.button-link-big:hover {
    border-color: #EE9814;
    color: #EE9814;
}


/*______________single/archive/page______________*/

.main-single,
.main-archive,
.main-page {
    background: #F3F4F4;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.secondary-single {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.article-thumbnail {
    background-size: cover;
    height: 200px;
    margin: 0 auto .8rem;
}

.article-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-style: italic;
    color: #4E4E4E;
}

.article-title > .entry-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
}

.article-title > .entry-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
}

.article-content {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    text-align: justify;
    color: #4E4E4E;
}

.other-excerpt {
    font-family: 'Open Sans', sans-serif;
    color: #4E4E4E;
    font-size: 14px;
}

.main-single .article-content {
    margin-top: 3rem;
}

.children-pages {
    margin-top: 2rem;
}

.children-pages > h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #4E4E4E;
}

.children-pages > ol {
    margin: 0;
    margin-top: 1rem;
}

.children-pages > ol > li {
    list-style-type: none;
}

.breadcrumbs-custom {
    margin: .5rem 0;
}

.sharesocialicon {
    background-size: contain;
    height: 40px;
    width: 40px;
    margin: .5em 1em;
    display: inline-block;
}

.article-content img {
    display: block;
}

.alignleft, img.alignleft {
    float: left;
    margin: .5em 2em 1.5em 0;
}
.alignright, img.alignright {
    float: right;
    margin: .5em 0 1.5em 2em;
}
.aligncenter, img.aligncenter {
    display: block;
    margin: .5em auto 1.5em;
}

/*______________contactform______________*/

.wpcf7-form input,
.wpcf7-form input:focus,
.wpcf7-form textarea,
.wpcf7-form textarea:focus {
    font-family: 'Open Sans', sans-serif;
    border: 0;
    background: #C9DEE6;
    color: #0070B6;
    border-radius: 10px;
    box-shadow: none;
    font-size: 1.1rem;
    padding: .8rem;
    height: auto;
}

.wpcf7-form textarea {
    resize: none;
    height: 12rem;
}

.wpcf7-form input[type=submit] {
    color: #E5F5FA;
    background: #0070B6;
    width: 100%;
    font-weight: bold;
}

.wpcf7-form .acceptance-box {
    line-height: 50px;
    padding: 0 .8rem;
}

div.wpcf7 {
    float: right;
    margin-top: 2.5rem;
}

.iscr_newsletter {
    text-align: right;
    line-height: 2.5;
}

.iscr_newsletter h4 {
    font-weight: bold;
    margin: 0px;
    font-size: 20px;
    color: inherit;
    display: inline;
}




/*  VERSIONE GIUBILEO RAGAZZI */

.header-carousel_giubileo_ragazzi{
    width: 100%;
    height: 100%;
}

#skyline_giubileo_ragazzi{
    height: calc(100vh - 150px); /*barre superiori*/
    position: relative;
}

.slide_gmg_gr{ 
    background-size: cover !important; 
    background-position: center center; 
    background-repeat: no-repeat; 
    height: calc(100vh - 150px);
    z-index: 0;
}
.header-carousel_giubileo_ragazzi h2 {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    text-overflow: ellipsis;
    font-family: 'Open Sans',sans-serif;
    font-size: 30px;
    font-weight: 800;
    margin: 0;
    padding: .3rem 1.5rem;
    max-height: 95px;
    overflow: hidden;
    position: relative;
}




.header-carousel_giubileo_ragazzi p{
    font-family: 'Open Sans',sans-serif;
    font-size: 22px;
    margin: 0;
    padding: 0 1.5rem;
}

.header-carousel_giubileo_ragazzi .button-link-small, .header-carousel_giubileo_ragazzi .button-link-small:hover {
    margin: .5rem 1.5rem 0;
    border: 1px solid #fff;
    color: #fff;
}

.header-carousel_giubileo_ragazzi {
    margin-bottom: 0px;
    background: #C2261D;
}

.header-carousel_giubileo_ragazzi .slick-dots {
    bottom: 56px;
    left: 407px;
    position: relative;
    width: 50%;
}
.header-carousel_giubileo_ragazzi .slick-prev{
    z-index: 999 !important;
    bottom: 10% !important;
    top: inherit;
}
.header-carousel_giubileo_ragazzi .slick-next{
    z-index: 999 !important;
    bottom: 9% !important;
    top: inherit;
}

.header-carousel_giubileo_ragazzi .slick-prev{ left: 12%; }
.header-carousel_giubileo_ragazzi .slick-next{ right: 16%; }
.slide_gmg_gr_content{     
    position: absolute;
    padding-top: 10%;
    padding-bottom: 2%;
    bottom:0px;
    max-width: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0, 0)), color-stop(55%, rgba(0,0,0, 0.8)), color-stop(80%, rgba(0,0,0, 0.7)));
    background: -webkit-linear-gradient(top, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 55%, rgba(0,0,0, 0.7) 80%);
    background: linear-gradient(to bottom, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 55%, rgba(0,0,0, 0.7) 80%);
}

.slide_gmg_gr_content_wrapper{
    margin-left: 16%;
    max-width: 65%;
}

.slide_gmg_gr_cover{
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0, 0)), color-stop(100%, rgba(0,0,0, 0.8)), color-stop(80%, rgba(0,0,0, 0.7)));
    background: -webkit-linear-gradient(top, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 100%, rgba(0,0,0, 0.7) 80%);
    background: linear-gradient(to bottom, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 100%, rgba(0,0,0, 0.7) 80%);

}

.columns_notizie_gmg { padding-left: 0px; padding-right: 0px; }
.media-container-gmg-gv{ background-size: cover !important; background-position: center center; background-repeat: no-repeat; position:relative; }
.media-container-gmg-gv h5 { position: absolute; bottom: 0px;
                             background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0, 0)), color-stop(55%, rgba(0,0,0, 0.8)), color-stop(80%, rgba(0,0,0, 0.7)));
                             background: -webkit-linear-gradient(top, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 55%, rgba(0,0,0, 0.7) 80%);
                             background: linear-gradient(to bottom, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 55%, rgba(0,0,0, 0.7) 80%);
                             color: #fff;
                             margin-bottom: 0px;
                             padding: 15px;
                             width: 100%;
                             font-size: 15px;
                             font-weight: bold;
}



span.media_player_icon_gmg {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url("assets/images/play-gmg.png") no-repeat;
    background-position: 50% 50%;
    background-size: 150%;
}

span.gallery_icon_gmg{
    width: 100%;
    height: 100%;
    position: absolute;
    background: url("assets/images/gallery-gmg.png") no-repeat;
    background-position: 50% 50%;
    background-size: 120%; 
}

.categorie_notizie_gmg {
    margin-bottom: 5px;
}

.categorie_notizie_gmg a{
    color: #C2261D;
    font-weight: bold;
}

.iscrizione_newsletter_gmg{
    margin-top: -30px;
}

.countdown-description-gmg-gv {
    margin-top: -10px;
}

.button-link-newsletter {
    height: 40px;
    line-height: 40px;
    border-radius: 25px;
    font-size: 18px;
    text-align: center;
    display: inline-block;
    color: #DA251D;
    background: #fff;
    padding: 0px 20px;
    transition: .3s;
    border: 2px solid #fff;
}

.button-link-newsletter:hover {
    background: #DA251D;
    color: #fff;
    border: 2px solid #fff;
}



.icona_newsletter_gmg{
    color: #fff;
    font-size: 50px;
    margin-right: 20px;
    top: 8px;
    position: relative;
}

.circle-countdown-gmg-gv{
    margin-top: 45px !important;
}
.post_from_mediacei_image{
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat;
    height: 200px;
}

.post_from_mediacei{
    padding-left: .9375rem;
    padding-right: .9375rem;

}

.post_from_mediacei h2{
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #0070B6 !important;
}

.post_from_mediacei p{
    font-family: 'Open Sans', sans-serif;
    text-align: justify;
    color: #4E4E4E;
    padding: .5rem 0;
}

.post_from_mediacei  .data {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-style: italic;
    color: #4E4E4E;
    padding: .5rem 0;
}

.notizie_gmg_mediacei{
    padding-top: 1rem;
    padding-bottom: 2.8rem;
    background: #015B93;
    margin-bottom: 0px;
}

.notizie_gmg_mediacei .post_from_mediacei_wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
}

.notizie_gmg_mediacei .slick-arrow{

}
.notizie_gmg_mediacei .slick-prev{
    left: 0px !important;
}

.notizie_gmg_mediacei .slick-next{
    right: 27px !important;
}

.notizie_gmg_mediacei .slick-prev:before{
    content: url('assets/images/freccia-gallery-sx.png');
    transform: none;
    opacity: 1;
}
.notizie_gmg_mediacei .slick-next:before{
    content: url('assets/images/freccia-gallery-dx.png');
    transform: none;
    opacity: 1;
}

.logo_fonte_feed img{ 
    max-height: 39px;
    margin-bottom: 10px;
}
#gmg_social_feed_home{ background:#DCDCDB; }
#gmg_social_feed_home .slick-dots{
    position: relative !important;
    top: -75px !important;
}
#gmg_social_feed_home .gmg_feed_instagram .slick-dots{ top: -15px !important; }
#gmg_social_feed_home .slick-dots button:before{
    color: #0070B6;
}

#gmg_social_feed_home .tweeter-info .right{
    padding: 0px !important;
}

.gmg_feed_facebook h4,
.gmg_feed_twitter h4,
.gmg_feed_instagram h4{ 
    display: block;
    line-height: 65px;
    font-family: 'Bree Serif', serif;
    font-weight: bold;
    text-align: center;
    margin: 0;
}
.gmg_feed_facebook h4{ 
    background:#3B599B; 
}
.gmg_feed_twitter h4{
    background:#1DA1F2; 
}
.gmg_feed_instagram h4{
    background:#9C4814; 
}

.gmg_feed_facebook,
.gmg_feed_twitter,
.gmg_feed_instagram{
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    background: #fff;
    overflow: hidden;
    position: relative;

}
.gmg_feed_twitter div[aria-live="polite"], 
.gmg_feed_facebook div[aria-live="polite"]{
    height: 540px;
}

.gmg_feed_twitter .fts-twitter-reply-wrap{
    width: 100% !important;
}
.gmg_feed_twitter .fts-twitter-reply-wrap a{ 
    opacity: 1 !important;
    text-align: right;
    font-size: 12px;
    margin-top: 3px;
}

.gmg_feed_twitter .slick-dots{
    margin-top: 4px !important;
}

.gmg_feed_instagram .slick-dots{
    margin-top: -8px !important;
}

.gmg_feed_twitter .fts-twitter-reply:before{
    margin-right: 5px;
}

#gmg_social_home {
    background:#DA251D; 
}

.gmg_feed_facebook .fts-jal-single-fb-post,
.gmg_feed_twitter .tweeter-info,
.gmg_feed_instagram .fts-jal-fb-top-wrap{
    padding: 15px !important;
}

#twitter-feed-PG_Italia,
.fts-jal-fb-group-display{
    overflow: hidden;
    height: 505px;
}
#twitter-feed-PG_Italia .slick-list { height: 440px !important;}
#twitter-feed-PG_Italia .slick-slide[data-slick-index="0"] {top: 25px !important; position: relative;}
#twitter-feed-PG_Italia .slick-dots { top: 25px !important; }
#twitter-feed-PG_Italia .fts-twitter-reply { margin: 10px 0px !important; }
#gmg_social_feed_home div{overflow-y:hidden; overflow-x:hidden; font-size: 12px;} 
#temp_gmg_gallery { display: none; }

#gmg_social_feed_home .fts-jal-fb-right-wrap { height: 400px;}


.gmg_vg_loader{
    width:100%;
    height:100vh;
    position: fixed;
    top:0px;
    left:0px;
    background: rgba(0,0,0,0.7);
    z-index: 9999999;
    display: none;
}

.gmg_vg_spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 0px auto;
    top: 50%;
    transform: translateY(-50%);
}

.gmg_vg_double-bounce1, .gmg_vg_double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ccc;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;

    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.gmg_vg_double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.multimedia_home_gmg_vg {
    padding-top: 40px;
}

article.post_tende{ float: left !important;}

.sussidio-item-gmg-giovani { height: 550px; }
.sussidio-item-gmg-giovani .sussidio-image-container { position: relative !important; height: 220px;}



.gmg_vg_tende .tenda_piccola { margin-top: 30px; float: left !important; }
.gmg_vg_tende .gmg_vg_mappa_tende div{ height: 500px; background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important;}
.gmg_vg_tende .tenda_grande_wrapper { 
    height: 100%;
}
.gmg_vg_tende .tenda_piccola_wrapper { 
    height: 100%;
}
.gmg_vg_tende .tenda_grande_container{  height: 440px;  box-shadow: 0 2px 2px rgba(0, 0, 0, .2);}
.gmg_vg_tende .tenda_piccola_container { height:250px;box-shadow: 0 2px 2px rgba(0, 0, 0, .2); }
.gmg_vg_tende .tenda_piccola_content{
    position: relative;
    height: 100%;
    bottom: 0px;
    width: 100%;
    color: #fff;
    padding: 30px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0, 0)), color-stop(100%, rgba(0,0,0, 0.8)), color-stop(80%, rgba(0,0,0, 0.7)));
    background: -webkit-linear-gradient(top, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 100%, rgba(0,0,0, 0.7) 80%);
    background: linear-gradient(to bottom, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 100%, rgba(0,0,0, 0.7) 80%)
}

.gmg_vg_tende .tenda_piccola_content_wrap {
    position: absolute;
    bottom: 40px;
    width: 85%;
}

.gmg_vg_tende .tenda_grande_content{
    position: relative;
    bottom: -175px;
    width: 100%;
    color: #fff;
    padding: 40px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0, 0)), color-stop(55%, rgba(0,0,0, 0.8)), color-stop(80%, rgba(0,0,0, 0.7)));
    background: -webkit-linear-gradient(top, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 55%, rgba(0,0,0, 0.7) 80%);
    background: linear-gradient(to bottom, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.8) 55%, rgba(0,0,0, 0.7) 80%);
}

.gmg_vg_tende .tenda_piccola_content h3,
.gmg_vg_tende .tenda_grande_content h2 { color:#fff; font-weight: bold;}

.gmg_vg_tende .tenda_piccola_content h3 { font-size: 22px;}

.gmg_vg_tende .tenda_piccola_content .button-link-small,
.gmg_vg_tende .tenda_grande_content .button-link-small { color: #fff; border-color: #fff; }

.tenda_grande_category_main,
.tenda_piccola_category_main {margin-top: 0px; position: relative; text-align: center; padding: 20px 0px;-webkit-border-top-left-radius: 20px;
                              -webkit-border-top-right-radius: 20px;
                              -moz-border-radius-topleft: 20px;
                              -moz-border-radius-topright: 20px;
                              border-top-left-radius: 20px;
                              border-top-right-radius: 20px; 
                              box-shadow: 0 2px 2px rgba(0, 0, 0, .2); 
}
.tenda_grande_category_main a,
.tenda_piccola_category_main a { color: #fff; font-weight: bold;}

.button-tende { width: auto !important; height: auto !important; padding: 5px 20px !important;    background: #0070B6;
                color: #fff;
                border-color: #0070B6; }
.button-tende:hover { color: #fff; }
@-webkit-keyframes sk-bounce {
    0%, 100% { -webkit-transform: scale(0.0) }
    50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
    0%, 100% { 
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 50% { 
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}


/* VERSIONE GMG DIRETTA */

#skyline_gmg_diretta{
    height: calc(100vh - 150px); 
    position: relative;
}

.media-carousel-gm-gv { padding: 1rem 0 5rem 0; }
.media-carousel-gm-gv .slick-prev, .media-carousel-gm-gv .slick-next { margin-top: -35px !important;}
.media-carousel-gm-gv .slick-slide{ margin: 6px !important; }
.multimedia-home { background: #015B93; }
.media-carousel-title {
    font-family: 'Bree Serif', serif;
    color: #fff;
    text-align: center;
}

.media-carousel-title i { margin-right: 5px; }


/* diretta */
#skyline_gmg_diretta { background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important;}
#div_gmg_video_diretta #twitter-feed-PG_Italia { height: 75%;}
#div_gmg_video_diretta { height: calc(100vh - 250px); padding-top: 100px; }
#div_gmg_video_diretta .gmg_video_diretta { height: 100%;    border-radius: 0px 0px 10px 10px;
                                            overflow: hidden;
                                            padding: 0;}
#div_gmg_video_diretta .gmg_twitter_diretta { height: 100%; }
#div_gmg_video_diretta .gmg_twitter_diretta .gmg_feed_twitter { height: 100%; margin-top: 0px;}
#div_gmg_video_diretta .gmg_twitter_diretta .gmg_feed_twitter h4 { padding: 0px; }
#div_gmg_video_diretta .gmg_video_diretta h4{ padding: 0px;background: #DA251D;    display: block;
                                              line-height: 65px;
                                              font-family: 'Bree Serif', serif;
                                              font-weight: bold;
                                              text-align: center;
                                              margin: 0; 
                                              border-radius: 10px 10px 0px 0px;
}

#div_gmg_video_diretta .gmg_twitter_diretta ul.slick-dots{ position: relative !important; height: 30px; bottom: 45px !important;}
#div_gmg_video_diretta .gmg_twitter_diretta .slick-dots li button:before { color: #0070B6;}
#div_gmg_video_diretta #twitter-feed-PG_Italia .slick-slide { top: 16px !important; }



/* HOMEPAGE VERSIONE EVENTO */

ul.list_social_topbar { list-style: none; padding: 0px;     margin: 0; margin-top: 10px;}
ul.list_social_topbar li { display: inline-block; margin: 0px 15px; }
ul.list_social_topbar li .fa-youtube { font-size: 22px; }

#skyline_giubileo_ragazzi_evento,
#skyline_giubileo_ragazzi_evento .slick-initialized .slick-slide { height: 50vh; }
#skyline_giubileo_ragazzi_evento .slick-list { max-height: 100%; }

#skyline_giubileo_ragazzi_evento .slide_gmg_gr_content_wrapper { position: relative; top: -60px; }
#skyline_giubileo_ragazzi_evento .header-carousel_giubileo_ragazzi .slick-next { bottom: 14% !important; }
#skyline_giubileo_ragazzi_evento .header-carousel_giubileo_ragazzi .slick-prev { bottom: 16% !important; }
#skyline_giubileo_ragazzi_evento .slide_gmg_gr_content {    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0,0,0, 0)), color-stop(55%, rgba(0,0,0, 0.4)), color-stop(80%, rgba(0,0,0, 0.5)));
                                                            background: -webkit-linear-gradient(top, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.4) 55%, rgba(0,0,0, 0.5) 80%);
                                                            background: linear-gradient(to bottom, rgba(0,0,0, 0) 0%, rgba(0,0,0, 0.4) 55%, rgba(0,0,0, 0.5) 80%); }
#skyline_giubileo_ragazzi_evento #notizie-home { padding-top: 10px; }

.gmg_video_diretta_popup{
    margin-top: 1rem;
    border-radius: 10px;
    /*
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    background: #fff;
    */
    overflow: hidden;
    position: relative;
}
.gmg_video_diretta_popup h4{ padding: 0px;background: #DA251D;    display: block;
                             line-height: 65px;
                             font-family: 'Bree Serif', serif;
                             font-weight: bold;
                             text-align: center;
                             margin: 0; 
                             border-radius: 10px 10px 0px 0px;
}

.gmg_news_diretta{
    margin-top: 1rem;
    border-radius: 10px;
    /*
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    background: #fff;
    */
    overflow: hidden;
    position: relative;
}
.gmg_news_diretta_wrapper h4{ padding: 0px;background: #FD9726;    display: block;
                              line-height: 65px;
                              font-family: 'Bree Serif', serif;
                              font-weight: bold;
                              text-align: center;
                              margin: 0; 
                              border-radius: 10px 10px 0px 0px;
}
.gmg_news_diretta_wrapper{
    background: #fff;
    height: 424px;
    border-radius: 10px 10px 0px 0px;
}


.gmg_twitter_diretta_popup .tweeter-info .right img { display: none; }
.gmg_twitter_diretta_popup #twitter-feed-PG_Italia { height: 360px; overflow-y: auto; }
ul.div_gmg_video_diretta_popup_list { padding: 15px; list-style: none;overflow-y: auto; max-height: 350px; }
ul.div_gmg_video_diretta_popup_list li { margin-bottom: 10px; line-height: normal;}
ul.div_gmg_video_diretta_popup_list li a {font-size: 16px; line-height: normal; font-weight: bold; font-family: 'Bree Serif', serif; }
ul.div_gmg_video_diretta_popup_list li p { line-height: normal;font-size: 13px; }

.news-sticker-container {
    height: 50px;
    background: #FD9726;
    line-height: 50px;
}
.gmg-news-sticker-label {
    background: #DA251D;
    color: #fff;
    font-family: 'Bree Serif', serif !important;
    text-align: center;
    font-size: 20px;
}  
.gmg-news-sticker a {
    color:#fff;
}

ul.gmg_diretta_notizie_lista {  margin-bottom: 0px !important; list-style: none;text-align: right; height: 50px; line-height: 50px; margin-right: 30px;  }

.gmg_evento_altranotizia_image {
    background-size: cover;
    height: 150px;
}
.notizie-home-evento { padding-top: 0px; }

.div-link-leggi-tutte-le-notizie {     text-align: center;
    display: block;
    width: 100%;
    float: left;
    margin: 40px 0px 0px 0px;
}
.link-leggi-tutte-le-notizie {    
  display: inline-block;
    width: auto;
    padding: 20px 30px;
    border-color: #0070B6;
    background: #0070B6;
    color: #fff;
    font-size: 18px;
    line-height: 0px;
}
.link-leggi-tutte-le-notizie:hover { color: #fff; }

.pagination-centered { text-align: center;}
.pagination-centered ul.pagination {
    list-style: none; 
}

.pagination-centered ul.pagination li{
    padding: 5px 12px;
    background: #0070B6;
    color: #fff;
    display: inline-block;
}
.pagination-centered ul.pagination li a { color: #fff; }
.pagination-centered ul.pagination li.current{
    padding: 5px 12px;
    background: #ffffff;
    color: #0070B6;
    border: 1px solid #0070B6;
}
.pagination-centered ul.pagination li.current a{ color: #0070B6; }


/*______________responsive______________*/

@media (max-width: 600px) {

    .news-sticker-container { height: 100px;}

    .top-bar-bg-logo {
        width:330px !important;
        left: -120px !important;
    }
    .gmg-news-sticker-label { text-align: right; }

    .hide-for-nano {
        display: none !important;
    }
    .header-carousel_giubileo_ragazzi h2 { font-size: 22px; }
    .header-carousel_giubileo_ragazzi p{ font-size: 15px; }
    .button-link-newsletter { font-size: 12px; }
    .post_from_mediacei { margin: 10px 0px;}
    .time_circles > div > h4 { padding: 20px; }
    .countdown-description { margin-top: 30px; }
    #skyline_gmg_diretta { height: 750px;}
    #div_gmg_video_diretta .gmg_twitter_diretta { padding: 0px; height: 260px; }
    #div_gmg_video_diretta .gmg_video_diretta { margin-bottom: 20px; height: 300px; }
    #div_gmg_video_diretta #twitter-feed-PG_Italia { height: 55%; }
    #twitter-feed-PG_Italia .fts-tweeter-wrap { min-width: 330px; }



}

@media (max-width: 520px) {
    .sussidio-image-container {
        display: none !important;
    }

    .header-carousel_giubileo_ragazzi .slick-dots {
        width: 100% !important;
        left: 0px !important;
        bottom: 40px !important;
    }
    .notizie_gmg_mediacei .slick-arrow{ display: none !important; }
}

@media (max-width: 1012px) {
    .socialicon {
        display: none !important;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {
    #skyline_gmg_diretta { height: 550px;}
    #div_gmg_video_diretta { width: 96%; height: 550px; }
    #div_gmg_video_diretta .gmg_twitter_diretta { padding: 0px; height: 300px; padding: 10px; width:40%;}
    #div_gmg_video_diretta .gmg_video_diretta { margin-bottom: 20px; height: 300px;padding:10px;width:60%;  }
    #div_gmg_video_diretta #twitter-feed-PG_Italia { height: 50%; }
}

@media (max-width: 1150px) {
    .contain-to-grid .top-bar,
    .top-bar-social-stripe {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .top-bar-bg-logo {
        right: auto;
        left: -150px;
        width: 400px;
    }
}

@media (max-width: 960px) {
    .row,
    #footer-container #footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header-carousel {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /*  VERSIONE GIUBILEO RAGAZZI */
    .header-carousel_giubileo_ragazzi .slide_gmg_gr_content{
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .header-carousel_giubileo_ragazzi .slick-arrow { display: none !important; }

    .slide_gmg_gr_content_wrapper {
        max-width: 100% !important;
        margin: 0 !important;
    }
    .header-carousel_giubileo_ragazzi .slick-dots {
        bottom: 70px;
        left: 237px;
    }
    .slide_gmg_gr_content {
        padding-bottom: 15%;
    }
}

@media (min-width: 1024px) {

    .top-bar-social-stripe.casa_italia_active{
        padding-right: 30px;
    }
    .large-offset-4.casa_italia_active{
            margin-left: 28%!important;
    }
    
    section.casa_italia_active .large-4.casa_italia_active {
        width:22%;
    }
}