
/* iphone 5 */
    @media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
    
    
     }

    /* iphone 6, 6s, 7, 8 */  /* portrait */
    @media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (-webkit-device-pixel-ratio: 2)   and (orientation: portrait) { 
    
     #header .logobanner  {
     margin-left: 65px;
     margin-top: 21px;
     font-size: 10px;  
     padding: 0px;  
    }
    
}

/* iphone 6+, 6s+, 7+, 8+ */ /* portrait */
    @media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (-webkit-device-pixel-ratio: 3)  and (orientation: portrait) {
    
     #header .logobanner  {
     margin-left: 60px;
     margin-top: 21px;
     font-size: 12px;  
     padding: 0px;  
    }
    
  #intro .intro-info h1, #intro2 .intro-info h1 {
    font-size: 30px;
    margin-bottom: 10px;
  }
    
}

/* iphone X */  /* landscape */  
    @media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3)   and (orientation : landscape) {
    
      #header.header-scrolled,
      #header.header-pages {
      height: 55px;
      padding: 0px 0;     
     }

    
     #header.header-scrolled .logo img {
     margin-top: 8px;    
     margin-left: -45px;
     min-height: 40px;
     min-width: 40px;  
    }

  
    #header .logo img {
     margin-top: 0px;    
     margin-left: -45px;
     min-height: 40px;
     min-width: 40px; 
    }


#header .logobanner  {
 margin-top: 0px;
 padding: 0px;   
}
    
   
  #intro .intro-info, #intro2 .intro-info {
    width: 100%;
  }

  #intro .intro-info h1, #intro2 .intro-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
   
}

/* iphone X */  /* portrait */  
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px) 
and (-webkit-device-pixel-ratio : 3)
and (orientation : portrait) { /* STYLES GO HERE */ 

   
  #intro .intro-info, #intro2 .intro-info {
    width: 100%;
  }

  #intro .intro-info h1, #intro2 .intro-info h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
    #intro .intro-info h2, #intro2 .intro-info h2  {
  font-size: 18px;  
  margin-top: -10px; 
  padding-top: 3px;
  padding-bottom: 3px; 
  font-weight: 600;         
  /* display: nonex;*/ 
}

  #intro .intro-info h2 a, #intro2 .intro-info h2 a  {
    color: #fff ;
    font-weight: 600;   
  text-shadow: 1px 1px black;
}


  #intro .intro-info h2 a:hover, #intro2 .intro-info h2 a:hover  {
  color: #fd7e14;   
}
  

}


/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
}

/* Portrait */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
  
  #intro .intro-info h1 {
  font-size: 48px;
  margin-top: -20px;
}

}

/* Landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
  
    #intro .intro-info h1 {
  font-size: 48px;
  margin-top: -20px;
}

}

/* ----------- iPad ----------- */
/* Portrait and Landscape */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { /* STYLES GO HERE */}

/* Portrait */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { /* STYLES GO HERE */ 
  #intro .intro-info h1 {
  font-size: 40px;
  margin-top: -80px;
  margin-bottom: 10px;
}

 #header .logobanner  {
 margin-left: 185px; 
 padding-top: 18px;  
} 


}

/* Landscape */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) { 
/* STYLES GO HERE */
  #intro .intro-info h1 {
  font-size: 34px;
  margin-top: -20px;   
}

}


    /* iphone XR */
    @media only screen and (min-device-width : 414px) and (max-device-height : 896px) and (-webkit-device-pixel-ratio : 2) { }

   /* iphone XS */
    @media only screen and (min-device-width : 375px) and (max-device-height : 812px) and (-webkit-device-pixel-ratio : 3) { }

   /* iphone XS Max */
    @media only screen and (min-device-width : 414px) and (max-device-height : 896px) and (-webkit-device-pixel-ratio : 3) { }
    

/*Samsung Galaxy S8 Landscape Media Queries*/
@media only screen and (min-width: 360px) and (max-width: 767px) and (orientation: landscape) { /* Your Styles... */ 
/*@media only screen and (min-width: 740px) and (orientation: landscape) { /* Your Styles... */ 

    #header .logo img {
     margin-top: 0px;    
     margin-left: -75px;
     min-height: 40px;
     min-width: 40px; 
    }


#header .logobanner  {
 margin-left: 145px;
 margin-top: 16px;
 padding: 0px;   
}

  #intro .intro-info h1 {
  font-size: 28px;
}

}


/* Samsung Galaxy S9 Landscape Media Queries */
@media only screen and (min-width: 360px) and (max-width: 767px) and (orientation: landscape) {   
  #intro .intro-info h1 {
  font-size: 34px;
}

 #header .logobanner  {
 margin-left: 165px; 
 padding-top: 1px;  
} 

}    