
/* MIN 1920px */

@media only screen and (min-width: 1920px){

	.slides-container div,
	.home{
		background-size:100%;
	}

}

/* MAX 1170px */

@media only screen and (max-width: 1170px){

	#navigation{
		padding:0 20px;
	}

	.post-dates{
		width:6%;
	}

	.post-details{
		width:93%;
	}
  
 
 

/* MAX 1024px */

@media only screen and (max-width: 1024px){
  
  #home2 #home3 #home4 #home5 #home6 #home7{
    max-height: 100vh;
    position: relative;
    
  }
  
  .home2 .home3 .home4 .home5 .home6 .home7{
    position: relative;
  }
  
  #home3 {
    background: url("../images/Responsive/Campbell_edited_1024x1333.jpg") top center fixed no-repeat;  
  }
  
   #home4 {
    background: url("../images/Responsive/JaveedSukheraMain_1024x1333.jpg") top center fixed no-repeat;
  }
  
   #home5 {
    background: url("../images/Responsive/WomenInMedicine_1024x1333.jpg") top center fixed no-repeat;
  }
  
   #home6 {
    background: url("../images/Responsive/CollaborationMainHeader_1024x1333.jpg") top center fixed no-repeat;
  }
  
  #home7 {
    background: url("../images/Responsive/Mottola_Main_1024x1333.jpg")top center fixed no-repeat;
  }
  
  
  
  #about{
    max-width: 100vw;
    height: auto;
  }
  
  .testimonials{
    max-width: 100vw;
    height: auto;
  }
  #services{
    background: url("../images/Responsive/STOP Narcotics ArticleRESP_1024x1333.jpg") top center fixed no-repeat;
  }
  
  #services2a{
    background: url("../images/Responsive/Mottola_Main_1024x1333.jpg") top center fixed no-repeat;
  }
  #services2{
    background: url("../images/Responsive/Campbell_edited_1024x1333.jpg")top center fixed no-repeat;
  } 
  
  #services3{
    background: url("../images/Responsive/JaveedSukheraMain_1024x1333.jpg")top center fixed no-repeat;
  }
  #services4{
    background: url("../images/Responsive/WomenInMedicine_1024x1333.jpg")top center fixed no-repeat;
  }
  
  #services5{
    background: url("../images/Responsive/CollaborationMainHeader_1024x1333.jpg") top center fixed no-repeat;
  }
  
  .hometextsmain{
 top: 50vh;
}
	.hometext{
		font-size:100px;
		line-height: 90px;
	}
  
  .hometext2{
		font-size:100px;
		line-height: 90px;
	}

	.fixed-text{
		font-size: 55px;
	}

	.timeline-images a.timeline-image{
		margin-right:5px;
	}

}
  
  
  
/* MIN 1024W x 1366 height*/
  
  @media only screen and (max-width: 1024px) and (max-height: 1366px){
    
    .video-container{
      top: 100%;
      left: -40%;      
  }
  }

/* MIN 970px */

@media only screen and (min-width: 970px){
	
	.col-xs-2,
	/*.col-xs-3,*/
	/*.col-xs-4,*/
	.col-xs-5,
	/*.col-xs-6,*/
	.col-xs-7,
	/*.col-xs-8,*/
	/*.col-xs-9,*/
	.col-xs-10{
		width:33.333%;
		margin:0 auto 0px;
	}
	
	.slides-container div,
	.home{
		background-size:110%;
	}

}

/* MAX 970px */

