body {
	background-color: #f2f2f2;
}

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
    /*font-weight: 300;*/
}

a {
	color: #03a9f4;
}

*, *:after, *:before {
	box-sizing: border-box;
}

.sub-navbar {
    background: linear-gradient(to top, rgb(35, 37, 38), rgb(65, 67, 69));
    color: #fff;
}
.sub-navbar a.discreet {
	text-decoration: none;
	color: inherit;
	margin: 0;
}
.sub-navbar h3 {
	margin-top: 10px;
	margin-bottom: 10px;
}
.sub-navbar #searchBar {
	margin: 13px 0;
}
.sub-navbar #searchBar .search-query {
    display: block;
    width: 100%;
    margin: 0;
    padding-right: 35px;
    font-size: 14px;
    line-height: 18px;
    height: 40px;
    color: #666;
}
.sub-navbar #searchBar button {
    position: absolute;
    right: 12px;
    margin: 0;
    padding: 0;
    line-height: 16px;
    border: 0;
    background: 0 0;
}
.sub-navbar .sub-navbar-title {
	float: left;
}
.sub-navbar .sub-navbar-search {
	float: right;
}

#serp-dd {
	border-radius: 0 0 2px 2px;
}
.sub-navbar #serp-dd {
	right: 0;
	border-radius: 2px 0 2px 2px;
}

#sidebar #searchBar {
	display: none;
}

.container-fluid {
	max-width: 1280px;
}

span.icon-bar {
	color: #333;
}

.navbar-brand > img {
    height: 40px;
    width: 173.3px;
}

.navbar {
    margin-bottom: 0;
}
.navbar .nav {
	position: static;
}
.navbar .nav > li {

}
.navbar .nav a {
	font-size: inherit;
	line-height: inherit;
	line-height: 1.42857143;
}

.btn {
	text-shadow: none;
}

.navbar .nav a.btn {
	padding: 10px 28px;
	margin: 10px 1px;
}
.navbar .nav a.btn-primary:hover,
.navbar .nav a.btn-primary:focus,
.navbar .nav a.btn-primary:active {
	color: rgba(255,255,255,.84);
}

.navbar .nav a.btn-sm {
    padding: 5px 20px;
    font-size: 12px;
}

.navbar .btn-navbar .icon-bar {
    box-shadow: none;
    background-color: #333 !important;
    border: none;
}

/* SEARCH BAR CONTAINER */
#docsSearch {
	padding: 10em 0;
	background: linear-gradient(to top, rgb(35, 37, 38), rgb(65, 67, 69));
}

#docsSearch h1 {
    font-size: 36px;
    /*font-weight: 300;*/
    text-align: center;
    margin-top: .4em;
    color: #fff;
}

.navbar .navbar-inner {
	box-shadow: none;
}

.contentWrapper h1 {
	font-weight: 300;
	margin-bottom: 40px;
}

/* SEARCH BAR */
#searchBar .search-query,
#searchBar form .search-query {
	border-radius: 2px !important;
	background-color: #fff;
	border: none !important;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
	font-size: 16px;
}
#sidebar form .search-query:focus,
#sidebar form .search-query:focus:invalid {
	border: none;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}

#searchBar button {
    border: none;
    box-shadow: none;
    text-shadow: none;
    border-radius: 0;
    background-color: transparent;
    color: #333;
    top: 50%;
    margin-top: -25px;
}
#searchBar button:hover {
	background-color: transparent;
}
#searchBar button .icon-search {
	display: block !important;
}
#searchBar button > span {
	display: none !important;
}

#sidebar .nav-list .active a .icon-arrow, #sidebar .nav-list .active a:hover .icon-arrow, #sidebar .nav-list .active a:focus .icon-arrow {
	display: none;
}

#sidebar .nav-list li {
    float: none;
    font-weight: normal;
    border-width: 0;
    border-style: solid;
    border-color: rgba(0,0,0, 0.87);
    -webkit-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    -o-transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
}
#sidebar .nav-list li.active {
	border-width: 0 0 0 5px;
}
#sidebar .nav-list a {
	color: rgba(0,0,0, 0.87);
	display: block;
	width: 100%;
	text-align: left;
	font-weight: inherit;
	padding: 10px 15px;
}
#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover,
#sidebar .nav-list .active a:focus {
	color: rgba(0,0,0, 0.87);
	padding-left: 10px;
	font-weight: inherit;
}

