
html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    -webkit-animation: bugfix infinite 1s;
    font-size: 16px;
    color: #484848;
    background-color: #fff;
    font-weight: 400;
    overflow-x: hidden!important;
    -webkit-font-smoothing: antialiased;
    font-family: 'Lato', sans-serif;
    -webkit-overflow-scrolling: touch;
}
p,
ul {
    font-size: 16px;
    line-height: 1.8;
    color: #484848;
}
img {
    transition: all .2s ease-in-out;
}
/* Headings */

h1 {
    font-size: 78px;
    font-weight: 700;
    margin: 0;
    line-height: 78px;
    margin-bottom: 20px;
    letter-spacing: 0px;
    font-family: 'Cormorant', serif;
}
h2 {
    font-size: 70px;
    line-height: 60px;
    font-family: 'Cormorant', serif;
    margin-bottom: 40px;
    margin-top: 0px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.1px;
    color: #333;
}
h3 {
    font-family: 'Lato', sans-serif;
    font-size: 40px;
    font-weight: 300;
    margin-top: 0px;
    margin-bottom: 30px;
}
h4 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
}
h5 {
    font-size: 28px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #222;
    font-family: 'Cormorant', serif;
    margin-bottom: 20px;
    margin-top: 20px;
}
h6 {
    font-size: 18px;
    line-height: 22px;
    color: #808080;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.4px;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Lato', sans-serif;
}
.sub-heading {
    text-align: center;
}
.sub-heading span {
    font-family: 'Cormorant', serif;
    padding: 20px 0 10px 0;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
}
.sub-heading span:after {
    height: 1px;
    width: 70px;
    background: #cecece;
    content: ' ';
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    bottom: 0px;
}
.bold {
    font-weight: 700;
}
.italic {
    font-style: italic;
    font-family: 'Cormorant', serif;
}
/* Links */

a {
    transition: color .2s ease-in-out;
}
a:hover,
a:focus {
    text-decoration: none;
}
/* Others */

.text-light,
.text-light h1,
.text-light h2,
.text-light h3,
.text-light h4,
.text-light h5,
.text-light h6,
.text-light p {
    color: #fff !important;
}
i {
    transition: all .2s ease-in-out;
}
.small-heading {
    font-size: 1.100em;
    margin-bottom: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
    padding-bottom: 15px;
}
/*===========================
  Preloader
============================ */

#preloader {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}
.spinner {
    position: relative;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 46%;
    animation: rotate 2.0s infinite linear;
}
.spinner > div {
    width: 18px;
    height: 18px;
    border-radius: 100%;
    display: inline-block;
    animation: bouncedelay 1.4s infinite ease-in-out;
    animation-fill-mode: both;
}
.spinner .bounce1 {
    animation-delay: -0.32s;
}
.spinner .bounce2 {
    animation-delay: -0.16s;
}
@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0.0);
    }
    40% {
        transform: scale(1.0);
    }
}
/* ===========================
  Navigation
============================ */

@-webkit-keyframes bugfix {
    from {
        padding: 0;
    }
    to {
        padding: 0;
    }
}
div#navtoggler {
    z-index: 999;
    display: block;
    position: fixed;
    font-size: 10px;
    width: 4em;
    height: 3em;
    top: 20px;
    left: 20px;
    text-indent: -1000px;
    border: 0.6em solid #808080;
    border-width: 0.6em 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
div#navtoggler::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 0.6em;
    top: 50%;
    margin-top: -0.3em;
    left: 0;
    background: #808080;
}
div#navtoggler:hover {
    height: 3.5em;
}
nav#ddfullscreenmenu {
    width: 100%;
    height: 100%;
    visibility: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 20px;
    z-index: 100000;
    opacity: 0;
    overflow: hidden;
    overflow-y: auto;
    text-align: center;
    -webkit-transition: visibility 0s 0.5s, opacity 0.5s, -webkit-transform 0.5s;
    transition: visibility 0s 0.5s, opacity 0.5s, transform 0.5s;
}
nav#ddfullscreenmenu.openmenu {
    visibility: visible;
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition-delay: 0s;
    -transition-delay: 0s;
}
nav#ddfullscreenmenu div#closex {
    width: 40px;
    height: 40px;
    overflow: hidden;
    display: block;
    position: absolute;
    cursor: pointer;
    text-indent: -1000px;
    z-index: 10;
    top: 20px;
    transition: all 0.2s ease-in-out;
    right: 20px;
}
nav#ddfullscreenmenu div#closex:hover {
    transform: scale(1.2);
}
nav#ddfullscreenmenu div#closex::before,
nav div#closex::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 6px;
    background: white;
    top: 50%;
    margin-top: -3px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
nav#ddfullscreenmenu div#closex::after {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
div#ulwrapper {
    position: relative;
    width: 300px;
    margin: auto;
    -webkit-perspective: 300px;
    perspective: 300px;
    -webkit-perspective-origin: 50%;
    perspective-origin: 50%;
}
nav#ddfullscreenmenu ul {
    list-style: none;
    margin: 0;
    top: 30px;
    padding: 0;
    position: relative;
    width: 100%;
    max-height: 100%;
    font: bold 2em, sans-serif;
    -webkit-transition: all 0.5s .1s;
    transition: all 0.5s .1s;
}
nav#ddfullscreenmenu ul li {
    margin-bottom: 10px;
    position: relative;
    display: block;
    font-family: Lato;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
}
nav#ddfullscreenmenu ul li.header > a:after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border: 8px solid #fff;
    border-color: transparent transparent transparent #fff;
}
nav#ddfullscreenmenu ul.submenu {
    position: absolute;
    top: 180px;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
}
nav#ddfullscreenmenu ul li a,
nav#ddfullscreenmenu ul li.sub-navbar {
    text-decoration: none;
    color: #fff;
    display: block;
    cursor: pointer;
}
nav#ddfullscreenmenu ul li.sub-navbar {
    position: relative;
}
nav#ddfullscreenmenu ul li.sub-navbar:after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid #fff;
    border-color: transparent #fff transparent transparent;
}
nav#ddfullscreenmenu ul.hidemenu {
    transform: rotateY(30deg) translateZ(-5px) !important;
    opacity: 0;
    pointer-events: none;
}
nav#ddfullscreenmenu ul.showmenu {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
    pointer-events: auto;
}
/*===========================
  Brand
============================ */

.brand.small img {
    max-width: 80%;
}
/*===========================
  Header
============================ */

.header-main {
    height: 650px;
}
/* Ken Burns Slideshow */

.slideshow {
    position: absolute;
    width: 100%;
    height: 650px;
    z-index: 0;
    overflow: hidden;
}
.slideshow-image {
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.52);
    position: absolute;
    width: 100%;
    height: 100%;
    background: no-repeat 50% 50%;
    background-size: cover;
    -webkit-animation-name: kenburns;
    animation-name: kenburns;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 26s;
    animation-duration: 26s;
    opacity: 1;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
.slide-well {
    margin-top: 10%;
}
/* Ken Burns animation */

