/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
/*DoÄasnÃ©*/
.mapa{
	background: center center no-repeat;
	background-image: url(../img/western/SniÌmek-obrazovky-2018-05-13-v-11.22.58.png);
}

/*Var*/
:root{
	--main-color: #d63838;
}
/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* bootstrap */
.pt-1{
	padding-top: 1rem !important;
}
.pt-2{
	padding-top: 2rem !important;
}
.pb-2{
	padding-bottom: 2rem !important;
}
.pt-5{
	padding-top: 5rem !important;
}
.pb-40{
	padding-bottom: 40px !important;
}
.mt-40px{

}
.mb-1{
	margin-bottom: 1rem !important;
}
/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */

html {
	font-size:62.5%;
	height:100%;
}
body {
	font:300 16px/1.4 'Helvetica', sans-serif;
	color:#444;
	height:100%;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: inherit;
	text-decoration:none;
}

a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input, textarea{
	padding: 5px;
	border-radius: 10px;
	border: 1px;
	width: 100%;
	min-height: 41px;
	background: #F4F4F4;
	margin-bottom: 15px;
}
input:focus {
	outline:0;
	border:1px solid #E5D049;
}
.wpcf7-submit{
	background: #d63838;
	font-weight: 700;
	color: #ffffff;
	border: 1px solid #d63838;
	transition: 0.3s ease-in;
}
.wpcf7-submit:hover{
	background: #ffffff;
	font-weight: 600;
	color: #d63838;
}
h1{
	font-family: 'Milkshake';
	margin-top: 0;
   /*text-shadow: 4px 4px 1px rgba(0,0,0,0.55);*/
}
h2, h3, h4{
	font-family: 'Milkshake', sans-serif;
	color: var(--main-color);
}
.text-upoz
{
	color: white;
	font-size: 4em;
	text-align: center;
	text-decoration: underline;
	text-decoration-color: var(--main-color);;
}
h3{
	margin-bottom: 30px;
}
h4{
	font-size: 40px;
	margin-bottom: 35px;
	margin-top: 40px;
}
h6{
	text-transform: uppercase;
   font-size: 15px;
   margin-bottom: 30px;
}
.page-id-35 h1{
	color: var(--main-color); margin-bottom: 40px; text-shadow: none !important;
}
.page-id-35{
	text-align: center;
}
.custom-shadow{
    box-shadow: 1px 2px 16px 2px black;
}
table{
	margin-bottom: 70px !important;
}
address{
	margin-bottom: 40px;
}
header{
	background-size: cover;
}
.full-screen-bg{
	background: center center no-repeat;
	background-size: cover;
}
.header-undertext{
	font-family: 'Brush Script MT';
	font-size: 45px;
	overflow: hidden;
	text-align: center;
   /*text-shadow: 2px 3px 1px rgba(0,0,0,0.55); */
}
.header-undertext:before, .header-undertext:after{
	background-color: #ffffff;
	content: "";
	display: inline-block;
	height: 3px;
	position: relative;
	vertical-align: middle;
	/*box-shadow: 1px 2px 1px rgba(0,0,0,0.55); */
}
.header-undertext:before{
	right: 0.5em;
}
.header-undertext:after{
	left: 0.5em;
}
.paragraph-large{
	color: #3b3b3b;
}
.btn-case{
	display: flex;
	padding: 35px 0px;;
}

header .btn-case{
	justify-content: center;
}
.wch-button{
	display: inline-flex;
	text-align: center;
	font-weight: 400;
	padding-top: 24px;
	text-transform: uppercase;
	background-color: var(--main-color);
	color: #ffffff;
	border: 2px solid var(--main-color);
	border-radius: 10px;
	transition: 0.3s ease;
}
.float-container {
    padding: 20px;
}

.float-child {
    width: 50%;
    float: left;
    padding: 15px;
}
.border-rest {
  background: url("../img/western/Blackboard-background-texture-1.jpg");
  background-color: black;
  background-size: cover;
  color: white;
  text-align: center;
  box-shadow: 0 0 10px grey;
  margin: 20px auto;
  padding: 20px;
  max-width: 600px;
  border-radius: 30px;
  position: relative;
}

.border-rest img {
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.5s ease-out; /* change timing function */
}

ul {
  list-style-type: none;
  padding: 0;
}

.address {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, background-color 0.5s ease-in-out, width 0.5s ease-in-out, max-width 0.5s ease-in-out; /* add transitions */
  width: 70%;
  max-width: 300px;
  text-align: center;
  z-index: 1;
}

