/* CSS Document */

html * { padding: 0; margin: 0; }
img { border: none; }
a { outline: none; }
a:hover { -moz-transition: background 0.3s; -o-transition: background 0.3s; -webkit-transition: background 0.3s; transition: background 0.3s; }
li:hover { -moz-transition: background-image 0.3s; -o-transition: background-image 0.3s; -webkit-transition: background-image 0.3s; transition: background-image 0.3s; }
ul { list-style: none; }
div { position: relative; text-align: left; }
hr { clear: both; border: none; width: 0; height: 0; visibility: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }

@font-face{ 
	font-family: 'Aller';
	src: url('aller.eot');
	src: url('aller.eot?#iefix') format('embedded-opentype'),
	     url('aller.woff') format('woff'),
		 url('aller.woff2') format('woff'),
	     url('aller.ttf') format('truetype'),
		 url('aller.svg#webfont') format('svg'); 
}

body { background: #fff; text-align: center; font-family: "Aller", Arial, Helvetica, sans-serif; color: #243e51; }



/* layout */
#tophome { width: 100%; background: url(../images/main-image-home.jpg) no-repeat center top; }
#topabout { width: 100%; background: url(../images/main-image-about.jpg) no-repeat center top; }
#topservice { width: 100%; background: url(../images/main-image-service.jpg) no-repeat center top; }
#topblog { width: 100%; background: url(../images/main-image-blog.jpg) no-repeat center top; }
#topcontact { width: 100%; background: url(../images/main-image-contact.jpg) no-repeat center top; }

#middle { width: 100%; background: url(../images/menu-background.png) no-repeat center bottom; }
#menu { width: 100%; max-width: 990px; margin: 0 auto; padding: 78px 0 8px 0; }
#tophome #menu { padding: 360px 0 8px 0; }
#menu img { display: block; float: left; }
#menu ul { font-size: 16px; font-family: "Aller", Arial, Helvetica, sans-serif; border-left: 1px solid white; float: left; -moz-font-smoothing: antialiased; }
#menu li { display: block; border-right: 1px solid white; float: left; }
#menu ul a { display: block; padding: 21px 26px 22px 26px; color: #005e84; text-decoration: none; float: left; }
#menu a:hover { background: #afc9d1; color: white; }

#tophome #menu li.m1, #topabout #menu li.m2, #topservice #menu li.m3, #topblog #menu li.m4, #topcontact #menu li.m5 { display: block; padding: 21px 26px 22px 26px; color: white; text-decoration: none; float: left; background: #005e84; }
#menu li span { display: block; position: absolute; bottom: 0; margin-bottom: 2px; }
#menu li.m1 span { left: 270px; }
#menu li.m2 span { left: 361px; }
#menu li.m3 span { left: 454px; }
#menu li.m4 span { left: 555px; }
#menu li.m5 span { left: 641px; }

#en #menu li.m2 span { left: 366px; }
#en #menu li.m3 span { left: 482px; }
#en #menu li.m4 span { left: 596px; }
#en #menu li.m5 span { left: 682px; }

#menu ul li.lang { float: right; border: none; margin-left: 166px; padding-left: 6px; background: url(../images/langmenu.png) no-repeat left center; }
#en #menu ul li.lang { margin-left: 126px; }
#menu ul li.lang:hover { background-position: -6px center; }
#menu ul li.lang a { background-color: #90a0ab; color: white; padding: 21px 20px 21px 20px; }
#menu ul li.lang a:hover { background: #243e51; }

#footer { width: 100%; max-width: 930px; margin: 0 auto; font-size: 11px; font-family: Arial, Helvetica, sans-serif; background: url(../images/footer-divider.png) no-repeat left top; padding: 40px 0 100px 0; }
#footer p { float: left; margin-right: 15px; padding: 4px 0;  }
p.copyright { color: #243e51; }
#footer a { display: block; padding-right: 51px; background: url(../images/myagelogo.png) no-repeat right center; color: #7a7a7a; text-decoration: none; }
#footer a:hover { text-decoration: underline; }

/* homepage content */
#content { width: 100%; max-width: 930px; margin: 0 auto; padding: 50px 0 100px 0; font-size: 14px; line-height: 21px; }
#content h2 { font-size: 21px; color: #005e84; margin-bottom: 14px; }
#home #content span { display: block; color: #90a0ab; }
#home #content div { width: 33%; float: left; margin-left: 3%; }
#home #content div.homecol3 { width: 22%; }
#home #content div.homecol2 { width: 36%; margin-left: 4%; }
#home #content div:first-child { margin-left: 0; }
#home #content div ul a { color: #243e51; text-decoration: none; padding-left: 35px; background: url(../images/listarrow.png) no-repeat left center; }
#home #content div ul a:hover { text-decoration: underline; }
a.btn { display: inline-block; background: #243e51; background-image: url(../images/btn-arrow.png), url(../images/btn-end.png); background-position: right center, left center; background-repeat: no-repeat; color: white; padding: 3px 42px 5px 22px; text-decoration: none; margin-top: 30px; }
a.btn:hover { color: #dee2e7;  }
a.btn.correct  { margin-top: 51px; }
#en a.btn.correct  { margin-top: 114px; }
#en a.btn.correct2  { margin-top: 51px; }
.homeadvert { position: absolute; width: 990px; left: 50%; top: 0; margin: 0 0 0 -495px; padding: 125px 0 0 505px; z-index: 99; font-size: 14px; }
.homeadvert h1 { font-size: 24px; color: #005e84; margin-bottom: 8px; }
.homeadvert p { line-height: 25px; width: 35%; margin-bottom: 24px; }
.homeadvert a { display: inline-block; color: #243e51; text-decoration: none; border: 1px solid #243e51; padding: 9px 60px 11px 15px; background: #f8f8f8 url(../images/arrowsymbol.png) no-repeat right center; }
.homeadvert a:hover { background: #afc9d1  url(../images/arrowsymbolwh.png) no-repeat right center; color: white; border: 1px solid #f8f8f8; }

/* about us content */
.aboutleft { width: 270px; background: url(../images/aboutleft.png) no-repeat left top; float: left; padding: 20px 0 0 35px; margin-top: 10px; }
.aboutright { width: 595px; float: right; font-size: 14px; }
.aboutleft img { display: block; margin-top: 15px; }
#content .aboutleft h2 { font-size: 14px; color: #243e51; margin: 10px 0 0 0; font-weight: bold; }
.aboutleft p { font-size: 11px; color: #005e84; font-family: Arial, Helvetica, sans-serif; line-height: 16px; font-weight: bold; }
#content h1 { font-size: 24px; background: url(../images/symbol-gim.png) no-repeat left -1px; padding-left: 35px; font-weight: bold; }
.aboutright div p:first-child { font-weight: bold; }
.aboutright div div p:first-child { font-weight: normal; margin-right: 5%; }
.aboutright p { margin-top: 23px; }
#content .frame { background: #d8e3e6; border: 1px solid #afc9d1; padding: 15px 12px 18px 20px; margin: 30px 0 40px -20px;  }
#content .people p { margin: 0 0 20px 0; }
#content .people h3 { color: #005e84; font-size: 18px; margin-bottom: 6px; }
#content .people h4 strong { display: block; }
#content .people h4 { margin-top: 0; }
#content .people a { color: #243e51; }
#content .people a:hover { color: #005e84; }
#content .aboutright li { padding-left: 35px; background: url(../images/listsquare.png) no-repeat 15px 7px; margin-left: -35px; }
#content .aboutright ul { margin-top: 6px; }

/* services content */
div.servicecol { margin: 20px 0 0 0; background: url(../images/quadcolor-divider.png) no-repeat left bottom; padding-bottom: 30px; }
div.servicecol ul:first-child { margin-left: 0; }
div.servicecol ul { float: left; width: 251px; margin-left: 33px; background: url(../images/quadcolor-columns-services.png) no-repeat left top; padding: 25px 25px 0 0; }
div.servicecol ul li { font-size: 13px; line-height: 18px; margin-bottom: 15px; background: url(../images/arrowsymbol.png) no-repeat left 3px; padding-left: 35px; }

div.addservicecol { margin: 0 0 0 0; background: url(../images/quadcolor-divider.png) no-repeat left bottom; padding-bottom: 40px; }
div.addservicecol div:first-child { margin-left: 0; }
div.addservicecol div { float: left; width: 265px; padding: 25px 0 0 0; margin-left: 43px; }
#content div.addservicecol h2 { font-size: 18px; padding-left: 35px; }
#content div.addservicecol p { font-size: 13px; padding-left: 35px; background: url(../images/listsquare.png) no-repeat 15px 7px; }

div.prices { margin: 30px 0 30px 0; padding: 0 0 10px 35px; font-size: 13px; }
div.prices h3 { width: 100%; font-size: 21px; color: #005e84; margin-bottom: 15px; }
div.prices ul { padding-left: 20px; }
div.prices ul li { padding-left: 15px; background: url(../images/listsquare.png) no-repeat 0 7px; }

.newclientoffer h4 { font-weight: bold; font-size: 21px; line-height: 30px; padding: 0 0 0 35px; }
.newclientoffer p { padding: 0 35px 0 35px; }
#content .newclientoffer div.frame { padding: 20px 12px 30px 20px; margin: 30px 0 0 -20px; }

/* blog content */
.blogcontent div { width: 30%; float: left; margin-left: 3%; padding: 30px 0 0 0; background: url(../images/quadcolor-columns-services.png) no-repeat left top; font-size: 13px; margin-top: 30px; }
.blogcontent div:first-child { margin-left: 0; }
#content .blogcontent h2 span { display: block; }
#content .blogcontent h2  { color: #243e51; font-size: 15px; min-height: 45px; background: url(../images/listarrow.png) no-repeat left 4px; padding: 0 0 0 25px; }
#content .blogcontent p  { padding: 0 25px 0 25px; }
.btn.blogpadding { margin: 20px 0 14px 25px; }

.blogcontent div.blogarticle { padding: 25px 0 0 0; background: none; float: none; width: 70%; margin: 0 auto; }
.blogcontent div.blogarticle h1 { margin: 0 0 20px 0; }
.blogcontent div.blogarticle p { margin: 0 0 20px 12px; }
.blogcontent div.blogarticle a { color: #243e51; }
.blogcontent div.blogarticle a:hover { color: #333; }
a.backtoblog { margin: 30px 0 0 140px; }

/* contact content */
.contactform { width: 400px; float: left; min-height: 100px; background: url(../images/quadcolor-col1-contact.png) no-repeat left top; margin: 30px 40px 0 0; font-size: 13px; }
.contactdata { width: 439px; float: left; min-height: 100px; background: url(../images/quadcolor-col2-contact.png) no-repeat left top; margin-top: 30px; padding-left: 30px; font-size: 13px; }
#content .contactdata h2 { font-size: 14px; font-weight: bold; margin: 35px 0 0 0; }
#content .contactdata h3 { color: #005e84; }
.contactdata strong { display: block; }
.contactdata p { margin-bottom: 20px; }
.contactdata div { float: left; }
.contactdata .contactcol1 { width: 55%; }
.contactdata .contactcol2 { width: 35%; }
.contactdata a { color: #243e51; }
.contactdata  a:hover { color: #005e84; }
#en a.btn.blogbtn  { margin-left: 10px; }
