html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    box-sizing: border-box;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    color: #E05545;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
    overflow: auto;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    margin-left: 30px;
    margin-bottom: 30px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

.btn{
    font-family:'Apercu', serif;
    font-size: 17px;
    font-weight: 400;
    border: 2px solid #101010;
    padding: 1% 1% 1% 1%;
    color: #fff;
    background-color: #101010;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.btn .material-icons{
    font-size: 1px;
    margin: 0;
}
.btn:hover{
    padding: 1% 2% 1% 2%;
    color: #101010;
    background-color: transparent;
}
.btn:hover .material-icons{
    transform:translateY(4px);
    font-size: 17px;
    color: #101010;
    margin-left:5px
}
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
legend {
    border: 0;
    padding: 0;
}
optgroup {
    font-weight: bold;
}
td,
th {
    padding: 0;
}
body,
input,
select,
textarea {
    color: gray;
    font-family: 'Apercu', sans-serif;
    font-size: 1.3vw;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}
p {
    font-family:'Apercu', serif;
    font-size:17px;
    font-weight:400;
    color:#101010;
    margin-bottom: 1.5em;
}
h1 {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0px !important;
    border: 0px !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}
h2 {
    line-height: normal;
    font-family: 'Apercu', serif;
    font-size: 36px;
    color: #20252D;
    letter-spacing: 0;
}
h3 {
    font-family: 'Apercu';
    font-weight: 600;
    font-size: 16px;
    color: #BFA980;
    letter-spacing: 1px;
    text-transform: uppercase;
}
@font-face {
  font-family: 'Apercu';
  src: url('fonts/apercu.otf'); /* IE9+ Compat Modes */
  font-weight: 400;
}
@font-face {
  font-family: 'Apercu';
  src: url('fonts/Apercu-Bold.otf'); /* IE9+ Compat Modes */
  font-weight: 600;
}
dfn,
cite,
em,
i {
    font-style: normal
}
blockquote {
    margin: 0 1.5em;
}
address {
    font-style: normal
}
pre {
    overflow: auto;
    background: #eee;
    font-family: "Apercu", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}
code,
kbd,
tt,
var {
    font-family: Apercu, Consolas, "Apercu", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}
abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark,
ins {
    background: transparent;
    text-decoration: none;
}
big {
    font-size: 125%;
}
mark a {
    color: #E05545
}
* ,
* :before,
* :after {
    box-sizing: inherit;
    vertical-align: baseline;
    outline: 0;
    padding: 0;
    margin: 0
}
body {
    background: #fff;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}
blockquote,
q {
    quotes: "" "";
}
ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 1.5em 1.5em;
}
img {
    height: auto;
    max-width: 100%;
    border: 0
}
table {
    margin: 0 0 1.5em;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
select {
    border: 0px solid #ccc;
}

/* CF CF */

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    color: #20252D;
    border: none;
    border-bottom: 1px solid #20252D;
    margin: 10px 0 30px;
    ont-family: 'Apercu';
    font-size: 17px;
    color: #20252D;
    letter-spacing: 0;
}
input[type="checkbox"]{
    border-color: color: #20252D;
    color: #20252D;
}
input[type="file"]{
    color: #20252D;
    ont-family: 'Apercu';
    font-size: 17px;
    color: #20252D;
    letter-spacing: 0;
}
textarea {
    padding: 10px;
    width: 100%;
    color: #20252D;
    height: 150px;
    border: 1px solid #20252D;
    ont-family: 'Apercu';
    font-size: 17px;
    color: #20252D;
    letter-spacing: 0;
}
label{
    font-family: 'Apercu';
    font-size: 17px;
    color: #20252D;
    letter-spacing: 0;
}
#contact span{
font-family: 'Apercu';
font-size: 17px;
color: #20252D;
letter-spacing: 0;
padding-bottom: 5px
}
.text_ct_mes span{
    font-weight: 300
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #000;
}
input[type="text"]:active,
input[type="email"]:active,
textarea:active {
    border-color: #000;
}
input[type="button"]{

}
input[type="button"]:hover {

}
.scrivici {
   display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: #fff;
    padding: 3% 30%; 
}
.scrivici.active{
    display: block;
}
.contactForm {
    animation: hi 0.9s ease 1s backwards;
    margin: 5% 25% 0%;
}



