﻿
body {
    font-family: "Verdana", sans-serif;
    font-size: 16px;
    margin: 0;
    background-color: #fefefe;
    color: #4d4949;
}

html {
height:102%;
margin-bottom: 2px
}


#wrap {
    margin: 0 auto;
    max-width: 1000px;
    padding: 10px;
    background-color: #ffffff;
    color: #4d4949;
}

#newswrap {
    width: 100%;
    padding: 0px;
    margin-right:0px;
    background-color: #ffffff;
    color: #4d4949;
}

#newswrap a:hover {
	color: #fc8947;
}

img {
    max-width: 100%;
}

h1 {
        color: #666666;
        font-size: 1.8em;
        margin-top: 0;
        margin-bottom: 10px;
       
   }

h2 {        
        font-size: 1.0em;
        margin-top: 8px;
        margin-bottom: 0;
       
   }

h3 {
        font-size: 1.0em;     
        
   }

h4 {
    font-size: 1.0em;
    padding-left: 0;
}


ul {
        list-style: none;
        padding-left: 10px;
        margin-left: 10px;
        text-align: left;
    }

li {
        list-style: circle;
        padding-left: 10px;
        margin-left: 20px;
        text-align: left;     
     }

a {
	color: #0b60ce;
	text-decoration : none;
}

a:link {
	color: #0b60ce;
	text-decoration : none;
}

a:visited {
	color: #0b60ce;
	text-decoration: none;
}

a:hover {
	color: #fc8947;
}

a.email::before {
    content: url(../images/mailcurvygreen25.png);
    padding-right: 0.3em;
    text-decoration: none;
}

a.telephone::before {
    content: url(../images/smartphone-green25.png);
    padding-right: 0.3em;
    text-decoration: none;
}


a.facebook::before {
    content: url(../images/facebook-icon.png);
    padding-right: 0.3em;
}


.address {
    font-style: normal;
}


#header {
    clear: both;
    margin: 0 auto;
    width:100%;
}



#topbg {
    height: 200px;
    background-color: #ffffff;
    background-image: url("../images/clouds1700x350.jpg");   
    background-repeat: no-repeat;
    background-position: center; 
}

#top {
    width:100%;
    margin-top: 10px;
    overflow:hidden;
}

#topbox {
    clear: both;
    margin: 0 auto;
    margin-bottom: 0px;
    min-height: 50px;
}

#strapbox {
    color: #ffffff;
    text-align: center;
    width:100%;
    float: left;
    padding: 3px;
    margin-top: 20px;
    margin-bottom: 10px;
    overflow:hidden;
}

#strapbox h2 {
    color: #ffffff;
    font-size: 1.2em; 
}

#logobox  {
    float: left;
    width: 55%;  
    padding: 0px;
    padding-left: 10px;
    text-align: left;
}

#logobox h1 {
    color: #ffffff;
    font-size: 2.8em;
    margin-top: 0;
    margin-bottom: 10px;
}

#contactbox {
    float: right;
    width: 43%;  
    padding-right: 10px;
    text-align: right;    
}

#contactbox p {   
    color: #ffffff;    
}

#contactbox a:hover {   
        color: #fc8947;    
}


#photobox  {
    width:25%;
    float: right;
    padding-right: 0px;
    margin-bottom: 5px;
    margin-right: 10px;
}

.photo  {
    float: right;
    border-style: solid;
    border-width: 5px;
    border-color: #eeeeee;
    border-radius: 20px;
    margin-left: 5px;
}

.accred {  
   float: left;
   width: 40%;
   padding-right: 5px;
   font-weight: bold;
}

/*Front page nav*/

.gridbox {
    clear: both;
    margin: 0 auto;
    /* margin-top: 150px; */
    padding: 0;
    float: left;
}

.gridmenu {
    width: 100%; 
    margin: 0px;
    padding: 0px;
    background-color: #7199D4;   
}

.menuitem {
    float: left;
    width: 120px;
    height: 40px;
    margin: 0px;
    padding: 2px;
    cursor: auto;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    background-color: #7199D4;
}

.menuitem a:link {
    display: inline-block;
    color: #ffffff;
	text-decoration : none; 
}

