.button-title {
    margin-bottom: 0;
    font-weight: bold;
}

a.read-more.trade-buttons {
    margin-bottom: 1rem;
}

.carousel-caption p.aszf-text {
	font-size: 0.7rem;
	margin-top: 10px;
}

.bg-image-container {
	z-index: 10;
	height: 100vh;
	width: 100vw;
	position: absolute;
	overflow: hidden;
}
.bg-image-container .bg-image {
	background-image: url("../img/kezdokep_cropped.jpg");
	background-size: cover;
	background-position: center;
	width: 100%;
    height: 100%;
	transition: all ease 2s;
	box-shadow: 0px 0px 100px rgba(0, 0, 0, .5) inset;
}

.bg-image.fading{
    transform: scale(1.3);
    opacity: 0;
}

.menu-item {
  height:25%;
  border-left:0px solid transparent;
  flex-direction:row;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 2rem;
  cursor:pointer;
  background-color:#282828;
  color:#fff;
  transition:all 0.7s ease;
}

#main-wrapper {
  padding:0;
  margin:0;
  width:100%;
  height:100%;
  display:flex;
  max-width:100%;
}

body {
  background-color:#282828;
  width:100%;
  height:100%;
  font-family:Raleway, sans-serif;
  color:rgb(255,255,255);
}

html {
  width:100%;
  height:100%;
}

#sidebar-wrapper {
  width:30%;
  height:100%;
  box-shadow:0px 0 10px rgba(0, 0, 0, .5);
  z-index:1;
  overflow:hidden;
  display: flex;
  flex-direction: column;
}

#content-wrapper {
  height:100%;
  width:70%;
  overflow:hidden;
  background-color:white;
  display: flex;
  flex-direction: column;
  background-color: #000;
}

#sidebar {
  display:block;
  width:100%;
  height:85%;
}

#sidebar a {
	
}

#sidebar a:hover {
	text-decoration: none !important;
}

#header {
	height: 15%;
    display: flex;
    width: 100%;
    background-color: #2c3c6d;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #282828;
}

#header .h1, #header h1 {
  font-size:2.5rem;
  line-height:2rem;
  font-weight:600;
  /*font-family:Roboto Condensed, sans-serif;*/
  margin:0;
  padding:0;
}
#header h1 span {
    font-weight: 300;
    font-size: 1.7rem;
}
#header p {
    color: #ccc;
    font-size: 1.2rem;
	margin: 10px 0 0;
    padding: 0;
}
#header a {
  color:#ccc;
  white-space: nowrap;
}

#header img {
  display:block;
  width:auto;
  height:7rem;
}

#carousel-main {
  height:100%;
}

.carousel-item > img {
	width:auto;
	height:100%;
	align-self:center;
	margin:0 auto;
    transition: all 0.3s linear;
    transform-origin: center center;
	
	transform: scale(1.05);
	filter: blur(6px);
}
.carousel-item.active > img {
    transform: scale(1);
	filter: blur(0px);
	object-fit: cover;
}
.carousel-item.active:hover > img {
    transform: scale(1.05);
	filter: blur(6px);
}

.carousel-item {
  height:100%;
}

.menu-item img {
  height:auto;
  display:block;
  width:100px;
}

.menu-item .item-text .h2, .menu-item .item-text h2 {
  font-weight:900;
  letter-spacing:1px;
  color:#888;
}
.menu-item h2:after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    background-color: rgba(100, 100, 100, 1);
    margin: 5px 0 0 0;
}

.menu-item .item-text p {
  font-weight:300;
  margin:0;
  font-size:1.2rem;
}
.menu-item h2{
	transition: all 0.3s ease;
	text-transform: uppercase;
}

.item-text {
  align-self:center;
}

.catousel-item {
  display:flex;
  justify-content:center;
}

.carousel-item.active {
  justify-content:center;
}

.carousel-inner {
  height:100%;
}

.menu-item:hover {
  color:#fff;
  background-color:#333;
  border-right:1rem solid lightblue;
}

.menu-item[data-control-id="happydent"].active, .menu-item[data-control-id="happydent"]:hover {
  border-color:#2c3c6d;
}

.menu-item[data-control-id="rendelo"].active, .menu-item[data-control-id="rendelo"]:hover {
  border-color:#5ccbff;
}

.menu-item[data-control-id="fogtechnika"].active, .menu-item[data-control-id="fogtechnika"]:hover {
  border-color:#8e1200;
}

.menu-item[data-control-id="kutatasfejlesztes"].active, .menu-item[data-control-id="kutatasfejlesztes"]:hover {
  border-color:#f1da33;
}

.menu-item.active {
  background-color:#fff;
  color:#141414;
  border-right:1rem solid lightblue;
}
.menu-item.active h2{
	font-size: 2.6rem
}
.menu-item.active .item-text p {
	font-size: 1.4rem;
}
.carousel-vertical .carousel-item-next.carousel-item-left, .carousel-vertical .carousel-item-prev.carousel-item-right {
  transform:translate3d(0, 0, 0);
}

.carousel-vertical .carousel-item-next, .carousel-vertical .active.carousel-item-right {
  transform:translate3d(0, 100%, 0);
}

.carousel-vertical .carousel-item-prev, .carousel-vertical .active.carousel-item-left {
  transform:translate3d(0, -100%, 0);
}

.carousel-controls {
  display:none;
}

