/**
 * @license
 * MyFonts Webfont Build ID 3548552, 2018-03-28T10:36:53-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: SegoeScript by Ascender
 * URL: https://www.myfonts.com/fonts/ascender/segoe-script/regular/
 * Copyright: &#x00A9; 2006 Microsoft Corporation. All Rights Reserved.
 * Licensed pageviews: 250,000
 * 
 * 
 * License: https://www.myfonts.com/viewlicense?type=web&buildid=3548552
 * 
 * © 2018 MyFonts Inc
*/


/* @import must be at top of file, otherwise CSS will not work */
@import url("/count/362588");

  
@font-face {font-family: 'SegoeScript';src: url('../webfonts/362588_0_0.eot');src: url('../webfonts/362588_0_0.eot?#iefix') format('embedded-opentype'),url('../webfonts/362588_0_0.woff2') format('woff2'),url('../webfonts/362588_0_0.woff') format('woff'),url('../webfonts/362588_0_0.ttf') format('truetype');}

/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
    font-family: 'a_dexterotlregular';
    src: url('../font/dexter_3-webfont.eot');
    src: url('../font/dexter_3-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/dexter_3-webfont.woff2') format('woff2'),
         url('../font/dexter_3-webfont.woff') format('woff'),
         url('../font/dexter_3-webfont.ttf') format('truetype'),
         url('../font/dexter_3-webfont.svg#a_dexterotlregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HelenBg';
    src: url('../font/Helen Bg Regular.eot'); /* IE9 Compat Modes */
    src: url('../font/Helen Bg Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../font/Helen Bg Regular.woff') format('woff'), /* Modern Browsers */
         url('../font/Helen Bg Regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../font/Helen Bg Regular.svg#HelenBg-Regular') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}


@font-face {
    font-family: 'HelenBg Bold';
    src: url('../font/Helen Bg Bold.eot'); /* IE9 Compat Modes */
    src: url('../font/Helen Bg Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../font/Helen Bg Bold.woff') format('woff'), /* Modern Browsers */
         url('../font/Helen Bg Bold.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../font/Helen Bg Bold.svg#HelenBg-Bold') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}


html {
	background: rgb(172,205,209);
	background: -moz-linear-gradient(top, rgba(172,205,209,1) 0%, rgba(208,228,232,1) 100%);
	background: -webkit-linear-gradient(top, rgba(172,205,209,1) 0%,rgba(208,228,232,1) 100%);
	background: linear-gradient(to bottom, rgba(172,205,209,1) 0%,rgba(208,228,232,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#accdd1', endColorstr='#d0e4e8',GradientType=0 );
}
h1, h2, h3, h4, h5 {
	font-weight: normal;
}
figure {
	margin: 0;
	padding: 0;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
p {
	margin: 0 0 1.5em;
}
a:link, 
a:visited, 
a:hover, 
a:focus, 
a:active {
	outline: none;
}
button, 
button:hover, 
button:focus {
	outline: none;
}
body {
	font-family: 'HelenBg', sans-serif;
}
b, strong {
	font-family: 'HelenBg Bold', sans-serif;
}
#page {
	min-height: 100vh;
	overflow: hidden;
}
#site-header {
	position: relative;
	top: 0;
	left: 0;
	z-index: 2;
}
#site-title {
	margin: 0 auto;
	padding: 1em 0;
	width: 50%;
	font-size: 1em;
	line-height: 1em;
}
#site-title img {
	margin: 0 auto;
	width: auto;
	height: 9.625em; /* 154px */
}
#main-menu, 
#main-menu li, 
#social-menu, 
#social-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1em;
	line-height: 1em;
}
#main-menu {
	border-top: 0.188em solid #fff; /* 6px */
	border-bottom: 0.188em solid #fff; /* 6px */
	background: #000;
	background: rgba(0, 0, 0, .53);
	font-family: 'a_dexterotlregular';
	font-size: 2.000em; /* 32px */
	text-align: center;
}
#main-menu li {
	padding-left: 1em;
	display: inline-block;
}
#main-menu a:link, 
#main-menu a:visited, 
#main-menu a:hover, 
#main-menu a:focus, 
#main-menu a:active {
	display: block;
	padding: 0.938em 0 0.750em 1em; /* 30px 0 24px 32px */
	position: relative;
	color: #fff;
	text-decoration: none;
	overflow: hidden;
}
#main-menu .current-page a:after, 
.no-pointerevents #main-menu a:hover:after, 
.no-pointerevents #main-menu a:focus:after {
	display: block;
	content: '';
	width: 0.625em;
	height: 0.625em;
	border-radius: 50%;
	position: absolute;
	top: 53%;
	left: 0;
	z-index: 1;
	transform: translate(0, -50%);
	background: #fff;
}
#social-menu {
	position: absolute;
	top: 3.125em; /* 150px */
	right: 10%;
	z-index: 1;
	transform: translate(0, -50%);
	overflow: hidden;
	font-size: 3em;  /* 48px */
}
#social-menu li {
	float: left;
}
#social-menu a:link, 
#social-menu a:visited, 
#social-menu a:hover, 
#social-menu a:focus, 
#social-menu a:active {
	display: block;
	padding-left: .25em;
	color: #fff;
	text-decoration: none;
}
#social-menu a:hover, 
#social-menu a:focus, 
#social-menu a:active {
	color: #39c;
}

