/* SASS IMPORTS */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
  display: block;
}

audio, canvas, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
}

body {
  line-height: 1;
}

img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
  border: 0px;
}

/*
ol, ul {
	list-style: none;
}
*/
blockquote,
q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  font-weight: normal;
  text-align: left;
}

a:focus {
  outline: thin dotted;
}

del {
  color: #333;
}

ins {
  background: #fff9c0;
  text-decoration: none;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

small {
  font-size: smaller;
}

svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  /* Chrome 9-, Safari 5-, iOS 4.2-, Android 3-, Blackberry 7- */
  /* Firefox (desktop or Android) 28- */
  box-sizing: border-box;
  /* Firefox 29+, IE 8+, Chrome 10+, Safari 5.1+, Opera 9.5+, iOS 5+, Opera Mini Anything, Blackberry 10+, Android 4+ */
}

.wp-block-image {
  margin-bottom: 7em;
}

.wp-block-image figcaption {
  font-size: 20px;
  text-align: left;
}

/* WORDPRESS INITS */
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] {
  /* just in case */
}

.alignleft {
  float: left;
  margin-right: 5%;
  margin-bottom: 20px;
}

.alignright {
  float: right;
  margin-left: 5%;
  margin-bottom: 20px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  float: left;
  width: 100% !important;
}

/*******************************************************/
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  /* you need to set this to assign to the main element a min height of 100% */
  height: 100%;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  text-rendering: optimizeLegibility;
  margin-top: 0px;
  margin-bottom: 0px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #000;
  background-color: #ededed;
}

body * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body.search-active #search {
  opacity: 1;
  pointer-events: all;
}

body.search-active .icon-close {
  display: block;
}

.wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 30px;
  position: relative;
  display: inline-block;
}

#hero-bg {
  height: 75px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-image: url("../images/ui/hero.webp");
  background-position: 0% 0%;
  background-size: cover;
  background-repeat: no-repeat;
}

#mainheader {
  float: left;
  width: 100%;
  position: relative;
  z-index: 100;
  padding: 15px 20px 10px 20px;
}

#hero-text {
  display: none;
}

body.home #hero-bg {
  height: 100vh;
}

body.home #hero-text {
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#logo {
  background-image: url(../images/logos/karhuveljeni-koodaa-logo.webp);
  background-color: #f3c72c;
  background-size: cover;
  border-radius: 50%;
  -webkit-animation: none;
          animation: none;
}

#landing-logo-container {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#landing-logo-container #logo {
  width: 200px;
  height: 200px;
  -webkit-box-shadow: 0px 1px 7px 3px #000;
          box-shadow: 0px 1px 7px 3px #000;
}

#header-logo-container #logo {
  width: 44px;
  height: 44px;
  float: left;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 2px solid #FFF;
  margin-right: 10px;
}

#header-logo-container #logo:hover {
  background-color: #c7a117;
}

#content {
  width: 100%;
  float: left;
  padding-bottom: 50px;
  padding-left: 3%;
  padding-right: 3%;
}

main {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding-top: 70px;
  padding-bottom: 20px;
}

main.with-aside {
  float: right;
  width: 78%;
}

aside {
  float: left;
  width: 20%;
}

article,
.article-image,
.article-header,
.article-content {
  float: left;
  width: 100%;
}

.article-header {
  margin-bottom: 40px;
}

footer {
  clear: both;
  width: 100%;
  float: left;
  text-align: center;
  padding-top: 70px;
  padding-bottom: 50px;
  padding-left: 30px;
  padding-right: 30px;
  background-color: #2b5772;
}

.footer-content {
  width: 100%;
  margin-bottom: 30px;
}

#footer-content p {
  color: #fff;
}

.ubermenu-skin-none {
  font-size: 12px;
}

.ubermenu-skin-none.ubermenu-responsive-toggle {
  background: #2b5772;
  color: #fff;
  font-size: 16px;
}

/* Menu Bar */
.ubermenu-skin-none {
  border: none;
  background: #2b5772;
}

/* Current Top Level Menu Item */
.ubermenu-skin-none .ubermenu-item-level-0.ubermenu-current-menu-item > .ubermenu-target,
.ubermenu-skin-none .ubermenu-item-level-0.ubermenu-current-menu-parent > .ubermenu-target,
.ubermenu-skin-none .ubermenu-item-level-0.ubermenu-current-menu-ancestor > .ubermenu-target {
  color: #fff;
  background: #143245;
}

