/******************************************************************
Theme Name: EVL
Theme URI: http://www.vehklemisliit.ee
Author: Dreamo digiagentuur
Author URI: http://www.dreamo.ee
Text Domain: EVL
Version: 1.0
******************************************************************/
.google-terms{
	font-size: 0.7em;
}
.grecaptcha-badge{
	display: none;
}
img {
max-width: 100%;
height: auto;
}
.wp-caption img {
  max-width: 100%;
  height: auto;
}
.wp-caption {
  width: 100% !important;
}

@font-face {
	font-family: 'brndblk';
	src: url('./libs/fonts/brndblk.eot');
	src: url('./libs/fonts/brndblk.eot?#iefix') format('embedded-opentype'),
	url('./libs/fonts/brndblk.woff2') format('woff2'),
	url('./libs/fonts/brndblk.woff') format('woff'),
	url('./libs/fonts/brndblk.ttf') format('truetype'),
	url('./libs/fonts/brndblk.svg#brandon_grotesqueblack') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'brndmed';
	src: url('./libs/fonts/brndmed.eot');
	src: url('./libs/fonts/brndmed.eot?#iefix') format('embedded-opentype'),
	url('./libs/fonts/brndmed.woff2') format('woff2'),
	url('./libs/fonts/brndmed.woff') format('woff'),
	url('./libs/fonts/brndmed.ttf') format('truetype'),
	url('./libs/fonts/brndmed.svg#brandon_grotesquemedium') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: "brndmed", Helvetica, Tahoma, Arial, sans-serif;
	color: #444;
}

#tinymce {
	font-family: "Vollkorn", Helvetica, Tahoma, Arial, sans-serif !important;
}

body.home {
	background: #f5f5f5;
}

ul {
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5 {
	color: #444;
	font-family: "brndblk";
}

#main h1, #main h2, #main h3, #main h4, #main h5 {
  text-transform: uppercase;
  color: #444;
}

a {
	color: #2c85dd;
}

:focus,
a:focus {
	outline: 0;
}

.left {
	float: left;
}

.right {
	float: right;
}

.container {
	width: 985px;
}

a:hover {
	text-decoration: underline;
	color: #000;
}

a:focus {
	text-decoration: none;
}

/* TOP SPONSORS */

.sponsorid ul li {
    display: table;
    float: left;
    height: 62px;
    padding: 0 10px;
    vertical-align: middle;
}

.sponsorid ul li a {
    display: table-cell;
    vertical-align: middle;
}

.sponsorid ul {
	display: inline-block;
}

.sponsorid li img {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	opacity: 0.5;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	transition: all 0.2s ease-in-out;
	max-width: 100%;
}

#sponsorid1 li img {
    max-height: 44px;
    width: auto;
}

.sponsorid li a:hover img {
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
}

#sponsorid1 {
	background: #fff;
	text-align: center;
	display: inline-block;
	width: 100%;
	border-bottom: 1px solid #ddd;
	padding: 10px 0;
}

#sponsorid2 {
	background: #fff;
	text-align: center;
	display: inline-block;
	width: 100%;
	padding: 10px 0;
	border-top: 1px solid #ddd;
}

#sponsorid2 ul {
    position: relative;
    text-align: center;
}

#sponsorid2 ul li {
    display: inline-block;
    float: none;
    height: auto;
    line-height: 70px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: auto;
}

.sponsorid h3 {
    color: #666666;
    font-size: 10pt;
    font-weight: 900;
    letter-spacing: normal;
    line-height: normal;
    margin: 0;
    padding: 30px 0 5px;
    text-align: center;
    text-transform: uppercase;
}

/* HEADER */

.header {
	background: #fff;
}

.fb {
	margin-right: 5px;
}

.ext-links {
	margin: 9px 20px 0 0;
}

.misc {
	max-width: 540px;
	margin-top: 0;
}

.home .misc {
	margin-top: 5px;
}

.right .login {
    margin-bottom: 0;
    text-align: right;
}
.home .right .login {
    margin-bottom: 10px;
}

.birthdays {
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 13px;
	line-height: 1.1;
	margin-top: 7px;
	margin-left: 0;
}

