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

UpSolution Frontend basic styles

Copyright 2015 UpSolution
http://us-themes.com/

NOTE: DO NOT EDIT THIS FILE!
THIS FILE IS REPLACED DURING AUTO-UPDATES
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.

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

/* Used normalize.css v3.0.3 github.com/necolas/normalize.css
   ========================================================================== */

* {
  box-sizing: border-box;
}
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background-color: transparent;
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
  height: auto;
  max-width: 100%;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
  white-space: pre-wrap;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
dl,
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
audio,
video,
iframe,
object,
embed {
  max-width: 100%;
  border: none;
}
/* Fix fullscreen mode in Chrome */
:-webkit-full-screen-ancestor:not(iframe) {
  -webkit-animation: none !important;
  animation: none !important;
}

/* Common Styles
   ========================================================================== */

.i-cf:before,
.i-cf:after {
  content: " ";
  display: table;
}
.i-cf:after {
  clear: both;
}
.g-html .thin {
  font-weight: 300;
}
.g-html .bold {
  font-weight: 700;
}
.g-html .align_left {
  text-align: left;
}
.g-html .align_right {
  text-align: right;
}
.g-html .align_center {
  text-align: center;
}
.g-html .align_justify {
  text-align: justify;
}
.hidden {
  display: none !important; /* Hide an element with keeping it in the DOM */
}

/* Basic Layout
   ========================================================================== */

.l-canvas {
  overflow: hidden;
  margin: 0 auto;
}
.l-header {
  position: relative;
  z-index: 2;
  width: 100%;
}
.l-subheader {
  position: relative;
  margin: 0 auto;
}
.l-subheader-h {
  position: relative;
  margin: 0 auto;
}
.l-titlebar {
  position: relative;
  z-index: 1;
}
.l-titlebar-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.5s;
}
.l-titlebar-img.loaded {
  opacity: 1;
}
.l-titlebar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.l-titlebar-h {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
.l-main-h {
  margin: 0 auto;
}
.l-section {
  position: relative;
  margin: 0 auto;
}
.l-section:before {
  content: "";
  display: table;
}
.l-section-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  transition: opacity 0.5s;
  background-image: url(../images/fon-scaled.jpg);
  background-attachment: fixed;
}
.l-section-img.loaded {
  opacity: 1;
}
.l-section-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.l-section-video .mejs-offscreen,
.l-section-video .mejs-controls {
  display: none !important;
}
.l-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.l-section-h {
  position: relative;
  margin: 0 auto;
}
.l-subfooter {
  position: relative;
  margin: 0 auto;
}
.l-subfooter-h {
  margin: 0 auto;
}

/* CANVAS: No sidebar */
.l-canvas.sidebar_none .l-main-h {
  max-width: none;
}
.l-canvas.sidebar_none .l-content {
  width: 100% !important;
}
.l-canvas.sidebar_none .l-sidebar {
  display: none;
}

/* CANVAS: Right sidebar */
.l-canvas.sidebar_right .l-content {
  float: left;
}
.l-canvas.sidebar_right .l-sidebar {
  float: right;
}

/* CANVAS: Left sidebar */
.l-canvas.sidebar_left .l-content {
  float: right;
}
.l-canvas.sidebar_left .l-sidebar {
  float: left;
}

/* HEADER: Width full */
.l-header.width_full .l-subheader-h {
  max-width: none !important;
}

/* HEADER: Position fixed */
.l-header.pos_fixed {
  position: fixed;
  left: 0;
  z-index: 111;
}

/* HEADER: Position static & bg transparent */
.l-header.pos_static.bg_transparent {
  position: absolute;
}

/* TITLEBAR: imgsize */
.l-titlebar.imgsize_initial .l-titlebar-img {
  background-size: initial;
}
.l-titlebar.imgsize_contain .l-titlebar-img {
  background-size: contain;
}

/* TITLEBAR: parallax ver & fixed */
.no-touch .l-titlebar.parallax_ver .l-titlebar-img,
.no-touch .l-titlebar.parallax_fixed .l-titlebar-img {
  background-attachment: fixed;
}