#site-footer {
	margin: 0;
	padding: 2vh 10%;
	position: relative;
	background: #000;
	background: rgba(0, 0, 0, .53);
}
#site-footer p {
	margin: 0;
	color: #fff;
	font-family: 'SegoeScript';
	font-size: 1.250em; /* 20px */
}
#site-footer a:link, 
#site-footer a:visited, 
#site-footer a:hover, 
#site-footer a:focus, 
#site-footer a:active {
	color: #fff;
	text-decoration: none;
}
#olympus-website {
	display: block;
	width: 15%;
	max-width: 235px;
	position: absolute;
	top: 50%;
	right: 10%;
	z-index: 2;
	transform: translate(0, -50%);
}
a:link, 
a:visited, 
a:hover, 
a:focus, 
a:active {
	color: #000;
}

.entry-content {
	margin: 0 auto;
}
.entry-content p, 
.entry-content h3 {
	font-size: 1.5em;
}
/* Home */
.page-homepage {
	background: url(../img/bg-header-home.png), url(../img/bg-footer-home.png);
	background-repeat: no-repeat, no-repeat;
	background-position: 0 0, 100% 100%;
	background-size: 100% auto, 100% auto;
}
.page-homepage #page {
	background: url(../img/bg-home.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 100% auto;
}
#decoration {
	margin: 30vh 0 80vh;
}
#decoration img {
	width: 100%;
	max-width: none;
	height: auto;
}
.products {
	margin-bottom: 40vh;
	position: relative;
	min-height: 100vh;
}
button {
	position: absolute;
	top: 50%;
	z-index: 1;
	margin: 0;
	padding: 0;
	border: 0;
	transform: translate(0, -50%);
	font-size: 4em;
	color: #5e98cb;
	background: rgba(255, 255, 255, .8);
	cursor: pointer;
	outline: none;
}
#next_btn {
	right: 2.5%;
}
#prev_btn {
	left: 2.5%;
}
.wrapper {
	position: relative;
	overflow: visible;
}
#product-nav a:link, 
#product-nav a:visited, 
#product-nav a:hover, 
#product-nav a:focus, 
#product-nav a:active {
	position: absolute;
	top: 50%;
	z-index: 1;
	margin: 0;
	padding: 0;
	border: 0;
	transform: translate(0, -50%);
	font-size: 4em;
	color: #5e98cb;
	background: rgba(255, 255, 255, .8);
	cursor: pointer;
	outline: none;
	text-decoration: none;
}
#product-nav #next_btn {
	right: -5%;
}
#product-nav #prev_btn {
	left: -5%;
}

