@import url('//fonts.googleapis.com/css?family=Roboto');

* {
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* font for headings, labels, etc.*/

.banner, a.menu-btn, .site-footer, h1, h2, h3, h4, h5, h6, caption, figcaption, th, tfoot td, label, legend, button, input[type="submit"], .tabs, .tabs-nav-previous, .tabs-nav-next, .print-link {
	font-family: "Roboto", Arial, sans-serif;
}

/*body font*/

body {
	color: #555;
	font-family: Arial, sans-serif;
}

/*content font*/

.wrapper {
	color: #333;
	font-weight: 400;
	line-height: 1.8125em;
}

/*
.field, .views-field {
	word-break: break-word;
}
*/

.form-wrapper {
    overflow-x: auto;
}


/*
.views-field-title {
	min-width: 110px;
}
*/
.views-field-changed {
	width: 150px;	
}
.views-field-view-node {
	width: 60px;
}



/*layout*/

body {
	margin: 0;
}

.wrapper {
	max-width: 1170px;
	margin: 0 auto;
	padding-bottom: 2em;
}

.banner {
	border-bottom: 1px solid #e2e2e2;
}

.banner, .site-footer {
	background: #F4F5F2;
}

.region-header, .region-primary-nav {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 1.4%;
}

.region-footer {
	max-width: 1170px;
	margin: 0 auto;
	padding: 1.4%;
}


.main {
	width: 90%;
	padding: 1.7%;
	min-height: calc(100vh - 70px);
}

.two-col .main {
	width: 70%;
	float: left;
}

.sidebar {
	width: 30%;
	float: left;
	padding: 1.7%;
}

.site-footer {
	border-top: 1px solid #ccc;
	color: #898989;
	padding: 0 1.4%;
}

/*site-name link*/

.site-name {
	padding: 0.67em 0 0 0;
}

.site-name a {
	font-weight: bold;
	font-size: 2em;
}

.site-name a:link, .site-name a:visited {
	color: #000000; /* #5B4282; */
	text-decoration: none;
}

.site-name a:hover {
	color: #6C5296;
	text-decoration: none;
} 

.site-name a:active {
	color: #5B4282;
	text-decoration: none;
}

.site-slogan {
	font-size: .9em;
	font-style: italic;
	margin-top: .5em;
}

/*responsive menu button*/

a.menu-btn {
	font-size: 1.2em;
	color: #333;
	text-decoration:none;
	font-weight: bold;
	text-align: center;
	display: none;
}

/*primary nav menu*/

.region-primary-nav .menu {
	margin: 2em 0;
}

.region-primary-nav ul {
	list-style-type:none;
	padding:0;
    margin: 2em 0;
}
   
.region-primary-nav li {
	display: inline;
	padding: 0.25em;
}
   
.region-primary-nav a {
	color: #333;
	text-decoration:none;
	font-weight: bold;
	display: inline-block;
	padding:0.2em 0.6em;
	text-align: center;
	border: 1px solid #ccc;
}

.region-primary-nav .menu-item--active-trail a {
	background-color: #EDEAEA;
}
   
.region-primary-nav a:hover {
	background-color:#fff;
	color: #555;
}

/*links*/

.wrapper .region-content a:link {
	color: #5B4282;
}

.wrapper .region-content a:visited  {
	color: #A28FC1;
}

.wrapper .region-content a:hover{
	color: #6C5296;
}

.region-footer li {
	display: inline;
	padding-right: 2em;
}

.region-footer a {
	color: #666;
	text-decoration: none;
}

.region-footer a:hover{
	color: #333;
	text-decoration: none;
}

/*tables*/

table {
	border: 1px solid #ccc; 
	border-collapse: collapse;
 }
 
caption {
	color: #555;
}
  
th {
	background: #F4F5F2;
	padding: 5px 4px;
	text-shadow: 1px 1px #fff;
	border-right: 1px solid #ccc;
	color:#333;
}

tbody tr:nth-child(even) {
	background: #EAE3F7;
}

tbody tr:nth-child(odd) {
	background: #fff;
}

td { 
	color: #747474;
	padding: 6px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

td.active {
	background: none;
}

tfoot td{
	background: #F4F5F2;
	text-shadow: 1px 1px #fff;
	color:#555;
	font-size: .8em;
	font-style: italic;
}

/*drupal-specific*/

.path-frontpage ol li {
	font-size: 1.25em;
}

.messages--status {
padding: .6em;
color: green;
font-size: 1.3em;
font-weight: bold;
border: 1px solid #e2e2e2;
background: #fafafa;
margin: 1em 0;
}

/*contact form */

.contact-form input[type="text"], .contact-form input[type="email"] {
	display: block;
}

.contact-form label {
	font-weight: bolder;
}

.contact-form #edit-preview {
	display: none;
}

/*images in content*/

.align-left {
	margin-right: .6em;
}

.align-right {
	margin-left: .6em;
}

/*webquests */

.tabs.wq-back2top {
	text-align: right;
}

/*webquest node add form */

.filter-help {
display: none;
}

form[action="/node/add/webquest"] input.form-submit {
	font-size: 1.6em;
	font-weight: bold;
	padding: .3em .6em;
	background-color: #E3D4FC;
	color: #C9223B;
	width: 12em;
	margin-top: 1em;
	margin-left: 9.42em;
	display: block;
	border: 2px solid #5B4282;
}

form[action="/node/add/webquest"] input.form-submit:hover {
	background-color: #EAE3F7;
	color: #C9223B;
}

.view-webquests .views-table, .view-webquests table.cols-3, .views-element-container table.cols-3, .views-element-container .views-table {
	table-layout: fixed;
	width: 100%;
	margin-top: 1.5em;
}

/*responsive*/


img, embed, object, video {
  max-width: 100%;
  height: auto;
}

summary {
    background: #EAE3F7;
	color: #5B4282;
    font-weight: bold;
}

@media (max-width: 767px) {
 
    .main, .two-col  .main, .sidebar {
        width: auto;
        float: none;
    }
	
	a.menu-btn {
		display: block;
	}
	
	.region-primary-nav ul {
		display: none;
	}
	
	.region-primary-nav li {
		display: block;
		margin: 0.25em;
	}
	
	.region-primary-nav a {
		display: block;
		padding: 0.6em 0;
	}
	
	.site-title {
		text-align: center;
		padding-top: 1.67em;
	}
 
 }

/* Local task tabs (restore horizontal tabs after stable9 rebase) */
.tabs.primary {
  list-style: none !important;
  padding: 0 !important;
  margin: 1em 0 !important;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
}
.tabs.primary li {
  display: inline-block !important;
  margin: 0 0.25em 0 0;
  padding: 0;
}
.tabs.primary li a {
  display: block;
  padding: 0.4em 1em;
  text-decoration: none;
  color: #5B4282;
  border: 1px solid #ccc;
  border-bottom: none;
  background: #f4f5f2;
  border-radius: 4px 4px 0 0;
}
.tabs.primary li a:hover {
  background: #EAE3F7;
}
.tabs.primary li a.is-active {
  background: #fff;
  color: #333;
  font-weight: bold;
}

/* back to the top link */
.tabs.wq-back2top {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tabs.wq-back2top li {
  display: inline;
}
.tabs.wq-back2top a {
  text-decoration: underline;
  color: #5B4282;
}

/* Search block: keep input + button on one line (classy parity after stable9 rebase) */
#search-block-form .form-item,
#search-block-form .form-actions {
  display: inline-block;
  vertical-align: top;
  margin: 0 0.25em 0 0;
}

/* Webquest section <details> spacing (classy parity after stable9 rebase) */
.region-content details {
  margin-bottom: 1em;
}

/* Search block: spacing below + slightly larger input/button (classy parity) */
#search-block-form {
  margin-bottom: 1.5em;
}
#search-block-form .form-search {
  padding: 0.3em 0.5em;
  font-size: 1em;
}
#search-block-form .form-submit {
  padding: 0.3em 0.8em;
  font-size: 1em;
}

