/*
.psubordercontainer {
  border: 2px solid rgb(200,200,200);
}
*/

.psunewsrow {
  padding: 10px;
}

.psunewsrowdefault {
  padding: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}

.psulinklist {
  text-align: center;
}

.psusmalltext {
  font-size: .9em;
  padding: 10px;
}


body {
  font-family: 'Oxygen', sans-serif; 
}


p, h1, h2, h3, h4, h5, h6 {
  clear: both;
}

p {
  font-size: 1.1em;
}

h1 {
  font-size: 2.2em;
}

h2 {
  font-size: 2.0em;
}

h3 {
  font-size: 1.8em;
}

h4 {
  font-size: 1.6em;
}

h5 {
  font-size: 1.4em;
}

h6 {
  font-size: 1.2em;
}

/* unvisited link */
a:link {
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
}

/* visited link */
a:visited {
  text-decoration: none;
  color: #2980b9;
}

/* mouse over link */
a:hover {
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
}

/* selected link */
a:active {
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
}

img[src$='#floatleft'] {
  padding-left: 10px;
  padding-right: 10px;
  float:left;
  width: 30%;
}

img[src$='#floatright'] {
  padding-left: 10px;
  padding-right: 10px;
  float:right;
  width: 30%;
}

nav {
  background-image: url("header.jpg") center center no-repeat;
  background-size: cover;
}

#navigation,.navbar .navbar-default{
  background-image: url("header.jpg");
}

nav .nav-link {
  color: #2c2c54;
}

navbar .navbar-default{
  background-image: url("header.jpg");
}

.navbar-nav {
  flex: 1;
  margin: auto;
  display: flex;
  justify-content: space-between;

}

.address-table {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgb(200, 200, 200);
  font-size: .9em;
}

.address-table th, td {
  padding: 2px;
}
/* From: https://startbootstrap.com/snippets/video-header */
header {
  position: relative;
  background-color: black;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container-fluid {
  position: absolute;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 1.0;
  z-index: 100;
  text-shadow: 1px 1px 2px gray, 0 0 25px gray, 0 0 5px gray;
}

@media (pointer: coarse) and (hover: none) {
  header {
    background: black;
  }
  header video {
    display: none;
  }
}

/* END From: https://startbootstrap.com/snippets/video-header */

/* text overflow fade */
/* from http://jsfiddle.net/b9vtW/4/ */

.psuoverflowrow{
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 3px solid #777;
    max-height:100px;
    overflow:hidden;
    text-overflow: ellipsis;
    content: "";
    position:relative;
}

.psuoverflowrow:before {
    content:'';
    width:100%;
    height:100%;    
    position:absolute;
    left:0;
    top:0;
    background:linear-gradient(transparent 50px, white);
}

.psuimagefit{
  object-fit: cover;
}

/* https://raybo.org/posts/2021-03-27-consistent-height-carousels-with-css-gradients-by-hacking-the-bootstrap-5-carousel/ */
#carouselNews .carousel-item img {
  object-fit: cover;
  object-position: center;
  height: 250px;
  overflow: hidden;
}


.zoomout:hover {
  transition: transform 0.5s;
  transform: scale(1.03);
  /* Start the shake animation and make the animation last for 0.5 seconds */
  /*animation: shake 1s;*/ 
  /*animation-iteration-count: infinite;*/
}

@keyframes shake {
  0% { transform:     rotate(0deg); }
  10% { transform:  rotate(-1deg); }
  20% { transform:  rotate(1deg); }
  30% { transform:  rotate(0deg); }
  40% { transform:  rotate(1deg); }
  50% { transform:  rotate(-1deg); }
  60% { transform:  rotate(0deg); }
  70% { transform: rotate(-1deg); }
  80% { transform: rotate(1deg); }
  90% { transform: rotate(0deg); }
  100% { transform: rotate(-1deg); }
}