.collection-category {
    position: relative;
    float: left;
    border-radius: 2px;
    width: 25%;
    min-height: 100px;
    width: 31.3%;
    margin: 1%;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
    background-color: white;
    padding: 20px;
    padding-bottom: 64px;
}

.collection-category h2 {
    font-size: 24px;
    margin-bottom: 20px;
    /*font-weight: 300;*/
    text-align: left;
}

.collection-category h2 a,
.collection-category h2 a:hover,
.collection-category h2 a:focus {
	text-decoration: none;
	outline: none;
	border: none;
}

.collection-category h2 > a:after {
    content: 'Show all';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
}

.collection-category .category-list {
	height: 130px;
	overflow: hidden;
	margin: 0;
}

.collection-category .category-list .category {
    border: none;
    display: block;
    width: 100%;
    height: 26px;
    text-align: left;
    margin: 0;
    padding: 0;
}
.collection-category .category-list .category:hover {
	background-color: transparent;
}

.collection-category .category-list .category .article-count {

}

.category-list h3 {
	font-size: 16px;
	/*font-weight: 300;*/
	float: left;
	margin: 0;
	max-width: calc(100% - 5em);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    position: relative;
    padding-bottom: 4px;
}

.category-list .category p {
	display: none;
}

.category-list .category p.article-count {
	float: right;
	display: block;
	margin: 0;
}

#contentArea:before, #contentArea:after,
.category:before, .category:after,
.category-list:before, .category-list:after {
    display: table;
    content: "";
    line-height: 0;
}

#contentArea:after,
.category:after,
.category-list:after {
    clear: both;
}

/* Patch for not having .clearfix parent on .collection-category */
.collection-category + footer {
	float: left;
	width: 100%;
	margin-top: 20px;
}

#serp-dd .result a:hover, #serp-dd .result > li.active, #full-Article strong a, .collection a, .contentWrapper a, .most-pop-articles .popArticles a, .most-pop-articles .popArticles a:hover span, .category-list .category .article-count, .category-list .category:hover .article-count {
	color: #03a9f4;
}

#fullArticle iframe {
	max-width: 100%;
}


#categoryHead .sort select {

}

#mainNav {
	visibility: hidden;
	overflow: hidden;
	height: 60px;
}

#main-content {
	margin-top: 66px;
}
#main-content + #sidebar {
	margin-top: 98px;
}
.sub-navbar + #contentArea #main-content {
	margin-top: 0;
}
.sub-navbar + #contentArea #sidebar {
	margin-top: 32px;
}

@media(min-width: 769px) {

}

@media(max-width: 979px) {
	.collection-category {
		width: 47%;
		margin: 1.5%;
	}
}
@media(max-width: 767px) {
	.container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
		margin-left: 0;
		margin-right: 0;
	}

	.navbar-brand > img {
	    height: 30px;
	    width: 130.28px;
	}

	.collection-category {
		width: 100%;
		margin: 10px 0;
	}

	#docsSearch {
		padding: 5em 0;
	}
	#docsSearch h1 {
		font-size: 28px;
	}

	.sub-navbar {
		margin-left: -20px;
		margin-right: -20px;
		margin-bottom: 15px;
	}
	.sub-navbar .sub-navbar-title {
		float: none;
		text-align: center;
	}
	.sub-navbar .sub-navbar-search {
		float: none;
	}
}


@media (min-width: 768px) {
	.navbar .nav.navbar-right {
		margin-right: -15px;
	}
	.navbar .nav li {
	    float: left;
	    display: block;
	}
	.container-fluid {
		max-width: 750px;
	}
	.navbar .container {
	    width: 750px;
	}
}

@media (min-width: 992px) {
	.container-fluid {
		max-width: 970px;
	}
	.navbar .container {
	    width: 970px;
	}
}

@media (min-width: 1200px) {
	.container-fluid {
		max-width: 1170px;
	}
	.navbar .container {
	    width: 1170px;
	}
}