.menuitem a:visited {
    display: inline-block;
    color: #ffffff;
	text-decoration: none;
}

.menuitem a:hover {
    display: inline-block;
    color:#fc8947;
    text-decoration: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {  
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 45px;
    min-width: 200px;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 0px;
    z-index: 5;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 5px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #fc8947
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .menuitem {
    color: #fc8947;
    background-color:  #f1f1f1;
}

.dropdown:hover .menuitem a {
    color: #0b60ce;
    background-color:  #f1f1f1;
}

.dropdown:hover .menuitem a:hover {
    color: #fc8947;
    background-color:  #f1f1f1;
}

.bottomnav ul {    
    display: inline;
    list-style: none;
    padding: 0;
}

    .nav ul li {        
        padding: 0 1em 0 1em;
    }


.footer {
    clear: both;    
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    overflow:hidden;
}

.footer h1 {
    text-align: center;
    font-size: 1.2em;
    line-height: 0.8em;
    margin-bottom: 0px;
}

.footer a:hover {
	color: #fc8947;
}

#memberships {
    width: 100%;
    margin: 0;
    overflow:hidden;
}

.membershiplogos  {
    float: left;
    width: 45%;
    margin-left: 2%;
    margin-right: 2%;
    padding: 0%;
    background-color: #eeeeff;
    border-radius: 20px;
}   

.blockitem {
    display: block;
    *display: block;
	height: auto;
}

.clear { clear: both; }

#page a:hover {
	color: #fc8947;
    font-style: bold;
}

#page-content {
    padding: 0px;
    padding-right:10px;
    padding-left: 10px;
    float: left;
    width: 60%;
    max-width:1000px;
    min-height:300px;
    margin-top: 15px;
    margin-bottom:15px;
    overflow:hidden;  
}

#page-content a, a:link, a:visited {
     color: #0b60ce;
     text-decoration : none;
}

#page-content a:hover {
	color: #fc8947;
    font-style: bold;
}

#page-content h1 {
        color: #666666;
        font-size: 2em;
        margin-top: 0;
        margin-bottom: 3px;
}

#page-content h2  {
        font-size: 1.5em;
        margin-top: 10px;
        margin-bottom: 3px;
}

#rightsection {
    display: block;
    float:right;
    width: 20%;
    min-width: 300px;
	text-align: left;
	margin-right: 0px;
}

#rightpanel {
    display: block;
    float:right;
    text-align: left;
    min-width: 250px;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: #fefefe;
	padding-right: 5px;
	padding-left: 5px;
	padding-top:5px;
	padding-bottom:5px;
	border-style:solid;
	border-width:2px;
	border-color: #bbbbbb;
	border-radius: 5px
}

#rightpanel img{
    width: 100%
}


#rightpanelnews {
    display: block;
    float:right;
    min-height: 300px;
	text-align: left;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 5px;
	padding-left: 5px;
	padding-top: 5px;
    padding-bottom: 5px;
    border-style:solid;
	border-width:2px;
    border-color: #bbbbbb;
    border-radius: 5px;
    background-color: #fefefe;
}

#rightpanelnews  h2, h3 {
    color:  #666666
}


#rightpanelcontact {
    display: block;    
    float:right;
    min-height: 350px;
	text-align: left;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-right: 0px;
	padding-left: 5px;
	padding-top: 5px;
    padding-bottom: 5px;
    border-style:solid;
	border-width:2px;
    border-color: #bbbbbb;
    border-radius: 5px;
    background-color: #fefefe;
}

#rightpanelcontact  h2, h3 {
    color:  #666666
}


.clear {
    clear: both; 
}

