/*
Theme Name: klienditugi
Theme URI: http://underscores.me/
Author: no11 agency
Author URI: http://www.no11.ee
Description: Custom business theme for Klienditugi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: klienditugi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

klienditugi is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

@font-face {
    font-family: 'Stolzi';
    src: url(http://:/) format("No-IE-404"), url('fonts/stolzi-bold.otf') format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Stolzi';
    src: url(http://:/) format("No-IE-404"), url('fonts/stolzi-medium.otf') format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Stolzi';
    src: url(http://:/) format("No-IE-404"), url('fonts/stolzi-book.otf') format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Stolzi';
    src: url(http://:/) format("No-IE-404"), url('fonts/stolzi-regular.otf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Stolzi';
    src: url(http://:/) format("No-IE-404"), url('fonts/stolzi-light.otf') format("truetype");
    font-weight: lighter;
    font-style: normal;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: 'Stolzi', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
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;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: 424242;
}
.cta-button {
    height:53px;
    padding:0 30px;
    line-height:53px;
    font-weight: 500;
    border:1px solid #424242;
    color:#424242;
    margin: 20px auto 10px auto;
    display:inline-block;
    transition: all .15s linear;
    max-width:200px;
	    font-size: 1.063em;
    font-weight: 600;
}
.ui-state-active .cta-button,
.box-grid:hover .cta-button{
    color:#fff;
    border-color:#fff;
}
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;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: 'Stolzi', sans-serif;
    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"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

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

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

button,
input,
select,
optgroup,
textarea {
    color: 424242;
    font-family: 'Stolzi', sans-serif;
    font-size: 1em;
    font-size: 1rem;
    line-height: 1.5;
}

body,
{
    color: 424242;
    font-family: 'Stolzi', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: 'Stolzi', sans-serif;
    font-size: 0.938em;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: 'Stolzi', sans-serif;
    font-size: 0.938em;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

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

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#content {
	overflow:hidden;
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

figure {
    margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, .8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

select {
    border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a:focus {
    outline: none !Important;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    display: inline-block;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul {
    /* -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); */
    /* box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); */
    float: left;
    position: absolute;
    padding-top: 25px;
    text-align: left;
    margin-left: -15px;
    padding-left: 15px;
    left: -999em;
    padding-top: 25px;
    z-index: 99999;
    z-index: 999999999999;
    background: #fff;
    border-bottom: 2x solid #000;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul ul li {
    margin: 0;
    margin-bottom: 20px;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: block;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

/*--------------------------------------------------------------
# WPML
--------------------------------------------------------------*/
.wpml-ls-slot-4.wpml-ls-current-language:hover, .wpml-ls-slot-4.wpml-ls-current-language:hover a, .wpml-ls-slot-4.wpml-ls-current-language a:hover {
    color: #000000;
    background-color: transparent;
}
.wpml-ls-item span.wpml-ls-display::after {
    content: "▼";
    font-size: 10px;
    padding-left: 3px;
    top: -1px;
    position: relative;
} 
.wpml-ls-item .sub-menu span.wpml-ls-display::after {
    content: "";
    padding-left:0;
    top:0;
    display:none;
}
.wpml-ls-item ul.sub-menu a {

    width:100px;
}
@media (max-width: 860px) {
	.wpml-ls-menu-item .sub-menu {
    display: block!Important;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
    position: static;
    margin: 0 auto!important;
    margin-left: 0;
    padding-left: 0;
    padding: 0;
}

.wpml-ls-menu-item .sub-menu ul {
    position: static;
}
.wpml-ls-menu-item {
    text-align: center;
    margin: 0 auto;
}
.wpml-ls-menu-item .sub-menu a {
    width: 100%!Important;
    margin-left: 0;
}

.wpml-ls-menu-item {
    margin-bottom: 0!Important;
}
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33333%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66667%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28571%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11111%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
## CUSTOM CSS
--------------------------------------------------------------*/

.main-logo {
    width: 75px;
    top: 24px;
    position: absolute;
}

img.logo-img {
    width: 75px;
}

.wide-grid {
    width: 79.9%;
    margin: 0 auto;
    position: relative;
}
.right-men {
    position: absolute;
    right: 0;
}

.main-navigation a {
    color: #424242;
    font-weight: 600;
}

.main-men {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    /* overflow: hidden; */
    position: absolute;
    right: 0;
    left: 0;
}

nav#site-navigation {
    position: absolute;
    top: 46px;
}

header#masthead {
    height: 114px;
    background: #fff;
    position: fixed;
    z-index: 99999;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.main-navigation li {
    margin: 0 7px;
    overflow: visible;
}

.hero-container {
    height: calc(100vh - 114px);
    margin-top: 114px;
    position: relative;
    background-attachment: fixed !Important;
    background-size: cover !Important;
}

.dark-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    color: #fff;
    font-size: 1.500em;
    font-weight: normal;
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.large-logo {
    max-width: 475px;
}

.hero-content {
    text-align: center;
}

.hero-content {
    text-align: center;
    padding-top: 4%;
}

.hero-text {
    padding-top: 4.5%;
}

.button-down {
    text-align: center;
}

.button-down {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 17%;
}

div#primary.upup {
    margin-top: 114px;
}

button {
    background: #424242;
    border: #424242;
    border-radius: 0;
    padding: 17px 55px;
    font-size: 1.188em;
    min-width:235px;
    color: #fff;
    outline: none !Important;
}

.top-box {
    text-align: center;
}

h2 {
    font-size: 2.250em;
    margin: 0;
}

.top-box {
    margin-top: 71px;
}

.klienditugi-menu.current_page_item a {
    font-weight: 700;
}

.top-box p {
    font-size: 1.125em;
    font-weight: 600;
    width: 73%;
    margin: 0 auto;
    color: #666;
}

.top-box h2 {
    margin-bottom: 1.7em;
}
/* header additions for topbar */
#top-bar {
    height: 39px;
    line-height: 39px;
}
@media (max-width: 860px) {
        #top-bar { 
            display:none;
        }
}

.wide-grid.top-bar-grid {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

ul#menu-top-bar {
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu-top-bar a {
    color: #424242;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}

.genphone {
	position: absolute;
left: 1%;
font-size: 13px;
font-weight: 600;
}

.general-phone {
	text-decoration:none;
	color:#424242;
}
header#masthead {
    transition:top .15s linear;
    top:0;
    height:143px;
}
header#masthead.lower {
    top: -39px;
} 
.hero-container {
    height: calc(100vh - 143px);
    margin-top: 143px;
}
.logged-in header {
    margin-top: 32px!important;
}
.top-bar-menu .main-navigation ul ul li {
    margin-bottom: 0;
}
.top-bar-menu .main-navigation ul ul {
    padding-top: 0;
    width: 90px;
}
html:lang(et) li#menu-item-3973 {
    display: inline-block;
} 
li#menu-item-3973 {
    display: none;
}
@media (max-width: 680px) {
header#masthead {
    height: 70px;
}
.hero-container {
    height: 70px;
    margin-top: 70px;
}
header#masthead.lower {
    top: 0px;
} 
}
/* end topbar */

/* template homepage */
.page-template-template-home .box-content {
    display: flex;
    justify-content: center;
}
.page-template-template-home .box-grid:hover .box-logo {
    border-top: none;
}
.page-template-template-home .box-logo {
    padding-top: 0;
    border: none;
    flex: 0.4;
}

