/* Shared layout foundation (used across templates/pages) */

/* Base */

body {
  font-family: 'Oxygen', sans-serif;
  font-size: 14px; font-weight:300;
  line-height: 1.45em;
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased !important;
}

h1 { font-size: 32px;	font-weight:bold; color:#fff; line-height:1em; }
h2 { font-size: 16px; font-weight:bold; color:#222; }
h3 { font-size: 14px;	font-weight:bold; color:#333; text-transform:uppercase; }
h1, h2, h3, h4, h5, h6 { margin:0; }
a { color:#222; }

.center-contain { display:table; position:relative; height:100%; width:100%; }
.centered-element { display:table-cell; vertical-align:middle; }
.dontshow, .nav-br { display:none; }
a:hover { text-decoration:none; }

.feedflare { display:none; }

/* Header */
header {
  text-align: center;
}
#logo-section {
  text-align: left;
  position: relative;
  padding: 15px 0 25px;
}
#logo-section img {
  width: 175px;
  margin: 0;
  margin-top: 15px;
}
#logo-section p {
  font-size: 15px;
  font-weight: bold;
  text-align: right;
  text-transform: uppercase;
  margin-bottom: 15px;
  margin-top: 30px;
}
.banners {
  text-align: center;
  width: 100%;
  padding: 25px 0 0;
}

#header-topright {
  float: right;
  width: 70%;
}
#header-topright #subscribe {
  display: none;
  width: 280px;
  margin: 20px 0 15px;
}
.header-navbar {
  display: block;
  float: none;
}



/* Scrolling News Feed */

#scrolling-feed { border:1px solid #222; text-align:center; margin:0 auto; position:relative; overflow:hidden; }
#scrolling-title { width:120px; box-sizing:border-box; background:white; border-right:1px solid grey; margin:0; padding:10px 0; position:relative; z-index:10; float:left; }
#scrolling-title p { padding:0; margin:0; font-size:16px; font-weight:bold; }
#scrolling-window { width:800px; box-sizing:border-box; margin:0; padding:10px 0; overflow:hidden; position:relative; top:0; left:0; text-indent:-9999px; float:left; }
#scrolling-content { position:fixed; top:-200px; left:170px; width:100%; text-align:left; padding:10px 0; z-index:9; margin:0; }
.scrolling-part { display:block; margin:0; padding:0; font-size:0; float:left; }
.scrolling-part a { color:#222; font-size:13px; padding:0 10px; }
.scrolling-part a:hover { color:#000; text-decoration:none; }

.moveit {
  top:0px !important; position:absolute !important;
  animation-name:slideleft;
  animation-duration:30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.pauseit { -webkit-animation-play-state: paused; animation-play-state: paused; }


/* Homepage */

#main-section.container { padding:0 0 25px; }
#main-right { width:300px; float:left; padding-right:25px; padding-top:25px; }
.ad-slot { width:280px; margin-bottom:20px; }
.ad-slot a, .ad-slot a img { width:100%; display:block; }

/*#main-section-content { padding-top:25px; }*/
#main-left { width:calc(100% - 300px); float:right; }
#main-banner {
  box-sizing:border-box; margin-top:25px; border:1px solid grey; text-align:center;
  float:left; width:100%; height:250px; position:relative; padding-left:40px;
  background-image:url("../images/article-mall.jpg"); background-size:cover; background-position:center;
}
#main-banner h1 { margin-bottom:15px; font-size:45px; font-weight:bold; }
#main-banner h2 { font-size:18px; color:#fff; padding-bottom:8px; }

#side-banner {
  display:none;
  /* box-sizing:border-box; border:3px solid grey;
  float:left; width:calc(35% - 25px); height:250px; position:relative; padding-left:30px; margin-left:25px;
  background-image:url("../images/article-money.jpg"); background-size:cover; background-position:center top; */
}
/* #side-banner h1 { font-size:28px; margin-bottom:15px; }
#side-banner h2 { font-size:14px; color:#fff; padding-bottom:8px; } */

/* #main-banner:hover, #side-banner:hover { border:3px solid #3a3f52; } */
#main-banner p.banner-btn, #side-banner p.banner-btn { display:inline-block; color:white; margin:0; margin-top:10px; }
#main-banner:before, #side-banner:before { content:''; position:absolute; top:0; left:0; height:100%; width:100%; background:rgba(0,0,0,0.4); }

.comingsoon { cursor:default; }
#content { margin-top:25px; }
#offers { margin-top:45px; }
#offers .exit-row { margin-bottom:20px; }
.offer-btn { display:none; }
#content h3 { margin:10px 0; }


/* News Wall */

#news-wall .news-article {
  float:left; width: calc(50% - 10px); padding:0 25px; margin-bottom:20px; height:130px;
}
#news-wall .news-article { border:1px solid grey; padding:20px; }
#news-wall .news-article .news-left { width:25%; float:left; height:100%; overflow:hidden; }
#news-wall .news-article .news-right { float:right; width:75%; padding-left:25px; }
#news-wall .news-article:nth-child(even) { float:right; }
#news-wall .news-article a { cursor:pointer; text-decoration:none; color:#3a3f52; }
#news-wall .news-article a:hover h2 { opacity:0.75; }
#news-wall .news-article .news-img { max-width:100%; }
#news-wall .news-article .news-img img { width:100%; }
#news-wall .news-article h2 { font-size:20px; font-weight:bold; max-height:45px; overflow:hidden; }
#news-wall .news-article p { padding-top:8px; font-size:14px; line-height:1.35em; max-height:50px; overflow:hidden; margin-bottom:0; }
#news-wall .news-article .more { display:none; }

