/* 
Theme Name: Fundacja Hospicyjna Wrocław
Author: Szymon Skulima
Version: 1.0
*/

/*
Colors:
#F0F7D4
#B2D732
#66B032
#347B98
#092834
*/

html {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #F0F7D4;
    box-sizing: border-box;
    font-family: 'Roboto Slab', serif;
}

/*
* ----------Paginacja----------
*/
.paginacja {
	text-align: center;
	font-size: 1.1em;
	letter-spacing: 3px;
}

/*
* ----------Błąd 404----------
*/
.tlo {
	background: url("http://www.hospicjum.wroclaw.pl/wp-content/uploads/errors/blad-min-404.jpg") no-repeat fixed center; 
	height: 100%;
	width: 100%;
}

.blad {
	margin: auto;
	text-align: center;
	background: rgba(9, 40, 52, 0.5);
	color: white;
}

.blad p {
	padding-bottom: 15px;
}

.blad h1 {
	padding-top: 15px;
}

.blad a {
	text-decoration: none;
	color: #fff;
}

.blad a:hover {
	color: #347B98;
	-webkit-transition: ease 0.5s; /* Safari */
    transition: ease 0.5s;
}

/*
* ----------Navbar----------
*/

.hamburger {
	display: none;
	color: #fff;
	text-align: center;
	text-decoration: underline;
}

.close {
	display: none;
	text-decoration: underline;
	color: #fff;
}

.navbar-link {
	 padding: 0;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #347B98;
    font-size: 1.3em;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0,0,0,.3);
    z-index: 2;
}

.navbar a {
    padding: 0 15px;
    color: #fff;
    /*color: #B2D732;*/
    -webkit-transition: ease 0.5s; /* Safari */
    transition: ease 0.5s;
}

.navbar-link {
	list-style-type: none;
	list-style-image: none;
}

.navbar-link li {
	display: inline;
}

.navbar a {
    text-decoration: none;
}

/* unvisited link */
.navbar a:link {
    color: #fff;
}

/* visited link */
.navbar a:visited {
    color: #fff;
}

/* mouse over link */
.navbar a:hover {
    color: #092834;
}

/* selected link */
.navbar a:active {
    color: #fff;
}

/*
* ----------Slider----------
*/ 
.mySlides {
    display: none;
}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
    max-width: 1200px;
    position: relative;
    margin: auto;
    margin-top: 50px;
    box-shadow: 0 10px 50px rgba(0,0,0,.3);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 2em;
    position: absolute;
    bottom: 75px;
    width: 100%;
    text-align: center;
    background: rgba(9, 40, 52, 0.5);
    -webkit-transition: ease 0.5s; /* Safari */
    transition: ease 0.5s;
}

.text:hover {
    background: rgba(9, 40, 52, 0.8);
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: 0.3} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: 0.3} 
    to {opacity: 1}
}

/*
* ----------Posty----------
*/
.aktualnosci{
    max-width: 800px;
    margin: auto;
    /*box-shadow: 0 10px 50px rgba(0,0,0,.3);*/
    padding: 0 10px 0 10px;
    /*background: #F0F7D4 #B2D732*/;
    color: #093426;
}

.aktualnosci a {
    text-decoration: none;
}

/* unvisited link */
.aktualnosci a:link {
    color: #092834;
}

/* visited link */
.aktualnosci a:visited {
    color: #092834;
}

/* mouse over link */
.aktualnosci a:hover {
    color: #347B98;
}

