/*
Theme Name: ALS-Amiben Lehet, Segítünk! Egyesület
Theme URI: https://als-egyesulet.hu/
Description: Az ALS-Amiben Lehet, Segítünk! Egyesület webáruház alapértelmezett sablonja
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

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

@font-face { 
	font-family: 'DIN Pro'; 
	src: url("fonts/din-pro.woff2") format('woff2');
	font-weight: 400; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'DIN Pro'; 
	src: url("fonts/din-pro-italic.woff2") format('woff2');
	font-weight: 400; 
	font-style: italic;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'DIN Pro'; 
	src: url("fonts/din-pro-bold.woff2") format('woff2');
	font-weight: 700; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
@font-face { 
	font-family: 'DIN Pro'; 
	src: url("fonts/din-pro-medium.woff2") format('woff2');
	font-weight: 500; 
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}

@font-face { 
	font-family: 'DIN Pro'; 
	src: url("fonts/din-pro-bold-italic.woff2") format('woff2');
	font-weight: 700; 
	font-style: italic;
	font-stretch: normal;
	font-display: swap;
}

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

:root {
	--color-body-text: #0f1e64;
	--color-yellow: #ffd200;
	--color-blue: #1b4597;
	--color-dark-blue: #0f1e64;
	--color-light-blue: #128fd4;
	--color-silver: #f5f7f9;
	--color-silver-line: #e5ebf1;
	--color-green: #66bb6a;
	--color-green-a10: rgba(102 187 106 / 10%);
	--color-red: #ed5555;
	--color-red-a10: #ffdede;
}

html, body { height: 100%; }
body { font-family: 'DIN Pro', sans-serif; font-size: 18px; font-weight: 400; color: var(--color-body-text); line-height: 30px; background: #666; overflow-x: hidden; }
body.rwd_menu__opened { overflow: hidden; }

img.alignleft, img.alignright, img.aligncenter, img.alignnone { max-width: 100%; height: auto; } 
img.alignleft { margin: 0 20px 20px 0; float: left; } 
img.alignright { margin: 0 0 20px 10px; float: right; } 

h1, h2, h3, h4, h5 { font-weight: normal; line-height: 100%; }

hr { margin: 30px 0; border-top: 3px solid var(--color-silver-line); clear: both; }

button, input { -webkit-appearance: none; -webkit-border-radius: 0; }
button, input, select, textarea { font-family: 'DIN Pro', sans-serif; font-size: 15px; font-weight: 400; outline: none; }
textarea { resize: vertical; }

input[type=checkbox], 
input[type=radio] { width: 24px; min-width: 24px; height: 24px; margin: -4px 4px 0 0 !important; padding: 0 !important; text-align: center !important; color: white; background-color: white; border: 1px solid #d8d8d8; clear: none; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; align-content: center; outline: 3px solid transparent; vertical-align: middle !important; position: relative; -webkit-appearance: none; -webkit-box-shadow: none; box-shadow: none; border-radius: 3px; -webkit-transition: .05s border-color ease-in-out; transition: .05s border-color ease-in-out; }
input[type=radio] { padding-top: 1px !important; border-radius: 50%; }

input[type=checkbox]:checked { background: var(--color-green); border-color: var(--color-green); }
input[type=checkbox]:checked:before { content: '✔' !important; }
input[type=radio]:checked { background: var(--color-green); border-color: var(--color-green); }
input[type=radio]:checked:before { width: 10px; height: 10px; background: white; display: inline-block; position: relative; content: ''; border-radius: 50%; }


/*
-----------------
	CLASSES
-----------------
*/
.red, .required { color: var(--color-red); }
.inner { max-width: 1280px; margin: auto; position: relative; }
.inner_800 { max-width: 800px; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.b_r_3 { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.uppercase { text-transform: uppercase; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.hide { display: none !important; }

/* Buttons */
.button, .form-submit input[type=submit] { height: 50px; padding: 0 30px !important; font-size: 17px; font-weight: 500; text-decoration: none !important; text-transform: uppercase; color: white !important; line-height: 100%; background-color: var(--color-blue); display: inline-flex; justify-content: center; align-items: center; position: relative; cursor: pointer; transition: all 0.1s ease-out; border-radius: 25px; }
.button:hover, .form-submit input[type=submit]:hover { background-color: var(--color-dark-blue); }
.button:disabled { background: #ddd; cursor: not-allowed; }

.button.button_30 { height: 30px; padding: 0 10px !important; font-size: 14px; line-height: 30px; }
.button.button_40 { height: 40px; padding: 0 15px !important; font-size: 16px; line-height: 40px; }

.button.button_yellow { color: #000 !important; background-color: var(--color-yellow) !important; }
.button.button_yellow:hover { color: white !important; background-color: var(--color-dark-blue) !important; }

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

.button.button_white_hover:hover { color: #000 !important; background-color: white !important; }

/* Font */
.center { text-align: center; }

/* Animation */
.anim, .woocommerce-product-gallery__image a { -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; }
.anim_cubic { -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -moz-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -o-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }

/* Website */
#website { max-width: 1920px; min-height: 100vh; margin: auto; padding: 0 50px; background: white; display: flex; flex-direction: column; }


/*
----------------
	RWD NAV
----------------
*/
#rwd_menu { width: 100%; left: 0; top: 0; bottom: 0; background: rgba(245 247 249 / 50%); position: fixed; z-index: 1000; visibility: hidden; opacity: 0; } 
#rwd_menu .rwd_menu_wrap { width: 480px; height: 100%; right: -100%; top: 0; background: var(--color-dark-blue); position: absolute; overflow-y: auto; } 
#rwd_menu .rwd_menu_wrap label { margin-bottom: 10px; font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--color-yellow); } 
#rwd_menu .rwd_menu_wrap .rwd_menu_section { padding-left: 50px; padding-right: 50px; } 

#rwd_menu .rwd_menu_wrap .rwd_menu_section.useful_info { padding-top: 50px; padding-bottom: 50px; background: rgba(255 255 255 / 5%); } 

/* RWD menu header */
#rwd_menu .rwd_header { height: 100px; position: relative; }
#rwd_menu .rwd_header img { width: auto; height: 50px; left: 50px; display: block; position: absolute; }
#rwd_menu .rwd_header .rwd_button { width: 50px; height: 50px; right: 50px; background: white; position: absolute; z-index: 2; cursor: pointer; border-radius: 50%; }
#rwd_menu .rwd_header .rwd_button .burg { width: 20px; height: 2px; left: 15px; top: calc(50% - 1px); background: transparent; display: block; position: absolute; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#rwd_menu .rwd_header .rwd_button .burg:before, 
#rwd_menu .rwd_header .rwd_button .burg:after { width: 20px; height: 1px; background: var(--color-dark-blue); position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }
#rwd_menu .rwd_header .rwd_button .burg:before { top: 0; left: 0; -webkit-transform: rotate(45deg); }
#rwd_menu .rwd_header .rwd_button .burg:after { top: 0; right: 0; -webkit-transform: rotate(-45deg); }

/* Contacts */
#rwd_menu .rwd_contacts { margin-bottom: 30px; }
#rwd_menu .rwd_contacts .button { width: 100%; }

/* 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; list-style: none; }
#rwd_menu ul.primary_menu li { border-bottom: 1px solid rgba(255 255 255 / 20%); }
#rwd_menu ul.primary_menu li:last-child { border-bottom: none; }
#rwd_menu ul.primary_menu li a { padding: 15px 0; font-size: 18px; font-weight: 700; color: white; line-height: 100%; display: block; position: relative; }
#rwd_menu ul.primary_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

#rwd_menu ul.primary_menu li.menu-item-has-children > a:after { width: 30px; height: 30px; right: 0; top: calc(50% - 15px); background: url(images/icon_arrow_down_white.svg) no-repeat center; background-size: 16px; border: 1px solid rgba(255 255 255 / 20%); position: absolute; content: ''; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
#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.categories li a { padding: 20px 0 20px 50px; }
#rwd_menu ul.primary_menu.categories li a .icon { width: 40px; height: 40px; left: 0; top: 9px; background: var(--color-blue); position: absolute; display: flex; justify-content: center; align-items: center; border-radius: 50px; }
#rwd_menu ul.primary_menu.categories li a .icon img { width: 20px; height: 20px; display: block; filter: invert(100%) sepia(0) saturate(0) hue-rotate(0deg) brightness(300%); }

#rwd_menu ul.primary_menu li ul { margin-bottom: 20px; padding: 10px 0; background: rgba(0 0 0 / 30%); display: none; list-style: none; border-radius: 10px; }
#rwd_menu ul.primary_menu li ul li { margin: 2px 0; color: var(--color-gold); border-bottom: none !important; }
#rwd_menu ul.primary_menu li ul li a { padding: 10px 20px !important; font-size: 17px; font-weight: 400; color: white !important; line-height: 20px; position: relative; }
#rwd_menu ul.primary_menu li ul li a:before { width: 6px; height: 6px; left: 10px; top: 21px; background: var(--color-gold); position: absolute; content: ''; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

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

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


/*
---------------
	HEADER
---------------
*/
#header { height: 140px; }
#header .header_wrap { height: 100%; }

/* Logo */
#header .logo { height: 80px; left: 0; display: inline-block; position: absolute; }
#header .logo img { width: auto; height: 100%; display: block; }

/* Header top */
#header .header_top { height: 40px; display: flex; justify-content: end; }
#header .header_top ul { max-width: max-content; height: 100%; border-bottom: 1px solid var(--color-silver-line); display: flex; list-style: none; }
#header .header_top ul li { margin-left: 20px; }
#header .header_top ul li:first-child { margin-left: 0; }
#header .header_top ul li a { font-size: 15px; font-weight: 500; color: #000; }

/* Header bottom */
#header .header_bottom { height: 100px; display: flex; align-items: center; align-content: center; justify-content: end; }

#header .header_bottom ul.menu { display: flex; list-style: none; }
#header .header_bottom ul.menu li { margin-left: 20px; }
#header .header_bottom ul.menu li:first-child { margin-left: 0; }
#header .header_bottom ul.menu li a { font-size: 18px; font-weight: 500; color: var(--color-blue); }
#header .header_bottom ul.menu li a:hover { color: var(--color-dark-blue); }

#header .header_bottom ul.menu li.current-menu-item a, 
#header .header_bottom ul.menu li.current_page_parent a { text-decoration: underline; color: var(--color-dark-blue); }

/* Profile */
#header .profile { width: 50px; height: 50px; margin-left: 30px; font-size: 0; background: url(images/icon_profile.svg) no-repeat center; background-size: auto 16px; border: 1px solid var(--color-silver-line); border-radius: 50%; }
#header .profile:hover { border-color: var(--color-blue); }

/* Cart */
#header .ajax_cart { width: 50px; height: 50px; margin-left: 20px; background: var(--color-yellow) url(images/icon_cart.svg) no-repeat center; background-size: auto 16px; position: relative; border-radius: 50%; }
#header .ajax_cart:hover { background-color: var(--color-blue); background-image: url(images/icon_cart_white.svg); }
#header .ajax_cart .count { min-width: 20px; height: 20px; left: calc(100% - 20px); top: -5px; padding: 0 5px; font-size: 14px; color: white; line-height: 100%; background: var(--color-dark-blue); display: flex; align-items: center; justify-content: center; position: absolute; border-radius: 50%; }

/* Contact */
#header .contact_button { margin-left: 20px; }

/* RWD menu */
#header .rwd_button { width: 90px; height: 50px; margin-left: 20px; padding: 0 10px 0 40px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: white; background: var(--color-blue); cursor: pointer; position: relative; border-radius: 25px; }
#header .rwd_button .burg { width: 20px; left: 10px; top: 50%; display: block; position: absolute; -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: 20px; height: 1px; background: white; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: calc(50% - 3px); left: 0; }
#header .rwd_button .burg:after { top: calc(50% + 2px); 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_wrap { position: relative; z-index: 2; }
#slider_wrap .decoration_right_1 { right: -50px; bottom: -125px; position: absolute; z-index: 10; }

#slider .slick-list { height: 100%; }
#slider .slick-track { height: 100%; }

#slider .slick-slide { height: 100%; max-height: 550px; min-height: 250px; background: var(--color-blue); position: relative; border-radius: 10px; overflow: hidden; }
#slider .slick-slide:before { padding-top: 40%; display: block; content: ''; }
#slider .slick-slide .item_wrap { width: 100%; height: 100%; left: 0; top: 0; display: flex; position: absolute; }
#slider .slick-slide .item_wrap .wrap_left { width: 50%; height: 100%; padding: 50px; display: flex; align-items: center; align-content: center; }
#slider .slick-slide .item_wrap .wrap_left .title { margin: 10px 0; font-size: 60px; color: white; line-height: 100%; }
#slider .slick-slide .item_wrap .wrap_left .text { width: 100%; margin: 10px 0; font-size: 20px; color: white; line-height: 100%; }
#slider .slick-slide .item_wrap .wrap_left .button { margin-top: 20px; }

#slider .slick-slide .item_wrap .wrap_right { width: 50%; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#slider .slick-slide .item_wrap .wrap_right .triangle { width: 100%; height: 100%; left: 0; top: 0; background: url(images/img_slider_triangle.svg) no-repeat left top; background-size: contain; position: absolute; }

/* Dots */
#slider ul.slick-dots { height: 60px; right: 0; bottom: 0; padding: 0 50px 0 60px; background: var(--color-silver); display: flex; align-items: center; align-content: center; justify-content: center; position: absolute; list-style: none; }
#slider ul.slick-dots li { margin: 0 7px; position: relative; z-index: 2; }
#slider ul.slick-dots li button { width: 16px; height: 16px; font-size: 0; background: var(--color-blue); border: 3px solid var(--color-light-blue); border-radius: 50%; cursor: pointer; }
#slider ul.slick-dots li button:hover { border-color: var(--color-blue); }
#slider ul.slick-dots li.slick-active button { background: transparent; border-color: var(--color-blue); }
#slider ul.slick-dots:before { width: calc(100% - 10px); height: 200px; right: 0; top: -20px; border-top: 10px solid var(--color-light-blue); border-left: 10px solid var(--color-light-blue); position: absolute; content: ''; z-index: 1; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { padding: 100px 0; position: relative; }
#aboutus .decoration_left_1 { left: -50px; top: -250px; position: absolute; z-index: 1; }
#aboutus .decoration_left_2 { left: -50px; top: 350px; position: absolute; z-index: 10; }
#aboutus .decoration_right_3 { right: -50px; bottom: -400px; position: absolute; z-index: 10; }

#aboutus .aboutus_wrap { display: flex; position: relative; z-index: 11; }
#aboutus .aboutus_wrap .wrap_left { width: 50%; padding: 100px 50px 100px 0; }
#aboutus .aboutus_wrap .wrap_left.fullwidth { width: 100%; padding: 0; }
#aboutus .aboutus_wrap .wrap_left .subtitle { margin: 10px 0; font-size: 17px; font-weight: 500; text-transform: uppercase; color: var(--color-light-blue); line-height: 20px; }
#aboutus .aboutus_wrap .wrap_left .title { margin: 10px 0; font-size: 50px; font-weight: 500; color: var(--color-blue); line-height: 100%; }
#aboutus .aboutus_wrap .wrap_left .text { margin: 10px 0; }
#aboutus .aboutus_wrap .wrap_left .button { margin-top: 20px; }

#aboutus .aboutus_wrap .wrap_right { width: 50%; }
#aboutus .aboutus_wrap .wrap_right .image { max-width: 500px; height: 100%; background-color: var(--color-dark-blue); background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; overflow: hidden; }
#aboutus .aboutus_wrap .wrap_right .image .triangle { width: 100%; height: 100%; right: -1px; bottom: 0; background: url(images/img_decoration_right_white.svg) no-repeat right bottom; position: absolute; }


/*
----------------------
	RECENT PRODUCT
----------------------
*/
#recent_product { padding-bottom: 100px; position: relative; z-index: 11; }
#recent_product .section_title { max-width: 700px; margin: 0 auto 50px; font-size: 50px; line-height: 100%; }
#recent_product .section_title h1 { font-size: 50px; line-height: 100%; display: contents; }


/*
------------
	BLOG 
------------
*/
#blog { padding: 100px 0; background: var(--color-silver); }
#blog .section_subtitle { margin-bottom: 10px; font-size: 17px; color: var(--color-light-blue); line-height: 20px; }
#blog .section_title { max-width: 700px; margin: 0 auto 50px; font-size: 50px; color: var(--color-blue); line-height: 100%; }

.news_wrap { margin-left: -15px; margin-right: -15px; display: flex; flex-wrap: wrap; }
.news_wrap .news { width: calc(33.3333333333% - 30px); margin: 50px 15px 0; }
.news_wrap .news:nth-child(-n+3) { margin-top: 0; }

.news_wrap .news .thumbnail { background-color: var(--color-blue); display: block; position: relative; border-radius: 10px 10px 0 0; overflow: hidden; }
.news_wrap .news .thumbnail img { width: 100%; height: auto; margin-bottom: 0 !important; display: block; }

.news_wrap .news .entry { height: 230px; padding: 35px 20px 20px; background: white; border: 1px solid var(--color-silver-line); border-radius: 0 0 10px 10px; position: relative; }
.news_wrap .news .entry .datetime { height: 30px; left: -1px; top: -15px; padding: 0 30px 0 20px; font-size: 17px; font-weight: 500; color: var(--color-dark-blue); line-height: 16px; background: url(images/bgr_datetime.svg) no-repeat right top; display: flex; justify-content: center; align-items: center; position: absolute; }

.news_wrap .news .entry h3 { margin-bottom: 10px !important; }
.news_wrap .news .entry h3 a { font-size: 25px; font-weight: 500; text-decoration: none !important; color: var(--color-dark-blue) !important; line-height: 100%; display: block; }
.news_wrap .news .entry h3 a:hover { text-decoration: underline !important; color: var(--color-dark) !important; }

.news_wrap .news .entry .button { left: 20px; bottom: 20px; position: absolute; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { height: 200px; font-size: 15px; color: white; background: var(--color-dark-blue); }
#before_content .before_content_wrap { display: flex; }
#before_content .before_content_wrap .wrap_left { width: 50%; }

#before_content a { text-decoration: underline; color: white; }

/* No thumbnail */
#before_content.no_thumbnail { height: auto; padding: 10px 0; line-height: 20px; }
#before_content.no_thumbnail .before_content_wrap { max-width: 1280px; margin: auto; }
#before_content.no_thumbnail .before_content_wrap .wrap_left { width: 100%; }


/*
----------------
	CONTENT
----------------
*/
#container { width: 100%; flex: 1; }
body.category-blog #container, 
body.woocommerce-cart #container, 
body.woocommerce-checkout #container { background: var(--color-silver); }

#content { padding: 50px 0; }
body.single-product #content { padding-top: 0; }

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

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

#content ul,
#content ol { margin-bottom: 20px; margin-left: 20px; }

#content blockquote { margin: 0 -50px 20px; padding: 40px 100px 40px 50px; font-style: italic; background: var(--color-silver); position: relative; }
#content blockquote:before { width: 60px; height: 60px; right: 0; top: 0; background: var(--color-dark-blue) url(images/icon_quote_white.svg) no-repeat center; background-size: auto 24px; position: absolute; content: ''; }
#content blockquote p:last-child { margin-bottom: 0 !important; }

#content .wp-caption { margin: 0 -50px 20px; }
#content .wp-caption .wp-caption-text { margin: 0 50px; font-size: 15px; border-bottom: 1px solid var(--color-whisper); }


/*
------------------------
	TABLE OF CONTENT
------------------------
*/
.ez-toc-counter { margin-bottom: 30px !important; padding: 40px !important; background: var(--color-silver) !important; border: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; }
.ez-toc-counter .ez-toc-title { margin-bottom: 20px !important; font-size: 20px !important; font-weight: 700 !important; color: #000 !important; display: block !important; }
.ez-toc-counter ul { margin-left: 0 !important; margin-bottom: 0 !important; list-style: none !important; }
.ez-toc-counter ul li { margin-bottom: 5px !important; padding-left: 30px !important; position: relative; list-style: none !important; }
.ez-toc-counter ul li:last-child { margin-bottom: 0; }
.ez-toc-counter ul li:before { left: 0; margin-right: 1em; color: var(--color-dark); position: absolute; content: '→'; }
.ez-toc-counter ul li a { color: var(--color-pink) !important; }
.ez-toc-counter ul li a:hover { color: var(--color-dark) !important; }
.ez-toc-counter ul li a:before { display: none !important; }


/*
------------------
	PAGINATION
------------------
*/
.pagination { display: flex; flex-wrap: wrap; position: relative; }
.pagination span.pages { right: 0; top: 13px; font-size: 15px; font-weight: 700; position: absolute; }
.pagination a, 
.pagination span.current { width: 50px; height: 50px; margin-right: 4px; font-size: 18px; font-weight: 700; text-align: center; text-decoration: none !important; line-height: 50px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.pagination a { color: var(--color-blue) !important; }
.pagination a:hover { background: var(--color-silver); }
.pagination span.current { color: white; background: var(--color-blue); }


/*
---------------
	FOOTER
---------------
*/
#footer { width: 100%; color: white; background: var(--color-dark-blue); position: relative; }
#footer:after { width: calc((100% - 1280px) /2); height: 100%; right: 0; top: 0; background: #0d1b5a; position: absolute; content: ''; }
#footer .footer_wrap { background: url(images/bgr_footer.svg) no-repeat right top; }
#footer .decoration_left_1 { width: 100px; height: auto; left: -50px; top: -100px; position: absolute; }

/* Footer top */
#footer .footer_top { padding: 75px 0; display: flex; }
#footer .footer_top .wrap_left { width: 50%; display: flex; align-content: space-between; }
#footer .footer_top .wrap_left .copyright { padding-right: 100px; font-size: 15px; line-height: 25px; }

#footer .footer_top .phone_button { max-width: 300px; height: 64px; padding: 0 20px 0 70px; font-size: 20px; font-weight: 500; color: white; line-height: 100%; background: #273574; display: inline-flex; align-items: center; align-content: center; position: relative; border-radius: 32px; }
#footer .footer_top .phone_button:hover {  }
#footer .footer_top .phone_button:before { width: 50px; height: 50px; left: 7px; top: 7px; background: var(--color-dark-blue) url(images/icon_phone_white.svg) no-repeat center; background-size: auto 20px; position: absolute; content: ''; border-radius: 50%; }
#footer .footer_top .phone_button small { margin-top: 3px; font-size: 14px; color: var(--color-yellow); display: block; }

#footer .footer_top .wrap_right { width: 50%; display: flex; }
#footer .footer_top .wrap_right .footer_title { margin-bottom: 10px; font-size: 25px; font-weight: 500; line-height: 100%; }
#footer .footer_top .wrap_right .wrap_right_left { width: 50%; }

#footer .footer_top .wrap_right ul { list-style: none; }
#footer .footer_top .wrap_right ul li { padding-left: 25px; position: relative; }
#footer .footer_top .wrap_right ul li:before { width: 6px; height: 6px; left: 0; top: calc(50% - 3px); background: var(--color-yellow); position: absolute; content: ''; border-radius: 50%; }
#footer .footer_top .wrap_right ul li a { font-size: 17px; color: white; }
#footer .footer_top .wrap_right ul li a:hover { text-decoration: underline; }

#footer .footer_bottom { padding: 20px 0; font-size: 17px; border-top: 1px solid rgba(255 255 255 / 10%); display: flex; justify-content: space-between; }
#footer .footer_bottom a { text-decoration: underline; color: var(--color-yellow); }
#footer .footer_bottom a:hover { color: white; }


/*
-------------
	LOGOS
-------------
*/
#logos { padding: 20px 0; background: white; }
#logos .inner { display: flex; flex-wrap: wrap; justify-content: center; }
#logos img { width: auto; height: auto; max-height: 30px; margin: 0 10px auto; display: block; }


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

	/* Website */
	#website { padding: 0 20px; }
	
	/* SLIDER */
	#slider_wrap .decoration_right_1 { zoom: 75%; }
	
	#slider .slick-slide .item_wrap .wrap_left .title { font-size: 50px; }
	
	/* ABOUT US */
	#aboutus .decoration_left_1, 
	#aboutus .decoration_left_2, 
	#aboutus .decoration_right_3 { zoom: 75%; }
}

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

	/* DISPLAY: None */
	.hide_in_1280 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_1280 { display: block !important; }
	
	/* DEFAULT */
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }
	
	/* HEADER */
	#header { height: 100px; }

	/* HEADER: Logo */
	#header .logo { height: 60px; }
	
	/* HEADER: Header bottom */
	#header .header_bottom {  }
	#header .header_bottom ul.menu li.menu-item-home { display: none; }
	#header .header_bottom ul.menu li a { font-size: 17px; }
	
	/* SLIDER */
	#slider_wrap .decoration_right_1 { zoom: 50%; }
	
	#slider .slick-slide .item_wrap .wrap_left .title { font-size: 40px; }
	
	/* ABOUT US */
	#aboutus { padding: 75px 0; }
	#aboutus .decoration_left_1, 
	#aboutus .decoration_left_2, 
	#aboutus .decoration_right_3 { left: -100px; zoom: 50%; }
	#aboutus .decoration_right_3 { left: auto; right: -100px; }
	
	#aboutus .aboutus_wrap .wrap_left { width: 100%; margin-bottom: 50px; padding: 0; }
	#aboutus .aboutus_wrap .wrap_left .title { font-size: 40px; }
	
	#aboutus .aboutus_wrap .wrap_right { width: 100%; }
	#aboutus .aboutus_wrap .wrap_right .image { max-width: none; }
	#aboutus .aboutus_wrap .wrap_right .image:before { padding-top: 50%; display: block; content: ''; }
	#aboutus .aboutus_wrap .wrap_right .image .triangle { display: none; }
	
	/* RECENT PRODUCT */
	#recent_product { padding-bottom: 75px; }
	#recent_product .section_title { font-size: 40px; }
	#recent_product .section_title h1 { font-size: 40px; }
	
	/* BLOG */
	#blog { margin-left: -20px; margin-right: -20px; padding: 75px 0; }
	#blog .section_title { font-size: 40px; }
	
	.news_wrap { margin-left: -10px; margin-right: -10px; }
	.news_wrap .news { width: calc(33.3333333333% - 20px); margin: 50px 10px 0; }
	.news_wrap .news .entry h3 a { font-size: 22px; }
	
	/* BEFORE CONTENT: No thumbnail */
	#before_content.no_thumbnail { padding: 10px 20px; }
	
	body.woocommerce-cart #container #before_content.no_thumbnail { padding: 10px 40px; }
	body.woocommerce-checkout #before_content.no_thumbnail { padding: 10px 40px; }
	
	/* CONTENT */
	body.woocommerce-cart #container, 
	body.woocommerce-checkout #container { margin-left: -20px; margin-right: -20px; }

	/* FOOTER */
	#footer { margin-left: -20px; margin-right: -20px; }
	#footer .decoration_left_1 { top: -150px; }
}

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

	/* DISPLAY: None */	
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* SLIDER */
	#slider_wrap .decoration_right_1 { right: -100px; zoom: 25%; }
	
	#slider .slick-slide:before { padding-top: 45%; }
	#slider .slick-slide .item_wrap .wrap_left { width: 100%; padding: 0 20px; background: rgba(27 69 151 / 85%); position: relative; z-index: 2; }
	#slider .slick-slide .item_wrap .wrap_left .title { font-size: 30px; }

	#slider .slick-slide .item_wrap .wrap_right { width: 100%; height: 100%; left: 0; top: 0; background-color: var(--color-blue); position: absolute; z-index: 1; background-blend-mode: luminosity; }
	#slider .slick-slide .item_wrap .wrap_right .triangle { display: none; }
	
	/* ABOUT US */
	#aboutus { padding: 50px 0; }
	#aboutus .decoration_left_1, 
	#aboutus .decoration_left_2, 
	#aboutus .decoration_right_3 { zoom: 25%; }
	
	#aboutus .aboutus_wrap .wrap_left .title { font-size: 30px; }
	
	/* RECENT PRODUCT */
	#recent_product { padding-bottom: 50px; }
	#recent_product .section_title { max-width: none; margin-bottom: 30px; font-size: 30px; }
	#recent_product .section_title h1 { font-size: 30px; }
	
	/* BLOG */
	#blog { padding: 50px 0; }
	#blog .section_title { margin-bottom: 30px; font-size: 30px; }
	
	/* BEFORE CONTENT */
	#before_content { margin-left: -20px; margin-right: -20px; }
	body.single-product #before_content { margin-bottom: 20px; }
	
	/* CONTENT */
	#content h1 { font-size: 40px; }
	#content h2 { font-size: 30px; }
	
	#content blockquote { margin: 0 0 20px; }
	
	#content .wp-caption { margin: 0 0 20px; }
	#content .wp-caption .wp-caption-text { margin: 0; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding: 50px 0; }
	#footer .footer_top .wrap_left { width: 100%; order: 2; }
	#footer .footer_top .wrap_left .copyright { margin-top: 20px; padding-right: 0; }

	#footer .footer_top .wrap_right { width: 100%; order: 1; }
	#footer .footer_top .wrap_right .wrap_right_left { margin-bottom: 50px; }
	
	#footer .footer_bottom .wrap_left { width: 100%; text-align: center; }
	#footer .footer_bottom .wrap_right { width: 100%; text-align: center; }
}

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

	/* SLIDER */
	#slider .slick-slide:before { padding-top: 50%; }

	/* BLOG */
	.news_wrap .news { width: calc(50% - 20px); }
	.news_wrap .news:nth-child(3) { margin-top: 50px; }
}

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

	/* DISPLAY: None */
	.hide_in_640 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_640 { display: block !important; }
	
	/* SLIDER */
	#slider .slick-slide:before { padding-top: 55%; }
}

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

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_480 { display: block !important; }

	/* RWD NAV */
	#rwd_menu .rwd_menu_wrap { width: 100%; } 
	#rwd_menu .rwd_menu_wrap .rwd_menu_section { padding-left: 20px; padding-right: 20px; } 
	
	/* RWD NAV: RWD menu header */
	#rwd_menu .rwd_header img { left: 20px; }
	#rwd_menu .rwd_header .rwd_button { right: 20px; }
	
	/* HEADER: Logo */
	#header .logo { height: 50px; }
	
	/* SLIDER */
	#slider .slick-slide:before { padding-top: 60%; }

	/* BLOG  */
	.news_wrap { margin-left: 0; margin-right: 0; }
	.news_wrap .news { width: 100%; margin: 30px 0 0; }
	.news_wrap .news:nth-child(2), 
	.news_wrap .news:nth-child(3) { margin-top: 30px; }
	
	.news_wrap .news .entry { height: auto; padding: 35px 20px 70px 20px; }
	
	/* CONTENT */
	#content { padding: 30px 0; }
	#content blockquote { padding: 30px 80px 30px 30px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .wrap_right .wrap_right_left { width: 100%; }
}