.slideshow-image:nth-child(1) {
    background-image: url('../img/pizza-fresca-crusca-lab-header2.jpg');
    -webkit-animation-name: kenburns-1;
    animation-name: kenburns-1;
    z-index: 3;
}
.slideshow-image:nth-child(2) {
    background-image: url('../img/pizza-fresca-crusca-lab-header.jpg');
    -webkit-animation-name: kenburns-2;
    animation-name: kenburns-2;
    z-index: 2;
}
.slideshow-image:nth-child(3) {
    background-image: url('../img/pizza-impasti-cruscalab-header3.jpg');
    -webkit-animation-name: kenburns-3;
    animation-name: kenburns-3;
    z-index: 1;
}
.slideshow-image:nth-child(4) {
    background-image: url('../img/pizza-fresca-cruscalab-header4.jpg');
    -webkit-animation-name: kenburns-4;
    animation-name: kenburns-4;
    z-index: 0;
}
@-webkit-keyframes kenburns-1 {
    0% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    1.5625% {
        opacity: 1;
    }
    23.4375% {
        opacity: 1;
    }
    26.5625% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    98.4375% {
        opacity: 0;
        -webkit-transform: scale(1.21176);
        transform: scale(1.21176);
    }
    100% {
        opacity: 1;
    }
}
@keyframes kenburns-1 {
    0% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    1.5625% {
        opacity: 1;
    }
    23.4375% {
        opacity: 1;
    }
    26.5625% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    98.4375% {
        opacity: 0;
        -webkit-transform: scale(1.21176);
        transform: scale(1.21176);
    }
    100% {
        opacity: 1;
    }
}
@-webkit-keyframes kenburns-2 {
    23.4375% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    26.5625% {
        opacity: 1;
    }
    48.4375% {
        opacity: 1;
    }
    51.5625% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}
@keyframes kenburns-2 {
    23.4375% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    26.5625% {
        opacity: 1;
    }
    48.4375% {
        opacity: 1;
    }
    51.5625% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}
@-webkit-keyframes kenburns-3 {
    48.4375% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    51.5625% {
        opacity: 1;
    }
    73.4375% {
        opacity: 1;
    }
    76.5625% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}
@keyframes kenburns-3 {
    48.4375% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    51.5625% {
        opacity: 1;
    }
    73.4375% {
        opacity: 1;
    }
    76.5625% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}
@keyframes kenburns-4 {
    73.4375% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    76.5625% {
        opacity: 1;
    }
    98.4375% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@-webkit-keyframes kenburns-4 {
    73.4375% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    76.5625% {
        opacity: 1;
    }
    98.4375% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
/* Scroll down icon with animation */

#scroll span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: iconscroll 2s infinite;
    animation: iconscroll 2s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes iconscroll {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }
    20% {
        -webkit-transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }
}
@keyframes iconscroll {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }
    20% {
        transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
        transform: rotate(-45deg) translate(0, 0);
    }
}
/*===========================
  Call to action
============================ */

.bg1 {
    background-image: url('../img/prodotti-artigianali-cruscalab.jpg');
    background-size: cover;
    background-position: center;
}
.bg2 {
    background-image: url('../img/oridnazioni-cruscalab.jpg');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
  .bg2 {
    display: none !important;
  }
}

/*===========================
  About
============================ */

.image-shadow {
    height: 50px;
    height: 100%;
    width: 95%;
    right: 0px;
    position: absolute;
    top: 10px;
    opacity: 0.5;
    filter: blur(15px);
    z-index: -1;
}
/*  featured icon boxes */

.feature {
    padding: 30px;
}
.feature i {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
    transition: all 0.5s ease-out;
}
.feature .media-heading {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.feature:hover i {
    transform: scale(1.2);
}
/*===========================
  Team 
============================ */

.team-member {
    text-align: center;
}
.team-member:hover .profile-image img {
    outline: 2px solid #fff;
    outline-offset: -10px;
}
.team-member .profile-image img {
    max-width: 100%;
    outline: 2px solid #fff;
}
.team-member .team-caption {
    width: 100%;
    transition: all 0.6s;
    padding: 35px 25px 25px;
    display: inline-block;
}
/*===========================
  Fixed Background section
============================ */

#fixedbg {
    background-size: cover;
    background-attachment: fixed;
    background-image: 
  linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
  url('../img/cruscalab-background-impasti.jpg');

}


/*===========================
  Menu 
============================ */

.menu-item {
    margin: 20px 30px;
    transition: all 0.2s ease-in-out 0s;
}
/* menu Price */

.menu-item-price {
    float: right;
    margin-top: -40px;
    line-height: 50px;
    font-size: 18px;
}
/* =========================== Blog Pages ============================ */

#blog,
#blog-pages {
    background: #fff;
    z-index: 1;
    position: relative;
}
#blog.well:before,
.well:after {
    display: none;
}
#blog-page h6 {
    margin-bottom: 10px;
}
#blog-container {
    padding: 0px 40px;
    margin-top: 20px;
}
/* date & category badge */

.date-category {
    position: absolute;
    z-index: 10;
    outline: 1px solid rgba(255, 255, 255, 0.4);
    outline-offset: -5px;
    color: #fff;
    padding: 20px;
    width: 150px;
    border-radius: 0px;
}
.date-category p {
    color: #fff;
    line-height: 18px;
    margin: 10px 0px 0px 0px;
}
/* Popular posts Widget */

.blog-popular {
    padding: 10px;
    transition: all 0.2s ease-in-out;
    border-bottom: 1px dotted;
}
.blog-popular:hover {
    background: #eee;
}
.blog-popular:last-child {
    border-bottom: 0;
}
.blog-popular img {
    border: 4px solid;
}
.blog-popular h6 {
    margin-bottom: 3px;
}
.blog-popular .col-xs-7 {
    padding: 0px;
}
/* Post info */

