.inherit {
    font:inherit!important;
    color:inherit!important;
    margin:0;
    padding:0;
}
.img-container {
    display:block;
    overflow:hidden;
    margin:0;
    padding:0;
    width:100%;
    text-align:center;
}
.img-container img {
    display:inline!important;
    width:auto!important;
    height:auto!important;
    max-width:100%;
}
.ff_ui_error, .ferryerrclass {
    background-color: #ffcccc!important;
    border-color: #ff9999!important;
}
.ff_ui_ok, .ferryokclass {}
.btn.btn-orange {
    color:#fff;
    background-color:#ff790d;
    border-color:#ff790d;
    text-transform: uppercase;
}
.btn.btn-orange:hover {
    color:#fff;
    background-color:#009add;
    border-color:#009add;
}
.azzurro_background .lista_porti a {color:#fff;}
#maincontainer .singola_rotta .subtitle {
    color: #00457f;
    text-align: left;
    font-size:1.3em;
    font-weight:500;
    border:none;
    line-height: 1.4;
}
.ferryfinder {position:relative;}
.ferryfinder.loading::after {
    content: '';
    display:block;
    overflow: hidden;
    margin:0; padding:0;
    background: transparent;
    position:absolute;
    top:0; bottom:0;
    left:0; right:0;
    width:100%; height:100%;
    z-index: 6000;
}
.ferryfinder.loading .btnload {
    background: transparent url('../img/ajax-bar.gif') center center no-repeat;
}
.ferryfinder.loading .btnload > * {visibility:hidden;}
.ferryfinder .ui-menu .ui-menu-item {
    padding-top:8px;
    padding-bottom:8px;
    font-family: 'Oxygen',sans-serif;
}
.ferryfinder .ui-menu .ui-menu-item.ui-state-focus {
    font-weight: normal;
}
.ferryfinder table.tabletest {
    width:100%;
    table-layout: fixed;
    margin:0; padding:0;
    border: 1px solid #00457f;
    overflow: hidden;
    background-color: #fefefe;
}
.ferryfinder table.tabletest td {
    color: #00457f;
    font-size:18px;
    line-height: normal;
    padding: 3px 8px;
}
.ferryfinder table.tabletest thead tr td {
    font-size:22px;
    font-weight: bold;
    text-align: center;
    background-color: #dedede;
}
.ferryfinder table.tabletest thead tr + tr td {
    font-size:18px;
    text-align: left;
    background-color: #efefef;
}
.acsearch {
    display:block;
    overflow:visible;
    width:100%;
    margin:20px 0;
    padding:0;
    float:none;
    clear:both;
}
.box_home_special ul {
    display:block;
    overflow:hidden;
    margin:0;
    padding:0 20px;
    list-style: none;
}
.box_home_special ul li {
    display:block;
    overflow:hidden;
    margin:10px 0;
    padding:0;
}
.box_home_special ul li * {color:#fff;}
.box_home_special ul li a {
    text-transform: uppercase;
}
.box_home_special ul li a:hover {
    color:#ff790d;
}
.singolo_operatore_block .owl-carousel + #mappa {margin-top:30px;}
#maincontainer > .searchblock {
    background-color: #009add;
    padding:10px 0;
    margin:0;
}
#maincontainer > .searchblock + * {border-top:none;}
.singola_rotta .trip-map[data-gmapload="1"] {
    height:400px;
    margin-bottom:40px;
}
.homeports {
    display:block;
    overflow:hidden;
    padding:0;
    margin:0 -15px;
}
.homeports > div {
    display:block;
    overflow:hidden;
    padding:15px;
    margin:0;
    width:50%;
    float:left;
}
.homeports > div:nth-of-type(odd) {clear:both;}
.homeports > div > figure {
    display:block;
    overflow:hidden;
    margin:0;
    padding:0;
    width:100%;
    position:relative;
}
.homeports > div > figure > .portimg {
    display:block;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    height:100%;
    overflow:hidden;
}
.homeports > div > figure > .portimg > img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-height: none;
    max-width: none;
    min-height: 100%;
    min-width: 100%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}