.page-template-template-home .box-text {
    flex: 1;
    text-align: left;
    padding: 0 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-template-template-home .box-content p {
    padding: 5px 0;
    margin: 0;
    height: auto;
}
.page-template-template-home .box-text {
    flex: 1;
    text-align: left;
    padding: 0 6%;
    display: flex;
    align-items: center;
}
.page-template-template-home .box-text h3 {
    margin: 0;
}
/* end homepage*/

/* template success */
.page-template-template-fs div#primary.upup {
    margin-top: 134px;
}
.page-template-template-fs .box-content {
    display: flex;
    justify-content: center;
}
.page-template-template-fs .box-grid:hover .box-logo {
    border-top: none;
}
.page-template-template-fs .box-logo {
    padding-top: 0;
    border: none;
    flex: 0.4;
}

.page-template-template-fs .box-text {
    flex: 1;
    text-align: left;
    padding: 0 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-template-template-fs .box-content p {
    padding: 5px 0;
    margin: 0;
    height: auto;
}
.page-template-template-fs .box-text {
    flex: 1;
    text-align: left;
    padding: 0 6%;
    display: flex;
    align-items: center;
}
.page-template-template-fs .box-text h3 {
    margin: 0;
}
/* end success*/ 
.medium-grid {
    width: 69.7%;
    margin: 0 auto;
}

.boxes {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: wrap;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    margin: 0 -18px;
}

.box-grid {
    -webkit-flex-basis: 33.33%;
    -ms-flex-preferred-size: 33.33%;
    flex-basis: 33.33%;
    width: 33.33%;
max-width: 33.33%;;
    padding: 18px;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
}

.box-inner {
    /* padding: 18px; */
    padding: 18px;
    background: #f2f2f2;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    width: 100%;
}

.box-inner-no-hover {
    /* padding: 18px; */
    padding: 18px;
    background: #f2f2f2;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    width: 100%;
	text-align:center;
}

.box-content-no-hover p.higher {
    height: 155px;
}

.ui-state-active .box-inner,
.box-grid:hover .box-inner {
    background: #424242;
}

.ui-state-active p {
    color: #fff;
}

.ui-state-active h3 {
    color: #fff;
}

.ui-state-active .box-logo {
    border-top: 1px solid #fff;
}

.ui-state-active .box-logo span {
    color: #fff;
}

.box-grid:hover .box-content {
    color: #fff;
}

div#tabs-section.info-tabs {
    margin-top: 0;
}

.box-grid:hover .box-logo {
    border-top: 1px solid #fff;
}

.box-content {
    text-align: center;
}

.no-hover {
    pointer-events:none;
}

.box-inner a {
    text-decoration: none;
    color: inherit;
}

.solution.margin-less {
    padding-bottom: 0;
}

.box-logo {
    border-top: 1px solid #424242;
    padding-top: 17px;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

.p-border {
    border-bottom: 1px solid #424242;
    padding-bottom: 23px;
    margin-bottom: 73px;
    margin-left: auto;
    width: 95%;
    margin-right: auto;
}

.box-content p {
    height: 75px;
    font-size: 0.938em;
    padding: 0px 10%;
}

.setmiddle-lg {
	margin-left: 1em;
}

h3 {
    font-size: 1.063em;
    font-weight: 600;
}

/* #kontakt,
div#top-section {
    margin-top: -40px;
    padding-top: 40px;
} */
/* RIPPLE */
.ripple {
    overflow: hidden;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-decoration: none;
    color: initial;
}

a.ripple:focus, .ripple:active {
    -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.r-block {
    display: inline-block;
}

.block {
    display: block;
	width:100%;
}

.rippleEffect {
    position: absolute;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: #fff;
    -webkit-animation: rippleAnim 2s;
    animation: rippleAnim 2s;
}

@keyframes rippleAnim {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
        opacity: 0.4;
    }
    to {
        -webkit-transform: scale3d(100, 100, 1);
        transform: scale3d(100, 100, 1);
        opacity: 0;
    }
}

@-webkit-keyframes rippleAnim {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
        opacity: 0.4;
    }
    to {
        -webkit-transform: scale3d(100, 100, 1);
        transform: scale3d(100, 100, 1);
        opacity: 0;
    }
}

/* SLIDER */
.flexing-flow {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: wrap;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
}

.flexing {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.sliders {
    margin: 0 -18px;
    position: relative;
}
.sliders .slick-track {
    display: flex;
}
.slide .slide-inner {
    height:100%;
    background: #f2f2f2;
}
.slide {
    -webkit-flex-basis: 33.33%;
    -ms-flex-preferred-size: 33.33%;
    flex-basis: 33.33%;
    display: inline-block;
    width: 33.33%;
max-width: 33.33%;;
    padding: 18px;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    position: relative;
    outline:none!important;
}

.slick-nav span {
    background: #231f20;
    color: #fff;
    font-size: 1.875em;
    border-radius: 54px;
    width: 54px !Important;
    height: 54px !Important;
    display: inline-block;
    text-align: center;
    line-height: 54px;
    position: relative;
}

.slick-nav span.ion-chevron-left:before {
    position: relative;
    left: -3px;
}

span.slick-nav {
    position: absolute;
    top: 50%;
}

span.slick-nav.slick-left.slick-arrow {
    left: -6%;
    z-index:1;
}

span.slick-nav.slick-right.slick-arrow {
    right: -6%;
    z-index:1;
}

.slick-list.draggable {
    overflow: hidden;
}

.slide-text h2 {
    font-size: 1.3em;
    margin: 0;
    padding: 76px 5% 59px 5%;
}

.slide-text {
    text-align: center;
    background: #f2f2f2;
	color: #000000;
}

.sliders img {
    display: block;
    max-width: none;
    width: 100%;
}

.gray-back {
    background: #f2f2f2;
}

.inner-medium {
    width: 92%;
    margin: 0 auto;
}

#team .wide-grid.gray-back {
    padding-top: 12px;
}