/* Top Level Highlight */
.ubermenu-skin-none .ubermenu-item.ubermenu-item-level-0 > .ubermenu-highlight {
  color: #fff;
  background: #143245;
}

/* Top Level Items */
.ubermenu-skin-none .ubermenu-item-level-0 > .ubermenu-target {
  font-weight: normal;
  color: #fff;
  text-transform: uppercase;
  border-left: none;
  font-size: 16px;
}

/* The first top level item */
.ubermenu-skin-none .ubermenu-item-level-0:first-child > .ubermenu-target {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.ubermenu-skin-none .ubermenu-item-level-0:hover > .ubermenu-target,
.ubermenu-skin-none .ubermenu-item-level-0.ubermenu-active > .ubermenu-target {
  background: #1e1f1b;
}

.ubermenu-skin-none .ubermenu-submenu.ubermenu-submenu-drop {
  background: #222;
}

.ubermenu-skin-none .ubermenu-submenu,
.ubermenu-skin-none .ubermenu-submenu .ubermenu-target {
  color: #ccc;
  font-size: 15px;
}

.ubermenu-skin-none .ubermenu-submenu:hover,
.ubermenu-skin-none .ubermenu-submenu .ubermenu-target:hover {
  color: #fff;
}

.ubermenu-skin-none .ubermenu-submenu .ubermenu-current-menu-item > .ubermenu-target {
  color: #25c1e7;
}

.ubermenu-skin-none .ubermenu-submenu .ubermenu-current-menu-item > .ubermenu-target:hover {
  color: #fff;
}

.search-icon {
  color: #fff;
  padding: 7px;
  cursor: pointer;
  background-color: #c7a117;
  border-radius: 50%;
  font-size: 24px;
  position: relative;
  margin: 0px;
  border: 2px solid #FFF;
  margin-top: 1px;
}

.search-icon:hover {
  background-color: #f3c72c;
}

.icon-open, .icon-close {
  float: right;
}

.icon-close {
  display: none;
  z-index: 20000;
  position: absolute;
  top: 15px;
  right: 20px;
}

body {
  font-family: 'Open Sans', sans-serif;
}

strong {
  font-weight: bold;
}

p, li, figcaption {
  color: #111;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.5em;
  margin-bottom: 1em;
  text-align: left;
}

blockquote {
  margin-left: 5%;
  margin: 3% 5% 3% 5%;
}

blockquote p {
  font-weight: bold;
  font-style: italic;
}

aside p, aside li {
  font-size: 15px;
}

#top-bar p {
  line-height: 1em;
}

a {
  outline: none;
  color: #25c1e7;
  text-decoration: none;
}

#content a, footer a {
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

a:focus {
  outline: none;
  text-decoration: underline;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  text-decoration: none;
}

#mainfooter p {
  color: #fff;
  font-size: 17px;
  text-align: center;
}

h1, h2, h3, h4, h4, h6 {
  padding-top: 15px;
  font-style: normal;
  line-height: normal;
  line-height: 1.3em;
  letter-spacing: 0px;
  color: #333;
  clear: both;
  text-align: left;
}

h1, h2, h3, h4, h4, h6,
h1 a, h2 a, h3 a, h4 a, h4 a, h6 a {
  color: #333;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h4 a:hover, h6 a:hover {
  color: #000;
  text-decoration: underline;
}

h1 {
  color: #2a6b35;
  font-size: 35px;
  padding-top: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  clear: both;
}

h2 {
  color: #323331;
  font-size: 27px;
  margin-top: 25px;
  margin-bottom: 30px;
}

h3 {
  color: #1e1f1b;
  font-size: 18px;
  margin-bottom: 20px;
  margin-top: 20px;
  text-transform: uppercase;
}

.box h3 {
  font-size: 16px;
}

h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

h5 {
  font-size: 21px;
  margin-bottom: 20px;
}

h6 {
  font-size: 20px;
  padding-top: 5px;
  margin-bottom: 15px;
}

footer h3 {
  text-align: center;
  color: #fff;
  padding: 0px;
  margin: 0px;
  margin-top: 15px;
}

footer p {
  margin: 0px;
}

p.slogan {
  width: auto;
  display: inline-block;
  color: #333;
  font-size: 20px;
  margin-top: 5px;
  font-weight: bold;
  font-style: italic;
}

