/*
Theme Name: Uliak
Version: 1.0.0
*/

body{
font-family: 'PT Serif', serif;
margin: 0;
padding: 0;
background: #fafafa;
color: #363636;
min-width: 320px;
}
a{
color: #363636;
outline:none;
}
a:hover{
color: #000;
}
ul{
list-style:none;
}
img{
border:0px;
}
acronym, abbr, span.caps {
letter-spacing:0; /* fix opera bug */
}
hr{
width: 400px;
border: 0;
border-bottom: 1px solid #414141;
margin: 0 auto;
padding: 0;
margin-top: 40px;
margin-bottom: 40px;
}
p {
text-indent: 50px;
margin: 0;
text-align: justify;
}
blockquote > p {
text-indent: 0px;
margin: 0;
text-align: justify;
}
.nav{
margin-top: 15px;
}
.nav a {
color: rgb(255, 255, 255);
background: rgb(203, 203, 203);
text-decoration: none;
padding: 8px;
margin-top: 20px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.nav a:hover{
background: rgb(158, 158, 158);
}
.info{
text-align: center;
margin-top: 150px;
margin-bottom: 150px;
}

/* Header */
header{
height: 68px;
padding: 0;
text-align: center;
margin: 40px auto 0px;
}

/* Main */
article{
width: 960px;
margin: 0 auto;
padding: 0;
}
section{
width: 900px;
height: 180px;
margin: 0 auto;
padding: 0;
margin-top: 20px;
cursor: pointer;
-webkit-transition: .6s ease-out;
-o-transition: .6s ease-out;
-moz-transition: .6s ease-out;
transition: .6s ease-out;
}
section:hover{
width: 960px;
}
section:hover .rightTitleText > h1 {
text-decoration: underline;
}
.rightTitleText{
width: 400px;
height: 100%;
float: right;
background: #34cfbb;
color: #FFF;
text-align: center;
}
.rightTitleText > h1 {
margin-top: 80px;
font-weight: 400;
}
.content{
font-size: 21px;
}
.content h2{
text-align: center;
text-transform: uppercase;
}

/* Footer */
footer{
height: 80px;
margin: 0 auto;
padding: 0;
}
.footerCenter {
width: 150px;
margin: 0px auto;
height: 50px;
}
.footerCopyText{
text-align: center;
margin-top: 20px;
margin-bottom: 20px;
}
.footerInfoText{
float: left;
}
.footerInfoText a{
text-decoration: none;
}
.footerInfoText a:hover{
text-decoration: underline;
}
span.spanblock{
width: 44px;
height: 44px;
float: left;
margin-right: 6px;
margin-top: 4px;
background: rgb(199, 199, 199);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
span.vk-h:hover{
background: #4e75a0;
}
span.fb-h:hover{
background: #395799;
}
span.mail-h:hover{
background: #ee4056;
}
span.email{
width: 24px;
height: 24px;
float: left;
margin: 10px 0 0 10px;
background: url('images/sprite.png') -72px 0;
}
span.facebook{
width: 24px;
height: 24px;
float: left;
margin: 10px 0 0 10px;
background: url('images/sprite.png') -48px 0;
}
span.vk{
width: 24px;
height: 24px;
float: left;
margin: 10px 0 0 10px;
background: url('images/sprite.png') 0px 0;
}

/* Alert block */
#parent {
display: none;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,.7);
text-align: center
}

#alert{
display: none;
width: 950px;
position: fixed;
top: 50%;
left: 50%;
background: #FFF;
margin-left: -475px;
margin-top: -240px;

}
.alert p{
margin: 0px 30px;
font-size: 16px;
text-indent: 0px;
text-align: center;
}
p.alertImg{
height: 50px;
margin: 30px 30px 0px 30px;
}
#alert h1{
font-size: 25px;
}
#alert h4{
font-size: 16px;
width: 550px;
padding: 0;
margin: 0 auto;
margin-top:15px;
margin-bottom:15px;
}
button#alertBtn{
font-size: 20px;
padding: 20px 30px;
margin: 10px 0px 2px 0px;
-webkit-transition: .3s ease-out;
-o-transition: .3s ease-out;
-moz-transition: .3s ease-out;
transition: .3s ease-out;
}
p.rules{
font-size: 16px;
margin-bottom: 15px;
text-align: justify;
}
p.rules-center {
margin-bottom: 30px;
}
.social {
width: 100%;
}
.social-links {
width: 370px;
height: 80px;
margin: 0 auto;
border-radius: 5px;
}
.social-vk {
float: left;
width: 145px;
padding: 30px;
}
.social-fb {
float: left;
width: 105px;
padding: 24px 30px 27px 30px;
}
.quote_bubble {
margin-left: 20%;
}
a.footnote{
cursor: default; 
text-decoration: none;
}

/* Extra small devices (phones, less than 499px) */
@media (max-width: 499px) {
	article {
		width: 95%;
	}
	section  {
		width: 100%;
	}
	section:hover{
		width: 100%;
	}
	.rightTitleText {
		width: 100%;
	}
	p.rules {
	font-size: 13px;
	}
	#alert {
	width: 340px;
	position: fixed;
	top: 50%;
	left: 50%;
	background: #FFF;
	margin-left: -170px;
	margin-top: -350px;
	}
	#alert h4{
	width: 300px;
	}
	blockquote {
	margin-left: 0%;
	}
}

/* Extra small devices (phones, less than 767px) */
@media (min-width: 500px) and (max-width: 767px) {
	article {
		width: 95%;
	}
	section  {
		width: 100%;
	}
	section:hover{
		width: 100%;
	}
	.rightTitleText {
		width: 250px;
	}
	#alert {
	width: 500px;
	position: fixed;
	top: 50%;
	left: 50%;
	background: #FFF;
	margin-left: -250px;
	margin-top: -300px;
	}
	#alert h4{
	width: 450px;
	}
	blockquote {
	margin-left: 20%;
	}
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) { 
	article {
		width: 730px;
	}
	section  {
		width: 700px;
	}
	.rightTitleText {
		width: 300px;
	}
	section:hover{
		width: 730px;
	}
	#alert {
	width: 730px;
	position: fixed;
	top: 50%;
	left: 50%;
	background: #FFF;
	margin-left: -365px;
	margin-top: -240px;
	}
	blockquote {
	margin-left: 30%;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
	blockquote {
	margin-left: 50%;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	blockquote {
	margin-left: 50%;
	}
}