@media only screen and (max-width: 970px){

	.slides-container div,
	.home{
		background-size:auto 120%;
	}

	.col-xs-2,
	/*.col-xs-3,*/
	/*.col-xs-4,*/
	.col-xs-5,
	/*.col-xs-6,*/
	.col-xs-7,
	/*.col-xs-8,*/
	/*.col-xs-9,*/
	.col-xs-10{
		width:50%;
		margin:0 auto 0px;
	}
	
	.galleryup{
		width:49.9%;
		margin:0 auto 0px;
	}

	.hometext{
		font-size:80px;
		line-height: 70px;
	}
  
  .hometext2{
		font-size:80px;
		line-height: 70px;
	}

	.fixed-text{
		font-size: 50px;
	}

	#home .v5 .typographic{
		width:80%;
	}

	#home .v5 .typographic .hometexts-5{
		height: 117px;
	}

	/* Mobile Nav Menu */

	.not-visible-nav{
		opacity:1;
	}
	
	#navigation a.mini-nav-button{
		display: block;
	}

	#navigation .nav-menu{
		display:none;
		height: auto;
		top:100%;
		left:0;
		width:100%;
		position: absolute;
		background:rgba(255, 255, 255, 0.90);
		box-shadow: 0px 1px 4px rgba(0,0,0, 0.1);
	}	

	#navigation ul.nav li{
		display:inline-block;
		height:auto;
		width:100%;
	}

	#navigation ul.nav li a{
		display:block;
		height: auto;
		width:100%;
		padding:0 20px;
		color: #555555;
		border-top:none;
		line-height: 40px;
	}

	#navigation ul.nav li a:hover,
	#navigation ul.nav li.active a{
		border-top:none;
		background:#ddd;
	}

	#navigation ul.nav ul.dropdown-menu{
		width:100%;
		position: relative;
		margin:0;
		padding:0;
		background:rgba(255, 255, 255, 0.97)!important;	
		box-shadow: 0px 1px 4px rgba(0,0,0, 0.1);
	}

	#navigation ul.nav ul.dropdown-menu li{
		width:100%;
	}

	#navigation ul.nav ul.dropdown-menu li a{
		border-top:none;
		padding:5px 15px;
		line-height: 30px;
	}	
}


/* MAX 800px */

@media only screen and (max-width: 800px){

	.slides-container div,
	.home{
		background-size:auto 100%;
	}

	.hometexts-1{
		font-size:80px;
		line-height: 95px;
	}

	.hometext{
		font-size:80px;
		line-height: 110px;
	}
	
  .hometext2{
		font-size:80px;
		line-height: 110px;
	}
	.loader-item {
	  left:48%;
	}
	
	.footer img{
		max-width:200px;
	}

	.fixed-text{
		font-size: 40px;
	}

	.h-item{
		font-size: 11px;
	}

	.about-box{
		width: 50%;
	}

	.service-box{
		width:33.3%;
	}

	#history ul.timeline{
		padding:0 0 80px;
	}

	#history ul.timeline li.note{
		width:90%;
		min-height: 100px;
		float:none;
		margin:75px auto;
		clear:both;
	}

	#history ul.timeline li.note:nth-of-type(2n){
		float: none;
	}

	#history ul.timeline li.note:after{
		display: none;
	}

	.note-arrow{
		position: absolute;
		top:-22px;
		right:50%;
	   	margin-right:-8px;
	   	-webkit-transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		transform: rotate(90deg);
	}

	#history ul.timeline li.note:nth-of-type(2n) .note-arrow{
		-webkit-transform: rotate(-90deg);
		-moz-transform: rotate(-90deg);
		transform: rotate(-90deg);
		left:50%;
		margin-left:-8px;
	}

	.timeline-images{
		margin:0 auto;
		text-align: center;
		width:100%;
		left:0;
	}

	.timeline-images a.timeline-image,
	#history ul.timeline li.note:nth-of-type(2n) .timeline-images a.timeline-image{
		display:inline-block;
		margin:0 auto;
		float:none;
		clear: both;
	}

	#why-we .left{
		float:none;
		margin:0 auto 30px;
		width:70%;
		background-position: left center;

	}

	.accourdion-menu{
		width:85%;
		float: none;
		margin: 0 auto;
		text-align:center;
	}

	.accourdion-menu h1,
	.accourdion-menu h4{
		text-align: center !important;
	}

	.why-portola-accordion span.positive-s{
		float:none;
		display: inline-block;
		top:7px;
	}

	.why-portola-accordion .accordion-toggle{
		display: inline-block;
	}

	.team-members .member{
		width:50%;
	}

	.fun-acts{
		width:90%;
		margin:0 auto;
	}

	#fun-acts .fun-acts .facts .fact{
		width:50%;
		margin:0 auto 20px;
		height: 190px;
	}
	
	#fun-acts .fun-acts .imac{
		margin:20px auto;
		min-height: 500px;
	}

	ul.tables li.pricing-table{
		width:50%;
		margin-bottom:20px;
	}

	.post-dates{
		width:8%;
	}

	.post-details,
	.blog-s .post-details{
		width:90%;
	}
	
	.sidebar .sidebar-segment .search{
		width:100%;
	}
	
	.search-button{
		width:25%;
	}

}

