/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ===== Use this file to add custom CSS easily ================================================ */


@font-face {
font-family: 'Gill';
src: url(../../../css/fonts/GillSansStd.otf);
}
@font-face {
font-family: 'Gill-Light';
src: url(../../../css/fonts/GillSansStd-Light.otf);
}



.uk-panel, .uk-panel:hover {  text-decoration: none; padding:0px; }
.uk-article > :last-child {   margin-bottom: 0; padding:10px;}
.uk-navbar-toggle {  font-size: 15px;  color: #FFFFFF;  text-decoration: none; } /* #686859 by Ed */


/* .uk-grid { background:#ffffff; } to remove white homepage block by Ed */

a, .uk-link {  color: #004c66;  text-decoration: none;  cursor: pointer; }
a:hover, .uk-link {  color: #000000;  text-decoration: none;  cursor: pointer; }

nav {    position: relative;   height: 145px; }

em { color: inherit; }

.uk-panel-box, .uk-panel-box-tertiary { padding:0px; margin 0px auto; text-align:center;min-height:200px;  }

/* .tm-bottom-c {  padding: 0;  margin: -30px 0 -30px -10%; }
.tm-block-primary {	background:none;	border: 0px solid #087F93;	width: 100.01%;	margin-left: -6px; } */

/* .tm-content {	border-radius: 0px;	background: #FFFFFF;	padding: 20px; } */

body { font-size:14px;line-height:155%; font-weight:400;}

 .tm-block-dark {
	height: 100%;
	background-image:url(../../../../../../images/siteGraphics/bottom-line.png);
	background-repeat: repeat-x; background: #004c66; border-top: solid 4px; border-color:#ffffff;
} 



@supports (-webkit-appearance:none) {
    .homepage-message { width: auto; 
	height: auto;  margin: 0px 70px 100px 0px; }
} 

/* -- main area background image -- */
.tm-block-default {
	/* background-image:url(../../../../../../images/siteGraphics/homepage-bg.jpg); */
	/* background-size: cover; */	height: 0px; } 




/* -- increase text area on phones --  */
@media only screen and (max-width: 667px) {
	.tm-content { margin: 0 -55px; }
	.tm-block {	padding: 0 30px !important; }
	.tm-block-default {	min-height: 40px; }
}



  
  
 select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
background: white !important;
border-color: black !important;
}
  

.tm-noblog > .tm-block-full-width > .uk-container {
max-width: none !important;
padding: 0 !important;
}


.btn-primary, .btn-info, .btn-inverse {
border-color: black;
color: black;
}

.btn-primary:hover, .btn-info:hover, .btn-inverse:hover {
background-color: black;
}

.bfQuickMode .controls .control-label {  width: 35%;  min-width: 110px;  vertical-align: text-top; font-size: 14px; font-family: 'Open Sans';}

.tm-block-divider.tm-block-default:before, .tm-block-divider.tm-block-dark:before, .tm-block-divider.tm-block-primary:before {
  background-image: none;}

/* -- styling to position map on Contact Us page -- */
.contact-float {
	float: left;
	margin-right: 20px;
}
@media only screen and (max-width: 667px) {
  .contact-float {
	float: none;
	margin-right: 0px;
  }
}








.uk-navbar-nav > li > a { display: block;  box-sizing: border-box;  text-decoration: none;
    height: 100px; padding: 0 18px; line-height: 100px;  color: #ffffff;
    font-size: 14px;
    font-family: 'Gill'; font-size: 20px;
    font-weight: normal; letter-spacing:1px;
}

.uk-navbar-nav > li > a:hover { color: #ebebeb; }
.uk-navbar-nav > li > a:focus { color: #ebebeb; }

/* -- edits to swap mobile menu earlier -- */
@media (max-width:900px /* was: 1250px */ ) {  

    .tm-navbar .uk-visible-small {   
    display: block !important; padding-left:15px;  
    }  

    .tm-headerbar.uk-hidden-small,  
    .tm-navbar .uk-hidden-small,  
    .tm-toolbar.uk-hidden-small {   
    display: none !important;   
    }  

    .tm-navbar { padding: 0 15px; }  
    .tm-page-bg > .uk-container > .tm-container { margin: 20px 0; }  
    .tm-logo-small img { margin-top: -10px; }  
    .uk-float-right .tm-social-icon-buttons { margin-right: 0; }  
    .uk-navbar-toggle.uk-visible-small { padding-left: 0; color:#ffffff; }  
}  

h1, .uk-h1 {  font-size: 30px; line-height: 150%; font-family: 'Gill';}

h3, .uk-h3 {    font-size: 18px;    line-height: 155%;  }

/* h1 {   font-family: 'VAG-light'; }  */


li, dt, dd {
    line-height: 155%;
}



.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show {
    -webkit-transform: translateX(0%);
    transform: translateX(0%); text-align:left;
}

.uk-nav.uk-nav-offcanvas > li.uk-active > a {
    background: #004c66;
    color: #ffffff;
}

/* main menu hover colour ===============  */

/* .tm-navbar { background-image: url("../../../images/nav-back.png"); background-repeat: repeat-x; } */

.uk-navbar-nav {	margin: 42px -20px 0 0; }
.uk-navbar {   background: #004c66; color: #ffffff; background-image: url("../../../../../../images/nav-back.png");}
.uk-navbar-nav > li.uk-active > a {   background:none;   color: #ffffff; }
.uk-nav-navbar > li > a:hover {   background:none;   color: #ffffff; }



.uk-navbar-nav > li.uk-active > a {   background-color: none;   color: #ffffff; }

.uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a:focus, .uk-navbar-nav > li.uk-open > a {
    background-color: #004c66;
    color: #ffffff;  outline: none;
}

/* drop down styles  ==== */

.uk-dropdown-navbar a {    background-color: #004c66; color:#ffffff; }
.uk-dropdown-navbar > li:hover > a {    color: #09897e;  background-color:#ff0000;}
.uk-navbar-nav > li > ul > li:hover > a  { background-color:#004c66; color:#0a87b2; }

.uk-nav-navbar > li > a:hover, .uk-nav-navbar > li > a:focus { background: #333333; color: #0a87b2; }

.uk-navbar-nav > li > a:before {
    position: absolute;  content: '';  height: 8px;  width: 100%;
    background: none;
    margin-left: -15px;  opacity: 0; bottom: 0; }

.uk-nav-navbar > li > a:hover, .uk-nav-navbar > li > a:focus { background: #004c66; color: #0a87b2; }

.uk-dropdown-navbar {
    margin-top: 0;
    background: #004c66;
    color: #ffffff;
}

/* mobile menu ==== */

html .uk-nav.uk-nav-offcanvas > li.uk-active > a {
    background: #004c66;
    color: #ffffff;
}



/* for side menu...  */
.tm-sidebar-a   { margin-top:0px;background:#ebebeb; padding:30px 9px 9px 9px; }


.uk-nav-side > li.uk-active > a {
    background: #b79a32;
    color: #ffffff;
}
.uk-dropdown-navbar {   margin-top: 0;  background: #004c66;   color: #ffffff; }
.uk-dropdown-navbar a:hover {   margin-top: 0;  background: #004c66;   color: #b79a32;}


.uk-nav.uk-nav-offcanvas > li.uk-active > a {
    background: #004c66;
    color: #ffffff;
}


h4 { padding:7px 7px 7px 2px; color:#004c66; font-family: 'Gill'; }

.homelinks  { background:#b79a32;padding-left:7px; margin-bottom:8px;}
.homelinkstext  { color:#ffffff; font-family: 'Gill'; line-height:150%;}


.tm-block-default {
 background: none; height: 260px;
}

@media (max-width:480px) {
.tm-block-default { background: none; height: 150px; }
}
@media (min-width:769px) {
.tm-block-default { background: none; height: 160px; }
}

@media (min-width:1261px) {
.tm-block-default { background: none; height: 260px; }
}

@media (min-width:1648px) {
.tm-block-default { background: none; height: 310px; }
}

@media (min-width:1850px) {
.tm-block-default { background: none; height: 340px; }
}


