﻿

#navbar.active .plus:before,
#navbar.active .plus:after,
.flyout .plus:before,
.flyout .plus:after {
    /*background-color: #00797c;*/
}

body .logo {
    left: 80px;
}


#clockdiv {
    font-family: 'Black Ops One', cursive;
    font-family: 'digital';
    color: #ed1c24;
    display: inline-block;
    text-align: center;
    font-size: 96px;
    font-weight: 400;
    line-height: 1;
}

#clocksection .captions {
    margin: 0 auto;
    display: inline-block;
    padding-left: 0px;
    color: #ed1c24;
}

#clocksection .container {
    /*max-width: 800px;
    background-color: black;*/
}


#clockdiv div > span {
    border-radius: 3px;
    display: inline-block;
    font-size: 90px;
    width:90px;
    text-align: center;
}
#clocksection .smalltext{
    color:#ed1c24;
}
.counter-area .container{
    padding-bottom:20px;
}
.box-hp {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.fullgridblock > div.newscontent {
    z-index: 999;
}

#banner-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;    
    background: rgba(23, 47, 68, 0.88);
}

    #banner-bottom img{
        width:100%; max-width:100%;
    }

    #footer {
        position: relative;
        width: 100%;
        height: 43px;
        bottom: 43px;
        background: rgba(75, 85, 87, 1.00);
        display: block;
        overflow: hidden;
        line-height: 18px;
    }

#footer:hover {
	height: 100px;
    transition: .2s;
    bottom: 82px;
}

body.home .contatti-section {
    position: initial !important;
    padding: 3px 8px 8px;
}

.bottom-arrow {
    background: #0e1e2e;
    display: block;
    text-align: center;
    bottom: 0;
    top: initial;
}

.social-img {
    margin-bottom: 30px; overflow:hidden;
}

    .social-img .img {
        transition: 1s;
        -webkit-transform: perspective(0px) scale3d(1, 1, 1) rotateY(0deg) rotateZ(0deg) translate(0,0);
        transform: perspective(0px) scale3d(1, 1, 1) rotateY(0deg) rotateZ(0deg) translate(0,0);
        margin: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        background-position:center center; background-size:cover;
    }
.ff-overlay-wrapper {
    position: relative;
    height: 100%;
    opacity: 0;
    font-size: 14px;
    line-height: 18px;
    top: -100%;
    color: rgba(76,76,76,0);
}

.box-sw a {
    color: #f1b300;
    color:#00797c;
}

.ff-content {
    /*position: absolute;*/
    /*top: 50%;
    transform: translateY(-50%);*/
}

.box-sw:hover .social-img .img {
    -webkit-transform: perspective(500px) scale3d(0.65, 0.65, 1) rotateY(-34deg) rotateZ(8deg) translate(0,0);
    transform: perspective(500px) scale3d(0.65, 0.65, 1) rotateY(-34deg) rotateZ(8deg) translate(0,0);
}
.box-sw { overflow:hidden;
}
    .box-sw:hover .ff-overlay-wrapper {
        opacity: 1;
        background: rgba(255,255,255,1.0);
        text-align: left;
        padding: 3%;
        transition: .2s;
        word-break: break-word;
        box-sizing: border-box;
        color: rgb(76,76,76);
    }

.ff-item-bar {
    position: absolute;
    width: 100%;
    bottom: 0; background-color:white;
    margin: 0;
    border-top: 1px solid rgba(229,226,220,0.4);
    padding: 5px;
    
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    height: 36px;
    text-align: left;
    clear: both;
    box-sizing: border-box;
}
    .ff-item-bar a {
        text-decoration: none !important;
    }
    .ff-item-bar i, .ff-item-bar span {
        padding-left: 5px;
        padding-right: 5px;
        color: #333 !important;
    }

     @media (max-width: 991px) {
        div .section.horizontal-split > div > div.text-left img {
        max-width: 100%;
        margin: 30px auto 120px;
        display: block;
    }

    div.section.horizontal-split img.ridemood-logo {
        max-width: 70%;
    }

    
    .social-container {
        max-width: 100% !important;
    }

}

@media (max-width: 767px) {

    p {
        font-size: 16px;
        line-height: 22px;
    }

    body .logo {
        left: 45px;
    }

    .fullgridblock {
        width: 100% !important;
    }
        

    .smalltext {
        font-size: 17px;
        width: 63px;
    }

    #clockdiv div > span {
        font-size: 70px;
        width:50px;
    }

    h1.big-subititle2 {
        font-size: 22px;
        padding: 15px;
    }

    h1.big-subititle3 {
        font-size:19px;
        padding: 15px;
    }

    div.section.horizontal-split > div > div.text-left img {
        margin-bottom: 30px;
    }

    .box-hp{
       max-width:70%; 
    }

    #footer {
        text-align: center !important;
    }

    #footer:hover {
	    height: 136px;
        bottom: 136px;
    }

    .ff-overlay-wrapper {
        font-size: 16px;
    }

    .h1, h1 {
        font-size: 18px;
    }


    section.counter-area {
      
        padding-bottom: 0px;
        padding-top: 0px;
    }

    #clockdiv {
        line-height: 48px;
    }
    #clocksection h1.big-subititle3, #clocksection h1.big-subititle2{
       margin-bottom:0px; margin-top:0px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {


    body .logo {
        left: 90px;
    }

    .fullgridblock {
        width: 50% !important;
    }

    /*#banner-bottom {
        height: 100px !important;
    }*/



}