.products article {
	padding: 0 10%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	transform: translate(0, 0);
	transition: transform .5s ease-in-out;
}
.products .rightOffset {
	transform: translate(100%, 0);
}
.products .leftOffset {
	transform: translate(-100%, 0);
}
.products article a {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* About */
.page-about {
	background: url(../img/bg-header-about.png), url(../img/bg-footer-about.png);
	background-repeat: no-repeat, no-repeat;
	background-position: 0 0, 100% 100%;
	background-size: 100% auto, 100% auto;
}
.page-about article {
	padding: 10vh 10% 10vh;
	position: relative;
}
/* Contacts */
.page-contacts {
	background: url(../img/bg-header-contacts.png), url(../img/bg-footer-contacts.png);
	background-repeat: no-repeat, no-repeat;
	background-position: 0 0, 100% 100%;
	background-size: 100% auto, 100% auto;
}
.page-contacts #page {
	position: relative;
	background: transparent url(../img/page-contact.png) no-repeat 80% 80%;
	background-size: 50% auto;
}
.page-contacts article {
	padding: 10vh 10%;
}
.page-contacts .entry-content h3 {
	font-size: 2em;
}
.page-contacts #olympus-website {
	top: auto;
	bottom: 1em;
	transform: translate(0, 0);
}
/* Product */
.page-product {
	background: url(../img/bg-header-products.png), url(../img/bg-footer-products.png);
	background-repeat: no-repeat, no-repeat;
	background-position: 0 0, 100% 100%;
	background-size: 100% auto, 100% auto;
}
.page-product article {
	margin-bottom: 40vh;
	padding: 0 10%;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.page-product article h2, 
.products article h2 {
	margin: 0 0 0.25em;
	font-size: 3.375em;
	line-height: 1em;
	font-family: 'a_dexterotlregular';
	color: #39c;
	text-align: center;
}
.page-product article h3, 
.products article h3 {
	margin: 0 0 1.667em;
	color: #c33;
	font-size: 2.625em;
	line-height: 1em;
	font-family: 'SegoeScript';
	text-align: center;
}
.page-product article h4 {
	margin: 0 0 0.25em;
	font-size: 2em;
	line-height: 1em;
	font-family: 'a_dexterotlregular';
	color: #c33;
}
.page-product table {
	margin: 0 0 .5em;
	padding: 0;
	border: 0;
	border-collapse: collapse;
	width: 50%;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1em;
}
.page-product table th, 
.page-product table td {
	margin: 0;
	padding: 0 .25em .25em 0;
	text-align: center;
}
.page-product table tbody th {
	text-align: left;
}
.page-product small {
	display: block;
	margin-bottom: 4em;
	font-size: .875em;
}
.page-product button {
	top: 70%;
}
.product-description {
	margin-bottom: 5vh;
	width: 40%;
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 1;
}
.product-description img {
	margin: 0 auto;
	max-width: 100%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?93328463');
  src: url('../font/fontello.eot?93328463#iefix') format('embedded-opentype'),
       url('../font/fontello.woff2?93328463') format('woff2'),
       url('../font/fontello.woff?93328463') format('woff'),
       url('../font/fontello.ttf?93328463') format('truetype'),
       url('../font/fontello.svg?93328463#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?93328463#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
/*   margin-right: .2em; */
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
/*   margin-left: .2em; */
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-arrow-next:before { content: '\ea54'; } /* '' */
.icon-arrow-prev:before { content: '\ea55'; } /* '' */
.icon-close:before { content: '\ea5b'; } /* '' */
.icon-locator:before { content: '\ea62'; } /* '' */
.icon-menu:before { content: '\ea65'; } /* '' */
.icon-search:before { content: '\ea6a'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-facebook:before { content: '\f308'; } /* '' */
/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media screen and (min-width: 1680px) {
	body {
		font-size: 1.25em;
	}
}
@media screen and (min-width: 1441px) {
	body {
		font-size: 1em;
	}
}
@media screen and (max-width: 1440px) {
	body {
		font-size: 0.875em;
	}
}
@media screen and (max-width: 1280px) {
	body {
		font-size: 0.750em;
	}
}
@media screen and (max-width: 1024px) {
	body {
		font-size: 0.625em;
	}
}
@media screen and (max-width: 800px) {
	.page-product article {
		margin-bottom: 10vh;
	}
	.page-product table {
		width: 100%;
	}
	.product-description {
		width: 80%;
		position: relative;
		left: 10%;
		top: 0;
		bottom: auto;
	}
}
@media screen and (max-width: 414px) {
	#site-header {
		font-size: 0.625em;
	}
	#site-footer p {
		font-size: 1.125em; /* 18px */
	}
	.page-contacts #page {
		background-position: 50% 90%;
		background-size: 80% auto;
	}
	.page-contacts article {
		padding-top: 2vh;
		padding-bottom: 38vh;
	}
	.products {
		margin-bottom: 10vh;
	}
	#decoration {
		margin: 5vh 0 20vh;
	}
	#olympus-website {
		top: auto;
		bottom: 1.125em;
		transform: translate(0, 0);
	}
}
@media screen and (max-width: 375px) {
	.page-product article h2, 
	.products article h2 {
		font-size: 2.625em;
	}
	.page-product article h3, 
	.products article h3 {
		font-size: 1.750em;
	}
}
@media screen and (min-width: 1024px) and (max-height: 1024px) and (orientation: landscape) {
	#decoration {
		margin: 30vh 0 50vh;
	}
}
@media screen and (min-width: 768px) and (max-height: 1366px) and (orientation: portrait) {
	.products {
		margin-bottom: 10vh;
	}
	.page-product button {
		top: 40%;
	}
	.page-contacts #page {
		background-size: 80% auto;
	}
	#decoration {
		margin: 10vh 0 30vh;
	}
/*
	.page-product article {
		padding-bottom: 20vh;
	}
	.product-description {
		bottom: 20vh;
	}
*/
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
