/*
COLORE PRINCIPALE: #2196f3

COLORE PRINCIPALE SFONDO: #efefef

GIGIO CHIARO: #EEEEEE

KHAKI CHIARO: #e0d5bd

*/

* {
    /*font-family: Noto sans;
    font-family: 'Slabo 27px', serif;
    font-family: 'Baloo Chettan 2';
    font-family: 'Roboto', sans-serif;
    font-family: 'Carrois Gothic', sans-serif;
    font-family: 'Girassol', cursive;
    font-family: 'Lato', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Hind', sans-serif;
    font-family: 'Roboto', sans-serif;
    font-family: 'Roboto Condensed', sans-serif;
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Lexend', sans-serif;
    font-family: 'Noto Serif', serif;
    font-family: 'Open Sans Condensed', sans-serif;*/
}

body,
html {
    background-color: #efefef;
    margin: 0px;
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
}

h1 {
    font-size: 30px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    /*text-shadow:   1px  1px 2px #000,
                -1px -1px 2px #000;*/
}

h1 span {
    margin-left: -100px;
    background-color: #222222;
    padding: 5px 10px 5px 10px;
    letter-spacing: 3px;
}

h2 {
    font-size: 1.3em;
    font-weight: 450;
    font-family: 'Barlow', sans-serif;
}


h2 span {
    /*margin-top: 30px;*/
}


h3 {
    font-size: 1.1em;
    font-weight: 450;
    font-family: 'Barlow', sans-serif;
    margin: 0px;
    padding: 0px;
}

.font-white {
    color: #ffffff;
}

.font-black {
    color: #000000;
}

.font-gold {
    color: #d7b56d;
}

.sxtitle {
    font-family: 'Nunito', sans-serif;
    margin-left: -100px;
    font-weight: 600;
    background-color: #222222;
    padding: 5px 10px 5px 10px;
    letter-spacing: 3px;
    font-size: 30px;
}


a:link {
    color: #5C7CB5;
    text-decoration: none;
}


a:visited {
    color: #5C7CB5;
    text-decoration: none;
}

a:hover {
    color: #808080;
    text-decoration: underline;
}

#menu a:link {
    color: #000000;
    text-decoration: none;
}


#menu a:visited {
    color: #000000;
    text-decoration: none;
}

#menu a:hover {
    color: #808080;
    text-decoration: none;
}

.w3-button {
    font-weight: 600 !important;
}

.w3-khaki {
    background-color: #d7b56d!important;
}

.udspace {
    padding-top: 80px;
    padding-bottom: 100px;
}

.text-page li {
    margin-bottom: 10px;
}

/*
#triangolo {
    position: absolute;
    z-index: 10;
    top: 170px;
    left: 0px;
    width: 0;
    height: 0;
    line-height: 0px;
    border-top: 250px solid transparent;
    border-left: 300px solid black;
    border-bottom: 250px solid transparent;
    opacity: 0.2;
}*/

.home-icon {
    width: 45px;
    height: 45px;
    border: 3px solid #808080;
    text-align: center;
    border-radius: 10px;
    line-height: 45px;
    font-size: 20px;
    color: #808080;
    margin-bottom: -5px;
}

.flexslider,
.slides {
    background-color: transparent;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
    border: 0px solid;
    margin: 0;
    padding: 0;
}

.slides {
    border: 0px solid;
    margin: 0;
    padding: 0;
}

/*
#homehead{
    display: block;
    background-color: rgba(255,255,255,0.7);
    z-index:1;
    position: absolute;
    margin-left: 30%;
    margin-right: 30%;
    bottom: 50px;
    border-radius: 5px;
    text-align:center;
    padding: 40px;
    padding-bottom: 60px;
}*/

.homehead {
    margin-top: 120px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
}

#homeleft {
    background: white;
    width: 60%;
}

#homeright {
    /*
    background: rgb(215, 181, 109);
    background: linear-gradient(45deg, rgba(215, 181, 109, 1) 0%, rgba(46, 31, 1, 1) 100%);*/
    height: 550px;
    background-size: cover;
    background-position: center;
    background-image: url('https://www.studioassociatopedroni.it/media/bg1.jpg');
    color: white;
    display: table;
    padding: 40px;
    width: 40%;
}

#homerightdiv {
    display: table-cell;
    vertical-align: middle;
}

.homeslide {
    height: 550px;
    background-size: cover;
    
    opacity: 1;
}