/* TITLEBAR: parallax hor */
.l-titlebar.parallax_hor {
  overflow: hidden;
}
.l-titlebar.parallax_hor .l-titlebar-img {
  width: 120%;
  right: auto;
}

/* SECTION: Width full */
.l-section.width_full {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.l-section.width_full .l-section-h {
  max-width: none !important;
}

/* SECTION: height full */
.l-section.height_full {
  min-height: 100vh;
}

/* SECTION: parallax ver & fixed */
.no-touch .l-section.parallax_ver .l-section-img,
.no-touch .l-section.parallax_fixed .l-section-img {
  background-attachment: fixed;
}

/* SECTION: parallax hor */
.l-section.parallax_hor {
  overflow: hidden;
}
.l-section.parallax_hor .l-section-img {
  width: 130%;
  right: auto;
}
.l-section.parallax_hor.bgwidth_110 .l-section-img {
  width: 110%;
}
.l-section.parallax_hor.bgwidth_120 .l-section-img {
  width: 120%;
}
.l-section.parallax_hor.bgwidth_140 .l-section-img {
  width: 140%;
}
.l-section.parallax_hor.bgwidth_150 .l-section-img {
  width: 150%;
}

/* SECTION: with video */
.l-section.with_video {
  overflow: hidden;
}
.l-section.with_video .l-section-img {
  background-attachment: scroll !important;
}

/* Responsive Columns
   ========================================================================== */

.g-cols:before,
.g-cols:after {
  display: table;
  line-height: 0;
  content: "";
}
.g-cols:after {
  clear: both;
}
.g-cols > div {
  float: left;
  width: 100%;
}

/* OFFSET small */
.g-cols.offset_small > div:first-child,
.g-cols.offset_small > div.full-width {
  margin-left: 0;
}
.g-cols.offset_small > .one-half {
  width: 48%;
}
.g-cols.offset_small > .one-third {
  width: 30.6666%;
}
.g-cols.offset_small > .two-thirds {
  width: 65.3333%;
}
.g-cols.offset_small > .one-quarter {
  width: 22%;
}
.g-cols.offset_small > .three-quarters {
  width: 74%;
}
.g-cols.offset_small > .one-fifth {
  width: 16.8%;
}
.g-cols.offset_small > .two-fifths {
  width: 37.6%;
}
.g-cols.offset_small > .three-fifths {
  width: 58.4%;
}
.g-cols.offset_small > .four-fifths {
  width: 79.2%;
}
.g-cols.offset_small > .one-sixth {
  width: 13.3333%;
}
.g-cols.offset_small > .five-sixths {
  width: 82.6666%;
}

/* OFFSET medium */
.g-cols.offset_medium > div {
  margin-left: 6%;
}
.g-cols.offset_medium > div:first-child,
.g-cols.offset_medium > div.full-width {
  margin-left: 0;
}
.g-cols.offset_medium > .one-half {
  width: 47%;
}
.g-cols.offset_medium > .one-third {
  width: 29.3333%;
}
.g-cols.offset_medium > .two-thirds {
  width: 64.6666%;
}
.g-cols.offset_medium > .one-quarter {
  width: 20.5%;
}
.g-cols.offset_medium > .three-quarters {
  width: 73.5%;
}
.g-cols.offset_medium > .one-fifth {
  width: 15.2%;
}
.g-cols.offset_medium > .two-fifths {
  width: 36.4%;
}
.g-cols.offset_medium > .three-fifths {
  width: 57.6%;
}
.g-cols.offset_medium > .four-fifths {
  width: 78.8%;
}
.g-cols.offset_medium > .one-sixth {
  width: 11.6666%;
}
.g-cols.offset_medium > .five-sixths {
  width: 82.3333%;
}

/* OFFSET large */
.g-cols.offset_large > div {
  margin-left: 8%;
}
.g-cols.offset_large > div:first-child,
.g-cols.offset_large > div.full-width {
  margin-left: 0;
}
.g-cols.offset_large > .one-half {
  width: 46%;
}
.g-cols.offset_large > .one-third {
  width: 28%;
}
.g-cols.offset_large > .two-thirds {
  width: 64%;
}
.g-cols.offset_large > .one-quarter {
  width: 19%;
}
.g-cols.offset_large > .three-quarters {
  width: 73%;
}
.g-cols.offset_large > .one-fifth {
  width: 13.6%;
}
.g-cols.offset_large > .two-fifths {
  width: 35.2%;
}
.g-cols.offset_large > .three-fifths {
  width: 56.8%;
}
.g-cols.offset_large > .four-fifths {
  width: 78.4%;
}
.g-cols.offset_large > .one-sixth {
  width: 10%;
}
.g-cols.offset_large > .five-sixths {
  width: 82%;
}

/* OFFSET none */
.g-cols.offset_none:after,
.g-cols.offset_none:before {
  display: none;
}
.g-cols.offset_none > .one-half {
  width: 50%;
}
.g-cols.offset_none > .one-third {
  width: 33.3333%;
}
.g-cols.offset_none > .two-thirds {
  width: 66.6666%;
}
.g-cols.offset_none > .one-quarter {
  width: 25%;
}
.g-cols.offset_none > .three-quarters {
  width: 75%;
}
.g-cols.offset_none > .one-fifth {
  width: 20%;
}
.g-cols.offset_none > .two-fifths {
  width: 40%;
}
.g-cols.offset_none > .three-fifths {
  width: 60%;
}
.g-cols.offset_none > .four-fifths {
  width: 80%;
}
.g-cols.offset_none > .one-sixth {
  width: 16.6666%;
}
.g-cols.offset_none > .five-sixths {
  width: 83.3333%;
}

/* Input Elements
   ========================================================================== */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
  vertical-align: top;
  width: 100%;
  outline: 0;
}
select[multiple="multiple"] {
  height: auto;
}
textarea {
  height: 120px;
  resize: vertical;
}
label,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

