@import 'https://fonts.googleapis.com/css?family=Oswald:300,400,700';
/* ========================================================================
   Custom CSS for Complete Home Control
 ========================================================================== */

/*
 * Styles taken from editor.css
 ========================================================================== */
.news .tm-content img {
	float: right;
	margin-left: 10px;
	padding: 6px;
	border: 3px solid #33393E;
	border-radius: 4px;
	background-color: #676565;
}
.uk-article img {
	padding: 6px;
	border: 3px solid #33393E;
	border-radius: 4px;
	background-color: #676565;
}

.img-right,
.news .tm-content .img-right {
	float: right;
	margin-left: 10px;
	margin-right: 0px;
}

.img-left,
.news .tm-content .img-left {
	float: left;
	margin-right: 10px;
	margin-left: 0px;
}
.img-centre,
.news .tm-content .img-centre {
	float:none;
	margin-left: auto;
	margin-right: auto;
}

.highlight, .uk-article-title {color: #FB5300;}

/*
 * Now for the good stuff
 ========================================================================== */

a:hover, .uk-link:hover {
  text-decoration: none;
}
.tm-fullscreen {
background: url('/images/default/background-chc3.jpg') 50% 50% no-repeat;
background-size: cover;
}

.tm-fullscreen-container .tm-fullscreen .uk-panel p {
  color: #F4F4F4;
}

.tm-logo-small > img {
	min-height: 62px;
	margin-top: -11px;
}

.tm-nite-icons>li {
	min-width: 176px;
}

ul.tm-nite-icons > li > a > span.uk-icon-home {
	font-size: 75px;
}
ul.tm-nite-icons p > a {
	text-transform: uppercase;
	text-decoration: none;
	font-size: 160%;
	color: #FFF;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	letter-spacing:2px;
}
ul.tm-nite-icons p > a:hover {
	text-decoration: none;
	color: #FB5300;
	-moz-transition: all .2s ease-in;
	-o-transition: all .2s ease-in;
	-webkit-transition: all .2s ease-in;
	transition: all .2s ease-in;
}
@media (max-width: 768px){
ul.tm-nite-icons > li > a > span.uk-icon-home {
	font-size: 54px;
}
	/** .tm-fullscreen-container,
	.tm-fullscreen {
		height: 100%;
	}
	.tm-fullscreen-container .tm-fullscreen > div > div {
		display: table-cell;
		vertical-align: middle;
	} **/

}

@media (max-width: 480px){
	ul.tm-nite-icons p > a {
	  font-size: 120%;
	}
	.tm-fullscreen-container .tm-fullscreen .uk-panel p {
	  margin: 5px;
	  padding: 10px 8px;
	}
}
p.uk-article-meta {
	color: #F1F6FA;
}

/* Article date
 ========================================================================== */
.news h1 { margin-top: 0px; }

.uk-article .tm-article-date {
  float: left;
  max-width: 80px;
  margin-top: 0;
  margin-right: 8px;
  padding-right: 8px;
  border-right: 2px solid rgba(0, 0, 0, 0.08);
  color: #959696;
}
.uk-article .tm-article-date .tm-article-date-day {
  display: block;
  font-size: 15px;
}
.uk-article .tm-article-date .tm-article-date-year {
  display: block;
  font-size: 22px;
}

/* 
  WIDGETKIT (Twitter)
 ========================================================================== */
.wk-twitter-single.image {
	min-height: 60px;
	padding-left: 80px;
	background: url('/images/default/icon-twitter-bird.png') 0 50% no-repeat;
}
.tm-block-top-a.tm-block-primary {
	border-image: url("/images/default/primary_bottom.svg") 15 15 10 15 round;
}
.tm-block-top-a:before {
	content: " ";
	position: absolute;
	z-index: -1;
	top: -5px;
	left:0;
	right:0;
	border-image: url("/images/default/primary_top_light.svg") 15 15 10 15 round;
	border-width:15px 0 0 0;
	border-image-width: 15px 0px 0px 0px;
	min-height:10px;
}

.tm-block-primary {
	background: #ff8952;
	background: -moz-linear-gradient(top, #ff8952 0%, #ff7e42 15%, #fb5400 29%, #fb5400 49%, #fb5400 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, #ff8952), color-stop(15%, #ff7e42), color-stop(29%, #fb5400), color-stop(49%, #fb5400), color-stop(100%, #fb5400));
	background: -webkit-linear-gradient(top, #ff8952 0%, #ff7e42 15%, #fb5400 29%, #fb5400 49%, #fb5400 100%);
	background: -o-linear-gradient(top, #ff8952 0%, #ff7e42 15%, #fb5400 29%, #fb5400 49%, #fb5400 100%);
	background: -ms-linear-gradient(top, #ff8952 0%, #ff7e42 15%, #fb5400 29%, #fb5400 49%, #fb5400 100%);
	background: linear-gradient(to bottom, #ff8952 0%, #ff7e42 15%, #fb5400 29%, #fb5400 49%, #fb5400 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8952', endColorstr='#fb5400', GradientType=0 );
}
.tm-block-primary-dark {
	background: #eb8657;
	background: -moz-linear-gradient(top, #eb8657 0%, #d67446 15%, #d55211 29%, #d55211 49%, #d55211 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, #eb8657), color-stop(15%, #d67446), color-stop(29%, #d55211), color-stop(49%, #d55211), color-stop(100%, #d55211));
	background: -webkit-linear-gradient(top, #eb8657 0%, #d67446 15%, #d55211 29%, #d55211 49%, #d55211 100%);
	background: -o-linear-gradient(top, #eb8657 0%, #d67446 15%, #d55211 29%, #d55211 49%, #d55211 100%);
	background: -ms-linear-gradient(top, #eb8657 0%, #d67446 15%, #d55211 29%, #d55211 49%, #d55211 100%);
	background: linear-gradient(to bottom, #eb8657 0%, #d67446 15%, #d55211 29%, #d55211 49%, #d55211 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eb8657', endColorstr='#d55211', GradientType=0 );
}
.tm-primary .uk-panel-box {
	background: inherit;
}

.tm-block-bottom-b.tm-block-primary-dark {
border-image: url("/images/default/primary_dark_bottom.svg") 15 15 10 15 round;
}

.tm-block-bottom-b:before {
	content: " ";
	position: absolute;
	z-index: -1;
	top: -5px;
	left:0;
	right:0;
	border-image: url("/images/default/primary_top_dark.svg") 15 15 10 15 round;
	border-width:15px 0 0 0;
	border-image-width: 15px 0px 0px 0px;
	min-height:10px;
}

a.uk-display-block.cedia-winner:before, a.uk-display-block.cedia-finalist:before {
	content: "";
	position: absolute;
	top: 60%;
	left: 70%;
	width: 135px;
	height: 90px;
	margin-top: -5px;
	margin-left: -5px;
	background-size: 135px 90px;
}
a.uk-display-block.cedia-finalist:before {
	background-image: url('/images/default/cedia-award-finalist.png');
}
a.uk-display-block.cedia-winner:before {
	background-image: url('/images/default/cedia-award-winner.png');
}

/* 
  Custom Page Navigation Plugin
 ========================================================================== */

.pagenav-prev,
.pagenav-next {
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    border: none;
    line-height: 35px;
    min-height: 35px;
    font-size: 1rem;
    padding: 3px 10px 0 10px;
    background: inherit;
    color: #f7f7f7;
    border-radius: 7px;
    background-position: 0 0;
    background-repeat: repeat;
    transition: all 0.1s ease-in-out;
}
.pagenav-mid { padding: 3px 20px 0 20px }
.pagenav-prev:hover,
.pagenav-next:hover,
.pagenav-prev:focus,
.pagenav-next:focus {
    background-color: #262A2E;
    outline: none;
    text-decoration: none;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.6) inset;
}
.pagenav-prev:active,
.pagenav-next:active { background-color: #262A2E }
.pagenav-prev a:hover,
.pagenav-next a:hover,
.pagenav-prev a:focus,
.pagenav-next a:focus { color: #fff !important }
div#custompagenav { display: inline-block }
div ul.pagenav {
    display: block;
    float: right;
    margin-left: 10px;
}
ul.pagenav
li { display: inline-block }
ul.pagenav li
img {
    margin: 0px;
    padding: 0px;
    background-color: inherit;
    border: none;
    position: relative;
}
ul.pagenav li a
span {
    display: inline-block;
    max-width: 90px;
    ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
ul.pagenav li a
span { line-height: 28px }
li.pagenav-prev {
    margin-right: 10px;
    float: left;
}
div#custompagenav a.uk-button {
    line-height: 25px;
    min-height: 25px;
    max-height: 29px;
    padding: 2px 10px;
}
div#custompagenav .pagenav-prev img { float: left }


table#menu_jform_articletext_jform_articletext_formatselect_menu_tbl, .mobileSkin .mceMenu table {
	background-color: #2B3034 !important;
}

/* 
  Component - OS Map
 ========================================================================== */
@media(max-width:768px) {
	#osmap > div {
		width: 50% !important;
		margin-top: 20px;
	}
}
@media(max-width:480px) {
	#osmap > div {
		width: 100% !important;
		margin-top: 20px;
	}
	#osmap > div h2 {
		margin-bottom: 5px;
	}
}


.news .uk-article {
  background-color: #262A2E; /* #1F252A; */
padding: 20px;
}
@media (min-width: 767px) {
.news .uk-article {
  padding: 40px;
}
}

/* 
  Fox Contact Component
 ========================================================================== */

/* Ensure all the inputs stretch full width */
.uk-form input:not([class*='uk-form-width-']):not([class*='uk-width-']):not([type="radio"]):not([type="checkbox"]), 
.uk-form select:not([class*='uk-form-width-']):not([class*='uk-width-']), 
.uk-form textarea:not([class*='uk-form-width-']):not([class*='uk-width-']),
.uk-form .controls
{
    width: 100% !important;
	min-width: 100% !important;
}
/* Dropdown select field matches the other input styles */
.chzn-container {
  font-size: 16px;
}
.chzn-container-single .chzn-single {
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #d0d1d2), color-stop(100%, #d0d1d2))  !important;
    background-image: -webkit-linear-gradient(top, #d0d1d2 20%, #d0d1d2 100%) !important;
    background-image: -moz-linear-gradient(top, #d0d1d2 20%, #d0d1d2 100%) !important;
    background-image: -o-linear-gradient(top, #d0d1d2 20%, #d0d1d2 100%) !important;
    background-image: -ms-linear-gradient(top, #d0d1d2 20%, #d0d1d2 100%) !important;
    background-image: linear-gradient(top, #d0d1d2 20%, #d0d1d2 100%) !important;
    color: #555555 !important;
    background-color: #d0d1d2 !important;
    border: 2px solid #000 !important;
    border-radius: 2px !important;
    height: 30px !important;
}
/* 
  Mod Responsive Article Scroller - Services
 ========================================================================== */
.rsca-retro-dark, .rsca-details {
	background: inherit;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: none;
	padding-top: 10px !important;
}

.uk-panel.services-article {
	margin-top: 0px !important;
}

.rsca-title h4, .rsca-retro-dark .rsca-details a {
	margin: 0 0 20px 100px;
	font-family: 'Roboto Condensed';
	font-weight: 300;
	color: #FB5300;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 38px;
	line-height: 44px;
}

.rsca-retro-dark .rsca-details .rsca-intro-outer p, .rsca-retro-dark .rsca-details .rsca-intro-outer span
{
	color: #858B92;
	font-size: 16px;
	font-weight: 100;
	line-height: 22px;
	margin-bottom: 20px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
}
.rsca .owl-controls {
	text-align:right;
	top: 10px;
	position: absolute;
	box-sizing: border-box;
	margin-left: 40px;
}

'/* Styling Next and Prev buttons */

.rsca .owl-controls .owl-buttons {
	display: block;
	background: none;
}

.owl-pagination {
	margin-top:-45px;
	padding-bottom: 10px;
	border-bottom: 1px solid #33393E;
}

.owl-controls .owl-buttons > div {
	position:absolute;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.owl-controls .owl-buttons .owl-prev {
	background-image: url("/media/widgetkit/widgets/gallery/styles/glass/images/buttons.png") !important;
	background-position: 0 -155px !important;
	background-repeat: no-repeat;
	background-size:35px !important;
	background-color: rgba(255, 255, 255, 0) !important;
	color:transparent !important;
	width: 35px;
	height: 35px;
	position: relative;
	right: 20px;
}

.owl-controls .owl-buttons .owl-next {
	background-image: url("/media/widgetkit/widgets/gallery/styles/glass/images/buttons.png") !important;
	background-position: 0 -39px !important;
	background-repeat: no-repeat;
	background-size:35px !important;
	background-color: rgba(255, 255, 255, 0) !important;
	color:transparent !important;
	width: 35px;
	height: 35px;
	position: relative;
	left: 0px;
}

.owl-controls .owl-buttons .owl-prev:hover {
background-position: 0 -116px !important;
background-color:rgba(255, 255, 255, 0)  !important;
border: none;
}

.owl-controls .owl-buttons .owl-next:hover {
background-position: 0 0px !important;
background-color:rgba(255, 255, 255, 0)  !important;
border: none;
}

.owl-controls .owl-pagination .owl-page .owl-numbers.hidden {
	display:none;
}

.owl-controls .owl-pagination .owl-page span.owl-letters {
	width: auto;
	background: transparent;
	border: none;
	box-shadow: none;
	box-sizing: content-box;
	font-size: 16px;
	text-align: center;
	padding: 0;
	line-height: 22px;
	height: 22px;
	width: 80px;
}

/* The Corner Ribbons */

.corner-ribbon{
  z-index:10;
  width: 240px;
  background: #e43;
  position: absolute;
  top: 25px;
  left: -50px;
  text-align: center;
  color: #f1f6fa;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  padding:5px;
}

/* Custom styles */

.corner-ribbon.sticky{
  position: fixed;
}

.corner-ribbon.shadow{
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}

/* Different positions */

.corner-ribbon.top-left{
  top: 25px;
  left: -50px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.corner-ribbon.top-right{
  top: 30px;
  right: -70px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-left{
  top: auto;
  bottom: 25px;
  left: -50px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-right{
  top: auto;
  right: -150px;
  bottom: 75px;
  left: auto;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Colors */

.corner-ribbon.white{background: #79A70A;
  background: linear-gradient(#B6BAC9 0%, #808080 100%);
  box shadow: 0 3px 10px -5px rgba(0, 0, 0, 1); color: #f4f4f4;}
.corner-ribbon.black{background: #262A2E;}
.corner-ribbon.grey{background: #999;}
.corner-ribbon.blue{background: #39d;}
.corner-ribbon.green{background: #2c7;}
.corner-ribbon.turquoise{background: #1b9;}
.corner-ribbon.purple{background: #95b;}
.corner-ribbon.red{background: #e43;}
.corner-ribbon.orange{background: #e82;}
.corner-ribbon.yellow{background: #ec0;}
}

/* Stitches */
.ribbon-stitches-top {
   margin-top:2px;
   border-top: 1px dashed rgba(0, 0, 0, 0.2);
   -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
   -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
   box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
   }
.ribbon-stitches-bottom {
   margin-bottom:2px;
   border-top: 1px dashed rgba(0, 0, 0, 0.2);
   -moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
   -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
   box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.3);
   }
  
 .corner-ribbon p {
 margin: 6px 0px;
 line-height: 18px;
 }
 .corner-ribbon p a {
 text-decoration: none;
 color: #f4f4f4;
 }
  .corner-ribbon p a:hover {
  color: #fb5300;
}

@media screen and (max-width: 970px) {
  .tm-nav{
    display:none!important;
  }
  .uk-navbar-toggle{
    display:block!important;
    margin-top: 30px;
  }
}
@media screen and (max-width: 768px) {
  .uk-navbar-toggle{
    margin-top: 0px;
  }
  .uk-navbar-content{
    max-width:100%!important;
  }
}
/*
 * POST BY EMAIL
 ========================================================================== */
@media(min-width:768px){
	.news .uk-width-1-1 img {
		max-width: 350px;
	}
	.news .uk-width-medium-1-2 img {
		max-width: 250px;
	}
	.news .tm-content img.img-left  {
		margin-right: 20px;
		max-width: 380px;
	}
}

/*
 * EDITS MADE JAN 2017
 ========================================================================== **/
body {
    color: #545454;
}

.tm-block-top-a.tm-block-primary+[class*='tm-block-'], .tm-block-bottom-b.tm-block-primary-dark+[class*='tm-block-'], .tm-wrapper {
    background: #f5f5f5;
}

.news .uk-article, .allmode-topitem, .uk-panel-box-secondary {
    background-color: #ddd;
}

.tm-nav-logo {
    width: 400px;
    height: 120px;
}

.uk-panel-box-secondary {
    color: #262a2e;
}

.uk-navbar-nav>li>a {
    font-size: 20px;
}

.uk-subnav > li > a, .tm-footer, .tm-footer a {
    color: #dcdcdc;
}

@media (min-width: 768px) {
  .tm-navbar-fixed.tm-navbar-animated .tm-navbar-small {    
    height: 120px;
  }
}

h1, h2, h3, h4, h5, h6 {
    color: #2b3034;
}

.tm-fullscreen-container .tm-fullscreen .uk-panel h1 {
    color: #fb5300;
}

h3, .uk-h3 {
    color: #2b3034;
}

a.tm-link-muted:hover, .tm-link-muted a:hover {
    color: #ff997e;
}

hr, .uk-list-line>li:nth-child(n+2) {
    border-top: 2px solid #999;
}

.corner-ribbon p a {
    text-decoration: none;
    color: #f4f4f4;
    font-size: 115%;
}

/** Twitter Timeline **/

.wk-twitter .image {
    border: 1px solid #ffaf9a;
}

@media  (min-width: 699px) {
  .wk-twitter-list article {    
    margin-top: 5px;    
    padding-top: 5px;    
    border-top: 1px solid #ddd;    
    overflow: hidden;    
    box-sizing: border-box;    
    width: 47%;    
    width: -webkit-calc(50% - 5px);    
    margin: 0 0 10px 5px;    
    display: block;    
    float: left;    
    height: 120px;
  }
  .wk-twitter-list article:nth-child(2) {    
    border-top: none;
  }
}

.wk-twitter-list .image {
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/*
 * Rapid Contact custom CSS 
 ====================================================================== */
div.rapid_contact input[name='rp_subject'] {
    display: none;
}
div.rapid_contact div:nth-child(2) > input {
    width: 180px;
    display: inline-block;
    float: left;
    margin-right: 20px;
}
div.rapid_contact input,
div.rapid_contact textarea {
    border: none;
    background: #cc4e37;
    opacity: 0.85; /* Firefox */
    color: rgba(255, 255, 255, 0.85);
}
div.rapid_contact input:focus,
div.rapid_contact textarea:focus {
    background: #c24832;
    color: #fff;
}

div.rapid_contact ::-webkit-input-placeholder
{
    opacity: 0.85;
    color: #fff;
}
div.rapid_contact ::-moz-placeholder
{
	opacity: 0.85;
    color: #fff;
}
div.rapid_contact :-ms-input-placeholder
{
	opacity: 0.85;
    color: #fff;
}
div.rapid_contact :-moz-placeholder
{
    opacity: 0.85;
    color: #fff;
}
div.rapid_contact ::placeholder
{
    opacity: 0.85;
    color: #fff;
}
div.rapid_contact :-ms-input-placeholder
{
	opacity: 0.85;
    color: #fff;
}
div.rapid_contact ::-ms-input-placeholder
{
    opacity: 0.85;
    color: #fff;
}

