/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
	Custom styles
   ========================================================================== */

body{
	background: #F5F2EF;
	font-family: 'News Cycle', sans-serif;
	color:#404040;
	font-size:14px;
}

.wrapper{
	width:920px;
	padding:20px;
	margin:20px auto;
	background:#fff;
	position: relative;
	z-index: 2;
}

footer{
	width:880px;
	padding:1px 20px;
	margin:20px auto 0;
	background:#94C9D1;
	color:#fff;
	text-align:center;
	font-size:12px;
}

.banner{
	float:right;
}

.logo img{
	width:300px;
}

.button{
	background:#94C9D1;
	padding:3px 0 0;
	color:#fff;
	font-size:18px;
	margin:0;
	text-align:center;
	width:100%;
	display:block;
	text-transform:uppercase;
	text-decoration:none;
	font-family: 'News Cycle', sans-serif; 
}

.newstop .button{
	background:#94C9D1;
	padding:3px 0 0;
	color:#fff;
	font-size:18px;
	margin:0;
	text-align:center;
	width:170px;
	display:block;
	text-transform:uppercase;
	text-decoration:none;
	font-family: 'News Cycle', sans-serif; 
  position: absolute;
  bottom: 5px;
}

.news {position: relative;}

.news.big .textarea {position: relative;}

.button:hover{
	background:#94C9D1;
}

/*--- Menu ---*/

.menu{
	background: #858788;
	background-size:940px;
	float:left;
	width:940px;
	height:22px;
	margin:20px 0 20px -10px;
	padding:9px 0 8px;
	text-align:center;
}

.menu li{
	list-style-type:none;
	display:inline-block;
	margin: 0 20px;
	margin-top:-15px;
}

.menu li a{
	color:#fff;
	font-size:14px;
	font-family: 'News Cycle', sans-serif; font-weight: bold;
	letter-spacing:1px;
	padding:0;
	width:auto;
	height:26px;
	padding:14px 10px 10px;
	display:block;
	float:left;
	text-align:center;
	text-decoration:none;
}

.menu li:hover a, .menu li.active a{
	background: url(../img/menu_bg.png) 50% 4px;
	background-repeat: no-repeat;
}

.menuleft, .menuright{
	display:block;
	height:46px;
	width:21px;
	float:left;
	background:transparent none;
}

.menuright{
	float:right;
}

.menu li:hover .menuleft, .menu li.active .menuleft{
	background:url(../img/menu_left.png) 0 0 repeat-x;
	background-size:21px 46px;
	float:left;
}

.menu li:hover .menuright, .menu li.active .menuright{
	background:url(../img/menu_right.png) 0 0 repeat-x;
	background-size:21px 46px;
	float:right;
}

.menu li:last-child a{
	border-right:0;
}

/*--- Homepage ---*/

section.left{
	width:610px;
	float:left;
}

section.right{
	width:300px;
	float:right;
	min-height: 1060px;
	overflow: hidden;
	text-align: center;
}

.ad{
	margin-bottom:10px;
}

h1{
	background:#858788;
	padding:5px;
	color:#fff;
	font-size:20px;
	font-family: 'News Cycle', sans-serif; font-weight: bold;
	margin:0 0 10px;
}

.hentry>h1>a {
    color: white;
    text-decoration: none;
}

h2{
	margin:0;
	padding:5px 0;
	font-size:15px;
	font-family: 'News Cycle', sans-serif; font-weight: bold;
	color:#333;
}

h2 a{
	color:#333;
	text-decoration:none;
}

/*--- Twitter Boxes ---*/

.twitter{
	float:left;
	width:265px;
	padding:10px 20px 20px 10px;
	margin:5px 5px 10px 5px;
	text-align:left;
	border-bottom:2px solid #94C9D1;
	border-top:2px solid #94C9D1;
	height:114px;
}

.twitter.right{
	float:right;
}

.twitter h3{
	margin:0;
	padding:0 0 0 50px;
	background:url(../img/followus.png) 0 0 no-repeat;
	height:45px;
	background-size:35px;
	color: #94C9D1;
}

