/*
Theme Name: Tiinatordid
Theme URI: https://tiinatordid.ee/
Author: Andry Kõre
Author URI:
Description: Tiina tordid lehekülg.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tiinatordid
Tags:

This theme, like WordPress, is licensed under the GPL.

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

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

@import url('https://fonts.googleapis.com/css?family=Raleway:400,600,700|Roboto:400,700');

/*--------------------------------------------------------------
Normalize
--------------------------------------------------------------*/
::selection {
    color: white; 
    background: #F71348;
}

html {
	position: relative;
    min-height: 100%;
}

body {
	margin: 0 0 85px;
}

body.home {
	margin: 0;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

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

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

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

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

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

mark {
	background: #ff0;
	color: #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 40px;
}

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

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	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;
}

/*--------------------------------------------------------------
# General styles
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Raleway', sans-serif;
}

p {
	margin-bottom: 1.5em;
}

a {
	color: #E8083C;
	transition: 0.4s;
}

a:visited {
	color: #E8083C;
}

a:hover,
a:focus,
a:active {
	text-decoration: none;
	color: rgba(232, 8, 60, 0.5);
}

a:focus {
	outline: 0;
}

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

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

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

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

big {
	font-size: 125%;
}

html {
	box-sizing: border-box;
}

*,
*:before,
*:after { 
	box-sizing: inherit;
}

body {
	background: #fff;
}

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

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

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

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

/*--------------------------------------------------------------
Helper styles
--------------------------------------------------------------*/

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#content[tabindex="-1"]:focus {
	outline: 0;
}

.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;
}

.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;
}

#datePicker{
	padding-left: 52px;
}

/*--------------------------------------------------------------
Buttons and inputs
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	line-height: 1;
	padding: 10px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
				inset 0 15px 17px rgba(255, 255, 255, 0.8),
				inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5),
				inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #000;
	background-color: rgb(247,247,247);
	padding: 8px;
	width: 100%;
	border-style: none;
	transition: color .4s, background-color .4s;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="number"]:hover,
input[type="tel"]:hover,
input[type="range"]:hover,
input[type="date"]:hover,
input[type="month"]:hover,
input[type="week"]:hover,
input[type="time"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="color"]:hover,
textarea:hover {
	background-color: rgb(232,232,232);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #000;
	background-color: rgb(220,220,220);
	outline: none;
}

textarea {
	max-width: 100%;
	min-width: 100%;
}

.page-id-24 textarea {
	min-height: 136px;
}

.wpcf7 p.c-title {
	font-weight: 700;
	margin-bottom: 2px;
}

#contact-send, #contact-send:active, #contact-send:focus, 
#tellimine-send, #tellimine-send:active, #tellimine-send:focus{
	padding: 15px 40px;
	background-color: #E8083C;
	box-shadow: none;
	color: #fff;
	font-size: 16px;
	color: #fff;
	transition: .5s;
	border: 2px solid transparent;
	border-radius: 0 !important ;
	text-shadow: none;
	outline: none;
	text-transform: uppercase;
	margin-left: 16px;
}

#tellimine-send, #tellimine-send:active, #tellimine-send:focus{
	background-color: #fff;
	color: #E8083C;
	margin-left: 16px;
}

.contact-form-wrapper input[type=”submit”] {
  float: none; 
}


#contact-send:hover {
	background-color:rgba(232, 8, 60, 0.3);
}

#tellimine-send:hover {
	background-color:rgba(255, 255, 255, 0.3);
	color: #fff;
}

div.wpcf7-validation-errors {
	border-color: rgba(255, 79, 0, 0.5);
}

a.cta-button{
	position: absolute;
	border: 3px solid #fff;
	background-color: #B70630;
	color: #fff;
	text-transform: uppercase;
	padding: 10px;
	margin: auto;
    left: 0; bottom: -26px; right: 0;
    width: 170px;
    height: 52px;
    transition: 0.4s;
}

a.cta-button:hover {
	background-color: #fff;
	color: #B70630;
}

a.more-button {
	text-transform: uppercase;
	color: #fff;
	border: 2px solid #fff;
	padding: 8px 15px;
	transition: 0.4s !important;
}

a.more-button:hover {
	background-color: #fff;
	color: #B70630;
}

a.home-button, a.home-button:active, a.home-button:focus{
	padding: 15px 40px;
	background-color: #E8083C;
	box-shadow: none;
	color: #fff;
	font-size: 16px;
	color: #fff;
	transition: .5s;
	border: 2px solid transparent;
	border-radius: 0 !important ;
	text-shadow: none;
	outline: none;
	text-transform: uppercase;
}

a.home-button:hover {
	background-color:rgba(232, 8, 60, 0.3);
}



/*--------------------------------------------------------------
Header
--------------------------------------------------------------*/

