/*
 * QuiSuite website: page layout.
 * (c) QuiSoft Limited 2026. Written for this site on 21/10/2026, replacing the stylesheets of the WordPress theme
 * the site began from. It comes after fonts.css and before quiweb.css, which holds the site's colours, cards and
 * the responsive layout. The reset follows Eric Meyer's (public domain); the grid and base typography follow
 * Skeleton 1.1 (Copyright 2011 Dave Gamache, www.getskeleton.com, MIT licence).
 */

/* ---- Reset and base typography ------------------------------------------------------------------------------ */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strong, sub, sup,
b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, table, tr, th, td, article, details, figure, footer, header, nav,
section, summary { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; }
article, details, figure, footer, header, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote { quotes: none; }
blockquote:before, blockquote:after { content: none; }
table { border-collapse: collapse; border-spacing: 0; }
body { color: #eee; background: #fff; font: 13px/1.6 "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { margin-bottom: 15px; font-size: 38px; line-height: 50px; }
h2 { margin-bottom: 15px; font-size: 32px; line-height: 40px; }
h3 { margin-bottom: 15px; font-size: 24px; line-height: 34px; }
h4 { margin-bottom: 15px; font-size: 21px; line-height: 30px; }
h5 { margin-bottom: 5px; font-size: 14px; line-height: 24px; }
h6 { font-size: 12px; line-height: 21px; }
p { margin: 0 0 20px; }
p img { margin: 0; }
em { font-style: italic; }
strong { font-weight: bold; }
small { font-size: 80%; }
blockquote { margin: 0 0 15px; color: #aaa; font: italic 14px/1.4em Georgia, "Times New Roman", Times, serif; }
blockquote p { font-size: 17px; line-height: 24px; font-style: italic; }
hr { clear: both; height: 0; margin: 10px 0 30px; border: solid #ddd; border-width: 1px 0 0; }
code, pre { display: block; clear: both; overflow: auto; width: 90%; margin-bottom: 10px; padding: 8px 10px 10px;
	border: 1px solid #ccc; color: #555; background: #f7f7f7; font: 12px/1.5 Courier, "Courier New", monospace; white-space: pre; }
a, a:visited { color: #ddd; text-decoration: none; outline: 0; }
a:hover, a:focus { color: #fff; }
p a, p a:visited { line-height: inherit; }
ul, ol { margin-bottom: 20px; }
ol { margin-left: 30px; list-style: decimal; }
ul ul, ul ol, ul ul li, ul ol li, ol ol li, ol ul li { margin-bottom: 6px; }
li { margin-bottom: 4px; line-height: 18px; }
li p { line-height: 21px; }
.item-page ul { margin: 0 0 20px 15px; list-style: disc; }
.item-page h1, .item-page h2, .item-page h3 { font-weight: bold; }

/* Forms and buttons */
form, fieldset { margin-bottom: 20px; }
button, input[type="submit"], input[type="reset"], input[type="button"] { display: inline-block; margin-bottom: 20px;
	padding: 8px 10px; border: 1px solid #aaa; border-top-color: #ccc; border-left-color: #ccc; border-radius: 3px;
	color: #444; background: #eee linear-gradient(to bottom, rgba(255, 255, 255, .2) 0%, rgba(0, 0, 0, .2) 100%);
	font: bold 11px/normal "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; text-decoration: none;
	text-shadow: 0 1px rgba(255, 255, 255, .75); cursor: pointer; }
button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover { color: #222;
	border: 1px solid #888; border-top-color: #aaa; border-left-color: #aaa;
	background: #ddd linear-gradient(to bottom, rgba(255, 255, 255, .3) 0%, rgba(0, 0, 0, .3) 100%); }
button:active, input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active { border: 1px solid #666;
	background: #ccc linear-gradient(to bottom, rgba(255, 255, 255, .35) 0%, rgba(10, 10, 10, .4) 100%); }
button::-moz-focus-inner, input::-moz-focus-inner { padding: 0; border: 0; }
input[type="text"], input[type="password"], input[type="email"], input[type="tel"], textarea, select { display: inline-block;
	width: 210px; max-width: 100%; margin: 0 0 20px; padding: 6px 4px; border: 1px solid #ccc; border-radius: 2px; outline: none;
	color: #777; background: #fff; font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
	border: 1px solid #aaa; color: #444; box-shadow: 0 0 3px rgba(0, 0, 0, .2); }
textarea { min-height: 60px; }
select { width: 220px; padding: 4px; border-radius: 3px; }
label { display: inline-block; font-size: 13px; font-weight: normal; }
label span { color: #444; font-size: 13px; font-weight: normal; }
input[type="checkbox"] { display: inline; }
.button { position: relative; display: inline-block; margin: 0; padding: 9px 34px 11px; border: none; outline: none;
	color: #fff; background: #b4b4b4; font: bold 1.3rem/1 "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
	text-align: center; text-decoration: none; cursor: pointer; }
input[type=submit].button, button.button { -webkit-appearance: none; }
.button:hover, .button:focus { color: #fff; background-color: #aaa; }
.button.disabled, .button[disabled] { opacity: .6; cursor: default; }
body.light .button { color: #fff; }
.item-page .button { margin-bottom: 10px; }

/* ---- Grid (Skeleton) ---------------------------------------------------------------------------------------- */
.container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
.container:after { content: " "; display: block; height: 0; clear: both; visibility: hidden; }
.container .columns { float: left; display: inline; margin-left: 20px; }
.container .columns:first-child, .columns.alpha { margin-left: 0; }
.columns.omega { margin-right: 0; }
.container .two.columns { width: 100px; }
.container .six.columns { width: 340px; }
.container .eight.columns { width: 460px; }
.container .ten.columns { width: 580px; }
.container .sixteen.columns { width: 940px; }
.row { margin-bottom: 20px; }
.clearfix:before, .clearfix:after, .row:before, .row:after { content: " "; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.row:after, .clearfix:after { clear: both; }
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
#main.container { padding: 0 0 0 20px; }
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.container { width: 768px; }
	.container .columns { margin-left: 10px; margin-right: 10px; }
	.columns.alpha { margin-left: 0; margin-right: 10px; }
	.columns.omega { margin-right: 0; margin-left: 10px; }
	.alpha.omega { margin-left: 0; margin-right: 0; }
	.container .two.columns { width: 76px; }
	.container .six.columns { width: 268px; }
	.container .eight.columns { width: 364px; }
	.container .ten.columns { width: 460px; }
	.container .sixteen.columns { width: 748px; }
}
@media only screen and (max-width: 767px) {
	.container { width: 300px; }
	.container .columns { margin: 0; }
	.container .two.columns, .container .six.columns, .container .eight.columns, .container .ten.columns,
	.container .sixteen.columns { width: 300px; }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.container { width: 420px; }
	.container .two.columns, .container .six.columns, .container .eight.columns, .container .ten.columns,
	.container .sixteen.columns { width: 420px; }
}


/* ---- Page ------------------------------------------------------------------------------------------------- */
html, body { height: 100%; }
body { background: #222 url(../theme/images/patterns/denim.png); }
body.light { color: #181818; background-color: #f5f5f5; }
body.light h1, body.light h2, body.light h3, body.light h4, body.light h5, body.light h6 { color: #181818; }
body.light a { color: #333; }
body.light a:hover, body.light a:focus { color: #000; }
h1, h2, h3, h4, h5, h6, #menu a, #search .inputbox { font-family: "Open Sans", Helvetica, Arial, sans-serif; }
a img, img { border: none; vertical-align: top; }
img.shadow { padding: 4px; border: 1px solid #444; border-radius: 2px; background-color: #fff; transition: all .3s ease; }
img.shadow:hover { border-color: #999; box-shadow: 0 0 8px #222; }
.eBlog img.shadow { float: left; margin-right: 20px; }
.separator { height: 2px; margin: 0 0 35px; background: rgba(0, 0, 0, .1); }
.footerFix { height: 1px; }

/* The shaded backdrop behind everything */
#gradient { position: fixed; inset: 0; z-index: -999999; }
#gradient.radial { background: radial-gradient(ellipse farthest-corner at center, transparent 0%, #000 100%); }
#background { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

/* ---- Header: logo, menu and search down the left (wide windows) or across the top (navbar) ------------------ */
#header { position: fixed; top: 0; bottom: 0; left: 0; z-index: 3; }
#header.vertical { height: 100% !important; bottom: 0 !important; left: 0 !important; }
#header.navbar { position: relative; top: auto; left: auto !important; bottom: auto !important; height: auto !important;
	width: 980px; margin: 0 auto; padding-bottom: 20px; }
#logo { display: block; }
body #logo { width: 220px; height: 75px; margin-top: 40px; background: url(../theme/images/logo_nobg.png) no-repeat center center; }
body #header.navbar #logo { position: absolute; float: left; margin-top: 10px !important; }

#menu { margin-top: 50px; }
#header.navbar #menu { float: right; margin-top: 10px; }

/* The menu list (its drop-downs are opened by Superfish, which adds .sfHover and the arrows) */
.jt-menu, .jt-menu * { margin: 0; padding: 0; list-style: none; }
.jt-menu { line-height: 1; }
.jt-menu li { position: relative; float: left; }
.jt-menu li:hover { visibility: inherit; }
.jt-menu a { position: relative; display: block; }
#menu .jt-menu a { color: #c9c9c9; background: rgba(0, 0, 0, .9); }
#menu .jt-menu a:hover { color: #fff; background: #000; }
body.light #menu .jt-menu a { color: #333; background: rgba(255, 255, 255, .9); }
body.light #menu .jt-menu a:hover { color: #111; background: #fff; }
.jt-menu a.sf-with-ul { min-width: 1px; padding-right: 2.25em; }
.jt-menu ul { position: absolute; top: -999em; width: 10em; }
.jt-menu ul li { width: 100%; }
.jt-menu li:hover ul, .jt-menu li.sfHover ul { left: 0; top: 2.5em; z-index: 99; }
ul.jt-menu li:hover li ul, ul.jt-menu li.sfHover li ul { top: -999em; }
ul.jt-menu li li:hover ul, ul.jt-menu li li.sfHover ul { left: 10em; top: 0; }

/* Drop-down arrows */
.sf-sub-indicator { position: absolute; display: block; overflow: hidden; text-indent: -999em; }
#menu .jt-menu a > .sf-sub-indicator { right: 0; bottom: 0; top: auto; left: auto; width: 6px; height: 6px;
	background: url(../theme/images/vertical_submenu_arrow.png) no-repeat 0 0 !important; }
body.light #menu .jt-menu a > .sf-sub-indicator { background: url(../theme/images/vertical_submenu_arrow_light.png) no-repeat 0 0 !important; }

/* Down the left */
#header.vertical #menu .jt-menu, #header.vertical #menu .jt-menu li { width: 12em; }
#header.vertical #menu .jt-menu a { position: relative; padding: 7px 20px; text-decoration: none; transition: padding .1s ease-out; }
#header.vertical #menu .jt-menu > li > a { display: inline-block; margin-bottom: 5px; }
#header.vertical #menu .jt-menu > li.sfHover > a { width: 8.8em !important; }
#header.vertical #menu .jt-menu > li > ul.sub-menu { left: 12em; top: 0; display: none; }
#header.vertical #menu li li { margin: 0 0 1px 1px; }
#header.vertical #menu .jt-menu ul a { font-size: 11px; }

/* Across the top */
#header.navbar #menu .jt-menu { position: relative; padding-bottom: 0; }
#header.navbar #menu .jt-menu > li { margin-left: 5px; }
#header.navbar #menu .jt-menu > li:first-child { margin-left: 0; }
#header.navbar #menu .jt-menu a { position: relative; display: block !important; padding: 12px 20px !important; border: none; text-decoration: none; }
#header.navbar #menu .jt-menu > li > a { display: inline-block; width: auto !important; }
#header.navbar #menu .jt-menu a.sf-with-ul { padding-right: 5px; }
#header.navbar #menu .jt-menu li ul { width: 44em; }
#header.navbar #menu .jt-menu li:hover ul, #header.navbar #menu .jt-menu li.sfHover ul { top: 3.35em; }
#header.navbar #menu .jt-menu ul li { float: left; width: auto; }
#header.navbar #menu .jt-menu ul a { padding: 7px 20px !important; font-size: 11px; border-bottom: 1px solid #222; }
#header.navbar #menu .jt-menu li li { position: relative; }

/* Search box */
#search { position: absolute; bottom: 190px; left: 0; width: 160px; padding: 5px; background: #000; }
body.light #search { background: #fff; }
#search form { margin: 0; }
#search .search .inputbox { display: inline-block; width: 115px; height: 28px; margin: 0; padding: 0 0 0 10px; border: 0;
	background: none; color: #fff; vertical-align: top; }
body.light #search .search .inputbox { color: #111; }
#search .search .button { display: inline-block; width: 30px; height: 28px; margin: 0; padding: 0; border: 0; opacity: .8;
	background: transparent url(../theme/images/icon-search.png) no-repeat center center; font-size: 0; line-height: 0;
	text-indent: -9999px; vertical-align: top; filter: none; }
body.light #search .search .button { background-image: url(../theme/images/icon-search-light.png); }
#search .search .button:hover { opacity: 1; }
#header.navbar #search { position: static; float: right; margin: 30px 0 0; padding: 0; }

/* ---- Main panel and breadcrumbs ----------------------------------------------------------------------------- */
#main { margin-top: 40px; margin-bottom: 130px; background: rgba(0, 0, 0, .8); }
body.light #main { background: rgba(255, 255, 255, .8); }
#mainClose { position: absolute; top: -21px; right: 0; display: block; width: 11px; height: 11px; cursor: pointer;
	background: url(../theme/images/mainClose2.png) no-repeat; transition: background-position .15s ease-in; }
#mainClose.maximized, body.light #mainClose.maximized:hover { background-position: 0 0; }
#mainClose.minimized, body.light #mainClose.minimized:hover { background-position: -11px 0; }
body.light #mainClose.maximized, #mainClose.maximized:hover { background-position: 0 -11px; }
body.light #mainClose.minimized, #mainClose.minimized:hover { background-position: -11px -11px; }
#breadcrumbs { margin: 0; padding: 20px 0 15px; border-bottom: 1px dotted rgba(255, 255, 255, .1); opacity: .6;
	font-size: 10px; font-weight: bold; line-height: 1; text-transform: uppercase; transition: opacity 150ms ease-in; }
body.light #breadcrumbs { border-bottom-color: rgba(0, 0, 0, .3); }
#breadcrumbs:hover { opacity: 1; }
.thedate { text-align: right; }
#mainbody { padding-top: 20px; padding-bottom: 20px; }
#mainbody h1.title { font-weight: bold; }
h2.page-title { text-transform: uppercase; }
.eBlog .itemListView { margin-bottom: 25px; }

/* Contact page form */
#contact_form input[type=text] { width: 250px; }
#contact_form textarea { width: 350px; height: 100px; }
#success { margin-bottom: 15px; font-size: 14px; font-weight: bold; }

/* 404 page */
.error404_content { margin: 100px auto 80px; text-align: center; }
body .error404_content h2 { margin: 40px 0; color: rgba(255, 255, 255, 0); font-size: 260px; font-weight: bold; line-height: 1;
	text-align: center; text-shadow: 0 0 28px rgba(255, 255, 255, .5); text-transform: uppercase; }
.error404_content h3 { font-size: 30px; text-align: center; opacity: .2; }

/* ---- Home page: big heading and the circles carousel (TinyCarousel) --------------------------------------- */
#front_centered { position: absolute; bottom: 120px; left: 50%; z-index: 1; margin-left: -480px; }
.big_text { margin-bottom: 70px; color: #fff !important; font-size: 58px; line-height: 1.4; text-align: center; text-shadow: 0 2px 1px #000; }
.header-navbar .big_text { margin-bottom: 30px; font-size: 38px; }
.featured_boxes .boxes { display: table; float: left; width: 175px; height: 175px; margin: 10px; padding: 20px;
	color: #e3e3e3; background: rgba(48, 48, 48, .8); }
.featured_boxes .boxes a { display: block; }
.featured_boxes .boxes .inner-box { display: table-cell; vertical-align: middle; }
.featured_boxes .lay1 .boxes { text-align: center; }
.featured_boxes .lay1 .boxes img { margin-bottom: 10px; }
#featured_boxes .boxes h5.title { font-size: 15px; }
#featured_boxes .boxes span.description { font-size: 11px; }
#featured_boxes .circle .boxes { border-radius: 50%; }
#featured_boxes .border_effect .boxes { box-shadow: 0 0 0 0 #000; transition: all .15s ease-in; }
#featured_boxes .border_effect .boxes:hover { box-shadow: 0 0 0 10px #000; }
.featured_boxes_carousel { height: 235px; }
.featured_boxes_carousel .viewport { position: relative; overflow: hidden; width: 940px; height: 235px; }
.featured_boxes_carousel .overview { position: absolute; left: 0; top: 0; margin: 0; padding: 0; list-style: none; }
.featured_boxes_carousel .overview li { float: left; width: 235px; height: 235px; margin: 0; padding: 0; }
.featured_boxes_carousel .carousel_bullets { text-align: center; }
.featured_boxes_carousel .pager { display: inline-block; margin: 0; }
.featured_boxes_carousel .pager li { float: left; margin: 0 4px; }
.featured_boxes_carousel .pagenum { display: block; width: 7px; height: 7px; margin: 0; padding: 0; border-radius: 50%;
	background-color: #ddd; text-indent: -9999px; }

/* ---- Footer: copyright on the left, the two pop-up panels on the right ------------------------------------- */
#footer { position: fixed; left: 0; bottom: 0; z-index: 3; width: 100%; height: 60px; border-top: 2px solid #222;
	background: rgba(0, 0, 0, .8); font-size: 11px; }
body.light #footer { border-top-color: #eee; background: rgba(255, 255, 255, .8); }
#footer > div { position: relative; height: 100%; }
#footer > div[data-align=left] { padding-right: 20px; }
#footer > div[data-align=right] { padding-left: 20px; }
#footer .inner { padding-top: 20px; }
#footer1 { float: left; width: 100px; }
#footer2 { float: left; width: 330px; }
#footer3, #footer4 { float: right; }

.iconWidget { position: relative; padding: 0 10px 0 20px; border-left: 1px dotted #444; }
.iconWidgetIcon { display: block; height: 20px; margin-top: 0; padding-left: 30px; line-height: 20px; cursor: pointer;
	background-repeat: no-repeat; background-position: left center; }
#contact_details .iconWidgetIcon { background-image: url(../theme/images/icon-mappin.png); }
#newsletter_form .iconWidgetIcon { background-image: url(../theme/images/icon-mail.png); }
.iconWidget.visible .iconWidgetIcon { background-image: url(../theme/images/close_icon_white.png) !important; }
/* The panel: hidden until its icon is clicked, then it rises into place (layout.js) */
.iconWidgetContainer { position: absolute; right: 15px; bottom: 0; z-index: 999; display: none; padding: 15px; opacity: 0;
	text-align: left; background: #000; border: 7px solid #222; border-radius: 3px; box-shadow: 0 3px 4px rgba(0, 0, 0, .5); }
body.light .iconWidgetContainer { background: #fff; border-color: #ddd; box-shadow: 0 3px 4px rgba(255, 255, 255, .5); }
#contact_details .iconWidgetContainer { bottom: 150px; width: 260px; height: 335px; }
#newsletter_form .iconWidgetContainer { bottom: 150px; width: 260px; height: 220px; }
.iconWidgetContainer:before { content: ""; position: absolute; right: 10px; bottom: -15px; width: 26px; height: 14px;
	background: url(../theme/images/popup_arrow.png) no-repeat center center; }
body.light .iconWidgetContainer:before { background-image: url(../theme/images/popup_arrow_light.png); }
.iconWidgetContainer h4.title { margin: 0 0 15px; padding-bottom: 10px; border-bottom: 4px solid #111; color: #ddd;
	font-size: 16px; line-height: 1.2; }
body.light .iconWidgetContainer h4.title { color: #333; border-bottom-color: #eee; }
.closeIconWidget { position: absolute; top: -15px; right: -15px; display: block; width: 10px; height: 10px; padding: 6px;
	border: 2px solid #222; border-radius: 50%; cursor: pointer; text-indent: -9999px;
	background: #000 url(../theme/images/close_icon_white.png) no-repeat center center; }
.closeIconWidget:hover { background-color: #333; }
body.light .closeIconWidget { border-color: #ccc; background: #fff url(../theme/images/icon-close-black.png) no-repeat center center; }
body.light .closeIconWidget:hover { background-color: #ccc; }

/* Mailing list panel */
#newsletter_form form { margin: 0; }
#newsletter_form label { font-size: 10px; font-weight: bold; text-transform: uppercase; }
#newsletter_form input[type=text] { width: 95%; margin-bottom: 10px; }
#newsletter_form #result { display: inline-block; margin-bottom: 10px; }
#newsletter_form #result:empty { display: inline; }
#newsletter_subscribe input.btn { float: right; margin: 5px 0 0; padding: 8px 14px; border: 0; border-radius: 0; color: #eee;
	background: #333; font-size: 10px; text-shadow: none; text-transform: uppercase; }
#newsletter_subscribe input.btn:hover { background: #444; }
body.light #newsletter_subscribe input.btn { color: #111; background: #ccc; }
body.light #newsletter_subscribe input.btn:hover { background: #bbb; }

/* ---- Gallery page (gallery.js; thumbnail pages by jPages) -------------------------------------------------- */
#background { z-index: 0; }
#grid_gallery { width: 960px; margin: 0 auto; text-align: center; }
.largeContainer { width: 960px; min-height: 600px; background: url(../theme/js/sliders/jquery_gridgallery/img/loading.gif) center center no-repeat; }
.largeContainer img { position: relative; z-index: 1000; }
body.light .largeContainer img { border: 4px solid #fff; }
.largeContainer span.caption { position: relative; display: block; width: auto; margin: 0 auto; padding: 12px; opacity: 1;
	text-shadow: 0 0 1px rgba(255, 255, 255, .3); }
.thumbContainer { position: absolute; left: 50%; bottom: 0; z-index: 1002; width: 660px; margin-left: -330px; }
ul#thumbnails { margin: 0; padding: 5px; list-style: none; }
body.light ul#thumbnails { background: #fff; }
ul#thumbnails li { float: left; margin: 5px; cursor: pointer; }
ul#thumbnails li img { width: 120px; height: 75px; vertical-align: top; }
body.light ul#thumbnails li.selected { outline: 3px solid #000; }
.holder { clear: left; margin: 0; padding: 4px; }
body .holder a { margin: 0 5px; color: #ddd; font-size: 10px; text-shadow: 1px 1px 0 #000; cursor: pointer; }
body .holder a:hover { color: #fff; }
.holder a.jp-previous { margin-right: 15px; text-decoration: none; }
.holder a.jp-next { margin-left: 15px; color: #fff; text-decoration: none; }
.holder a.jp-current, a.jp-current:hover { color: #fff; font-weight: bold; }
.holder a.jp-current, a.jp-current:hover, .holder a.jp-disabled, a.jp-disabled:hover { background: none; cursor: default; }
.holder a.jp-disabled, a.jp-disabled:hover { color: #bbb; text-decoration: none; }
.holder span { margin: 0 5px; }
.jp-disabled { display: none; }
/* The large picture's close button and the previous / next arrows on the right edge */
.closeButton { position: absolute; z-index: 1001; width: 39px; height: 39px; cursor: pointer;
	background: url(../theme/js/sliders/jquery_gridgallery/img/slider2_controls.png) no-repeat 0 0; transition: background-position .15s ease-in; }
body.light .closeButton:hover { background-position: -39px 0; }
#arrowButton { position: fixed; top: 50%; right: 0; width: 39px; height: 78px; margin-top: -39px; cursor: pointer; }
#arrowButton > div { width: 39px; height: 39px; background: url(../theme/js/sliders/jquery_gridgallery/img/slider2_controls.png) no-repeat;
	transition: background-position .15s ease-in; }
body.light #arrowButton .prevArrow { background-position: 0 -78px; }
body.light #arrowButton .prevArrow:hover { margin-bottom: 1px; background-position: 0 -39px; }
body.light #arrowButton .nextArrow { background-position: -39px -39px; }
body.light #arrowButton .nextArrow:hover { background-position: -39px -78px; }
/* The large picture rises in as it changes */
@keyframes qwRiseIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.qw-rise { animation: qwRiseIn 1s both; }
.qw-rise-late { animation: qwRiseIn .6s ease .2s both; }

/* ---- Screenshot viewer on the feature pages (layout.js) --------------------------------------------------- */
.qw-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center;
	padding: 40px 60px; background: rgba(10, 18, 32, .82); }
.qw-lightbox figure { position: relative; max-width: 100%; max-height: 100%; margin: 0; text-align: center; }
.qw-lightbox img { max-width: 100%; max-height: calc(100vh - 130px); border: 4px solid #fff; border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .45); background: #fff; }
.qw-lightbox figcaption { margin-top: 10px; color: #fff; font-size: 14px; letter-spacing: .5px; }
.qw-lightbox button { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .14);
	font: 600 26px/1 Arial, sans-serif; border-radius: 50%; width: 44px; height: 44px; }
.qw-lightbox button:hover, .qw-lightbox button:focus-visible { background: #1668c7; }
.qw-lightbox .qw-lb-close { top: 14px; right: 14px; }
.qw-lightbox .qw-lb-prev { left: 10px; top: 50%; margin-top: -22px; }
.qw-lightbox .qw-lb-next { right: 10px; top: 50%; margin-top: -22px; }

/* ---- Narrower windows (the theme's own breakpoints; quiweb.css then takes over below 1240px) ---------------- */
@media only screen and (min-width: 1024px) and (max-width: 1500px) {
	.header-vertical #front_centered, .header-vertical #main { left: 250px; margin-left: 0; }
}
@media only screen and (min-width: 480px) and (max-width: 1024px) {
	.big_text { margin-bottom: 30px; font-size: 38px; }
	#header.navbar #search { margin-right: 50px; }
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
	#footer1 { display: none; }
	#footer2 { margin-left: 20px; }
	#footer { position: relative; }
	#main { margin-bottom: 40px; }
	#header.navbar { z-index: 1; width: 100%; }
	body #header.navbar #logo { width: 23%; }
	#header.navbar #menu { width: 75%; }
	#header.navbar #search { margin-top: 40px; }
	.jt-menu li { margin-bottom: 5px; }
	#front_centered { position: inherit; margin-left: 0; }
	#featured_boxes .boxes span.description { display: none; }
	.featured_boxes_carousel { height: auto; margin-bottom: 10px; }
	.featured_boxes_carousel .viewport { width: 100%; }
	.featured_boxes_carousel .overview li { width: 187px; height: 187px; }
	.featured_boxes .boxes { width: 127px; height: 127px; }
}
@media only screen and (max-width: 767px) {
	img { max-width: 100%; }
	.jt-menu { display: none; }
	#footer { position: relative; }
	#footer1 { display: none; }
	#footer2 { width: auto; margin-left: 20px; }
	#main { margin-bottom: 40px; }
	#header.navbar { z-index: 1; width: 100%; }
	body #header.navbar #logo { width: 100%; position: inherit !important; }
	#header.navbar #menu { width: 100%; }
	#header.navbar #search { display: none; margin-top: 40px; }
	#mainboxes, #footer3, #footer4, .thumbContainer { display: none !important; }
	#front_centered { position: inherit; margin-left: 0; }
	.noSidebars #mainbody { padding-right: 10px; }
	.featured_boxes_carousel { height: auto; margin-bottom: 10px; }
}
