.box_shadow
{
    -moz-box-shadow: 0 2px 4px #1A1A1A; 
    -webkit-box-shadow: 0 2px 4px #1A1A1A; 
    box-shadow: 0 2px 4px #1A1A1A;        
}

/*Default to this, because <= IE 7 do not read media queries*/
html > body
{
    /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_1200_1450.png") no-repeat center top scroll; */
    background: rgba(15, 63, 107, 1);
}
@media only screen and (min-width: 1400px)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_1920_1450.png") no-repeat center top scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_1500_1450.png") no-repeat center top scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}
@media only screen and (min-width: 1000px) and (max-width: 1199px)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_1200_1450.png") no-repeat center top scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}
@media only screen and (min-width: 800px) and (max-width: 999px)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_1000_1450.png") no-repeat scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}
@media only screen and (min-width: 400px) and (max-width: 799px)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_800_1450.png") no-repeat center top scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}
@media only screen and (min-width: 200px) and (max-width: 399px)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_400_1450.png") no-repeat center top scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}

/*iPhone media query*/
@media only screen and (max-device-width: 480px)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_1100_1900.png") no-repeat center top scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}

/*Regular iPad media query*/
@media only screen and (device-width: 768px) and (orientation : portrait)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_1075_1450.png") no-repeat center top scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}
@media only screen and (device-width: 768px) and (orientation : landscape)
{
    body
    {
        /*background: #0f4b86 url("/graphics/layout/backgrounds/usms_1075_1350.png") no-repeat center top scroll;*/
        /*background: #003366 url(/wf/graphics/background2.png) repeat-x;*/
        background: rgba(15, 63, 107, 1);
    }
}

td
{
    padding-left: 5px;
    padding-bottom: 5px;    
}

/*
    Define line height for text elements
*/
.contenttext, p
{
    line-height: 20px;    
}


* html .clear-block
{
    height:1%;
}

.clear-block{
    display:block;
}/* End hide from IE-mac */
.clearfix:after
{
    content:".";
    display:
    block;
    height:0;
    clear:both;
    visibility:hidden;
}
* html>body .clearfix
{
    display:inline;
    width:100%;
}
* html .clearfix{
    /*_\*/
    height:1%;/* End hide from IE-mac */
}
  
.container
{
    margin-left:auto;
    margin-right:auto;
    margin-top:0px;
    padding:0px 0px;
    width:984px;
    border-radius:6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background-color: #FFF;
}

  
  IMG.leftalign 
           {float: left;}
           
  IMG.rightalign 
           {float: right;}

em, i 
{
    font-style: italic;    
}


