@import url("https://fonts.googleapis.com/css?family=Lemon");

body {
  font-family: arial,helvetica,sans-serif;
  font-size: 14pt;
}


body,html {
  padding: 0;
  margin: 0 auto;
  min-height: 100%;
  min-width: 100%;
  background-color: white;
  background: url('background.gif') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.allButFooter {
    min-height: calc(100vh - 275px);
}

/*
.bg {
  position: fixed; 
  top: -50%; 
  left: -50%; 
  width: 200%; 
  height: 200%;
}
.bg img {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  margin: auto; 
  min-width: 50%;
  min-height: 50%;
}
*/

#newRels {
    width: 55%;
    background-color: lightgrey;
    margin: 0 auto; /* Center the container */
    padding: 20px;
    box-sizing: border-box;
}

/* Video grid styling */
.videoGrid {
    display: flex; /* Fallback for grid layout */
    flex-wrap: wrap; /* Ensure items wrap to the next row */
    justify-content: space-between; /* Evenly distribute space */
    gap: 20px; /* Spacing between items */
}

.videoGrid div {
    width: calc(50% - 10px); /* Two columns with spacing */
    text-align: center;
}

.videoGrid video {
    width: 100%; /* Ensure videos scale within their container */
    height: auto;
}

#newRels h1 {
    text-align: center;
}

#newRels h2 {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Contact form container inside #newRels */
.contact-form-container {
    width: 100%; /* Ensure it scales within the parent container */
    padding: 10px;
    box-sizing: border-box;
}

/* Styling for the contact form box */
.form-box {
    width: 100%; /* Default width */
    max-width: 600px; /* Set a maximum width for larger screens */
    margin: 0 auto; /* Center the form */
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-box h2 {
    text-align: center;
    margin-bottom: 15px;
}

/* Input and textarea styling */
input.form-spacing, textarea {
    width: 100%; /* Make inputs full width */
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Button styling */
button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    #newRels {
        width: 90%; /* Expand to 90% of screen width */
        padding: 10px;
    }

    .videoGrid div {
        width: 100%; /* One column for videos */
    }

    .form-box {
        padding: 15px;
    }

    input.form-spacing, textarea {
        font-size: 14px;
    }

    button {
        font-size: 14px;
    }
}


.center {
    margin: 0 auto; 
    width: 640px;
}

.vidbox  {
    max-width: 100%;
    height: auto;
    position: relative;
    background: #000;
    margin-top: 20px;
    margin: 20px auto;
}

.column{
   float: left;
   width: 70 ;
   height: 70 ;
   border: 1  solid green;
   overflow: hidden;
}

div.rlstopbox, h1, h2, h3, .buttons {
  font-family: "Lemon", sans-serif;
  position: relative;
  text-align: center;
}

div.rlstopbox {
  border: 3px solid blue;
  box-shadow: 6px 6px;
  position: relative;
  text-align: center;
  background-color: #eff7f5; 
  /*background-color: #abf9d4; */
  border-radius: 25px;
  z-index: 1;
}
div.rlstopbox table { 
  position: relative; z-index: 3;
}

div.rlstopbox table, div.topbox table td {
  border: 0;
  border-collapse: collapse;
  text-align: center;
}

div.rlstopbox table .even, tbody tr:nth-child(even) {
	background-color:   #bff8dd;
}

div.rlstopbox table .odd, tbody tr:nth-child(odd) {
	/*background-color:   white; */
	background-color:   #abf9d4; 
}

div.rlstopbox table td:first-child {
  padding: 0 8px;
  text-align: center;
}
div.rlstopbox table td:first-child img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: thick solid green;
  border-radius: 20px;
}

#tbTitle { line-height: 25px; margin: 0 auto;}
#tbTitle #tbName { font-size: 72pt; margin: 0 auto; color: darkblue; text-shadow: 3px 3px lightgrey;}
#tbTitle #tbSubT { font-size: 24pt; Margin: 0 auto; color: darkblue; text-shadow: 3px 3px lightgrey;}
#tbTitle #tbContact { font-size: 18pt; margin: 0 auto;}

div.topbox .buttons { text-align: center; 
                      line-height: 16pt; 
                    }

div.rlstopbox .redbar { position: relative; bottom: 0; height: 35px; 
  width: 100%; z-index: 2; background-color: red;}
div.rlstopbox .blubar { position: relative; bottom: 0; height: 35px; 
  width: 100%; z-index: 2; background-color: blue;}
div.rlstopbox .grnbar { position: relative; bottom: 0; height: 35px; 
  width: 100%; z-index: 2; background-color: green;}

