/*
Theme Name: Alutaguse haldus
Description:  Alutaguse haldus custom theme
Version: 1.0.0
License: Private
Text Domain: wp-alutagusehaldus

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {
  margin: 0;
  -webkit-font-smoothing: auto;
  font-family:"Poppins", "Arial", sans-serif;
  font-size:15px;
}

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;
  color:#267abd;
}

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

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

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 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 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"] {
  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
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  color: #24292e;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 15px;
}
h1 {
  font-size: 32px;
  padding-bottom: 10px;
}
h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}
h3 {
  font-size: 18px;
  line-height: 25px;
}
h4 {
  font-size: 16px;
  line-height: 20px;
}
h5 {
  font-size: 14px;
  line-height: 17.5px;
}

p {
  margin-bottom: 1.5em;
  line-height:1.9;
  font-size:16px;
  color:#4d4d4d;
}
h1.entry-title {
  font-size: 1.31rem;
  border-bottom: 1px solid #eaecef;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
}
h3.widget-title {
  font-size: 1.2rem;
}

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

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%;
}
ol {
	line-height:2;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;
  background-color: white;
  position:relative;
  padding-bottom:138px;
}
.page-template-template-frontpage header#masthead {
	padding-bottom:120px;
}
.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.navbar-brand img {
	width:128px;
	margin-top:20px;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}
.nav-row {
	position:relative;
}

#page-sub-header {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover !important;
}

body:not(.theme-preset-active) #page-sub-header h1 {
  line-height: 1.6;
  font-size: 4rem;
  color: #563e7c;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}

#page-sub-header p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
  font-weight: 300;
}
body:not(.theme-preset-active) #page-sub-header p {
color: #212529;
}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  body:not(.theme-preset-active) #page-sub-header h1 {
    font-size: 3.750rem;
  }
  body:not(.theme-preset-active) #page-sub-header {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 43rem;
    margin: 0 auto;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#main-nav {
	max-width:580px;
	margin-top:10px;
}
#masthead nav {
  padding-left: 0;
  padding-right: 0;
  margin-top:-5px;
}
#masthead nav li {
	position:relative;
}
.nav-holder {
	padding-top:5px;
}
.navbar-expand-xl {
	justify-content:space-between;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  color: #000;
  padding: 15px;
  font-weight: 300;
  font-size: 14px;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
	color: #0076BE;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
  color: #0076BE;
  font-weight: 700;
  /*background: #f9f9f9;*/
}

.navbar-brand {
  height: auto;
}
.navbar-toggler {
	display:none;
}
.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}
.dropdown-menu {
    margin-top: 0;
    width: 260px;
    border: none;
    border-radius: 0;
}
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
	width:260px;
	border:none;
	border-radius:0;
 }