#homeslide1 {
    /*background-image: url('http://localhost/sap/media/studio-associato-pedroni-commercialista-cremona-min.jpg');*/
    background-image: url('https://www.studioassociatopedroni.it/media/ingresso1-studio-associato-pedroni-commercialista-cremona_Snapseed.jpg');
    filter: sepia(50%);
    background-position: center;
}

#homeslide3 {
    background-image: url('https://www.studioassociatopedroni.it/media/sala-aspetto-studio-associato-pedroni-commercialista-cremona.jpg');
    filter: sepia(50%);
    background-position: top;
}

#homeslide2 {
    background-image: url('https://www.studioassociatopedroni.it/media/sala-riunioni-studio-associato-pedroni-commercialista-cremona.jpg');
    filter: sepia(50%);
    background-position: center;
}

#homeslide4 {
    background-image: url('https://www.studioassociatopedroni.it/media/studio-commercialista-piazza-duomo-cremona-min.jpg');
    filter: sepia(50%);
    background-position: center;
}

.homeslideteam {
    background: rgba(0, 0, 0, 0.5) url('https://www.studioassociatopedroni.it/media/bg1-sala-riunioni-studio-associato-pedroni-commercialista-cremona.jpg') no-repeat 0 50%;
    background-position: top;
    filter: sepia(50%);
}

#homeslidedesk {
    background: rgba(0, 0, 0, 0.5) url('https://www.studioassociatopedroni.it/media/scrivania-studio-associato-pedroni-commercialista-cremona-min.jpg') no-repeat 0 50%;
    background-position: center;
}

.pageh {
    margin-top: 120px;
    width: 100%;
    height: 450px;
    background-size: cover;
    padding-top: 250px;
}


.button-normal {
    display: block;
}

.button-mobile {
    display: none;
}

.button-align {
    text-align: left;
}


/*
#homehead-mobile {
    display: none;
}*/

.cookiealert {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-size: 14px;
    border: 2px #ffffff solid;
    border-radius: 8px;
    z-index: 100;
}

#cookie-text {
    width: 90%;
}

#cookie-ok {
    width: 10%;
    text-align: center;
}

.cookiealert a:link,
.cookiealert a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.cookiealert a:hover {
    color: #808080;
    text-decoration: underline;
}

hr.hrhome {
    border-top: 3px solid #d3e2e8;
    width: 35%;
}