.birthdays.mobile {
  display: none;
}

.no-bd {
width: 150px;
}

.birthdays span {
	color: #2c85dd;
}

.birthdays p {
	margin: 0;
}

#banner {
	max-height: 100px;
}

#banner .container img {
    max-width: 100%;
}

.nav {
	background: #000;
	margin: 0;
	position: relative;
}

.nav-toggle {
	background: #000;
	color: #fff;
	font-size: 24px;
	display: inline-block;
	display: none;
	cursor: pointer;
	padding: 5px 12px;
	margin: 10px auto;
}

.nav-toggle-clear {
  display: none;
}

.nav-toggle:hover,
.nav-toggle:focus {
	color: #000;
	background: #f5ff00;
}

.visible {
	display: block !important;
}

.logo-home {
	float: left;
	width: 285px;
	height: 115px;
	display: inline-block;
	background: url(./libs/images/logo-home.png) no-repeat;
	margin: 12px 0;
}

.logo {
	float: left;
	width: 212px;
	height: 71px;
	display: inline-block;
	background: url(./libs/images/logo.png) no-repeat;
	margin: 12px 0;
}

#search input {
	border: 1px solid #ddd;
	background: #FFFFFF;
	height: 40px;
	padding: 14px 15px 14px 15px;
	z-index: 1;
	width: 200px;
	font-size: 12px;
	color: #222;
	text-transform: uppercase;
	font-family: "brndblk";
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomleft: 8px;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	-webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow:    inset 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	box-shadow:         inset 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
	line-height: 1.5;
}

#search input::-webkit-input-placeholder {
	color:    #222;
}
#search input:-moz-placeholder {
	color:    #222;
	opacity:  1;
}
#search input::-moz-placeholder {
	color:    #222;
	opacity:  1;
}
#search input:-ms-input-placeholder {
	color:    #222;
}

.submit {
	border: 0;
	background: #f5f5f5;
	padding: 8px 15px 9px 15px;
	left: -3px;
	position: relative;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	-moz-border-radius-topright: 8px;
	-moz-border-radius-bottomright: 8px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	font-size: 16px;
	height: 40px;
}

#search {
	position: relative;
	display: inline-block;
	text-align: center;
}

.sub-menu {
	position: absolute;
	background: #ff0000;
	z-index: 999;
	display: none;
padding: 10px 0;
  width: 210px;
}

.nav li:hover {
	background: #ff0000;
}

.current-menu-item > a,
.nav>li>a:hover,
.nav>li>a:focus,
.nav .current_page_ancestor a {
	background: #ff0000;
}

.sub-menu li ul {
	display: none !important;
}

.sub-menu li a {
	padding: 5px 10px !important;
	display: inline-block;
	width: 100%;
}

.sub-menu li {
	float: none;
	list-style: none;
width: 100%;
}

.nav .menu-item-has-children:hover .sub-menu {
	display: block;
}

.nav li {
	float: left;
}

.nav li a {
	color: #fff;
	font-family: "brndblk";
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	padding: 10px;
}

.bg {
	width: 100%;
	height: 580px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: 50% 50%;
}

/* SLIDER */

.newstitle a{
  color: #fff;
  font-size: 16px;
  margin-right: 30px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "brndblk";
}
.newstitle .h-n-b {
	color: #000;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 16px;
	background: #f5ff00;
	padding: 0 5px;
}

.newstitle p {
	color: #fff !important;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 20px !important;
	margin: 0 !important;
}

.newstitle {
	position: absolute;
	background: #2c85dd;
	bottom: 25px;
	left: 25px;
	padding: 15px 50px 15px 20px;
}

.slider {
	overflow: hidden;
	position: relative;
	border: 15px solid #fff;
	margin: 40px 0;
	background: #fff;
	min-height: 381px;
}

.slider_tabs {
	float: right;
	width: 32%;
}

.slider_tabs,
.slider_tabs li {
	margin: 0px;
	padding: 0px;
}

.slider_tabs li{
	list-style-type: none;
	font-family: "brndblk";
	text-transform: uppercase;
}