.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}
.navbar-nav .dropdown-toggle::after {
    background: url(inc/assets/img/dt_arrow.png) no-repeat;
    vertical-align: -2px;
    margin-left: 8px;
    width: 8px;
    height: 10px;
    background-size: contain;
    border: none;
}
.dropdown-menu .current-menu-item:after {
	display:none;
}
.dropdown-menu .current-menu-item a {
	font-weight:700;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children {
    position: relative;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>.dropdown-menu {
    display: block;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>a:after {
    border-left-color: #fff;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left {
    float: none;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

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

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
    white-space:normal;
    background:transparent;
    line-height:1.5;
    color:#777;
    font-size:14px;
    padding:10px 25px;
    border-bottom: 1px solid #ebebeb;
	transition:color 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
	color:#4863ad;
	transition:color 0.2s ease-in-out;
}
.dropdown-menu .dropdown-item:last-of-type {
	border-bottom:none;
}
.dropdown-menu .dropdown-item:hover {
  background: transparent;
}
@media all and (min-width: 992px) {
	.navbar .dropdown-menu-end{ right:0; left: auto;  }
	.navbar .nav-item .dropdown-menu{  display:block; opacity: 0;  visibility: hidden; transition:.3s; margin-top:0; border-radius:4px;  }
	.navbar .nav-item:hover .nav-link{ color: #fff;  }
	.navbar .dropdown-menu.fade-down{ top:80%; transform: rotateX(-75deg); transform-origin: 0% 0%; }
	.navbar .dropdown-menu.fade-up{ top:180%;  }
	.navbar .nav-item:hover .dropdown-menu{ transition: .3s; opacity:1; visibility:visible; top:100%; transform: rotateX(0deg); }
}	
@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0;
  }

  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
}
.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%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

/*--------------------------------------------------------------
# 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;
  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: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  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;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

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

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# 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;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: "Font Awesome\ 5 Free";
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
  font-weight: 900;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

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

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

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}

.entry-title > a {
  color: inherit;
}




/*--------------------------------------------------------------
# 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%;
}


/*  -------------- page templates template-frontpage ---------------------- */
.video-holder {
	position:absolute;
	top:0;
	right:0;
	width:100%;
	height:840px;
	background:black;
	text-align:right;
	overflow:hidden;
}
.mobile-overlay {
	display:none;
}
video {
	height:100%;
	text-align:right;
}
.hero-holder {
	background-color:#f1f5f8;
	background-repeat:no-repeat;
	background-size:cover;
	height:644px;
	margin-top:-105px;
	z-index:0;
	position:relative;
}
.hero-holder .container-fluid, .hero-holder .row {
	height:100%;
}
.hero-image {
	background-size:cover;
	background-repeat:no-repeat;
	background-position: right top;
}
.hero-overlay {
	right:-2px;
	position:absolute;
	border-right:2px solid #f1f5f8;
}
.hero-texts {
	margin-top:125px;
	color:white;
	max-width: 500px;
    margin-left: 40px;
}
.hero-texts h1 {
	color:#000;
	font-size:48px;
	font-weight:600;
	line-height:1.2;
	margin-top:80px;
	position:relative;
}
.hero-texts h1:before {
	content:"";
	display:block;
	position:absolute;
	left:0;
	top:-50px;
	width:40px;
	height:4px;
	border-radius:50px;
	background-color:#F9E426;
}
.hero-texts h1:after {
	content:"";
	display:block;
	position:absolute;
	right:-30px;
	top: 70px;
	height:40px;
	width:4px;
	border-radius:50px;
	background-color:#F9E426;
}
.hero-texts p {
	font-size:16px;
	width:100%;
	font-weight:300;
	line-height:1.8;
	color:#000;
}
.wp-block-button__link {
	margin-top:10px;
	padding:14px 25px;
	font-size:15px;
	font-weight:500;
}
.afterhero-content {
	padding-bottom:320px;
	padding-top:100px;
	background-color:white;
}
.afterhero-content h2 {
	font-size:36px;
	margin-top:40px;
	font-weight:800;
	color:#11255C;
	width:85%;
}
.afterhero-content h3 {
	font-size:28px;
	color:#000;
	font-weight:600;
	margin-bottom:25px;
	margin-left:108px;
}
.afterhero-content h3:before {
	content:"";
	display:inline-block;
	width:40px;
	height:4px;
	border-radius:50px;
	background-color:#F9E426;
	left:26px;
    position:absolute;
    top:34px;
}
.afterhero-content p {
	line-height:1.8;
	width:85%;
}
.afterhero-content a {
	padding:15px 30px;
	border-radius:2px;
	background-color:#48ae46;
	color:white;
	font-weight:700;
	text-decoration:none;
	margin-top:15px;
	display:inline-block;
}
.afterhero-content .post-date {
	color:#0076BE;
	font-weight:500;
	font-size:16px;
}
.order-box {
	border-radius:10px;
	background-color:#EDF1F5;
	min-height:190px;
	margin:12px;
	text-align:center;
	padding:0;
	transition: background-color 0.2s ease-in-out;
}
.order-box a {
	background-color:transparent;
	color:black;
	display:block;
	font-size:16px;
	margin:0;
	width:calc(100%);
	height:calc(100%);
}
.order-box:hover {
	background-color:#d2e0ef;
}
.order-box img {
	display:block;
	margin:auto;
	margin-top:24px;
	margin-bottom:20px;
}
.order-clientinfo {
	text-align:center;
    width:330px;
    margin:auto;
    margin-top:40px;
}
.order-clientinfo p {
	color:black;
}
.order-clientinfo a {
	font-size:26px;
	padding:0;
	margin:0;
	border-bottom:3px solid #0076BE;
	background-color:transparent;
	color:black;
	display:inline-block;
	margin-top:5px;
}
.frontpage-links {
	padding-left:40px;
	padding-right:40px;
	margin-top:-450px;
}
.frontpage-links .link-block a {
	border-radius: 0 43px;
	padding:0;
}
.frontpage-about {
	padding-top:200px;
	padding-bottom:120px;
}
.fp-about-content {
	margin-top:120px;
}
.about-text-area {
	padding-left:80px;
	margin-right:80px;
}
.about-text-area a {
	background-color:#0076BE;
	padding:13px 25px;
	color:white;
	border-radius:50px;
	display:inline-block;
	margin-bottom:40px;
}
.btn-arrow {
	display: inline-block;
    width: 20px;
    height: 7px;
    background-image: url('inc/assets/img/alutaguse-btn-arrow.png');
    background-size: 20px 6px;
	background-repeat:no-repeat;
	margin-left:10px;
}

a.solmi-leping {
	border-radius:50px;
	background-color:#0076be;
	padding:12px 30px;
	margin-bottom:50px;
}
a.solmi-leping:hover, a.solmi-leping:active {
	border-radius:50px;
	background-color:#0076be;
	padding:12px 30px;
	margin-bottom:50px;
}

.frontpage-about h3 {
	font-size:28px;
	color:#000;
	font-weight:600;
	margin-bottom:25px;
	margin-left:0;
}
.frontpage-about h3:before {
	content: "";
    display: inline-block;
    width: 40px;
    height: 4px;
    border-radius: 50px;
    background-color: #F9E426;
    left: 10px;
    position: absolute;
    top: 34px;
}
.about-image:before {
	content:"";
	display:block;
	width:40px;
	height:114px;
	background-image:url('inc/assets/img/img-embel.png');
	background-position:center center;
	background-repeat:no-repeat;
	position:absolute;
	left:-48px;
	bottom:40px;
}
.about-image:after {
	content:"";
	display:block;
	width:40px;
	height:4px;
	position:absolute;
	right:36px;
	bottom:60px;
	background-color:#267abd;
	border-radius:50px;
}
.about-image {
	margin-left:80px;
}

/*
subpage header
*/
.subpage-header {
	height:250px;
	position:relative;
	background:transparent;
}

.title-n-bread {
	background:#ebebeb;
	background-image:url('inc/assets/img/subheader-bg-1.JPG');
	background-size:cover;
	background-position:center center;
	height:248px;
	margin-top:-125px;
	width:1500px!important;
	max-width:1500px!important;
	margin-left:auto;
	margin-right:auto;
	position:relative;
}
.title-n-bread:before {
	display:block;
	content:"";
	width:200px;
	height:100%;
	position:absolute;
	left:0;
	background-color:#002944;
}
.title-holder, .title-holder .row {
	height:100%;
}
.title-wrapper h1 {
	display:inline-block;
}
.title-wrapper {
	background-color: #002944;
    display: inline-block;
    padding: 40px;
    height: 100%;
	position:relative;
	min-width:350px;
}
.title-wrapper:after {
	content:"";
	width:143px;
	display:block;
	height:248px;
	background-image:url('inc/assets/img/subheader-embel.png');
	background-size:143px 248px;
	background-repeat:no-repeat;
	z-index:999;
	position:absolute;
	right:-130px;
	top:0;
}
.breadcrumbs {
	color:white;
	font-size:14px;
	margin-bottom:0;
	font-weight:400;
}
.breadcrumb_last {
	opacity:0.7;
}
.breadcrumbs a {
	color:white;
}
.breadcrumbs a:hover, .breadcrumbs a:active {
	text-decoration:none;
}
.subpage-header .title-abs h1 {
	font-size:36px;
	font-weight:400;
	color:#fff;
	padding-bottom:0;
	margin-top:26px;
	margin-bottom:8px;
}
.title-abs {
	margin-top:70px;
}
.title-abs:before {
	content:"";
	display:block;
	height:4px;
	width:40px;
	background-color:#F9E426;
	border-radius:50px;
	margin-top:-16px;
}
.content-main {

}
ul {
    list-style: disc;
    padding-left: 20px; 
    margin: 0;
	margin-bottom:30px;
}

ul li {
    position: relative;
    padding-left: 0.5em; 
	font-size:16px;
	line-height:2;
}

ul li::marker {
    color: #0076BE; /* bullet color */
}
.right-area {
	padding-left:80px;
}

.sidebar-menu, .services-menu {
	background-color:white;
	padding:30px 40px;
	border-radius:8px;
	box-shadow: 1px 2px 16px rgba(0,0,0,0.15);
	margin-top:-184px;
}
.sidebar-menu ul {
    list-style: none; /* Removes bullets */
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: #4d4d4d;
}

.sidebar-menu li {
    border-bottom: 1px solid #EDF1F5;
	font-size:15px;
	padding-left:0;
	line-height:normal;
}

.sidebar-menu li:last-child {
    border-bottom: none; /* No separator on the last item */
}

.sidebar-menu a {
    display: block;
    color: #4d4d4d;
    text-decoration: none;
    padding: 12px 15px;
}
.sidebar-menu a:hover {
    color:#000;
}

.sidebar-menu .current-page a {
    padding-left: 28px;
    font-weight: 600;
	position:relative;
}
.sidebar-menu .current-page a::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 4px;
    background-color: #F9E426;
	border-radius:50px;
}

.service-grid .service-box {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    overflow: hidden;
	margin-bottom:30px;
}

.service-grid .service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F5F9FD;
    opacity: 0.4;
    z-index: 1;
    transition: opacity 0.4s ease 0.1s;
}