/* Buttons
   ========================================================================== */

.w-btn,
button,
input[type="submit"] {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  outline: 0;
}

/* ActionBox
   ========================================================================== */

.w-actionbox {
  text-align: center;
  position: relative;
  width: 100%;
}
.w-actionbox h2 {
  margin: 0;
}

/* CONTROLS right */
.w-actionbox.controls_right {
  display: table;
  text-align: left;
}
.w-actionbox.controls_right .w-actionbox-text {
  display: table-cell;
  vertical-align: middle;
}
.w-actionbox.controls_right .w-actionbox-controls {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  white-space: nowrap;
}

/* Blog
   ========================================================================== */

.w-blog-list:after {
  display: table;
  content: "";
  clear: both;
}
.w-blog-post-h {
  position: relative;
}
.w-blog-post:after {
  display: table;
  content: "";
  clear: both;
}
.w-blog-post-preview {
  display: block;
  position: relative;
  background-size: cover;
  background-position: 50% 25%;
}
.w-blog-post-preview > img {
  display: block;
  float: none !important;
  margin: 0 !important;
  width: 100%;
}
.w-blog-post-preview-icon {
  display: none;
  height: 0;
  width: 100%;
}
.w-blog-post-meta > time,
.w-blog-post-meta > span {
  display: inline-block;
  vertical-align: top;
}
.w-blog-post-meta-date,
.w-blog-post-meta-comments {
  white-space: nowrap;
}
.w-blog-post-content *:last-child {
  margin-bottom: 0 !important;
}
.w-blog-post-content .l-section,
.w-blog-post-content .l-section-h {
  padding: 0 !important;
}

/* LAYOUT large */
.w-blog.layout_large .w-blog-post-link {
  display: block;
}

/* LAYOUT small circle & small square */
.w-blog.layout_smallcircle .w-blog-post-preview {
  border-radius: 50%;
  overflow: hidden;
}
.w-blog.layout_smallcircle .w-blog-post-preview,
.w-blog.layout_smallsquare .w-blog-post-preview {
  display: block;
  float: left;
  width: 30%; /* Temp */
}
.w-blog.layout_smallcircle .w-blog-post-preview-icon,
.w-blog.layout_smallsquare .w-blog-post-preview-icon {
  display: block;
  padding-bottom: 100%;
}
.w-blog.layout_smallcircle .w-blog-post-title,
.w-blog.layout_smallsquare .w-blog-post-title {
  margin-left: 35%; /* Temp */
  padding-top: 0;
}
.w-blog.layout_smallcircle .w-blog-post-body,
.w-blog.layout_smallsquare .w-blog-post-body {
  margin-left: 35%; /* Temp */
}