.slider_tabs li p {
	color: #444;
	font-size: 16px;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.slider_tabs a:link,
.slider_tabs a:visited {
	display: block;
	width: 100%;
	padding: 10px 20px;
	background-color: #fff;
	font-size: 20px;
	color: #444;
	text-decoration: none;
}

.no-padding {
	padding: 0;
}

.slider_tabs a:hover,
.slider_tabs a:active{
	background-color: #eee;
}

.slider_tabs .activeTab a:link,
.slider_tabs .activeTab a:visited {
	background: #2c85dd;
	color: #fff;
}

.slider_tabs .activeTab a:hover,
.slider_tabs .activeTab a:active {
	background: #2c85dd;
}

.slider_tabs .activeTab a:hover .date,
.slider_tabs .activeTab a:active .date,
.slider_tabs .activeTab a:link .date,
.slider_tabs .activeTab a:visited .date,
.slider_tabs .activeTab a:hover p,
.slider_tabs .activeTab a:active p,
.slider_tabs .activeTab a:link p,
.slider_tabs .activeTab a:visited p {
	color: #fff;
}

.slider_contents {
	float: left;
	display: inline;
	margin: 0px;
	padding: 0px;
}

.slider_contents li {
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	padding: 0px;
	display: none;
	position: absolute;
	list-style-type: none;
	width: 68%;
	height: 100%;
}

.slider_contents li img {
	width: 100%;
}

.slider_tabs li .date {
	color: #888;
	font-size: 14px;
}

.slider_contents .activeContent {
	display: inline;
}

/* FASTLINKS */

.fastlinks li {
	list-style: none;
	float: left;
	width: 33%;
	position: relative;
}

.fastlinks .container {
	padding: 0;
}

.fastlinks li p {
	position: absolute;
	color: #fff;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 24px;
	z-index: 2;
	line-height: 1;
	margin: 15% 10px 0 30px;
}

.fastlinks li img {
	width: 100%;
}

.fastlinks {
	background: #2c85dd;
	padding: 60px 0 40px 0;
	width: 1100px;
	margin: auto;
	margin-top: -180px;
}

.fast1 a:hover p {
	text-decoration: underline;
}

.fast1 a:hover .overlay {
	background: rgba(255,255,0, 1);
	transition: all 0.3s ease;
}

.fast1 .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(255,255,0, 0.5);
	transition: all 0.3s ease;
}

.fast2 a:hover p {
	text-decoration: underline;
}

.fast2 a:hover .overlay {
	background: rgba(255,0,0, 1);
	transition: all 0.3s ease;
}

.fast2 .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(255,0,0, 0.5);
	transition: all 0.3s ease;
}

.fast3 a:hover p {
	text-decoration: underline;
}

.fast3 a:hover .overlay {
	background: rgba(0,0,255, 1);
	transition: all 0.3s ease;
}

.fast3 .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,255, 0.5);
	transition: all 0.3s ease;
}

/* HOMELISTS */

.lists {
	margin: 40px auto;
}

.col1,
.col2,
.col3 {
	width: 299px;
	float: left;
}

.col1,
.col2 {
	margin-right: 29px;
}

.home-list {
	background: #fff;
}

.home-list li {
	list-style: none;
}

.block-title {
	background: #f5ff00;
	display: block;
	color: #000;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 20px;
	padding: 10px 20px;
}

.block-title:hover,
.block-title:focus {
	color: #000;
}

.home-list li .points {
	font-family: "brndblk";
	color: #000;
	font-size: 16px;
}

.home-list li p {
    color: #000;
    display: inline-block;
    float: left;
    font-family: "brndmed";
    font-size: 16px;
    margin: 0;
/*     max-width: 211px; */
    overflow: hidden;
/*     text-overflow: ellipsis; */
/*     white-space: nowrap; */
}

.home-list li p a, .home-list li .comp-date a, .home-list li .comp-category a {
    color: #000000;
}

.home-list li span.points {
    display: inline-block;
    float: left;
    margin-left: 4px;
}

.home-list li .comp-category,
.home-list li .comp-date {
	font-family: "brndblk";
	color: #000;
	text-transform: uppercase;
	display: block;
	font-size: 16px;
}

.home-list li {
	list-style: none;
	border-bottom: 1px solid #e6e6e6;
	padding: 12px 20px;
}