.person-img.flex,
.person-img.flex-short {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.person-wrap.flexing {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

img.piipol {
    width: 200px;
    height: 200px;
    border-radius: 200px;
    max-width: none;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);

}

.person.flexing {
    width: 50%;
    max-width:50%;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.person.flexing:nth-of-type(even) {
    padding-left: 10%;
}

.person.flexing:nth-of-type(odd) {
    padding-left: 10%;
}

.person-text-inner b {
    display: block;
}

.person-text-inner {
    text-align: left;
    font-size: 1.125em;
    color: #424242;
    padding-left: 40px;
}

.person-text-inner a {
    display: block;
    color: initial;
    text-decoration: none;
}

.person-info.flex {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

span.bottom-margin {
    margin-bottom: 25px;
    display: block;
}

.person.flexing {
    margin-bottom: 50px;
}

.person-wrap .p-border {
    width: 90%;
    color: #666;
}

.inner-grid {
    width: 87.5%;
    margin: 0 auto;
}

.media-header {
    text-align: center;
}

div#team {
    margin-top: 73px;
}

.person-text-inner, .person-text-inner a {
    color: #666;
    float: left;
    display: block !important;
    width: 100%;
}

p.media-p {
    text-align: justify;
    margin-top: 5em;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 5em;
}

.media {
    margin-top: 30px;
}

p.media-p {
    text-align: justify;
    width: 90%;
    margin: 5em auto;
}

.media {
    margin-top: 30px;
    padding-bottom: 4em;
}

.mediaperson {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
    background: #fff;
    margin: 12px;
}

.media-boxes.flexing {
    margin: 0 -12px;
}

.p-border {
    color: #666;
}

.mediaperson .person.flexing {
    padding-left: 17%;
}

h4 {
    color: #424242;
    font-weight: 600;
    font-size: 0.938em;
}

p {
    color: #666;
    line-height: 1.5em;
}

.media-top {
    border-bottom: 1px solid #424242;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 57px;
    margin-top: 4.5em;
}

.download {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 42%;
}

.form-txt {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.form-form {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.form-txt-inner {
    float: right;
    padding-right: 16%;
    font-size: 1.125em;
    color: #666;
    font-weight: 600;
}

.person-text-inner, .person-text-inner a {
    color: #666;
}

.form-txt-inner a {
    color: #666;
    text-decoration: none;
}

#kontakt .top-box p {
    width: 57%;
}

a.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

.wpcf7-form-control-wrap {
    width: 50%;
    float: left;
}
div.wpcf7-mail-sent-ok,
.wpcf7-response-output {
    display: block;
    clear: both;
    position: relative;
    top: 50px;
    margin: 0;
    padding: 0;
}
.your-business input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    border-left: none;
}

.your-phone input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    border-left: none;
}
.send {
    float: left;
    width: 100%;
    text-align: right;
}

.blog-send {
	float: left;
    width: 100%;
    margin-top: 100px;
}

span.wpcf7-form-control-wrap.your-nousolek {
    padding-bottom: 30px;
}

span.wpcf7-form-control-wrap.your-message {
    width: 100%;
    clear: both;
}

input.wpcf7-form-control, textarea.wpcf7-form-control {
    width: 100%;
    border: 1px solid #424242;
    border-radius: 0;
    height: 64px;
    padding-left: 10%;
    margin-bottom: -1px;
    outline: none !Important;
    background: none;
    resize: none;
}

textarea {
    resize: none;
}

textarea.wpcf7-form-control {
    height: 100px;
    padding-left: 5%;
    padding-top: 16px;
    margin-bottom: 40px;
}

input.wpcf7-form-control.wpcf7-submit {
    background: #424242;
    border: #424242;
    border-radius: 0;
    padding: 17px 55px;
    min-width: 236px;
    font-size: 1.188em;
    color: #fff;
    outline: none !Important;
    width: auto;
    height: auto;
}

#kontakt .top-box {
    margin-top: 0;
    padding-top: 71px;
}

#kontakt .person-img.flex-short {
    text-align: right;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.form-txt.with-img {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.with-img .person-info.flex {
    -webkit-box-align: start;
            align-items: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: flex-start;
    text-align: left;
    justify-content: flex-start;
    -webkit-box-pack: flex-start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
}

.with-img .person-img.flex-short {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

.with-img .person-info.flex {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

.with-img .person-text-inner {
    padding-left: 0;
    padding-right:30px;
}

div#kontakt {
    background-attachment: fixed !important;
    background-position: center !Important;
    background-size: cover !Important;
        z-index: 9999;
    position: relative;
}

div#now {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    height: 70px;
    text-align: center;
    background: #fff;
    display: none;
}

#now a {
    color: #666;
}

#now p {
    font-size: 0.9em;
    margin: 0;
    line-height: 70px;
    height: 70px;
}

div#hideit {
    position: absolute;
    right: 5%;
    line-height: 70px;
    font-size: 3em;
}

.wide-grid.footer-copy {
    text-align: right;
    padding-top: 150px;
    padding-bottom: 30px;
}

.wpcf7-response-output {
    border: none !Important;
    padding: 0 !Important;
}

span.wpcf7-not-valid-tip {
    display: none;
}

.wpcf7-form-control.wpcf7-not-valid {
    border: 1px solid red;
}

.person-img.flex-short:hover img,
.person.flexing:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-filter: none;
    filter: none;
}

.person-img.flex-short img,
.person.flexing img {
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

/* ARROWS */
.modal-controls span,
.go-left, .go-right {
    background: #fff;
    color: #231f20;
    font-size: 1.875em;
    border-radius: 54px;
    width: 54px !Important;
    height: 54px !Important;
    display: inline-block;
    text-align: center;
    line-height: 54px;
    position: relative;
    position: absolute;
    z-index: 999;
    top: 38%;
    -webkit-transform: translateY(45%);
        -ms-transform: translateY(45%);
            transform: translateY(45%);
}

.btn-prev {
    position: absolute;
    left: -6%;
    top: 39%;
    -webkit-transform: translateY(39%);
        -ms-transform: translateY(39%);
            transform: translateY(39%);
}

.btn-next {
    position: absolute;
    right: -6%;
    top: 39%;
    -webkit-transform: translateY(39%);
        -ms-transform: translateY(39%);
            transform: translateY(39%);
}

.modal-controls span {
    background: #b3aa0b;
    color: #fff;
}

.site-controls .ion-chevron-left {
    position: relative;
    left: -4px;
}

.site-controls a {
    display: block;
    color: initial;
    color:inherit;
    text-decoration:none;
}

.go-left {
    left: 5%;
	display:none;
}

.go-right {
    right: 5%;
	display: none;
}

/* KLIENDIHALDUS */
.page-template-template-kliendihaldus button {
    background: #6a2d66;
    border: #6a2d66;
}

.content-inner {
    width: 83%;
    margin: 0 auto;
}

.regular-block .wide-grid {
    padding: 5em 0 60px 0;
}

.regular-block h2 {
    margin-bottom: 1.8em;
    text-align: center;
}

.content-inner p {
    font-size: 1.125em;
}

.page-template-template-kliendihaldus .box-content p.higher {
    height: 160px;
}

span.ionicons-select {
    font-size: 111px;
}

.haldus .ui-state-active .box-inner,
.haldus .box-grid:hover .box-inner {
    background: #6a2d66;
}
.page-template-template-kliendihaldus #kontakt strong, .page-template-template-kliendihaldus #kontakt a {
    color: #6a2d66;
}
.box-grid:hover .box-content p {
    color: #fff;
}

.haldus-color {
    color: #6a2d66;
}

.haldus input.wpcf7-form-control.wpcf7-submit,
.haldus-back {
    background: #6a2d66;
}

#tabs-section {
    margin-top: 80px;
    padding-bottom: 100px;
}

.ui-tabs-anchor {
    color: inherit;
    text-decoration: none;
    background:#fff;
}

.white {
    background: #fff;
}

#tabs-section .top-box {
    padding-top: 71px;
    margin-top: 0;
}

.ui-tabs-nav {
    padding-left: 0;
}

#tabs .box-content p {
    font-size: 0.813em;
    padding: 0 0%;
}

#tabs .box-content p {
    font-size: 0.938em;
    padding: 0 0%;
}

