/*------------- Bootstrap overrides -------------*/

@media (min-width: 1200px) {
	.container {
	    width: 1000px !important;
	}
}

/*----------------------------------------------*/

.gray {
  color: #767676 !important;
}
.text-blue {
  color: #0096D6 !important;
}
.black {
  color: black;
}

.modal-dialog {
	z-index: 1050;
}

#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
.top-bar {
  background-color: #5677fc;
  color: white;
  box-shadow: 0px 0px 5px;
}
.pageDesc {
  float: left;
}
.pageDesc p {
  margin: 5px 0px;
  font-size: 16px;
  color: #fff;
}
@media only screen and (max-width: 499px) {
  .pageDesc {
    display: none;
  }
}
.second-bar {
  background-color: #efefef;
  border-bottom: 1px solid #bbb;
  box-shadow: 0px 0px 5px;
}
.social-nav .fa {
  color: white;
  font-size: 18px;
  line-height: 26px;
  padding: 0px 6px;
}
.social-nav ul {
  margin: 0px;
  list-style-type: none;
  float: right;
}
.social-nav ul li {
  float: left;
}
.social-nav ul li a {
  width: 26px;
  height: 26px;
  display: inline-block;
  text-align: center;
}
.social-nav ul li a span {
  display: none;
}

.logo {
  padding: 10px 0px;
}

.logo h1 {
  margin: 0px;
}