@media only screen and (max-width:768px) {
}

@media only screen and (max-width:480px) {
}

a {
    text-decoration: none;
    font-size: 17px;
    color:#101010;
    letter-spacing: 0;
}

a:visited {}

a:hover, a:focus, a:active {}

a:focus {
    outline: thin dotted;
}

a:hover, a:active {
    outline: 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

.page-content,
.entry-content,
.comment-content {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

embed,
iframe,
object {
    max-width: 100%;
}

/********** 
    LOGO  svg
**********/


#bayleys {
  fill: #000;
  stroke: #000;
}

#bayleys:hover {
  stroke-width: 0;
  animation: logo 2s linear;
}

@keyframes logo {
  0% {
    stroke-width: 1pt;
    stroke-dashoffset: 100;
    fill-opacity: 0;
  }
  50% {
    fill-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
    stroke-width: 0pt;
  }
}


/*************** 
    MENU
***************/

.home .site-header{
    position: fixed;
    width: 100%;
    z-index: 9;
    height:0px;
    transition: height 1s
}
.site-header{
    position: absolute;
    width: 100%;
    z-index: 9;
    height:0px;
    transition: height 1s
}
.site-header.remove_header{
    position: fixed;
    opacity: 0;
    height: 0;
    transition: height 1s
}
.site-header.remove_header.cambio_header{
    background-color:rgb(255, 255, 255);
    height:50px;
    transition: height 1s;
    width: 100%;
    opacity:1;
}

.logo-img{
    width:10%;
    margin:2.5% 0% 0% 5%;
    float:left;
    z-index:999;
    position:absolute;
}

.remove_header .logo-img{
    position: fixed;
    opacity: 0;
    margin:-4% 0% 0% 5%;
}

.remove_header.cambio_header .logo-img{
    margin:0.6% 0% 0% 5%;
    transition: margin 1.5s;
    opacity:1;
}
.remove_header.cambio_header .logo-img svg{
    width:120px;
    height:auto;
}

.main-navigation{
    position: absolute;
    width:100%;
    z-index: 1;
}
.main-navigation span {
  display: block;
  background: #000;
  border-radius: 2px;
  transition:.25s ease-in-out;
}
#menu-toggle {
  width: 100px;
  height: 100px;
  margin: 0px;
  cursor: pointer;
  background: transparent;
  border-radius: 5px;
  position: absolute;
  right: 0;
  margin: 1% 2%;
}
.remove_header #menu-toggle {
    position: fixed;
    opacity: 0;
    margin:-4% 2%;
}

