@media screen and (min-device-width: 0px) and (max-width: 1100px){
	
	.MPtitle{
		width: auto;
		right: 10%;
		width: 80%;
		text-align: center;
		top: 50px;
	}
	
	.subtitle{
		font-size: 20px;
		float: none;
		width: 80%;
		margin: auto;
		display: inline-block;
	}
	
	.MPgalimg{
		position: absolute;
		width: 130px;
		height: 80px;
		height: 170px;
	}
	
	#header{
		
	}
	
	.welkog{
		display: none !important;
	}
	
	#logoStacked{
		display: block !important;
	}
	
	.MPgalimg1{
		top: 190px;
		left: 70px;
		margin-left: 100%;
		
		left: 2%;
		width: 30%;
	}
	
	.MPgalimg2{
		top: 190px;
		left: 300px;
		margin-left: 150%;
		
		left: 35%;
		width: 30%;
	}
	
	.MPgalimg3{
		top: 190px;
		left: 530px;
		margin-left: 200%;
		
		left: 68%;
		width: 30%;
	}
	
	.hidetopbar{
		display: none;
	}
	
	#mobileLinksHolder{
		position: absolute;
		top: 50px;
		background-color: white;
		box-shadow: 0px 2px 40px rgba(0,0,0,0.4);
		padding: 10px;
		border-radius: 5px;
		right: 10px;
		z-index: 999999999999999999999999999999999999999999999999999999999999999;
		display: none;
	}
	
	#mobileLinksHolder .hidetopbar{
		display: block;
	}
	
	.linka{
		padding: 10px;
	}
	
	.mobtopbar{
		display: block;
		float: right;
		margin-top: 19px;
		padding-right: 20px;
	}
	
	.barheadcontrolpanelmobile{
		text-align: center;
		/*height: 170px  !important;*/
		height: auto  !important;
		padding-bottom: 30px;
	}
	
	#searchPatientsText{
		width: 95%;
		margin: 5px auto;
		
	}
	
	.reverseit{
		direction: rtl;
	}
	
	.newPbarbutton{
		float: none;
		margin: 10px auto;
	}
	
	.tbarbutton {
		padding: 10px;
		font-size: 10px;
		font-weight: bold;
		float: none;
	}
	
	.clearMobile{
		clear: both;
	}
	
	.newPbarbutton{
		float: none !important;
		
	}
	
	.undertitle{
		text-align: center;
	}
	
	.thepageinner{
		text-align: center;
		width: 100%;
	}
	
	.galleryCreator{
		display: none;
	}
	
	.leftstuff{
		float: none;
		width: 100%;
	}
	
}

@media screen and (min-device-width: 0px) and (max-width: 700px){
	
	.retina{
		display: none !important;
	}
	
	.smsidebar{
		display: none;
	}
	
	.MPgalimg{
		position: absolute;
		width: 130px;
		height: 80px;
		height: 90px;
	}
	
	.MPgalimg1{
		top: 140px;
		left: 70px;
		margin-left: 100%;
		
		left: 2%;
		width: 30%;
	}
	
	.ndsds{
		max-width: -webkit-calc(100% - 150px);
	}
	
	.MPgalimg2{
		top: 140px;
		left: 300px;
		margin-left: 150%;
		
		left: 35%;
		width: 30%;
	}
	
	.MPgalimg3{
		top: 140px;
		left: 530px;
		margin-left: 200%;
		
		left: 68%;
		width: 30%;
	}
	
	.loginText{
		width: 190px;
	}
	
	.contacttext{
		width: 170px;
	}
	
	.otherText{
		width: 190px;
	}
	
	.sendbuttonContact{
		padding-left: 0px;
		padding-right: 0px;
		
	}
	
	.hideOnMobile{
		display:none;
        width:0;
        height:0;
        opacity:0;
        visibility: collapse; 
        overflow: hidden;
	}
	
	.showOnMobile{
		display: block;
		width: auto;
		height: auto;
		opacity: 1;
		visibility: visible;
		
	}
	
	.SPT0{
		width: 140px;
	}
	
	.MPtitle{
		width: auto;
		right: 10%;
		width: 80%;
		text-align: center;
		top: 30px;
	}
	
	.subtitle{
		font-size: 20px;
		float: none;
		width: 80%;
		margin: auto;
		display: inline-block;
	}
	
	.MPmainTitle{
		font-size: 20px;
	}
	
	#MPgalleryHolder{
		height: 250px;
	}
	
	.tableHolder{
		padding: 10px 0px;
		overflow-x: scroll;
	}
	
	.paddthetab{
		padding: 0px 20px;
	}
	
	#selectWhichTeethTable{
		margin-right: 20px;
		display: inline-block;
	}
	
	.SFIitem{
		margin: 10px;
		max-width: inherit !important;
		width: auto;
	}
	
	.mobileOnly{
		display: block;
	}
	
	.mainitl{
		font-size: 24px;
	}
	
	.mainPagetitle{
		font-size: 19px;
		padding: 20px;
		padding-top: 40px;
	}
	
	.pageimg{
		
	}
	
	#PHgalleryBubble{
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		height: 90%;
		width: 95%;
		background-color: white;
		border-radius: 5px;
		box-shadow: 0px 1px 2px rgba(0,0,0,0.2);
		overflow-y: scroll;
		margin: auto;
		margin-top: 10px;
	}
	
	.imageForGallery{
		position: absolute;
		top: 40px;
		left: 0px;
		width: 100%;
		opacity: 0;
		bottom: 100px;
		background-image: url(../images/patientImages/1.jpg);
		background-position: center center;
		background-size: contain;
		background-repeat: no-repeat;
	}
	
	#galleryhlx{
		overflow-x: scroll;
	}
	
	#thefixeder{
		display: none;
	}
	
	
	
	
	
	
	
	
	
	
	
	
}