@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html {
	margin: 0 auto;
	width: 100%;
}
body {
	margin: 0 auto;
	font-family: "Nunito", sans-serif;
  	font-optical-sizing: auto;
  	font-weight: 400;
  	font-style: normal;
  	font-size: 110%;
	line-height: 1;
	color: #fff;
	background: #fff;
	cursor: default;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.container {
	margin: 0 auto;
	max-width: 1900px;
	padding: 0 2%;
	box-sizing: border-box;
}

a {
	color: #7d0caf;
	text-decoration: none;
	filter:alpha(opacity=100);
	opacity: 1;
	-webkit-transition:all 0.2s linear;
	-moz-transition:all 0.2s linear;
	-o-transition:all 0.2s linear;
	transition:all 0.2s linear;
}
a:hover, a:focus {
	color: #9601d8;
	outline: 0;
	filter:alpha(opacity=100);
	opacity: 1;
	-webkit-transition:all 0.2s linear;
	-moz-transition:all 0.2s linear;
	-o-transition:all 0.2s linear;
	transition:all 0.2s linear;
}
a[href^=tel] {
	background: none !important;
	padding: 0 !important;
	color: #fff;
}
a img {
	border: 0;
}

/* FORMS */
::placeholder {
	color: #959595;
}
input[type='text'], input[type='tel'],input[type='email'], input[type='password'], textarea {
	background: rgba(240, 240, 240, 1);
	border: 1px solid rgba(240, 240, 240, 1);
	border-radius: 6px;
	outline: 0;
	font-size: 90%;
	padding: 10px 15px 12px;
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	font-family: "Nunito", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
input[type='text']:focus,
input[type='tel']:focus,
input[type='email']:focus,
input[type='password']:focus,
textarea:focus {
	border: 1px solid rgba(0, 161, 145, 0.4);
}
input[type='text'].invalid, 
input[type='tel'].invalid,
input[type='email'].invalid {
	border: 1px solid #ff964b;
}
input[type='submit'], input[type='button'], button {
	border: 0;
	outline: 0;
	font-size: 100%;
	text-transform: uppercase;
	background: #1b4586;
	border-radius: 50px;
	padding: 10px 30px;
	color: #fff;
	letter-spacing: 0.5px;
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transition:all 0.2s linear;
	-moz-transition:all 0.2s linear;
	-o-transition:all 0.2s linear;
	transition:all 0.2s linear;
	font-family: "Nunito", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
input[type='submit']:hover, input[type='button']:hover, button:hover {
	background: rgba(28, 71, 135, 0.6);
	filter:alpha(opacity=100);
	opacity: 1;
	-webkit-transition:all 0.2s linear;
	-moz-transition:all 0.2s linear;
	-o-transition:all 0.2s linear;
	transition:all 0.2s linear;
}
button.rsform-thankyou-button {
	padding: 10px 30px;
	font-size: 100%;
}

/* CHECKBOX STYLING */
[type=checkbox] {
  width: 2.5rem;
  height: 2.5rem;
  color: dodgerblue;
  vertical-align: middle;
  -webkit-appearance: none;
  background: none;
  border: 0;
  outline: 0;
  flex-grow: 0;
  border-radius: 50%;
  background-color: #e6e2e2;
  transition: background 300ms;
  cursor: pointer;
  margin-right: 6px;
  margin-bottom: 15px;
}
[type=checkbox]:hover {
	background-color: #1b4586;
}
[type=checkbox]::before {
  content: "";
  color: transparent;
  display: block;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  border: 0;
  background-color: transparent;
  background-size: contain;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23ccc'/%3E %3C/svg%3E");
}

/* Checked */
[type=checkbox]:checked {
  background-color: #1b4586;
}

[type=checkbox]:checked::before {
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
}

.has-error-foundation input[type="text"].rsform-error:not(:focus), 
.has-error-foundation input[type="email"].rsform-error:not(:focus) {
	color: #fff !important;
}

div.formBody {
	float: none !important;
}
.formError {
	color: #b50000 !important;
	font-size: 13px !important;
	font-weight: normal !important;
	display: block;
	margin-top: 0;
	text-align: center;
}
.has-error-foundation input[type="text"].rsform-error:not(:focus), .has-error-foundation input[type="password"].rsform-error:not(:focus), .has-error-foundation input[type="email"].rsform-error:not(:focus), .has-error-foundation textarea.rsform-error:not(:focus), .has-error-foundation select.rsform-error:not(:focus) {
  background-color: rgba(28, 71, 135, 0.5) !important;
  border-color: rgba(64, 236, 107, 0) !important;
}
.formClr {
	display: inline-block !important;
}

div.formError {
	left: 30% !important;
}

hr {
	border: none;
	border-bottom: 1px solid #ccc;
	margin: 1% 0;
}
img {
	max-width: 100%;
	max-height: 100%;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 10px;
	line-height: 1.1;
}
h1, h2 {
	font-size: 200%;
	line-height: 1.15;
	margin-bottom: 40px;
}
p {
	margin-top: 0;
	margin-bottom: 20px;
	line-height: 1.3;
}
.p p {
	margin: 0;
	line-height: 0;
}
strong, b {
	font-weight: 700;
}
.ul ul, .ol ol {
	list-style: none;
	padding: 0;
	margin: 0;
}
.li li {
	display: inline-block;
	vertical-align: top;
}


/* HEADER */
#header {
	padding: 4% 0 22%;
	background: url(../images/header.jpg) no-repeat center top / cover;
}
#header .logo {
	margin-bottom: 5%;
}
#header .logo h1 {
	margin: 0;
	display: inline-block;
}
#header .logo a {
	background: url(../images/ug.svg) no-repeat center top / 100%;
	padding-top: 95px;
	text-indent: -99999px;
	width: 270px;
	display: inline-block;
}