.service-grid .service-box:hover::before {
    opacity: 0;
}

.service-grid .service-title {
    position: relative;
    z-index: 2;
    background-color: transparent;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 0;
	width:100%;
}

.service-grid .service-title-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.service-grid .service-name {
    background-color: #002944;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.service-grid .service-arrow {
    background-color: #0076BE;
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.content-services {
	margin-bottom:20px;
}

.services-menu ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.services-menu li {
    font-size: 15px;
    color: #4d4d4d;
	font-weight:400;
}

.services-menu li a {
    display: block;
    padding: 10px 15px;
	padding-bottom:3px;
    text-decoration: none;
    color: inherit;
}

.services-menu li.current-page a {
    font-weight: 600;
    position: relative;
}

.services-menu li.current-page a::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 4px;
    background-color: #F9E426;
	border-radius:50px;
}

.services-menu ul.sub-menu li.current-page a {
	font-weight:500;
}

.services-menu ul.sub-menu li.current-page a:before {
	left:-25px;
	top:18px;
	width:20px;
}

.services-menu .sub-menu {
    padding-left: 10px;
    background: none;
    border-bottom:1px solid #EDF1F5;
}
.services-menu .sub-menu:last-of-type {
	border-bottom:none;
}
.services-menu .sub-menu li {
	border-bottom:none;
	font-weight:300;
}
.services-menu .sub-menu a {
	font-size:14px;
	padding:4px 10px;
}
.services-menu .sub-menu li:last-of-type a {
	font-size:14px;
	padding-bottom:15px;
}

.wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th {
	border:1px solid #aaa!important;
	padding:12px 25px;
}


