html, body {
	width: 100%;
	margin: 0;
	padding: 0;
}

body {
	text-align: center;
	background: #f5f8fa url(../images/bggrid.svg);
}

#wrapper {
	max-width: 620px;
	margin: 0 auto;
	padding: 10px;
	text-align: left;
}

body, p {
	font-family: Arial, sans-serif;
	font-size: 12px;
	line-height: 1.5em;
	color: #666666;
	transition: color 0.2s;
}

#content p:hover {
	color: #000000;
}

#content p,
#content ul {
	margin: 18px 60px 18px 180px;
}

#content h3 {
	margin-left: 60px;
	text-align: right;
}

h1, h2, h3, h4, h5, h6, .heading {
	font-family: "Armata", Georgia, "Times New Roman", serif;
	font-weight: normal;
	color: #005374;
}

h1 {
	font-family: Tahoma, sans-serif;
	font-size: 30px;
}

h2 {
	font-size: 21px;
}

h3 {
	font-size: 16px;
}

h3 strong {
	font-weight: normal;
	font-size: 27px;
	line-height: 1em;
}

img {
	border: 0;
}

a {
	color: #2a608c;
	text-decoration: underline;
	transition: color 0.2s;
}

a:hover {
	color: #ba1718;
}

a:active {
	color: #666666;
}

#header {
	text-align: center;
	margin-bottom: 30px;
}

#logo {
    padding: 10px;
    border: 1px dashed lightblue; /* #add8e6 */
    background-color: white;
    box-shadow: 0 0 4px -2px gray;
}

#logo img {
    vertical-align: bottom;
}

#lang {
	text-align: left;
}

#lang a {
	color: gray;
}

#footer {
	margin-top: 30px;
	padding: 5px 0;
	border-top: 1px solid #CCCCCC;
	text-align: center;
}

#slogan {
	font-family: 'Inconsolata', monospace;
	font-size: larger;
}

#slogan span {
	background: yellow;
}

#content .contacts form {
	margin-left: 185px;
	padding-left: 20px;
	border-left: 5px solid #ccc;
}

#content .contacts form p {
	margin-left: 0px;
}

#content .contacts p span {
	display: block;
	float: left;
	width: 160px;
}

#content .contacts p strong {
	display: block;
	margin-left: 200px;
}

/*
 * Responsive part
 */

@media (max-width: 480px) {

    #content p,
    #content ul {
        margin: 18px 0;
    }

    #content h3 {
        margin-left: 0;
    }

    #content .contacts form {
        margin-left: 0;
    }

}

.img-responsive {
  display: block;
  height: auto;
  max-width: 100%;
}