/* Webquest section <details> boxed look (classy parity, keep native arrow) */
.region-content details {
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1em;
  overflow: hidden;
}
.region-content details > summary {
  padding: 0.5em 1em;
  cursor: pointer;
}
.region-content details > *:not(summary) {
  padding: 0 1em 1em 1em;
}

/* Global form input/button sizing (classy parity after stable9 rebase) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select,
.button,
.form-submit,
button,
input[type="submit"] {
  font-size: 1em;
  padding: 0.4em 0.6em;
  line-height: 1.2;
}
select {
  padding: 0.3em 0.4em;
}

/* forms */
.form-item, .form-actions {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* Pager: horizontal layout (classy parity after stable9 rebase) */
.pager__items {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  text-align: center;
}
.pager__item {
  display: inline-block;
  margin: 0 0.25em;
}
.pager__item a,
.pager__item.is-active {
  display: inline-block;
  padding: 0.2em 0.6em;
  text-decoration: none;
  color: #5B4282;
}
.pager__item.is-active {
  font-weight: bold;
  color: #333;
}

/* Search results: remove ordered-list numbering (classy parity after stable9 rebase) */
.path-search .region-content ol,
.region-content ol.search-results {
  list-style: none;
  padding: 0;
  margin: 0;
}

.region-primary-nav ul li a.is-active {
    color: #000;
}

.region-primary-nav ul li a.is-active {
    background-color: #EDEAEA;
}