.home-list li:last-child {
	border-bottom: 0;
}

.forward {
	background: #000;
	color: #f5ff00;
	float: right;
	display: inline-block;
}

.forward:hover,
.forward:focus {
	color: #f5ff00;
}

.forward {
	background: #000;
	color: #f5ff00;
	float: right;
	display: inline-block;
	padding: 15px 20px;
	font-size: 16px;
	text-transform: uppercase;
	font-family: "brndblk";
}

/* MAIN */

.titlebg {
	width: 100%;
	height: 230px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: 50% 10%;
	position: relative;
}

.titlebg .container {
	position: relative;
	height: 100%;
}

.titlebg .overlay {
	background: rgba(44,133,221, 0.8);
	position: absolute;
	width: 100%;
	height: 100%;
}

.title {
	background: #fff;
	display: inline-block;
	font-family: "brndblk";
	color: #000;
	font-size: 60px;
	padding: 10px 80px 10px 10px;
	margin: 0;
	position: absolute;
	bottom: 0;
	left: 15px;
	z-index: 2;
	line-height: 1;
}

.with-sb {
	width: 68% !important;
	float: left;
}

.news .forward {
	display: block;
	float: none;
}

.thumb-container {
	display: inline-block;
	float: left;
}

.news li {
	list-style: none;
	display: inline-block;
	width: 100%;
	margin-bottom: 30px;
}

.news-container .news-excerpt {
	font-family: "Vollkorn";
	text-transform: none;
	color: #444;
	font-size: 18px;
	border-top: 3px solid #dddddd;
	margin-top: 10px;
	padding-top: 10px;
}

.news-container {
	width: 64%;
	display: inline-block;
	float: left;
	padding-left: 20px;
}

.news-container a:hover {
	color: #000;
	text-decoration: underline;
}

.news-container a {
	color: #000;
}

.news span.date {
	color: #2c85dd;
	font-family: "brndblk";
	font-size: 16px;
	text-transform: uppercase;
}

.news-container p {
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 20px;
	color: #000;
	margin: 0;
	line-height: 1.2;
}

.news {
	float: left;
}

.nextpostslink:hover,
.previouspostslink:hover {
	color: #000;
}

.nextpostslink,
.previouspostslink {
	top: 1px;
	position: relative;
}

.wp-pagenavi {
	font-family: "brndblk";
	font-size: 20px;
	margin: 0 0 40px 0;
	color: #2c85dd;
}

.pagenav-top .wp-pagenavi {
	border-bottom: 5px solid #000;
}

.pagenav-bot .wp-pagenavi {
	border-top: 5px solid #000;
	margin: 0;
}

.pagenav-top,
.pagenav-bot {
	float: left;
	width: 100%;
}

.wp-pagenavi .page {
	color: #000;
	margin: 8px 16px;
}

.single #main,
.archive #main {
	width: 68%;
	float: left;
}

.post-type-archive-kalender #main, .post-type-archive-tulemused #main, .single.single-kalender #main, .single.single-tulemused #main, .single.single-voistkond #main {
    width: 100%;
}

.sharedaddy ul {
	margin: 0 !important;
}

.sharedaddy {
	border-bottom: 5px solid #000;
	margin-bottom: 40px;
	padding: 10px 0 8px 0;
}

#post-nav a {
	color: #000;
	text-transform: uppercase;
	float: left;
}

#post-nav {
	font-family: "brndblk";
}

#main {
	font-family: "Vollkorn";
	font-size: 20px;
	margin: 40px 0;
	display: inline-block;
	width: 100%;
}

#post-nav {
	margin-top: 40px;
}

#post-nav span {
	float: left;
	margin: 0 10px;
}

.search .pagenav-bot {
	margin: 40px 0;
}

#searchresults li:last-child {
	margin-bottom: 0;
}

#searchresults li {
	list-style: none;
	margin-bottom: 20px;
}

#searchresults li>a {
	display: block;
	color: #000;
	text-transform: uppercase;
	font-family: "brndblk";
	font-size: 16px;
	text-align: right;
}

.search-no-results .pagenav-bot {
	display: none;
}