.post-info p {
    margin-right: 15px;
    display: inline-block;
    font-weight: 700;
    font-size: 11px;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.post-info p + p {
    line-height: 0px !important;
}
.post-info i {
    margin-right: 5px;
}
/* blog post */

.blog-single {
    padding-bottom: 60px;
    padding-top: 30px;
    border-bottom: 4px solid;
}
.blog-single:first-child {
    padding-top: 0;
}
.blog-single:last-child {
    border-bottom: 0px;
}
.blog-single h3 {
    margin-bottom: 10px;
    margin-top: 20px;
    transition: all 0.2s ease-in-out;
}
.blog-single .post-info i {
    margin-right: 5px;
}
.single-page .blog-single h3 {
    margin-top: 0px;
}
.post-main {
    padding: 0 0 40px 0;
}
.post-main img {
    margin-bottom: 20px;
}
/* Blog main- images */

.img-blog {
    overflow: hidden;
}
.img-blog:hover,
.img-blog img {
    transition: opacity 0.7s, transform 2.5s;
}
.img-blog:hover img {
    transform: scale3d(1.2, 1.2, 1);
}
/* Blog tags */

.blog-tags a {
    font-weight: 700;
    color: #fff;
    font-size: 12px;
    font-family: Lato;
    text-transform: uppercase;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 10px 0 20px;
    position: relative;
    letter-spacing: 0.5px;
    margin: 0 10px 10px 0;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.blog-tags a:hover,
.blog-tags a:focus {
    color: #fff;
}
.blog-tags a::before {
    background: #fff;
    border-radius: 5px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
    content: '';
    height: 6px;
    left: 10px;
    position: absolute;
    width: 6px;
    top: 10px;
}
.post-info .blog-tags {
    margin-top: 20px;
}
/* Comments */

.comment-form.media {
    margin-top: 30px;
}
.comments-block {
    margin: 60px 0px 60px 0px;
}
.comment.media-body {
    margin-right: 10px;
}
.comments-block .btn {
    padding: 10px;
}
.comments-block .media-object {
    max-width: 120px;
    outline: 2px solid #fff;
    outline-offset: -5px;
    float: left;
    margin-right: 20px;
}
.comment {
    border-bottom: 6px double;
    margin: 20px auto 20px;
    padding: 30px;
    position: relative;
}
.comment:last-child {
    border-bottom: 0;
}
.nested {
    display: inline-block;
}
/* Blog Home with Image grid  */

.img-grid {
    line-height: 1.6em;
    margin-bottom: 20px;
    overflow: hidden;
}
.img-grid .grid-caption {
    padding: 30px;
    position: absolute;
    bottom: 0;
    z-index: 1;
    max-width: 80%;
}
.img-grid h5 {
    color: #fff;
    margin-top: 0px;
    margin-bottom: 0px;
}
.img-grid .date {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    min-height: 68px;
    min-width: 68px;
    padding: 10px 0;
    transform: translateY(-100%);
    position: absolute;
    text-align: center;
    transition: all 0.2s;
    text-transform: uppercase;
    top: 0;
}
.img-grid .date span {
    display: block;
    line-height: 26px;
    color: #fff;
}
.img-grid .date .month {
    font-size: 11px;
}
.img-grid:hover .date {
    transform: translateY(0%);
}
/*===========================
  Contact
============================ */

.margin-icon {
    margin: 0px 10px;
}
/* Map */

#map-canvas {
    max-width: 100%;
	z-index: 0;
    min-height: 900px;
}
/*===========================
  Reservation Modal
============================ */

.table-condensed>tbody>tr>td,
.input-group.date .input-group-addon {
    cursor: pointer;
    border-bottom: 0px;
}
.bootstrap-datetimepicker-widget {
    padding: 20px;
}
.bootstrap-datetimepicker-widget table,
.bootstrap-datetimepicker-widget .dropdown-menu {
    margin: 0 20px;
}
.bootstrap-datetimepicker-widget .glyphicon:hover {
    cursor: pointer;
}
.bootstrap-datetimepicker-widget.dropdown-menu {
    border-radius: 0px;
    background: #eee;
}
.bootstrap-datetimepicker-widget table thead tr:first-child th {
    font-weight: 700;
    padding-bottom: 20px;
    text-align: center;
    font-size: 20px;
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    font-weight: 900;
}
.bootstrap-datetimepicker-widget .picker-switch td span {
    font-size: 30px;
}
.bootstrap-datetimepicker-widget .btn {
    border-radius: 0px!important;
}
.bootstrap-datetimepicker-widget .btn {
    margin: 0px;
    background: transparent;
    color: #222;
}
.bootstrap-datetimepicker-widget .btn:before {
    display: none;
}
.bootstrap-datetimepicker-widget .btn span {
    color: #222;
}
.bootstrap-datetimepicker-widget .btn:hover {
    background: transparent;
}
.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: #808080!important;
}
#datetimepicker1 {
    margin-bottom: 15px;
}
/*===========================
  Footer
============================ */

footer {
    padding: 45px;
}
footer .brand {
    padding-top: 35px;
    max-width: 300px;
    margin: 0 auto;
}
.opening.table > tbody > tr:first-child > td {
    border: none;
}
.credits {
    color: #fff;
    padding-top: 50px;
    font-size: 12px;
}
.credits a:hover {
    color: #fff;
}
/* Go to top icon */

.back-to-top {
    display: none;
    position: fixed;
    bottom: 58px;
    height: 40px;
    width: 40px;
    right: 22px;
    box-shadow: 2px 1px 20px rgba(0, 0, 0, 0.29);
    z-index: 9999;
}
.back-to-top i {
    color: #fff;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.back-to-top i:focus {
    color: #cecece;
}
/* =========================== Miscellaneous  ============================ */
/* Owl-carousel */

.owl-carousel {
    padding: 10px;
}
.owl-prev,
.owl-next {
    position: absolute;
    top: 0%;
    text-align: center;
}
.owl-nav {
    margin: 0 auto;
    position: absolute;
    top: 0px;
    left: 50%;
}
.owl-prev {
    left: -45px;
}
.owl-next {
    right: -45px;
}
.owl-prev:hover,
.owl-next:hover {
    transition: all .3s ease-in-out;
}
.owl-prev i,
.owl-next i {
    color: #fff;
    font-size: 25px;
    background: #fff;
    padding: 10px;
    box-shadow: 2px 0px 14px rgba(135, 135, 135, 0.65);
}
.owl-carousel.owl-loaded {
    display: block;
    clear: both;
    /* Important fix */
}
.owl-dots {
    text-align: center;
    margin-top: 40px;
}
.owl-theme .owl-dots .owl-dot {
    display: inline-block;
}
.owl-theme .owl-dots .owl-dot span {
    border: 2px solid #cecece;
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 1rem;
    height: 1rem;
    margin: 0 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
}
.owl-theme .owl-dots .owl-dot span:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    transition: transform 0.3s;
    transform: translate(-50%, -50%) scale(0);
}
.owl-theme .owl-dots .owl-dot span:hover:before {
    transform: translate(-50%, -50%) scale(1);
}
.owl-theme .owl-dots .owl-dot.active span:before {
    transform: translate(-50%, -50%) scale(1);
}
.owl-carousel .owl-stage {
    margin-top: 20px;
}
/* fade-effect owl carousel */

.fade-effect.owl-carousel .owl-item {
    perspective: 1000px;
    opacity: 0.7;
    transform: scale(0.8);
    transition: all 1s ease-in-out;
}
.fade-effect.owl-carousel .owl-item.active {
    opacity: 1;
    transform: scale(1);
}
/* White text on dark background  */

.bg-color2 h1,
.bg-color2 h2,
.bg-color2 h3,
.bg-color2 h4,
.bg-color2 h5,
.bg-color2 h6,
.bg-color2 p,
.bg-color2 span {
    color: #fff;
}
/* Sections */

section {
    padding: 100px 0px;
}
section.no-padding {
    padding-bottom: 0px!important;
}
/* Sections heading */

.section-heading {
    margin-bottom: 80px;
    text-align: center;
}
.section-heading h2 {
    z-index: 99;
    text-align: center;
    display: inline-table;
    width: 100%;
}
/* no padding */

.no-padding {
    padding: 0px;
}
/*  padding box*/

.box-padding {
    padding: 100px;
}
/* elements page */

#elements {
    background: #fff;
    z-index: -2;
    position: relative;
}
#elements .row {
    margin-right: 0px;
    margin-left: 0px;
}
#elements h5.sub-header {
    padding: 10px;
    margin-bottom: 20px;
    border-bottom: 5px double;
    text-align: center;
    border-radius: 0px;
}
#elements h3.sub-header {
    padding: 10px;
    border-bottom: 5px double;
    margin-bottom: 50px;
    text-align: center;
}
#elements h6.bold {
    font-size: 24px;
    margin-top: 40px;
    color: #222;
    letter-spacing: 0.2px;
}
.glyph {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    padding: 20px;
    width: 24%;
}
.glyph .glyph-icon {
    padding: 10px;
    display: block;
    font-family: "Flaticon";
    line-height: 20px;
    margin-top: 20px;
}
.glyph .glyph-icon:before {
    font-size: 52px;
    color: #2F2F2F;
    margin-left: 0;
}
.page-header {
    border-bottom: 2px solid #eee !important;
    margin-bottom: 50px;
}
.page-header h2 {
    display: inline-table;
}
/* Img Shapes */

.img-photo {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
    border: 8px solid #fff;
}
.img-opacity:hover {
    opacity: 0.7;
}
.img-rounded {
    border-radius: 40px;
}
/* Image Zoom Hover effect */

.img-effect {
    overflow: hidden;
}
.img-effect img {
    transition: opacity 0.7s, transform 2.5s;
}
.img-effect:hover img {
    transform: scale3d(1.2, 1.2, 1);
}
/* Image hover */

