/*
Theme Name: Balneom by TagPerfect
Author: Andrei Scherbo
Author Email: andrei@tagperfect.eu
Version: 1.0
*/

/*
Check overflow
 * {
  border: 1px solid #f00 !important;
} */

html, body {
	padding:0;
	margin:0;
	overflow-x: hidden;
}

body {
	font-family: 'Didact Gothic', sans-serif;
	font-weight:400;
	color:#09425d;
	background-color: #F6FBFA;
	font-size: 18px;
}


/* HERO SECTION */
#hero h1, #hero  h2, #hero h3, #hero h4, #hero h5, #hero h6 {
    color:#fff;
	letter-spacing:2px;
}

#hero h1 {
	font-size:56px;
	font-weight:900;
	
}
#hero h3 {
	font-size:22px;
	font-weight:600;
}

#hero .tgp-hero-icon .mpc-list__title {
	font-weight: 600;
}

#hero .tgp-hero-icon img {
	width:40px;
	height:40px;
}




/* HEADER */
header {
	transition: all 0.3s ease-in;
	background:#F6FBFA;
}

/* LOGO */
#logo {
	display: inline-block;
	padding: 2px 0;
}

#logo img {
	width: 230px;
	transition: all 0.3s ease-in;
}

header.scrolled #logo {
	top: 6px;
}

header.scrolled #logo img {
	width: 50%;
	transition: all 0.3s ease-in;
}

header.scrolled #nav-icon {
	top: 16px;
}

#logo a {
	font-size: 18px;
	height: 100px;
}

/* HEADER TOP INFO */
#header-phone, #header-opening, #header-address {
    display: block;
    float: right;
    padding: 24px 20px 24px 0;
    font-size: 18px;
    color: #e4515a;
    width: 15%;
	font-family: 'Didact Gothic', sans-serif;
}

#header-opening {
    padding: 13px 20px 13px 0;
}

#header-opening div.opening-heading span {
    font-size: 15px;
}

#header-address {
	padding: 24px 0;
}

#header-phone i, #header-opening i, #header-address i {
	margin-right: 15px;
    display: inline-block;
    float: left;
    font-size: 28px;
    line-height: 52px;
	color: #0a425d;
}

#header-opening i {
    line-height: 75px;
}

#header-phone a, #header-opening a, #header-address a {
	color: #e4515a;
	text-decoration:none;
}

#header-phone a:hover, #header-opening a:hover, #header-address a:hover {
	text-decoration:underline;
}	
	
/* NAV */
.tgp-menu-wrap {
	background:#fff;
	position: relative;
	width: 100%;
}

nav {
	display: inline-block;
	font-family: 'Didact Gothic', sans-serif;
	text-transform: uppercase;
    font-size: 16px;
}

nav ul.tgp-menu {
	list-style:none;
	margin: 0;
	padding: 0;
	transition: all 0.3s ease-in;
}

nav ul.tgp-menu li {
	display:inline-block;
	transition: all 0.3s ease-in;
	position: relative;
}

nav ul.tgp-menu li:hover, nav ul.tgp-menu li.current-page-ancestor {
	background:#edf2f1;
}

nav ul.tgp-menu li.has-sub {
	padding-right: 10px;
}

nav ul.tgp-menu li.has-sub a:after {
	font-family: "Font Awesome 5 Pro";
    content: "\f078";
    padding-left: 5px;
    font-size: 10px;
    position: absolute;
    top: 26px;
}

nav ul.tgp-menu li a {
	color:#08415d;
	padding: 20px 10px;
	display:inline-block;
	text-decoration: none;
	transition: all 0.3s ease-in;
}

nav ul.tgp-menu li a:hover, nav ul.tgp-menu li.current-page-ancestor a {
	color:#e4515a;
}

#nav-icon {
	display: none;
	position: absolute;
	right: 16px;
    top: 35px;
    margin: 0 auto;
    width: 35px;
    height: 30px;
	z-index: 10;
	cursor: pointer;
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