#header .about {
	max-width: 1300px;
	margin: 0 auto;
	font-size: 135%;
	padding: 5% 3%;
}

#content {
	background: url(../images/content-bg.svg) no-repeat center top / cover;
	position: relative;
	margin-top: -200px;
	padding: 17% 0 12%;
}

#content .services {
	font-size: 135%;
}
#content .services h1 {
	margin-bottom: 100px;
}
#content .services h3 {
	font-size: 140%;
	font-weight: 800;
	margin-bottom: 15px;
}
#content .services li {
	width: 28%;
	margin-bottom: 9%;
	margin-right: 7%;
}
#content .services li:nth-child(3n) {
	margin-right: 0;
}
#content .services li em {
	font-style: normal;
	background: #6f069d;
	color: #fff;
	font-size: 300%;
  	font-weight: 800;
  	margin-bottom: 30px;
  	display: inline-block;
  	border-radius: 100px;
  	padding: 45px 20px;
  	width: 130px;
  	height: 70px;
}


#contact {
	padding: 200px 0;
	background: url(../images/contact.jpg) no-repeat center top / cover;
}
#contact .info h1 {
	font-size: 250%;
}
#contact .info h2,
#contact .info h4 {
	font-size: 130%;
	margin-bottom: 15px;
}
#contact .info h3 {
	font-size: 230%;
	margin-bottom: 50px;
}
#contact .info p {
	margin-bottom: 8px;
}
#contact .info a.mail {
	font-size: 120%;
	color: #fff;
}
#contact .info a.mail:hover {
	color: #ffc0ff;
}


#footer {
	background: #64058e;
	padding: 80px 0 50px;
}
#footer a {
	color: #fff;
}
#footer .address {
	font-size: 120%;
	margin-bottom: 40px;
}
#footer .cr {
	font-size: 95%;
}
#footer .cm a {
	text-transform: uppercase;
	font-size: 9px;
	font-weight: 600;
}
#footer .cm a:hover {
	 color: #ffc0ff;
 }

/* SCROLL TO TOP */
#button_top {
  display: inline-block;
  background: #54007e;
  width: 42px;
  height: 34px;
  padding: 12px 5px 5px;
  text-align: center;
  border-radius: 50px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button_top::after {
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button_top:hover {
  cursor: pointer;
  background: #a50ca5;
}
#button_top:active {
  background: #a50ca5;
}
#button_top.show {
  opacity: 1;
  visibility: visible;
}


/* RESPONSIVE ELEMENTS */

@media (max-width:900px) {
	#content {
		padding: 35% 0 15%;
	}
	#content .services li {
		width: 45%;
	}
	#content .services li:nth-child(3) {
		margin-right: 7%;
	}
	#content .services li:nth-child(2n) {
		margin-right: 0;
	}
	#content .services li em {
		font-size: 200%;
		padding: 45px 20px;
		width: 100px;
		height: 45px;
	}
}

@media (max-width:650px) {
	h1, h2 {
		font-size: 170%;
	}
	#header .about {
		font-size: 125%;
		padding-left: 0;
		padding-right: 0;
	}
	#header .about h2 {
		margin-bottom: 20px;
	}
	#content {
		padding-top: 58%;
		padding-bottom: 20%;
		margin-top: -230px;
	}
	#content .services h1 {
		margin-bottom: 70px;
	}
	#content .services li {
		width: 100%;
		margin-right: 0;
		margin-bottom: 14%;
	}
	#content .services li:nth-child(3) {
		margin-right: 0;
	}
	#content .services li:last-child {
		margin-bottom: 0;
	}
	#content .services li em {
		margin-bottom: 20px;
		padding: 40px 20px;
		width: 90px;
	}
	#contact {
		padding: 150px 0;
	}	
}

@media (max-width:350px) {
	#content {
		padding-top: 70%;
	}
}