@media(max-width:490px)
{

    #clockdiv div > span {
        font-size: 40px;
        width: 27px;
    }

    #clocksection .smalltext {
        font-size: 10px;
        width: 40px;
    }
}

@media (min-width: 991px) /*and (max-width: 1199px)*/ {
    
    body .logo {
        top: 26px;
    }

}


@media (min-width: 992px){
    div.section.horizontal-split > div > div img {
        max-width: 70%;
    }



    .ridemood-block-1{
        margin-top:20px; height:238px;
    }
    .ridemood-block-2 {
        height: 150px; text-align:center;
        display:table; width:100%;
    }
        .ridemood-block-2 a{
            display:table-cell;vertical-align:middle; margin-left:auto; margin-right:auto;}
        div.section.horizontal-split img.ridemood-logo {
            max-width: 80%;
        }

    body.fp-viewing-0-0 .logo {
        width: 200px;
    }

}

@media (max-width: 991px) {
    
}
.modal-open .modal.fade.in {
    background-color: rgba(105,105,105,0.4);
}
.modal-content{
    background-color:rgba(15,30,45,0.9);
}

.menu_item_press-room, .menu_item_sala-stampa {
    background-image: url('../img/lock2.png');
    background-repeat: no-repeat;
    background-size: auto 28px;
    background-position: right top;
    padding-left: 14px;
    margin-left: -14px;
    display: inline-block;
    padding-right: 10px;
}

.main-menu > li.menu_item_ticket-shop a {
    color: #f1b300;
}

    .main-menu > li.menu_item_ticket-shop a:hover {
        color: #00797c;
    }

    .main-menu > li.menu_item_sostenibilita a,
     .main-menu > li.menu_item_sustainability a  {
    color: #00797c;
}

    .main-menu > li.menu_item_sostenibilita a:hover,
    .main-menu > li.menu_item_sustainability a:hover {
        color: #f1b300;
    }

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('../img/pIkfp.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
   modal element will be visible */
    body.loading .modal {
        display: block;
    }

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('../img/pIkfp.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
   modal element will be visible */
    body.loading .modal {
        display: block;
    }

    
/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('../img/pIkfp.gif') 50% 50% no-repeat;
    background:none;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
   modal element will be visible */
    body.loading .modal {
        display: block;
    }
.sweet-overlay{
    z-index:100000;
}
.sweet-alert {
    z-index: 999999;
}

.fp-controlArrow.fp-next, .fp-controlArrow.fp-prev {  
    color: #ffffff;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block;
    font: normal normal normal 64px/1 FontAwesome;
    text-rendering: auto;
    line-height: 64px;
    width: 30px;
    height: 64px;
    text-align: center;
    margin-top: -32px !important;
    -webkit-font-smoothing: antialiased;
    transition:1s;
}
    .fp-controlArrow.fp-next:hover, .fp-controlArrow.fp-prev:hover {
        transition: 1s;
        color: #f1b300;
    }@media (min-width: 768px) {
        .fp-controlArrow.fp-next {
        right: 60px;
    }

    .fp-controlArrow.fp-prev {
        left: 60px;
    }
}
    .fp-controlArrow.fp-next::after {
        content: "\f105";
    }
    .fp-controlArrow.fp-prev::after {
        content: "\f104";
    }
@media(min-width:992px) {
    .news-pad {
        max-width:800px;
        margin-top:30px;
        text-align:justify;
        margin-left:auto;margin-right:auto; 
    }
}
.modal-dialog.modal-dialog-centered {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.modal-dialog-centered  .modal-content {
  margin: 0 auto;
  width:100%;
  max-width:500px;
}

.modal-content .close { color:#fff; opacity:1; margin-top:5px;
}


.content-page-eicma-for-kids .btn, .btn.small {
    line-height: 14px !important;
    padding: 6px 12px 8px 12px !important;
    margin: 0;
    min-width: unset;
    font-size: 14px !important;
    border-radius: 2px;
}

.bordo-giallo {
    border: 3px solid #f1b300;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #0e1e2e;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


#menu-main-menu {
    /*overflow-x: hidden!important;*/
    /*overflow-y: auto !important;*/
}

.footnote-button {
    cursor: pointer;
    white-space: nowrap;
    color:#f1b300;
    font-weight:bold;
}

.footnote-content {
    width: auto;
    max-width: 95%;
    font-size: .94em;
    z-index: 300;
    position: relative;
    margin: 0 auto .5em auto;
    padding: .19em .375em .23em .375em;
    color: #fff;
    background-color: #0e1e2e; border:1px solid #f1b300;
    text-align: left;    
    display: block;
}

.footnote-hidden {
    display: none;
}

#header .quick-icons li a {
    top: -10px;
}

    #header .quick-icons li a.lang {
        top: -5px;
    }

#header .quick-icons a.lang span {
    color: #fff;
    transition: all 0.6s ease-in-out;
    width: 46px;
    height: 46px;
    padding: 0px;
    display: inline-block;
    font-weight: 700;
    font-size: 17px;
    border: 3px solid #fff;
    line-height: 36px;
}

#header .quick-icons a.lang:hover span {
    border-color: #f1b300;
    color: #f1b300;
}

#header .quick-icons a.lang.selected span {
    border-color: #00797c;
    color: #00797c;
}

@media(max-width:991px){
    #header .quick-icons li a.lang {
        top: 4px;
    }
}
@media(max-width:767px) {
    #header .quick-icons li a.lang {
        top: 4px;
    }
    #header .quick-icons {
        right: 100px!important;
    }
}