ul, ol {
  padding-left: 20px;
  margin: 20px 0px 25px 10px;
}

li {
  margin-bottom: 7px;
}

.cat-list ul {
  margin: 0px;
}

.cat-list li {
  list-style-type: circle;
  margin: 0px;
}

#hero-text h1, #hero-text p {
  text-align: center;
}

#hero-text h1 {
  color: #fff;
  font-size: 63px;
  text-shadow: 3px 3px 3px #002;
  font-weight: 700;
}

#hero-text p {
  color: #f3c72c;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 3px 3px 3px #002;
}

#search h3 {
  text-align: center;
  font-size: 40px;
  color: #fff;
}

pre, code {
  font-family: 'Source Code Pro', monospace;
  background-color: #272822;
  padding: 20px;
  margin-bottom: 20px;
  color: #fff;
}

#search {
  position: absolute;
  top: 0px;
  left: 0px;
  pointer-events: none;
  opacity: 0;
  height: 100vw;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 500;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60%;
}

#search-form {
  float: none;
  width: 100%;
  text-align: center;
}

#search-input {
  display: inline-block;
  font-size: 24px;
  padding: 25px;
  margin-bottom: 20px;
  float: none;
}

#search-form label {
  display: none;
}

#search-field {
  width: 80%;
  max-width: 500px;
  font-size: 14px;
  float: left;
  border-radius: 20px;
  border: none;
  height: 35px;
  margin: 0px;
}

#search-field:hover,
#search-field:focus {
  outline: none;
  border: 2px solid darkgreen;
}

#search-button {
  float: none;
  cursor: pointer;
  font-size: 24px;
  margin-left: auto;
  margin-right: auto;
  background-color: #f3c72c;
}

#search-button:hover {
  cursor: pointer;
  background-color: #c7a117;
}

.warning,
.warning li {
  color: #d11b1b;
}

.success {
  color: #239983;
}

.description {
  font-style: italic;
  color: #777;
}

.not-allowed {
  cursor: not-allowed;
}

.label {
  font-weight: bold;
}

hr {
  width: 100%;
  clear: both;
  margin-top: 15px;
  margin-bottom: 15px;
  float: left;
}

.featured-image {
  float: left;
  margin-bottom: 50px;
  background-size: cover;
  background-color: #f3c72c;
}

.wonderplugin-pdf-iframe {
  margin-bottom: 50px;
}

.featured-image img {
  width: 100%;
  float: left;
}

article .featured-image img {
  width: auto;
  max-height: 900px;
}

.date {
  color: #777;
  font-size: 11px;
  margin-bottom: 5px;
  display: block;
  font-size: 15px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 15px;
  text-align: left;
}

.post-content {
  float: left;
  width: 100%;
  margin-bottom: 20px;
}

ul.contact-list {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

ul.contact-list.some-list li {
  margin-bottom: 15px;
}

#madeby {
  float: left;
  width: 100%;
}

#mainfooter #madeby p {
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 200;
}

.readmore, button {
  font-size: 14px;
  margin-top: 10px;
  float: left;
}

.readmore a,
button,
input[type="submit"] {
  color: #fff;
  background-color: #2b5772;
  padding: 10px;
  display: block;
  border: none;
}

.readmore.warning a {
  background-color: #d11b1b;
}

.readmore a:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #143245;
  text-decoration: none;
  cursor: pointer;
}

.readmore.warning a:hover {
  background-color: #a30505;
}

.readmore, .readmore a, .chk, button, .box, .box .featured-image, .box a.featured-image-container {
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

.tagbut {
  background-color: #25c1e7;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  margin-right: 5px;
}

.tagbut:hover {
  background-color: #14a2c5;
  text-decoration: none;
}

.landing-title {
  position: relative;
  font-weight: 200;
  font-size: 4em;
}

.landing-title .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.2em;
  padding-right: 0.05em;
  padding-bottom: 0.1em;
  overflow: hidden;
}

.landing-title .letter {
  -webkit-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  display: inline-block;
  line-height: 1em;
}

#logo:hover {
  animation: spin 1s reverse ease-in;
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(1turn);
            transform: rotate(1turn);
  }
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(1turn);
            transform: rotate(1turn);
  }
}

.content-boxes {
  float: left;
  width: 100%;
  margin: 0px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0px;
  text-align: justify;
  font-size: 0;
  display: inline-block;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  /* NEW - Chrome */
  display: flex;
  /* NEW, Spec - Opera 12.1, Firefox 20+ */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: start;
      align-content: flex-start;
}