.flex {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.righty span {
    display: inline-block !Important;
}
.righty span.value-radio.ion-ios-checkmark-outline {
    visibility: hidden;
}
.ui-tabs-panel {
    background: #6a2d66;
    color: #fff;
    padding: 25px 18px;
    margin-top: 16px;
    margin-bottom: 18px;
}

.tab-list span {
    display: block;
    font-size: 0.938em;
    line-height: 1.7em;
}

span.value-radio {
    margin-right: 10px;
    font-size: 1.063em;
}

.checked span:after {
    content: "\f3fe";
    font-family: ionicons;
    float: right;
    font-size: 1.125em;
}

.tab-list.righty.flex {
    padding-left: 10%;
}

h4.tab-content-title {
    font-size: 1.125em;
    color: #fff;
    text-transform: uppercase;
    margin-top: 0;
    border-bottom: 1px solid #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

/* KLIENDIINFO */
.page-template-template-kliendiinfo button {
    background: #3ea60a;
    border: #3ea60a;
}
.page-template-template-kliendiinfo #kontakt strong, .page-template-template-kliendiinfo #kontakt a {
    color: #3ea60a;
}
.info a {
    color: #3ea60a;
    background:#f2f2f2;
}

.info-menu.current_page_item a, .info-menu:hover a {
    color: #3ea60a;
    font-weight: 600;
}

.info-color {
    color: #3ea60a;
}

.info input.wpcf7-form-control.wpcf7-submit,
.info-back {
    background: #3ea60a;
}

ul.phase-list {
    margin: 0;
    padding: 0;
}

#phases h2.info-color {
    padding-top: 70px;
    text-align: center;
    padding-bottom: 70px;
}

#phases h2.info-color {
    padding-top: 70px;
    text-align: center;
    padding-bottom: 70px;
}

span.number.flex {
    font-size: 2em;
    color: #3ea60b;
    font-weight: bold;
    -webkit-box-flex: 0.12;
    -webkit-flex: 0.12;
    -ms-flex: 0.12;
    flex: 0.12;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

span.list-text.flex {
    padding: 30px 20px;
    background: #fff;
    /* margin-bottom: 20px; */
    height: 102px;
}

ul.phase-list li {
    list-style: none;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 24px;
}

.phase-list-wrap.flexing {
    padding-bottom: 64px;
}

.phaser.list-one.flex {
    padding-right: 20px;
}

.phaser.list-two.flex {
    padding-left: 20px;
}

span.list-text.flex:before {
    content: "";
    width: 0px;
    height: 0px;
    border-top: 15px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 26px solid #fff;
    position: absolute;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(180deg);
    left: -26px;
    bottom: 0;
    margin: 0 auto;
    top: 33px;
}

span.list-text.flex {
    position: relative;
}

.solution p {
    font-size: 1em;
}

.solution h3 {
    margin: 0;
    margin-bottom: 33px;
    font-size: 1em;
}

.solution-block {
    padding-bottom: 9px;
    position: relative;
    padding-left: 70px;
}

.solution-block.bad:before {
    content: "\f405";
    display: inline-block;
    font-family: ionicons;
    font-size: 4.188em;
    color: #ff0000;
    position: absolute;
    top: -23px;
    line-height: 1;
    left: 0px;
}

.ui-tabs-anchor {
    width: 100%;
}

.solution-block.bad {
    margin-top: 20px;
    margin-bottom: 10px;
}

.info-tabs .ui-tabs-panel {
    background: none !Important;
}

.solution-block.good:before {
    content: "\f3fe";
    display: inline-block;
    font-family: ionicons;
    font-size: 4.188em;
    color: #3ea60b;
    position: absolute;
    top: -23px;
    line-height: 1;
    left: 0px;
}

.solution {
    padding-bottom: 93px;
}

.solution-block {
    position: relative;
}

.info .ui-state-active .box-inner,
.info .box-grid:hover .box-inner {
    background: #3ea60b;
}

.haldus-menu.current_page_item a, .haldus-menu:hover a {
    color: #6a2d66;
    font-weight: 600;
}

/* KLIENDIBAAS */
.page-template-template-kliendibaas button {
    background: #b3aa0b;
    border: #b3aa0b;
}
.page-template-template-kliendibaas #kontakt strong, .page-template-template-kliendibaas #kontakt a {
    color: #b3aa0b;
}
.baas .ui-tabs-panel,
.baas .ui-state-active .box-inner,
.baas .box-grid:hover .box-inner {
    background: #b3aa0b;
}

.baas-menu.current_page_item a, .baas-menu:hover a {
    color: #b3aa0b;
    font-weight: 600;
}

.baas-color {
    color: #b3aa0b;
}

.b-slide.slick-slide {
    -webkit-flex-basis: 33.33%;
    -ms-flex-preferred-size: 33.33%;
    flex-basis: 33.33%;
    display: inline-block;
    width: 33.33%;
	max-width: 33.33%;;
    padding: 18px;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    position: relative;
}

.b-slide-cont h3 {
    font-size: 1.563em;
    text-align: center;
}

.b-slide-inner {
    background: #fff;
    margin-bottom: 40px;
}

.b-slide-cont {
    padding: 41px 34px 33px 34px;
}

.baas .sliders img {
    max-width: 131px;
    margin: 0 auto;
    padding: 14px 0px;
}

.b-slide-cont svg {
    max-height: 130px;
    margin: 0 auto;
    display: block;
    color: #fff;
}

.b-slide-cont h3 {
    font-size: 1.563em;
    text-align: center;
    margin: 0;
    margin-bottom: 25px;
}

.b-slide-text p {
    font-size: 1em;
    line-height: 1.5;
    text-align: center;
    color: #424242;
}

.osta-baas p {
    width: 100%;
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 2em;
}

.slick-current .b-slide-inner, .slick-current .b-slide-inner p, .slick-current .b-slide-inner .vat {
    background: #b3aa0b;
    color: #fff;
}

.slick-current svg path {
    fill: #fff !important;
}

.baas a {
    color: #b3aa0b;
    text-decoration: none;
}

.baas .slick-nav span {
    background: #b3aa0b;
}

.baas span.slick-nav {
    position: absolute;
    top: 39%;
}

.baas-slider button {
    padding: 16px 65px;
}

span.vat {
    font-size: 18px;
    color: #666;
    text-align: center;
    display: block;
}

.top-box.osta-baas {
    margin-top: 0;
}

.baas-slider .sliders {
    margin: 0 -35px;
    position: relative;
}

.osta-baas h2 {
    padding-top: 2.2em;
    margin-bottom: 2.4em;
}

.button-baas {
    text-align: center;
}

.b-slide.slick-slide {
    padding: 35px;
}

.baas-boxes .box-grid {
    width: 50%;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width:50%;
}

.baas-boxes p {
    margin-top: 3.5em;
}

.baas-boxes .boxes {
    padding-bottom: 90px;
}

/* .baas #kontakt .medium-grid:before {
    content: "";
    width: 95%;
    height: 1px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #b3aa0b;
    position: absolute;
} */

.baas .p-border {
    border-color: #b3aa0b !Important;
    border-bottom: 1px solid #b3aa0b;
}

.baas #kontakt .medium-grid {
    position: relative;
}

.baas input.wpcf7-form-control.wpcf7-submit {
    background: #b3aa0b;
}