.remove_header.cambio_header #menu-toggle {
    margin: -0.1% 2%;
    transition: margin 1.5s;
    opacity:1;
}
#hamburger:before{
    content: 'Menu';
    position: absolute;
    margin: 15% -30% 0;
    font-family: 'Apercu', serif;
    font-size: 15px;
    font-weight: 400;
    color: #101010;
    margin-bottom: 1.5em;
}
#menu-toggle.open #hamburger:before{
    display: none;
}
#menu-toggle #hamburger {
  position: absolute;
  height: 100%;
  width: 100%;
}
#menu-toggle #hamburger span {
  width: 40px;
  height: 2px;
  position: relative;
  top: 10px;
  left: 20px;
  margin: 7px 0;
}
#menu-toggle #hamburger span:nth-child(1) {
  transition-delay: .5s;
}
#menu-toggle #hamburger span:nth-child(2) {
  transition-delay: .625s;
}
#menu-toggle #hamburger span:nth-child(3) {
  transition-delay: .75s;
}
#menu-toggle #cross {
  height: 100%;
  width: 100%;
  transform: rotate(45deg);
}
#menu-toggle #cross span:nth-child(1) {
  height: 0%;
  width: 2px;
  position: absolute;
  top: 23%;
  left: 37px;
  transition-delay: 0s;
}
#menu-toggle #cross span:nth-child(2) {
  width: 0%;
  height: 2px;
  position: absolute;
  left: 13%;
  top: 47px;
  transition-delay: .25s;
}
#menu-toggle.open #hamburger span {
  width: 0%;
}
#menu-toggle.open #hamburger span:nth-child(1) {
  transition-delay: 0s;
}
#menu-toggle.open #hamburger span:nth-child(2) {
  transition-delay: .125s;
}
#menu-toggle.open #hamburger span:nth-child(3) {
  transition-delay: .25s;
}
#menu-toggle.open #cross span:nth-child(1) {
  height: 50%;
  transition-delay: .625s;
}
#menu-toggle.open #cross span:nth-child(2) {
  width: 50%;
  transition-delay: .375s;
}
#menu-toggle .menu{
    opacity: 0;
    transition:.25s ease-in-out;
    z-index: -99;
    margin-top:-40vh
}
#menu-toggle.open .menu{
    opacity: 1;
    margin-top:-6vh;
    transition:.25s ease-in-out;
}
#menu-toggle .menu ul{
    display:none
}
#menu-toggle.open .menu ul{
    display:block
}
.menu ul{
    list-style: none;
    position: fixed;
    width: 100%;
    height: 110%;
    background-color: #fff;
    left: 0;
    text-align: center;
    transition:.25s ease-in-out;
    padding-top: 10%;
    margin-top: -7%;
    z-index: -1
}
#menu-toggle .menu li{
    text-align: left;
    opacity: 0;
    margin: 0% 0 0% 40%;
    transition: all 1s;
    -webkit-transition: all 1s;
}
#menu-toggle.open .menu li{
    text-align: left;
    transition: all 1s;
    -webkit-transition: all 1s;
    opacity: 1;
    margin: 3% 0 0% 40%;
}
.menu li a{
    position:relative;
    font-family:'Apercu';
    font-weight:400;
    font-size:36px;
    color:#000;
    letter-spacing:0.6px;
    line-height:0px;
    text-shadow:0 0 1px rgba(0,0,0,0.3);
    -webkit-transition:color 0.3s;
    -moz-transition:color 0.3s;
    transition:color 0.3s;
    padding:5px 0;
}
.main-navigation a::after{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    height:2px;
    background:rgba(0, 0, 0, 0.71);
    content:'';opacity:0;
    -webkit-transition:opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition:opacity 0.3s, -moz-transform 0.3s;transition:opacity 0.3s, transform 0.3s;
    -webkit-transform:translateY(10px);
    -moz-transform:translateY(10px);
    transform:translateY(10px);
}
.main-navigation a:hover::after,
.main-navigation a:focus::after{
    opacity:1;
    -webkit-transform:translateY(0px);
    -moz-transform:translateY(0px);
    transform:translateY(0px);
}

#serviceb{
	padding-left:5px;
	padding-top:15px
}
#servicew{
	padding-left:5px;
}
#servicess{
	padding-left:5px;
	padding-bottom:15px
}
#serviceb a:before{
	content:"01";
	padding-right:25px;
	font-size:15px;
}
#servicew a:before{
	content:"02";
	padding-right:25px;
	font-size:15px;
}
#servicess a:before{
	content:"03";
	padding-right:25px;
	font-size:15px;
}


.selected a{
    color: #BFA980;
}

.hyp-arrow:after, .text-home a:after {
    position: absolute;
    content: "";
    width: 32px;
    height: 17px;
    right: 0;
    top: 1px;
    background: url(/images/arrow-link.png) no-repeat;
    opacity: 0;
    -webkit-transform: translateX(30px);
    -moz-transform: translateX(30px);
    -ms-transform: translateX(30px);
    -o-transform: translateX(30px);
    transform: translateX(30px);
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease
}