#nav-icon span {
	position: absolute;
	display: block;
	width: 100%;
	height: 5px;
	background: #e35059;
	border-radius: 0;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2) {
  top: 12px;
}

#nav-icon span:nth-child(3) {
  top: 24px;
}

#nav-icon.animate-icon span:nth-child(1) {
  top: 9px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon.animate-icon span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon.animate-icon span:nth-child(3) {
  top: 9px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* NAV SUBMENU */
nav#tgp-nav ul li > ul {
	position: absolute;
    top: 59px;
    margin: 0;
    padding: 10px;
    display: none;
    background: #edf2f1;
    font-size: 14px;
    transition: display 0.3s ease-in;
    min-width: 190px;
    z-index: 20;
	box-shadow: 2px 5px 7px -5px #0000005c;
}

nav#tgp-nav ul li > ul li {
	display:block;
	
}

nav#tgp-nav ul li > ul li a {
	color: #08415d;
	 padding: 10px 15px;
}

nav#tgp-nav ul li > ul li a:after {
	content:'';
}


nav#tgp-nav ul li > ul li a:hover {
	color: #e4515a;
}

nav#tgp-nav ul li.has-sub:hover > ul,
nav#tgp-nav ul li.has-sub:hover > div {
	display: block;	
}

/* OVERLAY SUBMENU */
#overlay ul li > ul {
	margin: 0;
    padding: 10px;
    display: none;
	
}

#overlay ul li > ul li {
	display:block;
}

#overlay ul li > ul li a {
	font-size:20px;
}

#overlay ul li > ul li a:hover {
	text-shadow: 0px 0px 5px #420067;
	transition:all 0.3s ease-in-out;
}


/* OVERLAY LANGUAGE SWITCHER */
#overlay ul li.wpml-ls-item > ul {
	display: block;
	
}

/* LANGUAGE SWITCHER */
nav#tgp-nav ul li.wpml-ls-menu-item:hover {
	background:transparent;
	transition: all 0.3s ease-in;
}

nav#tgp-nav ul li.wpml-ls-menu-item  > ul {
	background: transparent;
	padding:0;
	top: 0;
    left: 30px;
}

nav#tgp-nav ul li.wpml-ls-menu-item > ul li {
	transform:none;
}

nav#tgp-nav ul li.wpml-ls-menu-item > ul li {
	transform:none;
}



/* SCROLLED */
header.scrolled {
	position:fixed;
	background: rgba(255, 255, 255, 0.9) !important;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
	z-index:20;
	width: 100%;
	height: 61px;
	
}

header.scrolled .tgp-logo-wrap {
    display: none;
}



/* OVERLAY */

#overlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* Overlay positioning */
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  /* Want a left- or right sided navigation instead? Just play around with the width! */
  height: 100%;
  background: rgba(245, 250, 250, 0.9);
  z-index: 15;
}

#overlay div.overlay-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100vh;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#overlay ul.tgp-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  color: white;
  text-align: center;
  font-size:24px;
}

#overlay ul li {
	
}

#overlay ul.tgp-menu li a {
	color: #09425d;
    display: block;
    padding: 5px 25px;
    text-align: center;
	text-decoration: none;
}

,#overlay ul.tgp-menu li a:hover {
	color: #fff !important;
	text-decoration: none;
	background-color: #e35057;
	transition:all 0.5s ease-in-out;
}

/* LANG */
#lang {
	float: right;
	font-family: 'Didact Gothic', sans-serif;
	margin-right: 20px;
}

#lang ul {
	list-style: none;
	margin: 0;
    padding: 0;
}

#lang ul li {
	padding: 0 5px;
	display: inline;
}

#lang ul li a {
	line-height: 58px;
	font-size: 14px;
	text-decoration: none;
}
#lang ul li a img {
	margin-right:5px;
	height: 14px;
    vertical-align: middle;
    box-shadow: 0px 0px 4px 0px #a5a5a5;
}