table.lesson { margin: auto; }
      table.lesson td { 
        padding: 0.5em 2em;
        border: thin solid green; 
        border-collapse: separate; 
        border-spacing: 10px
    }
table thead, th { 
        background-color: blue; 
        color: white; 
        font-size: larger; 
        font-weight: bold; 
        text-align: center; 
    }

#weekly { 
        background-color: #b5d7fe;
        text-align: center; 
        vertical-align: middle; 
    }
#weekly td { 
        line-height: 20px;
        border: 1px black;
        background-color: white;
        color: black;
        vertical-align: middle; 
        text-align: center;
    }
    tr:hover {
        background-color: #169ce8;
        box-shadow: 5px 5px;
        color: black; 
        font-weight: bold;
        opacity: 1;
        z-index: 1010;
        visibility: visible;
    }
#weekly thead, th { 
        border: 1px black;
        background-color: darkblue;
        color: white;
        vertical-align: top; 
        text-align: center;
    }
   
#weekend, #special thead, th { 
        border: 1px black;
        background-color: #b5d7fe; 
        text-align: center; 
        color: white;
    }
    td {
        line-height: 20px;
        border: 1px solid black;
        color: green;
        vertical-align: middle; 
        text-align: center; 
    }
    tr:hover {
        background-color: #169ce8;
        box-shadow: 5px 5px;
        color: black; 
        font-weight: bold;
        opacity: 1;
        z-index: 1010;
        visibility: visible;
    }
.txtBox {
        border: 1px solid black;
        background-color: white; 
        text-align: center;
        vertical-align: middle;
        z-index: 2;
        visibility: visible;
    }
    th {
        color: white;
    }
    
.boxShadow {
  box-shadow: -10px -5px 15px 3px black;
}

.textShadow {
  text-shadow: -10px -5px 3px gray;
}

.cntBox {
    width: 60%; min-width: 400px;
    padding: 20px;
    font-weight: bold;
}

div.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 120px;
}
    
#sched thead, th {
        background-color: blue;
        color: white;
}

        tr:nth-child(even) {
            border: 1px black; 
            border-collapse: separate; 
            border-spacing: 2px; 
            background-color: #c81010;
            text-align: center;
        }
        tr:nth-child(odd) {
	        background-color:   #abf9d4;
        }
        td {
            line-height: 20px;
            text-align: center;
            vertical-align: middle; 
            z-index: 1000;
        }
        

object:focus {
    outline: solid black;
    z-index: 1030;
    visibility: visible;
}
.black_overlay {
  display: none;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.8;
  opacity: .80;
  filter: alpha(opacity=80);
}
.white_content {
  display: none;
  position: absolute;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  padding: 16px;
  border: 16px solid orange;
  background-color: white;
  z-index: 1002;
  overflow: auto;
}

input.rounded {

  border: 1px solid #ccc;
   
  /* Safari 5, Chrome support border-radius without vendor prefix.
   * FF 3.0/3.5/3.6, Mobile Safari 4.0.4 require vendor prefix.
   * No support in Safari 3/4, IE 6/7/8, Opera 10.0.
   */
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  
  /* Chrome, FF 4.0 support box-shadow without vendor prefix.
   * Safari 3/4/5 and FF 3.5/3.6 require vendor prefix.
   * No support in FF 3.0, IE 6/7/8, Opera 10.0, iPhone 3.
   * change the offsets, blur and color to suit your design.
   */
  -moz-box-shadow: 2px 2px 3px #666;
  -webkit-box-shadow: 2px 2px 3px #666;
  box-shadow: 2px 2px 3px #666;
  
  /* using a bigger font for demo purposes so the box isn't too small */
  font-size: 20px;
  
  /* with a big radius/font there needs to be padding left and right
   * otherwise the text is too close to the radius.
   * on a smaller radius/font it may not be necessary
   */
  padding: 4px 7px;
  
  /* only needed for webkit browsers which show a rectangular outline;
   * others do not do outline when radius used.
   * android browser still displays a big outline
   */
  outline: 0;

  /* this is needed for iOS devices otherwise a shadow/line appears at the
   * top of the input. depending on the ratio of radius to height it will
   * go all the way across the full width of the input and look really messy.
   * ensure the radius is no more than half the full height of the input, 
   * and the following is set, and everything will render well in iOS.
   */
  -webkit-appearance: none;
  -moz-appearance: none;
  
}

input.rounded:focus {
  
  /* supported IE8+ and all other browsers tested.
   * optional, but gives the input focues when selected.
   * change to a color that suits your design.
   */
  border-color: #339933;
  
}


