
@media (min-width: 1201px) {

	#gallerynav > ul > li {
		display: inline-block;
		width: 253px;
	}

	.gallerynav-innerdivs {
		width:253px;
		height:150px;
		display:inline;
		float:left;
	}

	#ships > ul > li {
		display: inline-block;
		float: left;
		margin-right: 20px;
		margin-bottom: 20px;
		width: calc(33% - 17px);
		height: auto;
		cursor: pointer;
		box-sizing: border-box;
		position: relative;
	}

	.box-caption {
		position: absolute;
		width: 100%;
		height: 106px;
		margin: -106px 0 0 0;
		padding: 15px 15px 10px 15px;
		word-break: break-word;
		font-size: 35px;
		line-height: 38px;
		letter-spacing: .35px;
		font-weight: normal;
		/*background-color: rgba(0,0,0,.6);*/
		background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 90%);
		color: #fff;
	}

}

@media (min-width: 992px) and (max-width: 1200px) {

	#gallerynav > ul > li {
		display: inline-block;
		width: 24%;
	}

	.gallerynav-innerdivs {
		width:100%;
		height:150px;
		display:inline;
		float:left;
	}

	#ships > ul > li {
		display: inline-block;
		float: left;
		margin-right: 20px;
		margin-bottom: 20px;
		width: calc(33% - 17px);
		height: auto;
		cursor: pointer;
		box-sizing: border-box;
		position: relative;
	}

	.box-caption {
		position: absolute;
		width: 100%;
		height: 106px;
		margin: -106px 0 0 0;
		padding: 15px 15px 10px 15px;
		word-break: break-word;
		font-size: 35px;
		line-height: 38px;
		letter-spacing: .35px;
		font-weight: normal;
		/*background-color: rgba(0,0,0,.6);*/
		background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 90%);
		color: #fff;
	}

}

@media (min-width: 769px) and (max-width: 991px) {

	#gallerynav > ul > li {
		display: inline-block;
		width: 24%;
	}

	.gallerynav-innerdivs {
		width:100%;
		height:150px;
		display:inline;
		float:left;
	}

	#ships > ul > li {
		display: inline-block;
		float: left;
		margin-right: 20px;
		margin-bottom: 20px;
		width: calc(32% - 17px);
		height: auto;
		cursor: pointer;
		box-sizing: border-box;
		position: relative;
	}

	.box-caption {
		position: absolute;
		width: 100%;
		height: 106px;
		margin: -106px 0 0 0;
		padding: 15px 15px 10px 15px;
		word-break: break-word;
		font-size: 28px;
		line-height: 33px;
		letter-spacing: .35px;
		font-weight: normal;
		/*background-color: rgba(0,0,0,.6);*/
		background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 90%);
		color: #fff;
	}

}

@media (min-width: 481px) and (max-width: 768px) {

	#gallerynav > ul > li {
		display: inline-block;
		width: 24%;
	}

	.gallerynav-innerdivs {
		width:100%;
		height:150px;
		display:inline;
		float:left;
	}

	#ships > ul > li {
		display: inline-block;
		float: left;
		margin-right: 20px;
		margin-bottom: 20px;
		width: calc(49% - 17px);
		height: auto;
		cursor: pointer;
		box-sizing: border-box;
		position: relative;
	}

	.box-caption {
		position: absolute;
		width: 100%;
		height: 106px;
		margin: -106px 0 0 0;
		padding: 15px 15px 10px 15px;
		word-break: break-word;
		font-size: 24px;
		line-height: 28px;
		letter-spacing: .35px;
		font-weight: normal;
		/*background-color: rgba(0,0,0,.6);*/
		background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 90%);
		color: #fff;
	}

}

@media (max-width: 480px) {

	#gallerynav > ul > li {
		display: inline-block;
		width: 100%;
		margin-bottom: 20px;
	}

	.gallerynav-innerdivs {
		width:100%;
		height:150px;
		display:inline;
		float:left;
	}

	#ships > ul > li {
		display: inline-block;
		float: left;
		margin-right: 20px;
		margin-bottom: 20px;
		max-width: 100%;
		height: auto;
		cursor: pointer;
		box-sizing: border-box;
		position: relative;
	}

	.box-caption {
		position: absolute;
		width: 100%;
		height: 106px;
		margin: -106px 0 0 0;
		padding: 15px 15px 10px 15px;
		word-break: break-word;
		font-size: 35px;
		line-height: 38px;
		letter-spacing: .35px;
		font-weight: normal;
		/*background-color: rgba(0,0,0,.6);*/
		background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 90%);
		color: #fff;
	}

}


#gallerynav {
	display: block;
	width: 100%;
	margin-left: 0;
}

#gallerynav > ul {
	list-style: none;
	margin-bottom: 20px;
}

#gallerynav > ul > li > a {
	text-transform: uppercase;
	padding: 4px 10px;
	/*margin-right: 2px;
	margin-left: 2px;*/
	text-decoration: none;
	/*
	color: #27A4DD;
	border: 1px solid #27A4DD;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	*/
}

.hidden {
	display: none;
}

#gallerynav > ul > li > a:hover {
	/*color: #fff;
	background-color: #27A4DD;
	*/
}

.current a {
	/*color: #fff !important;
	background-color: #27A4DD;
	*/
}

#ships > ul > li:hover {
	opacity: 1;
}

#gallery img {
	max-width: 100%;
}

.box-flex {
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
	justify-content: center;
	text-align: center;
}

.box-flex-bottom {
	align-items: flex-end;
}

.ships-small {
	background: transparent url(../images/gts_schiffe_icon_1a.svg) no-repeat 50% 50%;
}

.ships-small-on, .ships-small:hover {
	background: transparent url(../images/gts_schiffe_icon_1b.svg) no-repeat 50% 50%;
}

.ships-middle {
	background: transparent url(../images/gts_schiffe_icon_2a.svg) no-repeat 50% 50%;
}

.ships-middle-on, .ships-middle:hover {
	background: transparent url(../images/gts_schiffe_icon_2b.svg) no-repeat 50% 50%;
}

.ships-big {
	background: transparent url(../images/gts_schiffe_icon_3a.svg) no-repeat 50% 50%;
}

.ships-big-on, .ships-big:hover {
	background: transparent url(../images/gts_schiffe_icon_3b.svg) no-repeat 50% 50%;
}

.ships-great {
	background: transparent url(../images/gts_schiffe_icon_4a.svg) no-repeat 50% 50%;
}

.ships-great-on, .ships-great:hover {
	background: transparent url(../images/gts_schiffe_icon_4b.svg) no-repeat 50% 50%;
}