/* ---------------------------------------------------------------- */
/* GLOBALS                                                          */
/* ---------------------------------------------------------------- */

/* box-sizing makes sure that the padding and border are included   */ 
/* in the total width and height of the elements.                   */
* {
  	box-sizing: border-box;
}

/* Default layout should assume display on mobile device            */
/* Additional layouts are specified in media at end                 */
[class*="col-"] {
  	width: 100%;
}

/* all div classes should default to floating left                  */
[class*="col-"] {
  	float: left;
  	padding: 8px;
}

/* all table rows should not default to floating left               */
.row::after {
  	content: "";
  	clear: both;
  	display: table;
}

/* Set default font family for the page                             */
html {
  	font-family:  "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}

body {
	margin: 10px;
}

/* ---------------------------------------------------------------- */
/* HEADER                                                           */
/* ---------------------------------------------------------------- */
.header {
  	background-color: cornflowerblue;
  	color: #ffffff;
  	padding: 10px;
}

h2 {
	text-align: center;
	text-shadow: 2px 2px 5px black;
}

.narrow {
	font-size: 0.5em;
}
/* ---------------------------------------------------------------- */
/* HERO                                                             */
/* ---------------------------------------------------------------- */
.hero {
  	background-color: #888888;
  	color: #ffffff;
  	padding: 15px;
}

.hero p {
	text-shadow: 2px 2px 5px black;
}
/* ---------------------------------------------------------------- */
/* FORM                                                             */
/* ---------------------------------------------------------------- */
.myform {
  	background-color: #ffffff;
  	color: #000000;
  	padding: 15px;
  	width: 80%;
  	margin: 0 auto;
}

input[type=text] {
  width: 100%;
}

input[type=button], input[type=submit], input[type=reset] {
	display:block;
	padding: 5px 20px 5px 20px;
	margin: auto;
}

/* ---------------------------------------------------------------- */
/*                                                                  */
/* ---------------------------------------------------------------- */

.customNavigation {
	display:block;
	text-align: center;
}
/* .customNavigation a {
	font-size: 8px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*/

   
/* ---------------------------------------------------------------- */
/* ALERTS                                                           */
/* ---------------------------------------------------------------- */
.alert-danger {
  width: 40%;
  background-color: red;
  padding: 5px;
  margin: auto;
  color: yellow;
  text-align: center;
  border-radius:4px;
}

.alert-success {
  width: 40%;
  background-color: green;
  padding: 5px;
  margin: auto;
  color: black;
  text-align: center;
  border-radius:4px;
}


/* ---------------------------------------------------------------- */
/* Gallery 4 Columns                                                */
/* ---------------------------------------------------------------- */
div.gallery {
  	display: inline-block;
	background-color: #dddddd;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	border: 4px solid #FFFFFF;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.gallery h4 {
	margin-top: 5px;
	margin-bottom: 5px;
	color: #4f4f4f;
	text-align: left;
	text-shadow: 1px 1px 2px #D9D882;
}

div.gallery p {
	color: #4f4f4f;
	text-align: left;
}

div.gallery p.tag {
	margin-top: 5px;
	margin-bottom: 5px;
	color: #666666;
	text-align: left;
	font-style: italic;
	text-transform: lowercase;
}

/* ---------------------------------------------------------------- */
/* AVATARS                                                          */
/* ---------------------------------------------------------------- */

#avatar_id .item {
	text-decoration: none !important;
	position: relative;
	display: block;
	cursor: pointer;
	padding: 30px 0px;
	margin: 5px;
	width: 200px;
	height: 365px;
	color: #FFF;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-align: center;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
}

#avatar_id .item:hover {
	background-color: #f9f9f9;
}

#avatar_id .item.clicked {
	background-color: #bfe0fe !important;
}

#avatar_id .item:hover span {
	background-color: rgba(0, 0, 0, 0.85);
	font-size: 16px;
}

#avatar_id .item span {
	transition: all 0.25s;
	width: 100%;
	display: block;
	position: absolute;
	bottom: 0px;
	padding: 5px;
	font-size: 14px;
	background-color: rgba(0, 0, 0, 0.25);
	color: #ffffff;
}

/* ---------------------------------------------------------------- */
/* reCAPTCHA                                                        */
/* ---------------------------------------------------------------- */
h2, .g-recaptcha {
	padding: 10px 0px 20px 0px;
}

.g-recaptcha div, .btn-default {
	margin: auto;
	display: block;
}

/* ---------------------------------------------------------------- */
/* FOOTER                                                           */
/* ---------------------------------------------------------------- */
.footer {
  background-color: #444444;
  color: #ffffff;
  text-align: center;
  font-size: 0.80em;
  padding: 25px;
}

/* ---------------------------------------------------------------- */
/* MEDIA LAYOUT SEGMENTS - SMALL DESKTOP                            */
/* ---------------------------------------------------------------- */
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}

/* ---------------------------------------------------------------- */
/* MEDIA LAYOUT SEGMENTS - LARGE DESKTOPS                           */
/* ---------------------------------------------------------------- */
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .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%;}
}