@media print 
{
    #mainbody
    { 
        max-width : 984px;
        min-width : 760px;
        overflow  : visible;
        height: auto;
        text-align: left;
        margin: 0px auto;
        padding: 0px; 
        border-style: solid;
        border-color: #0065BD;
        border-top-color: #0065BD; 
        border-bottom-color: #0065BD; 
        border-right-color: #0065BD; 
        border-left-color: #0065BD; 
        border-top-width: 3px; 
        border-bottom-width: 2px; 
        border-left-width: 2px; 
        border-right-width: 2px; 
        background-color: white;
        color: black;
        top: 0;
        left: 0;
    }   
}

  #mainbody
            { 
             width: 984px;
             overflow-x  : auto;
             overflow-y  : visible;
             text-align: left;
             margin: 0px auto;
             padding: 0px; 
             border-top: 3px solid #0065BD;
             /*
             border-style: solid;
             border-color: #0065BD;
             border-top-color: #0065BD; 
             border-bottom-color: #0065BD; 
             border-right-color: #0065BD; 
             border-left-color: #0065BD; 
             border-top-width: 3px; 
             border-bottom-width: 2px; 
             border-left-width: 2px; 
             border-right-width: 2px; 
             */
             color: black;
            }   
  
  .navarea  {width: 100%; 
             /* max-width : 1024px;
             min-width : 600px;
             overflow  : auto; */
             border-top-color: #0065BD; 
             border-bottom-color: #0065BD; 
             border-left-color: #0065BD; 
             border-right-color: #0065BD; 
             background-color: #FFFFFF; 
             border-top-width: 0px; 
             border-right-width: 0px; 
             border-left-width: 0px; 
             border-bottom-width: 0px; 
             border-style: solid; 
             margin:0; 
             padding: 0;
            }

  #upperlinks
            { 
             float: right;
             margin-right: 5px;
             margin-top: 0px;
             margin-top-color: #0065BD;
             text-align: right;
             padding: 0px; 
             border: 0px;
             z-index: 200; 
            }   
  
  #sizer
            { 
             float: right;
             margin-right: 2px;
             margin-top: 0px;
             margin-top-color: #0065BD;
             text-align: right;
             padding: 0px; 
             border: 0px;
             z-index: 200; 
             width: 154px;
            }   
  
  .droptab  {color: #FFFFFF;
             font-size        : 8pt;
             background-color : #0065BD;
             vertical-align   : bottom;
             white-space: nowrap;
             /*line-height: 15px;*/
            }

  TD.droptab 
            {color: #FFFFFF;
             font-size        : 8pt;
             background-color : #0065BD;
             vertical-align   : bottom;
             margin-left      : 5px;
             white-space: nowrap;
             /*line-height: 15px;*/
            }

  .droptabred  {color: #FFFFFF;
             font-size        : 10pt;
             font-weight       : bold;    
             background-color : #0065BD;
             vertical-align   : bottom;
             white-space: nowrap;
             /*line-height: 15px;*/
            }

  TD.droptabred 
            {color: #FFFFFF;
             font-size        : 10pt;
             font-weight       : bold;    
             background-color : #0065BD;
             vertical-align   : bottom;
             margin-left      : 5px;
             white-space: nowrap;
             /*line-height: 15px;*/
            }

  a.droptab, a.droptab:link, a.droptab:visited 
            {color: #FFFFFF;
             font-size       : 8pt;    
             text-decoration : none;
             vertical-align   : bottom;
             white-space: nowrap;
             /*line-height: 15px;*/
            }

  a.droptab:hover 
            {color: YELLOW;
             font-size       : 8pt;
             text-decoration : none;
             vertical-align   : bottom;
             white-space: nowrap;
             /*line-height: 15px;*/
            }

  a.droptabred, a.droptabred:link, a.droptabred:visited 
            {color: #FFFFFF;
             font-size       : 10pt;    
             font-weight       : bold;    
             text-decoration : none;
             vertical-align   : bottom;
             white-space: nowrap;
             /*line-height: 15px;*/
            }

  a.droptabred:hover 
            {color: YELLOW;
             font-size       : 10pt;
             font-weight       : bold;    
             text-decoration : none;
             vertical-align   : bottom;
             white-space: nowrap;
             /*line-height: 15px;*/
            }

  .logoarea
            { 
             border: 0; 
             margin: 0; 
             padding: 0;
            }

  .logoright
            {padding: 0; 
             margin-left: 0px; 
             margin-right: 0px; 
             margin-bottom: 0px; 
             margin-top:0px; 
            }

  .tagline  {z-index: 1; 
             height: 76px; 
             margin: 0px; 
             border: 0px; 
             padding: 0px; 
             width: 100%; 
             background-color: #9DF0F8; 
             white-space: nowrap; 
             vertical-align: bottom;
            }

  .navtabs  {height: 20px; 
             width: 100%; 
             clear: none; 
             vertical-align: bottom; 
             white-space: nowrap;
            }
            
  .tabarea  {
            }
            
  #tabs     {
             margin-top: 5px;
             margin-bottom: 0px;
             vertical-align: bottom; 
             width: 100%; 
             clear: none; 
             white-space: nowrap;
            }
            
  #tabs ul
            {margin: 0;
             padding: 0;
             list-style: none;
             float: left;
            }

  #tabs li
            {float: left;
             background: url(../gif/tab-right.gif) no-repeat top right;
             background-color: #0065BD;
             /*padding: 0 0 0 4px;*/
            }

  #tabs  a
            {display: block;
             padding: 0 5px 0 5px;
             line-height: 1.5em;
             background: url(../gif/tab-left.gif) no-repeat top left;
             text-decoration: none;
             color: #FFFFFF;
             float: left;
             font-weight: bold;
            }

  /* Commented Backslash Hack
     hides rule from IE5-Mac \*/
  #tabs  a {float:none;}
  /* End IE5-Mac hack */

  #tabs a:hover
            {color: #FFFF00;
            }

  #tabs #selectedtab 
            {
             background: url(../gif/tab-right-selected.gif) no-repeat top right;
             background-color: #3399CC;
            }

  #tabs #selectedtab a
            {
             background: url(../gif/tab-left-selected.gif) no-repeat top left;
            }
   
  .toptext  {color: #000000;
             font-size        : 10pt;
             background-color : #FFFFFF;
            }

  TD.toptext, i.toptext
            {color: #000000;
             font-size        : 10pt;
             background-color : #FFFFFF;
             margin-left      : 5px;
            }

  .formbox  {border: #101863 1px solid; 
             font-size: 9pt; 
             color: #000000; 
             font-weight: normal; 
             background-color: #FFFFFF; 
             text-decoration: none; 
            } 
            
  .formbutton 
            {border: #0066FF 1px solid;
             font-size: 9pt; 
             color: #FFFFFF; 
             font-weight: normal; 
             background-color: #003399 ; 
             text-decoration: none; 
            } 
              
  .formbutton:hover 
            {color: YELLOW;
             font-size       : 9pt;
             font-weight : normal;
            }
      
  

