/*!
* Layout
*/
@import "variables";
html,
body {
height: 100%;
scroll-behavior: smooth;
}
body {
font-family: $font-family;
font-size: 16px;
color: $body-color;
padding-top: 70px;
}
// Aumento la larghezza massima di bootstrap da 1140 a 1400 come da design
@media (min-width: 1200px) {
.container, .container-lg, .container-md, .container-sm, .container-xl {
max-width: 1400px;
}
}
a {
transition: all, .25s;
text-decoration: underline;
color: $body-color;
i.fas {
padding-left: 3px;
}
&:hover {
color: darken($body-color, .3);
}
&.td-none {
// Classe per togliere il text-decoration: underline dai vari link, in quanto i link nei test del sito sono rappresentati con l'underline
text-decoration: none;
&:hover {
color: darken($body-color, .3);
text-decoration: underline;
}
}
}
section {
padding-top: 90px;
padding-bottom: 90px;
&.hero-section {
//Sezione di apertura delle pagine
color: $white;
.container {
> .row {
width: 100%;
}
}
.breadcrumb {
background: transparent;
padding-left: 0;
.breadcrumb-item {
a {
color: $white;
text-decoration: none;
}
&:before {
color: $white;
font-weight: $font-regular;
}
&.active {
color: $white;
font-weight: $font-bold;
&:before {
color: $white;
font-weight: $font-regular;
}
}
}
}
.hero-titles {
max-width: 50%;
.title {
color: $white;
}
&.half-hero {
max-width: 100%;
}
@media (max-width: 767px) {
max-width: 100%;
}
}
.hero-actions {
.hero-tags {
width: 80%;
margin-top: 50px;
margin-bottom: 30px;
.tag {
background: $white;
border-radius: $border-radius;
color: $brand-color;
transition: all, .25s;
cursor: pointer;
display: inline-block;
padding: 4px 12px;
text-decoration: none;
text-transform: uppercase;
font-size: 13px;
font-weight: $font-medium;
margin-bottom: 10px;
margin-right: 10px;
&:hover {
background: $brand-color;
color: $white;
}
}
}
.arrow-down {
display: inline-block;
width: 50px;
height: 55px;
margin-right: 70px;
padding-top: 4px;
img {
position: absolute;
width: 50px;
}
@media (max-width: 767px) {
margin-right: 40px;
}
}
.hero-bookmark {
@extend .h3;
height: 60px;
text-align: center;
cursor: pointer;
display: inline-block;
margin-right: 70px;
i {
display: inline-block;
}
.far {
&:hover {
color: $gold;
}
}
.fas {
color: $gold;
}
@media (max-width: 767px) {
margin-right: 40px;
}
}
.hero-share {
@extend .h3;
height: 60px;
text-align: center;
cursor: pointer;
display: inline-block;
i {
color: $white;
display: inline-block;
&:hover {
color: $gold;
}
}
}
}
.overlay {
position: absolute;
top: 0;
width: 100%;
height: 100%;
background: rgba($black, .45);
}
&.hero-white,
&.hero-light {
background: $white;
.breadcrumb {
.breadcrumb-item {
a {
color: $brand-color;
}
&:before {
color: $brand-color;
}
&.active {
color: $brand-color;
&:before {
color: $brand-color;
}
}
}
}
.hero-titles {
color: $body-color;
.title {
color: $brand-color;
}
}
.hero-bookmark {
color: $brand-color;
.far {
&:hover {
color: $gold;
}
}
.fas {
color: $gold;
}
}
.hero-share {
color: $brand-color;
i {
color: $brand-color;
&:hover {
color: $gold;
}
}
}
.overlay {
display: none;
}
@media(max-width: 767px) {
height: auto !important;
padding-bottom: 30px;
}
}
&.hero-light {
background-color: $background;
color: $body-color;
}
}
// Classe per togliere il padding dall'elemento section, che di base ha 90px top e bottom
&.no-pad {
padding-top: 0;
padding-bottom: 0;
}
//Classe per aggiungere solo il padding-top alla section in caso fosse stato tolto (ed: no-pad pad-top)
&.pad-top {
padding-top: 90px;
}
//Classe per aggiungere solo il padding-bottom alla section in caso fosse stato tolto (ed: no-pad pad-btm)
&.pad-btm {
padding-bottom: 90px;
}
// Classe per dare all'intera sezione lo sfondo grigio chiaro
&.bg-light {
background-color: $background !important;
}
// Classe per dare all'intera sezione lo sfondo grigio scuro
&.bg-dark {
background-color: $dark-grey !important;
color: $white !important;
}
}
.map {
width: 100%;
}
#start {
position: relative;
}
/*
* Form styling
*/
input.form-control {
border-left: none;
border-right: none;
border-radius: 0;
}
.input-group-append {
.btn-rounded {
border-radius: 27px !important;
margin-left: -15px;
}
}
label,
.col-form-label{
:not(custom-control-label) {
color: $brand-color;
font-weight: $font-medium;
}
}
.custom-control {
.custom-control-input:checked ~ {
.custom-control-label {
color: $brand-color;
font-weight: $font-medium;
&::before {
border-color: $brand-color;
background-color: $brand-color;
}
}
}
&.text-pink {
.custom-control-label {
&::before {
border-color: $pink;
}
}
.custom-control-input:checked ~ {
.custom-control-label {
color: $pink;
&::before {
border-color: $pink;
background-color: $pink;
}
}
}
}
&.text-mint {
.custom-control-label {
&::before {
border-color: $mint;
}
}
.custom-control-input:checked ~ {
.custom-control-label {
color: $mint;
&::before {
border-color: $mint;
background-color: $mint;
}
}
}
}
&.text-brown {
.custom-control-label {
&::before {
border-color: $brown;
}
}
.custom-control-input:checked ~ {
.custom-control-label {
color: $brown;
&::before {
border-color: $brown;
background-color: $brown;
}
}
}
}
}
.bootstrap-select {
.dropdown-toggle.bs-placeholder,
.dropdown-toggle.bs-placeholder:active,
.dropdown-toggle.bs-placeholder:focus {
border: none;
background: $white;
color: $body-color;
border-radius: $border-radius;
outline: none !important;
}
&.show {
.dropdown-toggle, &:active {
border: none;
background: $white;
color: $body-color;
border-radius: $border-radius $border-radius 0 0;
box-shadow: 0 0 6px rgba(0, 0, 0, .15);
outline: none !important;
}
> .dropdown-menu {
border: none;
border-top: 1px solid $border-color-light;
border-radius: 0 0 $border-radius $border-radius;
box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
margin-top: 0;
color: $body-color;
}
.dropdown-menu {
.dropdown-item {
color: $dark-grey;
outline: none;
&.active, &:active {
background-color: $brand-color;
color: $white;
}
}
}
&.dropup {
> .dropdown-menu {
border-top: none;
border-bottom: 1px solid $border-color-light;
border-radius: $border-radius $border-radius 0 0;
box-shadow: 0 -4px 6px rgba(0, 0, 0, .15);
margin-bottom: 0;
}
.dropdown-toggle, &:active {
border-radius: 0 0 $border-radius $border-radius;
box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
outline: none !important;
}
}
}
}
/*
* Slider styling
*/
.carousel {
// Carousel standard per itinerari e simili
margin-bottom: 15px;
.carousel-indicators {
bottom: 15px;
li {
width: 10px;
height: 10px;
border-radius: 50%;
}
}
.carousel-inner {
width: 100%;
height: 100%;
.carousel-item {
@extend .bg-cover;
width: 100%;
height: 100%;
border-radius: $border-radius;
}
}
&.caption-top {
.carousel-inner {
.carousel-caption {
top: 20px;
left: 20px;
text-align: left;
width: calc(100% - 40px);
display: flex !important;
justify-content: space-between;
.carousel-title {
color: $white;
}
.carousel-link {
color: $white;
text-decoration: none;
min-width: 110px;
padding: 10px 10px 0;
text-align: right;
i {
padding-left: 3px;
}
}
}
&:after {
position: absolute;
top: 0;
left: 0;
border-radius: $border-radius;
width: 100%;
height: 100%;
z-index: 1;
background-color: rgba($black, .3);
}
}
}
&.caption-btm {
.carousel-indicators {
bottom: 0;
}
.carousel-inner {
img {
border-radius: $border-radius;
}
.carousel-caption {
text-align: left;
left: 0;
bottom: 0;
width: 100%;
background: rgba(0, 0, 0, .5);
padding: 15px 15px 50px;
border-radius: 0 0 $border-radius $border-radius;
.carousel-title {
color: $white;
}
}
}
}
}
.home-slider {
position: relative;
.home-gallery {
}
.home-content {
position: absolute;
top: 20px;
left: 20px;
text-align: left;
width: calc(100% - 40px);
display: flex !important;
justify-content: space-between;
z-index: 10;
.home-title {
color: $white;
}
.home-link {
color: $white;
text-decoration: none;
min-width: 110px;
padding: 10px 10px 0;
text-align: right;
i {
padding-left: 3px;
}
}
}
@media (max-width: 767px) {
.home-content {
position: relative;
width: 100%;
display: block !important;
top: 0;
left: 0;
.home-title {
color: $brand-color;
margin-bottom: 15px;
}
.home-link {
color: $body-color;
display: block;
margin-bottom: 30px;
text-align: left;
padding: 0;
}
}
}
}
// Classi per indicare un carousel a mezza riga o a riga intera
.slider-min {
height: 384px;
@media (max-width: 767px) {
height: 230px;
}
}
.slider-max {
height: 786px;
@media (max-width: 991px) {
height: 384px;
}
@media (max-width: 767px) {
height: 230px;
}
}
/*
* Home
*/
#home-map {
height: 763px;
position: relative;
}
.map-overlay {
position: absolute;
top: 15%;
z-index: 1000;
width: 450px;
margin-left: 8%;
transition: all, .25s;
.map-form {
background: $white;
width: 100%;
border-radius: $border-radius;
padding: 15px 30px;
#search-block,
#details-block {
display: none;
}
}
@media(max-width: 767px) {
top: 0;
margin-left: 0;
width: 100%;
.map-form {
border-radius: 0 0 $border-radius $border-radius;
}
.btn-itinerari {
display: none;
}
}
&.full {
height: 763px;
top: 0;
width: calc(8% + 450px);
max-width: 100%;
margin-left: 0;
.map-form {
height: 763px;
border-radius: 0;
h3,
#init-block {
display: none;
}
#search-block {
display: block;
overflow: auto;
height: 662px;
&:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50px;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
}
.search-list {
padding-bottom: 20px;
li {
font-size: 26px;
border-bottom: 1px solid $border-color-light;
padding: 10px 0;
.name {
color: $brand-color;
font-weight: $font-medium;
&:after {
content: ' - ';
display: inline;
color: $body-color;
font-weight: $font-regular;
}
}
i {
color: $brand-color;
float: right;
position: relative;
top: 7px;
cursor: pointer;
}
&:first-child {
font-size: 34px;
border-top: 1px solid $border-color-light;
.name {
&:after {
content: ' | ';
color: $brand-color;
}
}
i {
top: 8px;
}
}
}
}
}
}
&.details {
.map-form {
#search-block {
display: none;
}
#details-block {
display: block;
overflow: hidden;
height: 662px;
#close-details {
position: absolute;
right: 30px;
font-size: 25px;
color: $brand-color;
cursor: pointer;
z-index: 10;
}
.location-data {
display: none;
}
.film-item {
width: 215px;
.film-cover {
width: 200px;
height: 275px;
}
.film-genre,
.film-direction,
.film-title {
display: none;
}
}
}
}
}
}
}
.bando-slider {
.bando-item {
padding: 0 15px 15px 0;
display: block;
}
}
.bando-item {
text-decoration: none;
display: block;
margin-bottom: 30px;
&:hover {
text-decoration: none;
}
}
.card {
border-radius: 7px;
border: 1px solid $border-color-light;
&.bando {
.card-header {
font-size: 20px;
color: $white;
border-radius: 6px;
padding: .4rem 1.25rem;
}
.card-body {
line-height: 20px;
text-transform: uppercase;
font-weight: $font-medium;
height: 120px;
overflow: hidden;
margin-bottom: 30px;
max-width: 312px;
}
.card-footer {
background-color: $white;
border-top: none;
border-radius: 0 0 6px 6px;
}
&.bg-pink {
.card-header {
background-color: $pink;
}
}
&.bg-mint {
.card-header {
background-color: $mint;
}
}
&.bg-brown {
.card-header {
background-color: $brown;
}
}
}
}
#slider_news {
.carousel-indicators {
width: 25%;
left: auto;
bottom: -45px;
li {
background-color: $brand-color;
}
}
.carousel-item {
.carousel-img {
@extend .bg-cover;
width: 49%;
height: 450px;
position: absolute;
top: 0;
right: 0;
}
.carousel-body {
width: 49%;
display: flex;
padding: 15px 60px;
align-items: flex-start;
flex-direction: column;
justify-content: center;
min-height: 450px;
.news-title {
color: $brand-color;
font-weight: $font-medium;
margin-bottom: 15px;
}
.news-date {
font-size: 18px;
font-weight: $font-bold;
}
.news-intro {
font-size: 20px;
}
.news-tag {
padding-top: 15px;
padding-bottom: 15px;
a {
display: inline;
padding: 3px 9px;
color: $gold;
font-weight: $font-medium;
font-size: 14px;
text-transform: uppercase;
text-decoration: none;
}
}
.carousel-link {
text-decoration: none;
font-weight: $font-bold;
}
}
}
.carousel-control-prev {
width: 3%;
left: 0;
color: $brand-color;
font-size: 30px;
justify-content: flex-start;
.carousel-control-prev-icon {
background-image: none;
}
}
.carousel-control-next {
width: 3%;
right: 53%;
color: $brand-color;
font-size: 30px;
justify-content: flex-end;
.carousel-control-next-icon {
background-image: none;
}
}
@media (max-width: 991px) {
.carousel-indicators {
display: none;
}
.carousel-item {
.carousel-img,
.carousel-body {
width: 100%;
height: 340px;
z-index: 0;
display: block;
}
.carousel-body {
max-width: 100% !important;
flex: 1;
z-index: 1;
margin-top: 350px;
min-height: auto;
position: relative;
padding: 15px 0;
.news-title {
height: auto;
}
}
}
.carousel-control-prev,
.carousel-control-next {
top: 0;
span {
position: absolute;
top: 145px;
color: $white;
}
}
.carousel-control-prev {
left: 15px;
}
.carousel-control-next {
right: 15px;
}
}
@media (max-width: 767px) {
.carousel-item {
.carousel-img {
height: 240px;
}
.carousel-body {
margin-top: 250px;
}
}
.carousel-control-prev,
.carousel-control-next {
span {
top: 100px;
}
}
}
}
.box-registrazione {
background-color: $background;
padding: 60px 30px;
display: flex;
align-items: center;
border-radius: $border-radius;
.reg-icon {
color: $brand-color;
font-size: 30px;
text-align: center;
margin-bottom: 30px;
display: none;
}
.reg-text-cont {
width: 50%;
.reg-text {
width: 80%;
float: right;
}
}
.reg-btn {
padding: 0 30px;
a {
font-weight: $font-medium;
min-width: 180px;
}
}
@media (max-width: 991px) {
padding: 40px 20px;
display: block;
.reg-icon {
display: block;
}
.reg-text-cont {
width: 100%;
.reg-text {
width: 100%;
text-align: center;
float: none;
font-size: 20px;
}
}
.reg-btn {
display: block;
margin: 30px auto 0;
text-align: center;
}
}
}
/* Location - filtri avanzati */
#fa-container {
background: $brand-color;
color: $white;
font-size: 20px;
text-align: center;
#fa-btn {
i.fas {
padding-left: 10px;
padding-right: 10px;
transition: all, .25s;
}
}
&.collapsed {
#fa-btn {
i.fas {
padding-left: 10px;
transform: rotate(180deg);
}
}
}
#fa-panel {
color: $body-color;
position: absolute;
z-index: 10;
left: 0;
margin-top: 15px;
width: 100%;
border-radius: 0;
height: 100%;
visibility: collapse;
.card-body {
text-align: left;
height: 771px; //stessa altezza della mappa + 8px
border-radius: 0;
overflow: hidden;
ul.dropdown-list {
font-size: 18px;
overflow: auto;
li {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
i.fas {
padding-left: 10px;
padding-right: 10px;
transition: all, .25s;
color: $brand-color;
}
&.collapsed {
> i.fas {
padding-left: 10px;
transform: rotate(180deg);
}
}
.dropdown-check {
width: 100%;
padding-left: 15px;
.form-check {
width: 100%;
justify-content: start;
}
&.collapse.show, &.collapsing {
display: block;
&:before {
content: '';
flex-basis: 100%;
height: 0;
}
}
}
}
}
}
}
@media(max-width: 767px) {
#fa-panel {
.card-body {
height: 408px;
}
}
}
}
.location-form {
background: $white;
.fa-col {
padding-top: 15px;
padding-bottom: 15px;
}
label:not(.custom-control-label) {
color: $brand-color;
font-weight: $font-medium;
}
input {
flex-grow: 1;
}
@media(max-width: 767px) {
.btn {
display: block;
width: 100%;
}
}
}
#location-map {
height: 763px;
position: relative;
@media(max-width: 767px) {
height: 400px;
}
}
.module-title {
display: flex;
align-items: center;
border-bottom: 1px solid $border-color;
padding-bottom: 8px;
.mt-previous {
@extend .h2;
font-weight: $font-lite;
margin-bottom: 0;
padding-right: 6px;
}
.mt-element {
@extend .h2;
margin-bottom: 0;
}
.divider {
height: 28px;
width: 2px;
background: $brand-color;
margin: 0 12px;
display: inline-block;
}
@media(max-width: 767px) {
flex-wrap: wrap;
.mt-previous {
flex: 0 0 100%;
}
}
}
.location-slider {
padding-top: 30px;
padding-bottom: 30px;
.location-item {
padding-right: 15px;
.location-gallery {
.carousel {
.carousel-indicators {
}
.carousel-inner {
width: 398px;
.carousel-item {
@extend .bg-cover;
border-radius: $border-radius;
width: 100%;
height: 224px;
margin-bottom: 15px;
}
.location-bookmark {
position: absolute;
top: 15px;
right: 20px;
z-index: 10;
cursor: pointer;
.far {
&:hover {
color: $gold;
}
}
.fas {
color: $gold;
}
}
}
}
}
.location-name {
font-size: 22px;
color: $brand-color;
font-weight: $font-medium;
width: 398px;
text-decoration: none;
display: block;
&:hover {
color: $gold;
}
}
.location-data {
font-size: 14px;
width: 398px;
span {
display: block;
}
}
}
.slick-arrow {
top: 151px;
&:before {
color: $body-color;
}
}
@media (max-width: 767px) {
.location-item {
.location-gallery {
.carousel {
.carousel-inner {
width: 310px;
}
}
}
.location-name {
width: 310px;
}
.location-data {
width: 310px;
}
}
}
}
.show-more {
background: $background;
width: 100%;
text-align: center;
padding: 10px;
cursor: pointer;
margin-top: 50px;
i {
padding-left: 10px;
}
&:hover {
background: darken($background, 5%);
}
}
/*
Scheda Location
*/
.st-list {
dt {
color: $brand-color;
border-top: 1px solid $border-color;
padding-top: 8px;
}
}
#position-map {
height: 450px;
margin-bottom: 30px;
}
#btn-pm-itinerari {
position: absolute;
bottom: 50px;
left: 38%;
display: inline-block;
}
.route-content {
.row:not(:last-child) {
padding-bottom: 90px;
}
}
.note-area {
height: 450px;
overflow: auto;
&:after {
content: '';
position: absolute;
bottom: 20px;
left: 0;
width: 100%;
height: 50px;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
}
@media (max-width: 991px) {
padding-bottom: 50px;
&:after {
bottom: 0;
}
}
}
#scheda_gallery {
height: 377px;
.carousel-item {
height: 100%;
width: 100%;
}
@media (max-width: 1199px) {
height: 253px;
}
@media (max-width: 991px) {
height: 377px;
}
}
.film-slider {
padding-top: 30px;
padding-bottom: 30px;
.film-item {
width: 280px;
padding-right: 15px;
margin-bottom: 30px;
.film-cover {
@extend .bg-cover;
width: 245px;
height: 370px;
border-radius: $border-radius;
margin-bottom: 10px;
}
.film-title {
@extend .h4;
color: $brand-color;
font-weight: $font-medium;
display: block;
text-decoration: none;
&:hover {
color: $gold !important;
}
}
}
}
.film-item {
width: 280px;
padding-right: 15px;
margin-bottom: 30px;
.film-cover {
@extend .bg-cover;
width: 245px;
height: 370px;
border-radius: $border-radius;
margin-bottom: 10px;
}
.film-title {
@extend .h4;
color: $brand-color;
font-weight: $font-medium;
display: block;
text-decoration: none;
&:hover {
color: $gold !important;
}
}
}
.news-slider {
padding-top: 30px;
padding-bottom: 30px;
.news-item {
padding-right: 15px;
width: 398px;
.news-cover {
@extend .bg-cover;
border-radius: $border-radius;
width: 100%;
height: 224px;
margin-bottom: 15px;
}
.news-date {
font-size: 14px;
}
.news-title {
@extend .h4;
color: $brand-color;
font-weight: $font-medium;
display: block;
text-decoration: none;
&:hover {
color: $gold !important;
}
}
.news-tags {
padding-top: 15px;
padding-bottom: 15px;
a {
display: inline;
padding: 3px 9px;
color: $gold;
font-weight: $font-medium;
font-size: 14px;
text-transform: uppercase;
text-decoration: none;
}
}
}
}
/*
FILM, SERIE TV & GAMES
*/
.pagination {
.page-item {
.page-link {
border: none;
border-radius: $border-radius;
margin: 0 3px;
text-decoration: none;
color: $body-color;
box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
width: 48px;
height: 48px;
text-align: center;
padding: 12px 0 0;
font-size: 20px;
transition: all, .25s;
}
&.active, &:hover {
.page-link {
background: $brand-color;
color: $white;
}
}
&:first-child {
margin-right: 30px;
}
&:last-child {
margin-left: 30px;
}
}
@media(max-width: 767px) {
.page-item {
&:first-child {
margin-right: 0;
}
&:last-child {
margin-left: 0;
}
}
}
}
/*
Scheda FSG
*/
.fsg-list {
dt {
color: $brand-color;
}
dd {
padding-bottom: 10px;
}
}
#film-map {
height: 760px;
}
.location-scroller {
height: 760px;
overflow: auto;
padding-top: 30px;
.location-fsg-item {
padding-right: 15px;
margin-bottom: 30px;
.location-gallery {
.carousel {
margin-bottom: 0;
.carousel-inner {
.carousel-item {
@extend .bg-cover;
border-radius: $border-radius;
width: 100%;
height: 180px;
margin-bottom: 15px;
}
.location-bookmark {
position: absolute;
top: 15px;
right: 20px;
z-index: 10;
cursor: pointer;
.far {
&:hover {
color: $gold;
}
}
.fas {
color: $gold;
}
}
}
}
}
.location-name {
font-size: 22px;
color: $brand-color;
font-weight: $font-medium;
text-decoration: none;
display: block;
&:hover {
color: $gold;
}
}
.location-data {
font-size: 14px;
width: 398px;
span {
display: block;
}
}
}
@media(max-width: 1199px) {
height: auto;
.location-fsg-item {
display: inline-block;
width: calc(100vw - 254px);
}
}
@media(max-width: 991px) {
.location-fsg-item {
width: calc(100vw - 286px);
}
}
@media(max-width: 650px) {
.location-fsg-item {
width: calc(100vw - 186px);
}
}
@media(max-width: 540px) {
.location-fsg-item {
width: calc(100vw - 15px);
}
}
}
/*
Itinerari
*/
#routes-map {
height: 760px;
}
.route-item {
@extend .bg-cover;
height: 320px;
width: 100%;
border-radius: $border-radius;
position: relative;
display: block;
margin-bottom: 30px;
transition: all, .25s;
overflow: hidden;
.route-text {
position: absolute;
bottom: 0;
left: 0;
display: block;
background: rgba(0, 0, 0, .5);
padding: 15px 15px 30px;
border-radius: 0 0 $border-radius $border-radius;
color: $white;
text-decoration: none;
text-transform: uppercase;
width: 100%;
transition: all, .25s;
}
&:hover {
.route-text {
background: $brand-color;
border-radius: $border-radius;
&:after {
content: 'Scopri l\'itinerario';
display: block;
color: $white;
font-style: italic;
padding: 10px 0 0;
text-transform: none;
font-size: 14px;
}
}
}
}
.map-bg {
@extend .bg-cover;
color: $white !important;
.h1 {
color: $white !important;
}
}
#inner-route-map {
min-height: 460px;
height: calc(100% - 38px);
@media(max-width: 767px) {
min-height: 400px;
height: 400px;
}
}
.film-item-single {
max-width: 264px;
margin: 15px auto;
.film-cover {
@extend .bg-contain;
height: 375px;
border-radius: $border-radius;
}
.film-data {
margin: 15px auto;
}
}
.location-item-single {
max-width: 398px;
margin: 15px auto;
.location-gallery {
.carousel {
.carousel-indicators {
}
.carousel-inner {
width: 398px;
.carousel-item {
@extend .bg-cover;
border-radius: $border-radius;
width: 100%;
height: 224px;
margin-bottom: 15px;
}
.location-bookmark {
position: absolute;
top: 15px;
right: 20px;
z-index: 10;
cursor: pointer;
.far {
&:hover {
color: $gold;
}
}
.fas {
color: $gold;
}
}
}
}
}
.location-name {
font-size: 22px;
color: $brand-color;
font-weight: $font-medium;
width: 398px;
text-decoration: none;
display: block;
&:hover {
color: $gold;
}
}
.location-data {
font-size: 14px;
width: 398px;
span {
display: block;
}
}
}
.section-list {
position: sticky;
top: 100px;
margin-bottom: 30px;
a {
color: $body-color;
text-decoration: none;
margin-bottom: 15px;
display: block;
font-weight: $font-medium;
&:hover {
color: $brand-color;
}
}
}
.text-container {
height: 368px;
overflow: auto;
&:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 44px;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
}
@media (max-width: 767px) {
height: 210px;
overflow: hidden;
&.show-all {
height: auto;
}
&:after {
bottom: 40px;
}
}
}
.bg-light {
.text-container {
&:after {
background: linear-gradient(to bottom, rgba(245, 245, 250, 0.4) 0%, rgba(245, 245, 250, 1) 100%);
}
}
}
.show-text {
display: none;
@media (max-width: 767px) {
margin-top: 40px;
display: block;
}
}
.pagination.routes {
.page-item {
.page-link {
color: $brand-color;
width: auto;
height: auto;
text-align: left;
padding: 12px 20px;
font-size: 20px;
transition: all, .25s;
small {
font-size: 13px;
display: block;
}
}
&.active, &:hover {
.page-link {
background: $brand-color;
color: $white;
}
}
&:first-child {
margin-right: 0;
}
&:last-child {
margin-left: 0;
}
}
}
/*
NEWS
*/
.breadcrumb.news {
background: transparent;
padding-left: 0;
.breadcrumb-item {
a {
color: $brand-color;
text-decoration: none;
}
&:before {
color: $brand-color;
font-weight: $font-regular;
}
&.active {
color: $brand-color;
font-weight: $font-bold;
&:before {
color: $brand-color;
font-weight: $font-regular;
}
}
}
}
.news-item {
margin-bottom: 60px;
.news-cover {
@extend .bg-cover;
border-radius: $border-radius;
width: 100%;
height: 185px;
margin-bottom: 15px;
}
.news-date {
font-size: 14px;
}
.news-title {
@extend .h4;
color: $brand-color;
font-weight: $font-medium;
display: block;
text-decoration: none;
&:hover {
color: $gold !important;
}
}
.news-tags {
padding-top: 15px;
padding-bottom: 15px;
a {
display: inline;
padding: 3px 9px;
color: $gold;
font-weight: $font-medium;
font-size: 14px;
text-transform: uppercase;
text-decoration: none;
}
}
&.main-news {
.news-cover {
height: 420px;
}
}
@media (max-width: 991px) {
&.main-news {
.news-cover {
height: 265px;
}
}
}
@media (max-width: 767px) {
&.main-news {
.news-cover {
height: 185px;
}
}
}
}
.news-page {
.news-date {
font-size: 14px;
margin-top: 15px;
margin-bottom: 30px;
}
.news-title {
color: $brand-color;
font-weight: $font-medium;
}
.news-tags {
padding-top: 15px;
padding-bottom: 15px;
a {
display: inline;
padding: 3px 9px;
color: $gold;
font-weight: $font-medium;
font-size: 14px;
text-transform: uppercase;
text-decoration: none;
}
}
}
.news-bookmark {
@extend .h3;
height: 60px;
text-align: center;
cursor: pointer;
display: inline-block;
margin-right: 70px;
color: $brand-color;
margin-top: 15px;
i {
display: inline-block;
}
.far {
&:hover {
color: $gold;
}
}
.fas {
color: $gold;
}
}
.news-share {
@extend .h3;
height: 60px;
text-align: center;
cursor: pointer;
display: inline-block;
color: $brand-color;
margin-top: 15px;
i {
color: $brand-color;
display: inline-block;
&:hover {
color: $gold;
}
}
}
.comment {
border-top: 1px solid $border-color;
padding-top: 15px;
padding-bottom: 15px;
.comment-profile {
@extend .bg-cover;
width: 90px;
height: 90px;
border-radius: 50%;
background-color: $grey;
margin-bottom: 15px;
align-items: center;
margin-right: 15px;
}
.comment-user {
color: $brand-color;
font-weight: $font-medium;
font-size: 24px;
margin-bottom: 5px;
.comment-date {
color: $body-color;
font-size: 14px;
padding-left: 15px;
}
}
@media(max-width: 767px) {
.comment-profile {
width: 60px;
height: 60px;
align-items: flex-start;
margin-right: 15px;
}
.comment-user {
font-size: 20px;
margin-bottom: 15px;
.comment-date {
display: block;
padding-left: 0;
font-size: 12px;
}
}
}
}
/* BANDI */
#italy-map {
path {
fill: $light-grey;
stroke: $white;
stroke-width: 2px;
cursor: pointer;
&:hover {
fill: $grey;
}
&.active {
fill: $brand-color;
&:hover {
fill: darken($brand-color, 10%)
}
}
}
}
/* AREA RISERVATA */
.area-container {
background: $background;
padding: 60px 0;
border-radius: 0 0 $border-radius $border-radius;
}
.userpage-profile {
@extend .bg-cover;
width: 140px;
height: 140px;
border-radius: 50%;
background-color: $grey;
align-items: center;
margin: 5px auto 0;
.fake-btn {
width: 100%;
text-align: center;
color: $white;
border-radius: 50%;
padding: 46px 0;
cursor: pointer;
background-color: rgba(0, 0, 0, .35);
z-index: 1;
transition: all, .25s;
i {
color: $white;
}
input {
display: none;
}
}
&.loaded {
.fake-btn {
opacity: 0;
}
&:hover {
.fake-btn {
opacity: 1;
}
}
}
}
.module-title {
i {
padding-left: 15px;
}
&.collapsed {
i {
transform: rotate(180deg);
padding-right: 15px;
}
}
}
.routes-slider {
padding-top: 30px;
padding-bottom: 30px;
.route-item {
margin-right: 15px;
width: 398px;
}
}