#searchresults li a p {
	color: #000;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 20px;
	text-align: left;
}

#searchresults li a:hover {
	color: #000;
}

/* CALENDAR */

.filters li {
	list-style: none;
	padding-left: 0;
	padding-right: 30px;
	width: 20%;
	float: left;
}

.filter-btn:hover {
	background: #f5ff00;
	color: #000;
	text-decoration: none;
}

.filter-btn {
	background: #2c85dd;
	color: #fff;
	padding: 13px 0 13px 10px;
	display: inline-block;
	width: 100%;
	line-height: 1;
	margin-top: 47px;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 18px;
}

legend {
	display: block;
	width: 100%;
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 1.5;
	color: #000;
	border: 0;
	border-bottom: 0;
	background: #f5ff00;
	font-family: "brndblk";
	text-transform: uppercase;
	padding: 0 5px;
}

.filters {
	margin: 40px 0;
	display: inline-block;
	width: 100%;
}

.small-title p {
	background: #000;
	color: #fff;
	margin: 0;
	display: inline-block;
	padding: 5px;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 20px;
}

table td, .tablepress td {
	padding: 10px 12px;
	color: #000;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 16px;
	line-height: 1.2;
	border-bottom: 3px solid #000;
	text-align: center;
}

.tablepress td {
  white-space: nowrap;
}

table td {
/*	-ms-word-break: break-all;

	word-break: break-word;

	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
        hyphens: auto;*/
}

table th, .tablepress thead th {
	background: #000;
	color: #fff;
	font-family: "brndblk";
	text-transform: uppercase;
	padding: 12px;
	text-align: center;
}

.filtered-table {
	width: 100%;
}

.filters label {
	color: #000;
	font-family: "brndblk";
	font-size: 14px;
	text-transform: uppercase;
	margin: 0 0 0 5px;
	line-height: 1;
	top: -1px;
	position: relative;
}

select {
	border: 2px solid #000;
	padding: 8px;
	line-height: 1;
	font-size: 16px;
	color: #000;
	font-family: "brndblk";
	text-transform: uppercase;
	width: 100%;
}

p.linethrough-container span {
	font-family: "brndblk";
	z-index: 2;
	background: #fff;
	position: relative;
	color: #000;
	line-height: 1;
	text-transform: uppercase;
	font-size: 16px;
	padding: 0 10px;
}

p.linethrough-container {
	display: block;
	position: relative;
	text-align: center;
	margin: 15px 0;
}

#ui-datepicker-div {
	z-index: 3 !important;
}

input[type="text"],
input[type="email"],
textarea {
	border: 2px solid #000;
	padding: 8px;
	line-height: 1;
	font-size: 16px;
	color: #000;
	font-family: "brndblk";
	text-transform: uppercase;
	width: 100%;
}

#lisavehkleja input[type="text"], #lisavehkleja input[type="email"], #lisavehkleja textarea {
  text-transform: none;
}

p.linethrough-container:after {
	content: "";
	width: 100%;
	height: 3px;
	background: #000;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

.small-title {
	border-bottom: 5px solid #000;
}

.toplists table th {
	height: 150px;
	padding: 10px 3px;
}

.toplists table th p {
	margin: 0;
	transform: rotate(90deg);
	transform-origin: 50% 50%;
	display: inline-block;
	font-size: 12px;
}

.toplists table td {
	padding: 10px 4px;
	font-size: 12px;
}

/* SIDEBAR */

.side-nav li ul a:hover {
	text-decoration: underline;
}

.side-nav li>a:hover {
	text-decoration: none;
}

.side-nav li ul a {
	background: transparent !important;
	text-align: right;
	margin: 0;
	padding: 0;
}

.side-nav li>a {
	background: #f5ff00;
	display: block;
	color: #000;
	font-family: "brndblk";
	font-size: 18px;
	text-transform: uppercase;
	margin: 10px 0;
	padding: 5px 0 5px 10px;
}

#sidebar {
	width: 30%;
	float: right;
	margin: 40px 0;
}

.page-template-page-uudised #main {
	width: 68%;
	float: left;
}

span.current {
	background: #000;
	padding: 10px;
	color: #fff;
	display: inline-block;
}