/* LAYOUT masonry */
.w-blog.layout_masonry .w-blog-post {
  float: left;
}
.w-blog.layout_masonry .w-blog-post-link {
  display: block;
}

/* LAYOUT grid */
.w-blog.layout_grid .w-blog-list {
  font-size: 0;
}
.w-blog.layout_grid .w-blog-post {
  display: inline-block;
  vertical-align: top;
  font-size: 14px; /* Temp */
}
.w-blog.layout_grid .w-blog-post-link {
  display: block;
}

/* LAYOUT compact */
.w-blog.layout_compact .w-blog-post-title,
.w-blog.layout_compact .w-blog-post-body,
.w-blog.layout_compact .w-blog-post-meta,
.w-blog.layout_compact .w-blog-post-meta > * {
  display: inline;
  vertical-align: baseline;
}

/* LAYOUT latest */
.w-blog.layout_latest .w-blog-list {
  font-size: 0;
}
.w-blog.layout_latest .w-blog-post {
  display: inline-block;
  vertical-align: top;
  font-size: 14px; /* Temp */
}

/* Comments
   ========================================================================== */

.w-comments-title a {
  border-bottom: 1px dotted;
}
.w-comments-list:after {
  content: "";
  display: table;
  clear: both;
}
.w-comments-item {
  position: relative;
  overflow: hidden;
}
.w-comments-item-meta:after {
  content: "";
  display: table;
  clear: both;
}
.w-comments-item-icon {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  line-height: 0;
}
.w-comments-item-author {
  float: left;
}

/* Gallery
   ========================================================================== */

.w-gallery-list {
  font-size: 0;
}
.w-gallery-item {
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: 100%;
}
.w-gallery-item img {
  display: block;
  margin: 0 auto;
  width: 100%;
}
.w-gallery-item-title {
  display: none;
  font-size: 14px; /* Temp */
}

/* COLUMNS */
.w-gallery.columns_2 .w-gallery-item {
  width: 50%;
}
.w-gallery.columns_3 .w-gallery-item {
  width: 33.3333%;
}
.w-gallery.columns_4 .w-gallery-item {
  width: 25%;
}
.w-gallery.columns_5 .w-gallery-item {
  width: 20%;
}
.w-gallery.columns_6 .w-gallery-item {
  width: 16.6666%;
}
.w-gallery.columns_7 .w-gallery-item {
  width: 14.2857%;
}
.w-gallery.columns_8 .w-gallery-item {
  width: 12.5%;
}
.w-gallery.columns_9 .w-gallery-item {
  width: 11.1111%;
}
.w-gallery.columns_10 .w-gallery-item {
  width: 10%;
}

/* IconBox
   ========================================================================== */

.w-iconbox {
  position: relative;
}
.w-iconbox-link {
  display: inline;
}
.w-iconbox-icon {
  text-align: center;
  margin: 0 auto;
}
.w-iconbox-icon i {
  vertical-align: top;
  line-height: inherit;
}
.w-iconbox-icon img {
  vertical-align: middle;
  line-height: inherit;
}
.w-iconbox .w-iconbox-title {
  margin-bottom: 0;
}

/* ICONPOS top */
.w-iconbox.iconpos_top {
  text-align: center;
  margin: 0 auto;
}

/* ICONPOS left */
.w-iconbox.iconpos_left {
  text-align: left;
}
.w-iconbox.iconpos_left:after {
  display: table;
  content: "";
  clear: both;
}
.w-iconbox.iconpos_left .w-iconbox-icon {
  float: left;
}

/* ICONTYPE img */
.w-iconbox.icontype_img .w-iconbox-icon {
  font-size: 0 !important;
}

/* Lang
   ========================================================================== */

.w-lang {
  position: relative;
}
.w-lang-item {
  text-align: left;
  padding: 0 10px;
  white-space: nowrap;
}
.w-lang-item-icon,
.w-lang-item-title {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}
.w-lang-item-icon img {
  display: block;
}
.w-lang-current {
  display: none;
}