.navbox   
{
    border: 2px solid #860615;
    margin-bottom: 20px;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    padding: 0px;
    width: 150px;
    display: block;
    border-radius:6px; 
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
           
.contentbox    
{
    margin: 0;
    padding: 0;
}

.contentbar
{
    padding-top: 7px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #CCE9FC;
    position: relative;
}

.contentbar, .contentbar b big, .contentbar b, .contentbar strong big, .contentbar strong, .contentbar big
{
    font-size: 22px !important;
    color: #003269 !important;
    font-weight: bold;
}
  
  #centercolumn .contenttext
  {
      margin: 0;
      padding: 5px;
      padding-left: 0;
      overflow: hidden;
      overflow-x: scroll;
  }
  
  .contentform .offset
            {display: none;}
            

/* start login css for my usms */
    .myusms_list .myusms_item .myusms_item_detail 
    {
        display: none;
    } 
    
    .myusms_item
    {
        border-style: solid;
        border-width: 1px;
        border-color: #0068AF;
        border-radius: 5px;
        padding: 10px;
        margin: 10px;
    }
    
    .myusms_item_header h3:hover
    {
        color: #CA292D;
    }

    div.myusms_item_icon
    {
        width: 70px;
        vertical-align: top;
        padding-right: 10px;
        float: left;
        display: inline-block;
    }

.myusms h1.login, p.login
{
    text-align: center;
}
.myusms h1.login
{
    padding-top:0px;
    padding-bottom:10px;
}
.myusms p.login
{
    padding-top:20px;
    padding-bottom:0px;
}
.myusms div.loginwidget
{
    width: 70%;
    margin:0 auto 25px auto;
    display: block;
}
.myusms .loginwidget h3
{
    padding:15px;
}

.myusms h3.logindesc
{
    margin-top: 50px;
}
.myusms div.membershipTools
{
    display: inline-block;
    float: right;
}
.myusms div.membershipTools .loginwidget
{
    margin-bottom:0;
}
.myusms div.membershipTools .adminWidgetInlineBlock
{
    border:0;
    width:auto;
}
.myusms div.membershipTools .adminWidgetInlineBlock a, div.membershipTools .adminWidgetInlineBlock span
{
    font-size:13px;
    font-weight:normal;
}
.myusms div.membershipTools div.adminWidgetInlineBlock a
{
    font-weight: normal;
}
.myusms table a, .myusms p a, .myusms ul li a
{
    line-height: 16px;
}
.myusms a
{
    line-height: 28px;
}
.membershipTools .loginwidget ul li
{
    display: inline-block;
    font-size: 12px;
    margin-left:0 !important;
    font-weight:normal;
}
.membershipTools .loginwidget ul li:after
{
    content: " | ";
}
.contentbar .membershipTools .loginwidget ul li:last-child:after
{
    content: "";
}
.contentbar .membershipTools 
{
    display: inline-table;
    width:auto;
}
.contentbar .myusmsLogout
{
    text-align: right;
    margin-top: 20px;
    font-size:13px;
}
.contentbar .membershipTools .loginwidget
{
    border: none;
}
.contentbar strong .myusmsTitle
{
    display: inline-table;
    float:left;
    margin-top:15px;
}
.myusms_list .myusms_item .myusms_item_header img
{
    width: 64px;
    margin-left: auto;
    margin-right: 20px;
    margin-bottom: auto;
    border: 0;
    vertical-align: middle;
    display: inline;
}

.myusms_list .myusms_item .myusms_item_header h3
{
    display: inline;
}
              
.profilePhotoColumn
{
    float:left;
    padding-left:10px;
    padding-right:10px;
}
.profilePhotoBorder
{
    border: 1px solid #CCE9FC;
    min-width:120px;
    min-height:140px;
}
.noProfilePhoto
{
    width: 120px;
    height:140px;
    background-color: #cccccc;
    margin: 5px;
    line-height:140px;
    text-align: center;
}
.profilePhotoBorder img
{
    padding:3px;
}
.myusms .profileInfoColumn td
{
    padding-left: 0;
    vertical-align: top;
}
.profileInfoColumn
{
    float: left;
    width: 550px;
}
.profileInfoColumn h3
{
    margin-bottom:5px;
}
.profileInfoColumn table
{
    width:100%;
    border-collapse: collapse;
}
.profileInfoColumn table tr td:first-child
{
    width:35%;
    font-weight:bold;
}
.myusmsPhotoGalleryPhoto
{
    width:33%;
    margin-bottom:15px;
    text-align: center;
}
/* end login css */
/* Hides from IE5-mac \*/
* html .contenttext {height: 1%;}
* html .contenttext2 {height: 1%; border: 0;}
/* End hide from IE5-mac */

  .footerlinks 
            {font-size : 8pt;}

  .popuplayer 
            {border-width : 1px; 
             border-style : solid; 
             border-color : #003399; 
             top : 110px; 
             position : absolute; 
             BACKGROUND: #ffffff;
             z-index : 90; 
             visibility : hidden;
             font-size : 9pt;
             color: black;
             margin-bottom: 0px;
             margin-left: 0px;
             margin-right: 0px;
             text-decoration: none;
             text-align: left;
            }
            
  ul.popuplist
            {margin-left: 2px;
             margin-right: 2px;
             margin-top: 2px;
             margin-bottom: 3px;
             border: 0;
             padding: 0;
             color: black;
             list-style-type: disc;
             list-style-position: inside;
            }
            
  .popuplink
  {
             font-size : 9pt;
             text-decoration: none; 
            }
            
  a.popuplink, a.popuplink:visited
    {
             font-size : 9pt;
             text-decoration: none; 
             color: blue;
            }
            
  a.popuplink:hover
            {
             font-size : 9pt;
             text-decoration: none; 
             color: red;
            }
            
  img.imageleft
            {margin-left: auto;
             margin-right: 5px;
             margin-bottom: auto;
             border: 0;
             float: left;
             display: block;
            }
              
  img.imageright
            {margin-left: 5px;
             margin-right: auto;
             margin-bottom: auto;
             border: 0;
             padding: 0;
             float: right;
             display: block;
            }

  div.imageleft
            {margin-left: auto;
             margin-right: 5px;
             margin-bottom: auto;
             border-width: 1px;
             border-color:#3399CC;
             border-style: solid;
             float: left;
             display: block;
             padding-bottom: 3px;
            }
              
  div.imageright
            {margin-left: 5px;
             margin-right: auto;
             margin-bottom: auto;
             border-width: 1px;
             border-color:#3399CC;
             border-style: solid;
             float: right;
             display: block;
             padding-bottom: 3px;
            }

  div.floatleft75
            {
              width: 75px;
              margin-left: auto;
              margin-right: 10px;
              margin-top: 0px;
              margin-bottom: 10px;
              float: left;
            }
  
  div.floatleft75 p 
            {
              text-align: center;
              margin-top: 0px;
            }

  div.floatright150
            {
              width: 150px;
              margin-left: 10px;
              margin-right: 5px;
              margin-top: 0px;
              margin-bottom: 10px;
              float: right;
            }
  
  div.floatright150 p 
            {
              text-align: center;
              margin-top: 0px;
            }
a.redButton, a.redButton:hover, a.blueButton, a.blueButton:hover
{
    padding: 10px 15px 10px 15px;
    color: #ffffff;
    display: block;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: large;
    font-family: arial;
}
a.redButtonAndArrow, a.redButtonAndArrow:hover, a.blueButtonAndArrow, a.blueButtonAndArrow:hover
{

    padding: 10px 35px 10px 15px;
    color: #ffffff;
    display: block;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: large;
    font-family: arial;
    background: url(../png/angled_arrow.png) no-repeat center right;
}
a.redButtonAndArrow, a.redButtonAndArrow:hover,a.redButton, a.redButton:hover
{
    background-color: #ca292d;
}
a.blueButtonAndArrow, a.blueButtonAndArrow:hover,a.blueButton, a.blueButton:hover
{
    background-color: #4f9cd2;
}
.bannerText
{
    font-size: x-large;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 35px;
}
@media screen and (max-width: 800px) {

    .contenttext li a {
        display: block;
        margin-bottom: 1rem;
    }


    .removeFirstTwoColumns td:nth-child(1), .removeFirstTwoColumns td:nth-child(2)
    {
        display: none;
    }
    .removeFirstTwoColumns td:nth-child(3)
    {
        width:60%;
        display: block;
        float: left;
        flex:none;
    }
    .removeFirstTwoColumns td:nth-child(4)
    {
        width:35%;
        display: block;
        float: left;
        flex:none;
    }

    table.toptenlist,
    table.indresults,
    table.meetlist,
    table.toptenlist-relays,
    table#record-display,
    table.record-display--ind,
    table.record-display--team,
    table.all-star--ind,
    table.all-american--team,
    table.all-american--ind,
    table.all-american--ind-relay,
    table.flogActivityTable {
        width: 800px;
    }


    form[action="/comp/meets/indresults.php"] + h3 + table {
        /*width: 800px;*/
    }



    #page form[action="/usmsadmin/login.php"] table h3 {
        margin-bottom: 3rem;
    }

    form[action="/usmsadmin/login.php"] table {
        font-size: 1.2em;
    }

    form[action="/usmsadmin/login.php"] table tr {
        margin-bottom: 1rem;
    }

    form[action="/usmsadmin/login.php"] table td {
        display: block;
        margin-bottom: 1rem;
    }

    form[action="/usmsadmin/login.php"] table td + td {
        margin-top: -1rem;
    }

    form[action="/usmsadmin/login.php"] table td input {
        width: 80%;
    }

    form[action="/usmsadmin/login.php"] table td input#cb_cookieuser_navbar {
        width: auto;
        margin-right: 0.5rem;
    }

    form[action="/usmsadmin/login.php"] table td input + label {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

}