span.pages {
	display: none;
}

.sidebar-title {
	margin: 0;
	background: #000;
	color: #fff;
	text-align: right;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 24px;
	padding: 8px 2px;
}

.sidebar-title-container {
	border-bottom: 5px solid #ccc;
	padding: 0 0 6px 0;
}

#sidebar>ul {
	margin-top: 40px;
}

.archive-nav li a {
	background: transparent !important;
	text-align: right;
	display: block;
	color: #000;
	font-family: "brndblk";
	font-size: 18px;
	text-transform: uppercase;
}

.archive-year {
	background: #f5ff00;
	display: block;
	color: #000;
	font-family: "brndblk";
	font-size: 18px;
	text-transform: uppercase;
	margin: 10px 0;
	padding: 5px 0 5px 10px;
}

#sidebar ul {
	list-style: none;
}

.archive-year:first-child {
	margin-top: 0;
}

/* CONTACT */

.contactform {
	width: 50%;
	float: right;
}
.contactinfo {
	width: 45%;
	float: left;
}

.contactform span {
	margin-top: 10px;
	display: inline-block;
	width: 100%;
}

.contactform p {
	font-family: "brndblk";
	text-transform: uppercase;
	color: #000;
	font-size: 16px;
}

.contactinfo strong {
	font-family: "brndblk";
	text-transform: uppercase;
	color: #000;
	margin-bottom: 10px;
	display: inline-block;
}

.wpcf7-validation-errors {
	border: 2px solid #f7e700;
	padding: 15px !important;
	margin: 10px 0 0 0 !important;
	display: inline-block !important;
	width: 100%;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 16px;
	color: #000;
}

.wpcf7-mail-sent-ok {
	border: 2px solid #398f14 !important;
	margin: 10px 0 0 0 !important;
	display: inline-block !important;
	width: 100%;
	font-family: "brndblk";
	color: #000;
	text-transform: uppercase;
	font-size: 16px;
	padding: 15px;
}

input[type="submit"] {
	background: #2c85dd;
	color: #fff;
	padding: 15px;
	display: inline-block;
	width: auto;
	line-height: 1;
	font-family: "brndblk";
	text-transform: uppercase;
	font-size: 18px;
	border: 0;
}

input[type="submit"]:hover {
	background: #f5ff00;
	color: #000;
	text-decoration: none;
}

/* FOOTER */

.footer-nav .children {
  display: none !important;
}

.footer .container > div {
  width: 100%;
  margin: auto;
  display: inline-block;
}

.footer-nav {
	width: 33%;
	float: left;
}

.footer-nav li a:hover {
	background: #f5ff00;
	color: #000;
	text-decoration: none;
	padding: 0;
}

.parent-link {
	margin-bottom: 20px;
}

.parent-link a {
	text-transform: uppercase;
	font-family: "brndblk";
	border-bottom: 2px solid #fff;
}

.footer-nav li a {
	color: #fff;
	font-size: 18px;
}

.parent-link a:hover {
	border: 0;
	padding: 0 !important;
}

.footer-nav li {
	list-style: none;
}

.footer {
	padding: 25px 0;
	background: #000;
}

.footer .container {
	position: relative;
}

.contactinfo-footer {
	background: #111;
	color: #fff;
	padding: 35px 35px 10px 35px;
}

.contactinfo-2 a {
	color: #fff;
	font-family: "brndblk";
	font-size: 16px;
	text-transform: uppercase;
}

.contactinfo-1 span {
	color: #888888;
	font-size: 16px;
	margin: 0;
}

.contactinfo-1 h3 {
	margin: 0;
	text-transform: uppercase;
	font-family: "brndblk";
	font-size: 20px;
	color: #fff;
}

.footer-nav-container {
	display: inline-block;
	float: right;
	width: 60%;
}

.contactinfo-1 {
	margin-bottom: 60px;
}

.contactinfo-footer {
	width: 33.33333333%;
	float: left;
}

.contactinfo-2 a:hover {
	color: #f5ff00;
}

.dreamo-container {
  float: left;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  font-family: "brndblk";
  margin: 20px 0 0 0;
}