.img-hover img {
    transition: opacity 0.2s;
    opacity: 1;
}
.img-hover:hover img {
    opacity: 0.8;
}
/* Image with line inside */

.img-inline {
    outline: 2px double;
    outline-offset: -10px;
    outline-color: white;
}
/*====== Box Reveal effect ======= */
/* Keyframes */

@keyframes goRight {
    from {
        left: 0;
        right: 100%;
    }
    40% {
        left: 0;
        right: 0;
    }
    60% {
        left: 0;
        right: 0;
    }
    to {
        left: 100%;
        right: 0;
    }
}
@keyframes goLeft {
    from {
        left: 100%;
        right: 0;
    }
    40% {
        left: 0;
        right: 0;
    }
    60% {
        left: 0;
        right: 0;
    }
    to {
        left: 0;
        right: 100%;
    }
}
@keyframes goTop {
    from {
        top: 100%;
        bottom: 0;
    }
    40% {
        top: 0;
        bottom: 0;
    }
    60% {
        top: 0;
        bottom: 0;
    }
    to {
        top: 0;
        bottom: 100%;
    }
}
@keyframes goBottom {
    from {
        top: 0;
        bottom: 100%;
    }
    40% {
        top: 0;
        bottom: 0;
    }
    60% {
        top: 0;
        bottom: 0;
    }
    to {
        top: 100%;
        bottom: 0;
    }
}
@keyframes backRight {
    from {
        left: 0;
        right: 100%;
    }
    40% {
        left: 0;
        right: 0;
    }
    60% {
        left: 0;
        right: 0;
    }
    to {
        left: 0;
        right: 100%;
    }
}
@keyframes backLeft {
    from {
        left: 100%;
        right: 0;
    }
    40% {
        left: 0;
        right: 0;
    }
    60% {
        left: 0;
        right: 0;
    }
    to {
        left: 100%;
        right: 0;
    }
}
@keyframes backTop {
    from {
        top: 100%;
        bottom: 0;
    }
    40% {
        top: 0;
        bottom: 0;
    }
    60% {
        top: 0;
        bottom: 0;
    }
    to {
        top: 100%;
        bottom: 0;
    }
}
@keyframes backBottom {
    from {
        top: 0;
        bottom: 100%;
    }
    40% {
        top: 0;
        bottom: 0;
    }
    60% {
        top: 0;
        bottom: 0;
    }
    to {
        top: 0;
        bottom: 100%;
    }
}
/* Masks sizes */

.revealedBox-in.goRight > span,
.revealedBox-in.goLeft > span,
.revealedBox-in.backRight > span,
.revealedBox-in.backLeft > span {
    height: 100%;
    top: 0;
}
.revealedBox-in.goRight.childrenSpan-2 > span,
.revealedBox-in.goLeft.childrenSpan-2 > span,
.revealedBox-in.backRight.childrenSpan-2 > span,
.revealedBox-in.backLeft.childrenSpan-2 > span {
    height: 50%;
}
.revealedBox-in.goRight.childrenSpan-2 > span:nth-child(2),
.revealedBox-in.goLeft.childrenSpan-2 > span:nth-child(2),
.revealedBox-in.backRight.childrenSpan-2 > span:nth-child(2),
.revealedBox-in.backLeft.childrenSpan-2 > span:nth-child(2) {
    top: 50%;
}
.revealedBox-in.goRight.childrenSpan-3 > span,
.revealedBox-in.goLeft.childrenSpan-3 > span,
.revealedBox-in.backRight.childrenSpan-3 > span,
.revealedBox-in.backLeft.childrenSpan-3 > span {
    height: 33.33333%;
}
.revealedBox-in.goRight.childrenSpan-3 > span:nth-child(2),
.revealedBox-in.goLeft.childrenSpan-3 > span:nth-child(2),
.revealedBox-in.backRight.childrenSpan-3 > span:nth-child(2),
.revealedBox-in.backLeft.childrenSpan-3 > span:nth-child(2) {
    top: 33.33333%;
}
.revealedBox-in.goRight.childrenSpan-3 > span:nth-child(3),
.revealedBox-in.goLeft.childrenSpan-3 > span:nth-child(3),
.revealedBox-in.backRight.childrenSpan-3 > span:nth-child(3),
.revealedBox-in.backLeft.childrenSpan-3 > span:nth-child(3) {
    top: 66.66666%;
}
.revealedBox-in.goRight.childrenSpan-4 > span,
.revealedBox-in.goLeft.childrenSpan-4 > span,
.revealedBox-in.backRight.childrenSpan-4 > span,
.revealedBox-in.backLeft.childrenSpan-4 > span {
    height: 25%;
}
.revealedBox-in.goRight.childrenSpan-4 > span:nth-child(2),
.revealedBox-in.goLeft.childrenSpan-4 > span:nth-child(2),
.revealedBox-in.backRight.childrenSpan-4 > span:nth-child(2),
.revealedBox-in.backLeft.childrenSpan-4 > span:nth-child(2) {
    top: 25%;
}
.revealedBox-in.goRight.childrenSpan-4 > span:nth-child(3),
.revealedBox-in.goLeft.childrenSpan-4 > span:nth-child(3),
.revealedBox-in.backRight.childrenSpan-4 > span:nth-child(3),
.revealedBox-in.backLeft.childrenSpan-4 > span:nth-child(3) {
    top: 50%;
}
.revealedBox-in.goRight.childrenSpan-4 > span:nth-child(4),
.revealedBox-in.goLeft.childrenSpan-4 > span:nth-child(4),
.revealedBox-in.backRight.childrenSpan-4 > span:nth-child(4),
.revealedBox-in.backLeft.childrenSpan-4 > span:nth-child(4) {
    top: 75%;
}
.revealedBox-in.goRight.childrenSpan-5 > span,
.revealedBox-in.goLeft.childrenSpan-5 > span,
.revealedBox-in.backRight.childrenSpan-5 > span,
.revealedBox-in.backLeft.childrenSpan-5 > span {
    height: 20%;
}
.revealedBox-in.goRight.childrenSpan-5 > span:nth-child(2),
.revealedBox-in.goLeft.childrenSpan-5 > span:nth-child(2),
.revealedBox-in.backRight.childrenSpan-5 > span:nth-child(2),
.revealedBox-in.backLeft.childrenSpan-5 > span:nth-child(2) {
    top: 20%;
}
.revealedBox-in.goRight.childrenSpan-5 > span:nth-child(3),
.revealedBox-in.goLeft.childrenSpan-5 > span:nth-child(3),
.revealedBox-in.backRight.childrenSpan-5 > span:nth-child(3),
.revealedBox-in.backLeft.childrenSpan-5 > span:nth-child(3) {
    top: 40%;
}
.revealedBox-in.goRight.childrenSpan-5 > span:nth-child(4),
.revealedBox-in.goLeft.childrenSpan-5 > span:nth-child(4),
.revealedBox-in.backRight.childrenSpan-5 > span:nth-child(4),
.revealedBox-in.backLeft.childrenSpan-5 > span:nth-child(4) {
    top: 60%;
}
.revealedBox-in.goRight.childrenSpan-5 > span:nth-child(5),
.revealedBox-in.goLeft.childrenSpan-5 > span:nth-child(5),
.revealedBox-in.backRight.childrenSpan-5 > span:nth-child(5),
.revealedBox-in.backLeft.childrenSpan-5 > span:nth-child(5) {
    top: 80%;
}
.revealedBox-in.goTop > span,
.revealedBox-in.goBottom > span,
.revealedBox-in.backTop > span,
.revealedBox-in.backBottom > span {
    width: 100%;
}
.revealedBox-in.goTop.childrenSpan-2 > span,
.revealedBox-in.goBottom.childrenSpan-2 > span,
.revealedBox-in.backTop.childrenSpan-2 > span,
.revealedBox-in.backBottom.childrenSpan-2 > span {
    width: 50%;
}
.revealedBox-in.goTop.childrenSpan-2 > span:nth-child(2),
.revealedBox-in.goBottom.childrenSpan-2 > span:nth-child(2),
.revealedBox-in.backTop.childrenSpan-2 > span:nth-child(2),
.revealedBox-in.backBottom.childrenSpan-2 > span:nth-child(2) {
    left: 50%;
}
.revealedBox-in.goTop.childrenSpan-3 > span,
.revealedBox-in.goBottom.childrenSpan-3 > span,
.revealedBox-in.backTop.childrenSpan-3 > span,
.revealedBox-in.backBottom.childrenSpan-3 > span {
    width: 33.33333%;
}
.revealedBox-in.goTop.childrenSpan-3 > span:nth-child(2),
.revealedBox-in.goBottom.childrenSpan-3 > span:nth-child(2),
.revealedBox-in.backTop.childrenSpan-3 > span:nth-child(2),
.revealedBox-in.backBottom.childrenSpan-3 > span:nth-child(2) {
    left: 33.33333%;
}
.revealedBox-in.goTop.childrenSpan-3 > span:nth-child(3),
.revealedBox-in.goBottom.childrenSpan-3 > span:nth-child(3),
.revealedBox-in.backTop.childrenSpan-3 > span:nth-child(3),
.revealedBox-in.backBottom.childrenSpan-3 > span:nth-child(3) {
    left: 66.66666%;
}
.revealedBox-in.goTop.childrenSpan-4 > span,
.revealedBox-in.goBottom.childrenSpan-4 > span,
.revealedBox-in.backTop.childrenSpan-4 > span,
.revealedBox-in.backBottom.childrenSpan-4 > span {
    width: 25%;
}
.revealedBox-in.goTop.childrenSpan-4 > span:nth-child(2),
.revealedBox-in.goBottom.childrenSpan-4 > span:nth-child(2),
.revealedBox-in.backTop.childrenSpan-4 > span:nth-child(2),
.revealedBox-in.backBottom.childrenSpan-4 > span:nth-child(2) {
    left: 25%;
}
.revealedBox-in.goTop.childrenSpan-4 > span:nth-child(3),
.revealedBox-in.goBottom.childrenSpan-4 > span:nth-child(3),
.revealedBox-in.backTop.childrenSpan-4 > span:nth-child(3),
.revealedBox-in.backBottom.childrenSpan-4 > span:nth-child(3) {
    left: 50%;
}
.revealedBox-in.goTop.childrenSpan-4 > span:nth-child(4),
.revealedBox-in.goBottom.childrenSpan-4 > span:nth-child(4),
.revealedBox-in.backTop.childrenSpan-4 > span:nth-child(4),
.revealedBox-in.backBottom.childrenSpan-4 > span:nth-child(4) {
    left: 75%;
}
.revealedBox-in.goTop.childrenSpan-5 > span,
.revealedBox-in.goBottom.childrenSpan-5 > span,
.revealedBox-in.backTop.childrenSpan-5 > span,
.revealedBox-in.backBottom.childrenSpan-5 > span {
    width: 20%;
}
.revealedBox-in.goTop.childrenSpan-5 > span:nth-child(2),
.revealedBox-in.goBottom.childrenSpan-5 > span:nth-child(2),
.revealedBox-in.backTop.childrenSpan-5 > span:nth-child(2),
.revealedBox-in.backBottom.childrenSpan-5 > span:nth-child(2) {
    left: 20%;
}
.revealedBox-in.goTop.childrenSpan-5 > span:nth-child(3),
.revealedBox-in.goBottom.childrenSpan-5 > span:nth-child(3),
.revealedBox-in.backTop.childrenSpan-5 > span:nth-child(3),
.revealedBox-in.backBottom.childrenSpan-5 > span:nth-child(3) {
    left: 40%;
}
.revealedBox-in.goTop.childrenSpan-5 > span:nth-child(4),
.revealedBox-in.goBottom.childrenSpan-5 > span:nth-child(4),
.revealedBox-in.backTop.childrenSpan-5 > span:nth-child(4),
.revealedBox-in.backBottom.childrenSpan-5 > span:nth-child(4) {
    left: 60%;
}
.revealedBox-in.goTop.childrenSpan-5 > span:nth-child(5),
.revealedBox-in.goBottom.childrenSpan-5 > span:nth-child(5),
.revealedBox-in.backTop.childrenSpan-5 > span:nth-child(5),
.revealedBox-in.backBottom.childrenSpan-5 > span:nth-child(5) {
    left: 80%;
}
/* Reveal the content */

