/*
 Theme Name:   UnderStrap Child
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       Holger Koenemann
 Author URI:   http://www.holgerkoenemann.de
 Template:     understrap
 Version:      0.3.10
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: holger1411/understrap-child
*/

/* fissa la sovraposizione dell'admin bar alla 
   navbar con posizione fissa */
.wrapper{
	padding-bottom:0 !important;
} 

.logged-in.admin-bar .fixed-top {
    top: 32px !important;
}
.fixed-top {
	z-index:1000;
}

.edit-link {
    display: none;
}
.page-id-803,
.page-id-915,
.page-id-1077,
.page-id-983{
    overflow-x: hidden !important;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #f5e4c5;
    color: #5e6160;
    position: relative; /* required */
}
a {
    color: #ae222b;
    transition: all 0.5s ease;
}
a:hover {
    text-decoration: none;
    color: #ac9f84;
}

.button-page a {
    width: 100%;
}
.dual-text-page .dual-text-first,
.dual-text-page .dual-text-last {
    display: block !important;
}
.dual-text-bottom {
    background-color: #ae222b;
}
.bg-light {
    background-color: #D2C5AF !important;
}

.bg-light.shrink {
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
}

.scrollToTop {
    padding: 16px 15px;
    text-align: center;
    background: #ae222b;
    font-weight: bold;
    font-size: 10px;
    color: whiteSmoke;
    text-decoration: none;
    position: fixed;
    bottom: 75px;
    right: 40px;
    display: none;
    border-radius: 50%;
    transition: all 0.5s;
}

.scrollToTop:hover {
    text-decoration: none;
    background: whiteSmoke;
    color: #ae222b;
}

    #navbarNavDropdown {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
		
    }
/************** flag   **************
***************************************/
.lang-item {
	margin: auto;
}
.lang-item img {
	max-width: 20px;
}
.lang-item a:hover {
	background-color: transparent !important;
}
#menu-item-892-it a,
#menu-item-892-en a{
    line-height: 26px !important;
}

#menu-item-892-it ,
#menu-item-899-it ,
#menu-item-892-en ,
#menu-item-899-en {
    display: none;
}
/************** slide  **************
***************************************/
.metaslider.ms-theme-nivo-bar .slider-wrapper {
	border-width: 0 !important;
}
.theme-bar.slider-wrapper {
    border: 0px !important;
}

.theme-bar a.nivo-nextNav {
display: block;
    width: 32px;
    height: 32px;
    background: url(https://www.altanaspa.com/wp-content/uploads/2018/10/right-arrow.png) no-repeat;
	background-size: 32px 32px !important;
    text-indent: -9999px;
    border: 0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;

}
.theme-bar a.nivo-prevNav {
display: block;
    width: 32px;
    height: 32px;
    background: url(https://www.altanaspa.com/wp-content/uploads/2018/10/left-arrow.png) no-repeat;
	background-size: 32px 32px !important;
    text-indent: -9999px;
    border: 0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.theme-bar .nivo-directionNav a {
    top: 50% !important;
    bottom: auto !important;
}

/************** Menu Lingua **************
***************************************/
#menu-lingua {
	list-style: none;
    display: flex;
    position: absolute;
    top: 0px;
    right: 11%;
    font-size: 14px;
}
#menu-lingua li {
    padding: 2px 3px;
	background: #6a6865;
}
#menu-lingua li a {
	color:#fff;
}
#menu-lingua li a:hover{
	color:#ae222b ;
}
#menu-lingua .current-lang {
	background: #ae222b !important;
}
#menu-lingua .current-lang a:hover {
	color:#6a6865;
}

/************** cookie  **************
***************************************/
.ctcc-left-side {
	font-size: 13px;
    font-weight: 400;
}
button#catapultCookie {
	width: 100%;
	border-radius: 0px !important;
	transition:all 0.3s ease;
}
button#catapultCookie:hover {
	background: #fff;
	color:#5e6160;
}
#catapult-cookie-bar.rounded-corners {
    border-radius: 0 !important;
}
/************** preload  **************
***************************************/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f5e4c5;
    /* change if the mask should have another color then white */
    z-index: 9999999;
    /* makes sure it stays on top */
}

.cssload-loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto;
    display: inline-block;
    position: absolute;
    vertical-align: middle;
    background: #ae222b;
    left: 50%;
    top: 50%;
    margin-top: -25px;
    margin-left: -25px;
}

