body
{
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    color: #000000;
    background-color: #ffffff;
    min-width: 320px;
}
img
{
    max-width: 100%;
    height: auto;
    border: 0px;
}
#page
{
    margin-right: auto;
    margin-left: auto;
    position: relative;
    width: 950px;
    visibility: visible;
    height: auto;
}
#inner
{
    height: auto;
    width: 100%;
}

/*#header
{
    float: left;
    width: 100%;
}*/
#header
{
   
    width: 100%;
    float:left;
    border-bottom:7px solid;
    margin-bottom:5px;
    padding-bottom:10px;
    height:120px;
   
}

/*#headerlogo
{
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    float: left;
    height: 124px;
    width: 350px;
}*/

#headerlogo
{
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    
    height: 124px;
    width: 233px;
        margin-left: auto;
    margin-right: auto;
    text-align:center;
    
   
}
#header_left {
    width: 25%;

    float:left;
    text-align:left;
}
#header_right {
    width: 25%;
    
     float:left;
     text-align:right;
}
#headertextarea
{
    width: 50%;
   
    height:50px;
 
   float:left;
   
}

#horizmenu
{
    float: right;
  
    width:100%;


}


#mainarea
{
    min-height: 350px;
    float: left;
    width: 100%;
    text-align: left;
}
#mainhome
{
    width: 100%;
    float: left;
}
#footernav
{
    text-align: left;
    height: 150px;
    width: 100%;
    margin-top: 15px;
}

#footernav th, #footernav td
{
    overflow: hidden;
    width: 100px;
}

#swsfooter
{
    font-size: 0.8em;
    color: #999999;
    text-align: center;
    clear: both;
    width: 100%;
    padding-top: 6em;
    height: 100%;
}
li
{
    list-style-type: none;
}



#left
{
    float: left;
    height: auto;
    width: 160px;
    text-align: left;
    color: #999999;
    padding-left: 10px;
}



a
{
    text-decoration: none;
    color: #000000;
    border: 0px;
}
a:link, a:visited, a:hover, a:active
{
    border: 0px;
}
a:hover
{
   
}

/**************** menu coding **************** http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp    */

#menu
{
    width: 100%;
    text-align: left;
    text-transform: lowercase;
    float: right;
    font-size: 1.3em;
    color: #666666;
}



#menu ul
{
    text-align: left;
    display: inline;
    margin: 0;
    padding: 15px 4px 17px 0;

}
#menu ul li
{
    display: inline-block;
    margin-right: -4px;
    position: relative;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 0em;
    background: #fff;
    cursor: pointer;
    background-image: url('../TreeImages/d.gif');
    background-repeat: no-repeat;
    background-position: 100% .6em;
    padding-right: 1.1em;
    vertical-align:middle;

    
}
#menu ul li:hover
{
    color: #fff;
}
#menu ul li ul
{
    padding: 0;
    position: absolute;
    top: 35px;
    left: 0;
    width: 150px;
    display: none;
    opacity: 0;
    visibility: hidden;
}
#menu ul li ul li
{
    display: block;
    color: #fff;
    padding-bottom: 5px;
    padding-top: 5px;
    
    background-image: none;
    z-index: 1;
    padding-left: 5px;
    background-color:lightgray;

}
#menu ul li ul li:hover
{
}
#menu ul li:hover ul
{
    display: block;
    opacity: 1;
    visibility: visible;
    
}

#menu ul li ul li ul
{
    padding: 0;
    position: absolute;
    top: 35px;
    left: 0;
    width: 150px;
    display: none;
    opacity: 0;
    visibility: hidden;
}
#menu ul li ul li ul li
{
    display: block;
    color: #fff;
    padding-bottom: 5px;
    padding-top: 5px;
    background-image: none;
    z-index: 1;
    padding-left: 5px;

    visibility: hidden;
     margin-left: 15px;
}
#menu ul li ul li:hover
{

    
}

#menu ul li ul li:hover ul li
{
    display: block;
    opacity: 1;
    visibility: visible;

    left: 100%;
    top:-35px;
    margin-left: 5px;
    background-color:lightgray;
}


/**************** end menu coding **********************/



h1
{
    font-size: 2em;
    line-height: 1.5em;
    font-weight: normal;
    text-transform: uppercase;
}

h2
{
    font-size: 1.8em;
    font-weight: normal;
    text-transform: uppercase;
    line-height: normal;
}
h3
{
    font-size: 1.3em;
    font-weight: normal;
    text-transform: uppercase;
    padding-top:10px;
    margin-top:5px;
    margin-bottom: 5px;
}
h4
{
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

h5
{
    font-weight: normal;
    text-transform: uppercase;
}



.notbold
{
    font-weight: normal;
}
#left hr
{
    width: 95%;
    color: #999999;
    float: left;
}
#right
{
    float: right;
    height: auto;
    width: 175px; /*color: #999999;*/
    text-align: right;
    padding-right: 10px;
}



#right hr
{
    width: 100%;
    color: #000000;
    float: right;
}





#search
{
    float: right;
    height: 35px;
    padding-top: 8px;
    padding-right: 5px;
    text-align: right;
    
}
#search a:link, #search a:visited, #search a:hover, #search a:active
{
    color: #000000;
}

#searchbutton
{
    float: right;
    height: 35px;
    width: auto;
    padding-top: 5px;
 
    
}
#searchbutton a:link, #searchbutton a:visited, #searchbutton a:hover, #searchbutton a:active
{
    color: #000000;
}
.whitetext
{
    font-weight: normal;
    color: #E6E6E6;
    float: left;
    height: auto;
    width: 100%;
    margin-top: 35px;
}
.bold
{
    font-weight: bold;
}

.red
{
    color: #FF0000;
}


#mainhome table,#mainhome th,#mainhome td,#mainhome tr,#mainhome tbody {
    border-collapse: collapse;padding: 0;margin:0;
    border:none;
  border-spacing: 0;
}


#mainhome  img {margin:0;padding:0;border:none;display:block;
}

#mainhome a {
    margin: 0;
    padding: 0;
    border: none;
}

@media screen and (max-width: 950px)
{

    #page
    {
        width: 100%;
    }

}


@media only screen and (max-width: 730px)
{

    /*#headertextarea
    {
        width: 100%;
        float: right;
    }

        #headerlogo
    {
        
        clear:both;
    }
        */

}

@media only screen and (min-width : 321px) and (max-width : 568px) /* smartphone (iPhone) landscape*/
{
    #header
    {
    }

        #headerlogo
    {
        
        clear:both;
    }
}

@media only screen and (max-width : 320px) /* smartphone (iPhone) portrait*/
{
    #headerlogo
    {
        /*background-size: 100%;*/
         clear:both;
    }


    #search
    {
        padding-top: 0px;
        height: auto;
        float: left;
        padding-right: 5px;
        text-align: right;
    }

    #searchbutton
    {
        padding-top: 0px;
        height: auto;
        float: right;
    }

    #searchbutton input
    {
        min-width: 70px;
        width: 50%;
    }

}