header {
	clear: both;
}

header.site-header {
	min-height: 50px;
}

header .site-logo {
	float: left;
	margin: 20px 0;
}

header .site-logo img{
	max-height: 65px;
}

.header-title {
	text-align: center;
	margin: 0;
}

.header-title h1 {
	font-size: 35px;
	color: #fff;
	padding: 18px 0;
}

section.module {
  	background-image: url("https://tiinatordid.ee/wp-content/uploads/2017/12/IMG_3180-e1513551348436.jpg");
  	background-position: 50% -60px;
  	background-size: cover;
  	background-attachment: fixed;
}

@media screen and (min-width: 768px) {
	section.module {
	  	background-size: 140%;
	}

	header .site-logo {
		float: left;
		margin: 15px 20px 15px 0px;
	}

	header .site-logo img{
		max-height: 90px;
	}
}

@media screen and (min-width: 992px) {

	section.module {
  		background-size: 100%;
	}	

}



/*--------------------------------------------------------------
Menus
--------------------------------------------------------------*/
.main-navigation {
	display: inline-block;
	float: right;
}

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

.main-navigation li {
	float: left;
	position: relative;
}

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

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

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

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

.main-navigation ul ul li {

}

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

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

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

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

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

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

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

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



.navbar {
	text-align: center;
	margin: 0;
}

.navbar-nav {
	margin: 0;
	margin-bottom: 15px;
}

.navbar-nav li {
	margin-left: 8px;
}

.navbar-nav>li>a {
	color: black !important;
	display: block;
	text-transform: uppercase;
	text-decoration: none;
	padding: 15px 6px;
	font-size: 22px;
	transition: color .4s;
	border: none;
}

.navbar-nav>li>a:visited {
	color: black !important;
}

@media screen and (min-width: 768px) {
	.navbar {
		
	}

	.navbar-nav {
		margin: 34px 0;
	}
}


@media screen and (max-width: 992px) {
	#navbar {
		padding: 0;
	}

	.navbar-nav li a {
		padding: 15px 6px;
		font-size: 20px;
	}
}

.navbar-nav li:hover > a,
.navbar-nav li.focus > a {
	color: #E8083C !important;
}

.nav>li>a:focus, .nav>li>a:hover {
	background-color: transparent !important;
}

.nav ul,
	div.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-header li,
	div.menu li {
	float: left;
	position: relative;
}

.navbar-toggle {
  border: none;
  background: transparent !important;
  box-shadow: none !important;
  margin-right: 20px;
  margin-top: 35px;
  margin-bottom: 35px;
}
.navbar-toggle:hover {
  background: transparent !important;
  box-shadow: none !important;
}
.navbar-toggle .icon-bar {
  width: 26px;
  height: 3px;
  background-color: #E8083C;
  transition: all 0.2s;
  border-radius: 0;
}
.navbar-toggle .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggle .middle-bar {
    opacity: 0;
}
.navbar-toggle .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}
.navbar-toggle.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggle.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggle.collapsed .bottom-bar {
  transform: rotate(0);
}

.navbar-nav li:hover .sub-menu {
    z-index:1;
    opacity:1;
}
 
.sub-menu {
	margin-left: 0;
    width:auto;
    padding:5px 0px;
    position:absolute;
    top:100%;
    left:0px;
    z-index:-1;
    opacity:0;
    transition:opacity linear 0.15s;
    box-shadow:0px 2px 3px rgba(0,0,0,0.2);
    background: rgba(88, 143, 253,0.9);
}
 
.sub-menu li {
    display:block;
    font-size:16px;
}
 
.sub-menu li a {
	text-decoration: none;
	color: #fff;
    padding:8px 30px;
    display:block;
    transition: color 0.4s;
}
 
