﻿.searchform {
	display: inline-block;
	zoom: 1; /* ie7 hack for display:inline-block */
	  width:100%;
 padding-top:5%;
	margin-bottom:0px!important;
	 
 
}
.searchform input {
	font: normal 12px/100% optima,  'microsoft sans Serif', Arial, Helvetica, sans-serif;
	margin-left:4%;
	margin-top:10%;
}
.searchform .searchfield {
	background: #fff;
	padding: 6px 6px 6px 8px;
	width: 280px;
	border: solid 1px #E4E5E6;
	outline: none;

	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
	float:left;
	clear:none;

	 
}
.searchform .searchbutton {
	color: #000;
	border: solid 1px #494949;
	font-size: 10px;
	height: 30px;
	width: 30px;
	float:right;
	 text-align:left;
	 padding-left:7px;
	 
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;

	background: #E4E5E6;
	background: -webkit-gradient(linear, left top, left bottom, from(#E4E5E6), to(#EDEEEF));
	background: -moz-linear-gradient(top,  #E4E5E6),  #EDEEEF);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#E4E5E6', endColorstr='#EDEEEF'); /* ie7 */
	-ms-filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#E4E5E6', endColorstr='#EDEEEF'); /* ie8 */
}


.current{ background-color:#E4E5E6;}



.home-page{font: normal 15px optima,  'microsoft sans Serif', Arial, Helvetica, sans-serif;          
           
           }
.home-page img{ padding-left:5px;}
.home-page h4 
{
    font-size: 15px!important;
    font-weight: bold!important;
    width: 100%;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #AFAFAF;
    color: #4D4D4D !important;
    padding-bottom: 5px;
    
}
.home-page p
{
     font-size: 14px;
     line-height:1.3em;
    padding-top: 5px;
    color: #000!important;
}
.home-page readmore{ float:right; }


.footer
{
    display: block;
    width: 100%;
    border-top-color: #6D6E71;
    border-top-width: 1px;
    border-top-style: solid;
    font-size:13px;
     margin-top:3%;
    padding-top:1%;
    text-align: center;
    color:#6D6E71;
}



ul#css3menu1, ul#css3menu1 ul {
    margin: 0;
    list-style: none;
    padding: 0;
     
    border-width: 1px;
    border-style: none solid solid solid;
    border-color: #AFAFAF;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

ul#css3menu1 ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    
    background-color: #FFFFFF;
 
    
    border-color: #333333;
    padding: 0 10px 10px;
}

ul#css3menu1 li:hover>* {
    display: block;
}

ul#css3menu1 li {
    position: relative;
    display: block;
    white-space: nowrap;
    font-size: 0;
    float: left;
    
}

ul#css3menu1 li:hover {
    z-index: 1;
}

ul#css3menu1 {
    font-size: 0;
    width: 100%;
    z-index: 999;
    position: relative;
    display: inline-block;
    zoom: 1;
    padding: 0 0%;
    margin: 0 0%;
    /*display: inline;
     padding-right: 1.53%;*/
}

* html ul#css3menu1 li a {
    display: inline-block;
}

ul#css3menu1>li {
    margin: 0;
    width: 14%;
}

ul#css3menu1 li.toplast {
    width: 16%;
}

body:first-of-type ul#css3menu1 {
    display: inline-table;
    border-spacing: 0px 0;
}

body:first-of-type ul#css3menu1>li {
    display: table-cell;
    float: none;
}

ul#css3menu1 a:active, ul#css3menu1 a:focus {
    outline-style: none;
}

ul#css3menu1 a {
     
    
 
    
     display: block;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    font: normal 15px optima, Arial, Helvetica, sans-serif; /* change font size of menu 1pt=24px*/
    color: #4D4D4D;
    
    cursor: pointer;
  
    background-color: #ffffff;
    background-image: url("../images/mainbk.png");
    background-repeat: repeat;
    background-position: 0 0;
    border-width: 0 0 0 1px;
    border-style: solid;
    border-color: #AFAFAF;
    height:18px;/* change here for height of menu */
    margin-bottom:10px;
    
}

ul#css3menu1 ul li {
    float: none;
    margin: 10px 0 0;
}

ul#css3menu1 ul a {
    text-align: left;
    padding: 4px;
    background-color: #FFFFFF;
    background-image: none;
    border-width: 0;
    
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    font: 14px optima;
    color: #4D4D4D;
    text-decoration: none;
}

ul#css3menu1 li:hover > a, ul#css3menu1 li a.pressed
{
    /*  background-color: #8D8F8F;background color of menu */
  
    color: #4D4D4D;
     
  
    background-position: 0 100px;
    text-decoration: underline;
}

ul#css3menu1 span {
    display: block;
    overflow: visible;
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 0px;
}

ul#css3menu1 ul li:hover > a, ul#css3menu1 ul li a.pressed {
    background-color: #FFFFFF;
    background-image: none;
    color: #868686;
    text-decoration: none;
}

ul#css3menu1 li.topfirst > a 
{
    border-left-style:none;
    border-radius: 0px 0 0 0px;
    -moz-border-radius: 0px 0 0 0px;
    -webkit-border-radius: 0px;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
}

ul#css3menu1 li.toplast > a {
    border-radius: 0 0px 0px 0;
    -moz-border-radius: 0 0px 0px 0;
    -webkit-border-radius: 0;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
}

ul#css3menu1 > li:nth-child(2) {
    width: 17%;
}

ul#css3menu1>li:nth-child(7) {
    width: 13%;
}
@-moz-document url-prefix(){body:first-of-type ul#css3menu1{display:inline-block} body:first-of-type ul#css3menu1>li{display:block;float:left !important;}}
@media only screen and (max-width:458px),only screen and (max-device-width:458px){
ul#css3menu1>li:nth-child(1) {
    width: 23%;
}

ul#css3menu1>li:nth-child(2) {
    width: 29%;
}

ul#css3menu1>li:nth-child(3) {
    width: 24%;
}

ul#css3menu1>li:nth-child(4) {
    width: 24%;
}

ul#css3menu1>li:nth-child(5) {
    width: 33%;
}

ul#css3menu1>li:nth-child(6) {
    width: 33%;
}

ul#css3menu1>li:nth-child(7) {
    width: 34%;
}

body:first-of-type ul#css3menu1 {
    display: inline-block;
}

body:first-of-type ul#css3menu1>li {
    display: block;
    float: left !important;
}


}
@media only screen and (max-width:266px),only screen and (max-device-width:266px){
ul#css3menu1>li:nth-child(1) {
    width: 31%;
}

ul#css3menu1>li:nth-child(2) {
    width: 38%;
}

ul#css3menu1>li:nth-child(3) {
    width: 31%;
}

ul#css3menu1>li:nth-child(4) {
    width: 33%;
}

ul#css3menu1>li:nth-child(5) {
    width: 33%;
}

ul#css3menu1>li:nth-child(6) {
    width: 34%;
}

ul#css3menu1>li:nth-child(7) {
    width: 100%;
}


}
@media only screen and (max-width:202px),only screen and (max-device-width:202px){
ul#css3menu1>li:nth-child(1) {
    width: 45%;
}

ul#css3menu1>li:nth-child(2) {
    width: 55%;
}

ul#css3menu1>li:nth-child(3) {
    width: 50%;
}

ul#css3menu1>li:nth-child(4) {
    width: 50%;
}

ul#css3menu1>li:nth-child(5) {
    width: 50%;
}

ul#css3menu1>li:nth-child(6) {
    width: 50%;
}

ul#css3menu1>li:nth-child(7) {
    width: 100%;
}
}