hr.hrnews {
    border-top: 2px solid #d9dada;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

hr.hrcategory, hr.hrpost {
    border-top: 1px solid #d9dada;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

hr.hrtitle {
    border-top: 6px solid #d7b56d;
    width: 80px;
    margin: 0 auto;
    padding: 0px;
}


/* Navbar*/

#navbar {
    display: block;
    width: 100%;
    height: 50px;
    background: rgb(55, 55, 55);
    background: linear-gradient(45deg, rgba(55, 55, 55, 1) 0%, rgba(20, 20, 20, 1) 100%);
    position: fixed;
    top: 0px;
    z-index: 100;
    transition: 0.2s;
    /* Add a transition effect (when scrolling - and font size is decreased) */
}

#navbarsub {
    width: 1200px;
    height: 50px;
    margin: 0 auto;
    color: white;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.navbaritem {
    padding-right: 40px;
    line-height: 50px;
}

.navbaricon {
    color: #d7b56d;
}

.navbaritem a:link,
.navbaritem a:visited {
    color: #ffffff;
    text-decoration: none;
}

.navbaritem a:hover {
    color: #808080;
    text-decoration: underline;
}

/* Page Header */
.black-shadow {
    width: 100%;
    height: 450px;
    position: absolute;
    background-color: black;
    opacity: 0.4;
    z-index:2;
}

.black-over {
    width: 100%;
    height: 450px;
    position: absolute;
    background-color: #000000;
    opacity: 0.4;
    z-index:2;
}

.h-page {
    width: 100%;
    height: 450px;
    position: absolute;
    z-index:2;
}

.h-breadcrumb {
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0px;
    z-index:3;
}

.h-title {
    text-align: right;
    z-index: 3;
    padding-top: 250px;
    width: 1100px;
    margin: 0 auto;
}

.social-icon {
    opacity: 1;
}

.social-icon:hover {
    opacity: 0.6;
}

.header-page {
    z-index:3;
    position: absolute;
    bottom: 0px;
    /*padding-top: 45px;*/
}

.breadcrumb-tab {
    background-color: #efefef;
    height:40px;
    line-height: 40px;
    display: inline-block;
    padding-right: 20px;
}

.title-barh {
    position: absolute;
    left: -20px;
    width: 7px;
    height: 40px;
    background-color: #d7b56d;
}

.title-section a {
    color: black;
    text-decoration: none;
}

.title-section a:hover {
    color: grey;
    text-decoration: underline;
}

.team-wrap:hover .team-bar {
    background-color: #d7b56d;
}

.team-wrap:hover .team-title {
    color: #d7b56d;
}

.team-title {
    color: #000000;
}

.team-wrap {
    width: 49%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.team-img {
    width: 50%;
    position: relative;
}

.team-img:hover .team-imgover {
    background-color: rgba(215,181,109,0.6);
}

.team-img:hover .team-plus {
    opacity: 1;
}

.team-plus {
    color: #ffffff;
    z-index: 5;
    font-size: 24px;
    opacity: 0;
    transition: 0.4s;
}

.team-imgover {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(215,181,109,0);
    text-align: center;
    line-height: 400px;
    z-index: 4;
    cursor: pointer;
    transition: 0.3s;
}

.team-card {
    width: 50%;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #565656;
    position: relative;
}

.team-text {
    font-size: 14px;
}

.team-button {
    margin-top:20px;
    padding: 10px 15px;
    font-size: 20px;
}

.team-bar {
    position: absolute;
    bottom: 0px;
    left:0px;
    background-color: #c1c1c1;
    width:100%;
    height:6px;
    padding: 0px;
    margin:0px;
}

.team-mail {
    position: absolute;
    bottom: 6px;
    left:0px;
    width:100%;
    padding: 20px;
    margin:0px;
    display:flex;
    flex-direction: row;
}

.team-email{
    position: absolute;
    bottom: 0px;
    left: 0px;
    width:100%;
    padding: 0px;
    margin:0px;
    display:flex;
    flex-direction: row;
}

/* Home New */
.news-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-item {
    width: 30%;
}

.news-img {
    width: 100%;
    height: 200px;
    position: relative;
    z-index: 3;
    background-size: cover;
    background-position: center;
}

.news-imgover {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(215,181,109,0);
    text-align: center;
    line-height: 200px;
    z-index: 4;
    cursor: pointer;
    transition: 0.3s;
}

.news-text {
    cursor: pointer;
}

.news-text a:link {
    color: #000000;
    text-decoration: none;
}


.news-text a:visited {
    color: #000000;
    text-decoration: none;
}

.news-text a:hover {
    color: #808080;
    text-decoration: none;
}

.news-label {
    position: absolute;
    top: 10px;
    left: -20px;
    padding:10px;
    background-color: #313131;
    color: #efefef;
    font-size: 15px;
    border: 1px solid #efefef;
    opacity: 1;
    transition: 0.3s;
}

.news-img:hover .news-imgover {
    background-color: rgba(215,181,109,0.6);
}

.news-img:hover .news-plus {
    opacity: 1;
}

.news-img:hover .news-label {
    left: 10px;
}

.news-plus {
    color: #ffffff;
    z-index: 5;
    font-size: 24px;
    opacity: 0;
    transition: 0.4s;
}

.flexslider-news a:link {
    color: #000000;
    text-decoration: none;
}


.flexslider-news a:visited {
    color: #000000;
    text-decoration: none;
}

.flexslider-news a:hover {
    color: #808080;
    text-decoration: none;
    opacity: 0.6;
}


/* BLOG */
.blog-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:30px;
    cursor: pointer;
    transition: 0.4s;
}

.blog-wrap:hover {
    background-color: #e0d5bd;
    cursor: pointer;
}

.blog-wrap-img {
    width:20%;
    position: relative;
}

.blog-wrap-image {
    width:160px;
    height:160px;
    background-size: cover;
    background-position: center;
}

.blog-wrap-post {
    width: 80%;
    padding-top: 10px;
    padding-left: 35px;
    position: relative;
}

.blog-post-date {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: absolute;
    top: 0px;
    left: -22px;
}

.blog-post-icon {
    width: 40px;
    height:40px;
    background-color: #313131;
    color: #ffffff;
    line-height: 40px;
    text-align: center;
    border-bottom: 1px solid #efefef;
    border-left: 1px solid #efefef;
}

.blog-post-dmy {
    padding-left: 15px;
    padding-right: 15px;
    height: 40px;
    background-color: #d7b56d;
    color: #000000;
    line-height: 40px;
    text-align: center;
}

.blog-title {
    margin-top: 40px;
}

.blog-pagination {
    margin-top: 40px;
    text-align: center;
}

/* POST */
.post-body {
    position: relative;
    width: 70%;
    margin-left: 40px;    
}

.post-cover {
    background-size: cover;
    background-position: center;
    height: 450px;
}

.post-sidebar {
    position: relative;
    width: 24%;
    border-left: 1px solid #d9dada;
    padding-left: 20px;
}

.post-file {
    font-size: 18px;
    margin-bottom: 5px;
    border: 1px solid #d9dada;
    padding: 10px;
    cursor: pointer;
}

.post-file:hover {
    background-color: #e0d5bd;
}

.post-category {
    display: grid;
    grid-template-columns: 10% 60% 30%;
    height: 40px;
    cursor: pointer;
}

.post-category:hover {
    opacity: 0.6;
}

.post-icon {
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: black;
}

.post-date {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #d7b56d;
}

.post-dmy {
    position: absolute;
    top:0px;
    left: -70px;
    width: 60px;
    color: #ffffff;
}

.share-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    padding-top: 0px!important;
    padding-bottom: 0px!important;
    padding-left: 0px!important;
    padding-right: 0px!important;
    margin: 0px;
}

