/* Fonts */
@font-face { font-family: 'Playfair Display'; src: url(../fonts/PlayfairDisplay-Regular.ttf); }
@font-face { font-family: Coolvetica; src: url(../fonts/coolvetica.ttf); }

/* Custom colors */
:root {
  --color1: black;
  --color2: lightblue;
}

/* Html tags */
* {box-sizing: border-box;}
body { margin: 0; padding: 0; font-family: 'Playfair Display', serif; font-size: calc(0.5em + 2.0vmin); background: var(--color2); color: var(--color1); }
h1, h2, h3 { font-family: Coolvetica, Helvetica, sans-serif; }
a { color: var(--color1); text-decoration-style: dotted; text-decoration-line: underline; text-decoration-thickness: 4px;}
a:hover { text-decoration: none; }
input, textarea, button { padding: 10px; font-family: inherit; font-size: inherit; margin: 0 0 15px; border-radius: 25px; }
button, input[type=submit] { background: var(--color2); color: var(--color1); border: 2px solid var(--color1); font-family: Coolvetica, Helvetica, sans-serif; cursor: pointer; }
label { display: inline-block; }
ul { list-style-type: square; }

/* Classes */
.container { max-width: 1320px; margin: 0 auto; }
.site { max-width: 960px; margin: 0 auto; }
.intro { position: relative; text-align: center; color: var(--color1); }
.centered { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hamburger { font-size: 30px; cursor: pointer; display: none; position: absolute; top: 15px; right: 15px; }
.alert-warning { color: red; }
.img-resp { width: calc(100%); max-height: 600px; }
.example { border: 2px solid var(--color1); padding: 5px 15px; }
.footer { font-family: Coolvetica, Helvetica, sans-serif; font-size: 22px; padding-bottom: 30px; border-top: 2px solid var(--color1); margin-top: 15px; }
.footer h3 { margin-bottom: 0; }
.footer ul { margin: 15px 0; list-style-type: square; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.bordered { border-top: 2px solid var(--color1); background: yellow; }
.small-input { width: 150px; }

/* Header */
.header { overflow: hidden; border-bottom: 2px solid var(--color1); font-family: Coolvetica, Helvetica, sans-serif; position: sticky; top: 0; background: var(--color2); z-index: 100; }
.header .container { padding: 10px 15px; }
.header a { float: left; color: var(--color1); text-align: center; padding: 12px; text-decoration: none; font-size: 22px; line-height: 25px; }
.logo { line-height: 50px; font-size: 30px; font-weight: bold; float: left; }
.header a:hover { text-decoration: underline; }
.header-right { float: right; }
.header ul { margin-top: 0; padding: 0; list-style-type: none; float: none; }
.header ul li { float: left; }

@media screen and (max-width: 600px) {
  .header a { float: none; display: block; text-align: left; }
  .header-right { float: none; display: none; }
  .hamburger { display: block; }
  .header ul { margin-top: 60px; }
  .header ul li { float: none; display: block; }
  .img-resp { max-height: 400px; object-fit: cover; }
}

/* Grid */
.row::after { content: ""; clear: both; display: table; }
[class*="col-"] { float: left; width: 100%; padding: 15px; }
@media only screen and (min-width: 600px) {
	.col-1 {width: 8.33%;}
	.col-2 {width: 16.66%;}
	.col-3 {width: 25%;}
	.col-4 {width: 33.33%;}
	.col-5 {width: 41.66%;}
	.col-6 {width: 50%;}
	.col-7 {width: 58.33%;}
	.col-8 {width: 66.66%;}
	.col-9 {width: 75%;}
	.col-10 {width: 83.33%;}
	.col-11 {width: 91.66%;}
	.col-12 {width: 100%;}
}
@media only screen and (min-width: 600px) {
.header-right { display: block!important; }
}

/* Add sorting icons to gridview sort links */
a.asc:after, a.desc:after { position: relative; top: 1px; display: inline-block; font-family: 'Glyphicons Halflings'; font-style: normal; font-weight: normal; line-height: 1; padding-left: 5px; }
a.asc:after { content: /*"\e113"*/ "\e151"; }
a.desc:after { content: /*"\e114"*/ "\e152"; }
.sort-numerical a.asc:after { content: "\e153"; }
.sort-numerical a.desc:after { content: "\e154"; }
.sort-ordinal a.asc:after { content: "\e155"; }
.sort-ordinal a.desc:after { content: "\e156"; }
.grid-view th { white-space: nowrap; }
.hint-block { display: block; margin-top: 5px; color: #999; }
.error-summary { color: #a94442; background: #fdf7f7; border-left: 3px solid #eed3d7; padding: 10px 20px; margin: 0 0 15px 0; }