.sub-menu li a:hover, .sub-menu .current-item a {
    color: rgba(255,255,255,0.5);
}

@media screen and (max-width: 767px) {
	.navbar-collapse .sub-menu {
		position: relative;
		opacity:1;
		z-index:1;
		width: 92%;
		margin-left: 8%;
		background: transparent;
		box-shadow: none;
		text-align: left;
	}

	.sub-menu li a {
	    padding-left:0;
	  
	}

	.navbar-nav li a {
	    border-bottom: 1px solid rgba(255,255,255,0.07);
	}

	li.menu-item-has-children > a{
		border-bottom: 2px solid rgba(255,255,255,0.2);
		padding-bottom: 6px;
	}

	#menu-peamenuu {
		padding: 0 15px;
	}

	}
}



/*--------------------------------------------------------------
Content
--------------------------------------------------------------*/

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 70px;
}

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

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

.page-content,
.entry-content,
.entry-summary {
	margin: 70px 0 0;
}

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

.slider-bottom {
	min-height: 120px;
	width: 100%;
	background-color: #F71348;
	color: #fff;
	font-size: 20px;
	text-align: center;
	position: relative;
}


.slider-bottom .container p {
	margin: 38px 0;
	font-size: 24px;
	font-family: 'Raleway', sans-serif;
}

.section-area {
	color: #fff;
}

.section1 {
	margin-top: 100px;
	background-color: #E8083C;
}

.section1-l {
	padding: 30px 5%;
	text-align: right;
}

.section1-r {
	padding: 0;
	background: url(https://tiinatordid.ee/wp-content/uploads/2017/10/@Pilt-ja-Mõte-2-449-1.jpg) no-repeat right center; 
  	-webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover;
  	height: 300px;
  	border-left: 0;
  	border-top: 3px solid #fff;
}


.section2 {
	background-color: #B70630;
	border-top: 3px solid #fff;
	min-height: 350px;
	position: relative;
}

.section2-r {
	padding: 30px 5%;
}

.section2-l {
	padding: 0;
	background: url(https://tiinatordid.ee/wp-content/uploads/2017/09/17157408_1388708344506870_6449124416820934185_o.jpg) no-repeat center center; 
  	-webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover;
  	height: 300px;
  	border-right: 0;
  	position: absolute;
  	bottom: -300px;
  	width: 100%;
  	border-top: 3px solid #fff;
}

.section2 p {
	margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
	.section2, .section1 {
		height: 405px;
	}

	.section1-r {
  		border-left: 3px solid #fff;
  		height: 100%;
  		border-bottom: 0;
  		border-top: 0;
	}

	.section2-r {
		border-bottom: 0;
	}

	.section2-l {
  		border-right: 3px solid #fff;
  		height: 100%;
  		position: static;
  		bottom: 0;
  		border-top: 0;
  		width: 41.66666667%;
	}
}


@media screen and (min-width: 992px) {

	.section1-l {
		padding: 30px 5% 30px 16%;
	}

	.section2-r {
		padding: 30px 16% 30px 5%;
	}

	.section2-l {
		width: 33.33333333%
	}

		.section2, .section1 {
		height: 385px;
	}

}

@media screen and (min-width: 1200px) {
	.section1-l {
		padding: 30px 5% 30px 20%;
	}

	.section2-r {
		padding: 30px 20% 30px 5%;
	}

	.section2, .section1 {
		height: 360px;
	}
}

.tellimine-bc {
	background-color: #E8083C;
	color: #fff;
	text-align: center;
	border-bottom: 3px solid #fff;
}

.tellimine-bc h2 {
	margin: 42px 0;
	font-size: 26px;
}

.tellimine-lause {
	text-align: center;
}

.tellimine-bc2 {
	margin-bottom: -1.5em;
	background-color: #B70630;
	color: #fff;
}

.tellimine-form {
	text-align: center;
	margin-top: 60px;
	margin-bottom: 60px;
	width: 82%;
}

@media screen and (min-width: 768px) {
	.tellimine-form {
		width: 40%;
	}
}

.tellimine-form label {
	width: 100% !important;
}

.tellimine-form .wpcf7-response-output{
	margin: 0 auto;
	margin-top: 20px;
	width: 60%;
}

.tellimine-form textarea {
	min-height: 164px;
}

.tellimine-form input[type="date"],
.tellimine-form input[type="text"],
.tellimine-form input[type="email"],
.tellimine-form input[type="tel"] {
	text-align: center;
}

.kontakt-area1 {
	text-align: center;
}

.kontakt-area1 p{
	font-size: 18px;
	margin-bottom: 12px;
}

.kontakt-area1 p:last-child{
	margin-bottom: 60px;
}

.fb-button {
	max-width: 70px;
	transition: 0.4s;
	margin: 20px;
}

.fb-button:hover,
.fb-button:focus,
.fb-button:active {
	opacity: 0.3;
}

.error-404 {
    text-align: center;
    padding-top: 140px;
    padding-bottom: 140px;
}
.error-404 h1 {
	margin-bottom: 80px;
}

.hinnakiri-title {
	margin: 50px 0 20px 0;
}

.hinnakiri-title:first-child {
	margin: 0 0 20px 0;
}

.hinnakiri-title h1 {
	margin-bottom: 10px;
}

.hinnakiri-title hr {
	background-color: #E8083C;
	height: 2px;
	margin-bottom: 10px;
	margin-top: 0;
}

.hinnakiri-title a {
	color: #E8083C;
	font-size: 18px; 
}

/* ----- spinner ----- */
.spinner {
	margin:100px auto; 
	width:50px; 
	height:30px; 
	text-align:center; 
	font-size:10px;
}
.spinner > div {
	background-color: #F71348; 
	height:100%; 
	width:6px; 
	display:inline-block; 
	-webkit-animation:stretchdelay 1.2s infinite ease-in-out; 
	animation:stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {-webkit-animation-delay:-1.1s; animation-delay:-1.1s;}
.spinner .rect3 {-webkit-animation-delay:-1.0s; animation-delay:-1.0s;}
.spinner .rect4 {-webkit-animation-delay:-0.9s; animation-delay:-0.9s;}
.spinner .rect5 {-webkit-animation-delay:-0.8s; animation-delay:-0.8s;}
@-webkit-keyframes stretchdelay {
  0%, 40%, 100% {-webkit-transform:scaleY(0.4)}  
  20% {-webkit-transform:scaleY(1.0)}
}
@keyframes stretchdelay {
  0%, 40%, 100% { 
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

#teaser-holder {
	visibility:hidden;
}

#section04 a {
  padding-top: 60px;
}
#section04 a span {
  position: absolute;
  bottom: -62px;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #E8083C;
  border-bottom: 1px solid #E8083C;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb04 2s infinite;
  animation: sdb04 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb04 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    -webkit-transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
}
@keyframes sdb04 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    transform: rotate(-45deg) translate(0, 0);
  }
}