.revealedBox .contentBox {
    opacity: 0;
}
.revealedBox > span {
    position: absolute;
    display: block;
}
.revealedBox-in > .contentBox {
    opacity: 1;
    transition-delay: 1.05s;
}
/* Assign animations */

.revealedBox-in.goRight > span {
    animation: goRight 1.4s;
}
.revealedBox-in.goLeft > span {
    animation: goLeft 1.4s;
}
.revealedBox-in.backRight > span {
    animation: backRight 1.4s;
}
.revealedBox-in.backLeft > span {
    animation: backLeft 1.4s;
}
.revealedBox-in.goTop > span {
    animation: goTop 1.4s;
}
.revealedBox-in.goBottom > span {
    animation: goBottom 1.4s;
}
.revealedBox-in.backTop > span {
    animation: backTop 1.4s;
}
.revealedBox-in.backBottom > span {
    animation: backBottom 1.4s;
}
/* Add delay */

.revealedBox-in > span {
    animation-delay: 0.1s;
}
.revealedBox-in > span:nth-child(2) {
    animation-delay: 0.2s;
}
.revealedBox-in > span:nth-child(3) {
    animation-delay: 0.3s;
}
.revealedBox-in > span:nth-child(4) {
    animation-delay: 0.4s;
}
.revealedBox-in > span:nth-child(5) {
    animation-delay: 0.5s;
}
/* Dropdown  menu */

.dropdown-menu {
    min-width: 180px;
}
.dropdown-menu>li>a {
    display: block;
    padding: 13px 10px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #fff;
    white-space: nowrap;
    border-radius: 0px;
    transition: all .2s ease-in-out;
}
/* Pagination */

.pagination>li {
    display: inline-block;
}
.pagination>li>a,
.pagination>li>span {
    margin: 0 1px;
    border: 0;
    padding: 5px 12px;
    color: #fff;
    border-radius: 0%;
    transition: all .2s ease-in-out;
}
.pagination>li>a:hover,
.pagination>li>a:focus {
    color: #fff;
}
.pagination>li:last-child>a,
.pagination>li:last-child>span,
.pagination>li:first-child>a,
.pagination>li:first-child>span {
    border-radius: 0%;
}
/* Alerts */

.alert {
    padding: 25px;
    font-size: 20px;
    border: 0;
    border-radius: 0px;
    font-weight: 700;
    margin: 20px 0px;
}
.alert.alert-success {
    color: #fff;
}
/* Breadcrumbs */