.img-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 10px;
}

.img-container h4 {
  margin-bottom: 20px;
}

.border-rest:hover .img-container img {
  transform: scale(1.1);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}

.border-rest:hover .img-container .address {
  opacity: 1;
  background-color: rgba(0,0,0,0.7);
  width: 100%;
  max-width: none;
}

a.rst {
  color: inherit;
  text-decoration: none;
}
a.rst:hover, a.rst:focus a.rst:visited a.rst:active {
  color: inherit;
  text-decoration: none;
}
p.addr{
font-size: 20px;
font-weight: bold;
font-variant: small-caps;
}
.wch-button:hover, .wch-button:active{
	color: var(--main-color);
	background: transparent;
	text-decoration: none;
}
.wch-button:focus{
	text-decoration: none;
	color: #ffffff;
}
.button-menu{
	display: inline-flex;
	padding: 15px 15px;
	font-size: 17px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	outline: none;
	background-color: var(--main-color);
	border: 2px solid var(--main-color);
	border-radius: 10px;
	transition: 0.3s ease;
	color: #ffffff;}
.button-menu:hover, .button-menu:active{
color: var(--main-color);
	background: transparent;
	text-decoration: none;
	}
.button-menu:focus{
	text-decoration: none;
	color: #ffffff;
	}
.vertical {
            border-left: 3px solid white;
            height: 500px;
            position:relative;

        }




.ks-promo {
  padding-top: 40px;
  padding-bottom: 40px;
}

.ks-promo-card{
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  background: #fff;
}

/* row = flex a sloupce stejnÃ© vÃ½Å¡ky */
.ks-promo-inner{
  display: flex;
  align-items: stretch;  /* klÃ­ÄovÃ© */
  margin-left: 0;        /* zruÅ¡Ã­ bootstrap row negativnÃ­ margin */
  margin-right: 0;
}

/* oba sloupce jako flex kontejnery */
.ks-promo-inner > [class*="col-"]{
  display: flex;
  flex-direction: column;
}

/* levÃ¡ strana */
.ks-promo-text {
  padding: 32px;
}

.ks-promo-title {
  margin-bottom: 12px;
}

.ks-promo-text p {
  margin-bottom: 8px;
}

.ks-promo .btn-case {
  margin-top: 6px;
}

/* pravÃ¡ strana */
.ks-promo-media {
  padding: 0;
  flex: 1;
}

.ks-promo-link {
  display: block;
  height: 100%;
  flex: 1;               /* aÅ¥ vyplnÃ­ celÃ½ sloupec */
}

.ks-promo-img {
  width: 100%;
  height: 100%;          /* aÅ¥ vyplnÃ­ vÃ½Å¡ku sloupce */
  min-height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.ks-promo-link:hover .ks-promo-img {
  transform: scale(1.03);
}

/* mobil */
@media (max-width: 767px) {
  .ks-promo-inner{
    display: block;      /* pod sebe */
  }

  .ks-promo-text {
    padding: 24px;
  }

  .ks-promo-link,
  .ks-promo-img{
    height: auto;
    min-height: 220px;
  }
}
.con-heading
{
	text-align: center;
}
.icon-style{
	height: 100px;
	width: 100%;
	max-height: 100px; /*--velikost ikon---*/
	background: center bottom no-repeat;
}
.icon-style-1{
	background-image: url(../img/western/hodiny.png);
}
.icon-style-2{
	background-image: url(../img/western/domek.png);
}
.icon-style-3{
	background-image: url(../img/western/original.png);
}
.icon-style-4{
	background-image: url(../img/western/auto.png);
}
.icon-rauty-1{
	background-image: url(../img/western/rauty.png);
}
.icon-rauty-2{
	background-image: url(../img/western/pribor.png);
}
.icon-rauty-3{
	background-image: url(../img/western/firemni-vecirky.png);
}
.icon-rauty-4{
	background-image: url(../img/western/svatby.png);
}
.shadow-filter{
	background-color: rgba(0,0,0,0.4);
}
.cenik-wrap table{
	margin-left: 50%;
	transform: translateX(-50%);
}
.cenik-wrap table tbody tr:nth-child(odd) {
  background: #f7f7f7;
}
.cenik-wrap table tbody tr:nth-child(1) {
  border-bottom: 1px solid #ADADAD;
  background-color: #ffffff;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
.content-wrap-little{
	padding-top: 50px;
	padding-bottom: 62px;
}
/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}

/* header */
header {
/*	height:auto !important; /* real browsers */
/* height:100%; /* IE6: treaded as min-height*/
	min-height: 100%; /* real browsers */
	color: #dcdcdc;
}
.header{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
header, .pages-header{
	background: center center no-repeat;
	background-size: cover;
}
header.header-text{
	text-align: center;
}
/* nase-provozovny sekce */
.bg-blackboard{
	background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url(../img/western/bg-blackboard-lg.jpg);
}
.border-cell-wrap{
	margin-bottom: 15px;
}
.border-cell{
	margin: 0 auto;
	max-width: 460px;
	border: 3px solid #CECECE;
	border-radius: 10px;
	padding: 0 25px;
}

.kontakt-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-top: 30px;
  flex-wrap: nowrap; /* Force row layout */
}

.kontakt-box {
  flex: 0 0 300px; /* fixed width */
  text-align: left;
}

.map-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}



/* logo */
.logo {

}
.logo-img {

}

/* nav */
.navbar {
	font-family: 'Helvetica Neue', sans-serif;
	color: #ffffff;
	padding-top: 7px;
	padding-bottom: 7px;
}
.navbar-blackboard{
	background-image: url(../img/western/navbar-blackboard.jpg);
	box-shadow: 1px 1px 9px 1px black;
}
.navbar-header img{
	margin-top: 5px;
}
.navbar li a{
	color: #DBDBDB;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 400;
	transition: 0.3s ease-in;
}
.navbar li a:hover, .navbar li a:focus{
	background-color: transparent;
	color: #FFFFFF;
}
.navbar-transparent{
	background-color: rgba(0,0,0,0.2);
}
.navbar-toggle .icon-bar {
	background: #ffffff;
	width: 25px;
   height: 3px;
}
.navbar li.active a{
	color: #d73e38;
}
/*---section vlastni receptura---*/
#vlastni-receptura{
	background: center center no-repeat;
	background-size: cover;
}
/*section-BIO*/
.bio-background{
	background: right bottom no-repeat;
	background-image: url(../img/western/robin-photo.jpg);
	background-size: contain;
}
#top-products{
	background-color: #eef2f4;
}