/* E-TURUNDUS */
.page-template-template-eturundus #kontakt strong, .page-template-template-eturundus #kontakt a {
    color: #f66908;
}
.text-wrap.e-turundus-color a {
  color: #f66908!important;
}
.text-wrap.eksport-color a {
  color:#0c2dd1!important;
}
.text-wrap.kliendihaldus-color a {
  color: #6a2d66!important;
}
.text-wrap.kliendiinfo-color a {
  color: #3ea60a!important;
}
.text-wrap.klienditugi-color a {
  color: #424242!important;
}
.text-wrap.kliendiotsing-color a {
  color: #ff0000!important;
}
.text-wrap.kliendibaas-color a {
  color: #b3aa0b!important;
}
.single-post .text-wrap {
  color: #666!important;
}
.single-post .text-wrap h3 {
font-weight:800;
font-size: 1.25em!Important;
    color: #424242!Important;
}
.text-wrap ol li,
.text-wrap ul li {
    font-size: 1.125em;
    margin-bottom: 5px;
}
.text-wrap ol,
.text-wrap ul {
    padding: 0;
}
.text-wrap strong {
    color: #424242;
}
blockquote h3 {
    font-size: 1.125em!Important;
    font-weight: 700!Important;
color: #424242;
}
.page-template-template-eturundus button {
    background: #f66908;
    border: #f66908;
}

.e-turundus-menu.current_page_item a, .e-turundus-menu:hover a {
    color: #f66908;
    font-weight: 600;
}

.eturundus .box-grid:hover .box-inner {
    background: #f66908;
}

.eturundus .box-grid:hover .box-content p {
    color: #fff;
}

.eturundus-color {
    color: #f66908;
}

.etur h2.eturundus-color {
    text-align: center;
    padding-top: 2.2em;
    padding-bottom: 1.8em;
}

.solution.e-solution {
    margin-top: 76px;
    padding-bottom: 0;
}

.etur h2.eturundus-color:nth-of-type(2) {
    padding-top: 1.4em;
    padding-bottom: 1.8em;
}

.etur .first:before {
    content: "\f44f";
}

.etur .solution-block:before {
    color: #f66908 !Important;
    /* left: -2px; */
}

.etur .second:before {
    content: "\f459";
    left: -10px;
}

.solution.e-solution .wide-grid {
    padding-bottom: 59px;
}

.etur .third:before {
    content: "\f471";
}

.eturundus input.wpcf7-form-control.wpcf7-submit {
    background: #f66908;
}
/* KLIENDIOTSING */
.page-template-template-kliendiotsing button {
    background: #ff0000;
    border: #ff0000;
}
.page-template-template-kliendiotsing #kontakt strong, .page-template-template-kliendiotsing #kontakt a {
    color: #ff0000;
}
.otsing-menu.current_page_item a, .otsing-menu:hover a {
    color: #ff0000;
    font-weight: 600;
}

.otsing-box .box-grid {
    width: 50%;
    max-width:50%;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width:50%;
    }

.kliendiotsing .box-grid .box-inner {
    background: #fff;
}

.kliendiotsing .box-grid:hover .box-inner {
    background: #ff0000;
}

.otsing-color {
    color: #ff0000;
}

.kliendiotsing .content-inner {
    width: 100%;
}

.kliendiotsing input.wpcf7-form-control.wpcf7-submit {
    background: #ff0000;
}

div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: -20px;
}

.kliendiotsing .content-inner h2.otsing-color {
    padding-top: 2.5em;
}

.otsing-box h2.otsing-color {
    padding-top: 0.3em;
}

.kliendiotsing .wide-grid.gray-back {
    padding-bottom: 81px;
}

div.wpcf7-validation-errors {
    position: relative;
    top: 17px;
    left: 50px;
}

/* EKSPORT */
.page-template-template-eksport button {
    background: #0c2dd1;
    border: #0c2dd1;
}
.page-template-template-eksport #kontakt strong, .page-template-template-eksport #kontakt a {
    color: #0c2dd1;
}
.eksport-menu.current_page_item a, .eksport-menu:hover a {
    color: #0c2dd1;
    font-weight: 600;
}

.eksport-color {
    color: #0c2dd1;
}

.eksport .box-grid:hover .box-inner {
    background: #0c2dd1;
}

.eksport .box-grid .box-inner {
    background: #fff;
}

.eksport .top-box {
    margin-top: 0;
}

.logo.slick-slide {
    display: inline-block;
}

.logo-slider img.logo-img {
    height: 71px;
    margin: 0 auto;
    display: block;
    width: auto;
    vertical-align: middle;
}

.logo-slider {
    width: 70%;
    margin: 0 auto;
}

.eksport span.slick-nav {
    position: absolute;
    top: 75%;
}

.eksport #kontakt .medium-grid {
    position: relative;
}

.eksport .p-border {
    border-bottom: 1px solid #0c2dd1;
}

/* .eksport #kontakt .medium-grid:before {
    content: "";
    width: 95%;
    height: 1px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #0c2dd1;
    position: absolute;
} */

.eksport-box h2 {
    padding-top: 2.6em;
}

.inner-grid.otsing-box {
    padding-bottom: 4.5em;
}

.logo-slider-wrap h2.eksport-color {
    padding-top: 2.3em;
    padding-bottom: 0.8em;
}

.logo-slider-wrap {
    padding-bottom: 6em;
}

.logo.slick-slide {
    display: inline-block;
}

.eksport .slick-nav span {
    background: #0c2dd1;
}

.eksport span.slick-nav.slick-right {
    right: -8%;
}

.eksport span.slick-nav.slick-left {
    left: -8%;
}