#page legend {
background:none repeat scroll 0 0 #0065BD;
border:1px solid #0065BD;
padding:1px 10px;
margin-left:-10px;
margin-bottom:19px;
color:#FFFFFF;
    width: auto;
}
.box {
    border: 1px solid #336699;
/*    cursor:pointer;*/
}


.box_submit {
   background: #2278ba;
   background: -webkit-gradient(linear, left top, left bottom, from(#9bcbee), to(#2278ba));
   background: -webkit-linear-gradient(top, #70b8ed, #2278ba);
   background: -moz-linear-gradient(top, #70b8ed, #2278ba);
   background: -ms-linear-gradient(top, #70b8ed, #2278ba);
   background: -o-linear-gradient(top, #70b8ed, #2278ba);
   -webkit-border-radius: 6px;
   -moz-border-radius: 6px;
   border-radius: 6px;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: #FFF;
   text-decoration: none;
   vertical-align: middle;
   font-weight: bold;
   font-size: 12px;
   cursor: pointer;
   padding: 2px 15px;
   margin: 0 5px;
   text-decoration: none !important;
   margin-left: 0 !important;
   margin-top: 1rem !important;
}

.box_submit:hover
{
   border-top-color: #1f5c91;
   background: #1f5c91;
   color: #ffffff;
   text-decoration: none !important;
}
.box_submit:active 
{
   border-top-color: #1b435e;
   background: #1b435e;
   text-decoration: none !important;
}    

.bluebox 
{
    font-weight: bold;
    color: #FFFFFF;
    background-color: #336699;
    border: 1px solid #000000;
}

.search_form 
{
padding: 5px;
}

.more_info 
{
margin:3px;
}

.form_seperator 
{
    width: 100%;
    height: 1px;
    background-color: #CCC;    
    margin-top: 4px;
    margin-bottom: 4px;
}

.success_message
{
    /*color: #003366;*/
    color: #008000;
    font-size: 18px;
    margin-top: 10px;
}

.error_message
{
    color: #F00;
    font-size: 18px;
    margin-top: 10px;
}

.nobr
{
    white-space:nowrap;
}
@media print {
    #MemberRecordForm {
        display: block !important;
    }
}