.menu-item.active .item-text .h2, .menu-item.active .item-text h2 {
  color:#282828;
}

/* Carousel Items */

/* Common */
.carousel-item .title {
    position: absolute;
    top: 5rem;
	height: 80vh;
    left: 3rem;
	transition: opacity 1s ease;
	
	opacity: 0;
}
.carousel-item.active .title {
	opacity: 1;
}
.carousel-item h3 {
    font-size: 10rem;
    line-height: 9rem;
    font-weight: 900;
    margin-bottom: 2rem;
	float: left;
}
.carousel-item h4 {
    background-color: rgba(255, 255, 255, .8);
    color: #282828;
    padding: 8px 16px;
    text-transform: uppercase;
	display: inline-block;
float: left;
}
.carousel-item .carousel-caption {
	position: absolute;
	float: left;
	clear: both;
	right: auto;
	bottom: -30rem;
	left: auto;
	width: 40%;
	display: block;
	background-color:rgba(0, 0, 0, .5);
	padding: 10px 20px;
	
	transition: bottom 0.5s linear;
}
.carousel-item.active .carousel-caption {
	bottom: 0;
}

.carousel-caption .logo-row {
  padding:2rem 2rem;
  margin:0;
}
.carousel-caption .logo-row img {
  width:90%;
  height:auto;
  max-width:220px;
}
a.read-more {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-radius: 0;
    font-weight: 600;
    margin: 1rem auto 0.5rem;
    padding: 8px 16px;
}

/* Slide 1 */
.carousel-item:nth-child(1) h3 {
	text-shadow: 7px 1px 0 rgba(0, 40, 150, 0.4);
}
/* Slide 2 */
.carousel-item:nth-child(2) h3 {
	color: rgba(0, 120, 250, 0.8);
}
/* Slide 3 */
.carousel-item:nth-child(3) h3 {
	color: #dc3545;
    text-shadow: 2px 3px 0 rgba(255, 235, 0, 0.8);
}
/* Slide 4 */
.carousel-item:nth-child(4) h3 {
	text-shadow: -2px -3px 0 rgba(30, 30, 30, 0.5);
}

.pindent-banner .banner-img {
    height: 270px;
    margin-left: 2rem;
}

/* Media Queries */

@media screen and (max-width: 1440px) {

	#header img {
		height: 5rem;
	}
	
	html {
		font-size: 13px;
	}
	
	.carousel-caption p {
		font-size: 1.1rem;
	}
	
	.menu-item.active h2 {
		font-size: 2.4rem;
	}
}

@media screen and (max-width: 1440px) {
	
	.menu-item {
		padding: 0 1.5rem;
	}
	
	.carousel-item .title {
		top: 3rem;
		height: 90vh;
	}
	
	#header .h1, #header h1 {
		font-size: 2.2rem;
	}
	
	#header p {
		font-size: 1.2rem;
	}
}

@media screen and (max-width: 1280px) {

	html {
		font-size: 12px;
	}
	
	.carousel-caption p {
		font-size: 1.2rem;
	}
}

@media screen and (max-width: 1024px) {

	.menu-item.active h2 {
		font-size: 2.3rem;
		letter-spacing: -1px;
	}
	
	.menu-item.active .item-text p {
		font-size: 1.2rem;
	}
	
	.carousel-item .title {
		top: 1rem;
		height: 90vh;
	}
	
	.carousel-item .carousel-caption {
		padding: 10px;
		width: 80%;
	}
	
	#header .h1, #header h1 {
		font-size: 2rem;
	}
	
	#header img {
		height: 4rem;
	}
	
	.carousel-item h3 {
		font-size: 7.5rem;
		line-height: 8rem;
	}
}

@media screen and (max-width: 900px) {
	
	html {
		font-size: 10px;
	}
	
	.title {
		padding-top: 70px;
	}
	
	.carousel-item h3 {
		font-size: 7rem;
	}
}

@media screen and (max-width: 770px) {
    
    .respo-classes {
        width: 100% !important;
    }
	
	#header p {
		margin: 0 15px;
	}
	
	#main-wrapper {
		flex-direction: column;
	}
	
	#sidebar-wrapper {
		width: 100%;
	}
	
	#content-wrapper {
		width: 100%;
	}
	
	.info {
		width: auto;
		display: flex;
        margin: 0 20px;
        align-items: center;
	}
	
	.title {
		padding-top: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		height: auto !important;
		width: 90%;
		left: unset !important;
		top: unset !important;
	}
	
	.carousel-item.active {
		display: flex;
	}
	
	.carousel-item.active > img {
		width: 100%;
	}
	
	.title h3, .title h4 {
		display: none !important;
	}
	
	.carousel-caption {
		position: static !important;
	}
	
	.carousel-item > img {
		width: 100%;
	}
}

@media screen and (max-width: 400px) {
    
    #sidebar-wrapper {
        height: 65%;
    }
    
    .menu-item {
        height: 25%;
    }
    
    .pindent-banner .banner-img {
        height: 150px;
    }
	
	html {
		font-size: 9px;
	}
	
	#header {
		flex-direction: row-reverse;
	}
	
	#header .h1, #header h1 {
		display: none;
	}
	
	#header .info {
		width: auto;
	}
	
	.carousel-caption p {
		font-size: 1.4rem;
	}
    
    .carousel-inner {
        overflow-y: scroll;
    }
}

@media screen and (max-width: 320px) {

	.title {
		margin-top: 50px;
	}
}
