

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) and (max-width : 1920px)  {

	.row-flex, .row-flex > div[class*='col-'] {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		flex-wrap: wrap;
		margin: 0 auto;
	}

	.blog .blog-wrap .blog-item:not(:nth-child(3n)) {
		margin-right: 20px; }

	}





	/* Medium Devices, Desktops */
	@media only screen and (max-width : 1400px) {
		.navbar-default{
			font-size: 11px;
		}

		.navbar-default .navbar-brand{
			width: 200px;
		}

		.navbar-default  .navbar-brand img{
			width: 100%;
		}

		.navbar-toggle{
			border-radius: 0;

		}
		.footer .footer-logo img {
			width: 159px;
		}

		.opacity-min h4{
			font-size: 12px;
		}
		.opacity-min{
			padding: 8px
		}
	}

	@media only screen and (min-width : 1300px) {

		.navbar-header {
			box-shadow: 0px 11px 8px -10px rgba(0, 0, 0, 0.22);
		}


	}
	@media only screen and (max-width : 1300px) {


		.navbar-default .navbar-collapse{
			border: none;
		}
		.navbar-default .navbar-collapse{
			float: left;
			padding: 0 20px 20px ;
			width: 	100%;
			height: 100vh;
		}

		.navbar-nav{
			float: 	left;	
			overflow: hidden;
			width: 50%;
			    height: 1000px;
		}

	}
	@media only screen and (max-width : 1200px) {
		.navbar-default .nav li a{
			padding: 8px;
		}
		.navbar-default .navbar-nav > .active > a{
			font-size: 8px;
			padding: 7px 8px;
		}
		.opacity-min{
			top: 5%;
		}
		.physicians-blue p, .physicians-white p, .physicians-block p{
			font-size: 14px;
		}

		.s_sponsor .block-spansor .text-sponsor{
			height: 400px
		}

		.text-img-block h3{
			font-size: 20px;
		}
		.div-img-block img {
			width: 163%;
		}
	}

	@media only screen and (max-width : 1060px) {

		.opacity {
			background: #fff;
			position: absolute;
			z-index: 99;
			top: 13%;
			left: 8%;
			width: 85%;
			padding: 20px;
			border: 5px solid #7a97ba;
		}
	}
	/* Medium Devices, Desktops */
	@media only screen and (max-width : 1024px) {

		.footer .footer-logo img {
			width: 112px;
		}

		.tab-nav li{
			width: 100%;
			margin: 5px 0;
		}

		.tab-nav{
			padding: 9px;
			margin: 0;
		}

		.div-img-block img {
			width: 100%;


		}
	}

	/* Medium Devices, Desktops */
	@media only screen and (max-width : 992px) {
		.s_sponsor .block-spansor .text-sponsor{
			height: auto;
		}
		.div-img-block img {
			width: 100%;
		}
		.header_pages-text h1{
			font-size: 29px;
		}
		.contact-cont .cont {
			width: 100%;}
			.categories .categories-block .btn_price {
				position: absolute;
				/* bottom: 10%; */
				left: 40%;
				top: 40%;
			}
			.director .cont_tabs img {
				width: 26%;
				height: auto;
				float: left;
				margin: 0 20px 10px;
			}
			.services .service a, .services .service-hover a{
				width: 100%
			}

			.services .service p, .services .service-hover p {
				font-size: 11px;
			}

			.services .service h4, .services .service-hover h4{
				font-size: 15px;
			}

			.sponsors .left{
				float: none;
			}
			.sponsors{
				text-align: center;

			}

			.footer .footer-social ul li{
				padding: 6px;
			}

			.footer .footer-social ul li a i{
				font-size: 	14px;
			}


			.categories .categories-block .container-text-block {
				padding:  20px 26px;
			}

			.opacity-min h4{
				font-size: 16px;
			}
			.opacity-min{
				background: #fff;
				position: absolute;
				top: 25%;
				left: 23%;
				width: 50%;
				padding: 20px;
				border: 5px solid #7a97ba;
			}

			.s_sponsor .block-spansor .sponsor-img img{
				height: 100%
			}
			.text-img-journal h3 {
			    margin: 20px 0 30px;
			    color: #af3329;
			    font-weight: 900;
			}
		}

		/* Small Devices, Tablets */
		@media only screen and (max-width : 767px) {
			.images:hover{
				opacity: 1;
			}

			.physiatry-searc form, .physiatry-searc .text-bootom{
				width: 90%;
			}

/*			.images{
				width: 100%;
				background: url('../img/mt-0662_01_home_header.jpg') no-repeat center;
				background-size: cover;
				height: 600px;
				padding: 60px 0
			}*/
			.header_pages-text{
				width: 100%;

			}
			.leftimg{
				width: 100%;
			}
			.header_pages-text h1{
				font-size: 25px;
			}
			.head_login_page .demos img{
				width: 80px
			}
			.login{
				display: none;	
			}
			.box{
				display: block;	
			}
			#slider_part{
				display: none;	
			}
			.images .logins{
				display: block;	
			}

			.box{
				width: 67%;
			}
			.box h1 {
				font-size: 25px;
			}

			.about .a-text p{
				font-size: 15px;
			}
			.navbar-default .navbar-collapse{
			}
			.navbar-default  .navbar-brand img{
				padding-top: 0;
			}
			.images .logins  {
				position: absolute;
				margin-top: 5%;
				left: 44%;
			}
			.left{
				float: none
			}

			.images .logins img{
				width: 100px;
			}
			.sponsors .left{
				width: 100px
			}
			.container-fluid .navbar-header{
				width: 100%;
				padding: 7px 0px;
				margin: 0;

			}

			.contact .contact-sponsors-overflow{
				margin: 0 auto;
				width: 70%;
				padding: 0 10px;
				padding-bottom: 30px; 

			}

			.footer .footer-social h4{
				display: none;
			}
			.button-red a{
				width: 100%;
			}
			.text-physicians ul {
				padding: 0;
			}

			#nav{
				display: none;
			}

			.video .video-overlay p{
				margin: 23vh;
			}


			.pain-block .pain-img img,.pain-block .pain-img{
				height: auto;
			}
			.pain-block .pain-img .pain-text{
				left: 10%;
			}

			.attorney .content_block .block_one, .attorney .content_block .block_three, .attorney .content_block .block_two{
				display: none;
			}
			.attorney  .hidden_two,  .attorney  .hidden_three{
				display: block;
			}

			.attorney .arrow_box_three, .attorney .arrow_box_two, .attorney .arrow_box{
				display: none
			}
			.attorney  .hidden_one, .attorney  .hidden_two,  .attorney  .hidden_three{
				margin-bottom: 20px;
			}
			.attorney ul{
				padding: 0;
			}
			.osteopatic .h-img img{

			}
			.navbar-nav{
				float: 	left;	
				overflow: hidden;
				width: 100%;
			}
			.s_sponsor .header-text p {
			    width: 100%;
			    margin: 0px auto;
			    font-size: 18px;
			}


		}

		@media only screen and (max-width : 767px) and (min-width : 600px) {

			.services .service {
				padding: 50px;
			}
			.services .service a, .services .service-hover a{
				width: 100%
			}

			.services .service p, .services .service-hover p {
				font-size: 16px;
			}

			.services .service h4, .services .service-hover h4{
				font-size: 20px;
			}

			.executive .executive-team {
				margin: 30px 96px;
			}
		}
		/* Extra Small Devices, Phones */
		@media only screen and (max-width : 480px) {
			.s_sponsor .block-spansor-two .sponsor-img img {
			    width: 100%;
			    height: auto;
			}
			.forms-student .forms form .password-now a {
   				margin: 5px 10px;
   			}
			.forms-student .forms form input {
			    width: 100%;
			    padding: 15px 11px;
			    margin: 10px 0;
			    border: 2px solid #85a5cc;
			}
			.s_sponsor .header-text p{
			    width: 90%;
			    margin: 0px auto;
			    font-size: 18px;
			    text-align: justify;
			}
			.text-physic {
    			padding: 0px 20px;
			}

			.contact-cont .cont {
				margin: 0 auto;
				background: #fff;
				padding: 20px 20px;
				border: 5px solid #7a97ba;
				font-size: 20px;
			}
			.text-img-journal {
				margin: 0 0 30px;
				font-size: 16px;
				background: rgba(204, 204, 204, 0.34);
				overflow: hidden;
				padding: 10px;
			}
			section {
				padding: 40px 0;
			}

			.opacity {
				background: #fff;
				position: absolute;
				z-index: 99;
				top: 0;
				left: 0;
				width: 100%;
				padding: 10px;
				border: 5px solid #7a97ba;
			}

			.head_login_page {
				position: absolute;
				left: 40%;
				bottom: 32%;
			}
			.pain-block .pain-img .pain-text {
				top: 10%;
			}
			.header-text h3, {
				margin-top: 0;
				text-transform: uppercase;
				line-height: 1.5;
				font-size: 19px;
			}
			.categories .categories-block .btn_price {
				position: absolute;
				/* bottom: 14%; */
				left: 0;
				top: 36%;
				width: 100%;
			}
			.categories .header-text h5 {
				color: #7997ba;
				font-size: 14px;
			}
			.categories .header-text h3 {
				color: #af3329;
				font-weight: 600;
				font-size: 23px;
			}
			.header-text{
				width: 100%;
			}
			.button-blue a{
				width: 100%;
			}
			.categories .categories-block .btn_price .btn{
				width: 100%;
			}
			.contact .contact-sponsors-overflow{
				background: none;

			}
			.navbar-default .navbar-brand img {
				width: 84%;
			}
			.box{
				margin: 20% auto 0;
			}

			.header_pages-text{
				padding: 10px 0;
			}
			.header_pages-text h1 {
				font-size: 23px;
			}
			.images .logins  .demo img {
				left: 28px;
				position: absolute;
				top: 0;
				width: 87px;

			}
			.services .service {
				height: 350px
			}

			.services .service a, .services .service-hover a{
				width: 100%
			}

			.services .service p, .services .service-hover p {
				font-size: 11px;
			}

			.services .service h4, .services .service-hover h4{
				font-size: 15px;
			}
			.video-wrapper .video-text .table-cell #polina button, .video-banner .video-text .table-cell #polina button{
				height: 52px;
				padding: 0;
				text-align: center;
				width: 52px;
			}



			.video-wrapper .video-text h4, .video-banner .video-text h4{
				font-size: 20px;
			}

			.sponsors img {
				width: 140px;
			}

			h3{
				font-size: 19px;

			}


			.box h1 {
				font-weight: 300;
				font-size: 20px;
				margin: 10px 0;
				color: #fff;
				/* letter-spacing: 4px; */
				line-height: 32px;
			}
			.images .logins  {
				position: absolute;
				margin-top: 8%;
				left: 34%;
			}
			.images .logins  img{
				width: 	100px;}


				/*calendar*/
				.calendar{
					padding: 10px 10px 
				}
				.calendar, .numbers{
					font-size: 11px;
				}
				.calendar .days ul li{
					width: 30px;
					padding: 0
				}
				.calendar .numbers ul li{
					width: 30px;
					padding: 2px 0;
				}
				.calendar .numbers .tabs .tab{
					padding: 2px 0;
				}

				.calendar .numbers .tabs .tab:hover {
					background: #86a5cd;
					color: #fff;
					-webkit-transition: all 0.5s;
					-moz-transition: all 0.5s;
					-o-transition: all 0.5s;
					transition: all 0.5s;
					padding: 0px;
					cursor: pointer;
				}

				/*tabs-directors*/
				.director .tabs_block .tabss li{
					font-size: 12px;
				}




				.director .tabs_block p{
					font-size: 12px;
				}
			/*.opacity, .opacity-min{
				top: 6%;
				left: 12%;
				width: 76%;
				}*/

				.opacity-min { background: #fff; position: absolute; top: 25%; left: 0%; width: 100%; padding: 20px; border: 5px solid #7a97ba; }
				.opacity h4, .opacity-min h4{
					font-size: 12px;
				}
			}
			/* Custom, iPhone Retina */
			@media only screen and (max-width : 320px) {
				.images .logins  {
					position: absolute;
					margin-top: 8%;
					left: 33%;
				}
				.attorney .hidden_one .bl_img, .attorney .hidden_two .bl_img, .attorney .hidden_three .bl_img{
					text-align: left;
				}
				.attorney .hidden_one .bl_img img, .attorney .hidden_two .bl_img img, .attorney .hidden_three .bl_img img{
					width: 200px;
				}

				.calendar {
					background: #fff;
					padding: 1px 9px 1px;
				}

				.pain-block .pain-img .pain-text{
					height: 160px;
					top: 10%;
				}

				.header_pages-text h1 {
					font-size: 14px;
				}
			}

			/*==========  Mobile First Method  ==========*/

			/* Custom, iPhone Retina */
			@media only screen and (min-width : 320px) {

			}

			/* Extra Small Devices, Phones */
			@media only screen and (min-width : 480px) {

			}

			/* Small Devices, Tablets */
			@media only screen and (min-width : 768px) {
				.attorney 	.hidden_two,  .attorney  .hidden_three, .attorney .arrow_box_three, .attorney .arrow_box_two{
					display: none
				}
				.services .content .sv_block img{
					height: 220px
				}


			}



			/* Medium Devices, Desktops */
			@media only screen and (min-width : 992px)  and (max-width : 1200px){
				.categories .categories-block .col-md-5{
					padding: 0
				}



			}


			@media only screen and (min-width : 1100px) and (max-width : 1150px) {
				.container-header{
					height: 700px;
				}
				.box{ margin: 27vh auto 0;width: 70%;    font-size: 2.0em;}
			}
			/* Large Devices, Wide Screens */
			@media only screen and (min-width : 1400px) {

				.demo img { 
					left: 0; 
					position:absolute; 
					top: 0; 

				}
				.head_login_page {
					position: absolute;
					left: 47%;
					bottom: 32%;
				}
				.demo img.raz {opacity:0;filter:alpha(opacity=0);}
				.demo:hover img.raz {opacity:1;filter:alpha(opacity=100);}
				.demo:hover img.dva, .demo img.dva:hover {opacity:0;filter:alpha(opacity=0);}
				.demo img {
					-moz-transition: all .5s ease-in-out;
					-webkit-transition: all .5s ease-in-out;
					-o-transition: all .5s ease-in-out;
					transition: all .5s ease-in-out;
				}


			}
			/* Medium Devices, Desktops */
			@media only screen and (min-width : 767px)  and (max-width : 992px){
				.resident-executive-board .row-flex, .row-flex > div[class*='col-'] {
					display: -webkit-box;
					display: -moz-box;
					display: -ms-flexbox;
					display: -webkit-flex;
					display: flex;
					flex-wrap: wrap;
					margin: 0 auto;
				}



			}

			@media only screen and (max-height : 480px) {
				.head_login_page{
					display: none;
				}
			}