.news-secondary { border-top:1px solid grey; padding:10px 0; }
.news-secondary h2 { font-size:14px; font-weight:400; color:#555; }
.news-secondary .news-article { padding:0; margin:0 0 10px; }
.news-secondary img, .news-secondary p, .news-secondary .feedflare { display:none; }
.news-secondary .more { display:none; }

.news-sidebar { border:1px solid grey; margin-top:0; padding:20px; }
.news-sidebar .news-article { margin-bottom:25px; }
#main-right h3 { padding:10px 0; text-align:center; border:1px solid grey; border-bottom:0; }
.news-sidebar .news-article .news-right p { margin:5px 0 10px; font-size:13px; line-height:1.35em; }
.news-sidebar img { display:none; }


/* Subscribe Section */

#subscribe-insert { border-bottom:1px solid grey; padding:15px 0; }
#subscribe { width:100%; }
#subscribe-copy { width:calc(70% - 25px); margin-right:25px; float:left; }
#subscribe-copy p { line-height:20px; margin-top:10px; }
#subscribe input { width:65%; height:40px; padding-left:15px; float:left; color:#222; font-size:14px; border:1px solid grey; outline:0; }
#subscribe button { width:35%; height:40px; float:left; background:#222; color:#fff; border:none; font-size:13px; border:1px solid #222; z-index:2; outline:0; }
#subscribe button:hover { background:grey; border:1px solid grey; }
#subscribe .parsley-error { border:1px solid red; }
#subscribe-error, .parsley-errors-list { position:absolute; }
.parsley-custom-error-message { position:absolute; top:100%; right:0; color:red; font-size:11px; list-style-type:none; }
.subscribed-msg { text-align:center; text-transform:uppercase; font-weight:bold; padding:15px; border:1px solid #fff; background:green; color:white; }


/* Privacy */

#privacy h1 { color:#222; text-align:center; font-size:32px; margin-top:10px; }
#privacy h2 { font-weight:bold; margin:25px 0 10px; }
#privacy h4 { text-align:center; margin-top:10px; }


/* Articles */

.article-page { padding:15px 0 50px; }
.article-page h1 { text-align:center; color:#222; line-height:1.15em; font-size:36px; }
.article-banner { position:relative; text-align:center; margin-bottom:35px; }
.article-banner img { display:inline-block; max-width:500px; }
.article-content p { font-size:15px; line-height:1.65em; }


/* Footer */

footer { border-top:1px solid #e7e7e7; padding:25px 0 30px; background:#fff; }
footer p { font-size:12px; margin:0; padding:0; }
footer #footer-left { text-align:left; padding:25px 0 0; }
footer #footer-center { text-align:center; }
footer #footer-center img { max-width:180px; }
footer #footer-center p { font-size:11px; margin-top:5px; }
footer #footer-right { text-align:right; padding:25px 0 0; }
footer #footer-right a { text-decoration:none; color:#545454; }
footer #footer-right a:hover { color:#000; }
footer #subscribe { width:100%; padding-bottom:35px; }
footer #subscribe-insert { border:none; }
footer img { width:120px; margin-top:12px; }



/* -- -- -- -- */
/* Responsive Queries */
/* -- -- -- -- */

@media (max-width: 1200px) {
  h2, #news-wall .news-article h2 { font-size:17px; }
  #main-banner, #side-banner { height:220px; }
  #main-banner h1 { margin-bottom:10px; font-size:28px; }
  #main-banner h2 { font-size:16px; }
  #side-banner h1 { margin-bottom:10px; font-size:20px; }
  #side-banner h2 { font-size:13px; }
  #news-wall .news-article { height:140px; }
  #news-wall .news-article h2 { max-height:38px; }
  #news-wall .news-article p { max-height:50px; }
  .news-secondary h2 { font-size:12px; }
  #logo-section p { text-align:center; margin-top:38px; }
}

@media (max-width: 992px) {
  #logo-section p { font-size:15px; margin-top:18px; }
  #logo-section { text-align:center; }
  #header-topright { float:none; }
  .nav-logo { width:150px; }
  #subscribe-copy p { margin-top:0; }
  .banners { margin-left:-15px; }
  #main-banner, #side-banner { padding:0 15px; }
  #news-wall .news-article { width:100%; height:auto; padding:10px; }
  #news-wall .news-article h2 { max-height:200px; overflow:visible; }
  #news-wall .news-article p { max-height:200px; font-size:12px; overflow:visible; }
  footer #footer-right p a { font-size:13px; }
}

@media (min-width:767px) {
  .container { padding-left:0; padding-right:0; }
}

@media (max-width: 767px) {

  body { padding:0 20px; }
  #header-topright { width:100%; float:none; }
  #header-topright #subscribe { float:none; width:100%; display:none; }
  #subscribe { width:100%; }
  #subscribe-copy { display:none; }
  h1 { font-size: 18px;	}
  h2 { font-size: 14px;	}
  h3 { font-size: 14px;	}
  .container { padding:0; }
  #logo-section { text-align:center; margin-bottom:15px; }
  #logo-section img { width:120px; }
  #logo-section p { font-size:14px; text-align:center; margin-top:15px; margin-bottom:0; }
  .banners { display:none; }

  #main-left { width:100%; padding:0; }
  #main-right { width:100%; padding:0; padding-top:20px; text-align:center; }

  #main-banner, #side-banner { padding:0; margin:0; height:120px; width:100%; text-align:center; }
  #main-banner h1, #side-banner h1 { font-size:22px; }
  #main-banner h2, #side-banner h2 { display:none; }
  #main-banner p.banner-btn, #side-banner p.banner-btn { margin-top:0; }
  #main-banner { margin:5px 0 0; }

  #content h3 { padding-top:20px; text-align:center; }
  #news-wall .news-article h2 { font-size:13px; }

  .news-secondary { text-align:center; padding:20px 0 10px; }
  .secondary-news-col { padding:0; }

  #privacy h1 { font-size:20px; }
  .article-page h1 { font-size:26px; }
  .article-banner img { display:inline-block; max-width:100% }

  footer { padding:25px 0; }
	footer p { font-size:12px; line-height:14px; }
  footer #footer-left { padding-top:0; text-align:center; }
  footer #footer-right { padding-top:20px; text-align:center; }

}

@media (max-width: 480px) {

  #scrolling-title { width:80px; }
  #scrolling-title p, .scrolling-part a { font-size:12px; }
  #logo-section p { font-size:12px; }
  #logo-section p span { display:none; }
  .nav-br { display:block; }
  #main-section.container { padding:0; border:none; }
  .news-secondary, .news-sidebar { padding-left:15px; padding-right:15px; }
  .article-page h1 { font-size:18px; }
  .article-content p { font-size:13px; }

}