.breadcrumb {
    padding-top: 30px;
    list-style: none;
    letter-spacing: 0.6px;
    text-align: left;
    font-size: 12px;
    display: inline-block;
    font-weight: 700;
    font-family: Lato;
    text-transform: uppercase;
    background: transparent;
    border-radius: 0px;
}
.breadcrumb a {
    color: #fff;
}
ul.breadcrumb {
    line-height: 18px!important;
    text-align: center;
}
.breadcrumb>li+li:before {
    padding: 0 10px;
    content:"»";
    color: #fff;
    font-size: 16px;
}
/* Labels */

.label {
    padding: .2em .6em .3em;
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    border-radius: 0px;
}
/* Form Labels */

label {
    margin-top: 10px;
    display: block;
    max-width: 100%;
    font-weight: normal;
    font-size: 18px;
    margin-bottom: 5px;
}
/* Progress bar */

.progress-bar {
    height: 10px;
    box-shadow: 6px 6px 0px rgba(103, 102, 102, 0.2);
}
.progress {
    box-shadow: none;
}
/* fade tab transition */

.fade {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
/* Page  */

.pages {
    padding: 0px 0px 90px;
}
.image-page {
    margin: 20px 0;
}
/* Dropdown */

.dropdown-menu {
    font-size: 16px;
    border: 0px;
    color: #fff;
    padding: 0px;
}
.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    color: #fff;
    transition: all .2s ease-in-out;
}
/* Pager */

.pager li > a,
.pager li > span {
    display: inline-block;
    padding: 10px 24px;
    font-size: 18px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    border-radius: 0px;
    transition: all .2s ease-in-out;
}
.pager li > a:hover {
    color: #fff;
}
/* Nav-tabs */

.nav-tabs {
    text-align: center;
    border-bottom: 0;
    margin-bottom: -1px;
}
.nav.nav-tabs > li.active > a:hover,
.nav.nav-tabs > li.active > a:focus,
.nav.nav-tabs > li >a:hover {
    border: 0;
}
.nav.nav-tabs > li {
    float: none;
    display: inline-block;
    margin: 10px 5px;
}
.nav.nav-tabs > li > a {
    position: relative;
    font-weight: 800;
    border-radius: 0px;
    display: block;
    min-height: 50px;
    border: 0;
    letter-spacing: 1px;
    outline: 2px solid;
    outline-offset: 5px;
    padding: 15px 35px;
    color: #fff;
    font-size: 22px;
    transition: all .2s ease-in-out;
}
.nav.nav-tabs>li>a:hover,
.nav.nav-tabs>li.active>a,
.nav.nav-tabs > li.active > a:hover {
    color: #fff;
}
/* Panels */

.panel {
    border: 0;
    background: transparent;
    box-shadow: none;
}
.panel-title {
    font-size: 28px;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border: 0;
}
.panel-heading a {
    text-align: center;
    display: block;
    padding: 15px;
    color: #222;
    letter-spacing: 0.8px;
    font-family: 'Cormorant', sans-serif;
    border-bottom: 4px double;
    transition: all .2s ease-in-out;
}
.panel-group .panel+.panel {
    margin-top: 0px;
}
.panel-group .panel-heading {
    border-bottom: 0px;
}
.panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 0px;
}
.panel-heading {
    padding: 0px;
}
.panel-heading [data-toggle="collapse"]:after {
    content: "\f077";
    font-family: FontAwesome;
    float: right;
    font-size: 15px;
    line-height: 20px;
}
.panel-heading [data-toggle="collapse"].collapsed:after {
    transform: rotate(180deg);
}
/* Lists */

ul.no-margin {
    margin: 0px;
    padding: 0;
}
.list-unstyled li {
    line-height: 30px;
}
ul.custom {
    list-style: none;
}
ul.custom li {
    padding: 5px 0px;
    font-weight: 700;
    line-height: 28px;
}
ul.custom li:before {
    content: "\f10c";
    font-size: 12px;
    font-family: "FontAwesome";
    padding-right: 7px;
}
/* Buttons */

.btn,
.btn .btn-default,
.btn .btn-primary {
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 0px;
    display: inline-block;
    font-size: 22px;
    letter-spacing: 0.6px;
    margin-top: 30px;
    outline: none;
    padding: 15px 25px;
    font-family: Cormorant;
    position: relative;
    font-weight: 700;
}
.btn:before,
.btn:after {
    border-color: transparent;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    border-style: solid;
    border-width: 0;
    content: "";
    height: 24px;
    position: absolute;
    width: 24px;
}
.btn:before {
    border-left-width: 2px;
    border-top-width: 2px;
    left: -5px;
    top: -5px;
}
.btn:after {
    border-bottom-width: 2px;
    border-right-width: 2px;
    bottom: -5px;
    right: -5px;
}
.btn:hover {
    background-color: transparent;
	 color: #fff;
}
.btn:hover:before,
.btn:hover:after {
    height: 100%;
    width: 100%;
}
.btn .fa {
    color: #fff;
}
.btn-default:active:hover {
    box-shadow: none;
}
/* Forms */

.form-control {
    display: block;
    width: 100%;
    background: transparent;
    height: 50px;
    border: 0;
    border-radius: 0px;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    border-bottom: 2px solid;
    margin-bottom: 15px;
}
select.form-control {
    border: 2px solid;
    margin-top: 20px;
    font-size: 20px;
}
.form-horizontal .control-label {
    text-align: left!important;
}
.input-group-btn:last-child>.btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group-btn .btn {
    font-size: 14px;
    padding: 15px 30px;
    margin-top: 0px;
}
.input-group-addon {
    border-radius: 0px;
}
.input-group-btn span,
.input-group-addon span,
.btn span {
    color: #fff;
}
.form-control.form-control.input-lg {
    margin-top: 0px;
}
.form-group {
    margin-bottom: 0px;
}
.form-control:focus,
textarea.form-control:focus,
.textarea-field:focus,
.input-field:focus {
    outline: none;
    box-shadow: none;
}
textarea {
    height: 150px;
    resize: none;
}
/* BIG Social Media Icons */

.social-media {
    width: 100%;
    margin-top: 20px;
}
.social-media a {
    display: inline-block;
    font-size: 25px;
}
.social-media a i:hover {
    transform: scale(1.2);
    background-color: #fff;
}
.social-media a i {
    font-weight: normal;
    color: #fff;
    transition: all .3s ease-in-out;
    margin: 3px;
    padding: 10px;
    width: 45px;
    height: 45px;
}
.social-media i {
    transition: all .3s ease-in-out;
}
/* Small Social Media Icons */

.smaller.social-media a i {
    font-size: 20px;
    transition: .3s;
    margin: 5px;
    border: 0px;
    background: none;
    padding: 0;
    color: #fff;
    width: 30px;
}
.smaller.social-media a i:hover {
    background: none;
}
.smaller.social-media {
    margin-top: 40px;
}
/* Centered columns */

.col-centered {
    float: none;
    margin: 0 auto;
}
/* Blockquote */

blockquote {
    padding: 30px;
    font-weight: 900;
    font-size: 20px;
    line-height: 28px;
    border-left: none;
    text-align: center;
}
blockquote:before {
    content: '“';
    font-family: 'Cormorant';
    font-size: 5.1em;
    line-height: 0.1em;
    margin-right: 0.2em;
}
/* Nav-pills */

.nav-pills {
    display: inline-block;
}
.nav-pills>li>a {
    transition: all .2s ease-in-out;
    border-radius: 0px;
    font-size: 16px;
    margin: 5px;
    text-transform: uppercase;
    padding: 10px 25px;
    font-weight: 700;
    letter-spacing: .15em;
    font-family: 'Lato', sans-serif;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav-pills>li>a:hover,
.nav-pills>li>a,
.nav-pills .nav > li > a:hover {
    color: #fff;
}
/* Remove padding in container fluid */

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}
/* Tab content */