/* LAYOUT dropdown */
.w-lang.layout_dropdown .w-lang-list {
  display: none;
  position: absolute;
}
.w-lang.layout_dropdown .w-lang-item,
.w-lang.layout_dropdown .w-lang-current {
  display: block;
}

/* Logo
   ========================================================================== */

.w-logo {
  clear: both;
  position: relative;
}
.w-logo-link {
  display: block;
  font-size: 0;
}
.w-logo-img {
  display: inline-block;
  vertical-align: middle;
}
.w-logo-title {
  display: none;
}

/* WITH title (show logo text) */
.w-logo.with_title .w-logo-img {
  display: none;
}
.w-logo.with_title .w-logo-title {
  display: block;
}

/* Message Box
   ========================================================================== */

.w-message {
  position: relative;
  text-align: left;
}
.w-message-icon {
  display: none;
  text-align: center;
}
.w-message-close {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  cursor: pointer;
}
.w-message-body p:last-child {
  margin: 0 !important;
}

/* WITH icon */
.w-message.with_icon .w-message-icon {
  display: table-cell;
  vertical-align: middle;
}
.w-message.with_icon .w-message-body {
  display: table-cell;
  vertical-align: middle;
}

/* WITH close */
.w-message.with_close .w-message-close {
  display: block;
}

/* TYPE */
.w-message.type_error {
  background-color: #ffd9d9;
  color: #a24141;
}
.w-message.type_success {
  background-color: #c9f7b2;
  color: #587549;
}
.w-message.type_info {
  background-color: #cef;
  color: #3a648e;
}
.w-message.type_attention {
  background-color: #fff2b2;
  color: #846534;
}

/* Nav
   ========================================================================== */

.w-nav:after {
  content: "";
  display: block;
  clear: both;
}
.w-nav-control {
  display: none;
}
.w-nav-list {
  display: block;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS devices */
}
.g-html .w-nav-list {
  list-style: none;
  margin: 0;
}
.w-nav-list.level_2 {
  display: none;
  position: absolute;
  left: auto;
  top: auto;
  z-index: 10;
}
.w-nav-list.level_3 {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 11;
}
.w-nav-list.level_4 {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 12;
}
.w-nav-item {
  display: block;
  position: relative;
  text-align: left;
}
.w-nav-anchor {
  display: block;
  overflow: hidden;
  position: relative;
}

/* LAYOUT hor (horizontal layout) */
.w-nav.layout_hor > .w-nav-list:after {
  display: table;
  content: "";
  clear: both;
}
.w-nav.layout_hor > .w-nav-list > .w-nav-item {
  float: left;
}

/* WIDTH stretch (width: 100%, list acts like a table) */
.w-nav.layout_hor.width_stretch > .w-nav-list {
  display: table;
  width: 100%;
}
.w-nav.layout_hor.width_stretch > .w-nav-list > .w-nav-item {
  float: none;
  display: table-cell;
}
.w-nav.layout_hor.width_stretch > .w-nav-list > .w-nav-item > .w-nav-anchor {
  text-align: center;
}

/* LAYOUT ver (vertical layout) */
.w-nav.layout_ver .w-nav-list.level_2 {
  left: 100%;
  top: 0;
}

/* TYPE mobile */
.w-nav.type_mobile .w-nav-list {
  overflow-y: hidden;
}

/* COLUMNS (dropdown list divides by columns) */
.w-nav.layout_hor.type_desktop [class*="columns"] {
  position: static;
}
.w-nav.type_desktop [class*="columns"] .w-nav-list.level_2 {
  font-size: 0;
  line-height: 0;
  text-align: left;
}
.w-nav.layout_hor.type_desktop [class*="columns"] .w-nav-list.level_2 {
  left: 0;
  right: 0;
  width: 100%;
}
.w-nav.type_desktop [class*="columns"] .w-nav-item.level_2 {
  display: inline-block;
  vertical-align: top;
}
.w-nav.type_desktop .columns_2 .w-nav-item.level_2 {
  width: 50%;
}
.w-nav.type_desktop .columns_3 .w-nav-item.level_2 {
  width: 33.3333%;
}
.w-nav.type_desktop .columns_4 .w-nav-item.level_2 {
  width: 25%;
}
.w-nav.type_desktop .columns_5 .w-nav-item.level_2 {
  width: 20%;
}
.w-nav.type_desktop [class*="columns"] .w-nav-list.level_3 {
  display: block;
  position: static;
}