/* MAX 768px */

@media only screen and (max-width: 768px){

	.hometext{
		font-size:85px;
		line-height: 65px;
	}
  
  .hometext2{
		font-size:85px;
		line-height: 75px;
	}
  
  #home .v5 .typographic .hometexts-5 ul li{
		font-size:35px;
		line-height: 60px;
	}

	#home .v5 .typographic .hometexts-5{
		height: 100px;
	}
  
  .h-desc{
    font-size: 18px;
    line-height: 36px;
    font-kerning: normal;
  }

	.f-box{
		width:50%;
	}

	#fun-acts .fun-acts .imac{
		margin:20px auto;
	}

	.v2 .home-arrow{
		bottom:5%;
	}

	#blog .blog .posts .post{
		width:90%;
	}

	.col-xs-2,
	.col-xs-3,
	.col-xs-4,
	.col-xs-5,
	/*.col-xs-6,*/
	.col-xs-7,
	.col-xs-8,
	.col-xs-9,
	.col-xs-10{
		width:100%;
		margin:0 auto 20px;
	}
	
	.galleryup{
		width:100%;
		margin:0 auto 20px;
	}
  
  #img1{
    max-width: 50vw;
  }
  
  #img2{
    max-width: 50vw;
  }
  
  #img3{
    max-width: 90vw;
  }
  
  #img4{
    max-width: 60vw;
  }
  
  #img5{
    max-width: 50vw;
  }
  
  #img6{
    max-width: 50vw;
  }
  
  #img7 {
    max-width: 50vw;
  }
  
  #img8 {
    max-width: 50vw;
  }

}

/* MAX 640px */

@media only screen and (max-width: 640px){

	.hometexts-1{
		font-size:45px;
		line-height: 55px;
	}

	.post-dates{
		width:10%;
	}

	.post-details,
	.blog-s .post-details{
		width:85%;
	}

}

/* MAX 480px */

@media only screen and (max-width: 480px){
  
  
  #navigation{
    height: 60px;
  }
  
  
  .video-container{
    top: 0;
    left: 0;
      transform: translate(-40%);
  }
  .site-logo a.logo img{
    max-height: 40px;
  }
  

	.slides-container div,
	.home{
		background-size:auto 700px;
	}

	#home .v2 .typographic{
		width:80%;
	}
  
  .inner{
    max-width: 100vw;
  }
  
  .header{
    font-size: 45px;
    line-height: 45px;
    margin: 20% 0 1% 0;
  }
  
  .subhead{
    font-size: 20px;
  }

	.hometext{
		font-size:65px;
		line-height: 45px;
	}
  
  .hometext2{
		font-size:65px;
		line-height: 55px;
	}

	.fixed-text{
		font-size: 30px;
	}

	.hometexts-1{
		font-size:40px;
		line-height: 45px;
	}
  
  .h-desc{
    font-size: 20px;
    line-height: 25px;
  }
  
  .h-desc2{
    
    font-size: 25px;
    line-height: 33px;
  }
  
  .h-desc span{
  font-size: 20px;
  }

  .h-desc2 span{
  font-size: 25px;
  }
  
  #about{
    background: url("../images/Responsive/StatsBG_1333x2000_480x736.jpg") center center fixed no-repeat;
  }
  
  .testimonials{
    background: url("../images/Responsive/StatsBG_1333x2000_480x736.jpg") center center fixed no-repeat;
  }
  
  .monial h1{
		font-size:2.5em;
		line-height:1 em;
    text-transform: uppercase;
	}
  
	#home .v5 .typographic .hometexts-5 ul li{
		font-size:20px;
		line-height: 45px;
	}

	#home .v5 .typographic .hometexts-5{
		height: 85px;
	}
  
  #services{
    background: url("../images/Responsive/STOP Narcotics ArticleRESP_1024x1333.jpg") center fixed no-repeat;
    background-size: cover;
  }
  
  #services2a{
    background: url("../images/Responsive/Mottola_Main_1024x1333.jpg") center fixed no-repeat;
    background-size: cover;
  }
  
  #services2{
    background: url("../images/Responsive/Campbell_edited_1024x1333.jpg") center fixed no-repeat;
    background-size: cover;
  }
  
  #services3{
    background: url("../images/Responsive/JaveedSukheraMain_1024x1333.jpg") center fixed no-repeat;
    background-size: cover;
  }
  
   #services4{
    background: url( "../images/Responsive/WomenInMedicine_1024x1333.jpg") center fixed no-repeat;
    background-size: cover;
  }
  
  #services5{
    background: url( "../images/Responsive/CollaborationMainHeader_1024x1333.jpg") center fixed no-repeat;
    background-size: cover;
  }
  
  #img1{
    max-width: 100vw;
  }
  
  #img2{
    max-width: 100vw;
  }
  
  #img3{
    max-width: 100vw;
  }
  
  #img4{
    max-width: 110vw;
  }
  
  #img5{
    max-width: 100vw;
  }
  
  #img6{
    max-width: 100vw;
  }
  
  #img7 {
    max-width: 100vw;
  }
  
  #img8 {
    max-width: 100vw;
  }

	.about-box{
		width: 100%;
	}

	.service-box{
		width:100%;
	}

	.timeline-images a.timeline-image{
		width:60px;
		height: 60px;
	}

	.timeline-images a.timeline-image img{
		width:60px;
		height: 60px;
	}

	.timeline-images{
		bottom:-30px;
	}

	.f-box{
		width:100%;
    margin: 5% auto;
	}

	#why-we .left{
		width:90%;
		background-position: left center;
		background-size: 100%;
	}

	#why-we .left .holder1{
		width:132px;
	}

	#why-we .left .holder2{
		width:122px;
	}

	#why-we .left .holder3{
		width:132px;
	}

	.accourdion-menu{
		width:100%;
	}

	.team-members .member{
		width:100%;
	}

	#fun-acts .fun-acts .imac{
		margin:0px auto;
	}

	#fun-acts .fun-acts .facts .fact{
		width:90%;
		margin:0 auto 30px;
		float:none;
	}

	.video-button p.video-text{
		font-size:25px;
		line-height: 30px;
	}

	ul.tables li.pricing-table{
		width:100%;
		margin-bottom:30px;
	}

	#contact-us div{
		width:100%;
	}

	.post-dates{
		width:15%;
	}

	.post-details,
	.blog-s .post-details{
		width:82%;
	}

  .footer li{
    padding: 0 1.25% 0 .5%;
  }
}