.tab-content {
    margin-top: 90px;
}
.tab-content.no-margin {
    margin-top: 0px;
}
.tab-content > .tab-pane {
    display: block;
    height: 0;
    visibility: hidden;
    overflow: hidden;
}
.tab-content > .active {
    visibility: visible;
    height: auto;
    overflow: visible;
}
/* Tables */

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid;
}
/* Modal */

.modal-content {
    border: 0px;
    border-radius: 0px;
    outline: 0;
    padding: 40px;
    box-shadow: 0;
}
.modal-body {
    padding: 0px;
    margin-top: 0px;
}
.modal-header {
    padding: 0px;
    margin-bottom: 20px;
    border-bottom: 0px;
}
.modal-header .close {
    margin-top: -12px;
    z-index: 999;
    font-size: 60px;
    font-weight: 700;
}
/* Wells */

.well.outlined {
    outline: 20px double #fff;
}
.well {
    border: 0px;
    background: #fff;
    border-radius: 0px;
    padding: 60px;
}
.well .list-unstyled {
    padding-left: 15px;
    font-size: 16px;
    list-style: none;
    line-height: 30px;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}
/* Media */

.media {
    margin-top: 45px;
}
.media-heading small {
    font-weight: 800;
    display: block;
    font-size: 13px;
    margin: 10px 0 20px;
    line-height: 20px;
    letter-spacing: 0.6px
}
/* Margins */

.margin1 {
    margin-top: 50px;
}
/* Jumbotron */

.jumbotron {
    margin-bottom: 60px;
    background-size: cover!important;
    color: #fff;
    padding-bottom: 0px;
    padding-top: 200px;
    background-position: center;
    text-align: center;
    background: url(../img/jumbotron.jpg);
    display: inline-block;
    width: 100%;
}
.jumbotron .jumbo-overlay {
    background: rgba(23, 23, 23, 0.55);
    overflow: hidden;
    height: 100%;
    z-index: 2;
}
.jumbotron .jumbo-heading {
    color: #fff;
    padding: 40px 50px;
}
.jumbotron .jumbo-heading h1 {
    font-size: 65px;
    padding-top: 20px;
    position: relative;
    max-width: 70%;
    margin: 0 auto;
}
.jumbotron .brand.small img {
    padding: 20px;
}
/* Sidebar */

.sidebar {
    padding: 20px;
}
.sidebar .well {
    padding: 20px;
    border: 0px;
    margin-bottom: 40px;
}
.sidebar .well:after,
.sidebar .well:before {
    display: none;
}
.sidebar-header {
    color: #fff;
    margin-bottom: 20px;
    padding: 6px;
    text-align: center;
    margin-top: 0px;
}
/* divider */

hr {
    border-top: 1px dotted;
}
/* List group */

.list-group-item {
    position: relative;
    display: block;
    border-radius: 0px;
    padding: 10px 15px;
    margin-bottom: -1px;
    transition: all 0.6s;
}
.list-group-item:first-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
a.list-group-item,
button.list-group-item {
    color: #fff;
}
a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
    color: #fff;
    text-decoration: none;
}






/* Per browser WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background-color: #000000;
}

::-webkit-scrollbar-thumb {
  background-color: #723132;
  border-radius: 6px;
  border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #5a2525;
}

* {
  scrollbar-color: #723132 #000000;
  scrollbar-width: thin;
}


html {
  scroll-behavior: smooth;
}

.link-crusca {
  display: inline-block;
  color: #f3eee5;
  text-decoration: none;
  font-weight: 600;
  /* font-size: 1rem; */
  padding: 0.4em 0.8em;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: underline;
}

.link-crusca:hover {
  color: #723132;
  transform: scale(1.05);
}

.link-crusca:active {
  transform: scale(0.95);
  color: #000000;
}



.keyblade-credits {
  font-family: 'Georgia', serif;
  font-weight: 500;
  color: #f8f6f4; 
  font-size: 1.2rem;
  padding: 15px 0;
  letter-spacing: 0.02em;
}

.keyblade-credits a {
  color: #f5f1ed;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  animation: subtlePulse 3s infinite alternate;
  transition: color 0.3s ease;
}

.keyblade-credits a:hover,
.keyblade-credits a:focus {
  color: #6B4C2B;
  text-decoration: underline;
  animation-play-state: paused;
}


@keyframes subtlePulse {
  0% {
    opacity: 1;
    text-shadow: none;
  }
  100% {
    opacity: 0.85;
    text-shadow: 0 0 5px rgba(166,124,82, 0.4);
  }
}







#go-to-top-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none; /* non cliccabile se nascosto */
  transition: opacity 0.4s ease;
}

#go-to-top-wrapper.visible {
  opacity: 1;
  pointer-events: auto;
}

#go-to-top-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #A67C52; /* beige caldo */
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#go-to-top-btn:hover,
#go-to-top-btn:focus {
  background-color: #6B4C2B;
  transform: translateY(-3px);
  outline: none;
}










.crusca-logo-resize {
  max-width: 270px;
  margin-top: -5rem;
}

@media (max-width: 600px) {
  .crusca-logo-resize {
    max-width: 200px;
    margin-top: -3rem;
  }
  .sub-heading {
    margin-top: -4rem;
  }
}













.scroll-gallery-section {
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem;
}

.scroll-gallery {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
}

.gallery-item img {
  height: 200px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 8px;
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

@media (max-width: 768px) {
  .gallery-item img {
    height: 160px;
  }
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.price-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(166, 124, 82, 0.95); /* Beige-Marrone Crusca */
  color: #fff;
  font-size: 1.5rem; /* aumentato */
  font-weight: bold;
  padding: 0.8rem 1.2rem; /* aumentato */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  line-height: 1.2;
}

.name-badge {
   position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(120, 90, 50, 0.85); /* marrone più scuro */
  color: #f5f5dc; /* beige chiaro */
  font-variant: small-caps;
   font-size: clamp(1.2rem, 3.4vw, 1.8rem);
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  white-space: nowrap;
  max-width: 90%;
  text-align: center;
  letter-spacing: 0.05em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}



































  
  #cookie-banner {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(48, 30, 15, 0.95); /* marrone trasparente */
    color: #ffffff;
    padding: 2rem 1rem;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
  }

  #cookie-banner.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  #cookie-banner .cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 960px;
    margin: auto;
  }

  #cookie-banner img {
    max-width: 100px;
    margin-bottom: 1rem;
  }

  #cookie-banner p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #fff;
  }

  #cookie-banner label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #fff;
  }

  .cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .cookie-buttons button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
    min-width: 140px;
  }

  #accept-cookies {
    background-color: #a67c52; /* beige-marrone Crusca */
    color: #fff;
  }

  #accept-cookies:hover {
    background-color: rgba(255, 255, 255, 0.15);
  }

  #reject-cookies {
    background-color: #a67c52;
    
    color: #fff;
  }

  #reject-cookies:hover {
    background-color: rgba(255, 255, 255, 0.15);
  }

  .cookie-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}

  #close-cookie-banner {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }

  @media (max-width: 600px) {
    #cookie-banner {
      padding: 1.5rem 1rem;
    }

    #cookie-banner p {
      font-size: 1rem;
    }

    .cookie-buttons {
      flex-direction: column;
    }

    .cookie-buttons button {
      width: 100%;
    }

    #close-cookie-banner {
      font-size: 1.7rem;
      right: 10px;
    }
  }






 /* Contenitore fullscreen */