/* PRELOADER */
#page-preloader {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	
	z-index: 100500;
	
	background: #f6fbfa; /* Old browsers */
	
}

#page-preloader img {
	width: 200px;
	height: 50px;
	position: absolute;
	left: 0;
	right:0;
	top: 50px;
	bottom:0;
	margin:auto;
	animation-name: fadein;
	animation-duration: 3000ms;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

#page-preloader .spinner {
	width: 50px;
	height: 50px;
	position: absolute;
	left: 0;
	right:0;
	top: -50px;
	bottom:0;
	margin:auto;
	background: url('/wp-content/uploads/2019/06/balneom-loader.svg') no-repeat 50% 50%;
	animation-name: spin;
	animation-duration: 3000ms;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(90deg);
    }
	100% {
		transform: rotate(180deg);
    }
}

@keyframes fadein {
    0% {
        opacity:0;
    }
	50% {
        opacity:1;
    }
	100% {
		opacity:0;
    }
}

h1, h2, h3, h4 {
	font-family: 'Didact Gothic', sans-serif;
	font-weight:700;
	letter-spacing:0px;
}

h1 {
	font-size:42px;
	font-weight: 700;
}

h2 {
	font-size:38px;
	margin-top: 0px;
	font-weight: 700;
}

h3 {
	font-size:20px !important;
	font-weight: 700 !important;
}

h4 {
	font-size: 20px !important;
    font-weight: 700 !important;
	color: #e35058 !important;
}

h5 {
	font-size:18px;
	font-weight: 400;
	color:#fff;
}

.mpc-textblock a {
	color: #0075d7 !important;
	text-decoration: none;
}

a:hover, .mpc-textblock a:hover {
	text-decoration: underline;
}

a {
	text-decoration: none;
	transition:all 0.3s ease-in;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/* PREFACE */
/* #tgp-content.preface {
	position:absolute;
	width: 63%;
    bottom: -75px;
	margin-top: 0px !important;
    margin-bottom: 0px !important;
} */

#tgp-content.preface {
    position: absolute;
    width: 100%;
    top: 750px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10%;
    padding-right: 10%;
    left: 0;
}

#tgp-content .tgp-preface-col .vc_column-inner {
	box-shadow: 0 5px 6px -5px #848484;
}

/* SERVICES */
.services-icon img {
	width: 60px;
    height: 60px;
}

.tgp-service {
	padding: 25px !important;
	transition: all 0.3s ease-in;
}

.tgp-service:hover {
	border-radius:8px;
	background:#fff;
	cursor:pointer;
}

a.tgp-service {
	color:inherit;
}

/* OSAKONNAD */
#osakonnad .vc_column-inner {
	padding:10%;
	transition: all 0.3s ease-in;
	background: #f6fbfa;
    border-radius: 15px;
}

#osakonnad .vc_column-inner:hover {
	background:#fff;
	border-radius:15px;
}

#osakonnad .vc_column-inner h3 {
	color:#0a425d !important;
	margin-bottom: 0;
}

#osakonnad-2 .vc_column-inner h3 {
	color: #fff;
    font-size: 28px !important;
    background: #e35059bf;
    padding: 10px 10px 15px 10px;
}
	
/* CALENDER */
#hambarst-form .hp-calendar-container {
	width: 100%;
}

#hambarst-form .hp-calendar {
    border: none !important;
    display: inline-block;
    line-height: 30px !important;
    font-family: 'Didact Gothic', sans-serif !important;
    margin-right: 0px;
}

#hambarst-form .hp-loc-list, #hambarst-form .hp-clinic-list, #hambarst-form .hp-profile-list, #hambarst-form .hp-doctor-list {
    width: 100% !important;
}

#hambarst-form .hp-month-header {
    height: 30px !important;
}

#hambarst-form .hp-month-title {
    text-align: center;
    cursor: default;
    font-family: 'Didact Gothic', sans-serif !important;
	font-size: 16px !important;
    line-height: 36px !important;
    margin-top: 2px;
}

