/* Body
–––––––––––––––––––––––––––––––––––––––––––––––––– */

html{
    overflow: hidden;
    height: 100%;
}

body
{
	font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    height:100%;
    overflow: auto;
}

body.light{
	background: url('../images/bg001.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Content
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.wrapper{
	display: flex;
	min-height: 100vh;
	position: relative;
    justify-content: center;
    align-items: center;
    padding:0;
    box-sizing: border-box;
    transition: top .5s;
    top: 0;
}


content{
	position: relative;
	width: 90%;
	text-align: center;
	display: inline-block;
	z-index: 1;
}


.title{
	font-size: 24px;
	font-weight:800;
	margin:0;
	font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
}

.description{
	font-size: 14px;
	font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
	margin:0;
}

.dark .title, .dark .description{
	color: #ffffff;
}

.light .title, .light .description{
	color: #505050;
}

.space{
	margin-top:10px;
}

.lgl{
	width:auto;
}


@media (min-width:180px) {
	content {
		width: 90%;
	}
	.title{
		font-size:30px;
		margin:0px;
		
	}
	.description{
		margin:0px;
		margin-bottom:30px;
		font-size: 18px;
	}
	
	.lgl{
		max-width:70%;
		margin-bottom:50px;
	}
}


@media (min-width: 768px) {
	.wrapper{
		padding: 140px 0 80px 0;
	}
	content {
		width: 90%;
	}
	.title{
		font-size:30px;
	}
	.description{
		font-size: 18px;
	}
	
	.lgl{
		max-width:90%;
	}
}


.hide{
	display: none;
}

.show{
	display: block;
}

/* Logo
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.dark .closeIcon use{
    fill: #ffffff;
}

.light .closeIcon use{
	fill: #505050
}



/* Button
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.button{
	background-color: #bbbbbb;
	padding: 16px 42px 12px 42px;
	border: 0;
	outline: 0;
	border-radius: 0;
	font-size: 14px;
	font-weight:800;
	font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
	display: inline-block;
	text-decoration: none;
	line-height: inherit;
	height: inherit;
}

.button.orange{
	background-color: #ef7f1a;
	color: #ffffff;
}

.button.orange:hover{
	background-color: #ffffff;
	color: #ef7f1a;
}

.button.dark{
	background-color: #66564a;
	color: #ffffff;
}

.button.dark:hover{
	background-color: #ffffff;
	color: #66564a;
}

.button.rounded{
	border-radius: 5px;
}

.button.full-rounded{
	border-radius: 22px;
}



/* Modal
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.modal{
	max-width: inherit;
	background-color: rgba(32,46,60,0.95);
	-webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    vertical-align: top;
    border-radius: 0;
    padding: 39px 5%;
    width: 100%;
    position: fixed;
    top: -100vh;
    height: 100vh;
    transition: top .5s, background .2s;
    overflow-y: scroll;
}

.dark .modal{
	background-color: rgba(32,46,60,0.95);
}

.light .modal{
	background-color: rgba(255,255,255,0.95);
}

.modal.open{
	top: 0;
}

.wrapper.modal-opened{
	top: 250px;
	transition: top .5s;
}

.modal-close{
	position: absolute;
	right: 0;
	top: 0;
	cursor: pointer;
}
.modal-close .closeIcon{
	width: 22px;
	height: 22px;
}
.modal-content .title{
	font-size: 24px;
	text-align: center;
	margin:5px 0;
}

.modal-content .sub-title, .modal-content .content {
	color: #646f7c;
	font-size: 14px;
	text-align: center;
}

.modal-content .content {
	font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
	width: 100%;
	display: block;
	margin-bottom:5px;
	
}

.modal-content .sub-title{
		margin-bottom: 0
}

.modal-content input, .modal-content textarea {
	resize: none;
	width: 100%;
}

.dark .modal-content input, .dark .modal-content textarea{
	background-color: #202e3c;
	border: 1px solid #495562;
	color: #6c7784;
}

.light .modal-content input, .light .modal-content textarea{
	background-color: #ffffff;
	border: 1px solid #6c7784;
	color: #6c7784;
}

.modal-content textarea{
	height: 168px
}

.modal-content button{

	border: 0;
	width: 100%;
}

.dark .modal-content button{
	background-color: #ffffff;
	color: #202e3c;
}

.light .modal-content button{
	background-color: #505050;
	color: #ffffff;
}


@media (min-width: 768px){
	.modal-content .social-media,.modal-content .title,.modal-content .sub-title, .modal-content .content {
		text-align: left;
	}
	.modal{
		top: -560px;
    	height: 560px;
	}
}



/* Overlay
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.overlay{
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
    transition: background .5s, z-index 0s .5s;
}
.overlay.on{
	z-index: 1;
    transition: background .5s, z-index 0s;
}

.dark .overlay.on{
	background: rgba(32,46,60,0.9);
}

.light .overlay.on{
	background: rgba(255,255,255,0.9);
}


/* Particles
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#particles-js canvas{
	position: fixed;
}


/* Form
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.form-success-description {
  display: none;
  font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #646f7c;
  font-size: 14px;
}

span.error {
  display: block;
  color: #e73e3e;
  font-size: 11px;
  margin-top: -10px;
}
