/*
	Theme Name: mojePortfolio
	Author: Jakub Goss
	URL: jakubgoss.pl
	Version: 2.0
*/

#wpadminbar { display:none !important;}
body {
/*background-image: url("/wp-content/uploads/2021/08/silver.jpg");*/
/*background-color: whitesmoke;*/
background-image: url("/wp-content/uploads/2021/08/tlo2-1.png");
background-position:top;
background-size: auto;
background-repeat: no-repeat;
margin:0;
padding: 0;

}

html {
	margin: 0;
	padding: 0;
}

body a {
	color: orange;
}
body a:hover {
	color: red;
}
.mycontainer {
	display: block;

	overflow:hidden;
	max-width: 1200px;
	background-color:#e6f3ff;
	margin-top:0!important;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: auto;
}
.strona {
	padding:15px;
}
.infobar {
	display: flex;
	justify-content: space-between;
	padding:4px;
	font-size: 22px;
	background-color: #0033cc;
	height: 38px;
	margin: 0!important;
}
.infobar img {
	margin-right: 6px;
}
.infobar a {
	color:white!important;
}
.infobar a:hover {
	color:red!important;
}
.dmk {
	display: flex;
	justify-content: flex-start;
}
.image_off, #home:hover .image_on{
   display:none;
}
.image_on, #home:hover .image_off{
   display:flex;
	 justify-content: flex-start;
}
.whitebar {
	padding:3px;
	background-color: white;
}
header {
	position:relative;
	top:0;
	padding: 0!important;
	margin: 0!important;
}
.myheader img {
	margin-top: 24px;
	margin-bottom: 12px;
}
.myheader h1 {
	font-family: Georgia, Helvetica;
	font-size:60px;
	margin:0;
	padding:2px;

}
.myheader h2 {
	font-size: 26px;
	font-family: "Gelasio", Helvetica;
	margin: 0;
	padding: 2px;
}
.myheader h1 a {
	text-decoration:none;

}
.upperbar {
	position: fixed;
	top: 10px; left: 10px;
	margin: 0;
	padding: 0;
	z-index: 999;
}
.top-name {
	text-align: center;
	margin-top: 30px;
}
.top-name img {
	width:40%;
	height:auto;
}
.tpllogo {
	display: flex;
	justify-content: flex-start;
	font-weight: bold;
margin:0;
padding: 0;
}
.tplogo img {
	width:60px;
	height:60px;
}
.social {
	position: fixed;
	top:10px;
	right: 10px;
	z-index: 999999;
}
.social img {
	margin-left: 4px;
	margin-right: 4px;
	margin-top: 6px;
	margin-bottom: 6px;
}
.myheader {
	position: relative;
		top:-40px;
	padding-top: 14px;
	padding-bottom: 0px;
	display: block;
  text-align:center;
		margin:0!important;
}
.myblue {
	color: #0033cc;
}
.myred {
	color: red;
}
.kafel {
	position: relative;
  text-align: center;
  color: white;
}
.kafel img {
	width:100%;
	height:auto;
	margin:0!important;
	padding:0!important;

}
.kafel a {
	color:orange;
}
/*.kafel img:hover {-webkit-filter: brightness(115%); }*/
.centered {
color:white!important;
text-shadow: 2px 2px 0px black;
  position: absolute;
	font-size: 5vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.centered2 {
color:#0033cc!important;
text-shadow: 2px 2px 0px gray;
  position: absolute;
	font-size: 5vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.centered3 {
color:white!important;
text-shadow: 2px 2px 0px black;
  position: absolute;
	font-size: 5vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.container a {
	color:orange;
}
.mycontent {
	margin-left: 16%;
	margin-right: 16%;
	margin-bottom: 10%;
	margin-top: 2%;
	padding: 12px;
/*	background-color: rgba(255,255,255,0.5);*/
}
.image {
			 display:block;
			 width: 100%;
			 height: auto;
			 opacity:1;
		 }
	.overlay-top-slide-darkblue {
        position: absolute;
        opacity:0; /*keep overlay invisible initially*/
        top:0;
        right:0;
        bottom:100%;
        height:0;
        width:100%;
        transition: .5s ease;
        background-color: #0033cc;
      }
			.overlay-top-slide-darkred {
		        position: absolute;
		        opacity:0; /*keep overlay invisible initially*/
		        top:0;
		        right:0;
		        bottom:100%;
		        height:0;
		        width:100%;
		        transition: .5s ease;
		        background-color: #ff3333;
		      }
					.overlay-top-slide-darkgray {
								position: absolute;
								opacity:0; /*keep overlay invisible initially*/
								top:0;
								right:0;
								bottom:100%;
								height:0;
								width:100%;
								transition: .5s ease;
								background-color: darkgray;
							}

.container:hover .overlay-top-slide-darkblue
      {
				bottom: 0;
        height: 100%;
        opacity:0.9;
 	  }
		.container:hover .overlay-top-slide-darkred
		      {
						bottom: 0;
		        height: 100%;
		        opacity:0.9;
		 	  }
				.container:hover .overlay-top-slide-darkgray
				      {
								bottom: 0;
				        height: 100%;
				        opacity:0.9;
				 	  }
		.text{
			 color: white;
			 font-size: 22px;
			/* padding: 10px 15px;*/
			 text-align: center;

			 position:absolute;
			 top:25%;
			 left:50%;
			 transform: translate(-50%, 0%);
			 -ms-transform: translate(-50%, 0%);
		 }
@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

.initialSlide {
  /* This section calls the slideInFromLeft animation we defined above */
  animation: 1s ease-out 0s 1 slideInFromTop;

  background: #333;

}
.grid {
	display:grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr;
	grid-gap: 0em;
	justify-content:center
}
.grid > * {
	background-color:white;
	padding:0em;
	text-align:center;
}
.grid img {
	width:100%;
	height:auto;
	max-width: 600px;
	max-height:400px;
}
#mojsmall {font-size:12px;color:gray;}
header:hover {

}
header:first-line {
	color:white;
}
.naglowek h2 {
	text-align:center;
	color:gray;
	font-size:28px;
}
.mojparagraf {
	padding: 10px 10px 10px 10px;
}
@media only screen and (max-width:600px) {
	.myheader {
		position: relative;
			top:-10px;
		padding-top: 14px;
		padding-bottom: 0px;
		display: block;
	  text-align:center;
			margin:0!important;
	}
	.myheader h2 {
	font-size: 16px;
	font-family: "Gelasio", Helvetica;
	}
	.mojexcerpt {
		float: left;
	}
	.mycontent {
		margin-left: 2%;
		margin-right: 2%;
		margin-bottom: 10%;
		margin-top: 2%;
		padding: 10px;
/*		background-color: rgba(255,255,255,0.5);*/
	}
	.custom-menu-class a {
		font-size:18px;

	}
.myheader h1 {
	font-size:40px;
}
body p {
	font-size:14px;

}
body h1 {
	font-size: 36px;
}
	.naglowek h2 {
		font-size:20px;
	}
	.obrazek img {
    position:relative;
    width: 100%!important;
  height: auto!important;

 }
 .top-name img {
 	width:60%;
 	height:auto;
 }

	.grid {
		display:block;

	}
	.grid img {
		width: 100%;
		height: auto;
		max-width: 900px;
		max-height: 600px;

	}
.mojparagraf p{
	font-size: 14px!important;
}

}
.kontenerek {
	overflow:hidden;
	margin: 10px 10px 10px 10px;
}
.obrazek {
	clear: both;
	margin: 10px 10px 10px 10px;
    float: left;


}
.obrazek img {
    width: 300px;
  height: auto;

 }

.mojexcerpt {
	text-align:justify;
}
.custom-menu-class {
	text-align:right;
	background-color:white;
	margin:0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
.custom-menu-class a {
	float:left;
	font-size:16px;
	text-decoration:none;
	color: black;
	background-color:white;
	text-align:center;
	border-top: solid 4px white;
	padding: 10px 10px 10px 10px;
	margin: 0 0 0 0;
}

.custom-menu-class .current_page_item a{
	border-top: solid 4px black;
}

.custom-menu-class li {
	list-style-type: none;
	display:inline-block;
        float:none;
	margin:0 0 0 0;
	padding: 0 0 0 0;

}
 .custom-menu-class ul {
  list-style: none;
	 font-size:0px;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}
.custom-menu-class a:hover {
	border-top: solid 4px #0099ff;
}
.mojtekst {
	width: 100%;
}
.postcontainer {
	float: left;
	text-align:left;
	color:black;
	max-width: 960px;

}
.singlepost {
	padding: 10px 10px 10px 10px;
	border-bottom: solid 1px black;

}
.singlepost h1 a {
	text-decoration: none;
	color: black;
}
.singlepost h1 a:hover {
	text-decoration: none;
	color: #0099ff;
}
.stopka {
	display:block;
	width:100%;
	clear:both;
}
