/*
Theme Name: MyPiDay.com
Text Domain: mypiday

*/
@charset "UTF-8";
html {height:100%;position:relative;}
body {
	background-color: #000;
	margin: 0px;
	padding: 0px;
	height:100%;
	position:relative;
}
body.home {
	background-attachment: fixed;
	background-image: url(homebg.gif);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.pipe {
	opacity:.5;
}

.clear {clear:both;}
p {margin:0;}
#headerblock {
    background-color: #a6181e;
    margin: auto;
    padding: 13px 0px;
    color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    letter-spacing: .05em;
    width: 237px;
    text-align: center;
    z-index: 3;
    position: relative;
}
#headerblock .pipe {margin:0 20px;}
div#headerblock:hover {
    background: #da6908;
    cursor:pointer;
}
#home-container {
	display: block;
	height: 100%;
	width: 100%;
	position: relative;
	margin:0 auto;
	-webkit-transform-style: preserve-3d;
  	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
    margin: -49px auto 0 auto;
}
#title {
  padding: 0px 30px 20px 30px;
  line-height: .94em;
  word-spacing: .07em;
  letter-spacing: -.01em;
}
#date-entry {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
   	text-align: center;
	width: 100%;
	background-image: url(dateentrybg.png);
	background-repeat: repeat;
	min-height: 280px;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 72px;
	padding: 60px;
	color: #ffffff;
	font-weight: 300;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin:0 auto;
	display:none;
	padding: 60px 20px;
}
input[type="text"] {
	font-size: 19px;
	line-height:32px;
	margin: 1em 0;
	color: #7e7e7e;
	font-weight: 400;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width:430px;
	width:90%;
	text-align:center;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;
	border:none;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
   input[type="text"] {font-size: 17px;min-height:32px;}
   @supports (-ms-ime-align: auto) {input[type="text"] {font-size: 16px;min-height:32px;}}
}


::-webkit-input-placeholder {
	color: #999;font-size:13px;font-weight: 400;}
:-moz-placeholder { /* Firefox 18- */
	color: #999;font-size:13px;font-weight: 400;}
::-moz-placeholder {  /* Firefox 19+ */
	color: #999;font-size:13px;font-weight: 400;}
:-ms-input-placeholder {  
	color: #999;font-size:13px;font-weight: 400;}
	
input[type="text"]:focus {
	-webkit-box-shadow: 0px 0px 9px 0px rgba(255,255,255,1);
	-moz-box-shadow: 0px 0px 9px 0px rgba(255,255,255,1);
	box-shadow: 0px 0px 5px 0px rgba(255,255,255,1);
	color: #333;
}
#errors {
	font-size:19px;
	font-weight: 400;
}
#image {
	display:block;
	margin:0 auto;
	padding:50px 0 0px 0;
	
}
#image img {
	width:85%;
	height:auto;
	/*max-width:1000px;*/
	display:block;
	margin:0 auto;
}

#results {
  position: relative;
  text-align: center;
  width: 100%;
  background-image: url(dateentrybg.png);
  background-repeat: repeat;
  /* min-height: 175px; */
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 45px;
  padding: 35px 20px 40px 20px;
  color: #ffffff;
  font-weight: 400;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 35px auto 0 auto;
}