/*------------page template contact -----------*/
.wp-block-separator {
    border: none;
    border-top: 1px solid #C7D1DA;
	margin-top:28px;
	margin-bottom:28px;
}
.contact-content, .main-content {
	padding-top:60px;
}
.contact-content {
	padding-bottom:80px;
}
.main-content .container,
.contact-content .container, 
.departments-holder .container {
	padding-left:55px;
	padding-right:55px;
}
.contact-main strong {
	color:#444;
}
.contact-main h2, .form-holder h2 {
	font-size:24px;
	color:#000;
	font-weight:500;
	margin-top:0;
}
.form-holder h2:after {
	content:"";
	display:inline-block;
	background-color:#FBE400;
	height:4px;
	width:40px;
	border-radius:50px;
    position: absolute;
    margin-top: 14px;
    margin-left: 40px;
}
.departments-holder {
	background-color:white;
	padding-top:60px;
	padding-bottom:300px;
}
.departments-holder h3 {
	font-size:24px;
	font-weight:400;
}
.departments-holder h3:before {
	display:block;
	content:"";
	width:40px;
	height:4px;
	background-color:#F9E426;
	border-radius:40px;
	position: absolute;
    left: -50px;
    top: 12px;
}
.departments-holder h4 {
	height:20px;
}
.contact-main ul {
	list-style-type:none;
	padding-left:0;
	display:flex;
}
.contact-main li {
	display:inline-block;
	width:50%;
	line-height:2;
	color:#777;
}
.contact-main li:last-of-type {
	margin-right:0;
}
.team-contacts {
	margin-top:60px;
}
.contact-holder {
	margin-bottom:30px;
	width:50%;
	float:left;
}
.team-contacts p {
	margin-bottom:0;
	line-height:2;
}
.contact-main a {
	display:block;
	color:#777;
	margin-top:0;
}
.team-contacts a {
	display:block;
	color:#777;
	margin-top:6px;
}
.col-2, .col-4 {
	padding-left:50px;
}
.form-wrapper {
	padding-left:60px;
}
.form-holder {
	background-color:white;
	padding:50px;
	border-radius:7px;
	box-shadow: 1px 2px 16px rgba(0,0,0,0.15);
}
.form-holder .form-control {
	font-size:14px;
}
.form-holder .container {
	padding-left:0;
	padding-right:0;
}
.form-holder label {
	width:100%;
	font-weight:bold;
	color:#444;
	font-size:13px;
	margin-bottom:10px;
	margin-top:8px;
}
.form-holder input, .form-holder textarea, .form-holder select {
	border-radius:0;
	background-color:#F1F3F7;
	border:none;
	border:1px solid #E7ECF1;
	border-radius:4px;
	margin-top:8px;
}
.form-holder input {
	height:45px;
}
.form-holder p {
	font-size:14px;
	margin-bottom:10px;
	color: #666;
	font-weight:300;
}
.form-holder .wpcf7-submit {
	background-color:#0076be;
	color:white;
	font-weight:bold;
	border-radius:50px;
	padding:12px 25px;
	padding-right:55px;
	border:none!important;
	position:relative;
}
.form-submit-btn p {
	display:inline-block;
	position:relative;
}
.form-submit-btn p:before {
content: "";
    width: 20px;
    height: 7px;
    background-image: url(inc/assets/img/alutaguse-btn-arrow.png);
    background-size: 20px 6px;
    background-repeat: no-repeat;
    margin-left: 10px;
    display: block;
    position: absolute;
    right: 71px;
    top: 29px;
    z-index: 999;
}
.wpcf7-spinner {
	margin-right:0;
}
.form-holder textarea {
	height:140px;
}
.agree-to-terms {
	color:white;
	padding-top:10px;
	text-align:left;
	padding-left:0;
}
.agree-to-terms span {
	width:auto;
	display:inline-block;
	vertical-align:inherit;
	margin-top:-2px;
	color:white;
	border:none;
	padding-right:0;
}
.agree-to-terms .wpcf7-list-item {
	margin-left:0;
}
.agree-to-terms span a {
	color:white;
}
.agree-to-terms input {
	width:20px;
	height:20px;
	margin-right:10px;
	margin-top:5px;
}
.agree-to-terms .wpcf7-list-item-label {
	font-size:13px;
	font-weight:normal;
	color:#000044;
}
.agree-to-terms .wpcf7-checkbox.wpcf7-not-valid label span.wpcf7-list-item-label:before {
	border:2px solid red;
}
.agree-to-terms .wpcf7-checkbox label input {
    position: absolute;
    width: auto;
    opacity: 0;
}

.agree-to-terms .wpcf7-checkbox label span.wpcf7-list-item-label:before {
    content: ' ';
    width: 16px;
    height: 16px;
    border: 2px solid #029c4b;
    border-radius: 3px;
    margin-right: 8px;
    display: inline-block;
    cursor: pointer;
    position: relative;
    top: 4px;
	border-radius:50%;
	width:20px;
	height:20px;
}