.twitter p {
    padding: 0;
    margin: 0;
    width: 275px;
}

.twitter .grey{
	color:#404040;
}

/*--- Homepage News ---*/

.news{
	float:left;
	width: 170px;
	margin-right:10px;
	border-right:1px solid  #858788;
	padding-right:10px;
	margin-bottom:10px;
}

.newstop{
	margin-bottom:10px;
	height:262px;
	padding-bottom:10px;
}

.newstop .news{
	margin-right:0;
	padding-right:0;
	border-right:0;
	overflow-y:auto;
	height:260px;
	border:1px solid #858788;
	padding: 5px;
}

.newstop .news.big{
	background:#fff;
	color:#333;
	width:399px;
	padding-right:0px;
	height:260px;
	border:1px solid #858788;
	margin-right:10px;
	  overflow: hidden;
}

.newstop.bottom .news{
	margin-right:10px;
	border:1px solid #858788;
	overflow: hidden;
}

.newstop.bottom .news.big{
	margin-right:0;
	padding-right:0;
	width:399px;
}

.newstop.bottom .news.big .imagearea {
	padding-right: 0;
}

.newstop.bottom .news h2 {display:none;}
.newstop.bottom .news.big h2 {display:block;}

.news.big h2 a{
	color:#333;
}

.news.right{
	margin-right:0;
	border-right:0;
	padding-right:0;
	width:190px;
}

.textarea{
	float: left;
	width: 200px;
	padding: 5px;
	height: 255px;
}

.textarea.fullwidth{
	width:398px;
}

.imagearea{
  float: left;
  width: 184px;
  overflow: hidden;
  text-align: center;
  height: auto;
  background: #fff;
}

.imagearea > span {
    display: block;
    height:250px;
    margin-left: -50px; /* -(width-container width)/2 */
}

.story_4_image_alt {
	margin-left: 0px!important;
}

.imagearea > span > img{
	display:inline-block;
	height:250px;
}

.newstop{
	float:left;
}

.newsbottom{
	float:left;
	clear:both;
}

/*--- Homepage Back Issue ---*/

.half{
	float:left;
	width:200px;
	margin-right:10px;
	padding-right:10px;
	margin-bottom:10px;
	text-align:center;
}

.half img {
  width: auto;
  }

.half .subscribe {display: none;}

.half.right{
	width:390px;
	margin-right:0;
	padding-right:0;
	text-align: left;
}

.back_issue .image{
	float:left;
	width:100%;
}

.back_issue .text{
	float:left;
}

.back_issue .text a {text-decoration: none;}

.back_issue{
	margin-top:10px;
	border-bottom:2px solid #94C9D1;
	  float: right;
  width: 49%;
    height: 220px;
}

.back_issue.first{
	float: left;
	margin-top: 0;
	width: 49%;
	  height: 230px;
}

.back_issue.last{
	border-bottom:0;
}

.back_issue img{
	margin-bottom:10px;
}

.back_issue h2{
	border-bottom:0;
	padding-bottom:0;
	padding-top:0;
}

.footerleft{
	float:left;
	text-align:left;
}

.footerright{
	float:right;
	text-align:right;
}

/*--- News ---*/

.news_big .image{
	float:left;
	width:200px;
	padding-right:5px;
}

.news_big .text{
	float:left;
	width:390px;
}

.news_big{
	float:left;
	padding-bottom:10px;
	margin-top:10px;
	border-bottom:1px solid #858788;
}

.news_big a.button{
	float:right;
	width:auto;
	padding:5px 10px;
}

.news_big h2{
	border-bottom:0;
	padding-bottom:0;
	padding-top:0;
	font-size:20px;
}

/*--- Suppliers ---*/

.supplier{
	float:left;
	width:600px;
	margin:5px;
	border:1px solid #858788;
}

.supplier .image{
	float:left;
	width:79px;
	padding:5px;
}

.supplier .text{
	float:left;
	width:493px;
	padding:5px;
	border-left:1px solid #858788;
	font-size:12px;
	  padding-bottom: 36px;
}