.flashblock {
    clear: both;    
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

/* footer nav panels */

.navpanel {
    float:left;
    width: 17.5%;
	min-width: 150px;
    height: 270px;
    font-size: 0.8em;
	text-align: left;
    margin-left: 0.6%;
    margin-right: 0.6%;
    margin-bottom: 10px;
    color: #ffffff;
	background-color: rgb(167, 205, 241);
	padding-right: 5px;
	padding-left: 5px;
	padding-top: 3px;
	padding-bottom: 5px;
	border-style: solid;
	border-width: 1px;
	border-color:rgb(10, 1, 130);
	border-radius: 5px
}

.navpanel a:link {
	color: #fdebb9;
}

.navpanel a:hover {
	color: #fc8947;
}


.navpanel h3 {
    color: #ffffff;
    font-size: 1em;
    height: 32px;
}
.rightlink  {
    text-align: right;
    font-style: italic;
}

.navpaneltext{
    height: 220px;
}
.navpanelmore {
    text-align: right;
    font-style: italic;
}

/* end footer navblocks */

.flashblock {
    clear: both;    
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

.flashblock a:hover {
	color: #0000ff;
}
.flashpanel {
    float:left;
    width: 30%;
	min-width: 260px;
	height:200px;
	text-align: left;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 10px;
	background-color: #eeeeee;
	padding-right: 5px;
	padding-left: 5px;
	padding-top:5px;
	padding-bottom:5px;
	border-style:solid;
	border-width:1px;
	border-color: rgb(215,225,215);
	border-radius: 5px
}

.blue {
    background-color: #c5d5ec;
}

.green {
    background-color: #b4f3b7;
}



table, td, th {
    padding: 10px;
    border-bottom: 1px solid #ffffff;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    min-height: 50px;
    text-align: left;
}

tr:hover {
    background-color: #557788
}

/* Contact form styling */

label {display:block;}
input {display:block;}

.contactdetails {width: 100%; margin: 0px; font-size: 14px;}
.contactdetails label {text-align: left; float: left; width: 200px; padding: 2px; margin-bottom: 5px;}
.contactdetails input {text-align: left; float: left; width: 200px; padding: 2px; margin-bottom: 5px; background: #ffffff; border: 1px #333333 solid; }


.commentarea {text-align: left; float: left; width: 90%; padding: 0px; margin-bottom: 5px;}
.commentarea textarea {text-align: left; float: left; width: 90%; max-width: 500px; padding: 0px; background: #ffffff; border: 1px #333333 solid; }

.mandatory {color: red;}

.submitbutton2 {float: left; padding-left: 3px; }
.submitbutton2 input {float: left; text-align: center; color: #eeeeee; font-size: 22px; margin: 10px auto 0 auto; width: 80px; background: #58889e; border: 1px #677847 solid; padding: 5px; }
.submitbutton2 input:hover { color: #fff; cursor:pointer; }
.submitbutton2 input:active {color: #231f69; }

input.largerCheckbox {
width: 20px;
height: 20px;
background: #ffffff;
float: left;
}

#type2 { width: 100%; margin: 0 0 10px 0; }
#type2 label {float: left; padding-left: 3px; padding-right: 3px;}
#type2 input {float: left; width: 50px; margin: 5px; padding: 3px; background: #ffffff; border: 1px #333333 solid; }

#typeimg2 {float: left; width: 50px; height: 50px; margin: 3px; padding: 0;}


/* End of Contact form styling */


/* @media only screen and (min-width: 699px) and (max-width: 800px) {

    

    #contactbox {       
        font-size: 0.8em;        
      }

      a.email::before {
        content: url(../images/mailcurvygreen25.png);
        padding-right: 0.3em;
        font-size: 0.8em;
        text-decoration: none;
    }
    
    a.telephone::before {
        content: url(../images/smartphone-green25.png);
        padding-right: 0.3em;
        font-size: 0.8em;
        text-decoration: none;
    }
    
    
    a.facebook::before {
        content: url(../images/facebook-icon.png);
        padding-right: 0.3em;
        font-size: 0.8em;
    }

    .navpanel {
        margin: 0 auto;
        width: 96.4%;
        height: 220px;
        font-size: 1.0em;
        margin-bottom:10px;
    
    }
    .navpaneltext{
        height: 160px;
    }

    .navpanelmore {
        text-align: right;
        font-style: italic;
    }
     
} */

@media only screen and (max-width: 940px) {
    

#newswrap {
    width: 100%;
    padding: 5px;
    background-color: #ffffff;
    color: #4d4949;
    }

    h1 {
    font-size: 1.5em;
    margin-top: 0px;
    margin-bottom: 5px;
    }

    h2 {
    font-size: 1.2em;   
    }

    /*Front page nav*/
  
  #navarea  {
    height: 0;
    visibility: hidden;
}
 

.hamburger {
    padding: 15px;
    padding-bottom: 5px;
    padding-top: 20px;
    float: left;
  }

  .menutext {
    padding: 15px;
    padding-bottom: 0px;
    padding-top: 30px;
  }

  .line {
    border-bottom: 3px solid #000000;
    width: 25px;
    margin-bottom: 6px;
  }
  
  .line:last-child {
    margin-bottom: 0;
  }

 
  #topbox {
    clear: both;
    float: none;
    margin: 0 auto;
    margin-bottom: 5px;
    width: 100%;

  }

  #logobox {
    clear: both;
    float: none;
    margin: 0 auto;
    width: 100%;
    padding: 0px;
    margin: 10px;
    overflow: hidden;
}

  #strapbox {
    clear: both;
    float: none;
    font-size: 1em;
    margin: 0 auto;
    width:100%;    
  }

  #contactbox {
    clear: both;
    float: none;
    margin: 0 auto;
    font-size: 1em;
    text-align: center;    
    width:100%; 
  }

#photobox  {
    width:100%;
    clear: both;
    float: none;
    margin: 0 auto;
    padding: 0px;
    text-align: center;
    margin-bottom: 5px;
    overflow: hidden;
}

.photo {
    clear: both;
    float: none;   
}

#page-content {
    padding: 0px;
    width: 100%;
    margin-top: 0px;
 }
         
