@font-face {
    font-family: 'alex_brushregular';
    src: url('../fonts/alexbrush-regular-webfont.woff2') format('woff2'), url('../fonts/alexbrush-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    /*background: #f4f4f4; */
    /*background: #c9dec0; */
}

nav {
    padding-top: 1rem;
    margin-bottom: 1rem;
}

nav>.container {
    border-bottom: 1px solid #ccc;
}

.navbar-brand .brand-text {
    font-size: 1.11rem;
    font-weight: bold;
}

.navbar-menu a {
    font-family: 'alex_brushregular';
    font-size: 1.9rem;
    line-height: 2.3rem;
}

.navbar-menu a:hover {
    color: #ea7a6c;
    background-color: #fff;
}

.navbar-brand a:hover {
    color: #ea7a6c;
    background-color: #fff;
}

.header-title {
    font-family: 'alex_brushregular';
    font-size: 2.9rem;
    line-height: 3rem;
}

.header-title span {
    display: block;
    font-family: 'alex_brushregular';
    font-size: 2rem;
    line-height: 2.1rem;
    text-align: center;
}


/*.navbar-link:not(.is-arrowless)::after {
    border-color: #ea7a6c;
}*/

H1.title {
    font-size: 2.7rem;
    font-style: italic;
    text-shadow: 1px 1px 1px #000;
    color: #fff;
    line-height: 3rem;
    margin-right: 2rem;
    letter-spacing: 1px;
}


/*.main>div {
    border: 1px solid #709260;
}*/

.maincontent {
    margin-top: 30%;
    padding: 4rem;
    font-size: 1.3rem;
}

.articles .content p {
    line-height: 1.9;
    margin: 15px 0;
}

.author-image {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    border: 3px solid #ccc;
    border-radius: 50%;
}

.media-center {
    display: block;
    margin-bottom: 1rem;
}

.media-content {
    /* margin-top: 3rem; */
}

.card-content {
    background: #f4f4f4;
}

.card-content .content {
    font-size: 0.9rem;
}

.is-white {
    background-color: #fff;
}

.is-100 {
    width: 100%;
}

.article,
.promo-block {
    margin-top: 6rem;
}

div.column.is-8:first-child {
    padding-top: 0;
    margin-top: 0;
}

.columns {
    margin-left: 0;
    margin-right: 0;
}

.column {
    padding: 0;
}

.article-title {
    font-size: 2rem;
    font-weight: lighter;
    line-height: 2rem;
    margin: 2rem;
}

.article-subtitle {
    color: #909AA0;
    margin-bottom: 3rem;
}

.article-body {
    line-height: 1.4rem;
    margin: 0 6rem;
}

.promo-block .container {
    margin: 1rem 5rem;
}

.card .media:not(:last-child) {
    margin-bottom: 0;
}

.tel,
.mail {
    /* color: #709260; */
    color: #ea7a6c;
    font-weight: 600;
}

.box-stile {
    margin-top: 2em;
    padding: 0.4em 2em 2em 2em;
    background-color: #d0e4ea;
    ;
    /* verde #709260;  */
    margin-bottom: 3rem;
    color: #333;
    font-size: 1.4rem;
    line-height: 2.5rem;
}

.box-stile h6 {
    padding-bottom: 2rem;
    color: #333;
    font-weight: 400;
    border-bottom: 2px solid #000;
}

.box-stile strong {
    color: #ea7a6c;
}

.box-stile p {
    margin-left: 2rem;
    margin-top: 1rem;
}

.box-esperienza {
    background-color: #f4f4f4;
}

.box-esperienza h6 {
    padding: 1.4rem;
}

.box-list {
    padding-bottom: 1rem;
    margin-top:2rem;
}

ul {
    /* border-left: 1px solid #333; */
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    padding-left: 30px;
    line-height: 2.1rem;
    /* font-size: 1.2rem; */
}

li:before {
    content: "\2731";
    font-size: 1.7rem;
    color: #ea7a6c;
    text-shadow: 1px 1px 0 #666666;
}

#content p {
    line-height: 2rem;
    font-size: 1.3rem;
}

.herobox {
    background-image: url(../images/sarah-cervantes-unsplash-640w.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
}

@media screen and (min-width: 769px) {
    .herobox {
        background-image: url(../images/sarah-cervantes-unsplash-1024w.jpg);
        background-size: 100%;
        background-repeat: no-repeat;
    }
}

@media screen and (min-width: 1025px) {
    .herobox {
        background-image: url(../images/sarah-cervantes-unsplash-1366w.jpg);
        background-size: 100%;
        background-repeat: no-repeat;
    }
}

@media screen and (min-width: 1367px) {
    .herobox {
        background-image: url(../images/sarah-cervantes-unsplash-1600w.jpg);
        background-size: 100%;
        background-repeat: no-repeat;
    }
}

@media screen and (min-width: 1601px) {
    .herobox {
        background-image: url(../images/sarah-cervantes-unsplash-1920w.jpg);
        background-size: 100%;
        background-repeat: no-repeat;
    }
}

@media screen and (min-width: 500px) {
    .is-pretty-dark {
        background-color: #f0f0f0;
        padding: 1rem;
    }

    #maincontent {
        margin-top: 4rem;
    }
    #maincontent h1 {
        margin-top: 2 rem;
    }

}

@media screen and (max-width: 540px) {
    .maincontent {
        padding: 2rem;
    }
    .box-stile {
        margin-top: 1em;
        padding: 0.4em 0.8em 1.3em 0.8em;
        margin-bottom: 2rem;
    }
    .header-title {
        text-align: center;
        width: 100%;
    }
    .navbar-item {
        width: 100%;
        display: block;
    }
    #maincontent {
        margin-top: 4rem;
    }
    #maincontent h1 {
        margin-top: 2rem;
    }
}

.miodottore {
    padding: 14px 20px;
}

.miodottore svg {
    width: 200px;
    /* 598 100 */
    height: 24px;
}

.miodottore svg path {
    fill: #709260;
    margin: 4px;
}

section {
    scroll-margin-top: 5em;
}