.cssload-loader,
.cssload-loader:before,
.cssload-loader:after {
    animation: 1.15s infinite ease-in-out;
    -o-animation: 1.15s infinite ease-in-out;
    -ms-animation: 1.15s infinite ease-in-out;
    -webkit-animation: 1.15s infinite ease-in-out;
    -moz-animation: 1.15s infinite ease-in-out;
}

.cssload-loader:before,
.cssload-loader:after {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.cssload-loader {
    animation-name: cssload-loader;
    -o-animation-name: cssload-loader;
    -ms-animation-name: cssload-loader;
    -webkit-animation-name: cssload-loader;
    -moz-animation-name: cssload-loader;
}


@keyframes cssload-loader {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(1);
        opacity: 0;
    }
}

@-o-keyframes cssload-loader {
    from {
        -o-transform: scale(0);
        opacity: 1;
    }
    to {
        -o-transform: scale(1);
        opacity: 0;
    }
}

@-webkit-keyframes cssload-loader {
    from {
        -webkit-transform: scale(0);
        opacity: 1;
    }
    to {
        -webkit-transform: scale(1);
        opacity: 0;
    }
}

@-moz-keyframes cssload-loader {
    from {
        -moz-transform: scale(0);
        opacity: 1;
    }
    to {
        -moz-transform: scale(1);
        opacity: 0;
    }
}

/************** Navbar  **************
***************************************/

.nav-pills > li > a {
    line-height: 30px !important;
}

.navbar {
    text-transform: uppercase;
    line-height: 20px;
    font-size: 21px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.navbar-light .navbar-toggler {
    border-color: transparent;
}

.navbar-brand {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 259px;
}
.shrink a.navbar-brand {
    width: 160px;
}

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
    color: #5e6160;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #ae222b;
}

.navbar-light .navbar-nav .nav-link:hover {

    color: white;
}

.nav-pills .nav-link {
    border-radius: 0;
}

/* scrollspy boostrap*/

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #ae222b;
    color: #fff !important;
}

/************** box brand  **************
***************************************/

.link-box {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 100;
    padding-left: 10px;
    padding-top: 200px;
}

.link-box:hover {
    text-decoration: none;
}

.bg-hover .testo-2,
.bg-hover-b .testo-2 {
    color: #ffffff;
    font-size: 18px;
    padding-top: 5px;
    line-height: 100%;
    text-transform: uppercase;
    position: relative;
    font-weight: 300;
}

.bg-hover .testo-1,
.bg-hover-b .testo-1 {
    color: #ffffff;
    font-size: 30px;
    line-height: 100%;
    text-transform: uppercase;
    position: relative;
}

.bg-hover:before,
.bg-hover-b:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: transparent;
    transition: all 0.5s ease;

}
.bg-hover-b a,
.bg-hover a  {
    display: block;
    z-index: 100;
    position: relative;
}

.bg-hover #box-1,
.bg-hover #box-3{
    padding: 130px 10px 38px 20px;
}
.bg-hover #box-5,
.bg-hover #box-6{
    padding: 150px 10px 38px 20px;
}
.bg-hover #box-2 {
    padding: 130px 10px 20px 20px;
}

.bg-hover-b #box-4 img ,
.bg-hover-b #box-8 img ,
.bg-hover-b #box-7 img{
    max-width: 200px;
}

.bg-hover a:hover,
.bg-hover-b a:hover {
    text-decoration: none;
}

.bg-hover:hover::before {
    background: rgba(192, 11, 29, 0.7);
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 0;

}

.bg-hover-b:before {
    background: #fff3d3;
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 0;

}

.bg-hover-b:hover::before {
    background: transparent;
}

.img-button-moschino {
    display: block;
    margin: 0 auto;
    z-index: 100;
    position: relative;
    opacity: 1;
    transition: all 0.5s ease;
}

.bg-hover-b:hover .img-button-moschino {
    opacity: 0;
}


/************** Blog  **************
***************************************/

.nav-previous {
    padding-left: 10px;
}

.nav-next {
    padding-left: 10px;
    padding-right: 10px;
}

.nav-links {
    font-size: 12px;
    font-family: 'Museo Sans 500';
}

#archive-wrapper {
    padding-top: 150px;
}

#archive-wrapper .btn-secondary {
    background-color: #000000;
    border-color: #000000;
    border-radius: unset;
}

