section#content{
	background-color: #f2f2f2
}
.grid-item{
	max-width: 100%;
}
.card {
	box-shadow: 0 1px 1px rgba(97, 108, 121, 0.1), 0 7px 18px 0 rgba(97, 108, 121, 0.13);
	transition: box-shadow .2s ease;
	position: relative;
	width: 100%;
	background: #ffffff;
	border-radius: 6px;
	overflow: hidden;
	margin: 20px 0;
}

.card .image{
	display: block;
}
.card .info{
	display: block;
	padding: 12px;
}
.card .actions{
	display: block;
	background-color:#f0f0f0 ;
	padding: 12px;
}
.card .actions i{
	margin-bottom: -3px;
}

.card .logo{
	display: inline-block;
	vertical-align: top;
}

.card .skola{
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	background-color: #a4a4a4;
	width: 30px;
	height: 20px;
	line-height: 20px;
	color: #FFF;
	font-size: 12px;
	font-weight: bold;
	display: inline-block;
	text-align: right;
	padding-right: 5px;
	margin-left: 0;
	margin-top: 2px;
	vertical-align: top;
}
.card .razred{
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	background-color: #41aad9;
	width: 65px;
	height: 20px;
	line-height: 20px;
	color: #FFF;
	font-size: 12px;
	font-weight: bold;
	display: inline-block;
	padding-left: 5px;
	vertical-align: top;
	margin-top: 2px;
}
.card .tip{
	border-radius: 10px;
	background-color: #f1a500;
	width: 40px;
	height: 20px;
	line-height: 20px;
	color: #FFF;
	font-size: 12px;
	font-weight: bold;
	display: inline-block;
	vertical-align: top;
	float: right;
	text-align: center;
}

.card .predmet{
	font-size: 16px;
	letter-spacing: 1px;
	font-weight: 600;
	margin-left: 10px;
	text-transform: uppercase;
}

.card.novo .predmet {
	max-width: 215px;
    display: inline-block;
}

.card .naslov{
	font-size: 18px;
	font-weight: 700;
	margin-top: 10px;
	display: block;
}

.card .btn.link{
	background-color: #41aad9;
	color: #FFF;
	font-size: 14px;
	font-weight: 800;
	border-radius: 4px;
	line-height: 20px;
	display: inline-block;
	padding: 4px 8px;
	position: relative;
	height: 28px;
}
.card .btn.link span{
	text-transform: uppercase;
}
.card .actions.demo .btn.link{
	background-color: #41aad9;
	color: #FFF;
	font-size: 14px;
	font-weight: 800;
	border-radius: 4px;
	line-height: 20px;
	padding: 4px 8px;
	position: relative;
	height: 28px;
}
.card .actions.demo .btn.link i {
	position: absolute;
	bottom: 3px;
	left: auto;
}

.card .btn.link i{
	position: absolute;
	bottom: 3px;
	left: 8px;
}
.card .btn.link span{
	margin-left: 20px;
}
.card .info .naslov,
.card .info .predmet{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.card .info .predmet {
    max-width: 50%;
	display: inline-block;
}

.card-selection {
	margin-top: 40px;
}

.card-selection > .row {
	display: flex;
	flex-direction: row;
}

.card-selection > .row > div:nth-child(1) {
	background-color: #ff4f2c;
	color: #fff;
	font-size: 28px;
	font-weight: bold;
	line-height: 1.2em;
	text-align: right;
	padding: 24px 24px 24px 20%;
	display: flex;
    align-items: center;
}

.card-selection > .row > div:nth-child(2) {
	padding: 24px 32px;
}

.card-selection .card-selection-item {
	display: block;
	font-size: 15px;
}

.card-selection .card-selection-item strong {
	text-transform: uppercase;
	font-size: 12px;
}

.card-selection .card-selection-item-disclaimer {
	padding-left: .7em;
	margin-top: 1em;
	font-size: 14px;
}

.card-selection .card-selection-item-disclaimer strong {
	color: #ff4f2c;
	font-size: 15px;
}

.filter-button-group button{
	font-size: 14px;
	color: #606060;
	border-radius: 15px;
	height: 30px;
	line-height: 20px;
	border: none;
	padding: 6px 16px;
	background-color: transparent;
	margin-left: 10px;
}
.filter-button-group {
	margin-bottom: 20px;
}
.filter-button-group button.active{
	background-color: #41aad9;
	color: #FFF;
	font-weight: 800;
}
.filter-button-group button:hover:not(.active){
	background-color: #dbdbdb;
}

@media (max-width: 767px) {	
	.card .actions{
		padding: 0 12px;
	}
	.card .btn.link{
		font-size: 14px;
		display: block;
		margin: 6px auto;
	}
	.card .actions i{
		position: absolute;
		bottom: -1px;
		margin-bottom: -3px;
		left: auto !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.card .btn.link{
		font-size: 12px;
	}
}

@media (max-width: 991px) {
	.card-selection  > .row {
		display: block;
	}

	.card-selection > .row > div:nth-child(1) {
		padding: 24px;
		display: block;
	}

	.card-selection > .row > div:nth-child(1) > div {
		text-align: center;
	}
}

section#content .modal-backdrop {
	position: fixed;
}
section#content .modal-content{
	box-shadow: none;
	background-color: #ffffff;
	border: none;
	border-radius: 6px;
	-webkit-box-shadow: none;
}