/*
Theme Name: Party Digest
Theme URI: http://vperou.com
Author: v.perou graphics web and photography
Author URI: http://vperou.com/
Description: The 2013 theme developed for Party Digest.
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, buddypress
*/




/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: none;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}



/* =fonts ----------------------- */
/* Origin Extra Bold - kit by Fonts2u (http://www.fonts2u.com) *
@font-face {
font-family:"Origin Extra Bold";
src:url('/wp-content/themes/partydigest/fonts/Origin-ExtraBold.eot?') format('eot'),
url('/wp-content/themes/partydigest/fonts/Origin-ExtraBold.woff') format('woff'),
url('/wp-content/themes/partydigest/fonts/Origin-ExtraBold.ttf') format('truetype'),
url('/wp-content/themes/partydigest/fonts/Origin-ExtraBold.svg#Origin-ExtraBold') format('svg');
font-weight:normal;
font-style:normal;
}
*/

/* =global ----------------------- */
body {
background: #bd1e2c url('/wp-content/themes/partydigest/images/bkgd-redstripes.png') top left repeat;
font: normal 14px/18px Arial, Helvetica, sans-serif;
/* cwg change color from color: #fb8993; to white */
color:#fff;
padding: 0;
margin: 0;
}

#page {
width: 100%;
margin: 0 auto;
padding: 0px;
}

/* header */
#page > #masthead {
width: 100%;
position: relative;
height: 100px;
margin: 0 auto;
background: #333 url('/wp-content/themes/partydigest/images/bkgd-darktexture.png') top left repeat;
}

#page > #masthead:before {
content: '';
position: absolute;
width: 100%;
height: 99px;
background: #333 url('/wp-content/themes/partydigest/images/bkgd-darktexture.png') top left repeat;
top: 0;
z-index: 1;
border-top: solid 1px #291d21;
}

.home #page > #masthead:before {height: 345px;}

#page > #masthead > hgroup {
width: 950px;
padding: 0 10px;
position: relative;
z-index: 1;
margin: 0 auto;
}

#logo-container {
width: 364px;
height: 87px;
background: #161618 url('/wp-content/themes/partydigest/images/bkgd-blackstripes.png') top left repeat;
border: solid #bd1e2c;
border-width: 0 1px;
padding: 13px 0 0;
text-align: center;
}

#page > #masthead > hgroup td:first-child,
#page > #masthead > hgroup td:last-child {
vertical-align: middle;
position: relative;
 }

#page > #masthead > hgroup td:first-child > div:first-child,
#page > #masthead > hgroup td:last-child > div:first-child {
border: solid #BD1E2C;
border-width: 1px 0;
padding: 10px 0;
display: table;
width: 100%;
}

hgroup .menu li {
float: left;
clear: none;
width: 40%;
padding: 15px 0px 10px 20px;
}

hgroup .menu li a,
hgroup .menu li a:visited {
color: #fff;
text-decoration: none;
font-size: 30px;
}

hgroup .menu li a:hover,
hgroup .menu li a:active {color: #FB8993;}

hgroup #login-link {
position: absolute;
bottom: 5px;
right: 15px;
padding-right: 45px;
}

hgroup #login-link a,
hgroup #login-link a:visited {
color: #fff;
text-decoration: none;
font-family: arial;
font-size: 12px;
position: relative;
padding: 0 0 0 20px;
display: block;
}

hgroup #login-link a:hover,
hgroup #login-link a:active {color: #FB8993;}

hgroup #login-link a:after {
content: '';
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 9px solid #fff;
position: absolute;
right: -15px;
bottom: 2px;
}

hgroup #login-link a:hover:after {
border-top-color: #FB8993;
}



/* main-container */
#page > #main-container {
width: 1000px;
padding: 0 10px;
position: relative;
z-index: 1;
margin: 0 auto;
}

.entry-content {width: 100%; display: table;}







/* ---- footer ---- */
#colophon {
margin: 20px 0 0px;
padding: 20px 0;
background: #1b1b1e;
text-align: center;
}

#colophon .site-info  {color:#fff;}
#colophon .site-info ul {
font-size: 11px;
line-height: 16px;
margin: 0 0 3px;
}

#colophon .site-info a,
#colophon .site-info a:visited {
color: #fff;
font-size: 11px;
line-height: 16px;
text-decoration: none;
}

.site-info ul li {display:inline;padding:12px;}



#site-navigation.main-navigation {display: none;}




/* ---------- forms --------------- */
article .gfield {
width: 100%;
margin: 0 0 15px;
display: table;
}