#category-month {
    width: 100%;
    height: 40px;
    background-color: #d9dada;
    border: 1px solid black;
}

.post-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sidebar-section {
    position: relative;
    margin-left: 20px;
    margin-bottom: 20px;
}

.sidebarnews-wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.sidebar-image {
    width: 60px;
    height: 60px;
    border: 1px solid #d9dada;
    transition: 0.3s;
    background-size: cover;
    background-position: center;
}

.sidebarnews-wrap:hover .sidebar-image {
    opacity: 0.7;
}

.sidebarnews-wrap:hover .sidebar-text {
    opacity: 0.7;
}

.sidebar-text {
    margin-left: 10px;
    font-size: 14px;
}

.sidebar-filter {
    margin-bottom: 40px;
}

/* RSS */
.rss-title {
    width: 50%;

}

.rss-buttons {
    display: block;
    width: 50%;
}

/* Contatti */
.contact-wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border: 3px solid #DDD0B3;
    border-radius: 7px;
    font-size: 30px;
    text-align: center;
    line-height: 80px;
    transition: 0.3s;
}

.contact-wrap:hover .contact-icon {
    background: #DDD0B3;
    border: 3px solid #DDD0B3;
    color: black;
}

.contact-text {
    margin-left: 20px;
    margin-top: 0px;
}


/* Servizi */
.service-wrap {
    width: 45%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 30px;
    cursor: pointer;
}

.service-icon {
    width: 80px;
    height: 80px;
    border: 3px solid #ffffff;
    border-radius: 7px;
    font-size: 30px;
    text-align: center;
    line-height: 80px;
    transition: 0.3s;
}

.service-wrap:hover .service-icon {
    background: #DDD0B3;
    border: 3px solid #DDD0B3;
    color: black;
}


.service-wrap:hover .service-text {
    color: #000000;
}


.service {
    margin-left: 20px;
    height: 80px;
    display: flex;
    align-items: center;
}

.service-text {
    transition: 0.3s;
}

.wrap-45 {
    width: 45%;
}

.wrap-35 {
    width: 35%;
}

.wrap-60 {
    width: 60%;
}

.wrap1100 {
    width: 1100px;
    margin: 0 auto;
}

.wrapfull {
    width: 100%;
    padding-top: 90px;
    padding-bottom: 90px;
    margin: 0 auto;
}

.wrapfullcom {
    width: 100%;
    padding-top: 90px;
    padding-bottom: 90px;
    margin: 0 auto;
    background: #fff;
}

.wrapfull-grey {
    width: 100%;
    /*
    background: rgb(215, 181, 109);
    background: linear-gradient(45deg, rgba(215, 181, 109, 1) 0%, rgba(46, 31, 1, 1) 100%);*/
    background-size: cover;
    background-position: center;
    background-image: url('https://www.studioassociatopedroni.it/media/bg1.jpg');
    color: #ffffff;
    padding-top: 90px;
    padding-bottom: 60px;
}


.title-section {
    position: relative;
    margin-left: 20px;
    height: 80px;
    margin-bottom: 30px;
}

