/*!
Theme Name: Icey
Theme URI: https://icey.se/
Author: Icey
Author URI: https://icey.se/
Description: Icey - A developer's dream theme
Version: 1.0.3.3
Tested up to: 6.3
Requires PHP: 8
Text Domain: wp_icey
Tags: custom
*/
/* ##################### Fonts / Typography */
body, p, h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    body, p, h1, h2, h3, h4, h5, h6 {
        text-rendering: optimizeLegibility; 
    }
    p > strong, p > b, h4, h5, h6 {
        font-weight: 600;
    }
}
/* ##################### CSS Reset */
*, *::before, *::after {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
	width: 100%;
	overflow-x: hidden;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
	margin-block-start: 0;
	margin-block-end: 0;
}
ul[role='list'], ol[role='list'] {
	list-style: none;
}
body {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 100vh;
	min-height: 100dvh;
	line-height: 1.5;
	padding: 0;
	margin: 0;
	font-size: 100%;
	width: 100%;
	overflow-x: hidden;
}
h1, h2, h3, h4, button, input, label {
	line-height: 1.1;
}
h1, h2, h3, h4 {
	text-wrap: balance;
}
a:not([class]) {
	text-decoration-skip-ink: auto;
	color: currentColor;
}
img, picture {
	max-width: 100%;
	display: block;
}
input, button, textarea, select {
	font-family: inherit;
	font-size: inherit;
}
textarea:not([rows]) {
	min-height: 10em;
}
:target {
	scroll-margin-block: 5ex;
}
/* ##################### Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
#primary[tabindex="-1"]:focus {
	outline: 0;
}
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
/* ##################### Base */
:root {
	--icey_site_header_width: 1400px;
	--icey_site_header_height: 215px;
	--icey_site_content_width: 1400px;
	--icey_site_content_inner_width: 900px;
	--icey_site_footer_width: 1400px;
	--icey_site_content_h_padding: 40px;
	--icey_site_section_padding: 5rem;
	--icey_site_border_radius: 2px;
	--icey_site_admin_bar: 32px;
}
/*
#page {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-top: var(--icey_site_header_height);
    justify-content: flex-start;
    width: 100%;
}
*/
/* ##################### Animations */
/* ##################### Header */
/* ##################### Default Sections and Wrappers */
body .e-con.icey_section {
	padding-left: var(--icey_site_content_h_padding);
	padding-right: var(--icey_site_content_h_padding);
}
body .e-con.icey_section.icey_section_breadcrumbs {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
body .e-con.icey_section.icey_section_standard {
	padding-top: 8rem;
	padding-bottom: 8rem;
}
/* ##################### Hero  */
/* ##################### Home */
/* ##################### Post/Article Single */
/* ##################### Contact */
/* ##################### 404 */
/* ##################### Popups/Modals */
/* ##################### To top */
#icey_to_top {
	font-size: 0;
	position: fixed;
	right: 10px;
	bottom: -100px;
	transition: all 0.3s ease-in-out;
	width: 40px;
	height: 40px;
	padding: 0;
	background-color: #F2F5F9;
	z-index: 100;
	min-width: 0;
	color: #BFCFDB;
}
#icey_to_top:hover {
	background-color: #003E63;
	transition: all 0.3s ease-in-out;
}
.icey_scrolled #icey_to_top {
	bottom: 4.5rem;
	opacity: 1;
}
#icey_to_top::before {
	content: "";
	position: absolute;
	width: 1.2rem;
	height: 1.2rem;
	background-color: #F1F5FA;
	left: 50%;
	top: 50%;
	translate: -50% -50%;
	z-index: 2;
	transition: all 0.5s ease-out 0s;
	clip-path: polygon(0 0, 78% 50%, 0 100%, 0 80%, 0 50%, 0 20%);
	rotate: -90deg;
	border-radius: 1rem;
}
.icey_scrolled #icey_to_top::before {
	box-shadow: 0 0 20px -7px rgba(0, 0, 0, 0.5);
	transition: 0.5s all ease-in, clip-path 0.5s ease-in 0.5s;
	clip-path: polygon(0 0, 78% 50%, 0 100%, 0 80%, 50% 50%, 0 20%);
}
/* ############################ Footer */
body > footer {
	margin-top: auto;
	width: 100%;
}
/* ############################ Elementor */
/* ######### Elementor modal */
body.admin-bar .dialog-type-lightbox.elementor-popup-modal {
	position: fixed;
}
.icey_hidden_shortcode {
	display: none;
}
/* ############################ Media Queries/Responsive */
/* ###################### Laptop */
@media only screen and (max-width: 1440px) {}
/* ###################### Tablet */
@media only screen and (max-width: 1024px) {}
/* ###################### Phone */
@media only screen and (max-width: 768px) {
}
/* ####################################################### Admin */
#wp-admin-bar-wp-logo {
	display: none !important;
}
body.admin-bar .dialog-lightbox-widget {
	height: 100vh;
}