.top-products-cell{
	background-color: #ffffff;
	box-shadow: 3px 4px 5px #909090;
}
.top-products-header{
	background: center center no-repeat;
	background-size: cover;
	height: 170px;
}
.top-product-1{
	background-image: url(../img/western/burger.jpg);
}
.top-product-2{
	background-image: url(../img/western/zebirka.jpg);
}
.top-product-3{
	background-image: url(../img/western/salat.jpg);
}
.products-header{
    width: 100% !important;
    height: auto !important;
}

/* footer */
.footer {
	background-color: var(--main-color);
	color: #E2E2E2;
	padding-top: 50px;
}
.footer-menu{
	list-style: none;
	padding-left: 0;
	text-transform: uppercase;
	line-height: 2;
}
.footer-menu a{
	text-decoration: underline;
}
.footer-menu a:hover{
	text-decoration: none;
	color: #ffffff;
}
.copyright{
	padding-top: 20px;
   padding-bottom: 20px;
   color: #CECECE;
   background-color: #a81a03;
   margin-bottom: 0;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/
/* provozovna */
.provozovna-info{
	line-height: 2;
	font-size: 15px;
}
.provozovna-info .fa, .provozovna-info .fas{
	width: 25px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    COLOURS
\*------------------------------------*/
.text-white{
	color: #CECECE;
}
h3 .text-large{
	font-size: 35px;
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
   font-family: 'Milkshake';
   src: url('../fonts/milkshake/milkshake-webfont.eot'); /* IE9 Compat Modes */
   src: url('../fonts/milkshake/milkshake-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/milkshake/milkshake-webfont.woff') format('woff'), /* Modern Browsers */
         url('../fonts/milkshake/milkshake-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
         url('../fonts/milkshake/milkshake-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
	font-weight:normal;
   font-style:normal;
}
@font-face {
   font-family: 'Brush Script MT';
   src: url('../fonts/brush-script-mt/brushsci-webfont.eot'); /* IE9 Compat Modes */
   src: url('../fonts/brush-script-mt/brushsci-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/brush-script-mt/brushsci-webfont.woff') format('woff'), /* Modern Browsers */
         url('../fonts/brush-script-mt/brushsci-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
         url('../fonts/brush-script-mt/brushsci-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
	font-weight:normal;
   font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {
	/*--GLOBAL--*/
	h1{
		font-size: 73px;
	}
	h2{
		font-size: 23px;
		margin-bottom: 20px;
	}
	header.header-text{
		padding: 65px 10px 0 10px;
	}
	.wch-button{
		padding: 10px;
		font-size: 14px;
	}
	.header {
		background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../img/western/header-xs.jpg);
	}
	.rauty-header{
		background-image: url(../img/western/rauty-header-xs.jpg);
	}

	/*---STRUCTURE--*/
	.contact-form-wrap{
		padding-top: 50px;
	}
	/*--SECTION 1 */
	#vlastni-receptura{
		background-image: url(../img/western/vlastni-receptura-xs.jpg);
	}
	.info-section-wrap{
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.top-products-cell{
		margin-bottom: 15px;
		margin-top: 15px;
	}
	.top-products-content{
		padding: 5px 10px;
	}
	.small-wrap{
		padding-top: 30px;
		padding-bottom: 30px;
	}
	.content-wrap{
		padding-top: 100px;
		padding-bottom: 70px;
	}
	.cenik-wrap table{
		width: 100%;
	}
	.cenik-wrap table tr td, .cenik-wrap table tr th{
		padding: 8px 5px;
	}
	.rozvoz-img-case img{
		display: none;
	}
}
@media only screen and (min-width:400px) {

}
@media only screen and (min-width:768px) {
	/*---GLOBAL---*/
	h1{
		font-size: 115px;
	}
	h2{
		font-size: 40px;
		margin-bottom: 50px;
	}
	.row-eq-height{
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
	}
	.navbar-header{
		float: none;
		text-align: center;
		margin-bottom: 10px;
	}
	.navbar-right{
		float: left !important;
	}
	.navbar li a {
		font-size: 17.5px;
	}
	.header-undertext:before, .header-undertext:after{
		width: 80px;
	}
	.paragraph-large{
		font-size: 22px;
	}
	.header{
		background: center center no-repeat;
		background-size: cover;
		background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../img/western/header-lg.jpg);
	}
	.rauty-header{
		background-image: url(../img/western/rauty-header-sm.jpg);
	}
	.small-wrap{
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.content-wrap{
		padding-top: 150px;
		padding-bottom: 50px;
	}
	.content-wrap-little{
		padding-top: 100px;
		padding-bottom: 125px;
	}
	.rozvoz-img-case{
		position: relative;
	}
	.rozvoz-img-case img{
		display: block;
		position: absolute;
		bottom: 0;
		width: 344px;
	}
	/*--PAGES---*/

	/*sekce 1 na uvdonÃ­ stranÄ*/
	#vlastni-receptura{
		background-image: url(../img/western/vlastni-receptura-lg.jpg);
	}
	.info-section-wrap{
		padding-top: 60px;
		padding-bottom: 70px;
	}
	/*sekce2 na uvodnÃ­ stranÄ*/
	.bg-blackboard{
		background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),url(../img/western/bg-blackboard-xl.jpg);
	}
	/* AKTUALITY */
	#aktuality h2{margin-bottom: 35px;}
	#aktuality p{font-size: 20px;}
	/*--TOP PRODUKTY--*/
	.top-products-cell{
		height: 100%; /*---aby byly vÅ¡echny stejnÄ dlouhÃ©*/
		margin-bottom: 0;
		margin-top: 0;
	}
	.top-products-content{
		padding: 10px 15px;
	}
	/*---menu--*/
	.cenik-wrap table{
		width: 50%;
	}
	.cenik-wrap tr td, .cenik-wrap tr th{
		min-width: 50px;
	}


}
@media only screen and (min-width:1024px) {
	/*---GLOBAL---*/
	h1{
		font-size: 150px;
		margin-bottom: 75px;
	}
	h2{
		font-size: 55px;
		margin-bottom: 70px;
	}
	.navbar-header{
		float: left;
		text-align: left;
		margin-bottom: 0;
	}
	.navbar-right{
		float: right !important;
	}
	.navbar li a {
		font-size: 16px;
	}
	.header-undertext{
		font-size: 56px;
	}
	.header-undertext:before, .header-undertext:after{
		width: 131px;
	}
	.paragraph-large{
		margin-bottom: 70px;
	}
	.wch-button{
		font-size: 16px;
		padding: 15px;
	}
	/*--STRUCTURE---*/
	.rozvoz-img-case{
		position: inherit;
	}
	.rozvoz-img-case img{
		position: inherit;
		bottom: inherit;
		width: 100%;
	}
	/*--PARTS---*/
	.info-section-wrap{
		padding-top: 160px;
		padding-bottom: 100px;
	}
	.content-wrap{
		padding-top: 120px;
	}
}
@media only screen and (min-width:1140px) {
	h1{
		font-size: 80px;
		margin-bottom: 40px;
	}
	.header-undertext{
		font-size: 45px;
	}
}
@media only screen and (min-width:1280px) {
	.header {
		background-attachment: fixed;
		background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../img/western/header-md.jpg);
	}
	.rauty-header{
		background-image: url(../img/western/rauty-header-lg.jpg);
	}
	.content-wrap{
		padding-top: 150px;
	}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

@media only screen and (min-width: 1600px){
	h1 {
		font-size: 100px;
		margin-bottom: 60px;
	}
	.header-undertext {
		font-size: 62px;
	}
	#vlastni-receptura{
		background-image: url(../img/western/vlastni-receptura-xl.jpg);
	}
	.header {
		background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../img/western/header-xl.jpg);
	}
	.rauty-header{
		background-image: url(../img/western/rauty-header-xl.jpg);
	}
}
@media only screen and (max-width: 414px){
	.bio-background{
		background-position-x: 118px;
	}
	h1{
		font-size: 50px;
	}
	.header-undertext{
		font-size: 38px;
	}
}
@media only screen and (max-width: 767px){
	.navbar-transparent{
		background-color: rgba(0,0,0,0.82);
	}
	.navbar-header img{
		margin-left: 15px;
	}
}
/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}


/*------------------------------------*\
    DO IFRAME & CMS MODAL / EDIT UI
\*------------------------------------*/
.wch-do-iframe-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 50px auto;
}
.wch-do-iframe-wrap iframe {
    border: none;
    overflow: hidden;
    width: 100%;
    min-height: 900px;
    background: transparent;
    display: block;
}