.logo img {
  height: 50px;
}
.secondary-nav ul {
  margin: 0px;
  list-style-type: none;
  float: right;
}
.secondary-nav ul li {
  float: left;
  line-height: 17px;
  font-size: 14px;
  border-right: 1px solid #bbb;
  padding: 5px 15px;
}
.secondary-nav ul li:last-child {
  width: 70px;
  text-align: center;
}
.secondary-nav ul li:first-child {
  border-left: 1px solid #bbb;
}
.secondary-nav ul li.extraNav {
  display: none;
}
@media only screen and (min-width: 1011px), print and (min-width: 4in) {
  .secondary-nav ul li.extraNav {
    display: block;
  }
}
.secondary-nav ul li a {
  display: inline-block;
  line-height: 60px;
  font-weight: bold;
  color: #333;
}
.secondary-nav ul li a i {
  line-height: 60px;
}
div.mobileNav {
  color: white;
}
div.mobileNav div.mobileLogo {
  float: left;
  padding: 5px 0px;
}
div.mobileNav div.mobileLogo img {
  width: 20px;
}
div.mobileNav div.menuButton {
  float: right;
  font-size: 18px;
  padding: 5px 0px;
}
div.mobileNav div.menuButton i.fa {
  color: white;
}
div.mobile-social-nav .fa {
  color: black;
  font-size: 18px;
  line-height: 26px;
  padding: 0px 6px;
}
div.mobile-social-nav ul {
  margin: 0px;
  list-style-type: none;
  width: 100%;
}
div.mobile-social-nav ul li {
  float: left;
  width: 25px;
  padding: 10px 20px;
}
div.mobile-social-nav ul li a {
  padding: 2px 10px;
  height: 25px;
  display: inline-block;
  text-align: center;
}
div.mobile-social-nav ul li a span {
  display: none;
}
div.mobile-nav ul li a {
  padding: 10px 15px;
}
div.mobile-nav .lblSearch {
  padding: 0px;
}
.search-box {
  position: relative;
}
.search-box i {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  height: 15px;
  width: 15px;
  font-size: 15px;
  margin: auto;
  cursor: pointer;
}
.search-box input {
  width: 100%;
  height: 50px;
  font-size: 18px;
  padding: 10px;
  background-color: transparent;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid #999;
  outline: none;
}
div.bottom-bar {
  width: 100%;
  background-color: #002740;
  color: #fff;
  padding: 20px 0px;
}
div.bottom-bar .social,
div.bottom-bar .slugs,
div.bottom-bar .info {
  margin: 10px 0px;
}
div.bottom-bar .social > p,
div.bottom-bar .slugs > p,
div.bottom-bar .info > p {
  border-bottom: 1px solid white;
  margin-bottom: 10px;
}
div.bottom-bar .social .fa,
div.bottom-bar .slugs .fa,
div.bottom-bar .info .fa {
  color: white;
  font-size: 18px;
  line-height: 26px;
  padding: 0px 6px;
}
div.bottom-bar .social ul,
div.bottom-bar .slugs ul,
div.bottom-bar .info ul {
  margin: 0px;
  list-style-type: none;
  padding-left: 0px;
}
div.bottom-bar .social ul li a,
div.bottom-bar .slugs ul li a,
div.bottom-bar .info ul li a {
  color: #fff;
  height: 26px;
  display: inline-block;
}
div.bottom-bar .social ul li a i,
div.bottom-bar .slugs ul li a i,
div.bottom-bar .info ul li a i {
  width: 26px;
  margin-right: 5px;
}
div.bottom-bar .slugs .navSearch {
  display: none;
}
div.bottom-bar .attribution {
  text-align: center;
  color: white;
}
div.leaderboard {
  width: 728px;
  height: 90px;
  background-color: rgba(255, 0, 0, 0.5);
  float: left;
}
div.leaderboard img {
  width: 100%;
}
@media screen and (max-width: 728px) {
  .leaderboard {
    width: 97%!important;
    height: auto!important;
    float: none !important;
    margin: 0 auto;
  }
}
div.newsletter {
  float: left;
}
div.newsletter.top {
  max-width: 257px;
  margin-left: 15px;
  position: relative;
  height: 90px;
}
div.newsletter.top input[type=text] {
  width: 100%;
  height: 40px;
  border: none;
  border-bottom: 1px solid black;
  margin-bottom: 5px;
}
div.newsletter.top span {
  font-size: 16px;
  font-weight: bold;
}
div.newsletter.top input[type=button] {
  border: none;
  background-color: #5677fc;
  padding: 6px;
  color: white;
  font-size: 16px;
}
@media only screen and (min-width: 500px) and (max-width: 1010px) {
  div.newsletter.top {
    display: none;
  }
}
@media only screen and (max-width: 499px) {
  div.newsletter.top {
    display: none;
  }
}
div.blocks header {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}
div.blocks header a {
  color: #888;
}
div.blocks ul {
  position: relative;
  width: 100%;
  display: inline-block;
  padding-left: 0px;
}
div.blocks ul li {
  list-style-type: none;
  float: left;
  margin: 0px 10px 20px 10px;
  position: relative;
}
@media only screen and (min-width: 1011px), print and (min-width: 4in) {
  div.blocks ul li:first-child,
  div.blocks ul li:nth-child(4n+1) {
    margin-left: 0px;
  }
  div.blocks ul li:last-child,
  div.blocks ul li:nth-child(4n) {
    margin-right: 0px;
  }
}
@media only screen and (min-width: 500px) and (max-width: 1010px) {
  div.blocks ul li:first-child,
  div.blocks ul li:nth-child(3n+1) {
    margin-left: 0px;
  }
  div.blocks ul li:last-child,
  div.blocks ul li:nth-child(3n) {
    margin-right: 0px;
  }
}
@media only screen and (min-width: 1011px), print and (min-width: 4in) {
  div.blocks ul li a img {
    width: 230px;
    height: 230px;
  }
}
@media only screen and (min-width: 500px) and (max-width: 1010px) {
  div.blocks ul li a img {
    width: 24.5%;
    height: 24.5%;
  }
}
div.blocks ul li a h4 {
  position: absolute;
  bottom: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  margin: 0px;
  color: white;
  height: 25%;
  font-size: 14px;
}
body {
  font-family: roboto !important;
}
.content-inner {
  background-color: transparent !important;
  margin-top: 100px;
}
@media only screen and (min-width: 1011px), print and (min-width: 4in) {
  #everything .row {
    padding: 20px 0px;
  }
}
@media only screen and (min-width: 500px) and (max-width: 1010px) {
  #everything .row {
    padding: 20px 0px;
  }
}
@media only screen and (max-width: 499px) {
  #everything .row {
    padding: 10px 0px;
  }
}
#everything #content {
  min-height: 300px;
}
.gray-block {
  background-color: #eee;
}
.post-holder {
  background-color: rgba(0, 255, 0, 0.3);
  min-height: 300px;
}

