html {
	height: 100%;
}

body {
	background: #000000;
	display: flex;
	flex-direction: column;
	font-family: 'LatoRegular';
	font-weight: normal;
	font-style: normal;
	line-height: 1.6;
	min-height: 100%;
	color: #f3f3f3;
}

h2,
h5 {
	text-align: center;
	color: #d0ccc9;
}

h3 {
	margin: 2px;
	text-align: center;
	/*text-transform: uppercase;*/
}

p {
	font-size: 1.15em;
}

a:link,
a:visited {
	color: #88574e !important;
}

label {
	padding: 6px 6px 6px 0;
	display: inline-block;
}

.trainers {
	color: #333333;
}

input[type=text],
input[type=email],
select,
textarea {
	border-radius: 0;
	color: black;
	/*    margin: 4px 8px;*/
	padding: 4px;
	width: 100%;
	border: 1px solid #d0ccc9;
	resize: vertical;
	background-color: rgba(255, 255, 255, 0.8);
	opacity: 0.8;
}

input[type=submit] {
	border-radius: 0;
	background-color: #88574e;
	font-size: 1.2em;
	padding: 12px 20px;
	border: none;
	cursor: pointer;
	float: right;
}

input[type=submit]:hover {
	background-color: #f3f3f3;
}

#mc-embedded-subscribe {
	background-color: #88574e;
	color: #f3f3f3;
	width: 100%;
	margin-top: 10px;
}

#requestbutton {
	width: 100%;
	background-color: #f3f3f3;
	margin: 20px;
	padding: 20px 0 20px 0;
	text-align: center;
	font-weight: bold;
	font-size: 2rem;
}

input.phonepart {
	width: 15%;
}

.mc-field-group {
	padding: 4px;
}

.margin {
	margin-bottom: 45px;
}

.container-fluid {
	padding-top: 70px;
	padding-bottom: 0;
}

.navbar {
	background-color: #f3f3f3;
	color: #88574e;
	padding-top: 15px;
	padding-bottom: 15px;
	border-radius: 0;
	margin-bottom: 0;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.icon-bar {
	background-color: #88574e !important;
}

.navbar-nav li a:hover {
	color: #35302c !important;
}

.navbar-brand {
	margin-top: -35px;
	width: 100px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
	flex: 25%;
	max-width: 50%;
	padding: 0 4px;
}

.column img {
	margin-top: 8px;
	vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
	.column {
		flex: 50%;
		max-width: 50%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
	.column {
		flex: 100%;
		max-width: 100%;
	}
}

.carousel-inner img {
	width: 100%;
	height: 100%;
	max-width: 500%;
}

.panel-default {
	color: #35302c;
	border-radius: 0;
	background-color: rgba(255, 255, 255, 0.8);
	line-height: 2;
}

.panel-default > .panel-heading {
	padding: 15px;
}

/* BACKGROUNDS */
#bg-home {
	background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)), url("../img/bg/exercise-girl-outfit-1552108.jpg");
	background-position: 50% 45%;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

@media screen and (min-width: 600px) {
	#bg-plans {
		background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)), url("../img/bg/energy-exercise-gym-1552242.jpg");
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		background-attachment: fixed;
	}
}

@media screen and (max-width: 600px) {
	#bg-plans {
		background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)), url("../img/bg/energy-exercise-gym-1552242.jpg");
		background-position: 80% 10%;
		background-repeat: no-repeat;
		background-size: cover;
		background-attachment: fixed;
	}
}

@media screen and (max-width: 600px) {
	#bg-gallery {
		background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)), url("../img/bg/container-exercise-man-1552250.jpg");
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		background-attachment: fixed;
	}
}

@media screen and (min-width: 600px) {
	#bg-gallery {
		background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)), url("../img/bg/container-exercise-man-1552250.jpg");
		background-position: 50% 60%;
		background-repeat: no-repeat;
		background-size: cover;
		background-attachment: fixed;
	}
}


#bg-trainers {
	color: black;
	background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)), url("../img/bg/barbell-building-challenge-1552252.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

@media screen and (min-width: 768px) {
	.content {
		min-height: 480px;
		flex: 1 0 auto;
		padding: 10px;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-align-content: center;
		align-content: center;
	}

}

/*
@media screen and (max-width: 768px) {
    .content {
        align-content: center;
        -webkit-align-content: center;
    }
}
*/

@media screen and (max-width: 768px) {
	.contact {
		background-color: rgba(255, 255, 255, 0.2);
	}
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
	.contact {
		background-color: rgba(255, 255, 255, 0.2);
		width: 35%;
		/*        min-width: 30%;*/
		padding: 10px;
	}
}

@media screen and (min-width: 1200px) {
	.contact {
		background-color: rgba(255, 255, 255, 0.2);
		max-width: 400px;
		margin-left: 2%;
	}
}

/* FORMS */
#main {
	width: 70px;
	height: 300px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-content: center;
	align-content: center;
}

/* Home Page Styling */
#main > div {
	width: 70px;
	height: 70px;
}

/*Gallery Page*/


@media screen and (max-width: 480px) {
	#gal {
		margin-top: 52%;
		transition: all 0.2s;
		width: 75%;
	}

}

@media screen and (max-width: 764px) and (min-width: 480px) {
	#gal {
		margin-top: 28%;
		transition: all 0.2s;
		width: 50%;
	}

}

@media screen and (max-width: 1024px) and (min-width: 764px) {
	#gal {
		margin-top: 16%;
		transition: all 0.2s;
		width: 50%;
	}

}

@media screen and (min-width: 1024px) {
	#gal {
		margin-top: 4%;
		max-width: 50%;
		transition: all 0.2s;
		width: 60%;
	}

}


.carousel-item {
	height: 65vh;
	min-height: 350px;
	background: no-repeat center center scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}


/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
	background-color: #b7adab;
	color: white;
	padding: 8px 10px;
	border: none;
	cursor: pointer;
	opacity: 0.8;
	position: fixed;
	bottom: 23px;
	right: 28px;
	width: 280px;
}

/* The popup form - hidden by default */
.form-popup {
	display: none;
	position: fixed;
	bottom: 0;
	right: 15px;
	border: 2px solid #d0ccc9;
	z-index: 9;
}

.form-popup > form {
	background-color: rgba(25, 25, 25, 0.8);
	color: white;
}

button.btn-sub {
	background: #88574e;
	border-radius: 0;
	color: #d0ccc9;
}

button.cancel {
	border-radius: 0;
	color: #88574e;
}

/* Add styles to the form container */
.form-container {
	max-width: 300px;
	padding: 8px;
}

/* Full-width input fields */
.form-container input[type=text],
.form-container input[type=password] {
	width: 95%;
	padding: 15px;
	margin: 5px 0 22px 0;
	border: none;
	background: #d0ccc9;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus,
.form-container input[type=password]:focus {
	background-color: #b7adab;
	outline: none;
}

.form-control {
	border-radius: 0;
	width: 95%;
}

/* Set a style for the submit/login button */
.form-container .btn {
	color: #d0ccc9;
	padding: 10px 10px;
	border: none;
	cursor: pointer;
	width: 100%;
	margin-bottom: 10px;
	opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
	background-color: #35302c;
}

/* Add some hover effects to buttons */
.form-container .btn:hover,
.open-button:hover {
	opacity: 1;
}

.modal-content {
	width: 100%;
}

/*FOOTER*/
footer {
	background-color: linear-gradient(to down, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.6));
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.4);
}