/* MAX 360px */

@media only screen and (max-width: 360px){

	.hometexts-1{
		font-size:40px;
		line-height: 50px;
	}

	.inner-details .member-details .member-details-inner{
		top:7%;
		-webkit-transform: translateY(-0%);
		-moz-transform: translateY(-0%);
		transform: translateY(-0%);
	}

	#map .google-map-big-button{
		font-size:15px;
	}

	.filter-menu ul li{
		margin:10px auto;
	}

	.timeline-images a.timeline-image{
		width:50px;
		height: 50px;
	}

	.timeline-images a.timeline-image img{
		width:50px;
		height: 50px;
	}

	.timeline-images{
		bottom:-25px;
	}

	.hometext{
		font-size:55px;
		line-height: 30px;
	}
  
  .hometext2{
		font-size:55px;
		line-height: 50px;
	}

	.fixed-text{
		font-size: 22px;
	}
	
	.loader-item {
	  left:46.5%;
	}
	
	.post-details .post-header{
		font-size:22px;
	}
	
	.block{
		display: block;
	}
	
	.sidebar .sidebar-segment .search{
		width:100%;
	}
	
	.search-button{
		width:15%;
	}
	
	.filter-menu ul li a{
		line-height:0px;
	}
	
	#services{
		/*background:url(../images/parallax/5.jpg) top center fixed;*/
    padding:0 0;
		overflow: hidden;
	}
	
	#fun-acts .fun-acts .imac{
		margin:20px auto;
		min-height: 250px;
	}
	
	.home-details .logo img{
		max-width:200px;
	}
	
	#home .v2 .typographic .logo img{
		max-width:200px;
	}
	
	#home .v2 .typographic h2{
		font-size:60%;
	}
	
	.footer img{
		max-width:200px;
	}

	.h-item{
		padding:5px 9px 5px 0px;
		font-size: 10px;
	}

	.home-details{
		width:95%;
	}

	.post-dates{
		width:19%;
	}

	.post-details,
	.blog-s .post-details{
		width:80%;
	}

}