/* DROP left (drops sublevel list of item to the left) */
.w-nav-item.level_1.drop_left .w-nav-list.level_2 {
  right: 0;
}
.w-nav-item.level_2.drop_left .w-nav-list.level_3,
.w-nav-item.level_3.drop_left .w-nav-list.level_4 {
  left: auto;
  right: 100%;
}

/* DROP top (drops sublevel list of item to the top) */
.w-nav-item.level_1.drop_top .w-nav-list.level_2,
.w-nav-item.level_2.drop_top .w-nav-list.level_3,
.w-nav-item.level_3.drop_top .w-nav-list.level_4 {
  top: auto;
  bottom: 0;
}

/* Person
   ========================================================================== */

.w-person {
  text-align: center;
  margin: 0 auto;
  position: relative;
}
.w-person-image {
  position: relative;
}
.w-person-image img {
  display: block;
}
.w-person-links {
  font-size: 0;
  width: 100%;
}
.w-person-links-item {
  display: inline-block;
  vertical-align: top;
}

/* Portfolio
   ========================================================================== */

.w-portfolio-list {
  position: relative;
}
.w-portfolio-list:after {
  content: "";
  display: block;
  clear: both;
}
.w-portfolio-item {
  float: left;
}
.w-portfolio-item-anchor {
  display: block;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.w-portfolio-item.loading .w-portfolio-item-anchor {
  background: none !important;
  color: inherit !important;
}
.w-portfolio-item-anchor:before {
  display: block;
  content: "";
}
.w-portfolio-item-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: inherit;
}
.w-portfolio-item-image img {
  display: none;
}
.w-portfolio-item-image.second {
  display: none;
}
.w-portfolio-item-meta {
  position: relative;
  z-index: 1;
  background-color: inherit;
}
.w-portfolio-item-meta-h {
  background-color: inherit;
}
.w-portfolio-item-title {
  margin-bottom: 0;
}
.w-portfolio-item-text {
  display: block;
}

/* COLUMNS */
.w-portfolio.columns_5 .w-portfolio-item {
  width: 20%;
}
.w-portfolio.columns_5 .w-portfolio-item.size_2x1,
.w-portfolio.columns_5 .w-portfolio-item.size_2x2 {
  width: 40%;
}
.w-portfolio.columns_4 .w-portfolio-item {
  width: 25%;
}
.w-portfolio.columns_4 .w-portfolio-item.size_2x1,
.w-portfolio.columns_4 .w-portfolio-item.size_2x2 {
  width: 50%;
}
.w-portfolio.columns_3 .w-portfolio-item {
  width: 33.3333%;
}
.w-portfolio.columns_3 .w-portfolio-item.size_2x1,
.w-portfolio.columns_3 .w-portfolio-item.size_2x2 {
  width: 66.6666%;
}
.w-portfolio.columns_2 .w-portfolio-item {
  width: 50%;
}
.w-portfolio.columns_2 .w-portfolio-item.size_2x1,
.w-portfolio.columns_2 .w-portfolio-item.size_2x2 {
  width: 100%;
}