.agree-to-terms .wpcf7-checkbox input:checked+span.wpcf7-list-item-label:before {
    background-color: #029c4b;
    border: 2px solid #029c4b;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgOCA4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4IDgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTYuNCwxTDUuNywxLjdMMi45LDQuNUwyLjEsMy43TDEuNCwzTDAsNC40bDAuNywwLjdsMS41LDEuNWwwLjcsMC43bDAuNy0wLjdsMy41LTMuNWwwLjctMC43TDYuNCwxTDYuNCwxeiINCgkvPg0KPC9zdmc+DQo=);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80%;
	border-radius:50%;
	width:20px;
	height:20px;
}
.agree-to-terms .privacy-notice a {
	color:#000044;
	text-decoration:underline;
	font-size:13px;
	margin-left:5px;
	display:block;
	margin-top:-6px;
	font-weight:normal;
}
.privacy-agree .form-control {
	background-color:transparent;
	border-color:transparent;
	padding:0;
}
.maps-holder {
	margin-top:80px;
	margin-bottom:160px;
}
.form-content {
	padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 1px 1px 18px 6px rgba(0, 0, 0, 0.1);
}
.form-content.form-holder select {
	height:45px;
	color:#666;
	background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat;
        background-position: right 10px top; /* Change the px value here to change the distance */
        -moz-appearance: none; 
        -webkit-appearance: none; 
        appearance: none;
            padding : 4px 20px;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer {
  color: white;
  background-color: #002944;
  padding-top:30px;
  position:relative;
  padding-bottom:60px;
  margin-top:180px;
}
.footer-logo img {
	margin-top:124px;
}
.footer-address {
	padding-left:0;
	
}
.footer-address p {
	color:white;
	font-weight:300;
}
.footer-address h5 {
	color:white;
	font-size:22px;
	font-weight:bold;
	margin-top:45px;
}
.footer-address h5:after {
	display:block;
	content:"";
	width:40px;
	height:4px;
	background-color:#F9E426;
	border-radius:40px;
	margin-top:30px;
	margin-bottom:24px;
}
.footer-contact {
	padding-left:80px;
}
.footer-contact p {
	color:white;
	margin-bottom:8px;
	font-size:14px;
}
.footer-contact p:first-of-type {
	font-size:18px;
	margin-top:-7px;
}
.quick-contacts {
	background-color:white;
	padding:30px 60px 40px 80px;
	border-radius: 0 60px 0 60px;
	margin-top:-110px;
}
.quick-contacts h3 {
	color:#000;
	font-weight:400;
	font-size:22px;
}	
.quick-contacts h4 {
	color:#000;
	font-size:18px;
}
.quick-contacts p, .quick-contacts a {
	color:#4d4d4d;
	line-height:2;
	font-size:16px;
}
.contacts-heading h3:after {
	content:"";
	display:block;
	width:40px;
	height:4px;
	border-radius:50px;
	background-color:#F9E426;
	position:absolute;
	right:28px;
	top:28px;
}

.footer-menu {
	text-decoration:none;
	list-style-type:none;
	text-align:right;
	color:white;
	position:relative;
}

.footer-menu li {
	display:inline-block;
	margin-left:30px;
}
.navbar-dark .site-info {
  color: #fff;
}
.copyright {
  color:white;
  margin-top:10px;
  font-size: 15px;
  margin-top:36px;
  margin-bottom: 20px;
  text-align: center;
}

.copyright a, footer a {
  color: inherit;
}
.services-form {
	padding:60px;
	background-color:#F3F6F9;
}
.services-form input, .services-form textarea, .services-form select {
	background-color:white;
}
.maps-holder iframe {
	margin-top:-290px;
	border-radius:8px;
}


/* -----KAitstud ala ----------*/
.contact-main #cf7-submissions_wrapper {
	background-color:white;
	padding:40px;
}
.contact-main #filter-type {
	margin-bottom:20px;
	display:inline-block;
	padding:10px;
	border:none;
	background-color:transparent;
}
.btn-checked, .btn-unchecked {
	padding:3px 12px;
	width:100%;
	font-size:15px;
}
.btn-checked {
	background-color:#bbb;
	border-color:#bbb;
}
.btn-unchecked {
	background-color:#002944;
	border-color:#002944;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
}
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media (min-width: 576px) {
	.container {
		max-width: 960px;
	}
}
@media (min-width:992px) {
	.container {
		max-width:960px;
	}
}
@media (min-width: 1200px) {
	.container {
		max-width:1120px;
	}
}
@media (min-width: 1330px) {
  .container {
    max-width: 1280px;
  }
 
}
@media (min-width: 1430px) {
  .container {
    max-width: 1400px;
  }
 
}

/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/