#pi-results {font-weight:600;}
.ctas a {
	background-color:transparent;
	display:inline-block;
	padding: 1em;
	margin: 0.5em;
	font-size: 20px;
	width:230px;
	color: #F9D0D0;
	text-decoration:none;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.ctas a:hover {background-color:#ff8b00;
	color: #FFF;}
.ctas p {
	width:65%;
	text-align:left;
	float:right;
}
.ctas img {
	height:50px;
	width:auto;
}
#footer {
	padding: 20px;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 400;
	text-align:center;
}
.footer-ctas p {
	display:inline-block;
	padding: 0.25em;
	margin: 0.5em;
	font-size: 20px;
	color:#ffffff;
}
.footer-ctas p a {
	text-decoration:none;
	color:#ffffff;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
}
.footer-ctas p a:hover {
	color:#c22828;
}
#sharers {display: inline-block;margin: 0.5em;  vertical-align: middle;}

#site-footer {
	background-color: #6b1013;
	margin: 0px;
	padding: 15px 25px;
	display: block;
	width: 100%;
	color: #ffffff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15px;
	text-transform: uppercase;
	text-align:center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#site-footer a {
	color:#E07979;
	text-transform:uppercase;
	text-decoration:none;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	margin: 0 1em;
}
#site-footer a:hover {
	color:#ffffff;
}
#site-footer a img {
	vertical-align:middle;
	margin:5px 5px 6px 0px
}


/*--SUBPAGES--*/
body.subpage { font: 15px/1.55em 'Source Sans Pro', Arial, Helvetica, sans-serif; color: #535353;background-color:#ffffff; padding:0px 0 0 0;}
.subpage h1 {font-size:50px;color:#f7000a;text-transform:uppercase;font-weight:normal;line-height:1em;}
.subpage h2 { font-size: 24px; line-height: 30px; }
.subpage hr { clear: both; padding-top: 30px; margin-bottom: 30px; border: none; border-bottom: 1px solid #c2c2c2; }
.subpage p {margin: 0 0 1em 0;}
.homelink {color:#ffffff;text-decoration:none;-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;}
.homelink:hover {color:#f58c8c;text-decoration:none;}
#nav-menu {margin: 70px 0 20px 0;text-align:center;}

#nav-menu ul {
	padding: 0;
    margin: 0;
    list-style-type: none;
}
#nav-menu ul li {
	display:inline-block;
}
#nav-menu ul li a {
	text-decoration:none;
	font-size:22px;
	text-transform:uppercase;
	color:#5c5c5c;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	padding:15px;
}
#nav-menu ul li a:hover, #nav-menu ul li.current-menu-item a {
	color:#ec050e;
}

#content {
	width:750px;
	margin:0 auto 50px auto;
	display:block;
	padding: 75px 55px 25px 55px;
	-webkit-box-shadow: 0px 0px 14px 2px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 14px 2px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 14px 2px rgba(0,0,0,0.4);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#content a {
	color:#ec050e;
	text-decoration:none;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
}
#content a:hover {
	color:#ec050e;
	text-decoration:underline;
}

#site-footer #copyrighttwo {
	display:none;
    color:#e07979;
}
#site-footer #copyrightone {
	display:inline;
    color:#e07979;
}

#about #site-footer #copyrighttwo {
    color:#535353;
}
#about #site-footer #copyrightone {
    color:#535353;
}
#about #site-footer {
	background-color:#D3D3D3;
}
#about #site-footer a {
	color:#535353;
}
#about #site-footer a:hover {
	color:#EC050E;
}


@media screen and (max-width: 800px) { 
	#content {width:90%}
}

@media screen and (max-width: 500px) {
    #image img {width: 100%;}
	#date-entry {font-size:59px;}
	#site-footer a {
		display:block;
		font-size:18px;
		margin: 1em auto;
	}
	#site-footer #copyrighttwo {
		display:block;
        color:#e07979;
	}
    #site-footer #copyrightone {
		display:none;
        color:#e07979;
	}
    .footer-ctas p {
        font-size: 17px;
    }
	#site-footer a.withicon {
		margin: 1em auto 1em -40px;
	}
	.subpage h1 {font-size:30px;}
	#nav-menu ul li {
		display:block;
	}
	#nav-menu ul li a {
		display:block;padding:8px;
	}
    ::-webkit-input-placeholder {
	   font-size:12px;}
    :-moz-placeholder { /* Firefox 18- */
	   font-size:12px;}
    ::-moz-placeholder {  /* Firefox 19+ */
	   font-size:12px;}
    :-ms-input-placeholder {  
	   font-size:12px;}
}