/* BLOG UUDISED */
.blog-picture {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 30vh;
  text-align: center;
  position: relative;
  justify-content: center;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.blog-picture h1 {
  color: #fff!important;
  position:relative;
  width: 125vh;
}

.news-header {
  text-align: center;
}
.content-wrap {
    position: relative;
}
.single-post .blogs a,
.blogs.current_page_item a {
    font-weight: 700;
}
.home .news {
    padding-bottom: 90px;
}
.news-header .p-border {
  margin: 4em auto;
}
.news-articles {
  display: flex;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
}
.social-back.flexing {
    padding-bottom: 90px;
}
.article-heading h3 {
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 0;
}
.article a {
  text-decoration: none;
}
.flex.social-list img {
    width: 38px;
    display: inline-block;
    margin-left: 8px;
}
.flex.social-list {
    text-align: right;
    align-self: flex-end;
}

/* SINGLE - POST */
.single-item .top-box {
    padding-top: 71px;
    margin-top: 0;
}
.page-template-template-blog h2,
.single-item .top-box h2 {
    font-size: 1.688em;
}
.entry-details {
    color: #666;
    margin-bottom: 1.5em;
}
.single-item .article,
.page-template-template-blog .article {
    padding-bottom: 90px;
}
.the_author {
    font-weight: 700;
    color: #424242;
}
.text-wrap {
    padding-right: 26%;
    position: relative;
}
.single-nav {
    position: absolute;
    min-height: 200px;
    max-width: 213px;
    width: 100%;
    background: #fff;
    z-index: 999999999;
    padding: 34px 34px 34px 50px;
    right: 0;
    top: 0;
}
.blog-wide .content-wrap {
    position: relative;
}
.single-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-nav a {
    text-decoration: none;
    color: #424242;
    font-weight: 500;
    padding-bottom: 16px;
    display: inline-block;
}
.single-nav-inner a {
    font-weight: 600;
}
.klienditugi-color {
	color:#424242!Important;
}
.cat-item-14 a,
.kliendihaldus-color {
	color:#6a2d66!Important;
}
.cat-item-9 a,
.kliendiinfo-color {
	color:#3ea60a!Important;
}
.cat-item-10 a,
.kliendibaas-color {
	color:#b3aa0b!Important;
}
.cat-item-15 a,
.e-turundus-color {
	color:#f66908!Important;
}
.cat-item-13 a,
.kliendiotsing-color {
	color:#ff0000!Important;
}
.cat-item-12 a,
.eksport-color {
	color:#0c2dd1!Important;
}
button.klienditugi-color {
	background:#424242!Important;
	    color: #fff!important;
}
button.kliendihaldus-color {
	background:#6a2d66!Important;
	    color: #fff!important;
}
button.kliendiinfo-color {
	background:#3ea60a!Important;
	    color: #fff!important;
}
button.kliendibaas-color {
	background:#b3aa0b!Important;
	    color: #fff!important;
}
button.e-turundus-color {
	background:#f66908!Important;
	    color: #fff!important;
}
button.kliendiotsing-color {
	background:#ff0000!Important;
	    color: #fff!important;
}
button.eksport-color {
	background:#0c2dd1!Important;
	    color: #fff!important;
}
/* BLOG NEWS PAGE */
.single-post .wide-grid,
.blog-wide.wide-grid {
  padding-top: 114px;
}
.page-template-template-blog .inner-medium {
  width: 87%;
}
.blog-links {
  display: flex;
  justify-content: center;
  background: white;
}
.blog-links ul {
  padding: 0;
  margin: 30px;
}
.blog-links li {
  margin: 14px;
}
.blog-links li, .blog-links a{
  text-decoration: none;
  list-style-type: none;
}
.blog-wide h1 {
    color: #424242;
    padding-bottom: 40px;
}
.article {
    flex-basis: 25%;
    flex: 1;
}
.article-heading h3 {
	width:95%;
  min-height: 61px;
}
#toggle-blog {
	display:none;
}
.padding-up-down {
	padding:90px 0;
}
.padding-up {
	padding-top:90px;
}
.no-padding {
	padding-bottom:0;
}
.padding-down {
	padding-top:0;
	padding-bottom:90px;
}
/* MOBILE */
/* MENU */
.button_container {
    position: absolute;
    top: -5px;
    right: 2.5%;
    height: 27px;
    width: 33px;
    cursor: pointer;
    z-index: 100;
    -webkit-transition: opacity .25s ease;
    transition: opacity .25s ease;
}

.button_container:hover {
    opacity: .7;
}

.button_container.active .top {
    -webkit-transform: translateY(11px) translateX(0) rotate(45deg);
    -ms-transform: translateY(11px) translateX(0) rotate(45deg);
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: #404041;
}

#lang_sel_list ul a, #lang_sel_list_list ul a:visited {
    background: none;
    color: #fff;
}

.button_container.active .middle {
    opacity: 0;
    background: #404041;
}

.button_container.active .bottom {
    -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
    -ms-transform: translateY(-11px) translateX(0) rotate(-45deg);
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: #404041;
}

.button_container span {
    background: #404041;
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
    cursor: pointer;
}

.mobile-menu .menu {
    line-height: 45px;
    font-size: 5.5vw;
}

.mobile-menu {
    display: none;
}

.button_container span:nth-of-type(2) {
    top: 11px;
}

.button_container span:nth-of-type(3) {
    top: 22px;
}

.overlay {
    position: fixed;
    background: #fff;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    height: 0%;
    opacity: 0;
    margin-top: 0;
    visibility: hidden;
    -webkit-transition: opacity .2s, visibility .8s, height .2s;
    transition: opacity .2s, visibility .8s, height .2s;
    overflow: hidden;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 400;
    text-align: center;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    position: relative;
    right: 0;
    height: 100%;
    text-align: center;
    width: 100%;
}

.mobile-menu .menu-menu-1-container {
    float: none;
    width: 100%;
}

.mobile-menu .center-menu {
    margin-top: 25%;
}

.mobile-menu .right-side-menu {
    margin-bottom:30px;
}

.menu li {
    margin-bottom: 6px;
}

.overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 4);
    min-height: 35px;
    position: relative;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #404041;
    text-decoration: none;
    overflow: visible;
}

div#overlay {
    z-index: 99;
    padding-bottom:50px;
}

.menu-peamenuu-container,
.menu-peamine-menuu-eng-container {
    text-align: center;
}

.mobile-menu {
    display: none;
}

.desktop-menu {
    display: block;
}

.clickable {
    cursor: pointer;
}

.modals-wrap div.modal-boot:last-of-type .btn-next {
    display: none;
}

span.wpcf7-form-control-wrap.checkbox-949 {
    width: 100%;
    clear: both;
    margin-bottom: 20px;
    margin-left: 0;
    padding-left: 0;
}

div.wpcf7-validation-errors {
    position: relative;
    top: 60px;
    left: -5px;
    clear: both;
}

form p {
    margin: 0;
    padding: 0;
}

span.wpcf7-list-item {
    margin: 0;
}

select.wpcf7-form-control.wpcf7-select.dropdown-menu {
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none;
    min-width: 300px;
    background-image: url(http://telekanalid.ee/wp-content/uploads/2015/11/down_arrow.png);
    background-repeat: no-repeat;
    background-position: right 20px bottom 20px;
    width: 100%;
    border: 1px solid #424242;
    height: 64px;
    padding-left: 5%;
    color: #424242;
    margin-bottom: -1px;
    outline: none !Important;
    background: none;
    resize: none;
}

.modal .send {
    float: left;
    width: 100%;
    text-align: right;
}

button.close {
    position: absolute;
    right: 30px;
    top: 50px;
    z-index: 99;
    color: #424242;
    opacity: 1;
    font-size: 2em;
}

span.wpcf7-form-control-wrap.menu-89 {
    width: 100%;
}

span.wpcf7-form-control-wrap.menu-89:after {
    content: "\f3d0";
    position: absolute;
    top: 24px;
    right: 5%;
    font-family: ionicons;
    color: #424242;
    font-size: 2em;
    font-weight: bold;
}

.modals-wrap div.modal-boot:first-of-type .btn-prev {
    display: none;
}

div#next-btn,
div#prev-btn {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

div#next-btn:hover {
    right: -58px;
}

div#prev-btn:hover {
    left: -58px;
}

.helper {
    margin-top: 113px;
    background: #fff;
}

.modal h3 {
    font-size: 1.125em;
    color: #424242;
    font-weight: 500;
    border-bottom: 1px solid #424242;
    padding-bottom: 10px;
}

.modal .flex:first-of-type {
    padding-right: 3%;
}

.modal .flex:nth-of-type(2) {
    padding-left: 3%;
}

.modal li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.modal ul {
    margin: 0;
    padding: 0;
    color: #b3aa0b;
    font-size: .9em;
    line-height: 1.65em;
}

.modal p {
    color: #b3aa0b;
    font-size: 0.9em;
}

.modal h2 {
    font-size: 1.5em;
    color: #424242;
    font-weight: 600;
    margin-bottom: 2em;
}

.modal-body {
    padding-top: 6em;
}

.modal h4 {
    font-size: 1.125em;
    margin: 8px 0 1em 0;
}

.modal .flex:nth-of-type(2) p a {
    color: #424242;
    text-decoration: underline;
    font-size: 1em;
}

