@charset "UTF-8";
/* CSS Homepage 18 March 2019 */

td img {
    display: block;
}
.announcement {
//    color:#CCCCCC;
}
   
#welcome {
    color: white;
    text-align:right; 
    float:right; 
    margin:0; 
    padding: 30px 60px 30px 60px; 
    font-weight:normal; 
    text-shadow: 2px 2px 4px #000000;
}
#anniversary, #anniversary_mobile { 
    display:block; 
    -ms-transform: translate(408px,207px);
    -webkit-transform: translate(408px,207px);
    transform: translate(408px,207px);
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif; 
    font-style:italic; 
    font-size:1.75em;
    color: #9AA7CB;     
}
#anniversary a, #anniversary_mobile a { 
    font-family: inherit; 
    font-style: inherit; 
    font-size: inherit; 
    color: inherit; 
    text-decoration: none;
}
#anniversary a:hover,  #anniversary_mobile a:hover {
    color:#CCCCCC;
} 
#hometable {
    display: inline-table; 
    background-image:url(/palomar/images/background.jpg); background-repeat:no-repeat;
}
#mobilehome { 
    width:100%;
    background-image: url('/palomar/images/dome_large.png'), url('/palomar/images/sky_large.jpg'); 
    background-repeat:no-repeat; 
    background-position:right top; 
    background-size: contain, cover; 
    margin: 0;
    padding: 0;
    display: none;
}
#mobilehome img {
    margin-left:60px; 
//    padding: 2vh; 
    vertical-align: middle; 
//    height: 12vh; 
    display: inline-block;
}
#mobilehome a {
    color: white; 
    display: block; 
    vertical-align:middle; 
    text-shadow: 2px 2px 4px #000000;
}
#mobilehome a:first-of-type{
    padding-top: 50px;
}
#mobilehome a div {
    display: inline-block; 
    vertical-align:middle; 
    padding-left: 3vw;
}
#mobilehome ul,  #mobilehome li {
    color: #ccc; 
    padding:0; 
    list-style-type:none; 
}
#mobilehome ul {
    margin-top: 6px; 
    margin-bottom:0;
}
#footercell {
    padding: 16px; 
    padding-left: 36px; 
    padding-right: 36px; 
    text-align: center;
}
@media only screen and (max-width: 1024px) {    
body, html {
  
     overflow-x: hidden;
    } 
body{
    position: relative;	
    margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 0;
    -webkit-text-size-adjust: none;
    }    
#mobilehome { 
    display: block; 
    -webkit-overflow-scrolling: touch; 
    -webkit-transform: translateZ(0px);
    }
#banner, #hometable{ 
    display: none; 
    }
.footer:nth-child(-n+3) {
	display: none;
}
#anniversary_mobile { 
    position: absolute;
    -ms-transform: translate(0,0px);
    -webkit-transform: translate(0,0px);
    transform: translate(0px,0px);
    font-family: "Times New Roman", Times, serif; 
    font-weight: bold;
    margin:0;
    top: 106px;
    right: 63px;
    text-align: right;
    font-size: 26px;
    width: 400px;
    text-shadow: 2px 2px 4px #000000;    
} 
} 
@media only screen and (max-width: 820px) {
 
#welcome {
    display: block; float: none;
    }   
#mobilehome a:first-of-type{
    padding-top: 3px;
    }    
} 
@media only screen and (max-width: 760px) {
#mobilehome ul {
    display: none;
    }   
}
@media only screen and (max-width: 550px) {
#footercell {
    padding: 0;
    margin: 0;
    }    
.footer { 
    //display: none; 
    }
.footer a.navigation:last-child {
//	display: none;
}   
#welcome {
    font-size: 24px;
    }
#anniversary_mobile { 
    top: 88px;
    font-size: 20px;
}     
}
@media only screen and (max-width: 450px) {
#mobilehome {
    background-size: cover, cover;
    }
#welcome {
        padding: 30px 40px 30px 40px;
    }
#anniversary_mobile { 
    right: 46px;
    font-size: 20px;
}     
#mobilehome img {
    margin-left:40px;       
}
}
@media only screen and (max-width: 400px) {
#welcome {
        padding: 30px 30px 16px 30px;
    } 
#anniversary_mobile { 
display: none;
}     
 #mobilehome img {
    margin-left:30px; 
 }