#archive-wrapper .entry-meta {
    font-size: 12px;
    font-family: 'museo Sans 300';
    color: #b3b3b3;
    padding-bottom: 10px;
}

#archive-wrapper .entry-footer {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.btn-secondary:hover {
    background-color: #b3b3b3;
    border-color: #b3b3b3;
}

.epd-post-date:after {
    content: '';
    position: relative;
    top: 50%;
    right: -5px;
    width: 1px;
    height: 17px;
    border-left: 1px dotted rgba(20, 22, 24, 0.3);
}

.epd-cat {
    text-transform: uppercase;
}

#wrapper-footer {
    border-top: 1px solid #e5d3b3;
    padding-top: 30px;
}

.single .entry-footer {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 20px;
}

.post-navigation {
    padding-top: 40px;
}

/************** Sidebar  **************
***************************************/

.widget_search,
.widget_recent_entries,
.widget_recent_comments,
.widget_archive,
.widget_categories,
.widget_meta {
    background: #fff;
    margin-bottom: 50px;
    padding: 35px;
    border-bottom: 1px solid #e2e2e2;
}

.widget_recent_entries ul,
.widget_recent_comments ul,
.widget_archive ul,
.widget_categories ul,
.widget_meta ul {
    padding-left: 0;
}

.widget_recent_entries ul li,
.widget_recent_comments ul li,
.widget_archive ul li,
.widget_categories ul li,
.widget_meta ul li {
    list-style: none;
    padding: 15px 0px;
    border-bottom: 1px solid #f0f3f4;
}

.widget_recent_entries ul li a,
.widget_recent_comments ul li a,
.widget_archive ul li a,
.widget_categories ul li a,
.widget_meta ul li a {

    text-decoration: none;
}

#login h1 {
    display: none;
}

#campo-ns,
#invia-bt {
    padding: 1rem 0.75rem;

}

#invia-bt {
    font-family: 'Museo Sans 700';
    background-color: #000000;
    color: #fff;
    transition: all 0.5s;
    border-color: #000000;
}

#invia-bt:hover {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #000000;
}

.form-control,
.wpcf7 input[type=text],
.wpcf7 input[type=search],
.wpcf7 input[type=url],
.wpcf7 input[type=tel],
.wpcf7 input[type=number],
.wpcf7 input[type=range],
.wpcf7 input[type=date],
.wpcf7 input[type=month],
.wpcf7 input[type=week],
.wpcf7 input[type=time],
.wpcf7 input[type=datetime],
.wpcf7 input[type=datetime-local],
.wpcf7 input[type=color],
.wpcf7 input[type=email],
.wpcf7 input[type=file],
.wpcf7 input[type=submit],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7 .wpcf7-validation-errors {
    border-radius: unset;
    background-clip: unset;
}
/********************** form Scrivici **************
*************************************************/
.wpcf7 {
    max-width: inherit;
}
span.wpcf7-list-item {
    margin: 0;
}
.invia-form-scrivici {
    background-color: #ac9e83 !important;
    color: #fff !important;
    border: 1px solid #ac9e83 !important;
    transition: all 0.5s ease;
}
.invia-form-scrivici:hover {
    background-color: #ae222b !important;
    border: 1px solid #ae222b !important;
}
.form-scrivici {
    background-color: #d3c5af !important;
    border: 1px solid #bbaf9d !important;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #495057 !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #495057 !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #495057 !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: #495057 !important;
}

textarea:focus, input:focus, input[type]:focus{   
    border-color: #ae222b !important;
    box-shadow:none !important;
    outline: 0 none !important;
}
/********************** 404 **********************/
#error-404-wrapper {
	margin-top:120px;
}
/********************** Template **********************/
.page-template-fullwidthpage-notitle,
.page-template-default {
    margin-top: 122px;
}
.page-template-default h1.entry-title {
    margin-top: 50px;
}


/********************** RESPONSIVE **************
*************************************************/
@media (max-width: 991px) {

	#menu-item-892-it ,
	#menu-item-899-it ,
	#menu-item-892-en ,
	#menu-item-899-en {
		display: flex;
		}
	#menu-lingua {
		display: none;
	}
	
	}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 3px;
        padding-left: 3px;
        margin-left: 1rem;
    }

}

@media screen and (max-width: 767px) {

    .navbar-brand {
        width: 185px;
    }

}