.title-section1 {
    position: relative;
    margin-left: 20px;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
}

.title-bar {
    position: absolute;
    left: -20px;
    width: 7px;
    height: 65px;
    background-color: #d7b56d;
}

/* FOOTER */
footer {
    width: 100%;
    background: rgb(55, 55, 55);
    background: linear-gradient(45deg, rgba(55, 55, 55, 1) 0%, rgba(20, 20, 20, 1) 100%);
    color: white;
    padding: 20px;
    padding-top: 40px;
}

.footer-wrap {
    margin: auto;
    width: 1100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-item {
    width: 22%;
}

footer a:link,
footer a:visited {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #808080;
    text-decoration: underline;
}

.title-bar-footer {
    position: absolute;
    left: -20px;
    width: 7px;
    height: 30px;
    background-color: #d7b56d;
}

.icon-footer {
    position: absolute;
    left: -20px;
    font-size: 15px;
}

.title-footer {
    position: relative;
    margin-left: 25px;
}

#logofooter {
    text-align: left;
}


.footer-news {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 30px;
    cursor: pointer;
}

.footer-news:hover {
    opacity: 0.5;
}

/* FORM contatti */


.itemforminput {
    border: none;
    border-bottom: 2px solid #DDD0B3;
    background-color: #e1e1e1;
    width: 100%;
    font-size: 16px;
    color: #000000;
    padding: 10px;
    margin-bottom: 20px;
}

.itemforminput:focus {
    background-color: #ffffff;    
}

.itemformarea {
    width: 100%;
    height: 150px;
    background-color: #e1e1e1;
    border: 2px solid #DDD0B3;
    font-size: 16px;
    color: #000000;
    padding: 5px;
    margin-bottom: 10px;
}

.itemformarea:focus {
    background-color: #ffffff;
}

.form-group .error::placeholder {
	width: 100%;
    color: red;
    font-weight: 600;
	}

.itemformarea.error {
    outline: none !important;
    border: 2px solid red;
	}
	
#warning {
	display: none;
    width: 100%;
    background-color: #eb5151;
    color: #ffffff;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    padding: 5px;
    margin-top: 10px;
}
    
 .form-group input.error {
     border-color: red;
     color: red;
 }

 .form-group1 label.error {
    margin-left: 5px;
    color: red;
    font-weight: 600;
 }

/* PAGE PRIVACY */
.page-privacy {
    padding: 30px;
    background-color: #ffffff;
}

.page-privacy h2 {
    font-size: 30px;
    font-weight: 600;
}


/* Messaggio popup */
/* The Modal (background) */
.pop-message {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 6; /* Sit on top */
  padding-top: 300px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

.message-header {
    width: 360px;
    background-color: green;
    margin: auto;
    padding: 20px;
    color: white;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.message-content {
    background-color: #fefefe;
    margin: auto;
    padding-bottom: 20px;
    border: 0px solid #888;
    width: 360px;
    border-radius: 8px;
    animation-name: animatetop;
    animation-duration: 0.4s;
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 10px -5px 16px -10px rgba(0,0,0,0.61); 
    box-shadow: 0px 10px 13px -7px #000000, 10px -5px 16px -10px rgba(0,0,0,0.61);
}

@keyframes animatetop {
    from {
        margin-top:-300px;
        opacity:0
    }
    to {
        margin-top:0;
        opacity:1
    }
}

/* The Close Button */
.message-close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 15px;
}

.message-close:hover,
.message-close:focus {
  color: #aaaaaa;
  text-decoration: none;
  cursor: pointer;
}

.footer-mobilemenu {
    text-align: left;
    background-color: #e0d5bd;
    color: black;
    width:100%;
    padding:20px;
    border-radius: 7px;
}

.title-footermobile {
    position: relative;
    margin-left: 25px;
}

.text-footermobile {
    font-size: 15px;
    text-align: left;
}

.text-footermobile a {
    color: #000000;
    text-decoration: none;
}

.text-footermobile a:visited {
    color: #000000;
    text-decoration: none;
}

.text-footermobile a:hover {
    color: #808080;
    text-decoration: none;
}

.menumobile-item {
    width: 100%;
    text-align: left;
    padding: 10px;
}

.menumobile-item-dropdown {
    width: 80%;
    text-align: left;
    padding: 10px;
}

.menumobile-item-arrow {
    width: 20%;
    text-align: right;
    padding: 10px;
}

.menumobile-item-sub {
    width: 100%;
    text-align: left;
    padding: 10px;
    padding-left: 20px;
    background-color: #efefef;
}

#menu-sub1, #menu-sub2, #menu-sub3 {
        display: none;
    }