.content-boxes.media-boxes {
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
}

.box {
  display: inline-block;
  width: 24%;
  min-width: 180px;
  margin-right: 1%;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  vertical-align: top;
  background-color: #fff;
}

.box.small {
  width: 24%;
}

.box a.featured-image-container {
  display: block;
  position: relative;
  background-color: #c7a117;
}

.box .featured-image {
  float: none;
  height: 270px;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  border-radius: 7px 7px 0px 0px;
  margin: 0px;
  opacity: 1;
  -webkit-transition: .5s ease;
  transition: .5s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.box.small .featured-image {
  height: 220px;
}

.box .featured-image a {
  display: block;
  height: 100%;
}

.box a.featured-image-container .readmore {
  background-color: #fff;
  color: #2b5772;
  padding: 15px 20px 15px 20px;
  margin: 0px;
  -webkit-transition: .5s ease;
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.box a.featured-image-container:hover .featured-image {
  opacity: 0.3;
}

.box a.featured-image-container:hover .readmore {
  opacity: 1;
}

.box-content {
  padding: 0px 10px 20px 10px;
  float: left;
  width: 100%;
  display: block;
}

.box .box-content p {
  text-align: left;
  font-size: 16px;
  margin: 0px;
  padding: 0px;
  width: 100%;
  line-height: 1.6em;
}

.box-content-group {
  margin-top: 10px;
}

.box-content-group p {
  margin: 0px;
}

.category-box {
  width: 15%;
}

.category-box a {
  background-color: #25c1e7;
  color: #fff;
  display: block;
  padding-top: 30px;
  padding-bottom: 5px;
}

.category-box a:hover {
  background-color: #14a2c5;
  text-decoration: none;
}

.category-box a h3 {
  color: #fff;
  text-align: center;
  text-transform: none;
}

.category-box i {
  font-size: 100px;
}

form {
  float: left;
  width: 100%;
}

div[role="form"] {
  float: left;
  width: 100%;
}

label {
  font-size: 18px;
  color: #000;
  float: left;
  clear: both;
  width: 100%;
  margin-bottom: 10px;
}

input, textarea {
  padding: 7px;
  margin-bottom: 10px;
  line-height: normal;
  overflow: auto;
  vertical-align: top;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 0px;
  padding-bottom: 0px;
  border-radius: 8px;
  border: none;
  float: left;
}

input {
  max-width: 22vw;
  min-height: 35px;
}

#content input[type="text"],
#content input[type="password"] {
  border: 1px solid #666;
}

.login-submit {
  float: left;
  width: 100%;
  margin-top: 10px;
}

textarea {
  max-height: 120px;
  padding: 7px;
}

select {
  padding: 10px;
  border: 1px solid #000;
  line-height: normal;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 10px;
}

select option {
  padding: 10px;
  /* Not working chrome! */
  font-size: 14px;
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  margin-top: 6px;
}

input[type="submit"],
.update_area input[type="submit"] {
  width: auto;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
}

/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 10px 0px 10px 0px;
  margin-top: 10px;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #2b5772;
  border: none;
  border-radius: 5px;
}

/* On mouse-over */
.container:hover input ~ .checkmark {
  background-color: #143245;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2b5772;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 10px;
  top: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* BACK TO TOP */
.top {
  display: inline-block;
  height: 3.0vw;
  width: 3.0vw;
  position: fixed;
  bottom: 40px;
  right: 2vw;
  /* image replacement properties */
  background-color: #2b5772;
  background-image: url(../images/icons/back-to-top.svg);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center 50%;
  visibility: hidden;
  opacity: 0;
  border-radius: 50%;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}

.top:hover {
  background-color: #143245;
}

.top.is-visible, .top.fade-out, .no-touch .top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}

.top.is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
  z-index: 100;
}

.top.fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
}

.no-touch .top:hover {
  background-color: #4e4e4e;
}

