/*
Theme Name: rivieraverde
Theme URI: 
Author: diego / patrizio
Author URI:
Description: Template custom per rivieraverde.it
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2023
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

rivieraverde WordPress Theme © 2011-2023 TidyThemes
rivieraverde is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

html, body {
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}
body {
	background-color:#136F43;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}


/* ========== CSS CUSTOM ========== */
div#wpadminbar {
    
}
/* ========== GENERIC ========== */
html {
    margin: 0!important;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
}

body a {
    color: #333;
}

#wrapper {
    max-width: 1200px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 10px;
}

a.cus_button,
form#mc4wp-form-1 .mc4wp-form-fields > p input[type="submit"] 
{
    display: inline-block;
    padding: 10px 20px;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(23, 167, 161, 1);
    border-right: 3px solid rgba(19, 111, 67, 1);
}

a.cus_button:hover,
form#mc4wp-form-1 .mc4wp-form-fields > p input[type="submit"]:hover
 {
    background: rgba(19, 111, 67, 1);
}


footer#footer {
    border-top: 1px solid rgba(0,0,0,0.4);
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
    font-size: 0;
    margin-top: 120px;
}

footer#footer ul.menu li a {
    color: #333;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 12px;
}

footer#footer ul.menu li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 10px 0 0;
}

footer#footer ul.menu {
    font-size: 0;
}

footer#footer .menuContainer {
    display: inline-block;
    width: 55%;
    vertical-align: middle;
}

.cus_social {
    display: inline-block;
    width: 45%;
    text-align: right;
}

.cus_social label {
    font-size: 12px;
    color: #333;
    display: none;
    vertical-align: middle;
}

.cus_social .cus_social_items  {
    font-size: 0;
    display: inline-block;
    vertical-align: middle;
}

.cus_social .cus_social_items a.cus_social_item {
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    background-size: cover;
    margin: 0 0 0 10px;
}

a.cus_social_item.cus_icon_fb {
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/ico-fb-black_2.png);
}

a.cus_social_item.cus_icon_ig {
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/ico-ig-black.png);
}

a.cus_social_item.cus_icon_mail {
	background-repeat: no-repeat;
    background-size: contain;
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/pngkey.com-email-icon-white-png-9311379.png);
}


div#copyright {
    display: block;
    font-size: 12px;
    font-weight: 300;
    color: #333;
    text-align: center;
    padding: 10px 0 0;
}

.entry-content h1 {
    font-size: 40px;
    font-weight: 500;
}

body:not(.home) header.header img {
    max-width: 200px;
}

body:not(.home) header.header {
    margin: 0 0 20px 0;
    padding: 20px 0;
    text-align: center;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

body:not(.home) header.header img {
    display: inline-block;
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 2px;
}

footer#footer .menuContainer {
    width: 100%;
    text-align: center;
}

footer#footer ul.menu li a {
    font-size: 9px;
}

.cus_social {
    width: 100%;
    text-align: center;
    padding: 10px 0 0;
}

.cus_social .cus_social_items a.cus_social_item {
    width: 22px;
    height: 22px;
    margin: 0 5px;
}







/* ========== HOMEPAGE ========== */

body.home {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

body.home #wrapper {
    height: 100vh;
    position: relative;
}

body.home #container {
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    width: calc(100% - 20px);
    max-width: 600px;
    border-radius: 4px;
    position: absolute;
    top: calc(50% - 40px);
    left: 10px;
    transform: translate(0, -50%);
}


body.home header img {
    width: 100%;
    max-width: 300px;
    padding: 0 0 30px;
}
body.home .entry-content h1 {
    padding: 0 0 10px;
}

body.home footer#footer {
    position: absolute;
    bottom: 0;
    width: calc(100% - 20px);
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.4);
    margin-top: 0;
}

body.home .entry-content > p {
    padding: 0 0 30px;
}

.cus_button_description {
    padding: 10px 0 0;
    font-size: 10px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

body.home a.cus_social_item.cus_icon_fb {
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/ico-fb-white_2.png);
}

body.home a.cus_social_item.cus_icon_ig {
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/ico-ig-white.png);
}

body.home a.cus_social_item.cus_icon_mail {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/pngkey.com-email-icon-white-png-9311379.png);

}

body.home footer#footer ul.menu li a {
    color: #fff;
}
body.home .cus_social label {
    color: #fff;
}

body.home div#copyright {
    color: #fff;
}


/* ========== FORM ========== */
form#mc4wp-form-1 {
    background: rgb(207 207 207);
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    max-width: 380px;
    border-right: 4px solid #146f43;
}

.mc4wp-form-fields > p {
    padding: 0 0 15px;
}

.mc4wp-form-fields > p label {font-weight: 400;line-height: 1;padding: 0 0 5px;}

