/*
Theme Name: OMNIAMONT d.o.o
Author: AgarvaiN
Author URI: http://www.agarvain.org/
Description: Based on Tabula Rasa, theme meant strictly for developers and WordPress based websites.
Version: 1.0.1
*/

@import url(http://fonts.googleapis.com/css?family=Titillium+Web:400,900,700italic,700,600italic,600,400italic,300italic,300,200italic,200&subset=latin,latin-ext);
* { box-sizing: border-box;/* -moz-appearance: none; -webit-appearance: none; appearance: none; */}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0;}
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

/*
 *
 * Base Typography
 *
 */
body { font:13px/1.231 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

/*
 *
 * Base Styles
 *
 */
body, select, input, textarea {
  color: #444;
  font-family: 'Titillium Web', sans-serif;
}
h1,h2,h3,h4,h5,h6 { font-weight: 600; margin: 10px 0; font-family: 'Titillium Web', sans-serif; color: #222;}
h1 {
  font-size: 36px
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 16px;
}
html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #555; }
a:hover { color: #777; }
ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {
  padding: 15px;
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
textarea { overflow: auto; resize:none;}
.ie6 legend, .ie7 legend { margin-left: -7px; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red;
 -webkit-box-shadow: 0px 0px 5px red;
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid { background-color: #f0dddd; }
::-moz-selection{ background: #000; color:#FFF; text-shadow: none; }
::selection { background:#000; color:#FFF; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #FF5E99; }
button {width: auto; overflow: visible;}
.ie7 img {-ms-interpolation-mode: bicubic;}

/*
 *
 * Nonsemantic Base Styles
 *
 */

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; }
.visuallyhidden { position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;
}
.clearfix:after { clear: both; }
.clearfix { zoom: 1; clear: both;}

/*
 *
 * Media queries for responsive design
 * These follow after primary styles so they will successfully override.
 *
 */
@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */
}
@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */
}
/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
   j.mp/textsizeadjust
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

/*
 *
 * Base Print Styles, inline to save the HTTP request
 *
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; }
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

/*
 *
 * Structure
 *
 */
html, body {
  background: #FFF;
  color: #000;
  height: 100%;
}
#page {
  display: block;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -45px 0;
  position: relative;
  font-family: 'Open Sans', sans-serif;
  background-color: #ededed;
}
.home #page {
  background-color: #fff;
}
#page:after {
  content: "";
  display: block;
  height: 45px;
}
#primary {
  width: 100%;
  min-height: 400px;
}
#content {
  padding: 25px 0;
}
#colophon {
  clear: both;
  display: block;
  width: 100%;
}

.full-width #content,
.image-attachment #content,
.error404 #content {
  margin: 0;
}

.alignleft {
  display: inline;
  float: left;
}
.alignright {
  display: inline;
  float: right;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/*
 *
 * Header
 *
 */
#page #branding {
  background-color: #fff;
}
#site-title {
  font-size: 2em;
  font-weight: bold;
  margin: 15px 0;
  float: left;
}
#site-title a {
  display: block;
  text-indent: -9999px;
  width: 310px;
  height: 38px;
  background: url('images/omnialogo.png') no-repeat center center/cover;
}
#site-description {
  font-size: 1em;
  font-weight: normal;
  margin: 0 0 1em;
}


/*
 *
 * Menu
 *
 */
#access {
  background: #fff;
  display: block;
  float: right;
  margin: 0 auto;
  width: 750px;
}
#access ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  float: right;
}
#access li {
  float: left;
  position: relative;
  transition: all 0.3s ease;
}
#access a {
  display: block;
  line-height: 20px;
  font-size: 16px;
  font-weight: 600;
  padding: 35px 0 0;
  margin: 0 1em;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
}
#access li:last-child a {
  margin-right: 0;
}
#access a:after {
  content: '';
  display: block;
  width: 0px;
  height: 3px;
  background: #3399ff;
  margin-top: 0px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  position: absolute;
  top: 0;
  left: 0;
}
#access li:hover a:after, #access li.current_page_item a:after {
  transition-delay: .2s;
  -webkit-transition-delay: .2s;
  -moz-transition-delay: .2s;
  -ms-transition-delay: .2s;
  -o-transition-delay: .2s;
  width: 100%;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
}
#access ul ul {
  box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
  display: none;
  float: left;
  position: absolute;
  top: 2em;
  left: 0;
  z-index: 99999;
}
#access ul ul ul {
  left: 100%;
  top: 0;
}
#access ul ul a {
  background: #333;
  color: #fff;
  line-height: 1em;
  padding: .5em .5em .5em 1em;
  width: 10em;
  height: auto;
}
#access li:hover > a,
#access ul ul :hover > a,
#access li.current_page_item a {
  color: #3399ff;
}
#access ul ul a:hover {
  background: #000;
}
#access ul li:hover > ul {
  display: block;
}
#footnav ul {
  margin: 0 auto;
  padding: 10px 0;
}
#footnav ul {
  margin: 0 auto;
  padding: 40px 0;
}
#footnav ul li {
  float: left;
  list-style: none;
  margin: 0 11px;
}
#footnav ul li a {
  color: #000;
  text-decoration: none;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin: 11px 0;
}
#footnav ul  li a:hover {
  color: #444;
}
#footnav ul li:last-child:after {
  content: none;
  margin-left: 0;
}
/*
 *
 * Content
 *
 */
