.dentistry-wrap img {
    max-width: 370px !important;
    padding: 20px 0;
}


@media (min-width:992px) {
	
	.header-wrapper {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
}



@media (min-width: 768px) {
	.modal-dialog {
    	width: 800px;
	}
}

.modal-content{
	padding:20px;
}

.slider-text {
    padding: 1% 1% !important;
    /*background: rgba(96, 58, 28, .8);*/
    float: left;
}

.slider-text-wrapper {
	bottom: 20% !important;
}

.slider-text h2 {
	font-size: 40px !important;
}

.slider-text h4 {
	font-size: 30px !important;
}

.slider-button {
	bottom: 12% !important;
}

.slider-button a {
	font-size: 25px !important;
}

@media(max-width: 1440px) {
	.slider-button {
		bottom: 10% !important;
	}
	.slider-text h2 {
		font-size: 35px !important;
	}

	.slider-text h4 {
		font-size: 25px !important;
	}
	.slider-button a {
		font-size: 20px !important;
	}
}

@media(max-width: 991px) {
	.slider-button {
		bottom: 10% !important;
	}
	.slider-text h2 {
		font-size: 30px !important;
	}

	.slider-text h4 {
		font-size: 20px !important;
	}
	.slider-button a {
		font-size: 18px !important;
	}
}

@media(max-width: 768px) {
	div.slider-text h2 {
		font-size: 18px !important;
	}

	.slider-text h4 {
		font-size: 18px !important;
	}
	.slider-button a {
		font-size: 18px !important;
	}
	.slider-button {
		bottom: 10px !important;
	}
	
	
	.modal-content {
		position: absolute!important;
		max-width: 80%;
		margin: 0 auto;
		left: 8%;
	}
}

.slider-text {
    position: absolute !important;
    text-align: right !important;
    width: 100% !important;
    padding: 2% 2% !important;
    text-shadow: 1px 2px 3px black;
    bottom: 20% !important;
}

.slider-button {
    left: 87% !important;
}

@media(max-width: 991px) {
	.slider-button.btn.btn-primary {
		display: none;
	}
	.col-xs-12.slider-text-wrapper {
		display: none;
	}
}