#bg-menu-white {
    position:fixed;
    left: -20px;
    width: 120%;
    background-color: #ffffff;
    height: 80px;
}

.shadow {
    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.img-right {
    background-size: cover;
    background-position: center;
}

.page-wrap {
    padding-top: 80px;
    padding-bottom: 100px;
}


/* CHAT */

#chat {
    position:fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9989;
}

#chat-button {
    position: relative;
    background: #ffffff;
    text-align: center;
    color: #ae9459;
    width: 70px;
    height: 70px;
    line-height: 80px;
    border-radius: 50%;
    box-shadow: 5px 5px 12px -2px rgba(76,76,76,0.32);
}

#chat-button:hover {
    cursor: pointer;
}

#chat-button:hover #chat-icon {
    color: green;
}

#chat-red {
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius:50%;
    width: 10px;
    height: 10px;
    background: red;
}

#chat-box {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    box-shadow: 5px 5px 12px -2px rgba(76,76,76,0.32);
    margin: 0px;
    z-index: 9989;
}

#chat-header {
    background: #353535;
    color: #fff;
    padding: 20px 5px 20px 5px;
    margin: 0px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#chat-content {
    padding: 10px;
    background-image: url('https://www.studioassociatopedroni.it/media/bg-whatsapp.jpg');
    background-size: cover;
    background-position: center;
}

#chat-header-left {
    position: relative;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-left: 10px;
}

#chat-header-right {
    width: 70%;
}

#chat-green {
    position: absolute;
    bottom: 4px;
    right: 8px;
    border: 2px solid #4a4a4a;
    border-radius:50%;
    width: 12px;
    height: 12px;
    background: #4ad504;
}

#chat-footer {
    background: #ffffff;
    padding: 10px 5px 10px 5px;
    margin: 0px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    display: flex;
    align-items: center;
}

.chat-bubble {
    position: relative;
    margin: 15px;
    padding: 5px 10px 20px 10px;
    background: #fff;
    border-radius: 7px;
    width: 70%;
    box-shadow: 5px 5px 2px -3px rgba(76,76,76,0.45);
}

.bubble-arrow {
    position: absolute;
    width: 0;
    bottom:42px;
    left: -16px;
    height: 0;
    &.alt{
        right: -2px;      
        bottom: 40px;
        left: auto;
      }
    }

.bubble-arrow:after {
    content: "";
    position: absolute;
    border: 0 solid transparent;
    border-top: 9px solid #f5f5f5;
    border-radius: 0 20px 0;
    width: 15px;
    height: 30px;
    transform: rotate(145deg);
}

#chat-close {
    position: absolute;
    top: 6px;
    right: 10px;
    color: #818181;
}

#chat-close:hover {
    color: #9e9e9e;
    cursor: pointer;
}

.circle {
    top: -15px;
    right: -15px;
    border-radius: 50%;
    border: 3px solid #d7b56d;
    width: 100px;
    height: 100px;
    position: absolute;
    opacity: 0;
    z-index: 9998;
    animation: scaleIn 4s infinite cubic-bezier(.36, .11, .89, .32);
}

@keyframes scaleIn {
  0% {
    transform: scale(.7, .7);
    opacity: 0;
  }
  20% {
    transform: scale(.8, .8);
    opacity: .5;
  }
  100% {
    transform: scale(1.5, 1.5);
    opacity: 0;
  }
}

/* ******************************************************************************************************/
/* MEDIA QUERIES ****************************************************************************************/
/* SMALL DISPLAY ****************************************************************************************/
/* ******************************************************************************************************/