@media only screen and (max-width: 1530px) {
	.top-contact-holder:first-of-type {
		margin-right:40px;
	}
	.top-contacts {
		max-width:520px;
	}
	.afterhero-content h2 {
		margin-top:-5px;
	}
	.services-text-block {
		padding:30px;
	}
	  .services-col {
		  padding-left:0;
	  }
	video {
		margin-left:0;
	}
	#main-nav {
		max-width:615px;
	}
	.title-n-bread {
		width:100%!important;
		max-width:100%!important;
	}
}
@media only screen and (max-width: 1440px) {
	.about-text-area {
		padding-left:50px;
	}
	.about-image:after {
		right:-14px;
	}
	#main-nav {
		justify-content:flex-start!important;
	}
	.hero-holder, .video-holder {
		height:644px;
	}
	.hero-texts {
		margin-left:0px;
	}
	video {
		margin-left:-150px;
	}
	body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
		font-size:15px;
	}
	.services-area .service-col, .services-content .service-col {
		padding-left:10px;
		padding-right:10px;
	}
	.services-text-block {
		padding:25px;
		height:450px;
	}
	.service-block-text {
		padding-left:25px;
		padding-right:25px;
	}
	.subpage-header .title-abs h1 {
		font-size:32px;
	}
}
@media only screen and (max-width: 1330px) {
	.top-contacts {
		max-width:510px;
	}
	.about-image:after, .about-image:before, .frontpage-about h3:before {
		display:none;
	}
	.about-text-area {
		margin-right:0;
		padding-left: 15px;
	}

	.top-contact-holder:first-of-type {
		margin-right:50px;
	}
	.top-contacts-wrapper {
		float:left;
		margin-left:20px;
	}
	.hero-bullet {
		width:210px;
		margin-right:100px;
	}
	.afterhero-content p, .afterhero-content h2, .afterhero-content h3 {
		width:auto;
	}
	.services-text-col {
		max-width:33.33333%;
		flex: 0 0 33.33333%;
	}
	.services-col {
		max-width:66.66666%;
		flex: 0 0 66.66666%;
	}
	.services-area .service-col, .services-content .service-col {
		max-width:50%;
		flex: 0 0 50%;
	}
	.references-slider {
		height:380px;
	}
	.ref-content {
		background-color:white;
		width:calc(100% - 40px);
		height:auto;
		position:absolute;
		right:left;
		right:0;
		padding:25px;
		left:0;
		margin:0 auto;
		bottom:38px;
	}
	.contact-holder p {
		font-size:14px;
	}
	.right-area {
		padding-left:20px;
	}
	.title-abs {
		margin-top:55px;
	}
	.subpage-header .title-abs h1 {
		font-size:30px;
	}
	.sidebar-menu, .services-menu {
		margin-top:0;
	}
	.agree-to-terms {
		text-align:center;
	}
	.agree-to-terms span {
		padding:0;
	}
	.footer-submit p {
		width:100%;
	}
	.form-holder .footer-submit .wpcf7-submit {
		width:100%;
	}
	.form-holder .footer-submit p:before {
		right:53px;
	}

}

@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
  .hero-holder, .video-holder {
	  height:520px;
  }
  .hero-overlay {
	  height:520px;
  }

  .hero-texts {
	  margin-top:110px;
  }
  .hero-texts h1 {
	  font-size:36px;
  }
  .hero-texts p {
	  font-size:16px;
	  width:100%;
  }
  .hero-texts h1:after {
	display:none;
  }
  .afterhero-content {
	  padding-left:40px;
	  padding-right:40px;
  }
  .afterhero-content h2 {
	  font-size:26px;
  }
  .afterhero-content h3 {
	font-size:18px;
  }
 /*.content-main {
	margin-left:0;
	flex: 0 0 66.66666%;
    max-width: 66.66666%;
 }	 */
 
}