.dreamo {
	display: inline-block;
	position: relative;
	top: -2px;
  left: -5px;
}

.tablepress thead th span {
    display: block;
    min-height: 20px;
}
.tablepress thead th, .tablepress tbody td {
    font-size: 12px;
}

.tablepress.font-1 thead th, .tablepress.font-1 tbody td {
    font-size: 1px;
}
.tablepress.font-2 thead th, .tablepress.font-2 tbody td {
    font-size: 2px;
}
.tablepress.font-3 thead th, .tablepress.font-3 tbody td {
    font-size: 3px;
}
.tablepress.font-4 thead th, .tablepress.font-4 tbody td {
    font-size: 4px;
}
.tablepress.font-5 thead th, .tablepress.font-5 tbody td {
    font-size: 5px;
}
.tablepress.font-6 thead th, .tablepress.font-6 tbody td {
    font-size: 6px;
}
.tablepress.font-7 thead th, .tablepress.font-7 tbody td {
    font-size: 7px;
}
.tablepress.font-8 thead th, .tablepress.font-8 tbody td {
    font-size: 8px;
}
.tablepress.font-9 thead th, .tablepress.font-9 tbody td {
    font-size: 9px;
}
.tablepress.font-10 thead th, .tablepress.font-10 tbody td {
    font-size: 10px;
}
.tablepress.font-11 thead th, .tablepress.font-11 tbody td {
    font-size: 11px;
}
.tablepress.font-12 thead th, .tablepress.font-12 tbody td {
    font-size: 12px;
}
.tablepress.font-13 thead th, .tablepress.font-13 tbody td {
    font-size: 13px;
}
.tablepress.font-14 thead th, .tablepress.font-14 tbody td {
    font-size: 14px;
}
.tablepress.font-15 thead th, .tablepress.font-15 tbody td {
    font-size: 15px;
}
.tablepress.font-16 thead th, .tablepress.font-16 tbody td {
    font-size: 16px;
}

.page-template-page-lai > .container {
    width: auto;
}

.page-template-page-lai > .container #main {
    display: table;
    margin: 40px auto;
    width: auto;
}

#theme-my-login .submit {
  height: auto;
}

.tablepress span.tooltips {
    padding: 10px;
    cursor: help;
}

.tablepress thead th {
    padding: 3px;
}

.lahetus_field input, .lahetus_field textarea, .lahetus_field select, .lahetus_signing_row input {
    text-transform: unset;
    font-family: "Vollkorn";
}
.lahetus_signing_row input {
    width: 50%;
    float: left;
}

/* QUERIES */

@media all and (min-width:968px) and (max-width:1120px) {
	.page-template-page-edetabel .filtered-table {
		width: 100%;
		overflow-x: scroll;
	}
	.news-container {
		width: 63%;
	}
	table th {
		padding: 10px;
	}
	.container {
		width: 945px;
	}
	.fastlinks {
		width: 100%;
	}
	.fast3 .overlay {
		width: 100%;
	}
	.fastlinks li img {
		width: 100%;
	}
	.col1,
	.col2 {
		margin-right: 20px;
	}
	.lists {
		padding: 0;
	}
	.nav li a {
		padding: 10px 9px;
	}
}