@media (max-width: 480px){
    .homeports > div {
        width:100%;
        height:250px;
        float:none;
    }
}
@media (min-width: 768px){
    .homeports > div {
        width:33.333333%;
    }
    .homeports > div:nth-of-type(4n+2),
    .homeports > div:nth-of-type(4n+3) {
        width:66.666666%;
    }
}
.text_operatore h1,
.text_operatore .h1,
.text_operatore h2,
.text_operatore .h2,
.text_operatore h3,
.text_operatore .h3,
.text_operatore h4,
.text_operatore .h4,
.text_operatore h5,
.text_operatore .h5,
.text_operatore h6,
.text_operatore .h6 {
    color:#00457f;
    text-align:left;
    font-weight:bold;
}
.text_operatore h1,.text_operatore .h1{font-size:2em;}
.text_operatore h2,.text_operatore .h2{font-size:1.7em;}
.text_operatore h3,.text_operatore .h3{font-size:1.4em;}
.text_operatore h4,.text_operatore .h4{font-size:1.3em;}
.text_operatore h5,.text_operatore .h5{font-size:1.2em;}
.text_operatore h6,.text_operatore .h6{font-size:1.1em;}
.text_operatore ul {margin-left:1em;}
.loghi_operatore,
.home_operatori {
    display:block;
    overflow:hidden;
    list-style: none;
    margin:0 -15px;
    padding:0;
    clear:both;
}
.home_operatori {margin:0 -5px;}
.loghi_operatore > li,
.home_operatori > li {
    display:block;
    overflow:hidden;
    margin:0;
    padding:15px;
    width:50%;
    float:left;
}
.home_operatori > li {padding:5px;}
.loghi_operatore > li > a,
.home_operatori > li > a {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
.loghi_operatore > li > .img_operatore,
.home_operatori > li > a {
    display:block;
    overflow:hidden;
    margin:0; padding:0 0 100% 0;
    width:100%;
    height:0;
    position:relative;
    border: 1px solid #cdcdcd;
}
.home_operatori > li > a {padding-bottom:75%;}
.logoblock {
    display:inline-block;
    overflow:hidden;
    margin:0;
    padding:0;
    width:100%;
    max-width:102px;
    min-width:52px;
    border: 1px solid #cdcdcd;
    background: #fff;
}
.logoblock > * {
    display:block;
    overflow:hidden;
    margin:0; padding:0 0 75% 0;
    width:100%;
    height:0;
    position:relative;
}
.loghi_operatore > li > .img_operatore > img,
.home_operatori > li > a > img,
.logoblock img {
    position: absolute;
    width:auto;
    height:auto;
    padding:2px;
    max-width: 20%;
    max-height: 20%;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) scale(5);
}
.home_operatori > li > a > img, .logoblock img {padding:1px;}
.loghi_operatore > li > .nome_operatore {
    padding-left:5px;
    padding-right:5px;
}
.loghi_operatore > li:hover > .nome_operatore {
    background: #00457f;
}
.loghi_operatore > li:hover > .img_operatore,
.home_operatori > li:hover > a {
    opacity:0.5;
}
ul.faq {
    display:block;
    overflow:hidden;
    margin:15px 0;
    padding:0;
    width:100%;
    list-style:none;
    border:1px solid #ddd;
    border-radius:5px;
}
ul.faq > li {
    display:block;
    overflow:hidden;
    margin:0;
    padding:15px 20px;
}
ul.faq > li + li {
    border-top:1px solid #ddd;
}
ul.faq p {
    display:block;
    overflow:hidden;
    width:100%;
    margin:0;
    padding:0;
}
ul.faq .question {
    padding:10px 50px 10px 0;
    cursor:pointer;
    font-weight: bold;
    font-size:1.2em;
    position:relative;
}
ul.faq .question::after {
    display:block;
    content:'';
    overflow:hidden;
    margin:0;
    padding:0;
    width:50px;
    transition: transform 0.3s linear;
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><line x1="20" y1="30" x2="40" y2="50" stroke="rgb(3,37,61)" stroke-width="3" /><line x1="40" y1="50" x2="60" y2="30" stroke="rgb(3,37,61)" stroke-width="3" /></svg>') center center no-repeat;
}
ul.faq .open .question::after {
    transform: rotate(180deg);
}
ul.faq .answer {
    height:0;
    opacity:0;
    transition: opacity 0.3s linear;
}
ul.faq .open .answer {
    height:auto;
    opacity:1;
}

