/* CSS Document */

/* Used for layout */

body, html {
	height: 100%;
	margin: 0;
}

a {
	text-decoration: underline;
	text-color: inherit;
}

.bgimg-1, .bgimg-2, .bgimg-3 {
	position: relative;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	min-height: 100%;
}

.bgimg-1 {
	background-image: url("../images/main_full_background.JPG");
	background-position: right;
	}

.bgimg-2 {
	background-image: url("../images/main_full_background2.jpg");
	}

.bgimg-3 {
	background-image: url("../images/main_full_background3.JPG");
}
	
div.body {
	padding: 50px 120px;
}


.caption {
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	text-align: center;
	color: #000;
	}

.cv_content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-content: center;
	margin: 0px auto;
	max-width: 1200px;
}

.cv_group {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: baseline;
	align-content: flex-start;
	padding-bottom: 50px;
}

.cv_item {
	margin: 10px auto;
	max-width: 1000px;
}

.cv_image {
	max-width: 700;
	width: 90%;
	
}

.main_container {
	display: flex;
    padding: 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-content: center;
	margin: 0px;
}

.link_container {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	margin: 0px;
	color: #ddd; 
	background-color: #282E34; 
	text-align: center;
	padding: 50px 10px;
}

.title {
	align-self: center;
	margin: auto;
	margin-top: 5px;
	flex: 0 1 auto;
	height: auto;
	width: auto;
}

.signature_block {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	align-self: flex-end;
	padding-right: 80px;
}

@media (max-width:768px){
	div.body {
		padding: 50px 40px;
	}
	
	.signature_block {
		justify-content: center;
		align-items: center;
		align-self: center;
		padding-right: 0px;
	}
}

@media (max-width:400px){
	div.body {
		padding: 50px 10px;
	}
}

@media only screen and (max-device-width : 1024px)  {

	html {
		background-size: auto;
		overflow: hidden;
	}
	
	.bgimg-1, .bgimg-2, .bgimg-3 {
		height: auto;
		width: auto;
	}
	
	.bgimg-1 {
		background: url("../images/main_full_background.JPG") no-repeat right center scroll;
	}

	.bgimg-2 {
		background: url("../images/main_full_background2.jpg") no-repeat center center scroll;
	}

	.bgimg-3 {
		background: url("../images/main_full_background3.JPG") no-repeat center center scroll;
	}
	
	body {  
		overflow: scroll;
		-webkit-overflow-scrolling: touch;
	}
}