@media all and (max-width:968px) {
.archive-nav li a {
  text-align: center;
}
.dreamo-container {
  float: none;
}
	.contactinfo-footer {
		width: 100%;
	}
	.contactinfo {
		width: 100%;
		float: none;
	}
	.contactform {
		width: 100%;
		float: none;
		margin-top: 30px;
	}
	.filters label {
		color: #000;
		font-family: "brndblk";
		font-size: 16px;
	}
	.filtered-table {
		width: 100%;
		overflow-x: scroll;
	}
	.filters li {
		padding-right: 0;
		width: 100%;
		float: none;
		margin-bottom: 20px;
	}
	.filters {
		margin: 20px 0;
	}
	.filter-btn {
		margin-top: 0;
	}
	#sidebar>ul {
		margin-top: 6px;
	}
	.news-container {
		width: 100%;
		display: inline-block;
		float: none;
		padding-left: 0;
	}
	.thumb-container {
		display: none;
	}
	#sidebar {
		width: 100%;
		float: none;
		margin: 0 0 40px 0;
		text-align: center;
	}
	.archive-month a,
	.sidebar-title,
	.side-nav li ul a {
		text-align: center;
	}
	.bg {
		height: auto;
	}
	#sponsorid1 {
		display: none;
	}
	.home .misc {
		margin-top: 20px;
	}
	.page-template-page-uudised #main,
	.single #main,
	.archive #main {
		width: 100%;
		float: none;
	}
	.with-sb {
		width: 100% !important;
		float: none;
	}
	.fastlinks {
		background: transparent;
		padding: 0;
		width: 100%;
		margin: auto;
		margin-top: 0;
	}
	.logo-home {
	    background-position: center center;
	    background-size: contain;
	    float: left;
	    margin: 12px 0 auto;
	    width: 50%;
	}
	.fastlinks li img {
		width: 100%;
	}
	.fastlinks li {
		float: none;
		width: 100%;
	}
	.fast3 .overlay {
		width: 100%;
	}
	.slider_contents {
/* 		display: none; */
		width: 100%;
		float: none;
	}
	.slider_contents li {
	  width: 100%;
	}
	.slider_tabs {
		float: none;
		width: 100%;
		display: none;
	}
	.slider {
		border: 0;
		width: 90%;
		margin: 40px auto;
	}
	.slider_contents li img {
/* 	    height: 100%; */
	    width: 100%;
	}
	.col3 {
		margin-bottom: 0;
		text-align: center;
	}
	.col1, .col2, .col3 {
		width: 100%;
		float: none;
		display: inline-block;
		margin-bottom: 30px;
	}
	.forward {
		float: none;
		display: block;
		text-align: center;
	}
	.col1, .col2 {
		margin-right: 0;
		text-align: center;
	}
	.container {
		width: 100%;
	}
	.title {
		font-size: 30px;
		padding: 20px;
		left: 0;
		position: relative;
		width: 100%;
		margin-top: 15px;
	}
	#searchresults li>a {
		text-align: left;
	}
	.footer-nav-container {
		display: none;
	}
	#sponsorid2 ul li {
/* 		width: 50%; */
		padding: 0;
	}
	#search input {
		width: 70%;
	}
	.logo {
		float: left;
		display: inline-block;
		width: 50%;
		background-size: contain;
	}
	.header {
		text-align: center;
	}
	#search {
		position: relative;
		display: block;
		float: none;
	}
	.misc {
		margin: 0;
		float: left;
		width: 50%;
		max-width: 50%;
	}
	.ext-links {
		margin: 0 0 20px 0;
		float: none;
	}
	.birthdays {
	  display: none;
	}
	.birthdays.mobile {
		float: none;
		margin: 0 0 20px !important;
		display: inline-block;
	}
	.nav-toggle {
		display: inline-block;
	}
	.nav-toggle-clear {
		display: block;
		clear: both;
	}
	.nav {
		display: none;
	}
	.nav .sub-menu {
		display: none !important;
	}
	.nav li {
		float: none;
		text-align: center;
	}
	.nav-toggle span {
		font-size: 20px;
		text-transform: uppercase;
		font-family: "brndblk";
		margin-left: 10px;
	}
	.titlebg {
		height: 100px;
	}
	.home-list li p {
	    max-width: 100%;
	}
}

@media all and (max-width:740px) {
  .newstitle a {
      font-size: 12px !important;
	  line-height: 1 !important;
    background-color: transparent;
    color: #fff;
  }
	.newstitle .h-n-b {
    display: none;
	}
	.newstitle {
    position: absolute;
    background: rgba(44, 133, 221, 0.85);
    bottom: 0;
    left: 0;
    padding: 10px 20px;
    width: 100%;
}
}

@media all and (max-width:400px) {
  .newstitle p {
      font-size: 12px !important;
  }
  #search input {
    width: 60%;
  }
}

@media all and (max-width:300px) {
  .newstitle {
    bottom: 5px;
    left: 5px;
    padding: 5px;
  }
}

@media all and (max-width:270px) {
  #search input {
    width: 50%;
  }
}

/* themecheck */

.sticky {}
.gallery-caption {}
.bypostauthor {}
