/* Hlavne styly */

body{
	margin: 0;
}




/* Portfolio styly */ 

.col-sm-4 {
	padding-left: 0;
	padding-right: 0;
	height: 475px;
}

.portfolio-img-background {
	height: 475px;
	width: auto;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.img-text-wrapper {
	max-width: auto;
	position: absolute;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	text-align: center;
	padding-left: 34.25%;
	padding-right: 34.25%;
	font-size: large;

}

.logo-wrapper {
	margin-bottom: 20px;
	filter: invert(100%);
	visibility: hidden;
}

/* specificke veci*/

.subtitle {
	filter: invert(100%);
	text-decoration: none;
}

.img-text-wrapper .subtitle {
	transition: 1s;
	font-weight: 600;
	color: transparent;
}



/* screen width 1200px and up) */
@media only screen and (min-width: 1600px) {
	.img-text-wrapper:hover .logo-wrapper {
		visibility: visible;
		transition: visibility 1s;
	}

	.img-text-wrapper:hover .subtitle {
		font-weight: 600;
		color: black;
	}

	.img-darken {
		transition: 1s;
		filter: brightness(8%);
		
	}

	.container-fluid {
	
		display: block;

	}
	
	.container-new {
		display: none;
	}
	

	.hide-big{
		display: none;
	}
/* services-main Section */
 .services-main {
	display: none;
}
 .service-main-top {
	display: none;
}
 .service-main-bottom {
	display: none;
}
 .service-main-item {
	display: none;
}

 .service-main-item h2 {
	display: none;
}
 .service-main-item p {
	display: none;
}
/* End service-main Section */
	
  } 



/* screen width 1600px and lower) */
@media only screen and (max-width: 1600px) {

	#header .nav-bar {

		margin-left: unset;
	}

	.container-fluid {
		display:none;
		
	}

	.container-new {
		max-height: 1366px;
		max-width: 1600px;
		padding-top: 5%;
		display: block;
		padding-right: 0;
		padding-left: 0;
		height: auto;
		width: 100%;
	}
		
	.carousel-item img{
		height: auto;
		width: 100%;
	}

	
	
	.carousel-item h3{
		
		height: 75px;
		max-width: 250px;
		max-height: 250px;
		background-color: black;
		opacity: 80%;
		width: auto;
		position: absolute;
		top: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	
		text-align: center;
		padding-left: 5%;
		padding-right: 5%;
		margin-left: 42%;
		margin-top: 30%;
		
		color: white;
		
	}

	/* services-main Section */
 .services-main {
	flex-direction: column;
	text-align: center;
	max-width: 1500px;
	margin: 0 auto;
	padding: 100px 0;
}
 .service-main-top {
	max-width: 500px;
	margin: 0 auto;
}
 .service-main-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 50px;
}
 .service-main-item {
	flex-basis: 80%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: 30px;
	border-radius: 10px;
	background-color: black;
	background-size: cover;
	margin: 10px 5%;
	position: relative;
	z-index: 1;
	overflow: hidden;
	opacity: 93%;
}
 
 
 .service-main-item h2 {
	font-size: 2rem;
	color: white;
	margin-bottom: 10px;
	text-transform: uppercase;
}
 .service-main-item p {
	color: white;
	text-align: left;
}
/* End service-main Section */

  } 

  @media only screen and (max-width: 1025px) {

	.carousel-item .sh1 {
		margin-left: 39%;
	}


	.carousel-item .sh {
		margin-left: 40%;
	}
	.carousel-item .sh3 {
		margin-left: 40%;
	}

	.carousel-item h3{
		
		
		margin-left: 38%;
		
  }

  
}


/* screen width 769px and lower) */
@media only screen and (max-width: 768px) {

	
	.container-new {
		max-height: 1024px;
		max-width: 768px;
		height: auto;
		width: 100%;
	}
		
	.carousel-item img{
		height: auto;
		width: 100%;
	}
	.carousel-item h3{
		
		height: 75px;
		max-width: 250px;
		max-height: 250px;
		background-color: black;
		opacity: 80%;
		width: auto;
		position: absolute;
		top: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	
		text-align: center;
		padding-left: 5%;
		padding-right: 5%;
		margin-left: 33.5%;
		margin-top: 30%;
		
		color: white;
		
	}
	
	.carousel-item .sh1 {
		margin-left: 36.5%;
	}


	.carousel-item .sh {
		margin-left: 39%;
	}
	.carousel-item .sh3 {
		margin-left: 39%;
	}
  } 

  /* screen width 420px and lower) */
@media only screen and (max-width: 420px) {

	.carousel-item h3{
		
		height: 75px;
		max-width: 250px;
		max-height: 250px;
		background-color: black;
		opacity: 80%;
		width: auto;
		position: absolute;
		top: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	
		text-align: center;
		padding-left: 5%;
		padding-right: 5%;
		margin-left: 21%;
		margin-top: 30%;
		
		color: white;
		
	}
	
	.container-new {
		max-height: 800px;
		max-width: 419px;
		height: auto;
		width: 100%;
	}
		
	.carousel-item img{
		height: auto;
		width: 100%;
	
	}

	.carousel-item .sh1 {
		margin-left: 28.5%;
	}
	.carousel-item .sh2 {
		margin-left: 23.5%;
	}

	.carousel-item .sh {
		margin-left: 31%;
	}
	.carousel-item .sh3 {
		margin-left: 34%;
	}

  } 



/* portfolio 1 item offer*/


.white-row {

	background-color: white;
	color: black;
}

.black-row {

	background-color: black;
	color: white;
}