#hambarst-form .hp-day-box {
	width: 36px !important;
    height: 36px !important;
    line-height: 23px !important;;
}

#hambarst-form .hp-day-box {
    display: inline-block;
    float: left;
    width: 36px;
    height: 36px;
    font-family: 'Didact Gothic', sans-serif !important;
	font-size: 16px !important;
    line-height: 24px;
    text-align: center;
    cursor: default;
}

#hambarst-form .hp-day-box.hp-today {
    font-weight: 700;
    color: #fff;
    background: #e35059 !important;
}

#hambarst-form .hp-day-box.hp-available.hp-active {
    background: #09425d !important;
    color: #fff !important;
}

#hambarst-form .hp-lists {
    margin: 0 !important;
}

#hambarst-form .hp-loc-list, #hambarst-form .hp-clinic-list, #hambarst-form .hp-profile-list, #hambarst-form .hp-doctor-list {
    background: #fff !important;
    font: 14px sans-serif !important;
    font-family: 'Didact Gothic', sans-serif !important;
    padding: 10px !important;
    border: none !important;
}

#hambarst-form .hp-calendar-info p {
	display:none;
	line-height: 34px;
}

#hambarst-form .hp-calendar-info {
	width:50%;
}

#hambarst-form .hp-tooltip {
	width:100%;
}

#hambarst-form .hp-calendar-info p.hp-tooltip-doctor, #hambarst-form .hp-calendar-info p.hp-tooltip-slot {
	display:block;
}

#hambarst-form .hp-tooltip-slot button {
	padding: 5px 10px;
	margin: 5px;
    border-radius: 8px;
    border: none;
    background: #e35057;
    color: #fff;
}

/* OSAKONNA FORM */
#hambarst-form .osakonna-form .hp-calendar-info {
    float: none;
    width: 100%;
	margin-top: 25px;
}

#hambarst-form .osakonna-form .hp-calendar-info .hp-tooltip {
   width: 100%;
}

/* HERO TITLE */
#hero-title .title-block {
	background: #f6fbfacc;
    padding: 15px 20px;
}

#hero-title .title-block h1 {
	color: #e35058;
    font-size: 40px;
    line-height: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

#hero-title .title-block p {
	font-weight: 700;
}

/* HINNAKIRI TABLE */
.hinnakiri-table {
	overflow-y:auto;
}
.hinnakiri-table table { 
	width: 100%;
	border-collapse: collapse; 
	
}
/* Zebra striping */
.hinnakiri-table table tr:nth-of-type(odd) { 
	background: #edf2f1;
}

.hinnakiri-table table th { 
	background: #09425d; 
	color: white; 
	font-weight: normal;
	text-align: left;
}
.hinnakiri-table table td, th { 
	padding: 10px 15px; 
	border: none;
	word-wrap: break-word;
}

.hinnakiri-table table td:first-child, .hinnakiri-table table th:first-child { 
	width: 70%;
}

/* .hinnakiri-table table tr:nth-child(1) { 
	width: 50%;	
}
.hinnakiri-table table tr:nth-child(2), .hinnakiri-table table tr:nth-child(3) { 
	width: 25%;	
} */

/* NEW PERSONAL */
ul.department-listing {
	display: flex;
    flex-wrap: wrap;
    list-style: none;
}

ul.department-listing li {
	padding:5px;
	width:24%;
}

ul.department-listing li img {
	display:block;
}

.person-box .vc_column-inner {
	padding:10px !important;
}

.person-box .person-text ul {
	padding: 0;
    list-style: none;
}


.person-box h3 {
	color:#e35059;
}

.person-box h4 {
	font-size:16px !important;
	font-weight:700 !important;
	color:#09425d !important;
}

.person-box .person-text {
	margin-bottom:15px;
}

.lang-flag img {
	width: 25px;
    height: 25px;
	padding:2px;
}

/* GRID */
.esg-filter-wrapper.dropdownstyle {
    min-width: 150px;
}

.esg-dropdown-wrapper {
    width: 120%;
}