#mc4wp-form-1 .mc4wp-form-fields > p > input {
    border-radius: 2px;
    border: none;
}

.mc4wp-form-fields > p label input[type="email"] {
    margin: 5px 0 0;
    border-radius: 2px;
    border: none;
}

.mc4wp-form-fields > p label {
    margin: 0;
}

#mc4wp-form-1 .mc4wp-form-fields > p > input {
    width: 100%;
    margin: 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px #ddd;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}

#mc4wp-form-1 .mc4wp-form-fields > p > select {
    width: 100%;
    margin: 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px #ddd;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}









body.page-template-page-bgFull footer#footer {
    border-top-color: rgba(255,255,255,0.4);
}

body.page-template-page-bgFull footer#footer ul.menu li a {
    color: #fff;
}

body.page-template-page-bgFull a.cus_social_item.cus_icon_fb {
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/ico-fb-white_2.png);
}

body.page-template-page-bgFull a.cus_social_item.cus_icon_ig {
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/ico-ig-white.png);
}

body.page-template-page-bgFull a.cus_social_item.cus_icon_mail {
	background-repeat: no-repeat;
    background-size: contain;
    background-image: url(https://rivieraverde.it/wp-content/uploads/2023/06/pngkey.com-email-icon-white-png-9311379.png);

}

body.page-template-page-bgFull div#copyright {
    color: #fff;
}

body.page-template-page-bgFull header.header img {
    background: none;
    margin: 0;
}

body.page-template-page-bgFull header.header {
    background: rgba(0,0,0,0.4);
}

body.page-template-page-bgFull .entry-content h1 {
    color: #fff;
}

body.page-template-page-bgFull .entry-content > p {
    color: #fff;
}

body.page-template-page-bgFull .entry-content {
    background: rgba(0,0,0,0.4);
    border-radius: 4px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 1rem;
}

body.page-template-page-bgFull form#mc4wp-form-1 {
    width: 100%;
    max-width: 500px;
    padding: 15px;
}

body.page-template-page-bgFull .mc4wp-form-fields > p:last-child {
    padding: 0;
}

body.page-template-page-bgFull form#mc4wp-form-1 .mc4wp-form-fields > p input[type="submit"] {
    width: 100%;
    box-sizing: border-box;
}


body.page-template-page-bgFull {
    background-size: cover;
    background-position: center;
}

body.page-template-page-bgFull #wrapper {
    padding-top: 20px;
}

body.page-template-page-bgFull footer#footer {
    background: rgba(0,0,0,0.2);
}











@media only screen and (min-width: 375px) {
    
}


@media only screen and (min-width: 1024px) {
    body.home {
        background-size: cover;
        background-position: center;
    }
    .cus_part-button {
        font-size: 0;
    }
    
    .cus_part-button .cus_button {
        display: inline-block;
        vertical-align: middle;
    }
    
    .cus_part-button .cus_button_description {
        display: inline-block;
        vertical-align: middle;
        padding: 0 0 0 20px;
    }

    footer#footer .menuContainer {
        width: 55%;
        text-align: left;
    }
    
    footer#footer ul.menu li a {
        font-size: 12px;
    }
    
    .cus_social {
        width: 45%;
        text-align: right;
        padding: 0;
    }
    
    .cus_social .cus_social_items a.cus_social_item {
        width: 32px;
        height: 32px;
        margin: 0 0 0 10px;
    }
    .cus_social label {
        display: inline-block;
    }







    body.page-template-page-bgFull header.header {
        display: inline-block;
        vertical-align: top;
        width: 450px;
        background: none;
        padding-top: 100px;
        text-align: left;
    }
    
    body.page-template-page-bgFull #wrapper article {
        font-size: 0;
        background: rgba(0,0,0,0.4);
        border-radius: 4px;
    }
    
    body.page-template-page-bgFull .entry-content {
        display: inline-block;
        vertical-align: middle;
        background: rgba(2,38,21,0.4);
        width: calc(100% - 450px);
        padding: 20px;
    }
    
    body.page-template-page-bgFull footer#footer {
        margin-top: 50px;
    }
    
    body.page-template-page-bgFull header.header img {
        width: 100%;
        max-width: 300px;
        padding: 0;
    }
    
    body.page-template-page-bgFull header.header a {
        display: inline-block;
    }
    
    body.page-template-page-bgFull {
        min-height: 100vh;
    }
    
    body.page-template-page-bgFull div#container {
        min-height: calc(92vh - 160px);
    }

    body.page-template-page-bgFull #wrapper {
        padding-top: 11vh;
    }
    body.page-template-page-bgFull header.header a {
        display: inline-block;
        padding: 20px;
    }

}