/*-------------------------------
Theme Name:   uni-child
Theme URI:    https://www.wmoer.com/
Description:  Universal Child Theme
Author:       wmoer
Author URI:   https://www.wmoer.com/
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
----- ADDITIONAL CSS HERE -----*/

#wp-admin-bar-edit{/*display:none*/}
body{font-size:clamp(1rem, 0.75rem + 0.8vw, 1.25rem);font-weight:400;font-family:Roboto,Arial,Helvetica,sans-serif}
h1,h2,h3,h4,h5,h6,.palatino,.toptxt{font-weight:400;font-family:Palatino,"Palatino Linotype","Times New Roman",serif}
h1,h2,h3,h4,h5,h6{text-wrap:balance;letter-spacing:-0.01em;color:#308048;font-style:normal;font-weight:400;line-height:1.3!important;margin:0}

/*MENU*/
#WM-TOP ul#menu-menu *,#WM-TOP ul#mobile_menu1 *{opacity:1}
#WM-TOP ul#mobile_menu1{max-width:330px;max-height:calc(98dvh - 60px);overflow-y:scroll;border-bottom:3px solid #308048}
#WM-TOP .et_mobile_menu{left:unset;right:0;padding:4% 5% 5%}
#WM-TOP ul#mobile_menu1 .menu-item-has-children > a{font-weight:500}
#WM-TOP ul.sub-menu li a{text-transform:none!important}
#WM-TOP ul#menu-menu .current-menu-parent > a:first-child{color:#C03030!important}
#WM-TOP .et-menu a,#WM-TOP .et-menu a:hover{/*-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out*/}
#WM-TOP .menu-overview a{/*background-color:#f9f5e1*/}

/*MENU DROPDOWN AUTO WIDTH*/
@media only screen and (min-width:981px){
#WM-TOP .nav li ul{width:fit-content;display:flex;flex-direction:column}
#WM-TOP .nav li li{padding:0 3px;white-space:nowrap}
#WM-TOP .nav li li a{width:auto!important}
#WM-TOP .nav ul li a:hover{background-color:rgba(0,0,0,.08)!important}
}

/*TOPIMG*/
.no-topimg{margin-top:0}
@media screen and (max-width:980px){.no-topimg{margin-top:60px}}
.topimg{/*position:relative*/}
.topimg.small    {min-height:560px}
.topimg.large    {min-height:560px;height:80vh}
.topimg.home     {background-position:10% 45%}
.topimg.barge    {background-position:20% 50%}
.topimg.reviews  {background-position:80% 50%}
.topimg.overview {background-position:50% 20%}
.topimg.languedoc{background-position:95% 45%}
.topimg.aquitaine{background-position:33% 50%}

/*TOPTXT - TOPSVG*/
.toptxt {}
.topsvg {--svgw: clamp(5.5rem, 4rem + 4.8vw, 7rem)}
.topsvg svg {fill: white;width: var(--svgw);height: calc(var(--svgw) / 4 * 3)}

/*ANIME LOGO: wm-bounce*/
/*
@keyframes wm-bounce{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.15);transform:scale(1.15)}}
.wm-bounce svg{animation:wm-bounce 500ms;animation-timing-function:ease-in-out;animation-iteration-count:6;animation-direction:alternate}
*/

/*PAGE TITLE*/
.flex-title .et_pb_column{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:1.5rem}
.flex-title.center .et_pb_column{align-items:center!important}
.flex-title .et_pb_module{min-width:25%}

/*FR-MAP FLEX*/
.frmap .et_pb_column{display:flex;column-gap:5.5%}
.frtxt{flex:0 0 60.75%}
.frimg{flex:0 0 33.75%;max-width:260px}
.frimg img{width:100%}
@media screen and (max-width:767px){
.frmap .et_pb_column{display:block}
.frimg{margin-top:1.5rem}
}

/*OTHER*/
::marker{color:#90e090}
.entry-content .et_pb_text a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:0.25em}
.entry-content .et_pb_text a:hover{text-decoration-thickness:2px;transition:all 0.15s}
.columns{display:block;columns:2 371px;column-gap:5.5%}
.aquo:before{content:"«";margin-right:0.2em}.aquo:after{content:"»";margin-left:0.2em}
.word-break{overflow-wrap:anywhere;hyphens:auto}
.text-wrap{text-wrap:balance}
.label-blue  {font-size:0.82em;color:#ffffff;background-color:#304880;display:inline-block;margin:0;padding:0 0.4em}
.label-green {font-size:0.75em;color:#488030;background-color:#ffffff;display:block;width:fit-content;margin:0 0 0.75em;padding:0 0.4em;border:1px solid #488030}
.label-maroon{font-size:0.75em;color:#ffffff;background-color: maroon;display:block;width:fit-content;margin:0 0 0.75em;padding:0 0.4em;border:1px solid maroon}
.label-note  {font-size:0.75em;color:#ffffff;background-color:#205430;display:block;width:fit-content;margin:0 0 0.75em;padding:0 0.5em;border-radius:3px}
.label-full  {font-size:0.82em;color:#C03030;border:1px solid #C03030;padding-inline:0.2em}
.maroon{color:maroon}
.nobr{white-space:nowrap}

/*WM-IMGS*/
.flex-imgs{--gap:1.25rem;width:92%}
.flex-imgs .et_pb_column{margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--gap)}
.flex-imgs .et_pb_image{margin:0}
.flex-imgs.im2 .et_pb_image{width:calc(50% - var(--gap) / 2);max-width:480px}
.flex-imgs.fw2 .et_pb_image{width:calc(50% - var(--gap) / 2);max-width:270px}
.flex-imgs.fw3 .et_pb_image{width:calc((100% - var(--gap) * 2) / 3);max-width:270px}
@media screen and (max-width:980px){.flex-imgs .et_pb_column{--gap:2vw}}
@media screen and (max-width:480px){.flex-imgs .et_pb_column{--gap:4vw}.flex-imgs.im2 .et_pb_image{width:100%}}

/*07-MEDIA*/
.media-img{width:88%}
.media-img .et_pb_column{display:grid;gap:0.8rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.media-img .et_pb_column .et_pb_image{margin:0}
@media screen and (max-width:980px){.media-img .et_pb_column{gap:0.6rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}
@media screen and (max-width:480px){.media-img{width:92%}.media-img .et_pb_column{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}

/*MAPBOX*/
.mapbox{width:92%}
.mapimg{max-width:720px}
.map360 img{height:360px;object-fit:cover}
.map540 img{height:540px;object-fit:cover}
.carcassonne img{object-position:75% 50%}
.beziers     img{object-position:75% 50%}
.burgundy    img{object-position:70% 50%}
.languedoc   img{object-position:75% 50%}
.loire       img{object-position: 8% 50%}
.champagne   img{object-position:45% 50%}
.nivernais   img{object-position:38% 50%}
.ouchevalley img{object-position:70% 50%}
.alsace      img{object-position:87% 50%}
.aquitaine   img{object-position:18% 50%}

/*PAGE-NAV*/

/*BOT-LINKS*/
.botlinks ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0.6em}
.botlinks a{font-size:1rem;text-decoration:none !important;display:block;padding:0 0.6em;line-height:2.5;color:#304880;background-color:#f5f7f9}
.botlinks a:hover{text-decoration:underline !important}
@media screen and (max-width:980px){.botlinks a{font-size:0.94rem}}

/*FOOT-MENU*/
#WM-BOT .dl-v-menu .et_mobile_nav_menu{display:none}
#WM-BOT .dl-v-menu .et_pb_menu_inner_container,#WM-BOT .dl-v-menu .et_pb_menu__wrap,#WM-BOT .dl-v-menu .et_pb_menu__menu,#WM-BOT .dl-v-menu .et_pb_menu__menu>nav,#WM-BOT .dl-v-menu .et_pb_menu__menu>nav>ul{display:block}
#WM-BOT .dl-v-menu a{color:white}
#WM-BOT .dl-v-menu .et-menu a:hover{opacity:unset !important}
#WM-BOT .dl-v-menu .current_page_item a,
#WM-BOT .dl-v-menu .current_page_item a:hover{color:#90e090 !important;font-weight:500;text-decoration:none !important}
/*
#WM-BOT a[href*="facebook"],
#WM-BOT a[href*="facebook"]:hover{padding:0.4em 0.6em;background-color:#3B5998}
*/