/*
 Theme Name:   NCPAC
 Description:  A theme for the NCPAC Case Law Database
 Author:       Van City Studios
 Author URI:   http://www.vancitystudios.com
 Template:     bootstrap-basic
 Version:      1.0.0
*/

/* light blue color: #689bc6 */
/* dark blue color: #252a32 */

@import url(https://fonts.googleapis.com/css?family=Exo+2:400,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

/* general */
body {
	font: 18px/1.35 "Open Sans",Helvetica,sans-serif;
	color: #fff;
}
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}
.page-container {
	overflow: hidden;
}
a.button1, .button1 a, input[type="submit"] {
	padding: 15px;
  display: inline-block;
  background-color: #689bc7;
  color: white;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  border: 0;
  border-left: 4px solid white;
}
a.button1:hover, .button1 a:hover, input[type="submit"]:hover {
	text-decoration: none;
	background-color: #86bfee;
	border-color: #439ce5;
}
a {
	color: #689bc7;
}
a:hover, a:focus {
	text-decoration: none;
}


/* NAV */
.navbar-nav>li {
	padding: 8px 15px;
}
.navbar-nav>li:hover {
	background-color: #86bfee;
	cursor: pointer;
}
.navbar-nav>li>a {
	color: white;
	font-size: 16px;
	padding: 0;
	text-shadow: none;
}
.navbar-nav>li>a:hover, .navbar-nav>li>a:focus {
	background-color: transparent;
	color: white;
}


/* header */
.header-container {
  background-color: #252a32;
  position: relative;
}
header[role="banner"] {
	position: relative;
}
.header-container #menu {
  display: table;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  background-color: transparent;
  border-right: 0;
  border-top: 0;
  float: right;
  height: 150px;
  max-width: 68.22612%;
  margin-left: 1.94932%;
  margin-bottom: 0;
  position: static;
  width: auto;
  top: 0;
  left: -16em;
  z-index: 999;
}
.header-container #menu .navbar-collapse {
  margin: 0;
  padding: 1.25em 0 1.25em 1.25em;
  clear: both;
  list-style: none;
  display: table-cell !important;
  vertical-align: middle;
  text-align: right;
  position: relative;
}
.header-container .site-logo {
  background: #252a31;
  color: #fff;
}
.header-container .site-logo header {
  float: left;
  text-align: left;
  max-width: 27.87524%;
  margin-left: 0;
  background: #6a9cc5;
  color: #fff;
  vertical-align: middle;
  position: absolute;
  height: 100%;
  padding: 1em 2em 1em 0;
  width: 70%;
}
.header-container .site-logo header:before {
  border-left: 9999px solid #6a9cc5;
  box-shadow: 0 0 0 #6a9cc5;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -9998px;
  right: 0;
}
.header-container .site-logo header img {
	max-width: 100%;
}
.header-container .site-logo header a {
	position: relative;
	z-index: 10;
}
#header-image img {
    width: 100%;
}

.dont-break-out {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

}

/* main column */
#main-column {
	background-color: #303641;
  padding-top: 45px;
  padding-bottom: 45px;
}
#main-column:before {
	border-left: 9999px solid #303641;
  box-shadow: 0 0 0 #303641;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -9998px;
  right: 0;
  z-index: -1;
}
#main-column .post, #main-column .page {
	border: none;
	background-color: #f0f0f0;
	color: #5b5b5b;
  padding: 35px;
  margin-right: 15px;
}
#main-column .post .entry-title, #main-column .page .entry-title {
	font-size: 24px;
	font-weight: bold;
	position: relative;
  padding-left: 12px;
}
#main-column .page .entry-title {
  margin-bottom: 25px;
}
#main-column .post .entry-title:before, #main-column .page .entry-title:before {
	border-left: 4px solid #689bc7;
	content: "";
  position: absolute;
  left: 0px;
  height: 100%;
}
#main-column .post .entry-title a, #main-column .page .entry-title a {
	color: #5b5b5b;
}
#main-column .post .entry-title a:hover, #main-column .page .entry-title a:hover {
	color: #689bc7;
}
#main-column .post .entry-content .resource-link {
	font-size: 16px;
  margin-top: 20px;
}
#main-column .post .entry-content .resource-link span {
	font-weight: bold;
}
#main-column .post .entry-content .download a {
  color: white;
  background-color: #689BC7;
  padding: 15px 18px;
  display: inline-block;
  border-left: 4px solid white;
  margin-top: 25px;
}
#main-column .post .entry-content .download a:hover {
	background-color: #86bfee;
  border-color: #439ce5;
}
#main-column .post a.read-more, #main-column .page a.read-more {
	font-weight: bold;
  margin-top: 5px;
  display: inline-block;
}
#main-column .post .entry-meta, #main-column .page .entry-meta {
	margin-top: 20px;
	margin-bottom: 20px;
}
#main-column .post .entry-meta .meta, #main-column .page .entry-meta .meta {
	font-size: 14px;
	color: #5b5b5b;
	margin-bottom: 2px;
}
#main-column .post .entry-meta .meta span, #main-column .page .entry-meta .meta span {
	font-weight: bold;
  padding-right: 2px;
}
#main-column .post #crumbs, #main-column .page #crumbs {
	padding-left: 0;
	margin: 0;
	font-size: 14px;
	font-weight: bold;
  margin-bottom: 12px;
}
#main-column .post #crumbs li, #main-column .page #crumbs li {
	list-style: none;
	display: inline-block;
  margin-right: 5px;
}
#main-column .post #crumbs li a, #main-column .page #crumbs li a {
	padding-right: 5px;
}


