* {
  margin: 0;
}
html {
  height: 100%;
}

body {
	font-family: 'Comfortaa', cursive;
	background-color: #404040;
	background-image: url("../assets/ui/bckgrnd.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	margin: 0;
    padding: 0;
	height: 100%;
}

#page-wrapper {
	min-height: 100%;
}

#header {
	background-color: rgba(0, 0, 0, 0.7);
	width: 100%;
	color: #F5F5F5;
	text-align: center;
}

#header div {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
}

#header a {
	text-decoration: none;
}

#logo {
	padding-top: 3pt;
}

#logo a {
	color: #F5F5F5;
}

#logo a:hover {
	color: #FFE4B5;
}

#logo img {
	-webkit-transition: transform 0.15s ease;
    -moz-transition: transform 0.15s ease;
    -ms-transition: transform 0.15s ease;
    -o-transition: transform 0.15s ease;
	transition: transform 0.15s ease;
}

#logo img:hover {
	transform: scale(1.1);
}

#contacts span {
	display: inline-block;
	width: 10pt;
}

.contacts-btn {
	color: #FFE4B5;
	width: 10%;
	padding: 3pt;
	text-align: center;
	border-radius: 5pt;
	background-color: transparent;
	
	-webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
	transition: 0.2s ease;
}

.contacts-btn:hover {
	color: #404040;
	background-color: #F5F5F5;
}

#main {
	margin: 10pt 0pt 10pt 0pt;
}

#gallery-menu {
	text-align: center;
	width: 100%;
	overflow: auto;
	clear: both;
}

.gallery-button-spacer {
	float: left;
}

.gallery-button-container {
	text-align: center;
	float: left;
	margin: 5pt 0pt 5pt 0pt;
}

.gallery-button {
	width: 60%;
	min-width: 120pt;
	text-align: center;
	color: #F5F5F5;
	border-radius: 15pt;
	border-color: #F5F5F5;
	border-style: solid;
    border-width: 2pt;
	background-color: transparent;
	padding: 5pt;
	font-size: 16pt;
	
	-webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
	transition: 0.2s ease;
}

.gallery-button-selected {
	color: #404040;
	border-color: #404040;
	background-color: #ADD8E6;
}

.gallery-button:hover {
	color: #404040;
	border-color: #404040;
	background-color: #FFE4B5;
	cursor: pointer;
}

#gallery-menu-tags {
	margin-top: 48pt;
	text-align: center;
}

#gallery-menu-tags-used {
	display: inline-block;
	text-align: center;
}
#gallery-menu-tags-unused {
	display: inline-block;
	text-align: center;
}

.gallery-menu-tag {
	display: inline-block;
	text-align: center;
	color: #404040;
	border-radius: 8pt;
	background-color: #ADD8E6;
	padding: 3pt;
	font-size: 11pt;
	margin-bottom: 3pt;
	
	-webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
	transition: 0.2s ease;
}

.gallery-menu-tag:hover {
	background-color: #FFE4B5;
	cursor: pointer;
}

.gallery-menu-tag div {
	display: inline;
}

.gallery-menu-tag-selected {
	background-color: #3CD0FF;
}

.gallery-menu-tag-special {
	background-color: #D8E6AD;
}

.gallery-menu-tag-special-selected {
	background-color: #A7E865;
}

.gallery-menu-tag-special:hover {
	background-color: #FFE4B5;
	cursor: pointer;
}

#gallery-menu-tag-all {
	border-color: #5a5a5a;
	border-style: solid;
    border-width: 2pt;
	padding: 4pt 3pt 3pt 3pt;
}

.gallery-menu-checkbox {
	font-size: 14pt;
	padding: 2pt;
	border-radius: 30%;
	background-color: transparent;
	
	-webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
	transition: 0.2s ease;
}

.gallery-menu-checkbox:hover {
	color: #F5F5F5;
	background-color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.gallery-menu-tag-name:hover {
	text-decoration: underline;
}

.gallery-menu-tag-disabled .gallery-menu-checkbox {
	color: rgba(36, 36, 36, 0.13) !important;
}

.gallery-menu-tag-disabled .gallery-menu-checkbox:hover {
	cursor: default !important;
	background-color: transparent !important;
	color: transparent !important;
}

#gallery-menu-counter {
	font-size: 10pt;
	font-weight: bold;
	color: #404040;
}

@media only screen and (min-width: 570px) {
	
	#logo {
		width: 60%;
	}
	
	#header a {
		font-size: 18pt;
	}

	#logo img {
		width: 70pt;
	}
	
	#contacts {
		width: 39%;
		margin: 0pt;
	}
	
	#contacts a {
		font-size: 20pt;
	}
	
	.gallery-button-spacer {
		width: 10%;
	}
	
	.gallery-button-container {
		width: 40%;
	}
	
	.ug-textpanel-title {
		font-size: 10pt !important;
	}
}

@media only screen and (max-width: 569px) {
	
	#logo {
		width: 100%;
	}
	
	#header a {
		font-size: 14pt;
	}

	#logo img {
		width: 45pt;
	}
	
	#contacts {
		width: 100%;
		margin-bottom: 7pt;
	}
	
	#contacts a {
		font-size: 18pt;
	}
	
	.gallery-button-spacer {
		width: 0%;
		display: none;
	}
	
	.gallery-button-container {
		width: 100%;
	}
	
	.ug-textpanel-title {
		font-size: 8pt !important;
	}
}

@media only screen and (max-width: 270px) {
	
	#logo {
		padding-bottom: 2pt;
	}
	
	#header a {
		font-size: 11pt;
	}

	#logo img {
		width: 30pt;
	}
	
	#contacts {
		margin-bottom: 5pt;
	}
	
	#contacts a {
		font-size: 14pt;
	}
	
	#contacts span {
		width: 5pt;
	}
	
	.gallery-button {
		width: 60%;
		min-width: 65pt;
		border-width: 1pt;
		padding: 2pt;
		font-size: 12pt;
	}
	
	.ug-textpanel-title {
		font-size: 7pt !important;
	}
}

footer {
	background-color: rgba(0, 0, 0, 0.8);
	width: 100%;
	padding: 15pt 0pt 5pt 0pt;
	text-align: center;
	color: #F5F5F5;
	font-size: 12pt;
}

footer div {
	width: 80%;
	display: inline-block;
}

#upbtn {
	display: none;
	position: fixed;
    width: 5%;
    min-width: 40pt;
	bottom: 12pt;
    right: 2%;
	
    opacity: 0.4;
	
	-webkit-transition: opacity 0.2s ease;
    -moz-transition: opacity 0.2s ease;
    -ms-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

#upbtn:hover {
	cursor: pointer;
    opacity: 0.8;
}