/*
Theme Name: Twenty Sixteen Child
Text Domain: twentysixteen
 Description:  Twenty Sixteen Child Theme
 Author:       Tomasz Bartosiewicz
 Template:     twentysixteen
 Version:      1.0.0
 Text Domain:  twentysixteen-child
*/


@keyframes moveInBottom {
	0% {
		opacity: 0;
		transform: translateY(0px);
	}
	100% {
		opacity: 1;
		transform: translate(0);
	}
}
@keyframes moveInBottom2 {
	0% {
		opacity: 0;
		transform: skewX(-15deg);
	}
	100% {
		opacity: 0.7;
		transform: skewX(-15deg);
	}
}
@keyframes moveInBottom3 {
	0% {
		opacity: 0;
		transform: translateY(-50px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes moveInBottom4 {
	0% {
		opacity: 0;
		transform: translateY(50px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}





.main-page,
.site-branding {
	animation: moveInBottom 0.8s ease-in-out 0s;
	animation-fill-mode: backwards;
}
.primary-menu li:nth-child(1) {
	animation: moveInBottom 0.8s ease-in-out 0.1s;
	animation-fill-mode: backwards;
}
.primary-menu li:nth-child(2) {
	animation: moveInBottom 0.8s ease-in-out 0.2s;
	animation-fill-mode: backwards;
}
.primary-menu li:nth-child(3) {
	animation: moveInBottom 0.8s ease-in-out 0.3s;
	animation-fill-mode: backwards;
}
.primary-menu li:nth-child(4) {
	animation: moveInBottom 0.8s ease-in-out 0.4s;
	animation-fill-mode: backwards;
}
.primary-menu li:nth-child(5) {
	animation: moveInBottom 0.8s ease-in-out 0.5s;
	animation-fill-mode: backwards;
}
.primary-menu li:nth-child(6) {
	animation: moveInBottom 0.8s ease-in-out 0.6s;
	animation-fill-mode: backwards;
}
.primary-menu li:nth-child(7) {
	animation: moveInBottom 0.8s ease-in-out 0.7s;
	animation-fill-mode: backwards;
}
.primary-menu li:nth-child(8) {
	animation: moveInBottom 0.8s ease-in-out 0.8s;
	animation-fill-mode: backwards;
}


.img-header {
	animation: moveInBottom 0.8s ease-in-out 0.4s;
	animation-fill-mode: backwards;
}

.home-title {
	animation: moveInBottom3 0.8s ease-in-out 0.4s;
	animation-fill-mode: backwards;	
}

.home h1,
.tlumacz-es {
	animation: moveInBottom4 0.8s ease-in-out 1s;
	animation-fill-mode: backwards;
}
.traductor {
	animation: moveInBottom4 0.8s ease-in-out 1.2s;
	animation-fill-mode: backwards;
}

.entry-title {
	animation: moveInBottom 0.8s ease-in-out 0.6s;
	animation-fill-mode: backwards;
}

.entry-content {
	animation: moveInBottom 0.8s ease-in-out 0.8s;
	animation-fill-mode: backwards;
}
.before-foot,
.site-footer {
	animation: moveInBottom 0.8s ease-in-out 0.8s;
	animation-fill-mode: backwards;
}

.lang-button {
	animation: moveInBottom2 0.8s ease-in-out 1.4s;
	animation-fill-mode: backwards;
}
.lang-button2 {
	animation: moveInBottom2 0.8s ease-in-out 1.8s;
	animation-fill-mode: backwards;
}

.et-db .entry-content #et-boc .et_pb_text ul li {
	list-style-type: none;
	background: transparent url('img/likrop.png') no-repeat 0 8px;
	padding: 0 0 0 26px;
	margin: 0;
}

.et-db .entry-content td {
	border-width: 0 0px 2px 0;
	border-color: #fff;
}
.et-db .entry-content table {
	border: 0;
}
.et-db .entry-content tr:nth-child(even) {
	background: #ffeeee;
}
.et-db .entry-content tr:nth-child(odd) {
	background: #fee2e2;
}

body {
	background: #fff;
	font-family: Merriweather, Georgia, serif;
}
body:not(.custom-background-image).admin-bar:before {
	top: 0;
}
body:not(.custom-background-image):before, body:not(.custom-background-image):after {
	display: block;
	height: 0;
	width: 0;
}
.site {
	margin: 0;
	position: relative;
}
.main-navigation,
.entry-title,
.site-title {
	font-family: Merriweather, Georgia, serif;
	font-weight: 400;
}
.entry-title {
	margin-bottom: 0;
}
.et-db .entry-content #et-boc .et_pb_module a,
a {
	color: #e00000;
	text-decoration: none;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
a:link,
a:visited {
	border-bottom: 0px solid #fff;
}
.et-db .entry-content #et-boc .et_pb_module a:hover,
a:hover {
	border-bottom: 0px solid #fff;
	color: #5f0000;
}

a:focus {
	outline: 0;
}

.main-navigation a:hover, .main-navigation a:focus {
	color: #5f0000;
}

.menu-toggle:hover, .menu-toggle:focus {
	background-color: #e00000;
	border-color: #e00000;
	color: #fff;
}

.navbar-default .navbar-nav > .lang_menu_pl a {
	color: #ef402a;
}
.main-navigation .primary-menu > li.lang-item-pl {
	margin: 0 0px 0 50px;
}
.lang-item-pl:after {
	content: url('img/lang_slash.png');
	padding-left: 60px;
	margin-top: -45px;
	display: block;
}
.lang-item-es {

}
.site-footer {
	display: block;
}
.site-info {
	text-align: center;
	padding: 0;
	font-size: 21px;
	color: #888
}
.webma,
.webma a {
	font-size: 18px;
	color: #888;
	text-decoration: none;
}
.entry-content a, .entry-summary a, .taxonomy-description a, .logged-in-as a, .comment-content a, .pingback .comment-body > a, .textwidget a, .entry-footer a:hover, .site-info a:hover {
	box-shadow: none;
}

.et-db .entry-content #et-boc .et_pb_module h2 {
	margin: 21px 0 12px 0;
}

.et-db .entry-content #et-boc .et_pb_row {
	width: 100%;
	max-width: 1280px;
}
.site-header {
	padding: 0 4.5455%;
}
.site-branding, .site-header-menu, .header-image {
	margin-top: 10px;
	margin-bottom: 10px;
}

.header-bar {
	position: relative;
	width: 100%;
	height: 92px;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.site-title a:link,
.site-title a:visited {
	color: #000;
	border-bottom: 2px solid #fff;
}
.site-branding .site-title a:focus,
.site-branding .site-title a:hover {
	color: #e00000;
	border-bottom: 2px solid #e00000;
}
.site-description {
	opacity: 1;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
	font-size: 15px;
	font-weight: 400;
	line-height: 130%;
	margin: 6px 0 0;
	color: #000;
}
.main-navigation {
	margin: 8px 0 0 0;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.main-navigation.stickeros {
	margin: -3px 0 0 0;
}
.site-branding {
	margin-top: 9px;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.site-branding.stickeros {
	margin-top: 14px;
}
.site-branding.stickeros a {
	color: #fff;
}
.site-footer {
	padding: 21px 0 12px 0;
}
.before-foot {
	max-width: 100%;
	background-color: #f1f1f1;
	margin: 0 auto;
}
.before-foot::after {
	content: "";
	clear: both;
	display: table;
}
.before-foot-block {
	padding: 26px 0 26px 0;
	text-align: center;
	float: none;
	width: 100%;
}
.et_pb_row.et_pb_row_fullwidth {
	width: 100%!important;
	max-width: 100%!important;
}

.img-header {
	margin-top: 0px;
	box-shadow: 0px 0px 20px #aaa;
}

.et-db .entry-content #et-boc .et_pb_contact_submit {
	color: #fff;
}
.et-db .entry-content #et-boc button.et_pb_button {
	background-color: #e00000 !important;
	border: 2px solid #e00000;
}
.et-db .entry-content #et-boc button.et_pb_button:hover {
	background-color: #800000 !important;
	border: 2px solid #800000;
}
.site-content {
	margin-top: 30px;
}

.bg-video {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
	overflow: hidden; }
.bg-video__content {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.main-page {
	height: 80vh;
	min-height: 300px;
	width: 100%;
	margin: 0 auto;
	margin-top: 0px;
	background-image: url("img/flag-main.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
.main-page::after {
	content: "";
	clear: both;
	display: table;
}
.main-page-welcome {
	width: 100%;
	text-align: center;
	padding: 66px 0 32px 0;
	z-index: 2;
	position: relative;
}

.home-title {
	color: #fff;
	font-size: 48px;
	margin: 0;
	padding: 0;
	text-shadow: 3px 3px 5px rgba(127,0,0,0.5);
	z-index: 2;
	position: relative;
}
.home h1 {
	color: #fff;
	font-weight: 300;
	text-shadow: 3px 3px 5px rgba(127,0,0,0.5);
	z-index: 2;
	position: relative;
}
p.traductor {
	color: #fff;
    font-weight: 300;
    text-shadow: 3px 3px 5px rgba(127,0,0,0.5);
    z-index: 2;
    position: relative;
	font-size: 32px;
}
.tlumacz-es {
	color: #fff;
	font-size: 32px;
	text-shadow: 3px 3px 5px rgba(127,0,0,0.5);
	z-index: 2;
	position: relative;
}
.home-lang {
	width: 50%;
	float: left;
	text-align: center;
	padding: 21px 0 0 0;
	z-index: 2;
	position: relative;
}
.home-buttons {
	margin: 0 auto;
	text-align: center;
	max-width: 600px;
	z-index: 2;
	position: relative;
}
a.lang-button:link,
a.lang-button2:link,
a.lang-button:visited,
a.lang-button2:visited {
	display: inline-block;
	padding: 12px 44px;
	border-radius: 21px;
	background-color: #fff;
	font-size: 30px;
	color: #000;
	text-decoration: none;
	border-bottom: 0;
	opacity: 0.7;
	min-width: 222px;
	border-radius: 12px;
	transform: scale(1) skewX(-15deg);
}
a.lang-button:hover,
a.lang-button2:hover {
	color: #e00000;
	opacity: 1;
	transform: scale(1.2) skewX(-15deg);
}
a.lang-button span,
a.lang-button2 span {
	-ms-transform: skewX(20deg);
	-webkit-transform: skewX(20deg);
	transform: skewX(15deg);
}

@media (min-width: 600px) {
	.before-foot-block {
		padding: 26px 0 26px 0;
		text-align: center;
		float: left;
		width: 50%;
	}

}

@media (min-width: 981px) {
	.img-header {
		margin-top: 80px;
	}
	.before-foot-block {
		padding: 26px 0 26px 0;
		text-align: center;
		float: left;
		width: 25%;
	}
	.site-content {
		margin-top: 60px;
	}
	.home .site-content {
		margin-top: 0;
	}
	.header-bar {
		position: fixed;
		width: 100%;
		height: 80px;
		z-index: 99;
		display: block;
		top: 0;
		background-color: #f1f1f1;
		box-shadow: 0px 2px 20px #888888;
	}
	.home .header-bar {
		display: none;
	}
	.header-bar.stickeros {
		height: 60px;
	}
	.site-description.stickeros {
		opacity: 0;
	}
	.site-branding .site-title.stickeros a {
		border-bottom: 2px solid #f1f1f1;
	}
	.et-db .entry-content #et-boc .et_pb_row {
		padding: 0;
	}
}


@media (max-width: 980px) {
	.et-db .entry-content #et-boc .et_pb_section {
		padding: 0px 0;
	}
	.main-navigation {
		margin: 0px 0 0 0;
		-webkit-transition: all 0.4s ease;
		transition: all 0.4s ease;
		background-color: #fff;
	}
	.site-header-menu {
		margin-top: 0px;
		margin-bottom: 10px;
	}
	.main-navigation li {
		border-top: 1px solid #eee;
		position: relative;
		text-align: center;
	}
	.main-navigation a {
		font-size: 19px;
	}
	.site-header-menu.toggled-on, .no-js .site-header-menu {
		z-index: 99;
	}
	.main-navigation .primary-menu > li.lang-item-pl {
		margin: 0;
	}
	.lang-item-pl:after {
		content: "";
		padding-left: 0px;
		margin-top: 0px;
		display: block;
	}

}


@media screen and (min-width: 44.375em) {
	.entry-header, .post-thumbnail, .entry-content, .entry-summary, .entry-footer, .comments-area, .image-navigation, .post-navigation, .page-header, .page-content, .content-bottom-widgets {
		margin-right: 7.6923%;
	}
}


@media screen and (min-width: 56.875em) {
	.main-navigation .primary-menu > li {
		float: left;
		margin: 0 2px 0 0;
	}
	.main-navigation .current-menu-item a:link,
	.main-navigation .current-menu-item a:visited,
	.main-navigation .current-menu-item a:focus,
	.main-navigation .current-menu-item a:hover {
		background-color: #e00000;
		color: #fff;
	}
	.main-navigation a:link,
	.main-navigation a:visited {
		border-radius: 12px;
		-ms-transform: skewX(-20deg);
		-webkit-transform: skewX(-20deg);
		transform: skewX(-15deg);
		background-color: #fff;
		border-bottom: 2px solid #e00000;
		padding: 12px 21px;
		color: #000;
	}
	.main-navigation a:focus,
	.main-navigation a:hover {
		background-color: #e00000;
		color: #fff;
	}
	.main-navigation a:focus span,
	.main-navigation a:hover span{
		color: #fff;
	}
	.main-navigation a span {
		-ms-transform: skewX(20deg);
		-webkit-transform: skewX(20deg);
		transform: skewX(15deg);
		display: inline-block;
	}
	.main-navigation .lang-item-es a,
	.main-navigation .lang-item-pl a {
		-ms-transform: skewX(0deg);
		-webkit-transform: skewX(0deg);
		transform: skewX(0deg);
		background-color: transparent;
		border-bottom: 0;
	}
	.main-navigation .lang-item-es a span,
	.main-navigation .lang-item-pl a span {
		-ms-transform: skewX(0deg);
		-webkit-transform: skewX(0deg);
		transform: skewX(0deg);
		display: inline-block;
	}

	.main-navigation .lang-item-es a:link,
	.main-navigation .lang-item-es a:visited,
	.main-navigation .lang-item-pl a:link,
	.main-navigation .lang-item-pl a:visited {
		color: #000;
	}
	.main-navigation .lang-item-pl a:hover span,
	.main-navigation .lang-item-es a:hover span {
		color: #e00000;
	}
	.no-sidebar .entry-header, .no-sidebar .entry-content, .no-sidebar .entry-summary, .no-sidebar .entry-footer, .no-sidebar .comments-area, .no-sidebar .image-navigation, .no-sidebar .post-navigation, .no-sidebar .pagination, .no-sidebar .page-header, .no-sidebar .page-content, .no-sidebar .content-bottom-widgets {
		margin-right: 0;
		margin-left: 0;
	}
}