/* selected link */
.aktualnosci a:active {
    color: #092834;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

.post-in {
    display: flex;
    height: 150px;
}

.post-in p {
    padding-left: 20px;
	margin: 0;
    overflow: hidden;
    font-size: 1em;
	text-overflow: ellipsis;
	box-sizing: border-box;
	max-height: 100%
}

.post-in .linki {
	display: block;
	max-height: 100%;
    overflow: hidden;
    font-size: 1em;
	text-overflow: ellipsis;
}

.artykul-in {
    display: flex;
}

.artykul-in p {
    padding-left: 10px;
    font-size: 0.9em;
}

.strona-in img {
	max-width: 95%;
	height: auto;
}

.aktualnosci hr {
	display: block;
	border: 0;
    height: 1px;
    background: #333;
    background: linear-gradient(to right, #ccc, #333, #ccc);
}

iframe {
	max-width: 100%;
}

/*
* ----------Media o nas----------
*/
.media-o-nas img {
	margin: 20px 0;
	box-sizing: border-box;
	-webkit-transition: ease 0.5s; /* Safari */
    transition: ease 0.5s;
}

.media-o-nas img:hover {
	transform: scale(0.9);
}

/*
* ----------Footer----------
*/
.footer {
    width: 100%;
    background: #092834;
    text-align: center;
    margin-top: 20px;
    padding: 5px 0 5px 0;
    font-size: 0.8em;
    color: #fff;
}

.footer-podzial {
    max-width: 800px;
    display: flex;
    margin: auto;
    text-align: left;
}

.footer-jeden {
    width: 50%;
}

.footer-dwa {
    width: 50%;
}

/*
* ----------Loader----------
*/ 
#loader-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #F0F7D4;
    display: none;
    
  }

#loader-wrapper span {
    font-size: 1.5em;
}

  .load {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    display: none;
}

.load hr {
    border: 0;
    margin: 0;
    width: 40%;
    height: 40%;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite;
}

.load :nth-child(2) {
    background: #B2D732;
    animation-delay: -1.5s;
}

.load :nth-child(3) {
    background: #66B032;
    animation-delay: -1s;
}

.load :nth-child(4) {
    background: #347B98;
    animation-delay: -0.5s;
}

.load :last-child {
    background: #092834;
}

@keyframes spin {
    0%, 100% {
        transform: translate(0)
    }
    25% {
        transform: translate(160%)
    }
    50% {
        transform: translate(160%, 160%)
    }
    75% {
        transform: translate(0, 160%)
    }
}

.js .load, .js #loader-wrapper {
    display: block;
  }

/*
* ----------Smaller Screen----------
*/ 

@media screen and (max-width: 1250px) {
	
	.navbar {
		font-size: 1.1em;
	}
	
	.text {
		font-size: 1.6em;
	}
}

@media screen and (max-width: 1100px) {
	
	.navbar {
		font-size: 0.9em;
	}
	
	.text {
		font-size: 1.4em;
		bottom: 70px;
	}
}

@media screen and (max-width: 950px) {
	
	.blad p {
		padding: 15px;
	}
	
	.navbar {
		font-size: 0.7em;
	}
	
	.text {
		font-size: 1.2em;
	}
	
	.footer {
		font-size: 0.7em;
		bottom: 50px;
	}
}


@media screen and (max-width: 800px) {
	
	.hamburger {
		display: initial;
		position: fixed;
		top: 0;
		left: 0;
		height: auto;
		width: 100%;
		background: #347B98;
		z-index: 999;
	}
	
	.close {
		display: block;
	}
	
	.navbar {
		top: 0;
		font-size: 1em;
		height: 0;
		transition: 1s;
		overflow: hidden;
		z-index: 999;
	}
	
	.navbar-link li {
		display: block;
		padding: 8px 0;
	}
	
	.navbar a {
		display: block;
	}
	
	.slideshow-container {
		margin-top: 0;
	}

	.text {
		font-size: 1em;
		bottom: 40px;
	}
	
	.post h2 {
		font-size: 1.3em;
	}

}

@media screen and (max-width: 600px) {
	
	.text {
		font-size: 0.8em;
		bottom: 30px;
	}
	.footer {
		text-align: center;
		font-size: 0.7em;
	}

	.footer-podzial {
		display: block;
		margin: auto;
		text-align: center;
	}

	.footer-jeden {
		width: 100%;
		padding-bottom: 10px;
	}

	.footer-dwa {
		width: 100%;
		/*padding-bottom: 10px;*/
	}

}

/*
* ----------WordPress Core----------
*/ 
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float:right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

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

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
		white-space: nowrap;
	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: /*10000*/0; /* Above WP toolbar. */
}