@media screen and (max-width:767px) {
    h1 {
        font-size: 1.2em;
        margin-top: -5px;
    }

    h1 span {
        margin-left: 0px;
        margin-top: -50px;
        font-size: 0.8em;
        width: 100%;
    }

    h2 {
        font-size: 1.1em;
    }

    h3 {
        font-size: 1em;
    }

    body,
    html {
        font-size: 18px;
    }
    
    hr.hrpost {
        display: none;
    }
    
    .pop-message {
        padding-top: 100px;
    }
    
    .sxtitle {
        font-size: 22px;
    }
    
    .udspace {
        padding-top: 30px;
        padding-bottom: 0px;
    }
    
    .page-privacy h2 {
        font-size: 24px;
        text-align: left;
    }
    
    .menu {
        display: none;
    }
    
    .button-normal {
        display: none;
    }

    .button-mobile {
        display: block;
    }
    
    .button-align {
        text-align: center;
        margin-bottom: 20px;
    }
    
/* Page Header */
.black-shadow {
    width: 100%;
    height: 250px;
    position: absolute;
    background-color: black;
    opacity: 0.4;
    z-index:2;
}

.h-page {
    width: 100%;
    height: 250px;
    position: absolute;
    z-index:2;
}

.h-title {
    padding-top: 80px;
    width: 90%;
}

.breadcrumb-tab {
    background-color: #efefef;
    height:40px;
    line-height: 40px;
    display: inline-block;
    padding-right: 20px;
    margin-left: 20px;
}

.h-breadcrumb {
    display: none;
}    
    
    
.pageh {
    margin-top: 80px;
    width: 100%;
    height: 250px;
    padding-top: 250px;
}    

/* FINE page header */    

    /* pages */

    .wrap-45, .wrap-35, .wrap-60 {
        width: 100%;
    }
    
    .wrapfull {
        width: 90%;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .wrapfullcom {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .wrapfull-grey {
        padding-top: 40px;
        padding-bottom: 10px;
    }

    .wrap1100 {
        width: 100%;
    }
    
    .page-wrap {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    #homepres {
        text-align: center;
    }
    
    .homehead {
        margin-top: 80px;
    }

    #homeleft {
        width: 100%;
    }

    #homeright {
        width: 100%;
        padding: 40px 20px 40px 20px;
        height: 300px;
    }
    
    .img-right {
        display: none;
    }
    
    .text-page {
        padding: 30px;
    }
    
    .text-page ul {
        list-style-position: inside;
        padding-left: 0;
    }
    
    .div-message {
        margin-top: 60px;
    }
    
    #homerightdiv h1,
    h2 {
        text-align: center;
    }

    .homeitem {
        width: 100%;
    }

    .homeslide {
        height: 200px;
    }

    .news-item {
        width: 100%;
    }

    #cookie-text,
    #cookie-ok {
        width: 100%;
    }

    #cookie-text {
        font-size: 1em;
    }

    #cookie-button {
        width: 100%;
    }

    .service-wrap {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;        
    }

    /* Navbar*/

    #navbar {
        display: none;
    }

    /* News */
    .news-item {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .news-label {
        left: 10px;
        padding:10px;
    }

    /* TEAM */
    .team-wrap {
        width: 85%;
        margin: 0 auto;
        margin-bottom: 80px;
    }
    
    .team-card {
        width: 100%;
    }
    
    .team-text {
        font-size: 17px;
    }
    
    .team-img {
        width: 100%;
    }
    
    .team-mail {
        position: relative;
        padding: 0px;
        padding-bottom: 10px;
    }
    
    .team-title {
        font-size: 24px;
    }
   
    
/* BLOG */
    .blog-wrap {
        width: 100%;
        padding: 0px;
        margin-bottom: 60px;
    }

    .blog-wrap-img {
        width: 100%;
        margin: 0 auto;
    }

    .blog-wrap-image {
        width:100%;
        height:200px;
    }

    .blog-wrap-post {
        width: 100%;
        padding-left: 0px;
        margin: 0 auto;
    }

    .blog-post-date {
        top: -50px;
        left: 10px;
    }

    .blog-post-icon {
        border-bottom: 1px solid #efefef;
        border-left: 1px solid #efefef;
        border-top: 1px solid #efefef;
    }

    .blog-post-dmy {
        border-bottom: 1px solid #efefef;
        border-right: 1px solid #efefef;
        border-top: 1px solid #efefef;
    }  
    
    .blog-title {
        margin-top: 0px;
    }
    
    .blog-pagination {
        padding-bottom: 40px;
    }
    
    .blog-buttons {
        padding-left: 20px;
        margin-bottom: 20px;
    }
    
/* POST */
    .post-body {
        width: 90%;
        margin: 0 auto;
        margin-top: 40px;
    }

    .post-cover {
        height: 200px;
    }

    .post-sidebar {
        width: 90%;
        border-left: 0px solid #d9dada;
        padding-left: 0px;
        margin: 0 auto;
        margin-top: 30px;
    }    
    
    .post-wrap {
        flex-direction: column-reverse;
    }
    
    
    .post-dmy {
        top:10px;
        left: 10px;
        width: 60px;
    }
    
    .post-text {
        padding: 20px;
        padding-bottom: 40px;
        background-color: #ffffff;
    }
    
    
    /* RSS */
    .rss-title {
        width: 100%;
    }
    
    .rss-title h2 {
        text-align: left;
    }
    
    
    /* Footer */
    .footer-wrap {
        width: 95%;
    }

    .footer-item {
        width: 100%;
        margin-bottom: 50px;
    }

    #logofooter {
        text-align: center;
    }

}