#page-content h1 {
        font-size: 1.5em;
        line-height: 1.5em;
     }

#page-content h2  {
        font-size: 1.2em;
        margin-top: 10px;
        margin-bottom: 3px;
}

#rightsection {
    display: block;
    float:right;
    width: 98%;
	text-align: left;
	margin-right: 0px;
}

#rightpanel {
    clear: both;
    float: none;  
    text-align: left;
    width: 96.4%;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    border-color:#215199;
    background-color: #fdebb9;
    overflow:hidden;
}
    
#rightpanelnews {
    clear: both;
    float: none;  
    text-align: left;
    width: 96.4%;
    margin-top: 10px;
	margin-bottom: 10px;
}

#rightpanelcontact {
    clear: both;
    float: none;  
    text-align: left;
    width: 96.4%;
    margin-top: 10px;
	margin-bottom: 10px;
}


.gridbox {
    clear: both;
    margin: 0 auto;
    margin-top:10px;
    margin-bottom:10px; 
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.3s linear;
}


.gridboxhome {
    clear: both;
    margin: 0 auto;
    margin-top:10px; 
    margin-bottom:10px;
    padding: 0;
    height: 355px;
    overflow: hidden;
    transition: height 0.3s linear;
}

       
    .gridmenu {
        width: 100%; 
    }

    .dropdown {  
        display: inline-block;
        width: 100%;
    }
    
    .dropdown-content {
        width: 70%;
        float: right;
        margin-left: 130px;
        margin-top: -10px;
    }

    .menuitem {
        display: block;
        margin: 0;
        margin-bottom: 3px;
        padding-left: 15px;
        width: 95%;
        max-height:30px;
        line-height: 30px;
        text-align: left;
        cursor: pointer;
    }

    .menuitem a:hover {
    display: inline block;
    padding-top: 0;
    padding-bottom: 0;
	text-decoration : none;
}
  
    .slide-down {
    height: 100px;
  }

.membershiplogos  {
    float: none;
    width: 90%;
    padding: 0%;
    background-color: #eeeeff;
    border-radius: 20px;
}

.navpanel {
    margin: 0 auto;
    width: 96.4%;
    height: 200px;
    font-size: 1.0em;
    margin-bottom:10px;

}

.navpaneltext{
    height: 140px;
}
.navpanelmore {
    text-align: right;
    font-style: italic;
}

}
       
/*end of max 700px code*/

  
     


@media only screen and (min-width: 501px) {
    #gridhome {
        height: 0;
    }
}

@media only screen and (max-width: 501px) {
    .navpanel {
       height: 200px;
    }
}