.galerii img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.galerii img:hover {
	opacity: .5;
}


@media screen and (min-width: 768px) {

}

@media screen and (min-width: 992px) {

}

@media screen and (min-width: 1200px) {

}

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

@media screen and (max-width: 768px) {
	.home footer.site-footer{
		margin-top: 300px;
	}
}



footer.site-footer {
	background-color: #900929;
	border-top: 3px solid #fff;
	font-size: 14px;
	position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    overflow:hidden;
}

body.home footer.site-footer {
	position: relative;
}

.footercredit {
	color: rgba(255,255,255,0.7);
	margin: 32px 0 32px 10px; /*Ajutine*/
	float: left;
	font-family: 'Raleway', sans-serif;
}

.fb-button-footer {
	float: right;
    margin: 28px 10px 28px 0;
    padding: 6px;
	transition: 0.4s;
	opacity: 0.7;
}

.fb-button-footer:hover {
	opacity: 0.3;
}

@media screen and (min-width: 768px) {
	.footercredit {
		margin: 32px 0 32px 40px; /*Ajutine*/
	}

	.fb-button-footer {
		margin: 28px 40px 28px 0;
	}
}

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

embed,
iframe,
object {
	max-width: 100%;
}

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

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

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

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

.gallery {
	margin-bottom: 1.5em;
}

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(221,221,221,0.5);
    width: 40px;
    height: 40px;
    display: block;
    text-decoration: none;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease, opacity 5s;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 12px;
    top: 10px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(204, 204, 204, 0.8);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

body.page-id-28 .ajax-loader {
	display: none;
}