#splash-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #301e0f; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
  flex-direction: column;
  animation: fadeOutSplash 1s ease forwards;
  animation-delay: 4s;
}


.splash-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}


.splash-mobile {
  display: none;
}


@media (max-width: 767px) {
  .splash-desktop {
    display: none;
  }
  .splash-mobile {
    display: block;
  }
}


@keyframes textFadeInOut {
  0% { opacity: 0; transform: translateY(20px);}
  10% { opacity: 1; transform: translateY(0);}
  90% { opacity: 1; transform: translateY(0);}
  100% { opacity: 0; transform: translateY(-20px);}
}

@keyframes fadeOutSplash {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}









/*===========================
  Media Queries
============================ */
/************ min width 1200px *************/

@media (min-width: 1200px) {
    /* Row with equal height columns */
    
    .row-eq-height {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
}
/************ max width 1200px *************/

@media (max-width: 1200px) {
    .bg1,
    .bg2 {
        min-height: 400px;
    }
    .res-margin {
        margin-top: 30px;
    }
}
/************ max width 991px *************/

@media (max-width: 991px) {
    /* Headers */
    
    h1 {
        font-size: 46px !important;
        line-height: 46px;
    }
    h2 {
        font-size: 44px !important;
    }
    h3 {
        font-size: 38px;
    }
    h4 {
        font-size: 28px;
    }
    h5 {
        font-size: 20px;
    }
    h6 {
        font-size: 18px;
    }
    /* Header */
    
    .header-main,
    .slideshow {
        height: 500px;
    }
    /* Responsive margin*/
    
    .res-margin,
    .margin1 {
        margin-top: 30px;
    }
    /* Space between sections */
    
    .section-heading {
        margin-bottom: 30px;
    }
    /* miscelaneous */
    
    .sidebar {
        border: 0px;
    }
    .img-paragraph {
        margin: 0px 0px 20px 0px;
    }
    .box-padding {
        padding: 30px;
    }
    .well {
        margin: 30px;
    }
    /* Map */
    
    #map-canvas {
        min-height: 500px;
    }
}
/************ max width 767px *************/

@media (max-width: 767px) {
    /* Jumbotron */
    
    .jumbotron {
        margin-bottom: 9em;
    }
    .jumbotron .jumbo-heading {
        width: 100%;
    }
    /* Miscelaneous */
    
    .nav-tabs > li {
        margin-bottom: 10px!important;
    }
    .breadcrumb>li+li:before {
        padding: 0 4px;
    }
    h1 {
        font-size: 2.998em;
    }
    .nav-pills>li>a {
        font-size: 16px;
        margin: 5px;
        line-height: 18px;
        padding: 10px;
    }
    section {
        padding: 50px 0px;
    }
    #fixedbg {
        background-attachment: scroll;
    }
    .back-to-top i {
        font-size: 22px;
        line-height: 24px;
    }
    .back-to-top {
        height: 30px;
        width: 30px;
        right: 12px;
        bottom: 10px;
    }
}
/************ max width 480px *************/

@media (max-width: 480px) {
    /* Header  */
    
    .header-main,
    .slideshow {
        height: 350px;
    }
    /* Jumbotron */
    
    .jumbotron {
        margin-bottom: 2em;
        padding: 10px;
        min-height: 250px;
    }
    .jumbo-heading h1 {
        font-size: 25px!important;
        line-height: 28px!important;
    }
    .jumbo-heading {
        padding: 0px 0px!important;
    }
    /* Headers */
    
    h1 {
        font-size: 30px !important;
        text-transform: uppercase;
        line-height: 30px;
    }
    h2 {
        font-size: 32px !important;
    }
    h3 {
        font-size: 26px;
    }
    h4 {
        font-size: 24px;
    }
    h5 {
        font-size: 18px;
        text-transform: uppercase;
    }
    h6 {
        font-size: 18px;
    }
    /* Miscellaneous */
    
    .section-heading h2 {
        line-height: 30px;
        font-size: 22px;
    }
    .section-heading {
        margin-bottom: 2rem;
    }
    .block {
        padding: 10px;
    }
    .date-category i {
        display: none;
    }
    .date-category {
        position: absolute;
        color: #fff;
        min-width: 0px;
        padding: 20px;
    }
    .date-category p {
        margin: 0px;
        line-height: 12px;
    }
    .img-grid .grid-caption {
        padding: 10px;
    }
    .navbar.navbar-custom.navbar-fixed-top {
        margin-bottom: 30px;
    }
    .breadcrumb {
        font-size: 11px;
        padding-top: 5px;
    }
    .post-info p {
        line-height: 13px;
    }
    .comments-block {
        padding: 0px;
    }
    .panel-heading [data-toggle="collapse"]:after {
        display: none;
    }
    #blog-container {
        padding: 10px;
        margin-top: 20px;
    }
    section {
        padding: 40px 0px;
    }
    footer p {
        line-height: 20px;
        word-wrap: break-word;
    }
    .input-group-btn:last-child>.btn,
    .input-group .form-control:first-child {
        border-radius: 0px;
        margin-top: 10px;
    }
    .input-group .form-control,
    .input-group-btn {
        display: inline-table;
    }
    .nav-pills> li.active:after,
    .nav-pills> li.active:before {
        top: -45%;
    }
    .nav-pills > li {
        float: none;
    }
    .owl-carousel {
        padding: 0px 0px;
    }
    .comment {
        padding: 10px;
        text-align: center;
    }
    .comments-block .media-object {
        max-width: 100%;
        float: none;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 20px;
    }
    .comment.media-body {
        margin-right: 0px;
    }
    .tab-pane h3 {
        margin-top: 10px;
    }
    .panel-body {
        padding: 0;
    }
    .menu-item {
        margin: 20px 0px;
    }
    .btn {
        font-size: 15px;
        margin: 10px 0px;
        padding: 15px 20px;
    }
    .spinner {
        left: 42%;
    }
    .well {
        padding: 20px;
    }
    div#ulwrapper {
        margin: 20px auto;
    }
    footer {
        padding: 25px;
    }
    footer .text-right,
    footer .text-left {
        text-align: center;
    }
    .modal-content {
        border: 0;
        padding: 10px;
    }
    .modal-header {
        padding: 0;
    }
    .glyph {
        width: 50%;
        text-align: center;
        display: inline;
    }
	.modal-dialog {
	  width: 100%;
	  height: 100%;
	  margin: 0;
	  padding: 0;
	}

	.modal-content {
		height: auto;
		max-height: 100%;
		border-radius: 0;
		padding: 20px;
		top: 0px;
		overflow-x: scroll;
	}
    .modal{padding-right:0px!important;}
    /* Disable Wow animations on small screens */
    
    .wow {
        visibility: visible !important;
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
    }
}
/************ max width 320px *************/

@media (max-width: 320px) {
    /* Header */
    
    .header-main,
    .slideshow {
        height: 350px;
    }
    /* Jumbotron */
    
    .jumbotron {
        margin-bottom: 2em;
        padding: 0px;
    }
    /* Nav-tabs */
    
    .nav.nav-tabs > li > a {
        min-height: 30px;
        font-size: 16px;
        padding: 15px 15px;
        line-height: 15px;
    }
    /* Miscellaneous */
    
    footer .table .text-left {
        font-weight: 900;
    }
    .label,
    .table {
        font-size: 14px;
    }
    .table table,
    .table thead,
    .table th,
    .table td,
    .table tr {
        display: block;
    }
	footer .brand {
		padding-top: 35px;
		max-width: 200px;
    }
}