.esg-navigationbutton:hover, .esg-filterbutton:hover, .esg-sortbutton:hover, .esg-sortbutton-order:hover, .esg-cartbutton-order:hover, .esg-filterbutton.selected {
    color: #fff !important;
    background: #e35057 !important;
}

.esg-selected-filterbutton .eg-icon-down-open {
    display: inline-block;
    vertical-align: top;
    width: 29px;
    line-height: 22px;
    font-size: 16px;
    font-weight: 400;
    color: #09425d;
    cursor: pointer;
    background: rgba(0, 0, 0, 0);
    margin-left: 10px;
}

.esg-filterbutton, .esg-navigationbutton, .esg-sortbutton, .esg-cartbutton, .esg-selected-filterbutton {
	color: #e35057 !important;
    margin-right: 5px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    padding: 1px 10px !important;
    border: none;
    line-height: 24px !important;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 5px;
    text-align: left !important;
}

.esg-filter-checked {
    background: #d8b3f1;
	margin-right: 10px;
	margin-left: 0 !important;
}

.esg-filterbutton.selected .esg-filter-checked, .esg-filterbutton:hover .esg-filter-checked {
    background: #f6fbfa !important;
}

.eg-meeskond-content {
	min-height:185px !important;
}




/* NEXT PREV POST LINK */
.next-post, .previous-post {
	position: fixed;
    top: 34%;
    /* width: 50px;
    height: 50px; */
    background: transparent;
	text-align: center;
	/* box-shadow: 0px 7px 12px -5px rgba(0,0,0,0.5); */
	border: none;
	padding: 0;
	z-index:20;
}

.next-post img, .previous-post img {
	width:30px;
	height:30px;
	vertical-align: middle;
}

.next-post {
	right: 10px;
}

.previous-post {
    left: 10px;
}

.next-post a, .previous-post a {
	font-size: 16px;
    color: #ff3838;
	text-decoration:none;
	line-height:40px;
}

/* .next-post:hover, .previous-post:hover {
	transform:scale(1.1);
} */


.next-post a span, .previous-post a span {
	display:none;
	text-transform:uppercase;
	transition: all 0.5s ease-in;
	font-size: 10px;
}







/* MAP */
#tgp-map .wpb_gmaps_widget .wpb_wrapper {
	padding: 0px !important;
}

/* SOCIAL SHARE */

span.essb_icon {
    background-color: transparent !important;
    border: 2px solid #57ad68 !important;
	color: #57ad68!important;
    border-radius: 50px !important;
}

span.essb_icon:hover {
    background-color: #57ad68 !important;
    border: 2px solid #57ad68 !important;
	color: #FFF!important;
    border-radius: 50px !important;
}

/* CONTACT PAGE */
#tgp-content .address-list i {
	margin-right: 10px;
    width: 18px;
    text-align: center; 
}

#tgp-content .contact-directions .transport-badge {
	color:#33cccc;
	font-weight:700;
	display: flex;
    align-items: center;
    float: left;
    margin-right: 10px;
}

#tgp-content .contact-directions .transport-badge img {
	display: inline;
}

#tgp-content .contact-directions .buss {
	color:#33cccc;
	font-weight:700;
	margin-right: 7px;
}

#tgp-content .contact-directions .tramm {
	color:#ff5e1e;
	font-weight:700;
	margin-right: 7px;
}

#tgp-content .contact-directions .parking {
	color:#0063b3;
	font-weight:700;
	margin-right: 7px;
}

#tgp-content .contact-directions .buss:before {
	content:url('/wp-content/uploads/2019/07/bus.png');
	vertical-align: middle;
	margin-right: 3px;
}

#tgp-content .contact-directions .tramm:before {
	content:url('/wp-content/uploads/2019/07/tram.png');
	vertical-align: middle;
	margin-right: 3px;
}

#tgp-content .contact-directions .parking:before {
	content:url('/wp-content/uploads/2019/07/parking-e1441710857409.png');
	vertical-align: -webkit-baseline-middle;
	margin-right: 10px;
}