.cookie-banner h2 { font-size: 16px;}
.cookie-banner {
	position: fixed;
	top: 0;
	min-height: 100px;
	width: 100%;
	padding: 10px;
	background-color: #efefef;
	z-index: 20;
}

.cookie-banner .cookie-holder {
	position: relative;
	padding-right: 40px;
}

.cookie-banner .close-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    height: 20px;
    width: 20px;
    font-size: 20px;
    cursor: pointer
}

    
       
#header.cookie {
	top:100px;
}

@media screen and (max-width: 400px) {
	#header.cookie {top: 130px;}
}



@media only screen and (min-width: 992px) {
  .row-equal-height {
    display: flex;
  }
  .row-equal-height > div {
    display: flex;
  }
  .row-equal-height .panel {
    flex-grow: 1;
  }
}
	.sign-up-modal .row {
		margin: 0;
	}
	
	.sign-up-modal .col-lg-6 {
		padding: 0;
	}

	.sign-up-modal .modal-body {
		padding: 0;
		font-family: sans-serif;
	}
	
	.sign-up-modal .right-shadow {
		    box-shadow: 0 0 5px 0;
	}

	.sign-up-modal .image-quote {	
		padding: 60px 30px;
		background-image: url('/resources/images/modals/signUpModal.jpg');
		background-size: cover;
	}
		
	.sign-up-modal .image-quote .white-box {
		padding: 10px;
		background-color: rgba(255,255,255, 0.65);
	}
	
	.sign-up-modal .image-quote .white-box input {
		    width: 100%;
		    padding: 5px;
		    font-size: 15px;
		    border: none;
		    box-shadow: 0px 0px 2px 0px;
	}
	
	.sign-up-modal .white-box .title {
		margin:	10px 0px;
	}
	
	.sign-up-modal .rss-holder {
		padding: 20px 30px;
		background: #F2B329;

	}
	
	.sign-up-modal .rss-holder input[type="checkbox"] {
 		margin-right: 10px;
	}
	
	.sign-up-modal .close {
		color: black;
		position: absolute;
		top: 10px;
		right: 10px;
		z-index: 20;
		font-size: 14px;
	}
	
	.sign-up-modal .slugs {
		background-color: #00adff;
		height: 150px;
	}
	
	.sign-up-modal .slugs ul {
		list-style-type: none;
		padding: 20px;
		margin: 0;
	}
	
	.sign-up-modal .slugs ul li {
		color: white;
		font-size: 18px;
	}
	
	.sign-up-modal .quote {
		padding: 20px;
	}
	.sign-up-modal .submit {
	    border: 0;
	    background: transparent;
	    margin-top: 10px;
	}
	
	.sign-up-modal .fb-sign-up {
		width: 100%;
		background-color: #3b5998;
		color: white;
		border: 0;
		padding: 10px;
	}
	.sign-up-modal .or-separator {
		text-align: center;
		margin: 10px 0px;
		font-weight: bold;
	}


	.external-modal, .success-modal, .error-modal { text-align: center; }
	.external-modal .info-image {
		width: 400px;
		margin-bottom: 10px;
	}
    
       .jump-link {margin-top: 10px;}
       .jump-link > a {
		text-decoration: none;
		color: white !important;
		font-size: 14px;
		background-color: #5677fc;
		padding: 5px;
	}