.site-header, .site, .error{animation:hello 1s ease 0.2s backwards;}

@keyframes hello{
    from{
        transform:translate3d(0, -20px, 0);
        opacity:0;
    }
    to{
        transform:translate3d(0, 0, 0);
        opacity:1;
        }
}

@keyframes hello-home {
    from {
        transform: translate3d(0, 30px, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes hello-corp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@keyframes hi {
    from {
        transform: translate3d(0px, -20px, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}


/*footer*/
.site-footer{width:100%;bottom:0;clear: both}
.info-footer{
    display: flex;
	justify-content: space-between;
    padding: 20px 5%;
    background-color: rgba(165, 182, 179, 0.09);
}
.info-footer a{
	font-family: 'Apercu';
	font-size: 16px;
	color: #101010;
	letter-spacing: 0;
	padding: 0 5px
}
.info-footer a:hover {
    cursor: pointer;
    color: #BFA980;
    border-bottom: 2px solid #BFA980;
}
.info-footer p{
	font-family: 'Apercu';
	font-size: 16px;
	color: #101010;
	letter-spacing: 0;
}
.footer-bk0, .footer-bk1, .footer-bk2{
    padding: 1% 0% 0 0%;
}


@media only screen and (max-width:1024px){
}

@media only screen and (max-width:768px){
    .cambio_header .logo-img{
        margin:1.5% 0% 0% 5%;
        transition: margin 2s;
    }
    .site-header.cambio_header{
        background-color:#FFFFFF;
        height:60px;
        transition: height 0.5s
    }
	.menu ul{
        padding-top: 20%;
	}
	#menu-toggle.open .menu li{
        margin: 6% 0 0% 25%;
	}
	.base p{
        margin:0 0 0 -30px
	}
	.deck{
		display: none!important
	}
	.info-footer{
	    padding: 20px 0%;
	    flex-direction:column-reverse
	}
	.footer-bk0, .footer-bk1, .footer-bk2{
	    padding: 2% 0% 0 0%;
	    text-align:center
	}
}



@media only screen and (max-width:480px){
    .cambio_header .logo-img{
        margin:3% 0% 0% 5%;
        transition: margin 2s;
    }
    .menu ul{
        padding-top: 30%;
        margin-top:-25%
    }
    #menu-toggle {
      margin: 1% -5% 0 10%;
    }
    .cambio_header #menu-toggle {
      margin: 0.5% -5% 0 10%;
    }
    #menu-toggle.open .menu li{
        margin: 3% 0 0% 5%;
        line-height:45px
    }
    #menu-toggle.open .menu li a{
        font-size: 22px;
    }
    .contactForm {
        animation: hi 0.9s ease 1s backwards;
        margin: 5% 5% 0%;
    }
    #serviceb{
        padding-left:0px;
        padding-top:0px
    }
    #servicew{
        padding-left:0px;
    }
    #servicess{
        padding-left:0px;
        padding-bottom:0px
    }
    #serviceb a:before{
        content:"01";
        padding-right:10px;
        font-size:15px;
    }
    #servicew a:before{
        content:"02";
        padding-right:10px;
        font-size:15px;
    }
    #servicess a:before{
        content:"03";
        padding-right:10px;
        font-size:15px;
    }
}


/* animetion */

.animateblock {
    opacity: 0;
    -webkit-transition: all 0.55s linear;
    -moz-transition: all 0.55s linear;
    transition: all 0.55s linear;
}

.animateblock.animated {
    opacity: 1;
}

.animateblock.btm {
    margin-top: 35px;
}

.animateblock.btm.animated {
    margin-top: 0;
}

@media only screen
and (min-device-width:320px)
and (max-device-width:1024px)
and (orientation:portrait) {
    .animateblock {
        opacity: 1
    }

    .animateblock.animated {
        opacity: 1;
    }

    .animateblock.btm {
        margin-top: 0px;
    }

    .animateblock.btm.animated {
        margin-top: 0;
    }
}