#content nav {
  display: block;
  overflow: hidden;
}
#content nav .nav-previous {
  float: left;
  width: 50%;
}
#content nav .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
#content #nav-above {
  display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
  display: block;
}
#nav-below {
  margin: 1em 0 0;
}
.page-link {
  margin: 0 0 1em;
}


/*
 *
 * Images
 *
 */

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
  max-width: 100%;
  height: auto;
}
img.alignleft {
  margin-right: 1em;
}
img.alignright {
  margin-left: 1em;
}
.wp-caption {
  padding: .5em;
  text-align: center;
}
.wp-caption img {
  margin: .25em;
}
.wp-caption .wp-caption-text {
  margin: .5em;
}
.required {
  color: #cc0033;
}


/*
 *
 * Comments
 *
 */
article.comment {
  display: block;
}
#respond input[type=text] {
  float: left;
  margin: 0 1em 0 0;
  width: 60%;
}
#respond .comment-form-comment label {
  display: none;
}
#respond textarea {
  margin: 0 1em 1em 0;
  float: left;
  width: 80%;
}
#respond .form-allowed-tags {
  clear: both;
  width: 80%;
}
#respond .form-allowed-tags code {
  display: block;
}


/*
 *
 * Footer
 *
 */
#colophon {
  padding: 15px 0 15px;
  position: absolute;
  bottom: 0;
  clear: both;
  height: 45px;
  background: #444;
}
#colophon small {
  color: #dedede;
  font-weight: 300;
  display: inline-block;
  line-height: 22px;
}
#colophon small a {
  text-decoration: none;
  color: #eceef0;
  font-weight: 400;
}
#colophon small a:hover {
  color: #ddd;
}

/*
 *
 * Shortcodes
 *
 */
.px1100 {
  width: 1100px;
}
.px960 {
  width: 960px;
}
.p100 {
  width: 100%;
}
.p90 {
  width: 90%;
}
.p80 {
  width: 80%;
}
.p66 {
  width: 66%;
}
.p50 {
  width: 50%;
}
.p48 {
  width: 48%;
}
.p33 {
  width: 33%;
}
.m0a {
  margin: 0 auto;
}
.dib {
  display: inline-block;
}
.fleft {
  float: left;
}
.fright {
  float: right;
}
.tal {
  text-align: left;
}
.tar {
  text-align: right;
}
.tac {
  text-align: center;
}
.por {
  position: relative;
}
.poa {
  position: absolute;
}
.oh {
  overflow: hidden;
}
.clearfix {
  clear: both;
}
.text-wrap {
  white-space: pre-wrap;
  word-wrap: break-word;
}


/*
 *
 * Customizations
 *
 */

 /*Header*/
.top-header {
  border-bottom: 1px solid #eceef0;
  padding: 10px 0;
}
#qtranslate-2 {
  float: right;
  margin-right: 15px;
}
#qtranslate-2 li {
  list-style: none;
  float: left;
  margin-right: 5px;
  position: relative;
  top: 2px;
}
.entry-header {
  padding: 25px 0;
  background: #3399ff;
  position: relative;
  overflow: hidden;
}
.entry-header:before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 110%;
  height: 10px;
  box-shadow: 0px 0px 10px rgba(0,0,0,.8);
  z-index: 999;
}
.entry-header .entry-title {
  color: #fff;
  margin: 0 auto;
  overflow: hidden;
  width: 1100px;
}

/*Contact Page*/

.contact-table td {
  padding: 10px 10px 5px 0;
}
.wpcf7-text, .wpcf7-textarea {
  width: 100%;
  padding: 10px 20px;
  margin-bottom: 15px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  border: 1px solid #a9a9a9;
  border-left-width: 5px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
}
.wpcf7-text:focus, .wpcf7-text:active, .wpcf7-textarea:focus, .wpcf7-textarea:active {
  border-color: #3399ff;
  border-left-width: 3px;
  transition-delay: .2s;
  -webkit-transition-delay: .2s;
  -moz-transition-delay: .2s;
  -ms-transition-delay: .2s;
  -o-transition-delay: .2s;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
}
.wpcf7-submit {
  padding: 10px 20px;
  float: right;
  outline: none;
  box-shadow: none;
  border: none;
  background: #3399ff;
  color: #fff;
  text-transform: uppercase;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  border-left: 5px solid #336699;
}
.wpcf7-submit:hover {
  color: #ededed;
  opacity: 0.85;
  filter: alpha(opacity=85);
  transition-delay: .2s;
  -webkit-transition-delay: .2s;
  -moz-transition-delay: .2s;
  -ms-transition-delay: .2s;
  -o-transition-delay: .2s;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
}
#map {
  width: 100%;
  height: 250px;
}
.leaflet-popup .leaflet-popup-content-wrapper {
  border-radius: 0;
}
.leaflet-map-pane {
  z-index: 2;
}

