/*
Theme Name: TechCentral
Theme URI: http://www.themeforest.net
Description: TechCentral Responsive Magazine
Version: 1.7
Author: Ian Walsh
Author URI: http:///www.themeforest.net/user/OllieMcCarthy
License URI: http://themeforest.net/licenses/regular_extended
Tags: light, white, black,  two-columns, left-sidebar, flexible-width,  custom-colors, custom-menu,  featured-images, full-width-template, post-formats, rtl-language-support, theme-options, translation-ready
*/
 
@import url("css/style_reset.css"); 
@import url("css/flexslider.css");
@import url("css/elastislide.css");
@import url("css/style_main.css") ; 
@import url("css/style_400.css");
@import url("css/style_320.css");
@import url("css/style_768.css");
@import url("css/style_1024.css");
@import url("css/tabber.css");
@import url("css/wpp.css");


/* Fixing the header -> may able to remove this once the logo has been added */

nav#omc-main-navigation{position: absolute; left: 0px; bottom: 16px;}
header{min-height: 160px;}


/* Logo styles */
a#omc-logo{left: 0px; position:absolute;}
a#omc-logo img{width:540px;}



/* Restyling the Cookie Consent Notification */
body #catapult-cookie-bar{
	position:fixed;
	width:280px;
	padding:12px;
	color:#666;
	box-shadow: 0px 0px 20px #222;
	bottom:12px;
	right:12px;
	background-color: rgba(250, 250, 250, .8);
}

body #catapult-cookie-bar a{
	color:red;
	display:inline-block;
	clear:both;
}

body #catapult-cookie-bar h5{
	font-size:1.4em;
}

body #catapult-cookie-bar button{
	position:absolute;
	top:-12px;
	left: -38px;
	line-height:24px;
	border-radius: 16px;
}

/*.omc-blog-two:nth-child(even) {
  float: left;
  clear: both;
}*/

.home .omc-blog-two{
	clear:none;
}

.home .omc-blog-two:nth-child(odd) {
  float: left;
  clear: both;
}


/* Hard Coding Category Colours - shouldn't be done but the theme is in tatters */
/*657 => 'Horticulture' 658 => 'Landscape' 656 => 'Retail' 659 => 'Sports & Parks'*/
/* Retail */
.omc-blog-two.category-656 h3 a, 
.omc-blog-two.category-656 span.omc-blog-two-date,
span.omc-blog-two-date.category-656,
.slides li a.omc-flex-category.category-656,
#omc-full-article a.category-656{
	background-color:#ff0007;
}

/* Horticulture */
.omc-blog-two.category-657 h3 a, 
.omc-blog-two.category-657 span.omc-blog-two-date,
span.omc-blog-two-date.category-657,
.slides li a.omc-flex-category.category-657,
#omc-full-article a.category-657{
	background-color:#fa9f45;
}

/* Landscape */
.omc-blog-two.category-658 h3 a, 
.omc-blog-two.category-658 span.omc-blog-two-date,
span.omc-blog-two-date.category-658,
.slides li a.omc-flex-category.category-658,
#omc-full-article a.category-658{
	background-color:#00727e;
}

/* Sports & Park */
.omc-blog-two.category-659 h3 a,
.omc-blog-two.category-659 span.omc-blog-two-date,
span.omc-blog-two-date.category-659,
.slides li a.omc-flex-category.category-659,
#omc-full-article a.category-659{
	background-color:#5e2d63;
}

h3.omc-blog-two-cat {
	position: absolute;
	right: -5px;
	top: 4px;
}

.omc-resize-290.omc-blog h3.omc-blog-two-cat{
	top: 1px;
	right: -4px;
}

/* Slider corner category labels */
a.omc-flex-category{
	top: -31px;
	right: -87px;
} 

/* widget fixes for smaller screens */
.topBanner,
.topBanner .widget_text,
.topBanner .widget_text .textwidget,
.topBanner .widget_text img{
	max-width: 100%;
}

div.topBanner {
	min-height: 100px;
	height: auto !important;
	margin: 0px auto 25px !important;
}


.omc-resize-290-home .img-crop{
	height: 165px;
}
/*http://growtrade.wpengine.com/wp-content/uploads/2015/07/Email-Symbol.png*/
form #mc_subheader {
	background: url(/wp-content/uploads/2015/07/Email-Symbol.png)6px 0px no-repeat !important;
	background-size: 46px !important;
	padding-left: 60px;
}


/* quick fix for image problems on smaller devices */
@media only screen and (max-width: 479px){
        #omc-full-article h3{
        margin-bottom: -2px !important;
        }
        #omc-full-article img{
        margin-top: 0;
        }
        h3.omc-blog-two-cat a{
         font-size: 0.6em !important;
         position: relative;
         top: -2px;
         width: 100%;
         padding: 6px;
         border: 0;
         display: block;
         opacity: .8;
        }
        div.omc-featured-overlay h1{
        white-space: inherit;
        font-size: 1em;
        }
	header{
		height: 200px;
	}
	
	div.omc-resize-145 img.wp-post-image.omc-image-resize
	{
		margin-left: -12px;
	}
}

/* quick fix for image problems on smaller devices */
@media only screen and (max-width: 660px){

	header{
		height: 240px;
	}

	.topBanner .widget_text#text-24{
		display:none;
	}	

	section#omc-main{
		max-width: 100%;
	}
}

/* quick fix for image problems on smaller devices */
@media only screen and (max-width: 767px){

	header{
		height: 240px;
	}

	.topBanner .widget_text{
		margin: 0px auto;
    	float: none;
 	}

	a#omc-logo{
		top: 80px;
	}

	a#omc-logo img{
		max-width: 100%;
		height: auto !important;
		margin-left: -4%;
	}
}

#omc-main-navigation ul li.NewsClass a:hover, nav#omc-main-navigation ul li.current-menu-item.NewsClass a{
    background: #ff0007;
}

#omc-main-navigation ul li.Advisor a:hover, nav#omc-main-navigation ul li.current-menu-item.Advisor a{
    background: #fa9f45;
}

#omc-main-navigation ul li.People a:hover, nav#omc-main-navigation ul li.current-menu-item.People a{
    background: #00727e;
}

#omc-main-navigation ul li.OffTrade a:hover, nav#omc-main-navigation ul li.current-menu-item.OffTrade a{
    background: #5e2d63;
}