/* ******************************************************************************************************/
/* ******************************************************************************************************/
/* TABLET ***********************************************************************************************/
/* ******************************************************************************************************/
/* ******************************************************************************************************/

@media screen and (min-width:768px) and (max-width:1100px) {
    h1 {
        font-size: 1.2em;
        margin-bottom: 20px;
    }
    
    h1 span {
        margin-left: 0px;
        font-size: 1.1em;
    }

    h2 {
        font-size: 1.1em;
    }

    h3 {
        font-size: 1em;
    }

    body,
    html {
        font-size: 18px;
    }
    
    .terzanews {
        display:none;
    }
    
    .menu {
        display: none;
    }
    
/* Page Header */
.black-shadow {
    width: 100%;
    height: 250px;
    position: absolute;
    background-color: black;
    opacity: 0.4;
    z-index:2;
}

.h-page {
    width: 100%;
    height: 250px;
    position: absolute;
    z-index:2;
}

.h-title {
    padding-top: 80px;
    width: 90%;
}

.breadcrumb-tab {
    background-color: #efefef;
    height:40px;
    line-height: 40px;
    display: inline-block;
    padding-right: 20px;
    margin-left: 20px;
}

    
.pageh {
    margin-top: 80px;
    width: 100%;
    height: 250px;
    padding-top: 250px;
}    

/* FINE page header */ 
    
    /* homepage */

    .homehead {
        margin-top: 80px;
    }

    .homeitem {
        width: 100%;
    }

    .homeslide {
        height: 350px;
    }

    #homeleft {
        width: 100%;
    }

    #homeright {
        width: 100%;
        padding: 30px 40px 40px 40px;
        height: 300px;
    }

    .wrapfull {
        width: 95%;
    }
    
    .wrapfullcom {
        width: 100%;
    }

    .wrap1100 {
        width: 95%;
    }
    
    .wrap-45 {
        width: 100%;
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .service-wrap {
        width: 50%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .page-wrap {
        padding-top: 0px;
        padding-bottom: 20px;
    }
    
    
    /* Navbar*/

    #navbar {
        display: none;
    }

    
    /* TEAM */
    .team-wrap {
        width: 45%;
        margin: 0 auto;
        margin-bottom: 80px;
    }
    
    .team-card {
        width: 100%;
    }
    
    .team-text {
        font-size: 17px;
    }
    
    .team-img {
        width: 100%;
    }
    
    .team-mail {
        position: relative;
        padding: 0px;
        padding-bottom: 10px;
    }
    
    .team-title {
        font-size: 24px;
    }    
    
    
/* POST */
    .post-body {
        width: 100%;
        margin-left: 0px; 
        margin-top: 40px;
    }

    .post-cover {
        height: 200px;
    }

    .post-sidebar {
        width: 90%;
        border-left: 0px solid #d9dada;
        padding-left: 0px;
        margin: 0 auto;
        margin-top: 30px;
    }    
    
    .post-wrap {
        flex-direction: column-reverse;
    }
    
    
    .post-dmy {
        top:10px;
        left: 10px;
        width: 60px;
    }
    
    .post-text {
        padding: 20px;
        padding-bottom: 40px;
        background-color: #ffffff;
    }    
    
    /* News */
    .news-item {
        width: 45%;
        margin-bottom: 30px;
    }


    /* Footer */
    .footer-wrap {
        width: 95%;
    }

    .footer-item {
        width: 47%;
        margin-bottom: 50px;
    }

    /*    
    #homehead-mobile {
        display: block;
        width: 100%;
        background: rgb(0,47,71);
        background: linear-gradient(0deg, rgba(0,47,71,1) 0%, rgba(2,92,139,1) 100%);
        text-align: center;
        padding: 20px;
        position:relative;
        margin-top: -60px;
        padding-bottom: 30px;
    }
*/
}
