*{
	box-sizing: border-box;
}
html{
	height: 100%;
	color: #333;
	font-size: 16px;
	font-family: Roboto, Arial, serif;
}

@media (min-width: 768px){
	html{
		font-size: 14px;
	}
}

body{
	margin: 0;
}

a{
	color: #337ab7;
	text-decoration: none;
}

a:hover,
a:focus{
    color: #23527c;
    text-decoration: underline;
}

/* table */

table{
	width: 100%;
	margin: 1em 0;
	border-collapse: collapse;
	font-size: .86em;
	text-align: left;
	vertical-align: middle;
}

@media (min-width: 768px){
	
	table{
		font-size: unset;
	}
	
}

thead,
tfoot,
tr{
	border-width: 0;
	border-style: solid;
	border-color: #dedede;
}

thead{
	border-bottom-width: 2px;
}

tfoot{
	border-top-width: 2px;
}

tbody > tr{
	border-top-width: 1px;
}

tbody > tr:hover{
	background-color: rgba(0,0,0,.04);
}

th,
td{
	padding: 1em;
}
	
th:first-child,
td:first-child{
	padding-left: 0;
}

th:last-child,
td:last-child{
	padding-right: 0;
}

input[type="search"]{
	-webkit-appearance: none;
}

/* image */

.image{
	display: inline-block;
}

.image_responsive{
	max-width: 100%;
}

.image-link{
	display: inline-block;
}

/* input */

.input-group{
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: stretch;
	align-items: stretch;
}

.input-group > :first-child{
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.input-group > :last-child{
	border-left-width: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group > :not(:last-child):not(:first-child){
	border-left-width: 0;
	border-radius: 0;
}

.input-group .button{
	display: block;
	width: auto;
}

/* button */

.button{
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: .75em 1em;
	background-color: transparent;
	border: 1px solid #dedede;
	border-radius: 6px;
	outline: none;
	color: inherit;
	font-size: inherit;
	font-family: inherit;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: border-color ease .25s;
}
.button::-moz-focus-inner{/* reset moz styles */
	border: 0;
	padding: 0;
	margin: 0;
}
.button:focus,
.button:hover{
	background-color: rgba(0,0,0,.04);
	border-color: #ccc;
	color: #000;
	text-decoration: none;
}
.button:active{
	box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.button_primary{
	background-color: #f6e301;
}
.button_primary:hover,
.button_primary:focus{
	background-color: #f1df02;
}

.button_large{
	font-size: 1.2em;
}

.button_disabled{
	color: gray;
	cursor: default;
}

.button_disabled:focus,
.button_disabled:hover{
	background-color: unset;
	border-color: #dedede;
	box-shadow: unset;
	color: gray;
}

@media (min-width: 768px){

	.button{
		display: inline-block;
		width: auto;
	}

	.button_fluid{
		display: block;
		width: 100%;
	}

}

/* menu */

.menu__list{
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu__item:hover{
	background-color: rgba(0,0,0,.04);
}
.menu__item:active{
	box-shadow: inset 0 3px 5px rgba(0,0,0,.1)
}

.menu__link{
	display: block;
	line-height: 1;
	text-decoration: none;
}

.menu__link:hover,
.menu__link:focus{
	text-decoration: none;
}

.menu_h .menu__list{
	display: -webkit-flex;
	display: flex;
}

.menu__item_level_1 > .menu__link{	
	padding: 1em;
}

:first-child{
	margin-top: 0;
}

:last-child{
	margin-bottom: 0;
}

/* section */

.section{
	padding: 1rem;
}

.section .section{
	margin-right: -1rem;
	margin-left: -1rem;
}

.section__heading{	
	margin-top: 0;
}

.section_secondary{
	background-color: #f4f5f8;
}

/* cards */

.cards{
	display: -webkit-flex;
	display: flex;
	margin: 0 -1em;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

/* card */

.card{
	-webkit-display: flex;
	display: flex;
	/*width: 100%;*/
	margin: 1em;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.card__header{
	-webkit-flex-grow: 1;
	flex-grow: 1;
	margin: 0;
}

.card__title{
	display: block;
	margin: 0;
	padding: 1rem;
}

.card .image-link,
.card .image{
	display: block;
	width: 100%;
}

/* badge */
/*
.badge{
	display: inline-block;
	min-width: 1em;
	padding: 2px 6px;
	background-color: gray;
	border-radius: .5em;
	color: #fff;
	font-size: .86em;
	line-height: 1;
	text-align: center;
}

.badge_primary{
	background-color: #f6e301;
	color: #000;
}*/

.fa-icon{
    display: inline-block;
    min-width: 1em;
    min-height: 1em;
    background-color: rgba(0,0,0,.1);
    vertical-align: -.125em;
}