@media screen and (max-width: 1199px) {
	header#masthead {
		padding-bottom:0;
		background-color:#edf1f5;
	}
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }
  header#masthead:after {
	width:480px;
	display:none;
  }
  header#masthead:before {
	right:420px;
		display:none;
  }
  #main-nav {
	  background:#fff;
	  z-index:99999;
  }
  .top-contacts {
	 max-width:600px;
  }
  .top-contact-holder:first-of-type {
      margin-right:50px;
  }
  .top-contacts-wrapper {
    float:left;
    margin-left:20px;
  }
  .navbar-toggler {
	  margin-top:5px;
  }
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .navbar {
	  position:static;
  }
  .nav-holder {
	  position:static;
	  margin-top:0px;
	  margin-bottom:0px;
	  padding-top:0;
	  padding-bottom:5px;
  }
  #main-nav {
	  margin-top:15px;
	  position:absolute;
	  top:67px;
	  right:15px;
  }
  .navbar-nav {
	float:right;
    box-shadow:2px 2px 20px rgba(0,0,0,0.4);
    z-index:9999;
    position:relative;
	padding:15px 10px;
  }
  .navbar-toggler {
	position:absolute;
	right:0;
	background-color:transparent!important;
	display:block;
}
  .navbar-toggler {
	border: medium none;
    outline: none;
    background: transparent;
    height: 55px;
    width: auto;
    border-radius: 0;
	padding-right:15px;
  }
  .navbar-toggler:focus {
	  outline:none;
  }
  .navbar-toggler-icon {
	  background-image:none!important;
	  position:relative;
	  width:27px;
	  height:27px;
  }
  .navbar-toggler .navbar-toggler-icon .middle-stick {
	  display:block;
	  position:absolute;
	  top:13px;
	  right:0;
	  height:3px;
	  width:28px;
	  border-radius:4px;
	  background-color:transparent;
	  transition:background-color 0.2s ease-in-out;
  }
 .navbar-toggler.collapsed .navbar-toggler-icon .middle-stick {
	  display:block;
	  position:absolute;
	  top:12px;
	  right:0;
	  height:3px;
	  width:28px;
	  background-color:#002944;
	  border-radius:4px;
	  transition:background-color 0.2s ease-in-out;
  }
  
  .navbar-toggler .navbar-toggler-icon:before {
	 transform:rotate(45deg);
	  content:"";
	  display:block;
	  position:absolute;
	  top:12px;
	  right:0;
	  height:3px;
	  width:28px;
	  background-color:#002944;
	  border-radius:4px;
	  transition:all 0.2s ease-in-out;
  }
  .navbar-toggler.collapsed .navbar-toggler-icon:before {
	  transform:rotate(0deg);
	  content:"";
	  display:block;
	  position:absolute;
	  top:4px;
	  right:0;
	  height:3px;
	  width:28px;
	  background-color:#002944;
	  border-radius:4px;
	  transition:all 0.2s ease-in-out;
  }
  
  .navbar-toggler .navbar-toggler-icon:after {
	  content:"";
	  display:block;
	  position:absolute;
	  bottom:12px;
	  right:0;
	  height:3px;
	  width:28px;
	  background-color:#002944;
	  border-radius:4px;
	   transform:rotate(-45deg);
	    transition:all 0.2s ease-in-out;
  }
  .navbar-toggler.collapsed .navbar-toggler-icon:after {
	  content:"";
	  display:block;
	  position:absolute;
	  bottom:4px;
	  right:0;
	  height:3px;
	  width:28px;
	  background-color:#002944;
	  border-radius:4px;
	  transform:rotate(0deg);
	  transition:all 0.2s ease-in-out;
  }
  	.navbar-toggler {
		padding-left:0;
		padding-right:15px;
		margin-top:15px;
	}
  body:not(.theme-preset-active) #masthead .navbar-nav > li {
	  margin-right:0;
  }
  body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
	  background-color:white;
	  margin-right:0;
	  border-radius:0;
	  padding:10px 25px;
  }
  body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a::after {
	  display:none;
  }
  .navbar .nav-item .dropdown-menu {
	  visibility:visible;
	  display:block;
	  opacity:1;
  }
  .navbar .nav-item .dropdown-menu {
	  padding:0;
  }
  .dropdown-menu .dropdown-item {
	font-size: 14px;
    padding: 7px 25px;
  }
  .navbar-brand img {
	  margin-top:15px;
  }
  .hero-texts {
	  padding-left:20px;
  }
  .hero-texts h1 {
	  margin-top:40px;
  }
  .hero-bullet {
	  margin-right:30px;
	  font-size:16px;
  }
  .hero-bullet:before {
	  left:-38px;
  }
  .service-block {
	  min-height:420px;
  }
  .services-text-block {
	  height:420px;
  }
  .footer-contact {
	  padding-left:60px;
  }
  .ref-content {
    background-color:white;
	width:420px;
	height:auto;
	position:absolute;
	right:30px;
	bottom:50px;
	padding:25px;
	left:auto;
	}
	.subpage-header {
		height:auto;
		background-repeat:no-repeat;
		background-size:100%;
	}
	.title-n-bread {
		margin-top:0;
	}
	.contact-holder {
		float:none;
		margin-bottom:12px;
	}
	  .mobile-overlay {
	  display:block;
	  width:100%;
	  background-color:rgba(0,0,0,0.3);
	  height:100%;
	  position:absolute;
	  left:0;
	  top:0;
  }
	.subpage-header .title-abs h1 {
		position:relative;
		z-index:9999;
	}
	.page-template-template-frontpage header#masthead {
		padding-bottom:0;
	}
	.hero-holder {
		margin-top:0;
	}
	.quick-contacts {
		padding: 20px 40px 20px 40px;
	}
	.footer-logo {
		display:none;
	}
	.footer-address {
		flex: 41.6667%;
		max-width:41.6667%;
		padding-left:15px;
	}
	
}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 991px) {
  html {
    font-size: 85%;
  }
  .top-contacts {
	max-width:450px;
  }
  .top-contacts-wrapper {
	  margin-left:0;
  }
  .top-contacts:before {
	left:-35px;
  }
  .top-contact-holder:first-of-type {
	  margin-right:25px;
  }
  .nav-contact-icon {
	display:none;
  }

  .afterhero-intro {
	padding-top:76px;
    background-color:#ffffff;
    padding-bottom:150px;
  }
  .about-image {
	  margin-left:0;
  }
  .services-text-block {
	  height:auto;
	  padding:40px;
  }
  .service-block {
	  min-height:435px;
	  margin-bottom:20px;
  }
  .services-text-col {
		max-width:100%;
		flex: 0 0 100%;
		margin-bottom:20px;
		margin-top:-150px;
	}
   .services-text-col-subpage {
	   margin-top:0;
   }
   .services-col {
		max-width:100%;
		flex: 0 0 100%;
		padding-left:5px;
		padding-right:5px;
	}
	.services-area .service-col {
		max-width:50%;
		flex: 0 0 50%;
	}
	.content-main {
		max-width:100%;
		flex:0 0 100%;
	}
	.footer-cta-holder {
		width:100%;
	}
	.footer-cta-holder:before {
		left:-285px;
		width:300px;
		height:105px;
		right:auto;
		transform:none;
		background-color:#00afef;
	}
	.footer-cta-holder:after {
		display:none;
	}
	.footer-cta h4 {
		color:white;
		font-size:20px;
		float:left;
		margin-top:42px;
		font-weight:800;
		margin-left:0;
		display:inline-block;
	}
	.footer-cta a {
		float:none;
		padding:15px 30px;
		border-radius:2px;
		background-color:#48ae46;
		color:white;
		font-weight:700;
		text-decoration:none;
		margin-top:28px;
		display:inline-block;
	}
	footer {
		height:auto;
		padding-bottom:40px;
	}
	.footer-contact {
		padding-left:0;
		padding-top:30px;
	}
	footer img {
		height:45px;
	}
	.footer-menu {
		padding-left:0;
		margin-top:70px;
	}
	.copyright {
		font-size:14px;
	}
	.footer-logo {
		display:block;
	}
	.footer-logo img {
		height:60px;
		margin-top:25px;
	}
	.quick-contacts {
		padding: 44px 80px 50px 80px;
		margin-top: 0;
	}
	.subpage-header {
		background-size:1200px auto;
	}
	.contact-main ul {
		display:block;
	}
	.contact-main li {
		width:100%;
		margin-bottom:20px;
	}
	.team-contacts {
		margin-top:0;
	}
	.maps-holder {
		margin-top:20px;
		margin-bottom:120px;
	}
	.title-n-bread {
		height:auto;
		background-image:none;
		background-color:#002944;
	}
	.title-n-bread:before {
		display:none;
	}
	.title-wrapper:after {
		display:none;
	}
	.title-abs {
		margin-top:36px;
	}
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
  html {
    font-size: 80%;
  }
  header#masthead {
	  height:80px;
	  padding-top:0;
  }
  header#masthead:after {
	  width:68px;
	  height:75px;
  }
  .hero-image {
	  display:none;
  }
  .top-contact-holder {
	  display:none;
  }
  .top-contacts {
	  width:75px;
  }
  .navbar-brand img {
	  height:60px;
	  width:auto;
  }
  .top-contacts {
	  height:83px;
  }
  .top-contacts:before {
	  height:83px;
	  width:60px;
  }
  .navbar-toggler {
	  margin-top:0;
	  padding-top:25px;
	  padding-right:20px;
  }
  .hero-texts {
	  margin-top:30px;
  }
  .hero-texts h1:before {
	  display:none;
  }
      .hero-holder, .video-holder {
        height: auto;
        padding-bottom: 100px;
    }
	.afterhero-content {
		padding-top:50px;
	}
  .trust-badge {
	  display:block;
	  margin-top:28px;
	  float:left;
  }
  .afterhero-image {
	  display:none;
  }
  .afterhero-content {
	  padding-left:0;
	  padding-right:0;
  }
  .frontpage-links {
	  padding-left:0;
	  padding-right:0;
  }
  .contact-holder p {
	  font-size:15px;
  }
  .footer-contact {
		padding-left:0;
		padding-top:0;
	}
	.footer-menu {
		text-align:left;
		margin-top:25px;
	}
	.footer-menu:after {
		left:0;
		right:auto;
	}
	.footer-menu li {
		margin-left:0;
		margin-right:30px;
	}
	.copyright {
		float:left!important;
	}
	.subpage-header .title-n-bread {
		background:none;
		background-color:#002944;
	}
	.wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th {
		word-break:unset;
	}
	.wp-block-table table {
		overflow: hidden;
		overflow-x: scroll;
		display:block;
	}
	.wp-block-table td {
		word-break: normal;
	}
	.wp-block-table tbody {
		display: table;
		width: 100%;
	}
	.quick-contacts {
		padding: 20px 60px 30px 60px;
	}
	.footer-address {
		flex: 100%;
		max-width:100%;
	}

}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 580px) {
  html {
    font-size: 75%;
  }
  .hero-texts {
	  max-width:100%;
	  margin-top:60px;
  }
  .hero-texts h1 {
	  font-size:32px;
  }
  .hero-texts h1:after {
	  display:none;
  }
  .hero-texts p {
	  width:100%;
	  font-size:16px;
	  font-weight:400;
  }
  .hero-ribbon {
	  background-color:transparent;
  }
  .trust-badge {
	  margin-top:0px;
  }
  .afterhero-intro {
	  padding-top:45px;
  }
  .services-text-block {
	  height:auto;
	  padding:30px;
  }
  .service-block {
	  min-height:auto;
  }
  .services-area .service-col, .services-content .service-col {
	  max-width:100%;
	  flex: 0 0 100%;
  }
  .services-area .service-col p {
	  margin-bottom:15px;
  }
  .readmore {
	margin-bottom:40px;
	display:inline-block;
	position:relative;
	left:0;
	bottom:0;
	text-align:right;
  }
  .services-text-block h3 {
	  font-size:28px;
  }
  .ref-content {
		background-color:white;
		width:calc(100% - 40px);
		height:auto;
		position:absolute;
		right:left;
		right:0;
		padding:25px;
		left:0;
		margin:0 auto;
		bottom:38px;
	}
  .references-area h2 {
	  font-size:28px;
  }
  .ref-content p {
	  display:none;
  }
  .contact-content, .main-content {
	  padding-top:40px;
  }
  footer {
	  padding-top:40px;
  }
  .footer-cta {
	  height:auto;
	  position:relative;
  }
  
  .footer-menu li {
	margin-right:20px;
  }
  .footer-menu:after { 
	bottom:36px;
	width:100%;
  }
  .subpage-header h1 {
	  font-size:32px;
  }
  .form-holder {
	  padding-top:20px;
  }
  .services-form {
	  padding:30px 20px;
	  margin-top:10px;
	  margin-bottom:30px;
  }
  .title-wrapper {
	  padding: 40px 0px;
  }
  .main-content .container, .contact-content .container, .departments-holder .container {
	  padding-left:15px;
	  padding-right:15px;
  }
  .quick-contacts {
    padding: 20px 40px 30px 40px;
  }
}