.supplier a.button{
	padding:5px 0;
	font-size:10px;
	margin-top:10px;
}

.supplier .info{
	color:#94C9D1;
}

.bar{
	float:left;
	width:100%;
	padding-bottom:10px;
}

.filters select {
   background: transparent;
   width: 168px;
   padding: 5px;
   font-size: 16px;
   line-height: 1;
   border: 0;
   border-radius: 0;
   height: 34px;
   -webkit-appearance: none;
}

.filters {
   width: 140px;
   height: 34px;
   overflow: hidden;
   background: url(../img/dropdown.png) no-repeat right;
   border: 1px solid #ccc;
   float:right;
}

/*---Contact Us ---*/

.contact.left{
	width:179px;
	float:left;
	padding-right:20px;
	margin-right:20px;
	border-right:1px solid #404040;
}

.contact.right{
	width:380px;
	float:left;
}

.form-block{
	padding:5px 0;
	float:left;
	width:100%;
}

label{
	display:block;
	float:left;
	width:150px;
}

label.terms{
	width:100%;
}

input[type="text"], input[type="email"]{
	border:1px solid #94C9D1;
	width:216px;
	float:left;
	padding:3px 5px;
	font-size:12px;
}

textarea{
	border:1px solid #94C9D1;
	width:215px;
	float:left;
	height:100px;
	padding:5px;
	font-size:12px;
}

.form-block.big input[type="text"], .form-block.big input[type="email"]{
	width:316px;
}

input.button{
	background:#94C9D1;
	color:#fff;
	font-size:18px;
	margin:0;
	text-align:center;
	display:block;
	text-transform:uppercase;
	text-decoration:none;
	float:right;
	padding:3px 10px 4px 0;
	width:150px;
	border:0;
}

input.button.floatl{
	float:left;
}

input#inputValue99{
	width:40px;
}

h3{
	margin:0;
	padding:5px 0;
	margin:0;
	font-size:15px;
	color:#858788;
	font-family: 'News Cycle', sans-serif; 
}

.smalltwitter{
	padding-left:40px;
	background: url(../img/twitter_bird.png) 0 0 no-repeat;
	background-size:35px;
}

ul.hfeed{
	padding: 0;
	list-style-type: none;
}

.error{
	float: left;
	padding: 10px 0 0;
	color: red;
	clear:both;
}

input.inputError{
	background: #eee;
}

p.entry-published{
	border-top:1px solid #404040;
	border-bottom:1px solid #404040;
	padding:5px 0 4px;
	font-size:18px;
	text-transform:uppercase;
}

.entry-published .button{
	float:right;
	width:auto;
	padding:3px 10px 0;
	margin-top:-2px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

#form_math {
    width: 40px;
}

#homenews .newstop {
    overflow: hidden;
}


a.twitterurl { text-decoration: none; color: black; }
div.buttonsupplier {
    float: right;
    position: absolute;
    bottom: 5px;
    right: 15px;
}
div.supplier {
    position: relative;
}

.buttonsupplier a {
	background: #94C9D1;
	color: #fff;
	font-size: 18px;
	margin: 0;
	text-align: center;
	display: block;
	text-transform: uppercase;
	text-decoration: none;
	font-family: 'News Cycle', sans-serif;
	float: right;
	width: auto;
	padding: 5px 10px;
}


.main .hentry img {
    float: right;
    margin-left: 20px;
}

/* edits after going live */
.links .subscribe img {  width: 190px;
  margin: 0 5px;}
  
  .half {
  float: left;
  margin: 0 5px !important;
  padding: 0;
  margin-bottom: 10px;
  text-align: center;
  width: 190px;
}

.half.right {
  width: 400px;
  margin-right: 0;
  padding-right: 0;
  text-align: left;
}

.back_issue {
  width: 190px !important;
  margin: 0 5px;
  height: 219px !important;
}

.magazine_image {
    width: 35% !important;
    float: right;
}
.magazine_image img {
    width: 100%;
}

.magazine_synopsis {
	width: 65%;
	padding: 0 10px 0 0;
}