/* FORM */
/* #gform_fields_1 label, #gform_fields_2 label, #gform_fields_3 label, #gform_fields_4 label {
	display:none;
} */

.gform_wrapper .gform_footer {
    text-align: center;
}

#gform_submit_button_1, #gform_submit_button_2, #gform_submit_button_3, #gform_submit_button_4 {
	color: #ffffff;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    padding: 20px 25px;
    background: #e35057;
    border: none;
}

#gform_submit_button_1:hover, #gform_submit_button_2:hover, #gform_submit_button_3:hover, #gform_submit_button_4:hover {
	color: #fff;
    border: none;
    background-image: linear-gradient(180deg,#e3505a 0%,#e21b28 100%);
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper select, .gform_wrapper textarea {
	border: none;
    border-bottom: 2px solid #e35057;
    padding: 15px 15px !important;
    color: #585858;
}

.gform_wrapper .gsection {
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#tgp-content .gform_wrapper li.gfield.field_description_below+li.gsection {
    margin-top: 55px!important;
}

.gform_wrapper select {
    padding: 7px !important;
	color: #bdbdbd;
}

.gfield_radio label {
	display: inline-block !important;
	cursor: pointer;
	position: relative;
	color: #09425d !important;
    font-size: 16px !important;
}

.gfield_radio label:before {
	content: "";
    display: inline-table;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    background-color: #fff;
    border-radius: 50px;
    border: 2px solid #e35057;
    background: #ffffff;
}

input[type=radio]:checked + label:before {
    /* font-family: FontAwesome; */
    content: "\2713";
    color: #e35057;
    font-size: 16px;
    text-align: center;
    line-height: 25px;
    padding-left: 1px;
    padding-top: 1px;
}

input[type="radio"] {
	display: none !important;
}

input.datepicker {
	width:100% !important;
}

.gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
    margin-bottom: 15px !important;
}

/* post carousel fix */

.mpc-post .mpc-post__thumbnail {
    background-position: top !important;
}

.mpc-grid-posts .mpc-post .mpc-post__heading {
    line-height: 1.3 !important;
}

/* SLIDER ARROW */
.tparrows {
    background: rgba(8, 65, 93, 0.71);
}

.tparrows:hover {
    background: #09425d;
}

/* FOOTER */

p.fb i {
	line-height: 28px !important;
}

#footer {
	color:#f6fbfa;
}

#footer .footer-logo img {
	width: 250px;
	height: 100px;
}

#footer i {
	font-size: 24px;
    line-height: 48px;
    margin-right: 16px;
    float: left;
	color: #e35059;
}

#footer i.fa-clock {
	line-height: 68px;
}

#footer p {
	font-size:16px;
}

#footer ul {
	list-style:none;
	margin: 0;
    padding: 0;
	font-size: 17px;
	
}
#footer li {
	padding: 5px 5px 5px 0;
}

#footer li:before {
    content: "\f054";
    font-family: "Font Awesome 5 Pro";
    display: inline-block;
    /* margin-left: -1.5em; */
    width: 1.5em;
    font-size: 12px;
    color: #e35058;
}

#footer a {
    color:#f6fbfa;
	text-decoration:none;
	transition: all 0.3s ease-in;
}

#copyright a {
    color:#b6b6b6;
	text-decoration:none;
	transition: all 0.3s ease-in;
}

#footer a:hover,  #copyright a:hover {
    color:#FFF;
    text-decoration:underline;
}

#copyright {
    background: #07384f;
    position: relative;
    z-index: 10;
}

footer {
	text-align:right;
	padding: 1px 0;
}
footer p {
    margin: 10px 57px;
	font-size:12px;
	color: #fff;
}



#totop {
	position: fixed;
    bottom: 6px;
    right: 20px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    z-index: 10;
    cursor: pointer;
	display:none;
}

#totop i {
	color: #ff4848;
	font-size: 22px;
}

