/*
Theme Name: Dermaestetica Berlin
Theme URI: https://dermaestetica-berlin.de
Description: Custom template of Dermaestetica Berlin.
Author: Dermaestetica Berlin
Author URI: https://dermaestetica-berlin.de
Version: 1.0
*/

*{
margin: 0;
padding: 0;
border: 0;
flex-wrap: wrap;
list-style: none;
text-decoration: none;
}

*, 
*:after, 
*::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

:root {
	--color-gold: #d4a769;
	--color-body-text: #2c3238;
	--color-red: #d91828;
	--color-silver: #f7f7f7;
	--color-silver-line: #e4e4e4;
	--color-green: #09995a;
	--color-dark: #111111;
}

body { font-family: 'DM Sans', sans-serif; font-size: 17px; /*background: #f0ece9;*/ color: var(--color-dark); border-top: 5px solid var(--color-dark); }
body.rwd_menu__opened { overflow: hidden; }

li { list-style-type: none; }
h1, h2, h3, h4, h5 { font-weight: normal; }

button, input, select, textarea { font-family: 'DM Sans', sans-serif; font-size: 17px; outline: none; }
select { height: 50px; }

img.alignleft { margin: 0 20px 5px 0; float: left; }
img.alignright { margin: 0 0 5px 20px; float: right; }