@media (min-width: 1200px){
    .home_operatori > li {width:33.333333%;}
    .home_operatori > li:nth-of-type(3n+1) {clear:both;}
    .loghi_operatore > li {width:16.666666%;}
    .loghi_operatore > li:nth-of-type(6n+1) {clear:both;}
}
@media (max-width: 1199px) and (min-width: 992px){
    .home_operatori > li {width:50%;}
    .home_operatori > li:nth-of-type(2n+1) {clear:both;}
    .home_operatori > li:nth-of-type(n+9) {display:none;}
    .loghi_operatore > li {width:20%;}
    .loghi_operatore > li:nth-of-type(5n+1) {clear:both;}
}
@media (max-width: 991px) and (min-width: 768px){
    .home_operatori > li {width:25%;}
    .home_operatori > li:nth-of-type(4n+1) {clear:both;}
    .loghi_operatore > li {width:25%;}
    .loghi_operatore > li:nth-of-type(4n+1) {clear:both;}
}
@media (max-width: 767px){
    .home_operatori > li {width:33.333333%;}
    .home_operatori > li:nth-of-type(3n+1) {clear:both;}
    .loghi_operatore > li:nth-of-type(odd) {clear:both;}
}
.homelist {
    display:block;
    overflow:hidden;
    margin:0;
    padding:0;
    width:100%;
    list-style: none;
}
.homelist > li {
    display:block;
    overflow:hidden;
    margin:10px 0;
    padding:0;
    width:100%;
    text-transform: uppercase;
    color:#00457f;
}
.homelist > li a {color:#00457f;}
.homelist > li a:hover {color:#ff790d;}
.triptych {
    display:block;
    overflow:hidden;
    width:100%;
    margin:0;
    padding:0;
    text-align: center;
    font-family: 'Oxygen',sans-serif;
    color: #00457f;
    border: 5px solid #00457f;
}
.triptych > div {
    display:block;
    overflow:hidden;
    width:100%;
    margin:0;
    padding:20px;
    border: 5px solid #00457f;
}
.triptych h2, .triptych .h2 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    padding:0;
    margin:0 0 15px 0;
}
.triptych h5, .triptych .h5 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    padding:0;
    margin:0 0 15px 0;
}
@media (min-width: 768px){
    .triptych {
        display: flex;
        flex-direction: row;
        flex-flow: row wrap;
    }
    .triptych > div {width:50%;}
    .triptych > div:nth-of-type(3) {
        width:100%;
    }
}
@media (min-width: 992px){
    .triptych {flex-wrap: nowrap;}
    .triptych > div {width:100%;}
}
.videocontainer {
    display:block;
    overflow:hidden;
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    position:relative;
}
.videocontainer > .videobg {
    display:block;
    overflow: hidden;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    position:absolute;
    top:0; left:0;
    bottom:0; right:0;
}
.videocontainer > .videobg > video {
    background-color: #fff;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.videocontainer > .videobody {
    display:block;
    overflow:hidden;
    height:100%;
    padding:150px 0 100px 0;
    position:relative;
    color: #fff;
    text-align: center;
    background: transparent url('../img/ancore.png') center bottom 20px no-repeat;
}
.videocontainer .h1 {
    font-weight: 400;
    text-shadow: 1px 1px #00457f, 1px -1px #00457f, -1px 1px #00457f, -1px -1px #00457f;
}
.videocontainer .title,
.videocontainer .subtitle {
    display:block;
    overflow: hidden;
    width:100%;
    text-align: center;
    margin:0; padding: 10px;
    background-color: rgba(51, 102, 153, 0.7);
    line-height: 1.1;
}
.videocontainer .title {
    font-size:2em;
    font-weight:bold;
    text-transform: uppercase;
    padding-bottom:5px;
    /*font-weight: normal;
    text-shadow: 1px 1px #fff, 1px -1px #fff, -1px 1px #fff, -1px -1px #fff;
    letter-spacing: 3px;*/
}
.videocontainer .subtitle {
    font-size:2em;
    margin-bottom:30px;
    padding-top:0;
    /*font-weight:bold;*/
}
@media (max-width: 991px){
    .videocontainer {
        height:auto;
    }
    .videocontainer .h1 {font-weight:600;}
}
ul.pressreview {
    display:block;
    overflow:hidden;
    margin:0;
    padding:0;
    width:100%;
    list-style:none;
}
ul.pressreview > li {
    display:block;
    overflow:hidden;
    padding:0 0 20px 0;
    margin:0;
    width:100%;
}
ul.pressreview > li + li {
    padding-top:30px;
    border-top: 1px solid #ccc;
}
ul.pressreview > li > .body {
    display:inline;
    overflow:hidden;
    margin:0;
    padding:0;
    color:#333333;
    text-decoration: none;
}
ul.pressreview > li > .body:hover {
    color:#00457f;
}
ul.pressreview > li > .body strong {
    font-size:1.3em;
}
ul.pressreview > li > .img {
    display:block;
    overflow:hidden;
    margin:0 15px 10px 0;
    padding:0;
    width:25%;
    float:left;
    position:relative;
}
ul.pressreview > li > .img:hover {opacity:0.7;}
ul.pressreview > li > .img img {
    width:100%;
    height:auto;
}
@media (min-width: 992px){
    ul.pressreview > li {
        border-top:none!important;
        padding:0!important;
        margin-bottom:30px;
        width:48%;
        float:right;
    }
    ul.pressreview > li:nth-of-type(odd) {
        float:left;
        clear:both;
    }
}
@media (max-width: 500px){
	iframe#dealFinder {height:450px;}
}
.timetable,
.companytable {
    display:table;
    width:100%;
    margin:0;
    padding:0;
    border:none;
    text-align:left;
    color:#fff;
}
.companytable td {
    padding:8px;
    margin:0;
    font-weight:bold;
    vertical-align:middle;
    border-top:1px solid #ddd;
}
.companytable td:nth-of-type(1) {width:20%;min-width:60px;}
.companytable td:nth-of-type(2) {width:60%;text-align:center;}
.companytable td:nth-of-type(3) {width:20%;text-align:right;min-width:60px;}