.leaflet-google-layer {
  z-index: 1 !important;
}

/*Products*/

.product-list .wp-caption {
  display: inline-block;
  background: #fff;
  padding: 0;
  border-bottom: 5px solid #3399ff;
  margin: 60px 5px;
  position: relative;
}
.product-list .wp-caption a {
  display: block;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}
.product-list .wp-caption img {
  width: 200px!important;
  height: auto;
}

/*References*/

.reference {
  display: inline-block;
  width: 30%;
  background-color: #797979;
  color: #fff;
  overflow: hidden;
  margin: 15px 1.5%;
}
.reference .company {
  display: block;
  text-align: center;
  font-size: 1.5em;
  padding: 10px;
  text-transform: uppercase;
  font-family: 'Titillium Web', sans-serif;
}
.reference .location {
  padding: 0 10px;
  display: block;
  background-color: rgba(0,0,0,.2);
  line-height: 2;
  text-align: center;
}
.reference .products {
  margin: 0;
}
.reference .product {
  list-style: none;
  line-height: 2;
}
.reference .product-name {
  display: block;
  width: 70%;
  background-color: #4580FF;
  text-align: center;
  float: left;
}
.reference .kw {
  width: 30%;
  text-align: center;
  display: block;
  float: left;
  background-color: rebeccapurple;
}
.references-container .more {
  padding: 20px 10%;
  font-size: 1.2em;
}
/*
 *
 * Mobile Menu
 *
 */

/* Overlay style */
.menu-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 100;
}

/* Overlay closing cross */
.menu-overlay .overlay-close {
  width: 80px;
  height: 80px;
  position: absolute;
  right: 20px;
  top: 20px;
  overflow: hidden;
  border: none;
  background: url(images/cross.png) no-repeat center center;
  text-indent: 200%;
  color: transparent;
  outline: none;
  z-index: 1000;
}
.menu-overlay .menu-item a {
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.menu-overlay .menu-item a:hover {
  color: #ddd;
}

/* Menu style */
.menu-overlay nav {
  text-align: center;
  position: relative;
  top: 50%;
  height: 60%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media screen and (max-height: 30.5em) {
  .overlay nav {
    height: 70%;
    font-size: 34px;
  }
  .overlay ul li {
    min-height: 34px;
  }
}

.menu-overlay .nav {
  width: 100%;
  margin: 0;
}

.menu-overlay li {
  float: none;
  font-size: 2em;
}

.menu-overlay li a {
  color: #FFF;
  width: 100%;
  display: block;
  text-align: center;
  line-height: 1.5 !important;
}

.menu-overlay li a:hover, .menu-overlay li a:focus {
  background: transparent;
}

.menu-overlay li a:hover {
  background: transparent;
  color: #fff;
}

.menu-overlay li ul {
  padding: 0;
}

.menu-overlay li ul a {
  line-height: 1.5;
}

.menu-overlay li.open a {
  background: transparent !important;
}

.menu-overlay li.open a span {
  float: none !important;
}

.menu-overlay li .dropdown-menu {
  width: 100%;
  padding: 2%;
  background-color: rgba(0, 0, 0, 0.5) !important;
  left: 0;
  top: 0;
  right: 0;
  padding: 20px 0;
  position: relative;
}

.menu-overlay li .dropdown-menu a {
  font-size: 0.75em;
}


/* --------------------------------

HEADLINES

-------------------------------- */

.cd-intro {
  width: 90%;
  max-width: 768px;
  text-align: left;
  margin: 0;
}
.cd-headline {
  font-size: 1rem;
  line-height: 1;
  margin: 0;
}
.cd-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}
.cd-words-wrapper b {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
}
.cd-words-wrapper b.is-visible {
  position: relative;
}
.no-js .cd-words-wrapper b {
  opacity: 0;
}
.no-js .cd-words-wrapper b.is-visible {
  opacity: 1;
}
.cd-headline.clip span {
  display: inline-block;
  padding: .2em 0;
}
.cd-headline.clip .cd-words-wrapper {
  overflow: hidden;
  vertical-align: top;
}
.cd-headline.clip .cd-words-wrapper::after {
  /* line */
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: #3399ff;
}
.cd-headline.clip b {
  opacity: 0;
}
.cd-headline.clip b.is-visible {
  opacity: 1;
}