.modal-backdrop.fade.in {
    display: none;
}
.wide-grid.gray-back.news-feed {
	padding-bottom:0;
}
/* RESPONSIVE */
@media (max-width: 1780px) {
    .box-content p {
        font-size: 0.838em;
    }
}

@media (max-width: 1645px) {
    body {
        font-size: 0.85em;
    }

    .wide-grid {
        width: 90.9%;
    }

    .medium-grid {
        width: 87.7%;
        margin: 0 auto;
    }

    .eksport span.slick-nav.slick-left {
        left: 0%;
    }

    .eksport span.slick-nav.slick-right {
        right: 0%;
    }

    span.slick-nav.slick-left.slick-arrow {
        left: -1%;
    }

    span.slick-nav.slick-right.slick-arrow {
        right: -1%;
    }
}

@media (max-width: 1445px) {
    body {
        font-size: 0.75em;
    }
button {
    min-width: 200px;
}
    .btn-prev {
        position: absolute;
        left: -2%;
        top: 39%;
        -webkit-transform: translateY(39%);
            -ms-transform: translateY(39%);
                transform: translateY(39%);
        z-index: 99;
    }
.text-wrap {
    padding-right: 35%;
    position: relative;
}
.single-nav {
	max-width:200px;
}
.article {
    padding-bottom: 70px;
}
    .btn-next {
        right: 2%;
        z-index: 99;
    }

    .wide-grid {
        width: 94.9%;
    }

    .medium-grid {
        width: 91.7%;
        margin: 0 auto;
    }

    .eksport span.slick-nav.slick-right {
        right: 0;
    }

    .eksport span.slick-nav.slick-left {
        left: 0;
    }

    .slider-section .medium-grid {
        width: 75%;
    }

    img.piipol {
        width: 175px;
        height: 175px;
        border-radius: 175px;
    }

    .large-logo {
        max-width: 330px;
    }

    .b-slide.slick-slide {
        padding: 20px;
    }

    .b-slide-cont svg {
        max-height: 100px;
    }

    .baas-slider .sliders {
        margin: 0 -20px;
    }

    .baas-slider span.slick-nav.slick-right.slick-arrow {
        right: -6%;
    }

    .baas-slider span.slick-nav.slick-left.slick-arrow {
        left: -6%;
    }

    .baas-slider .wide-grid.gray-back {
        padding-bottom: 30px;
    }

    .b-slide-cont {
        padding: 31px 24px 23px 24px;
    }

    .hero-text {
        padding-top: 3%;
    }
}
@media (max-width:1160px) {
	.send {
    float: none;
    width: 100%;
    text-align: left;
    padding-top: 20px;
    clear: both;
}
	.wpcf7-form-control-wrap {
    width: 100%;
    float: none;
}
	input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    border: 1px solid #424242!important;
}
}
@media (max-width:1040px) {
	button {
    min-width: 150px;
}
.main-men {
	text-align:left;
}
}
@media (max-width: 860px) {
    .mobile-menu {
        display: block;
    }
.with-img .person-text-inner {
	padding-right:0px;
}
	.minu-klienditugi a {
    display: inline-block!important;
    border: 2px solid;
    padding: 5px 20px;
}
    .modal .flexing {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }
.person.flexing:nth-of-type(odd) {
    padding-left: 5%;
}
.text-wrap {
    padding-right: 0;
}
.blog-wide {
    padding-bottom: 90px;
}
/* MOBILE BLOG NAV */
.single-nav {
    right: -200px;
    top: 120px;
    position:fixed;
    z-index:99;
    transition:all .3s ease-in-out;
}
.single-nav.bring-it-on {
	right:0;
}
#toggle-blog {
    width: 70px;
    height: 60px;
    font-size: 42px;
    color: #000;
    line-height: 60px;
    text-align: center;
    position: absolute;
    background: #fff;
    left: -70px;
    top: 0;
    display: block;
}
.article {
    flex-basis: 50%;
}
.single-item .top-box {
    padding-top: 50px;
    margin-top: 0;
}
.blog-wide h1 {
    padding-bottom: 0;
}
    .modal-controls {
        display: none;
    }

    #now {
        display: none !Important;
    }

    .modal-content {
        height: auto !Important;
        padding: 30px 0;
    }

    .modal .flex:first-of-type {
        padding-right: 0;
    }

    .modal .flex:nth-of-type(2) {
        padding-left: 0;
    }

    .person-text-inner {
        text-align: left;
        font-size: 1em;
        width: 100%;
    }

    .send {
        float: none;
        width: 100%;
        padding-top: 20px;
        text-align: left;
        clear: both;
    }

    .main-navigation ul ul {
        display: none !Important;
    }

    .site-controls {
        display: none;
    }

    .site-controls {
        display: none;
    }

    .desktop-menu {
        display: none;
    }

    .box-grid {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        width: 50%;
        max-width:50%;
    }

    .person-wrap.flexing {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
    }

    .person.flexing:nth-of-type(even) {
        padding-left: 5%;
    }

    .media-boxes.flexing {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .download {
        padding-bottom: 60px;
    }

    .slider-section .medium-grid {
        width: 90%;
    }

    .form-txt-inner {
        float: none;
    }

    .phase-list-wrap.flexing {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .phaser.list-two.flex {
        padding-left: 0;
    }
        .person-img.flex, .person-img.flex-short,
    .person.flexing {
        width: 100%;
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        display: block !Important;
        -webkit-box-flex: initial;
        -webkit-flex: initial;
            -ms-flex: initial;
                flex: initial;
        height: auto;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
.person.flexing {
	width:50%;
max-width:50%;
flex-basis:50%;
}
.mediaperson .person.flexing {
    margin: 0 auto;
    margin-bottom: 50px;
}
    img.piipol {
        display: inline-block;
        margin: 0 auto;
    }

    .person.flexing {
        padding-left: 0 !Important;
    }

    .person-text-inner {
        text-align: center;
        padding-left: 0;
        margin-top: 30px;
    }

    .person.flexing:nth-of-type(odd) {
        padding-right: 0;
    }
    .article-heading h3 {
      min-height: 45px;
    }
}

@media (max-width: 680px) {
	.setmiddle {
		margin:0 auto;
		padding-top: 1em;
	}
	
    .hero-container {
        min-height: 550px;
    }
.single-nav {
	top:80px;
}
    .sliders img {
        display: block;
        width: 100%;
    }
.article:last-of-type {
    padding-bottom: 0;
}

    span.slick-nav.slick-left.slick-arrow {
        left: 0;
        z-index: 9;
    }

    span.slick-nav.slick-right.slick-arrow {
        right: 0;
    }

    div#overlay {
        z-index: 99;
        overflow: scroll;
    }

    .hero-text h1 {
        width: 75%;
    }

    .form-txt.with-img {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    #kontakt .person-img.flex-short {
        text-align: left;
        -webkit-box-pack: left;
        -webkit-justify-content: left;
            -ms-flex-pack: left;
                justify-content: left;
    }

    .person.flexing:nth-of-type(odd) {
        padding-left: 5%;
    }
    /* HEADER */
    header#masthead {
    height: 70px;
}

.hero-container {
    margin-top: 70px;
}

.main-logo {
    top: 10px;
    width: 60px;
}

div#toggle {
    top: -26px;
}
.mobile-menu .center-menu {
    margin-top: 11%;
}
.hero-container {
    background-attachment: initial!important;
    background-size: cover !Important;
    background-positioN: center!important;
}
div#kontakt {
    background-attachment: initial!important;
    background-position: center !Important;
    background-size: cover !Important;
}
.box-content p {
    font-size: 1.125em;
    height: auto;
}
}
@media (max-width:667px) {
	.person.flexing {
    flex-basis: 50%;
    width: 50%;
}
.person-wrap.flexing {
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
}
.person.flexing {
    width: 100%!Important;
    max-width: 100%;
    margin-bottom: 30px!Important;
}
.home .mediaperson .person.flexing {
    margin: 0 auto;
}

}
@media (max-width: 610px) {
  .article-heading h3 {
    min-height:0px;
  }
  .single-item .article, .page-template-template-blog .article {
    padding-bottom: 40px;
}
.article:last-of-type {
  margin-bottom: 40px;
}
    .hero-text h1 {
        width: 90%;
    }
.news-articles {
	flex-direction:column;
	display:blocK;
}
.social-back.flexing {
    display: block;
}

.flex.social-list {
    text-align: left;
    margin-top: 20px;
}

.flex.social-list img {
    margin-left: 0;
    margin-right: 10px;
}
    .large-logo {
        max-width: 230px;
    }

    .hero-container {
        background-attachment: initial !important;
        background-positioN: center !Important;
        z-index: 99;
        position: relative;
        background-size: cover !Important;
    }

    .box-grid {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        width: 100%;
        max-width:100%;
    }

    .hero-container {
        min-height: 550px;
    }

    .top-box p {
        width: 100%;
    }

    .sliders.slick-initialized.slick-slider {
        width: 85%;
        margin: 0 auto;
    }

    .slick-nav span {
        font-size: 1.575em;
        width: 34px !Important;
        height: 34px !Important;
        line-height: 36px;
    }

    .person-img.flex, .person-img.flex-short,
    .person.flexing {
        width: 100%;
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        display: block !Important;
        -webkit-box-flex: initial;
        -webkit-flex: initial;
            -ms-flex: initial;
                flex: initial;
        height: auto;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    img.piipol {
        display: inline-block;
        margin: 0 auto;
    }

    .person.flexing {
    padding-left: 0 !Important;
    margin: 0 auto;
}

    .person-text-inner {
        text-align: center;
        padding-left: 0;
        margin-top: 30px;
    }

    .person.flexing:nth-of-type(odd) {
        padding-right: 0;
    }

    #kontakt .top-box p {
        width: 100%;
    }

    #kontakt .flexing {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    input, textarea {
        -webkit-box-shadow: none !Important;
        -webkit-appearance: none !Important;
    }

    div#kontakt {
        background-attachment: initial !Important;
        background-position: center !Important;
    }

    .p-border {
        margin-bottom: 40px;
    }

    header#masthead {
        height: 70px;

    }

    .hero-container {
        margin-top: 70px;
        height: calc(100vh - 70px);
    }

    .main-logo {
        width: 60px;
        top: 9px;
    }

    div#toggle {
        top: -26px;
    }

    .main-navigation ul {
        display: block;
    }

    span.list-text.flex {
        padding: 20px 20px;
        height: 82px;
    }

    #phases .content-inner {
        width: 90%;
    }

    span.number.flex {
        -webkit-box-flex: 0.2;
        -webkit-flex: 0.2;
        -ms-flex: 0.2;
        flex: 0.2;
    }

    span.list-text.flex:before {
        left: -20px;
        top: 26px;
    }

    #phases h2.info-color {
        padding-top: 50px;
        text-align: center;
        padding-bottom: 40px;
    }

    .solution-block {
        padding-left: 60px;
    }

    .solution-block.good:before {
        top: -17px;
    }

    .info-tabs .ui-tabs-panel {
        padding: 0;
    }

    .wide-grid.footer-copy {
        padding-top: 75px;
    }

    #tabs-section .top-box {
        padding-top: 0;
        margin-top: 0;
    }

    .baas-slider .sliders.slick-initialized.slick-slider {
        width: 95%;
    }

    .baas-boxes .box-grid {
        width: 100%;
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width:100%;
    }

    .otsing-box .box-grid {
        width: 100%;
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
         max-width:100%;
    }

    .phaser.list-one.flex {
        padding-right: 0;
    }

    .box-content p {
        height: auto;
    }

    div#page {
		overflow:hidden;
    }

    .top-box {
        margin-top: 51px;
    }

    .page-template-template-kliendihaldus .box-content p.higher {
        height: auto;
    }

    #tabs-section h2.haldus-color {
        padding-top: 50px;
        margin-bottom: 30px;
    }

    .tab-list span {
        font-size: 0.838em;
    }

    .tab-content ul {
        list-style: disc;
        padding: 0;
        margin-bottom: 5px;
        padding-bottom: 6px;
    }

    span.value-radio.ion-ios-checkmark-outline {
        margin-bottom: 10px;
    }

    .tab-list.righty.flex {
        padding-left: 0%;
    }

    #tabs .flexing {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #kontakt .form-txt.with-img {
        flex-directioN: row;
        margin-bottom: 22px;
    }

    .home .form-txt.with-img {
        flex-directioN: column;
        margin-bottom: 22px;
    }
}