.top-products-header-img-wrap {
    position: relative;
    height: 170px;
    overflow: hidden;
}
.top-products-header-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#announcementModal .modal-content,
#settingsModal .modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    background-color: #ffffff;
    font-size: 15px;
    color: #333;
}
#announcementModal .modal-header {
    background-color: var(--main-color);
    color: #fff;
    padding: 15px 20px;
    border-bottom: none;
}
#announcementModal .modal-header .close,
#settingsModal .modal-header .close {
    color: #fff;
    opacity: 0.85;
    text-shadow: none;
    font-size: 26px;
    margin-top: -2px;
}
#announcementModal .modal-header .close:hover,
#settingsModal .modal-header .close:hover {
    opacity: 1;
}
#announcementModal .modal-title,
#settingsModal .modal-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: #fff;
    margin: 0;
}
#announcementModal .modal-body {
    padding: 24px;
}
#announcementModal .modal-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    white-space: pre-line;
}
#settingsModal .modal-header {
    background-color: #212529;
    color: #fff;
    padding: 15px 20px;
    border-bottom: none;
}
#settingsModal .modal-body {
    padding: 0;
    background: #fff;
}
.cms-settings-layout {
    display: flex;
    flex-wrap: wrap;
}
.cms-settings-sidebar {
    flex: 0 0 230px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    padding: 16px 0;
}
.cms-settings-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
    background: var(--main-color);
    color: #fff;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}
.cms-settings-content {
    flex: 1 1 320px;
    padding: 22px 24px;
    background: #fff;
    color: #222;
}
.cms-switch-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.cms-switch-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 2px 0 0 0;
    cursor: pointer;
    flex-shrink: 0;
}
.cms-switch-row label {
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    cursor: pointer;
    color: #222;
}
.cms-switch-help {
    display: block;
    font-size: 12.5px;
    color: #6c757d;
    margin-top: 2px;
    font-weight: 400;
}
#settingsModal input[type="text"],
#settingsModal textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    color: #222;
    min-height: 38px;
    margin-bottom: 12px;
}
#settingsModal input[type="text"]:focus,
#settingsModal textarea:focus {
    border-color: var(--main-color);
    outline: none;
}

body.cms-edit-active {
    padding-bottom: 64px;
}