/* RATIO */
.w-portfolio.ratio_1x1 .w-portfolio-item-anchor:before {
  padding-bottom: 100%;
}
.w-portfolio.ratio_16x9 .w-portfolio-item-anchor:before {
  padding-bottom: 56.25%;
}
.w-portfolio.ratio_3x2 .w-portfolio-item-anchor:before {
  padding-bottom: 66.6666%;
}
.w-portfolio.ratio_4x3 .w-portfolio-item-anchor:before {
  padding-bottom: 75%;
}
.w-portfolio.ratio_2x3 .w-portfolio-item-anchor:before {
  padding-bottom: 150%;
}
.w-portfolio.ratio_3x4 .w-portfolio-item-anchor:before {
  padding-bottom: 133.3333%;
}
@media (min-width: 481px) {
  .w-portfolio.ratio_1x1
    .w-portfolio-item.size_1x2
    .w-portfolio-item-anchor:before {
    padding-bottom: 200%;
  }
  .w-portfolio.ratio_1x1
    .w-portfolio-item.size_2x1
    .w-portfolio-item-anchor:before {
    padding-bottom: 50%;
  }
  .w-portfolio.ratio_16x9
    .w-portfolio-item.size_1x2
    .w-portfolio-item-anchor:before {
    padding-bottom: 112.5%;
  }
  .w-portfolio.ratio_16x9
    .w-portfolio-item.size_2x1
    .w-portfolio-item-anchor:before {
    padding-bottom: 28.125%;
  }
  .w-portfolio.ratio_3x2
    .w-portfolio-item.size_1x2
    .w-portfolio-item-anchor:before {
    padding-bottom: 133.3333%;
  }
  .w-portfolio.ratio_3x2
    .w-portfolio-item.size_2x1
    .w-portfolio-item-anchor:before {
    padding-bottom: 33.33333%;
  }
  .w-portfolio.ratio_4x3
    .w-portfolio-item.size_1x2
    .w-portfolio-item-anchor:before {
    padding-bottom: 150%;
  }
  .w-portfolio.ratio_4x3
    .w-portfolio-item.size_2x1
    .w-portfolio-item-anchor:before {
    padding-bottom: 37.5%;
  }
  .w-portfolio.ratio_2x3
    .w-portfolio-item.size_1x2
    .w-portfolio-item-anchor:before {
    padding-bottom: 300%;
  }
  .w-portfolio.ratio_2x3
    .w-portfolio-item.size_2x1
    .w-portfolio-item-anchor:before {
    padding-bottom: 75%;
  }
  .w-portfolio.ratio_3x4
    .w-portfolio-item.size_1x2
    .w-portfolio-item-anchor:before {
    padding-bottom: 266.6666%;
  }
  .w-portfolio.ratio_3x4
    .w-portfolio-item.size_2x1
    .w-portfolio-item-anchor:before {
    padding-bottom: 66.6666%;
  }
}

/* RATIO initial */
.w-portfolio.ratio_initial .w-portfolio-item.loading .w-portfolio-item-anchor {
  padding-top: 100%;
}
.w-portfolio.ratio_initial .w-portfolio-item-anchor:before {
  display: none;
}
.w-portfolio.ratio_initial .w-portfolio-item-image {
  position: static;
  background-image: none !important;
}
.w-portfolio.ratio_initial .w-portfolio-item-image img {
  display: block;
  width: 100%;
}

/* Pricing
   ========================================================================== */

.w-pricing {
  display: table;
  table-layout: fixed;
  width: 100%;
  position: relative;
}
.w-pricing-item {
  display: table-cell;
  vertical-align: top;
  text-align: center;
}

/* Separator
   ========================================================================== */

.w-separator {
  font-size: 0;
  text-align: center;
  overflow: hidden;
  clear: both;
}
.w-separator-h {
  display: inline-block;
  vertical-align: top;
  line-height: inherit;
  position: relative;
  border-color: inherit;
  color: inherit;
}
.w-separator-h:before,
.w-separator-h:after {
  content: "";
  display: inline-block;
  vertical-align: top;
  position: absolute;
  height: 0;
  width: 2000px;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: inherit;
}
.w-separator-h:before {
  right: 100%;
  margin-right: 15px; /* temp */
}
.w-separator-h:after {
  left: 100%;
  margin-left: 15px; /* temp */
}
.w-separator-h i {
  vertical-align: top;
}
.w-separator-h h6 {
  display: inline-block;
  vertical-align: top;
  line-height: inherit;
  margin: 0;
}

/* TYPE invisible */
.w-separator.type_invisible .w-separator-h {
  display: none;
}

/* TYPE short */
.w-separator.type_short {
  width: 30%; /* temp */
  margin-left: auto !important;
  margin-right: auto !important;
}

/* TYPE fullwidth */
.w-separator.type_fullwidth {
  overflow: visible;
}

