

.gallery-links h2 {
	padding-top: 15px;
  font-family: Lato;
  font-size: 28px;
  font-weight: 400;
  color: #111;
  text-transform: uppercase;
}

.gallery-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: stretch;
}

.gallery-container a {
  width: 230px;
  margin: 20px 10px 0;
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
	.gallery-container a {
  	width: 500px;
		margin: 20px 40px 0;
	}
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
	.gallery-container a {
  	width: 238px;
	}
} 
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	.gallery-container a {
  	width: 328px;
	}
} 
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
	.gallery-container a {
  	width: 292px;
	}
} 
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
	.gallery-container a {
  	width: 259px;
	}
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { 
	.gallery-container a {
  	width: 239px;
	}
} 


.gallery-container a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.gallery-container a div {
  width: 100%;
  height: 235px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.gallery-container a h3 {
  font-family: Lato;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  padding-top: 16px;
  line-height: 26px;
}

.gallery-container a p {
  font-family: Lato;
  font-size: 16px;
  font-weight: 400;
  color: #111;
  padding-top: 4px;
  line-height: 20px;
}

.gallery-upload {
  width: 100%;
  padding: 20px 0;
  background-color: #F2F2F2;
}

.gallery-upload h2 {
  font-family: Lato;
  font-size: 28px;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 10px;
}

.gallery-upload form {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}

.gallery-upload form input {
  width: 200px;
  height: 30px;
  margin-top: 10px;
  padding: 0 15px;
  border-radius: 3px;
  box-shadow: none;
  border: 1px solid #ccc;
}

#input-file {
  color: #000000;
  border: 0px solid #ccc;
}

.gallery-upload-file-input {
  padding-top: 8px !important;
  background-color: #fefefe;
}

.gallery-upload form button {
  width: 120px;
  height: 30px;
  margin-top: 10px;
  border-radius: 3px;
  box-shadow: none;
  border: none;
  background-color: #4EADFF;
  color: #fff;
  font-weight: 700;
}

input:focus {
    outline:none !important;
}

section.gallery-toptext {
	margin-top: 75px;
}