article label {
font-size: 18px;
font-family: arial;
font-weight: normal !important;
color: #fff;
width: 30%;
float: left;
clear: none;
}

article .gfield_description {
width: 25% !important;
float: left;
clear: none;
}

article span.gfield_required {
font-size: 18px;
font-family: arial;
font-weight: normal;
color: #fff !important;
}

article .ginput_container,
article .clear-multi {
float: right;
clear: none;
width: 67%;
}

article input, 
article select, 
article textarea {
background: #BD1E2C;
border: solid 1px #fff;
padding: 6px 10px 7px !important;
font-size: 17px !important;
color: #fb8993;
width: 80% !important;
min-width: 25% !important
}

article input[type="file"] {
background: none;
border: solid 0px #fff;
padding: 6px 10px 7px !important;
font-size: 14px !important;
color: #fb8993;
width: 80% !important;
min-width: 25% !important
}

article input:focus, 
article select:focus, 
article textarea:focus {
color: #fff
}

article .clear-multi > div {
float: left;
cear: none;
margin: 0 5px 0 0;
} 

.gform_wrapper .ginput_complex input[type="text"], 
.gform_wrapper .ginput_complex input[type="url"], 
.gform_wrapper .ginput_complex input[type="email"], 
.gform_wrapper .ginput_complex input[type="tel"], 
.gform_wrapper .ginput_complex input[type="number"], 
.gform_wrapper .ginput_complex input[type="password"], 
.gform_wrapper .ginput_complex select {
width: 80% !important;
}

article input[type="submit"] {
  background: #FFFFFF;
    display: table;
    margin: 0 auto 20px;
    padding: 5px 10px 2px;
    text-align: center;
    width: auto !important;
float: left;
clear: none;
color: #BD1E2C;
    font-size: 31px !important;
    line-height: 32px;
    text-decoration: none;
    text-transform: uppercase;
}

.my-calendar-header{margin-bottom:20px;}

#secondary {float:right;width:210px;}
#primary{float:left;max-width:780px;}
.widget-title {font-weight:bold;font-size:34px;color:#fff;text-transform:uppercase;margin:0 0 12px;line-height:32px;}
.widget{margin-bottom:24px;}
#upcoming-events h2 {font-weight:bold;font-size:28px;color:#fff;text-transform:uppercase;line-height:32px;}
#upcoming-events li {margin-bottom:30px;}

/* some styles borrowed from homepage blog posts */

#hp-posts-container #hp-post-title, #hp-posts-container .hp-post-title,#nl-posts-container #nl-post-title {
color: #fff;
font-size: 34px;
text-decoration: none;
text-transform: uppercase;
line-height: 32px;
margin: 15px 0;
clear: both;
display: table;
width: 100%;
}

#hp-posts-container #hp-post-title h1, #hp-posts-container .hp-post-title h1 {
float: left;
clear: none;
width: 28%;
}

#hp-posts-container #hp-post-title div, #hp-posts-container .hp-post-title div {
background: url('/wp-content/themes/partydigest/images/bkgd-widepinkstripes.png') top left repeat-x;
float: right;
width: 72%;
height: 34px;
clear: none;
}
 
#hp-posts-container ul {
padding: 0;
margin: 0;
width: 100%;
clear: both;
float: left;
display: table;
}

.nl-li {
width: 357px;
height: 536px;
float: left;
margin: 0 15px 30px 0;
clear: none;
overflow: hidden;
}

#hp-posts-container ul li:nth-child(3n) {margin-right: 0px;}

#hp-posts-container ul li .nl-img {
height: 536px;
overflow: hidden;
text-align: center;
width: 357px;
border: 3px solid #fff;
box-shadow: 1px 1px 3px rgba(0,0,0,0.8);
margin: 0 0 5px;
background: #fff;
}

#hp-posts-container ul li .nl-img img {
width: 100%;
height: auto;
}

#hp-posts-container ul li h1 {
margin: 0 0 5px;
height: 30px;
}

#hp-posts-container ul li h1 a,
#hp-posts-container ul li h1 a:visited {
color: #fff;
font-size: 16px;
text-decoration: none;
text-transform: uppercase;
line-height: 18px;
}

#hp-posts-container ul li h1 a:hover,
#hp-posts-container ul li h1 a:active {
color: #fb8993;
}

#hp-posts-container ul li p {
margin: 24px 0 5px;
height: 72px;
overflow: hidden;
}

#hp-posts-container ul li .read-more div {
float: left;
clear: none;
width: 70%;
border-top: #fff solid 1px;
border-bottom: #fff solid 3px;
height: 2px;
margin-top: 15px;
}

