/*
Theme Name: DeviceMag New
Theme URI: http://www.devicemag.com
Description: Custom theme for DeviceMag
Version: 3.0
Author: Alex Panait
Author URI: http://alexpanait.com/
*/


/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

* { margin: 0; padding: 0; }
img { border: 0; }
iframe { border: 0!important;}

body { background: #fff url(images/bg.png) 0px 0px repeat-x; font-family: Georgia, serif; font-size: 14px; color: #444; }
.body { width: 1000px; margin: 0 auto; }

.left { float: left; }
.right { float: right; }
.clear { clear: both; }

a img { border: 0 none; }

#header { height: 181px; }
#header .top { height: 90px; padding: 22px 0; }
#header .logo { width: 257px; height: 90px; float: left; }
#header .banner { width: 728px; height: 90px; float: right; }

#header nav { height: 47px; }
#header nav ul { list-style-type: none; }
#header nav ul li { float: left; margin: 5px 0 0 0; height: 38px; line-height: 38px; border-right: 1px solid #d3d3d3; }
#header nav ul li.home { border-left: 1px solid #d3d3d3; }
#header nav ul li.current-cat { border-top: 1px solid #d3d3d3; margin: 0 0 0 -1px; border-left: 1px solid #d3d3d3; background: #fff url(images/nav-current.png) 0px 0px repeat-x; height: 42px; }
#header nav ul li.home-current { border-top: 1px solid #d3d3d3; margin: 0; border-left: 1px solid #d3d3d3; background: #fff url(images/nav-current.png) 0px 0px repeat-x; height: 42px; }
#header nav ul li a { color: #000000; text-decoration: none; font-size: 15px; border: 1px solid #fff; line-height: 36px; display: block; padding: 0 15px; }
#header nav ul li a:hover { color: #ff6a12; }
#header nav ul li.current-cat a { padding-top: 3px; line-height: 38px; border-bottom: 4px solid #fff; }
#header nav ul li.home-current a { padding-top: 3px; line-height: 38px; border-bottom: 4px solid #fff; }

#header nav ul li.search { float: right; padding: 7px 10px 7px 15px; height: 24px; border-left: 1px solid #d3d3d3; }
#header nav ul li.search .text { color: #545454; font-family: Georgia, serif; font-size: 13px; background: none; border: 0 none; outline: none; width: 150px; padding: 5px 0; float: left; }
#header nav ul li.search .btn { width: 25px; height: 25px; background: url(images/search-btn.png) 0px 0px no-repeat; cursor: pointer; text-indent: -9999px; display: block; border: 0 none; float: left; }

#header nav ul li.social { float: right; padding: 9px 10px; height: 20px; }
#nav ul li.social a { display: block; width: 22px; height: 23px; background: url(images/social.png) 0px 0px no-repeat; text-indent: -9999px; float: left; margin: 0 0 0 10px; padding: 0; border: 0 none; }
#header nav ul li.social .rss { background-position: 0px 0px; }
#header nav ul li.social .facebook { background-position: -22px 0px; }
#header nav ul li.social .twitter { background-position: -44px 0px; }

#main { background: #fff url(images/main-bg.png) top right repeat-y; border-right: 1px solid #d3d3d3; border-left: 1px solid #d3d3d3; padding: 20px; overflow: hidden; width: 958px; margin: 0 auto; }

#content { width: 620px; min-height: 500px; float: left; }
#mainbig { background: #fff; border-right: 1px solid #d3d3d3; border-left: 1px solid #d3d3d3; padding: 20px; overflow: hidden; width: 958px; margin: 0 auto; }v


.contentgallery {width:1000px;}
p.leftgallery { float:left; display: block; position: relative; left: 20px; top: 50px;}
p.rightgallery { float: right; display: block; position: relative; right: 20px; top: 50px;}

#contentgallery {width: 97.5%; font-size: 14px; border: 1px solid #dadada; margin: 50px 15px 15px 15px;}
#contentgallery > article > header > span {font-size: 40px; font-weight: bold;}
#contentgallery h1 {font-size: 28px;text-align: center;color: #666;font-weight: bold;background: #f5f5f5;width: 100%;margin: 0 0 30px 0;min-height: 50px;line-height: 32px;}
#contentgallery > aside > div {margin: 15%;margin-top: 30px;}
#contentgallery .back {font-size: 20px;font-family: Tahoma;height: 50px;text-align: center;border-top: 1px solid #dadada;background: #f5f5f5;line-height: 40px;}
#contentgallery .backsmall {font-size: 12px;font-family: Tahoma;text-align: center;padding: 5px;color: #333;width: 150px;position: absolute;background: #b6e600;margin: -13px 0 0 -15px;text-transform: uppercase;}
#contentgallery > article > header {background: #f5f5f5;}
#contentgallery > article > section {width: 100%;}
#contentgallery > article {border: 0;}
#contentgallery > h2 {color: #666;margin-left: 15px;}
#contentgallery > article > div.backsmall > a {text-decoration: underline;}

#contentgallery #disqus_thread {width: 97.5%;margin-left: 15px;}

.back a {text-decoration: underline;}
.backsmall a {text-transform:none;color:#fff;}
.shorter {width: 626px;margin-left: 200px;}
.ads728 {text-align: center;margin-top: -20px;}

#featured { margin: 0 0 20px 0; position: relative; width: 620px; padding: 0 0 30px 0; border-bottom: 1px solid #d3d3d3; }
#featured ul { list-style-type: none; overflow: hidden; }
#featured ul li { float: left; margin: 0 1px 1px 0; }
#featured ul li.top { width: 309px; height: 160px; position: relative; }
#featured ul li.second { magin: 0 0 1px 0; }
#featured ul li.bottom { width: 206px; height: 150px; position: relative; }
#featured ul li.third { width: 205px; overflow: hidden; }
#featured h2 { position: absolute; left: 0; bottom: 0; font-size: 18px; line-height: 22px; padding: 10px; background: url(images/transparent-dot.png) 0px 0px repeat; font-weight: normal; }
#featured h2 a { color: #fff; text-decoration: none; }
#featured h2 a:hover { text-decoration: underline; }
#featured .badge { width: 73px; height: 74px; background: url(images/top.png) 0px 0px no-repeat; position: absolute; top: -15px; right: -15px; z-index: 9999; }

.post { margin: 0 0 20px 0; padding: 0 0 20px 0; border-bottom: 1px solid #d3d3d3; overflow: hidden; }
.post h2 { font-size: 24px; margin: 0 0 5px 0; font-weight: normal; }
.post h1 { color: #000000; font-size: 24px; margin: 0 0 5px 0; font-weight: normal; }
.post h2 a { color: #000000; text-decoration: none; }
.post h2 a:hover { color: #ff6a12; }

h3.title { margin: 0 0 15px; color: #000000; font-size: 14px; }

.meta { color: #797979; font-style: italic; margin: 0 0 15px 0; font-size: 13px; }
.thumb { width: 200px; height: 160px; float: left; margin: 0 20px 0 0; }
.thumb-large { margin: 0 0 20px 0; text-align: center; }

.entry { color: #444444; line-height: 24px; }
.entry-main { margin: 0 0 0 220px; }

.entry p { margin: 0 0 15px 0; }
.entry a { color: #004276; text-decoration: underline; }
.entry a:hover { text-decoration: none; }

.entry ul { margin: 0 0 0 20px; }
.entry ul li { margin: 0 0 5px 0; }
.entry ol li { margin-left: 35px; line-height: 180%; }

.entry > blockquote {
font-size: 20px;
font-weight: bolder;
margin-left: 30px;
padding: 15px;
}

.alignleft { float: left; margin: 0 10px 10px 0; }
.alignright { float: right; margin: 0 0 10px 10px; }
.aligncenter { margin: 0 auto 10px auto; text-align: center; display: block; }


.post-bar { width: 140px; float: right; margin: 0 0 15px 15px; border-bottom: 1px solid #d3d3d3; }
.post-bar h3 { color: #000000; font-size: 11px; border-top: 1px solid #d3d3de; margin: 0 0 20px 0; }
.post-bar h3 span { margin: -11px 0 0 0; float: left; padding: 0 7px 0 0; background: #fff; text-transform: uppercase; }
.post-bar ul { list-style-type: none; margin: 0 0 20px 0; }
.post-bar ul li { margin: 0 0 5px 0; }

.more-posts { margin: 0 0 15px 0!important; }
.more-posts li { margin: 0 0 10px 0!important; font-size: 13px; line-height: 18px; }
.more-posts li a { color: #da5303; text-decoration: none; }
.more-posts li a:hover { text-decoration: underline; }

.addthis_toolbox { margin: 0 0 20px 0; height: 20px; }

.credit { font-size: 11px; text-transform: uppercase; color: #797979; font-family: Arial, sans-serif; }
.credit a { color: #004276; text-decoration: none; }
.credit a:hover { text-decoration: underline; }

.related { margin: 0 0 20px 0; padding: 0 0 20px 0; border-bottom: 1px solid #d3d3d3; overflow: hidden; }
.related h3 { font-size: 15px; font-weight: bold; color: #000000; margin: 0 0 20px 0; }
.related ul { margin: 0 0 0 15px; list-style-type: square; width: 280px; float: left; }
.related ul li { margin: 0 0 10px 0; color: #d3d3d3; }
.related ul li a { color: #da5303; text-decoration: none; font-size: 16px; }
.related ul li a:hover { text-decoration: underline; }
.related .ad { width: 300px; float: right; }

.comments a { color: #004276; text-decoration: none; }
.comments a:hover { text-decoration: underline; }

div.social { list-style-type: none; margin: 20px 0 0 0; overflow: hidden; clear: both; }
ul.social { list-style-type: none; padding: 20px 0 0 0; overflow: hidden; clear: both; }
ul.social li { float: left; margin: 0 5px 0 0; }
ul.social li.more { float: right; margin: 0 none; }
ul.social li.more a { color: #000000; text-decoration: none; font-weight: bold; font-size: 12px; }
ul.social li.more a:hover { color: #ff6a12; }

#sidebar { width: 300px; float: right; }
#sidebar .box { margin: 0 0 30px 0; overflow: hidden; }
#sidebar .post-nav { margin: 0 0 20px 0!important; }

.subscribe { font-size: 11px; text-transform: uppercase; font-family: Arial, sans-serif; margin: 0 0 15px 0; padding: 15px 0 0 0; border-top: 1px solid #d3d3d3; }
.subscribe a { color: #444; text-decoration: none; text-transform: none; padding: 0 0 0 18px; margin: 0 0 0 5px; }
.subscribe a:hover { color: #004276; }
.subscribe a.twitter { background: url(images/follow-twitter.gif) 0px 0px no-repeat; }
.subscribe a.fb { background: url(images/follow-fb.gif) 0px 0px no-repeat; }
.subscribe a.rss { background: url(images/follow-rss.gif) 0px 0px no-repeat; }

.email .text { float: left; border: 1px solid #d3d3d3; border-right: 0 none; height: 34px; line-height: 34px; padding: 0 10px; width: 195px; color: #6d6d6d; font-size: 11px; font-family: Georgia, serif; outline: none; }
.email .btn { display: block; width: 84px; height: 36px; float: left; border: 0 none; background: url(images/email-btn.png) 0px 0px no-repeat; cursor: pointer; }


#sidebar .prev { width: 129px; padding: 0 20px 0 0; float: left; border-right: 1px solid #d3d3d3; }
#sidebar .prev span { color: #797979; font-size: 11px; margin: 0 0 5px 0; display: block; }
#sidebar .next { width: 129px; padding: 0 0 0 20px; float: right; }
#sidebar .next span { color: #797979; font-size: 11px; margin: 0 0 5px 0; display: block; text-align: right; }
#sidebar .next h2, #sidebar .prev h2 { font-size: 13px; font-weight: normal; }
#sidebar .next h2 { text-align: right; }
#sidebar .next h2 a, #sidebar .prev h2 a { color: #004276; text-decoration: none; }
#sidebar .next h2 a:hover, #sidebar .prev h2 a:hover { text-decoration: underline; }

ul.tabs { list-style: none; height: 32px; border-bottom: 1px solid #d3d3d3; padding: 0 8px; }
ul.tabs li { float: left; margin: 0; padding: 0; height: 31px; line-height: 31px; border-left: none; margin-bottom: -1px; overflow: hidden; position: relative; }
ul.tabs li a { text-decoration: none; color: #000; display: block; padding: 0 20px; border: 1px solid #fff;  outline: none;
cursor: pointer; }
ul.tabs li a:hover { color: #ff6a12; }
html ul.tabs li.active  { border: 1px solid #d3d3d3; background: url(images/nav-current.png) 0px 0px repeat-x; border-bottom: 1px solid #fff; line-height: 30px; }
html ul.tabs li.active a { padding: 0 19px;}

.tab_content { padding: 10px 0 0 ; }

#sidebar .list { list-style-type: none; }
#sidebar .list li { overflow: hidden; margin: 0 0 10px 0; padding: 0 0 10px 0; border-bottom: 1px dotted #d3d3d3; }
#sidebar .list li img { float: left; width: 50px; height: 50px; margin: 0 15px 0 0; }
#sidebar .list li h4 { margin: 0 0 0 65px; font-weight: normal; font-size: 14px; }
#sidebar .list li h4 a { color: #004276; text-decoration: none; }
#sidebar .list li h4 a:hover { text-decoration: underline; }

#sidebar .tutorials { list-style-type: none; padding: 10px 0 0 0; }
#sidebar .tutorials li { position: relative; overflow: hidden; margin: 0 0 10px 0; }
#sidebar .tutorials li h4 { position: absolute; bottom: 12px; left: 0; padding: 10px; font-weight: normal; font-size: 14px; position: absolute; background: url(images/transparent-dot.png) 0px 0px repeat; width: 100%; }
#sidebar .tutorials li h4 a { color: #fff; text-decoration: none; }
#sidebar .tutorials li h4 a:hover { text-decoration: underline; }

#sidebar .like { width: 300px; overflow: hidden; position: relative; height: 230px; }
#sidebar .like iframe { margin: -5px 0 0 -5px; }

#footer { width: 100%; background: #ececec url(images/footer-bg.png) 0px 0px repeat-x; overflow: hidden; }
#footer .inner { width: 1000px; margin: 25px auto; min-height: 150px; }

#footer h3 { color: #000000; font-size: 13px; margin: 0 0 15px 0; }
#footer p { margin: 0 0 15px 0;}
#footer a { color: #ff6a12; text-decoration: none; }
#footer a:hover { text-decoration: underline; }

#footer .left { width: 350px; margin: 0 30px 0 0; padding: 0 30px 0 0; float: left; border-right: 1px solid #d3d3d3; }
#footer .right { float: left; width: 589px; }
#footer .team { width: 340px; float: left; }
#footer .right ul { float: right; width: 222px; list-style-type: none; }
#footer .right ul li { float: left; margin: 0 0 10px 10px; }
#footer .right ul li img { width: 190px; height: 115px; border: 2px solid #fff; }

#copy { width: 100%; border-top: 1px solid #d3d3d3; overflow: hidden; background: #ececec; }
#copy .inner { width: 1000px; margin: 0 auto; height: 35px; line-height: 35px; color: #868585; font:  12px/35px Arial, sans-serif; }
#copy a { color: #868585; text-decoration: none; }
#copy a:hover { color: #ff6a12; text-decoration: underline; }

.wp-pagenavi { padding:4px 0 4px 0;margin:0; font-size: 12px; text-transform: uppercase; }
.wp-pagenavi a,.wp-pagenavi a:link {padding:4px 10px 4px 10px;text-decoration:none;color:#bbbcbc;background-color:#FFF;}
.wp-pagenavi a:visited {text-decoration:none;color:#bbbcbc;background-color:#FFF;}
.wp-pagenavi a:hover {color:#fff;background-color:#004276;}
.wp-pagenavi a:active {text-decoration:none;color:#fff;background-color:#004276;}
.wp-pagenavi span.pages {color:#bbbcbc;background-color:#FFF;}
.wp-pagenavi span.current {font-weight:bold;color:#fff;background-color:#cfd0d1; padding:4px 10px 4px 10px; }
.wp-pagenavi span.extend {margin:2px;color:#bbbcbc;background-color:#FFF;}


.nav {
	color: #888;
	font-size: 14px;
	line-height: 18px;
	overflow: hidden;
	width: 620px;
	margin: 0 0 15px 0;
}
.nav a:link,
.nav a:visited {
	color: #004276;
	text-decoration: none;
}
.nav a:active,
.nav a:hover {
	color: #da5303;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

p.wp-caption-text {
background: #F8F8F8;
margin: -7px auto 20px auto;
width: 650px!important;
padding: 3px 0 3px 0;
font-size: 12px;
text-transform: uppercase;
}