/*!
 * Project: Sumovska
 * File: Main styles
 */

/* ==========================================================================
   _HTML
   ========================================================================== */
* {
	box-sizing: border-box;
}
html {
	width: 100%;
	height: 100%;
	font: 14px/normal 'Roboto', Helvetica, Arial, sans-serif;
	color: #4c5365;
}

body {
	max-width: 1280px;
	min-height: 100%;
	margin: 0 auto;
	position: relative;
	background: url(../img/body.jpg) 50% 0 no-repeat;
	background-size: cover;
}
body:before {
	width: 100%;
	height: 340px;
	margin: -80px 0 0 0;
	display: block;
	content: ' ';
	overflow: hidden;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, .43);
	border-top: 1px solid rgba(228, 219, 202, .60);
	border-bottom: 1px solid rgba(228, 219, 202, .60);
}
hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 0 0 1em 0;
	padding: 0;
}
audio, canvas, img, video {
	vertical-align: middle;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v14/mUdRVCMHGKUBOACHGTH1g-vvDin1pK8aKteLpeZ5c0A.woff) format('woff');
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  src: local('Great Vibes'), local('GreatVibes-Regular'), url(http://fonts.gstatic.com/s/greatvibes/v4/6q1c0ofG6NKsEhAc2eh-3brIa-7acMAeDBVuclsi6Gc.woff) format('woff');
}
/* ==========================================================================
   _LAYOUT
   ========================================================================== */

/* ==========================================================================
   _TEXT
   ========================================================================== */
p {
	margin: 0 0 14px;
}
ul, ol {
	margin: 0 0 14px 0;
}
a {
	color: #4c5365;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	margin: 0 0 24px;
}
.h1 {
	margin: 0 0 14px 0;
	font-size: 56px;
	font-family:  'Great Vibes', Helvetica, Arial, sans-serif;
	font-weight: normal;
}
.h2 {
	color: #262932;
	font-size: 20px;
	font-weight: normal;
	letter-spacing: .09em;
}
.card {
	width: 500px;
	height: 240px;
	margin: -30px 0 0 -250px;
	padding-top: 38px;
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
	background: #a7caba url(../img/card.jpg) 50% 0 repeat;
	border-radius: 5px;
	cursor: default;
}
.card .contacts {
	width: 200px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.card .contacts li {
	position: relative;
}
.card .contacts li:before {
	width: 16px;
	height: 16px;
	display: block;
	content: ' ';
	overflow: hidden;
	position: absolute;
	top: 4px;
	left: 14px;
	background: url(../img/sprite.png) 0 0 no-repeat;
	background-size: 42px auto; 
}
.card .contacts li.mail:before {
	width: 22px;
	left: -6px;
	top: 2px;
	background-position: -20px 0;
}
.card .contacts li.mail a {
	text-decoration: none;
	transition: color .3s ease;
}
.card .contacts li.mail a:hover {
	color: #262932;
}
@media(max-width:768px){
	.card { width: 100%; left: 0; right: 0; margin-left: 0;}
	.h1 { font-size: 46px;}
}
/* ==========================================================================
   _PRINT STYLES
   ========================================================================== */
@media print {
	* { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
}