#hp-posts-container ul li .read-more a,
#hp-posts-container ul li .read-more a:visited {
padding: 0 7px 10px 13px;
float: right;
clear: none;
width: 18%;
text-align: right;
background: #fff;
display: block;
font-size: 12px;
text-decoration: none;
color: #b01823;
font-family:"Origin Extra Bold";
}

#hp-posts-container #more-hppost-link {
width: 240px;
padding: 5px 10px 2px;
text-align: center;
margin: 0 auto;
background: #fff; 
display: table;
margin: 0 auto 20px;
}

#hp-posts-container #more-hppost-link a,
#hp-posts-container #more-hppost-link a:visited { 
  color: #bd1e2c;
    font-size: 16px;
    line-height: 18px;
    text-decoration: none;
    text-transform: uppercase;
}

#main #primary{float:none;margin:auto;}
#main-container #primary{float:none;margin:auto;}
.archive #page #main{float:none;margin:auto;max-width:100%;}
.search #page #main{float:none;margin:auto;max-width:100%;}
.single #page #main{float:none;margin:auto;max-width:100%;}
#primary.page-with-right-sidebar{float:left!important;}
#hp-posts-container #hp-post-title, #hp-posts-container .hp-post-title{margin-top:0;}

.catpost-content{height:100px!important;margin-bottom:12px!important;overflow:hidden;}

.post-cat-widget a{color:#fff;}

#masthead {min-width:1020px;height:148px!important;background:#000;}
#city-display{font-size:30px;padding-left:20px;padding-bottom:32px;}
#city-selector{font-size:20px;padding-left:18px;padding-bottom:32px;}
#city-selector form{float:right;margin-top:-4px;}
#city-middlecell{
width: 364px;
height: 32px;
border: solid #bd1e2c;
border-width: 0 1px;
padding: 13px 0 0;
}

/*
#masthead td:last-child .menu li{float:right;width:160px;}
*/
#menu-item-7770{padding-left:0;}
#colophon {min-width:1020px;}

a{color:white;}
/*
@media screen and (max-width:
*/
#robly_embed_signup{padding:12px 0 0 12px;}
#ofcategory{display:none;}

/*
 * get visual pagination styles without obsolete visual pagination plugin
 */
/*
Default style for WP-PageNavi plugin

http://wordpress.org/extend/plugins/wp-pagenavi/
*/
.wp-pagenavi .clear {
    clear: both;
}
.wp-pagenavi span, .wp-pagenavi a {
    display: block; float: left; padding: 0px; border: 1px solid #fff; text-align: center; margin: 0 1px; 
    font-weight: normal; font-family: serif; width: 46px; height: 26px; padding-top: 10px; background:#000;
}
.wp-pagenavi select {
    float: left;
}
.wp-pagenavi span.current  {
    width: 46px; height: 26px; border: 1px solid #000; background:transparent;
}
.wp-pagenavi .page {
    background:#000;
}
.wp-pagenavi .disablenextpostslink, .wp-pagenavi .disablepreviouspostslink {
    cursor: auto;
}
.wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink {
    background-color: #000;
}
/*
.wp-pagenavi .previouspostslink {
    background-image: url('prev.png'); background-repeat: no-repeat; text-indent: -10000px;
}
.wp-pagenavi .nextpostslink {
    background-image: url('next.png'); background-repeat: no-repeat; text-indent: -10000px;
}
*/
.wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink {
    width: 93px; height: 26px;
}
.wp-pagenavi .first, .wp-pagenavi .last {
    width: 94px; height: 26px;
}
.wp-pagenavi .first {
    background-color: #000;
}
.wp-pagenavi .last {
    background-color: #000;
}
.wp-pagenavi .pages {width:100px!important;text-align:center;color:white;background:#000;}
h2 {font-size:42px;line-height:48px;padding-top:12px;}
h3 {font-size:20px;line-height:32px;}

.category_description {width:80%;min-height:120px;border-top:4px solid white;border-bottom:4px solid white; padding:12px 0;margin:12px 0;}
.category_description p{padding:6px 0;}
#cat-posts-container h1{font-size:34px;padding:12px 0;}

div.entry-content h4 {margin-bottom:12px!important;margin-top:12px!important;}
div.gallery {margin:12px 0!important;}

.mailgun-subscription-form .sep{display:none;}
.mailgun-list-description{display:none;}

.gallery-item {
    max-width: 300px;
    display: table-cell;
}
#ui-datepicker-div {
   width: 360px!important;
}