/* CONT none */
.w-separator.cont_none .w-separator-h:before {
  margin-right: 0;
}
.w-separator.cont_none .w-separator-h:after {
  margin-left: 0;
}

/* Socials
   ========================================================================== */

.w-socials-list {
  font-size: 0;
}
.w-socials-item {
  display: inline-block;
  vertical-align: top;
  position: relative;
}
.w-socials-item-link {
  display: block;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.w-socials-item-link-hover {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.w-socials-item-link:after,
.w-socials-item-link i {
  display: block;
  line-height: inherit;
  position: relative;
}
.w-socials-item-popup {
  position: absolute;
  visibility: hidden;
  text-align: center;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
}
.w-socials-item-link:hover + .w-socials-item-popup {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.w-socials-item-popup:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -5px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.8);
}

/* Tabs
   ========================================================================== */

.w-tabs-list {
  position: relative;
}
.w-tabs-item {
  position: relative;
  text-align: center;
  cursor: pointer;
}
.w-tabs-item i {
  line-height: inherit;
  vertical-align: top;
}
.w-tabs-item-title {
  vertical-align: top;
}
.w-tabs-item-title:empty {
  display: none;
}
.w-tabs-sections {
  position: relative;
  overflow: hidden;
}
.w-tabs-sections-h {
  height: inherit;
}
.w-tabs-section {
  float: left;
}
.w-tabs-section-header {
  display: none;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}
.w-tabs-section.active .w-tabs-section-header {
  cursor: default;
}
.w-tabs.type_togglable .w-tabs-section.active .w-tabs-section-header {
  cursor: pointer;
}
.w-tabs-section-header i {
  line-height: inherit;
  vertical-align: top;
}
.w-tabs-section-title {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  white-space: normal;
}
.w-tabs-section-title:empty {
  display: none;
}
.w-tabs-section-control {
  position: absolute;
}
.w-tabs-section-content-h {
  margin: 0 auto;
  max-width: 1200px; /* temp */
}

/* ACCORDION */
.w-tabs.accordion .w-tabs-list {
  display: none !important;
}
.w-tabs.accordion .w-tabs-sections {
  overflow: visible;
}
.w-tabs.accordion .w-tabs-section {
  float: none;
}
.w-tabs.accordion .w-tabs-section-header {
  display: block;
}
.w-tabs.accordion .w-tabs-section-content {
  display: none;
}
.w-tabs.accordion .w-tabs-section.active .w-tabs-section-content {
  display: block;
}

/* LAYOUT timeline */
.w-tabs.layout_timeline .w-tabs-list-h {
  font-size: 0;
  line-height: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.w-tabs.layout_timeline .w-tabs-item {
  display: inline-block;
  vertical-align: top;
}
.w-tabs.layout_timeline .w-tabs-section-control,
.w-tabs.layout_timeline .w-tabs-section.with_icon .w-tabs-section-title {
  display: none;
}

/* Autoresize height by active tab content */
.w-tabs.autoresize .w-tabs-sections {
  height: auto !important;
}
.w-tabs.autoresize .w-tabs-sections-h {
  position: static !important;
}
.w-tabs.autoresize .w-tabs-section {
  display: none;
}
.w-tabs.autoresize .w-tabs-section.active {
  position: relative;
  display: block;
}

/* NO indents */
.w-tabs-section.no_indents .w-tabs-section-content-h {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none;
}

/* Video
   ========================================================================== */

.w-video-h {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}
.w-video-h iframe,
.w-video-h object,
.w-video-h embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ALIGN center */
.w-video.align_center {
  margin: 0 auto;
}

/* ALIGN right */
.w-video.align_right {
  margin-left: auto;
}

/* RATIO 4X3 (4:3 aspect ratio) */
.w-video.ratio_4x3 .w-video-h {
  padding-bottom: 75%;
}

/* RATIO 3X2 (3:2 aspect ratio) */
.w-video.ratio_3x2 .w-video-h {
  padding-bottom: 66.667%;
}

/* RATIO 1X1 (1:1 aspect ratio square format) */
.w-video.ratio_1x1 .w-video-h {
  padding-bottom: 100%;
}