.contact a {
	color:#FFF;
}

.contact a:hover {
    color:#ffc800;
    text-decoration:underline;
}

#subscribe-email input {
	width: 100%;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #57AD68;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    padding: 5px 10px;
    margin-top: 10px;
}
#subscribe-email button {
	width: 100%;
    color: #fff;
    background-color: #57AD68;
    border: 2px solid #57AD68;
    padding: 5px 10px;
    margin-top: 10px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}


/* PLACEHOLDER */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #bfbfbf;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #bfbfbf;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #bfbfbf;
}
:-moz-placeholder { /* Firefox 18- */
  color: #bfbfbf;
}

/* CONTAINER */
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px) {
  .container {
	width: calc(100% - 5%);
	margin:auto;
  }
}
@media (min-width: 992px) {
  .container {
	width: calc(100% - 5%);
  }
}
@media (min-width: 1200px) {
  .container {
	width: 1170px;
  }
}
.container-fluid {
  /* padding-right: 15px;
  padding-left: 15px; */
  margin-right: auto;
  margin-left: auto;
}
.row {
  margin-right: -15px;
  margin-left: -15px;
}

/* RESPONSIVE */

@media (max-width: 1440px) {
	/* #tgp-content.preface {
		width: 80%;
		bottom: -170px;
	} */
}

@media (max-width: 1200px) {
	.nav > li {
		padding: 0px 10px !important;
	}
	.nav > li > a, div.lang {
		line-height: 50px;
		font-size: 16px;
	}
	
	div.lang{
		line-height: 50px;
	}
}

@media (max-width: 1024px) {
	#tgp-content.preface {
		top: 600px;
		margin: auto;
		padding: 0;
	}
	#logo {
		left: 10px;
	}
	#header-phone, #header-opening, #header-address {
		width: 20%;
		font-size: 16px;
	}
	nav {
		font-size: 14px;
	}
	.wpml-ls-native {
		display:none;
	}
	
	
}

@media (max-width: 768px) {
	#header-phone, #header-opening, #header-address {
		width: 18%;
		font-size: 14px;
	}
	#header-phone i, #header-opening i, #header-address i {
		font-size: 22px;
		line-height: 40px;
	}
	#header-phone i {
		line-height: 62px;
	}
	.tgp-menu-wrap {
		overflow: hidden;
	}
	#nav-icon {
		display: block;
		top: 14px;
	}
	nav {
		display: none;
	}
	#lang {
		float: left;
	}
	
	#tgp-content.preface {
		position: relative;
		top:15px;
	}
	#tgp-after-content {
		margin-top: 50px !important;
	}
	
	.tgp-service .services-icon {
		margin-bottom:25px;
	}
	.tgp-service, .tgp-service h2, .tgp-service div.mpc-divider {
		text-align: center !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	h1 {
		font-size: 36px !important;
		line-height: 38px !important;
	}
	#footer .footer-logo img {
		width: 100%;
	}
	#footer .vc_column-inner {
		 padding: 0 10%;
	}
	
}


@media (max-width: 425px) {
	#logo {
		display:block;
		text-align:center;
	}
	#logo img {
		width: 60%;
	}
	#header-phone, #header-opening, #header-address {
		display:none;
	}
	#personal {
		padding: 10% !important;
	}
	
	.teenuste-hinnakiri .mpc-textblock {
		margin-bottom: 25px;
	}
	#nav-icon {
		top: 14px;
	}
	#overlay ul.tgp-menu {
		font-size: 20px;
	}
	#overlay ul li > ul li a {
		font-size: 16px;
	}
	
}

@media (max-width: 375px) {
	
	h1 {
		font-size: 26px !important;
	}
	.vc_row.vc_column-gap-30 {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	#tgp-hero {
		padding-top: 150px !important;
		padding-bottom: 150px !important;
	}

}

@media (max-width: 320px) {
	#hambarst-form .hp-day-box {
		width: 32px !important;
		height: 32px !important;
		line-height: 18px !important;
	}
}