/* CSS Document */

*, ::after, ::before {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

.container {
	padding: 0;
	margin: 0 auto;
	width: 90%;
	max-width: 1500px;
	padding-right: .9375rem;
	padding-left: .9375rem;
	margin-right: auto;
	margin-left: auto;
}

section {
	display: block;
	font-family: Roboto,sans-serif;
	font-size: 1.125rem;
	line-height: 1.5;
	color: #373a3c;
}

dl, ul {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 200;
  list-style-type: none;
}

ul {
  padding: 0 !important;
}

li {
	margin-bottom: .5rem;
	font-weight: 300;
	letter-spacing: .02em;
	list-style-type: none;
}

a {
	color: #2dafa7;
	text-decoration: none;
	background-color: transparent;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

a:focus, a:hover {
	color: #299e98;
	text-decoration: underline;
}

a:hover {
	outline: 0;
}

a:hover, a:active, a:focus {
	text-decoration: none;
}

p {
	letter-spacing: .03rem;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	margin-bottom: .5rem;
	margin-top: 0;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}

button, input, select, textarea {
	margin: 0;
	line-height: inherit;
	border-radius: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
	display: block;
}

p.summary {
	padding: 0 25px;
	font-size: 26px;
	text-align: justify;
	line-height: 40px;
	max-width: 1500px;
	margin: 50px auto;
}
	
.blocks-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
}

.transition {
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

[role="button"], a, area, button, input, label, select, summary, textarea {
	-ms-touch-action: manipulation;
	touch-action: manipulation;
}

.blocks-item {
	border-radius: 0;
	text-align: left;
	border: 1px solid #d0d0d3;
	/*border-top: 5px solid rgba(33, 150, 243, 1);*/
	border-top: 5px solid rgba(41, 158, 152, 1);
	box-sizing: border-box;
	color: #d0d0d3;
	display: flex;
	flex: 1 0 340px;
	margin: 0 0 30px;
	max-width: 100%;
	padding: 30px 0;
	margin: 0 15px 30px;
}

.blocks-item:hover, .blocks-item:focus, .blocks-item:active {
	background-color: rgba(45, 175, 167, 1);
}

.blocks-item:hover *, .blocks-item:focus *, .blocks-item:active * {
	color: #FFFFFF !important;
	text-decoration: none;
}

.blocks-item-link {
	color: rgba(45, 175, 167, 1);
	padding: 20px 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: center;
	border-radius: inherit;
}

.blocks-item-link:hover, .blocks-item-link:active {
	text-decoration: none;
}

.blocks-item-link:focus {
	outline: 0;
	text-decoration: none;
}

.blocks-item-title {
	color: #333333;
	font-size: 26px;
	font-weight: 600;
	margin-bottom: 5px;
}

.blocks-item-description {
	font-weight: 300;
	margin: 0;
}

.blocks-item-description:not(:empty) {
	margin-top: 10px;
	color: #666;
}

/* ARTICLES */
.sub-nav {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 50px;
	padding-bottom: 15px;
}
.breadcrumbs {
	margin: 0 0 15px 0;
	padding: 0;
}
ol {
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-weight: 200;
}

.breadcrumbs li {
	color: #666;
	display: inline;
	font-weight: 400;
	font-size: 15px;
	max-width: 450px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.breadcrumbs li + li::before {
	content: ">";
	margin: 0 4px;
}

.breadcrumbs li a:visited {
	/*color: rgba(33, 131, 243, 1);*/
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
	display: block;
}

.article-sidebar {
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	flex: 1 0 auto;
	margin-bottom: 20px;
	padding: 0;
}

.article-container {
	display: flex;
	flex-direction: column;
}

.collapsible-sidebar {
	flex: 1;
	max-height: 45px;
	overflow: hidden;
	padding: 10px 0;
	position: relative;
}

.collapsible-sidebar-title {
	margin-top: 0;
}

.sidenav-title {
	font-size: 15px;
	position: relative;
}

.collapsible-sidebar-body {
	display: none;
}

.sidenav-item {
	border-radius: 4px;
	color: #333333;
	display: block;
	font-weight: 400;
	font-size: 14px;
	margin-bottom: 5px;
	padding: 4px;
}

.sidenav-item.current-article, .sidenav-item:hover {
	background-color: rgba(45, 175, 167, 1);
	color: #FFFFFF;
	text-decoration: none;
}

.collapsible-sidebar-toggle {
	position: absolute;
	top: calc(45px / 2);
	transform: translateY(-50%);
	right: 0;
	padding: 0;
	border: 0;
	background: none;
	width: 25px;
	height: 25px;
	border-radius: 50%;
}

.collapsible-sidebar-toggle:focus {
	outline: none;
	border: 1px solid rgba(45, 175, 167, 1);
}

.article {
	flex: 1 0 auto;
}

.article-header {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 10px;
	margin-top: 20px;
}

.article-info {
	max-width: 100%;
}

h1.article-title {
	font-size: 2.5rem;
}

.article-content {
	line-height: 1.6;
	margin: 40px 0;
	word-wrap: break-word;
}

.article-body p {
	margin-bottom: 10px !important;
	font-size: 17px !important;
	letter-spacing: .03rem;
	margin-top: 0;
	font-weight: 300;
}

.article-body h2 {
	padding: 12px 0 12px 0;
	font-weight: 400;
	font-size: 28px !important;
	margin-top: 25px;
}

.article-body img {
	width: 90%;
	max-width: 1000px;
}

#upButton {
  display: inline-block;
  background-color: #2dafa7;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#upButton::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#upButton:hover {
  cursor: pointer;
  background-color: #299e98;
}
#upButton:active {
  background-color: #134542;
}
#upButton.show {
  opacity: 1;
  visibility: visible;
}

/* Styles for the content section */

.content {
  width: 77%;
  margin: 50px auto;
  font-family: 'Merriweather', serif;
  font-size: 17px;
  color: #6c767a;
  line-height: 1.9;
}
@media (min-width: 500px) {
  .content {
    width: 43%;
  }
  #button {
    margin: 30px;
  }
}

@media (min-width: 768px) {
.blocks-list {
	margin: 0 -15px; 
	}
.blocks-item {
	margin: 0 15px 30px;
	}
	
.sub-nav {
	align-items: baseline;
	flex-direction: row;
	}
.breadcrumbs {
	margin: 0;
	}
	
	.article-header {
	flex-direction: row;
	margin-top: 0;
	}
}

@media (min-width: 1024px) {
	.article-container {
	  flex-direction: row;
	}
	.article-sidebar {
	  border: 0;
	  flex: 0 0 17%;
	  height: auto;
	}
	.collapsible-sidebar {
		max-height: none;
		padding: 0;
	}
	.collapsible-sidebar-body {
		display: block;
	}
	.collapsible-sidebar-toggle {
		display: none;
	}
	.article {
		flex: 1 0 85%;
		max-width: 85%;
		min-width: 640px;
		padding: 0 30px;
	}
}

@media only screen and (max-width: 1000px) {
	p.summary {
		padding: 0 25px;
		font-size: 18px;
		text-align:justify;
		margin: 10px auto 20px;
		line-height: 26px;
	}
	.article-body h2 {
		font-size: 26px!important;
	}
	.article-body img {
		width: 120%;
		margin-left: -10%;
	}
}