hr { height: 30px; border-top: 1px solid #e0dcd6; }

.left { float: left; }
.right { float: right; }
.clear, .related  { clear: both; }
.inner { max-width: 1280px; margin: auto; position: relative; }
.inner_600 { max-width: 600px; }
.hide { display: none !important; }
.p_20 { padding: 20px; }
.p_30 { padding: 30px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.special_offer { height: 180px; margin-bottom: 30px; display: none; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.required, .red { color: #d91828; }

.button { height: 50px; padding: 0 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; text-decoration: none !important; color: white !important; line-height: 18px; background-color: var(--color-dark); border-radius: 3px; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } 
.button:hover, #content input[type=submit]:hover { background-color: var(--color-dark); }

.button.button_gold { background-color: var(--color-gold); }
.button.button_gold:hover { background-color: var(--color-dark); }

.button.button_white { color: var(--color-dark) !important; background-color: white; }
.button.button_white:hover { opacity: 90%; }

.button.button_green { color: white !important; background-color: var(--color-green); }
.button.button_green:hover { background-color: var(--color-dark); }

.button.button_white_hover:hover { color: var(--color-dark) !important; background-color: white; }

.button_30 { height: 30px; padding: 0 10px; font-size: 14px; } 

/* Font */
.t_a_c, .center { text-align: center; }
.sec_font { font-family: 'Barlow Condensed', sans-serif; } 
.uppercase { text-transform: uppercase; }

/* Animation */
.anim, 
#menu ul li a:after { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } 

/* Col */
.row { width: 100%; font-size: 0; }
.row > .col { font-size: 16px; vertical-align: top; display: inline-block; }
.row .col_50 { width: 50%; }
.row .col_33 { width: 33.3333333333%; }
.row .col_25 { width: 25%; }
.row .col_20 { width: 20%; }
.row .col_16 { width: 16.6666666666%; }
.row .col_14 { width: 14.28%; }

.row.row_table { display: table; table-layout: fixed; }
.row.row_table > .col { display: table-cell; }


/*
----------------
	FANCYBOX
----------------
*/
/* Search */
.fancybox-container .search-dialog-content { width: 100%; max-width: 660px; top: 100px; left: calc((100% - 660px) /2); padding: 40px 50px; position: absolute; border-radius: 10px; }
.fancybox-container .search-dialog-content .fancybox-close-small { width: 50px; height: 50px; right: 60px; top: calc(50% - 14px); background-color: var(--color-silver); border: 1px solid var(--color-silver-line); position: absolute; border-radius: 3px; opacity: 100% !important; }
.fancybox-container .search-dialog-content .fancybox-close-small:hover { background-color: var(--color-gold); border-color: var(--color-gold); }
.fancybox-container .search-dialog-content .fancybox-close-small:hover path { fill: white; }

.fancybox-container .search-dialog-content .aws-container { height: 70px; padding: 10px; border: 1px solid var(--color-silver-line); }
.fancybox-container .search-dialog-content .aws-container .aws-search-form { height: 100% !important; }
.fancybox-container .search-dialog-content .aws-container .aws-search-form .aws-wrapper { width: calc(100% - 50px); flex-grow: inherit; }
.fancybox-container .search-dialog-content .aws-container .aws-search-field { height: 50px; padding: 0 0 0 35px !important; font-size: 18px !important; color: var(--color-dark) !important; background: url(images/icon_search_dark.svg) no-repeat left center; background-size: auto 20px; border: none !important; }


/*
----------------
	RWD NAV
----------------
*/
#rwd_menu { width: 100%; left: 0; top: 85px; bottom: 0; background: rgba(33 33 33 / 70%); position: fixed; z-index: 100; visibility: hidden; opacity: 0; } 
#rwd_menu .rwd_menu_wrap { width: 450px; height: 100%; right: -100%; top: 0; padding-bottom: 30px; background: var(--color-dark); position: absolute; overflow-y: auto; } 
#rwd_menu .padding { padding: 20px; } 

/* Menu */
#rwd_menu .menu ul li { float: none !important; position: relative; }
#rwd_menu .menu ul li.hide_in_rwd { display: none; }
#rwd_menu .menu ul li a { color: white; display: block; }

/* Primary menu */
#rwd_menu ul.primary_menu { margin-bottom: 30px; }
#rwd_menu ul.primary_menu li { border-bottom: 1px solid rgba(255 255 255 / 10%); }
#rwd_menu ul.primary_menu li a { padding: 15px 20px; font-size: 20px; font-weight: 900; color: white; line-height: 1; display: block; position: relative; }
#rwd_menu ul.primary_menu li a:hover { text-decoration: underline; }

#rwd_menu ul.primary_menu li.menu-item-has-children > a:before { width: 0; height: 100%; left: 0; top: 0; background: #313131; position: absolute; content: ''; }
#rwd_menu ul.primary_menu li.menu-item-has-children > a:after { width: 20px; height: 20px; right: 20px; top: calc(50% - 10px); background: url(images/icon_arrow_down_white.svg) no-repeat center; background-size: 16px; position: absolute; content: ''; }
#rwd_menu ul.primary_menu li.menu-item-has-children.open > a:before { width: 8px; }
#rwd_menu ul.primary_menu li.menu-item-has-children.open > a:after { ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg); }

#rwd_menu ul.primary_menu li ul { background: white; display: none; }
#rwd_menu ul.primary_menu li ul li { border-bottom-color: #eee; }
#rwd_menu ul.primary_menu li ul li:last-child { border-bottom: none; }
#rwd_menu ul.primary_menu li ul li a { left: auto !important; padding: 15px 15px 15px 20px; font-size: 17px; color: #333 !important; line-height: 20px; opacity: 100% !important; }
#rwd_menu ul.primary_menu li ul li.menu-item-has-children > a:after { width: 20px; height: 20px; right: 20px; top: calc(50% - 10px); background: url(images/icon_arrow_down_small.svg) no-repeat center; background-size: 12px; position: absolute; content: ''; }
#rwd_menu ul.primary_menu li ul li.open > a:before { display: none; }

#rwd_menu ul.primary_menu li ul li ul { background: var(--color-silver); }
#rwd_menu ul.primary_menu li ul li ul li { border-bottom: none; }
#rwd_menu ul.primary_menu li ul li ul li a { padding: 10px 20px; }

/* Secondary menu */
#rwd_menu ul.secondary_menu { margin-bottom: 30px; }
#rwd_menu ul.secondary_menu li { margin-bottom: 5px; }
#rwd_menu ul.secondary_menu li a { font-size: 18px; text-decoration: underline; color: white; }
#rwd_menu ul.secondary_menu li a:hover { text-decoration: underline; }

/* Search */
#rwd_menu .aws-container { margin-bottom: 30px; }
#rwd_menu .aws-container form { height: auto !important; outline: 2px solid transparent; outline-offset: 2px; border-radius: 2px; }
#rwd_menu .aws-container form.aws-focus { outline-color: rgba(255 255 255 / 20%); }
#rwd_menu .aws-container form input[type=search] { height: 50px; color: #000; background: rgba(255 255 255 / 10%) !important; border: none !important; }
#rwd_menu .aws-container form input[type=search]:focus { background: rgba(255 255 255 / 100%) !important; }

/* Button */
#rwd_menu .button { padding: 0 !important; text-align: center; display: flex; }

body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 100%; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrap { right: 0; }


/*
---------------
	HEADER
---------------	
*/
#header { height: 80px; position: relative; z-index: 99; }
#header .inner { height: 100%; }
#header a { font-size: 14px; font-weight: 700; text-transform: uppercase; text-decoration: none; color: var(--color-dark); }
#header a:hover { text-decoration: underline; }

/* For distributors */
#header .for_distributors { left: 0; position: absolute; }

/* Search */
#header .search_button { height: 30px; margin-right: 30px; padding-left: 30px; background: url(images/icon_search_dark.svg) no-repeat left center; background-size: auto 20px; }

/* Cart and Profile */
#header .cart_profile { height: 30px; right: 0; line-height: 30px; display: flex; position: absolute; }

/* Profile */
#header .cart_profile a.profile { height: 30px; padding-left: 30px; background: url(images/icon_user_dark.svg) no-repeat left center; background-size: auto 20px; }

/* Cart */
#header .cart_profile .ajax_cart { width: 30px; height: 30px; margin-left: 30px; background: url(images/icon_cart_dark.svg) no-repeat left center; background-size: auto 26px; position: relative; }
#header .cart_profile .ajax_cart .count { min-width: 20px; height: 20px; left: 15px; bottom: -10px; padding: 0 5px; font-size: 12px; text-align: center; color: white; line-height: 100%; background: var(--color-gold); border: 1px solid white; display: flex; align-items: center; justify-content: center; position: absolute; border-radius: 10px; }

/* Logo */
#header a.logo { height: 20px; left: 50%; top: 50%; position: absolute; transform: translate(-50%, -50%); }
#header a.logo img { width: auto; height: 100%; display: block; }


/*
------------
	MENU
------------
*/
#menu { height: 60px; border-top: 1px solid var(--color-silver-line); position: relative; z-index: 100; }
#menu .inner { height: 100%; }

#menu ul { height: 100%; display: flex; align-items: center; justify-content: space-between; }
#menu ul li { height: auto; margin: 0 10px; position: relative; }
#menu ul li:first-child { margin-left: 0; }
#menu ul li:last-child { margin-right: 0; }

#menu ul li a { height: 30px; font-size: 16px; color: var(--color-dark); line-height: 30px; display: inline-block; position: relative; }
#menu ul li a:after { width: 0; height: 2px; left: 50%; bottom: 0; background: var(--color-gold); position: absolute; content: ''; }
#menu ul li:hover a:after { width: 100%; left: 0; }
#menu ul li.current_page_item a, 
#menu ul li.current_page_parent a { color: var(--color-gold); }
#menu ul li.current_page_item a:after, 
#menu ul li.current_page_parent a:after { width: 100%; left: 0; }

#menu ul li.menu-item-has-children { padding-right: 20px; background: url(images/icon_arrow_down.svg) no-repeat right center; background-size: auto 16px; }
#menu ul li.menu-item-has-children ul { width: max-content; height: auto; left: -10px; top: 100%; padding: 30px; text-align: left; background: white; display: block; position: absolute; visibility: hidden; opacity: 0; box-shadow: 0 10px 30px rgba(0 0 0 / 20%); border-radius: 5px; }
#menu ul li.menu-item-has-children ul li { margin: 0 0 10px; padding: 0; background: none; border-bottom: 1px solid rgba(255,255,255,0.2); display: block; }
#menu ul li.menu-item-has-children ul li:last-child { margin-bottom: 0; }
#menu ul li.menu-item-has-children ul li a { height: auto; padding: 0 !important; font-family: inherit; font-size: 16px; color: var(--color-dark); line-height: 20px; text-transform: none; display: block; }
#menu ul li.menu-item-has-children ul li a:hover { text-decoration: underline; }
#menu ul li.menu-item-has-children ul li a:after { display: none; }

#menu ul li.menu-item-has-children.mega_menu > ul { width: 500px; padding: 30px 0; display: flex; align-items: start; }
#menu ul li.menu-item-has-children.mega_menu > ul > li { width: 50%; padding: 0 30px !important; border-bottom: none; border-right: 1px solid var(--color-silver-line); }
#menu ul li.menu-item-has-children.mega_menu > ul > li:last-child { border-right: none; }
#menu ul li.menu-item-has-children.mega_menu > ul > li { border-bottom: none; }
#menu ul li.menu-item-has-children.mega_menu > ul > li > a { margin-bottom: 20px; font-size: 22px; font-weight: 700; background: none; }

#menu ul li.menu-item-has-children.mega_menu ul li ul { width: auto; left: auto; top: auto; padding: 0; position: relative; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
#menu ul li.menu-item-has-children.mega_menu ul li ul li { width: 100%; margin-bottom: 10px; padding: 0 !important; border-bottom: none; display: block; }
#menu ul li.menu-item-has-children.mega_menu ul li ul li:last-child { margin-bottom: 0; }
#menu ul li.menu-item-has-children.mega_menu ul li ul li a { padding: 0; }

#menu ul li.menu-item-has-children:hover a { width: 100%; left: 0; }
#menu ul li.menu-item-has-children:hover > ul { visibility: visible; opacity: 100%; }
#menu ul li.menu-item-has-children.mega_menu:hover ul { visibility: visible; opacity: 100%; }

/* RWD button */
#header .rwd_button { width: 60px; height: 60px; right: 20px; font-size: 30px; background: transparent; position: absolute; z-index: 2; cursor: pointer; }
#header .rwd_button .burg { width: 40px; height: 2px; left: 10px; background: #222228; display: block; position: relative; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 40px; height: 2px; background: #222228; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: -10px; left: 0; }
#header .rwd_button .burg:after { top: 10px; right: 0; }

body.rwd_menu__opened #header .rwd_button .burg { background: transparent; }
body.rwd_menu__opened #header .rwd_button .burg:before { top: 0; -webkit-transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 0; -webkit-transform: rotate(-45deg); }


/*
--------------
	SLIDER
--------------
*/
#slider { margin-bottom: 20px; position: relative; }
#slider .slick-list, 
#slider .slick-track, 
#slider .slick-track { height: 100%; background: var(--color-dark); }
#slider .slick-slide { height: 100%; }

#slider .slick-slide { max-height: 550px; min-height: 250px; background-repeat: no-repeat; background-position: center; position: relative; }
#slider .slick-slide:before { padding-top: 35%; display: block; content: ''; }
#slider .slick-slide .cover { width: 100%; height: 100%; left: 0; top: 0; position: absolute; z-index: 2; }
#slider .slick-slide .inner { height: 100%; display: flex; flex-wrap: wrap; align-content: center; align-items: center; }
#slider .slick-slide .title { width: 100%; margin: 20px 0; padding-right: 50%; font-size: 2.5vw; color: var(--color-dark); line-height: 100%; }
#slider .slick-slide .text { width: 100%; margin: 20px 0; padding-right: 50%; flex-basis: 100%; line-height: 150%; }

/* Dots */
#slider ul.slick-dots { right: 30px; bottom: 30px; display: flex; position: absolute; }
#slider ul.slick-dots li { margin-left: 15px; }
#slider ul.slick-dots li button { width: 20px; height: 20px; text-indent: -9999px; background: white; opacity: 100%; cursor: pointer; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
#slider ul.slick-dots li:hover button { opacity: 0.75; }
#slider ul.slick-dots li.slick-active button { background: var(--color-dark); }

/* Arrows */
#slider .slick-arrow { width: 50%; height: 50px; left: 0; bottom: -50px; font-size: 0; background: var(--color-gold) url(images/icon_arrow_left_white.svg) no-repeat center; background-size: 80px auto; position: absolute; cursor: pointer; }
#slider .slick-arrow.slick-next { left: auto; right: 0; background-image: url(images/icon_arrow_right_white.svg); }


/*
---------------
	BANNERS
---------------
*/
#banners { margin-bottom: 30px; font-size: 0; }
#banners .banner { height: 240px; margin-bottom: 20px; vertical-align: top; background-repeat: no-repeat; background-position: center; background-size: cover; display: inline-block; position: relative; }
#banners .banner.banner-1 { width: calc(100% - 320px); margin-right: 20px; }
#banners .banner.banner-2 { width: 300px; }
#banners .banner.banner-3 { width: 300px; }

#banners .banner .captions { position: absolute; z-index: 3; }
#banners .banner.banner-1 .captions { right: 0; }
#banners .banner.banner-2 .captions { left: 0; padding-top: 60px; }
#banners .banner.banner-3 .captions { left: 0; padding-top: 60px; }
#banners .banner .captions .caption { height: 60px; padding: 0 20px; font-size: 30px; color: white; line-height: 60px; }
#banners .banner .captions .caption_1 { background: var(--color-dark); }
#banners .banner .captions .caption_2 { background: var(--color-gold); }

#banners .banner .cover { width: 100%; height: 100%; left: 0; top: 0; background: rgba(19,36,51,0.1); position: absolute; z-index: 1; }
#banners .banner .cover:after { top: 10px; right: 10px; bottom: 10px; left: 10px; border: 2px solid white; position: absolute; content: ''; }


/*
--------------------------
	FRONTPAGE PRODUCTS
--------------------------
*/
.frontpage_products { margin: 70px 0; }
.frontpage_products .section_title { margin-bottom: 30px; font-size: 30px; color: var(--color-dark); line-height: 100%; }


/*
--------------
	WHY US
--------------
*/
#why_us { margin: 70px 0; padding: 70px 0; background: var(--color-silver); }
#why_us .intro { margin-bottom: 50px; font-size: 25px; font-weight: 700; color: var(--color-dark); line-height: 130%; }
#why_us .why_us_wrap { display: flex; flex-wrap: wrap; }
#why_us .why_us_wrap .point { padding: 0 20px; font-size: 14px; font-weight: 700; flex-grow: 1; flex-basis: 0; }
#why_us .why_us_wrap .point img { width: auto; height: 60px; margin: 0 auto 20px; display: block; }


/*
----------------
	ABOUT US
----------------
*/
#about_us { margin-top: -70px; color: white; background-color: var(--color-gold); background-image: url(images/bgr_aboutus.webp); background-image: -webkit-image-set(url(images/bgr_aboutus.webp) 1x); background-image: image-set(url(images/bgr_aboutus.png) 1x); }
#about_us .about_us_wrap { display: flex; flex-wrap: wrap; }
#about_us .about_us_wrap .wrap_left { width: 50%; padding-top: 70px; padding-right: 50px; padding-bottom: 70px; padding-left: calc((100% - 1280px) /2); }
#about_us .about_us_wrap .wrap_left .title { margin-bottom: 20px; font-size: 30px; line-height: 100%; }
#about_us .about_us_wrap .wrap_left .text { font-size: 16px; line-height: 25px; }
#about_us .about_us_wrap .wrap_left .text p { margin-bottom: 10px; }
#about_us .about_us_wrap .wrap_left .text p:last-child { margin-bottom: 0; }
#about_us .about_us_wrap .wrap_right { width: 50%; background-repeat: no-repeat; background-position: center; background-size: cover; }


/* 
---------------------------
	CATEGORIES DROPDOWN
---------------------------
*/
.dropdown_product_cat_wrapper { margin-bottom: 30px; }
.dropdown_product_cat_wrapper select { width: 100%; height: 50px; padding-left: 10px; border: 1px solid #ccc; resize: none; -moz-box-shadow: inset 0 0 10px #eee; -webkit-box-shadow: inset 0 0 10px #eee; box-shadow: inset 0 0 10px #eee; position: relative; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { margin-bottom: 30px; padding: 15px 0; font-size: 13px; font-weight: 700; color: white; line-height: 14px; background: var(--color-dark); }
#before_content .rank-math-breadcrumb p { margin-bottom: 0 !important; }
#before_content .rank-math-breadcrumb a { text-decoration: underline; color: rgba(255 255 255 / 50%); font-weight: normal; }
#before_content .rank-math-breadcrumb a:hover { color: white; }
#before_content .rank-math-breadcrumb .separator { font-weight: normal; color: rgba(255 255 255 / 50%); }


/*
------------------
	CONTAINER
------------------	
*/
#container { min-height: 300px; position: relative; z-index: 1; }

/* Custom title */
#container .custom_title { margin-bottom: 10px; font-size: 27px !important; color: var(--color-dark); background: url(images/dots.png) repeat-x right 13px; }
#container .custom_title span { padding-left: 25px; padding-right: 30px; background: white url(images/icon_flower.svg) no-repeat left 10px; background-size: auto 15px; }

#content { width: inherit; padding: 30px 0; line-height: 25px; }

#content h1 { margin-bottom: 30px; font-size: 50px; color: var(--color-dark); line-height: 100%; }
#content h2 { margin-bottom: 20px; font-size: 30px; font-weight: 700; color: var(--color-gold); }
#content h3 { margin-bottom: 10px; font-size: 25px; font-weight: 700; }

#content p { margin-bottom: 20px; }
#content a { text-decoration: underline; color: var(--color-dark); }

/* List */
#content ul { margin-bottom: 20px; margin-left: 10px; }
#content ul li { padding-left: 20px; position: relative; }
#content ul li:before { width: 6px; height: 6px; left: 0; top: 10px; background: var(--color-gold); position: absolute; content: ''; }

#content ul.nomargin { margin-left: 0; }
#content ul.nomargin li { padding-left: 0; }
#content ul.nomargin li:before { display: none; }

/* Gallery */
#content ul.gallery { margin-left: -10px !important; margin-right: -10px; font-size: 0; }
#content ul.gallery li { width: 25%; margin-bottom: 20px; padding-left: 10px; padding-right: 10px; vertical-align: top; display: inline-block; }
#content ul.gallery li a { display: block; }
#content ul.gallery li img { width: 100%; height: auto; display: block; }

/* Table */
#content table { width: 100%; margin-bottom: 30px; text-align: left; border-spacing: 0; border-collapse: collapse; } 
#content table thead th { padding: 10px; font-size: 14px; line-height: 14px; font-weight: 700; border-bottom: 1px solid var(--color-silver-line); } 
#content table tbody td { padding: 10px; font-size: 15px; line-height: 17px; border: 1px solid #e0dcd6; } 

/* Columns */
#content .content-column { margin-bottom: 20px; padding-left: 5px; padding-right: 5px; text-align: center; line-height: 20px; }
#content .content-column a { display: block; }
#content .content-column img { width: 100%; height: auto; display: block; }
#content .content-column.one_half { padding-left: 0; padding-right: 0; text-align: left; line-height: normal; } 

/* Product category details */
#content .product_cat_details img { max-width: 100%; height: auto; margin-bottom: 20px; display: block; }

/* Iframe wrapper */
#content .iframe_wrapper { height: 0; margin-bottom: 30px; padding-bottom: 56.25%; padding-top: 25px; position: relative; }
#content .iframe_wrapper iframe { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }

/* Flexible content */
#content .flexible_content .hero { max-height: 500px; background-color: var(--color-dark); background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#content .flexible_content .hero:before { padding-top: 30%; display: block; content: ''; }
#content .flexible_content .hero .cover { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }
#content .flexible_content .hero .inner { height: 100%; }

/* Landing 1 */
body.product-template-landing-1 #container:before { display: none; }
body.product-template-landing-1 #container > .inner { max-width: none; display: block; }
body.product-template-landing-1 #container #content { padding: 0; }


/*
---------------
	SIDEBAR
---------------
*/
#sidebar { width: 320px; padding-right: 20px; padding-top: 30px; background: #fbf6f1 url(images/bgr_sidebar.png) repeat-y right top; }
#sidebar small { margin-bottom: 10px; display: block; }

#sidebar .widget { margin-bottom: 30px; }
#sidebar .widget p { margin-bottom: 10px; }
#sidebar .widget .widget_title { margin-bottom: 10px; font-size: 27px; color: var(--color-dark); background: url(images/dots.png) repeat-x right 17px; }
#sidebar .widget .widget_title span { padding-left: 25px; padding-right: 30px; background: #fbf6f1 url(images/icon_flower.svg) no-repeat left 10px; background-size: auto 15px; }

/* Search */
#sidebar .widget.widget_search { font-size: 0; }
#sidebar .widget.widget_search input[type=text] { width: calc(100% - 50px); height: 50px; padding-left: 10px; vertical-align: top; border: 1px solid #c1bcc2; border-right: none; display: inline-block; }
#sidebar .widget.widget_search input[type=submit] { width: 50px; height: 50px; vertical-align: top; background: var(--color-gold) url(images/icon_search_white.svg) no-repeat center; background-size: auto 20px; display: inline-block; cursor: pointer; }
#sidebar .widget.widget_search input[type=submit]:hover { background-color: var(--color-dark); }

/* Categories */
#sidebar .widget.widget_categories .cat_list > ul > li > a { margin-bottom: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 23px; color: #000; display: inline-block; }
#sidebar .widget.widget_categories .cat_list ul li ul { margin-bottom: 20px; }
#sidebar .widget.widget_categories .cat_list ul li ul li { padding-left: 20px; line-height: 25px; position: relative; }
#sidebar .widget.widget_categories .cat_list ul li ul li:before { width: 11px; height: 1px; left: 0; top: 12px; background: url(images/dots.png) repeat-x left top; position: absolute; content: ''; }
#sidebar .widget.widget_categories .cat_list ul li ul li a { font-size: 17px; color: #666; }
#sidebar .widget.widget_categories .cat_list ul li ul li a:hover { text-decoration: underline; color: var(--color-dark); }


/*
---------------
	FOOTER
---------------	
*/
#footer { padding-top: 3px; font-size: 16px; }

#footer p { margin-bottom: 10px; }
#footer h4 { margin-bottom: 10px; font-size: 14px; font-weight: 700; text-transform: uppercase; }
#footer img { width: 100%; max-width: 320px; height: auto; display: block; }

/* Footer top */
#footer .footer_top { padding: 50px 0; }
#footer .footer_top .footer_top_wrap { display: flex; flex-wrap: wrap; }
#footer .footer_top .footer_top_wrap .wrap_left { width: 25%; }

#footer .footer_top .col.col_payment_options p { margin-bottom: 20px; font-size: 14px; line-height: 17px; }
#footer .footer_top .col.col_payment_options img { max-width: 100%; height: auto; display: inline-block; }
#footer .footer_top .col.col_payment_options img.half { max-width: 60%; }

#footer .footer_top ul { line-height: 30px; }
#footer .footer_top ul li.menu-item-2371 { display: none !important; }
#footer .footer_top ul li a { text-decoration: none; color: #000; }
#footer .footer_top ul li a:hover { text-decoration: underline; }

/* Footer bottom */
#footer .footer_bottom { padding: 20px 0; border-top: 1px solid var(--color-silver-line); }


/*
-----------------------
	PAYMENT OPTIONS
-----------------------
*/
#payment_options { padding: 15px 0; }
#payment_options img { width: 100%; max-width: 300px; height: auto; margin: auto; display: block; }


/*
-----------------
	SCROLL UP
-----------------
*/
#scrollUp { width: 50px; height: 50px; bottom: 20px; right: 20px; background: var(--color-gold) url(images/icon_arrow_up_white.svg) no-repeat center; background-size: auto 30px; }


/*
--------------------
	CONTACT FORM
--------------------
*/
.wpcf7-form br { display: none; }


/*
-----------
	AWS
-----------
*/
.aws-search-result .aws_result_title { color: var(--color-dark) !important; }
.aws-search-result .aws_search_more a { color: var(--color-dark) !important; }


/*
------------------
	RWD DESIGN
------------------
*/
@media only screen and (max-width: 1280px) { 

	/* DISPLAY: None */
	.hide_in_1200 { display: none !important; }

	/* DEFAULT */
	.p_l_20, .p_l_30 { padding-left: 20px; }
	.p_r_20, .p_r_30 { padding-right: 20px; } 
	
	/* HEADER: For distributors */
	#header .for_distributors { left: 20px; }
	
	/* HEADER: Cart and Profile */
	#header .cart_profile { right: 20px; }
	
	/* MENU */
	#menu ul li { margin: 0 5px; }
	
	/* SLIDER */
	#slider .slick-slide:before { padding-top: 40%; }
	#slider .slick-slide .inner { padding-left: 20px; }
	#slider .slick-slide .title { margin: 10px 0; font-size: 2.8vw; }
	#slider .slick-slide .text { margin: 10px 0; }
	
	/* ABOUT US */
	#about_us .about_us_wrap .wrap_left { padding-left: 20px; }
	
	/* SIDEBAR */
	#sidebar { width: 280px; padding-left: 20px; }
	#sidebar .widget .widget_title { font-size: 25px; }
	#sidebar .widget .widget_title span { padding-right: 20px; }
	
	/* SIDEBAR: Categories */
	#sidebar .widget.widget_categories .cat_list ul li ul li a { font-size: 15px; }
}

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

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* HEADER */
	#header { height: 80px; padding-top: 0; border-bottom: 1px solid #e0dcd6; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
	#header .inner { height: 100%; }
	
	/* HEADER: Cart and Profile */
	#header .cart_profile { left: 20px; right: auto; }
	
	/* HEADER: Cart */
	#header .cart_profile .ajax_cart { margin-left: 0; }
	
	/* SLIDER */
	#slider .slick-slide .inner { padding-right: 20px; justify-content: center; }
	#slider .slick-slide .title { padding-right: 0; font-size: 3vw; text-align: center; }
	#slider .slick-slide .text { padding-right: 0; text-align: center; }
	
	/* WHY US */
	#why_us .why_us_wrap .point { width: 33.3333333333%; margin: 10px 0; flex-grow: inherit; flex-basis: auto; }
	
	/* ABOUT US */
	#about_us .about_us_wrap .wrap_left { width: 100%; padding: 30px 20px; }
	#about_us .about_us_wrap .wrap_right { width: 100%; }
	#about_us .about_us_wrap .wrap_right:before { padding-top: 40%; display: block; content: ''; }
	
	/* CONTAINER */
	#container .inner { padding: 0 20px; display: block; }
	#content { padding: 20px 0; display: block; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap .wrap_left { width: 50%; margin-top: 50px; } 
	#footer .footer_top .footer_top_wrap .wrap_left:nth-child(-n+2) { margin-top: 0; } 
}

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

	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }
	
	/* SLIDER */
	#slider .slick-slide .title { font-size: 4vw; }
	
	/* WHY US */
	#why_us .intro { margin-bottom: 30px; font-size: 20px; }
	#why_us { margin: 50px 0; padding: 50px 0; }
	
	/* ABOUT US */
	#about_us { margin-top: -50px; }
	
	/* CONTENT */
	#content h1 { font-size: 7vw; }
}

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

	/* DISPLAY: None */
	.hide_in_640 { display: none !important; }
	
	/* SLIDER */
	#slider .slick-slide .title { font-size: 6vw; }
	#slider .slick-slide .text { font-size: 15px; }	
	/* WHY US */
	#why_us .why_us_wrap .point { width: 50%; }
	
	/* CONTENT: Custom title */
	#container .custom_title { font-size: 23px !important; }
	#container .custom_title span { background-position: left 8px; }
	
	/* CONTENT */
	#content h1 { font-size: 8vw; }
}

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

	/* RWD NAV */
	#rwd_menu .rwd_menu_wrap { width: calc(100% - 20px); } 

	/* HEADER: Logo */
	#header a.logo { height: 16px; }
	
	/* BANNERS */
	#banners .banner { height: 150px; }
	#banners .banner .captions .caption { height: 40px; font-size: 20px; line-height: 40px; }
	
	/* CONTENT */
	#content h1 { font-size: 9vw; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap .wrap_left { width: 100%; } 
	#footer .footer_top .footer_top_wrap .wrap_left:nth-child(2) { margin-top: 50px; }
}