/********************************************************/
.unselectable,
.tab .tab-legend > li {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tab {
  width: 100%;
  margin: 20px 0;
  padding: 0 10px;
  overflow: hidden;
}

.tab > .tab-legend,
.tab > .tab-content,
.tab-legend > li,
.tab-content > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tab .tab-legend {
  font-family: Helvetica, Arial, sans-serif;
  overflow: hidden;
}

.tab .tab-legend > li {
  padding: 15px 15px;
  color: #999999;
  font-size: 16px;
  text-transform: uppercase;
  float: left;
  cursor: pointer;
}

.tab .tab-legend > li {
  background-color: #dedede;
}

.tab .tab-legend .active {
  padding: 13px 15px 15px 15px;
  background-color: #FFF;
  color: #dc5147;
}

.tab .tab-content {
  width: 100%;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.tab .tab-content > li {
  position: relative;
  overflow: hidden;
}

/*Horizontal specific*/
.tab-horiz .tab-legend {
  width: 100%;
}

.tab-horiz .tab-legend > li {
  border-top: solid 1px #CCC;
  border-right: solid 1px #CCC;
  border-bottom: solid 1px #CCC;
}

.tab.tab-horiz .tab-legend .active {
  border-top: solid 4px #dc5147;
  border-bottom: 0;
}

.tab-horiz .tab-legend > li:first-child {
  border-left: solid 1px #CCC;
}

.tab-horiz .tab-content {
  width: 100%;
}

/*Vertical specific*/
.tab-vert .tab-legend {
  width: 20%;
  float: left;
}

.tab.tab-vert .tab-legend .active {
  border-left: solid 3px #dc5147;
}

.tab-vert .tab-legend > li {
  width: 100%;
  border-top: solid 1px #CCC;
  border-right: solid 1px #CCC;
}

.tab-vert .tab-legend > li.active {
  border-right: 0;
}

.tab-vert .tab-content {
  width: 80%;
  display: block;
  float: left;
}

.tab-vert .tab-content > li {
  min-height: 100%;
  display: block;
}

/* Ribbon 1 */
.top-cross-ribbon {
  background: #EA4335;
  padding: 7px 50px;
  color: #FFF;
  position: absolute;
  top: 0;
  right: -50px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  border: 1px dashed #FFF;
  -webkit-box-shadow: 0 0 0 3px #EA4335;
          box-shadow: 0 0 0 3px #EA4335;
  margin: 5px;
}

/* Ribbon 2*/
.arrow-ribbon {
  background: #EA4335;
  color: #FFF;
  padding: 7px 50px;
  position: absolute;
  bottom: 10px;
  right: -1px;
}

.arrow-ribbon:before {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  content: "";
  left: -12px;
  border-top: 15px solid transparent;
  border-right: 12px solid #EA4335;
  border-bottom: 15px solid transparent;
  width: 0;
}

/* Ribbon 3 */
.bottom-ribbon {
  background: #EA4335;
  color: #FFF;
  padding: 7px 50px;
  position: absolute;
  bottom: 10px;
  right: -1px;
  border-radius: 20px 0 0 20px;
}

.bottom-ribbon:after {
  position: absolute;
  right: -25px;
  top: -18px;
  bottom: 0;
  z-index: 9999;
  content: "";
  border-bottom: 43px solid #EA4335;
  border-left: 38px solid transparent;
  border-right: 20px solid transparent;
  width: 42px;
  z-index: -1;
}

/*Ribbon 4 */
.half-circle-ribbon {
  background: #EA4335;
  color: #FFF;
  height: 60px;
  width: 60px;
  text-align: right;
  padding-top: 10px;
  padding-right: 10px;
  position: absolute;
  top: -1px;
  right: -1px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  border-radius: 0 0 0 100%;
  border: 1px dashed #FFF;
  -webkit-box-shadow: 0 0 0 3px #EA4335;
          box-shadow: 0 0 0 3px #EA4335;
}

/* Ribbon 5 */
.cross-shadow-ribbon {
  position: absolute;
  background: #EA4335;
  top: -15px;
  padding: 10px;
  margin-left: 10%;
  color: #FFF;
  border-radius: 0 0 2px 2px;
  z-index: 1;
}

.cross-shadow-ribbon:before {
  content: "";
  position: absolute;
  left: -15px;
  right: 0;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-bottom: 15px solid #A42F25;
  border-left: 15px solid transparent;
}

.catbut {
  background-color: #444;
  padding: 10px 10px 10px 10px;
  color: #fff;
  display: block;
}

/* Ribbon 6 */
.cover-ribbon {
  height: 115px;
  width: 115px;
  position: absolute;
  right: -8px;
  top: -8px;
  overflow: hidden;
}

.cover-ribbon .cover-ribbon-inside {
  background: #EA4335;
  color: #FFF;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  position: absolute;
  right: -35px;
  top: 15px;
  padding: 10px;
  min-width: 127px;
  text-align: center;
}

.cover-ribbon .cover-ribbon-inside:before {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid #992C23;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  top: 35px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.cover-ribbon .cover-ribbon-inside:after {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-left: 10px solid #992C23;
  border-bottom: 7px solid transparent;
  position: absolute;
  left: 95%;
  right: 0;
  top: 34px;
  bottom: 0;
  content: "";
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

/* PLUGINS & MODULES OVERRIDES */
.wp-pagenavi {
  float: left;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 10px;
  font-size: 15px;
}

.wp-pagenavi a {
  display: inline-block;
}

.wp-pagenavi a, .wp-pagenavi span {
  border: 1px solid #000;
  padding: 6px 8px;
}

.sf-arrows .sf-with-ul {
  padding: 0px;
}

.mean-container .mean-nav ul li a {
  text-transform: initial;
}

.mean-container .mean-nav ul.sub-menu {
  width: 85%;
  background-color: #616161;
  margin: 0px;
  padding: 15px 10px 15px 10px;
  max-width: initial;
  border: none;
}

.mean-container .mainnav-menu .sub-menu li {
  margin: 0px;
}

.mean-container .mean-nav ul li li a {
  color: #fff;
  font-size: 14px;
  border: none !important;
  padding: 0px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 40px;
}

.mean-container .mainnav-menu .sub-menu li a:hover {
  color: #000;
  background: none;
}

.mean-container .mean-nav ul li a.mean-expand {
  border: none !important;
  background: none !important;
}

div.wpcf7-response-output {
  margin: 20px 0px 20px 0px;
  padding: 10px;
  float: left;
  clear: both;
}

.sf-arrows .sf-with-ul:after {
  content: '+';
  position: relative;
  top: 50%;
  right: 0px;
  margin: 0px;
  padding: 0px 0px 0px 10px;
  height: 0px;
  width: 0px;
  border: none !important;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1200px) {
  #media-search {
    width: 60%;
  }
}

@media screen and (max-width: 950px) {
  #mainnav,
  #mainnav.sticky {
    display: none;
  }
  .mainnav-menu li a {
    font-size: 13px;
  }
  #mainfooter p {
    text-align: center;
  }
  main.with-aside, aside {
    width: 100%;
    float: left;
  }
  aside {
    margin-bottom: 30px;
  }
  .box {
    width: 49%;
  }
}

