.upload-page {
	padding:100px 0;
	max-width: 700px;
	margin:0 auto;
	margin-top: 85px;
}

.upload-page a{
	color: #000000;
}

.inner {
	text-align: center;
}

img#mm-logo {
    display: block;
    margin: 0 auto;
}

table.upload-field {
	display: block;
    margin: 0 auto;
    width: 75%;
}

table.upload-field td {
	padding: 10px 20px;
	text-align: left;
	font-family: "Barlow", sans-serif;
}

table.upload-field p {
	font-family: "Barlow", sans-serif;
	font-size: 16px;
}

table.upload-field input {
	font-family: "Barlow", sans-serif;
}

table.upload-field tr > td:nth-child(2) {
	width: 70%;
}

table.upload-field tr > td:nth-child(2) > input {
	width: 100%;
	height: 45px;
}


label.cbContainer {
	position: relative;
	padding-left: 30px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input[type="checkbox"] {
	position: absolute;
	opacity: 0;
}
span.checkmark {
	position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ececec;
    cursor: pointer;
}

input[type="checkbox"] ~ .checkmark:after {
	content: "";
	opacity: 0;
	transition: opacity .3s linear;
}

input[type="checkbox"]:checked ~ .checkmark:after {
	position: absolute;
    content: "\2713";
    left: 5px;
    font-size: 15px;
    font-weight: 700;
    opacity: 1;
    color: #D24B1E;
}

input#mm-upload:disabled {
	opacity: 0.8;
}

/*----------------------THANK YOU PAGE*/
.ty-container {
	margin-top: 85px;
    padding: 100px 0;
    text-align: center;
}

.ty-container a{
	color: #D24B1E;
}


/*============================= HOME INSERTION*/
.museum-moments {
/*  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;*/
  /*padding: 0 130px;*/
  padding-bottom: 40px;
  max-width: 1080px;
  margin:0 auto;
  padding: 50px 10px 30px;
}

.museum-moments:after {
	content: "";
	clear: both;
	display: table;
}

.mm-box {
/*	-webkit-flex: 0 0 25%;
	-moz-flex: 0 0 25%;
	flex: 0 0 25%;*/
	float: left;
	width: 23%;
	/*padding: 0 10px;*/
	position: relative;
	overflow: hidden;
/*	padding-bottom: 20px;
	height: 265px;*/
	margin-right: 28px;
	margin-bottom: 28px;
}


.mm-box:after { /*to create perfect square*/
	content: '';
	display: block;
	padding-bottom: 100%;
}

.mm-box:nth-child(4n + 4) {
	margin-right: 0;
}

.mm-box:hover .mm-overlay{
	opacity: 1;
	z-index: 1;
}

.mm-overlay {
	position: absolute;
    width: 100%;
    height: 100%;
    /*transform: translateX(-100%);*/
    background:rgba(255,255,255,0.85);
    opacity: 0;
    -webkit-transition: all .5s cubic-bezier(.05,.59,.09,.89);
    -moz-transition: all .5s cubic-bezier(.05,.59,.09,.89);
    -ms-transition: all .5s cubic-bezier(.05,.59,.09,.89);
    transition: all .5s cubic-bezier(.05,.59,.09,.89);
    cursor: pointer;
    display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
}

.mm-overlay h3 {
	color: #D24B1E;
}

.museum-moments img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
}

a#upload {
	background-color: #D24B1E;
	color: #FFFFFF;
	border: 1px solid;
	padding: 10px 20px;
	display: inline-block;
	text-transform: uppercase;
	transition: all .75s cubic-bezier(.14,.7,.14,.88);
}
a#viewall {
	color: #D24B1E;
	margin-right: 20px;
	padding: 10px 20px;
	border: 1px solid #D24B1E;
	display: inline-block;
	text-transform: uppercase;
	transition: all .75s cubic-bezier(.14,.7,.14,.88);
}

a#upload:active, a#viewall:active {
	-webkit-transform: scale(.9, .9);
	-moz-transform: scale(.9, .9);
	-ms-transform: scale(.9, .9);
	transform: scale(.9, .9);
}


.mm-lightbox {
	position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    background:rgba(255,255,255,0.95);
    transition: all .75s cubic-bezier(.14,.7,.14,.88);
    z-index: -1;
}
.lightbox-content {
	position: absolute;
	width: 100%;
	height: 100%;
	top:0;
	left:0;
	bottom: 0;
	right: 0;
	overflow: auto;
	display: -webkit-box;
 	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
}
.lightbox-content:before {
/*	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;*/
}

#image-container {
	-webkit-transform: translateY(-10%);
	-moz-transform: translateY(-10%);
	-ms-transform: translateY(-10%);
	transform: translateY(-10%);
	height: 500px;
/*	padding: 100px;
	display: inline-block;
	vertical-align: middle;*/
}

.lightbox-content img {
	width: auto;
	height: 100%;
}

.lightbox-content p {
	padding: 0 10px;
	text-align: center;
	color:#D24B1E;
}

.lightbox-content img#close {
	height: 25px;
    width: 30px;
    display: block;
    margin:0 auto 10px;
    cursor: pointer;
}

.active {
	opacity: 1;
	z-index: 9999;
	visibility: visible;
}

.dscroll {
	overflow: hidden;
}

h2.share {
	font-weight: 500 !important;
	color: #D24B1E;
}


@media (max-width: 481px) {

	#image-container {
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
		height: unset;
	}

	.museum-moments {
		padding: 0 10px;
		padding-bottom: 40px;
	}
	h2.share {
	    display: block;
	    font-size: 23px;
	    margin-bottom: 35px;
	}
	.mm-box {
/*		-webkit-flex: 0 0 50%;
		-moz-flex: 0 0 50%;
		flex: 0 0 50%;*/
		width: 50%;
		margin: 0;
	}

	#image-container {
		padding: 0px;
	}
	
	.lightbox-content img {
		width: 100%;
		height: auto;
	}

	table.upload-field {
	    width: 100%;
	}
}

@media only screen and (max-width: 1070px) and (min-width: 482px) {
	.mm-box {
		width: 33.33%;
		margin: 0;
	}
}



.error-message p {
	position: relative;
    top: 20px;
    display: inline-block;
    color: red;
    font-size: 16px;
}

.mm-all {
	padding: 100px 0px 70px 0px;
}

h1.mm-header {
    color: #D24B1E;
    font-weight: 500 !important;
    font-size: 36px;
    line-height: 35px;
    display: block;
    margin-top: 30px;
    text-align: center;
}