.menu-primary-menu-container, .menu-primary-menu-french-container {
	margin-bottom: 45px;
}
.menu-primary-menu-container ul, .menu-primary-menu-french-container ul {
	padding: 0;
	margin: 0;
}
.menu-primary-menu-container ul li, .menu-primary-menu-french-container ul li {
	list-style: none;
	display: inline-block;
	margin: 0 12px 0 0;
	position: relative;
}
.menu-primary-menu-container ul li:last-child, .menu-primary-menu-french-container ul li:last-child {
	margin-right: 0;
}
.menu-primary-menu-container ul li ul.sub-menu, .menu-primary-menu-french-container ul li ul.sub-menu {
	display: none;
	position: absolute;
	width: auto;
  right: 0;
  z-index: 1;
  white-space: nowrap;
}
.menu-primary-menu-container ul li ul.sub-menu li, .menu-primary-menu-french-container ul li ul.sub-menu li {
	margin-right: 0;
  display: block;
}
.menu-primary-menu-container ul li ul.sub-menu li a, .menu-primary-menu-french-container ul li ul.sub-menu li a {
	border-left: none;
	font-size: 16px;
	font-weight: normal;
	text-transform: none;
	padding: 5px 10px;
  text-align: right;
	display: block;
}


/* Sidebar styling */
.searchandfilter li {
  width: 100%;
  padding: 5px 0;
}
#sidebar-right {
	background-color: #1c2026;
  padding-top: 45px;
  padding-bottom: 45px;
}
#sidebar-right:after {
  content: "";
  border-right: 9999px solid #1c2026;
  box-shadow: 0 0 0 #1c2026;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -9998px;
  left: 0;
  z-index: -1;
}
#sidebar-right .widget {
	border: none;
	padding: 0;
  padding-left: 15px;
}
#sidebar-right .widget .widget-title {
	font-size: 24px;
}
#sidebar-right .widget .search-info {
	font-size: 13px;
	margin-bottom: 10px;
	font-weight: normal;
	font-style: italic;
}
#sidebar-right .widget ul li ul li {
	padding: 0;
}


.searchandfilter ul {
	max-width: 100%;
}
.searchandfilter > ul {
	padding-left: 0 !important;
	margin: 0;
}
.searchandfilter label {
	font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  display: initial;
}
.searchandfilter h4 {
  font-size: 18px;
  margin: 15px 0 10px;
  padding: 0;
}
.searchandfilter h4 + ul {
	max-height: 200px;
	overflow: scroll;
	padding-left: 0 !important;
}
.searchandfilter select.sf-input-select {
	max-width: 100%;
	color: #333;
}
.searchandfilter input[type="submit"] {
	margin-top: 25px;
}
.searchandfilter input.sf-input-text {
  width: 100%;
  font-size: 18px;
  color: #616161;
  height: 45px;
  padding: 5px 10px;
}
.searchandfilter ul li ul li ul {
  margin-left: 0px;
}


/* Pagination */
.pagination-center {
	text-align: left;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
	background-color: #689bc7;
	border-color: #689bc7;
}
.pagination>li>a, .pagination>li>span {
  border-radius: 0 !important;
  margin-right: 8px;
}


.page-header {
	border-bottom: 4px solid #689bc7;
	padding-bottom: 0px;
  margin-right: 15px;
  margin-bottom: 30px;
}
.page-header h1 {
	margin-bottom: 0;
}


#site-footer {
	background-color: #ddd;
	border: none;
	font-size: 18px;
	height: 150px;
}
#site-footer .container {
	position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
#site-footer ul {
	padding: 0;
	margin: 0;
}
#site-footer ul li {
	list-style: none;
}



#lang_sel_click {
	position: absolute;
	top: 0;
	right: 15px;
	font-family: inherit;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	color: white;
}
#lang_sel_click li {
	width: auto;
}
#lang_sel_click a.lang_sel_sel {
	background: #689bc7;
  padding: 5px 10px;
  border: 0;
  color: white;
  font-size: 14px;
}
#lang_sel_click a.lang_sel_sel:hover {
	color: white;
	background-color: #86bfee;
}
#lang_sel_click a.lang_sel_sel:after {
	content: "\f0d7";
	display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: 5px;
}
#lang_sel_click ul ul {
	border: none;
	width: auto;
	top: inherit;
}
#lang_sel_click ul ul a, #lang_sel_click ul ul a:visited {
	background: #689bc7;
  color: white;
  font-size: 13px;
  font-weight: bold;
  font-family: inherit;
  padding: 7px 10px;
  border: 0;
}
#lang_sel_click ul ul a:hover {
	background: #86bfee;
}

.mobile-search-link {
	margin: -35px 0 25px 0;
}
.mobile-search-link a {
	color: white;
	font-style: italic;
	font-size: 14px;
}
.mobile-search-link a:hover {
	color: #689bc7;
}


@media(max-width:991px) {
	#content > .row-eq-height {
		display: inherit;
	}
	#main-column:after {
    border-left: 9999px solid #303641;
    box-shadow: 0 0 0 #303641;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -9998px;
    z-index: -1;
	}
	#sidebar-right:before {
    content: "";
    border-right: 9999px solid #1c2026;
    box-shadow: 0 0 0 #1c2026;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: -9998px;
    z-index: -1;
	}
	
	a.button1, .button1 a, input[type="submit"] {
		margin-bottom: 15px;
	}
	
	.header-container #menu {
		height: 110px;
	}
}