div#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: white;
}

/*Page change animations*/
.pt-page-moveToLeft {
    -webkit-animation: moveToLeft 0.3s ease both;
            animation: moveToLeft 0.3s ease both;
}

.pt-page-moveFromLeft {
    -webkit-animation: moveFromLeft 0.3s ease both;
            animation: moveFromLeft 0.3s ease both;
}

.pt-page-moveToRight {
    -webkit-animation: moveToRight 0.3s ease both;
            animation: moveToRight 0.3s ease both;
}

.pt-page-moveFromRight {
    -webkit-animation: moveFromRight 0.3s ease both;
            animation: moveFromRight 0.3s ease both;
}

@-webkit-keyframes moveToLeft {
    from {
    }
    to {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
}

@keyframes moveToLeft {
    from {
    }
    to {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
        transform: translateX(0%);
    }
}

@-webkit-keyframes moveFromLeft {
    from {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
}

@keyframes moveFromLeft {
    from {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
}

@-webkit-keyframes moveToRight {
    from {
    }
    to {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
}

@keyframes moveToRight {
    from {
    }
    to {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
}

@-webkit-keyframes moveFromRight {
    from {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
}

@keyframes moveFromRight {
    from {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
    }
}
/* ACCORDION */
div#accordion {
    margin-bottom: 100px;
}
.person.flexing {
	float:left;
}
.ui-accordion .ui-accordion-content {
	background:none;
	border:none;
	margin-top: 2em;
}
.ui-accordion .ui-accordion-header {
	    width: 100%;
    background: #424242;
    border: #424242;
    border-radius: 0;
    padding: 17px 55px!important;
    font-size: 1.188em!important;
    color: #fff;
    outline: none !Important;
}
.ui-accordion .ui-accordion-header:before {
    content: "\f125";
    font-family: Ionicons;
    transform: rotate(90deg);
    position: relative;
    display: inline-block;
	transition:all .3s linear;
}
.ui-accordion-header-active:before {
    content: "\f125";
    font-family: Ionicons;
	    transform: rotate(-90deg)!important;
}
.ui-icon, .ui-widget-content .ui-icon {
    background:none!important;
}

}