.timetable tbody {
    border-bottom: 2px solid #00457f;
}
.timetable tbody + tbody::before {
    content:'';
    display:table-row;
    width:100%;
    height:40px;
}
.timetable tbody th,
.timetable tbody td {
    padding:5px 10px;
    vertical-align: middle;
}
.timetable .dayhead th {
    font-size:1.2em;
    text-transform: uppercase;
    background-color: #00457f;
    text-align: center;
    border: 2px solid #00457f;
    border-bottom:none;
}
.timetable .rowhead th {
    text-transform: uppercase;
    background-color: #00457f;
    color:#ff790d;
    font-size:0.8em;
}
.timetable tr + tr + tr + tr td {
    border-top: 1px dashed #00457f;
}
.timetable td:nth-of-type(1),
.timetable th:nth-of-type(1) {
    border-left: 2px solid #00457f;
    width:30%;
}
.timetable td:nth-of-type(2),
.timetable th:nth-of-type(2) {
    width:30%;
}
.timetable td:nth-of-type(3),
.timetable th:nth-of-type(3) {
    width:25%;
}
.timetable td:nth-of-type(4),
.timetable th:nth-of-type(4) {
    width:15%;
    text-align: center;
    border-right: 2px solid #00457f;
}
@media (max-width: 767px){
    .timetable td:nth-of-type(3),
    .timetable th:nth-of-type(3) {
        display:none;
    }
}