@media screen and (max-width: 600px) {
  body {
    overflow-wrap: break-word;
  }
  #search-field {
    width: 70%;
  }
  .box {
    width: 100%;
  }
}

/* W8 Phone fix */
@-ms-viewport {
  width: device-width;
}

/*******************************************************/
/* PRINT STYLES */
@media print {
  body, p {
    color: #000;
  }
  #mainheader, #sidenav, #slider, #breadcrumb, footer#mainfooter, .someicons, #filters, .content-boxes, .cd-top {
    display: none;
  }
  .wrapper {
    max-width: 800px;
  }
  #content-wrapper {
    padding: 0px;
  }
  article, aside {
    height: initial;
  }
  #content, #content-main, #content-right {
    width: 100%;
    margin: 0px;
    display: block;
    -webkit-box-shadow: none;
            box-shadow: none;
    border-radius: 0px;
  }
  p, a {
    text-decoration: none;
  }
  .fancy-button, .wpcf7-submit {
    background: none;
    background-color: #1982A5;
  }
  blockquote,
  blockquote:after,
  blockquote:before {
    -webkit-box-shadow: none;
            box-shadow: none;
    background: none;
  }
}

/*******************************************************/
/* ALL IN ONE WORDPRESS SECURITY - MAINTENANCE PAGE */
.aiowps-site-lockout-body {
  text-align: center;
}

.aiowps-site-lockout-box {
  display: inline-block;
  margin-right: auto;
  margin-left: auto;
  max-width: 80%;
  margin-top: 10%;
  padding: 5%;
  border: 2px solid #2b5772;
}

.aiowps-site-lockout-msg {
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  text-align: center;
}

.aiowps-site-lockout-msg h1,
.aiowps-site-lockout-msg h2,
.aiowps-site-lockout-msg h3,
.aiowps-site-lockout-msg p {
  color: #fff;
}

/*******************************************************/
