/*
 Theme Name:   Phoenix Child for Regionals
 Theme URI:    http://burningman.com
 Description:  BM Phoenix Regonals Child Theme
 Author:       BM Tech Team
 Template:     burning-man-phoenix
 Version:      1.0.1
 Text Domain:  phoenix-child
*/

/*@import url("../../burning-man-phoenix/css/app.css");*/

/* =Theme customization starts here
-------------------------------------------------------------- */
body {
  position: initial;
}
img {
  display: block;
}

figure {
  margin-left: 0;
}

.entry-content img,
.comment-content img,
.widget img {
  max-width: 97.5%; /* Fluid images*/
}
img[class*="align"],
img[class*="wp-image-"] {
  height: auto; /* Make sure images with WordPress-added height and width >attributes are scaled correctly */
  max-width: 97.5%;
  width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}
img.size-full,
img.size-large {
  max-width: 95%;
  width: auto; /* Prevent stretching of full-size images with height and >>width attributes in IE8 */
}
.gallery-item {
  display: inline-block;
}
.wp-caption-text {
  font-size: 0.9rem;
  padding-top: 10px;
  font-style: italic;
  line-height: 1.3;
}
.wp-caption.aligncenter .wp-caption-text {
  max-width: 95%;
}
article::before {
  content: "";
  display: block;
  background: url(../img/phoenix-main-sprite.png) 50% -176px no-repeat;
  height: 2rem;
}
article:first-of-type::before {
  background: none;
  height: 0;
}

article .entry-meta {
  margin: 0 0 1rem 0;
  color: #333;
}
article .entry-meta span .entry-date,
article .entry-meta .posted-in span,
article .entry-footer .tagged a,
article .entry-footer .comments-link a,
.edit-link a {
  font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode",
    "Lucida Sans", Tahoma, sans-serif;
  font-size: 0.95rem;
}

p.edit-post {
  clear: both;
}

article .entry-content {
  margin-top: 2rem;
}
article .entry-footer {
  margin: 0;
  overflow: hidden;
}
article span.tagged {
  display: block;
  margin-bottom: 1em;
  float: left;
  max-width: 80%;
}
article .posted-in {
  line-height: 1.3;
}
article p.comments-link {
  font-weight: bold;
}
article p.comments-link a {
  font-weight: normal;
  padding-left: 5px;
}
.paging-navigation {
  overflow: hidden;
  margin-bottom: 2rem;
}
.nav-links {
  overflow: hidden;
  margin-bottom: 2em;
}
.nav-previous {
  float: left;
  padding-top: 1em;
}
.nav-next {
  float: right;
  padding-top: 1em;
}
blockquote {
  background-color: rgba(246, 248, 249, 0.4);
  padding-left: 1rem;
}

.title-center h1.entry-title {
  text-align: center;
}
.comment-respond:before,
.author-desc:before,
.author-desc:after {
  content: "";
  display: block;
  background: url(../img/phoenix-main-sprite.png) 50% -176px no-repeat;
  height: 2px;
}
h3.comment-reply-title,
.author-desc h3 {
  font-family: "Amatic SC", cursive;
  font-size: 1.75rem;
  font-weight: bold;
  color: #722426;
  letter-spacing: 1px;
}
.author-desc h3 {
  text-align: center;
}
.author-desc {
  margin: 1.5rem 0 2rem;
  padding: 0 1rem;
}
code {
  color: #5c5c5c;
  font-weight: 400;
  line-height: 1;
}
p.form-submit input[type="submit"] {
  height: 40px;
  background-color: #722426;
  color: #fff;
  border: 1px solid rgb(204, 204, 204);
  font-family: "RockwellStd", serif;
  font-size: 1em;
}

figure img,
img.aligncenter,
img.alignnone {
  border: 5px solid #fff;
}
a {
  word-wrap: break-word;
}
.section-image {
  height: auto !important;
}

.homepage-intro {
  padding: 0 1.5rem;
  margin: -1rem 0 1.5rem;
}
.homepage-intro:after {
  content: "";
  display: block;
  background: url(../../burning-man-phoenix/img/phoenix-main-sprite.png) 50% -177px
    no-repeat;
  height: 2px;
  margin-top: 1rem;
}
.homepage-intro p {
  font-family: "RockwellStd", "Courier Bold", Courier, Georgia, serif;
  text-align: center;
  color: #722426;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0;
}

/* Top Page Menu */
.top-regional-menu {
  /*padding-bottom:1rem;*/
}
ul.regional-top {
  list-style-type: none;
  text-align: center;
}
ul.regional-top li {
  display: inline-block;
  padding: 0 1%;
  border-right: 1px solid #333;
  margin-bottom: 7px;
}
ul.regional-top li:last-child {
  border-right: none;
}
ul.regional-top li.current_page_item a {
  color: #960;
}

/* Sidebar */

.self-serve-page .widget-area {
  padding-top: 3rem;
  word-wrap: break-word;
}
.widget a {
  color: #996600;
}
.dig-in a {
  color: #1a64a8;
}
.widget ul {
  padding-left: 0.8rem;
  padding-bottom: 1rem;
}
.widget h2 {
  padding-top: 0.5rem;
  padding-left: 0.8rem;
}

.regional-sidenav {
  background: #fcfbf9;
  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZjZmJmOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZjZmJmOSIgc3RvcC1vcGFjaXR5PSIwLjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=");
  background: -webkit-gradient(
    linear,
    0% 50%,
    100% 50%,
    color-stop(0%, #fcfbf9),
    color-stop(100%, rgba(252, 251, 249, 0))
  );
  background: -moz-linear-gradient(
    left,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  background: -webkit-linear-gradient(
    left,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  background: linear-gradient(
    to right,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfbf9', endColorstr='#00fcfbf9',GradientType=1 );
  margin-bottom: 1.5rem;
}
.regional-sidenav:before,
.regional-sidenav:after {
  content: "";
  background: url(../../burning-man-phoenix/img/phoenix-main-sprite.png) 50% -176px
    no-repeat;
  display: block;
  height: 2px;
}

.regional-sidenav ul.menu {
  padding: 1rem 0 0;
  list-style-type: none;
  margin-left: 0.5rem;
  margin-bottom: 5px;
}

.regional-sidenav ul.menu li.back-to-main {
  margin-left: -1.5rem;
}
.regional-sidenav ul.menu li.back-to-main:before {
  font-size: 2rem;
  color: #722426;
}
.regional-sidenav ul.menu li.back-to-main a {
  color: #722426;
  font-size: 2rem;
  padding-left: 5px;
}
.regional-sidenav ul.menu li {
  font-family: "Amatic SC", cursive;
  font-size: 1.75rem;
  letter-spacing: 1px;
  line-height: 1.1;
  padding: 5px 0;
  padding-left: 1.5rem;
}

.regional-sidenav ul.menu li.current_page_item a {
  color: #722426;
  text-decoration: underline;
}
.regional-sidenav ul.menu li.current_page_item ul.sub-menu li a {
  color: #960;
  text-decoration: none;
}
.regional-sidenav ul.menu li ul.sub-menu {
  list-style-type: none;
  padding-bottom: 0;
  margin-left: 0;
}
.regional-sidenav ul.menu li ul.sub-menu li {
  padding-left: 0;
}
.regional-sidenav ul.menu li ul.sub-menu li:before {
  content: "";
  display: block;
  height: 20px;
  width: 19px;
  margin-top: 0;
  background: url(../../burning-man-phoenix/img/phoenix-main-sprite.png) -13px -460px
    no-repeat;
  float: left;
}
.regional-sidenav ul.menu li ul.sub-menu a {
  display: block;
  margin-left: 20px;
}
h2.upcoming-events-widget {
  color: #722426;
  font-family: "Amatic SC", cursive;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: 1px;
  font-weight: bold;
  padding: 1rem 0 6px 20px;
}
#upcoming_regional_events {
  list-style-type: none;
  padding-left: 0;
}
#upcoming_regional_events .event_item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #999;
  margin-bottom: 1rem;
}
#upcoming_regional_events .event_descr {
  font-size: 0.9rem;
  line-height: 1.3;
}

#upcoming_regional_events .event_item .event_title a {
  line-height: 1.3;
  display: block;
  margin-bottom: 8px;
}
#upcoming_regional_events .event_date {
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 5px;
  line-height: 1.3;
}
.regSingleEvent {
  /*text-align: right;*/
  font-size: 0.85rem;
  padding: 5px 10px 5px 0;
  color: #656565;
  overflow: hidden;
  margin-bottom: 1em;
}
/*#upcoming_regional_events li .regSingleEvent a {
	float:right;
}*/

#upcoming_regional_events li .regSingleEvent a img {
  padding-top: 2px;
}

h2.widget-title,
h2.comments-title {
  font-family: "Amatic SC", cursive;
  font-size: 1.75rem;
  font-weight: bold;
  color: #722426;
  letter-spacing: 1px;
}

.RegionalEventsWidget {
  background: #fcfbf9;
  background: -moz-linear-gradient(
    left,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  background: -webkit-linear-gradient(
    left,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  background: linear-gradient(
    to right,
    #fcfbf9 0%,
    rgba(252, 251, 249, 0) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfbf9', endColorstr='#00fcfbf9',GradientType=1 );
  padding-right: 1rem;
}
.RegionalEventsWidget:before,
.RegionalEventsWidget:after {
  content: "";
  /*background: url(//bm-phoenix.s3.amazonaws.com/images/divider-border.png) top center no-repeat;*/
  background: url(../img/phoenix-main-sprite.png) 50% -176px no-repeat;
  display: block;
  height: 3px;
}

#regionalsFlickrStream {
  padding: 1.1rem;
}
#flickr_title {
  color: #722426;
  font-family: "Amatic SC", cursive;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: 1px;
  font-weight: bold;
  padding: 0 0 5px 0;
}
#flickr_sutbtitle {
  font-size: 15px;
  color: #333;
  line-height: 20px;
}
#flickr_gallery p {
  color: #999;
  font-size: 13px;
  padding-top: 20px;
}

/* Comments -related styles */

.comment-list li {
  list-style-type: none;
  line-height: 1.4;
  padding-bottom: 5px;
}
.comment-form label {
  font-family: "Amatic SC", cursive;
  font-size: 1.3rem;
  font-weight: bold;
  color: #383838;
}
.comment-author.vcard {
  padding: 0;
  border: none;
  margin: 0 0 0.5rem 0;
}
li.comment {
  margin-top: 1rem;
  border-bottom: 1px solid #707070;
}
li.comment:last-of-type {
  border-bottom: none;
}

.comment-body {
  padding-bottom: 0.5rem;
}

.comment-metadata {
  margin-bottom: 0.5rem;
}
/*.comment-list li:before
 {
  content: "\f10d";
font-family: 'FontAwesome';
display:block;
color:#722426;
float:left;
padding-right:0.3rem;
}*/

/* Regionals-specific styles */

.container.fullwidth-page #primary {
  width: 90%;
  margin: 0 auto;
  float: none;
}

#recentlyUpdated {
  margin-top: 3rem;
  overflow: hidden;
}
#recentlyUpdated ul {
  list-style-type: none;
  margin: 0;
  padding-right: 0;
  float: left;
}
#recentlyUpdated ul li {
  float: left;
  margin: 0;
  width: 130px;
  min-height: 180px;
}
#recentlyUpdated ul li .caption {
  font-size: 13px;
  overflow: hidden;
  text-align: center;
  max-width: 112px;
  padding-top: 3px;
}
.more-updates {
  text-align: right;
  float: left;
  padding-left: 3px;
}

.back-to-all-regionals {
  text-align: center;
}

.regss_page {
  padding-bottom: 3rem;
}

/*ul#subregions {
    overflow: hidden;
    list-style-type: none;
    margin-top:3rem;
    padding-right: 0;
margin-left: 0;
padding-top: 10px;
background: rgba(255,255,255,0.5);
text-align:center;
}
ul#subregions li {
    display: inline-block;
    font-family: "Amatic SC", cursive;
    padding: 3px 6px;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 1.6rem;
font-weight: bold;
}

ul#subregions li a {
        color:#D1A629;
}
ul#subregions li:before {
    content: '\00BB';
    padding-right: 3px;
    color:#D1A629;
}*/
ul#subregions {
  overflow: hidden;
  clear: both;
  list-style: none;
  text-align: center;
  padding-right: 10px;
}

ul#subregions a:hover,
ul#subregions a:active {
  text-decoration: none;
}

ul#subregions li {
  display: inline-block;
  border-bottom: 1px solid #e4e4e4;
  border-left: 1px solid #e4e4e4;
  border-top: 1px solid #ebe7e7;
  -webkit-box-shadow: 0 0 20px #ebd9b0 inset;
  -moz-box-shadow: 0 0 20px #ebd9b0 inset;
  box-shadow: 0 0 20px #ebd9b0 inset;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  padding: 3px 9px;
  margin-left: 10px;
  margin-bottom: 10px;
}

ul#subregions li:hover,
ul#subregions li:active {
  background: #f7f2e7;
  box-shadow: none;
}

ul#subregions li:before {
  content: "\00BB";
  padding-right: 3px;
  color: #960;
  font-size: 1.2em;
}
ul#breadcrumbs {
  list-style: none;
  margin-left: 0;
  padding-right: 0;
  font-size: 0.85rem;
}
ul#breadcrumbs li {
  display: inline-block;
}

/* Events plugins -related styles. NOTE: overriding templates are in tribe and tribe-events subdirs */
.tribe-events-calendar-month__header
  [class*="column"]
  + [class*="column"]:last-child {
  float: none;
  text-align: center;
}
#tribe-events-pg-template {
  max-width: 1200px;
  padding: 0 10px;
}
.tribe-events-calendar-month,
.tribe-events-calendar-list,
.tribe-events-calendar-day,
.tribe-events-single {
  background: #fff;
  padding: 1rem !important;
}
.tribe-common-h3,
h2.tribe-events-calendar-list__month-separator
  > .tribe-events-calendar-list__month-separator-text,
.tribe-events-calendar-day__type-separator
  > .tribe-events-calendar-day__type-separator-text {
  font-family: "RockwellStd", serif;
  color: #2c5573;
  line-height: 1.1 !important;
  font-size: 1.3rem !important;
}
h2.tribe-events-calendar-list__month-separator
  > .tribe-events-calendar-list__month-separator-text,
.tribe-events-calendar-day__event-title,
.tribe-events .tribe-events-calendar-day__type-separator {
  font-size: 1.45rem !important;
  padding-left: 2rem;
  padding-top: 1rem;
}
.tribe-events .tribe-events-calendar-list__month-separator:after,
.tribe-events .tribe-events-calendar-day__type-separator:after {
  height: 0;
}
.tribe-events .tribe-events-calendar-list__event-title-link,
.tribe-common .tribe-common-h5,
.tribe-common .tribe-common-h6,
.tribe-events .tribe-events-calendar-day__event-title-link {
  color: #2c5573;
}
h2.tribe-events-page-title,
.single-tribe_events h2.tribe-events-single-event-title,
h1.tribe-events-single-event-title,
.tribe-events-c-top-bar__datepicker-desktop,
h2.tribe-events-related-events-title {
  font-family: "RockwellStd", serif;
  color: #2c5573;
  line-height: 2;
  font-size: 1.7rem;
  font-weight: 300;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a,
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a {
  color: #1a64a8;
}
.tribe-events-before-html {
  display: flex;
  justify-content: center;
}
.off-events {
  width: 100%;
  text-align: center;
  padding: 20px 0 !important;
}
.homepage-from-events > a {
  text-decoration: underline;
  font-family: arial;
  font-size: 1rem;
  color: #2c5573 !important;
}
/* .off-events > a {
  text-decoration: underline;
  text-transform: uppercase;
  font-family: arial;
  font-size: 1rem;
  color: #2c5573 !important;
} */
#tribe-bar-form {
  float: right;
}
#tribe-bar-form .tribe-bar-filters {
  width: auto;
}
#tribe-events-content
  .tribe-events-calendar
  div[id*="tribe-events-event-"]
  h3.tribe-events-month-event-title {
  font-weight: normal;
}
ul#upcoming_official_events {
  list-style-type: none;
  margin-left: 0;
  margin-top: 3rem;
}
.tribe-events-single ul.tribe-related-events li {
  padding: 1.1rem;
}

a.back_to_main,
.off-events > a {
  padding: 10px;
  text-transform: uppercase;
  font-family: arial;
  font-size: 12px;
  font-weight: bold;
  background: #dadada;
  color: #1a64a8 !important;
}
#upcoming_official_events .event_title.official {
  font-size: 1.2rem;
  padding-bottom: 5px;
}
#upcoming_official_events .event_descr {
  padding-bottom: 0.5rem;
  margin-top: 0.8em;
}

#upcoming_official_events li .regSingleEvent a,
#upcoming_official_events li .regSingleEvent a img {
  display: inline;
}
#upcoming_official_events .event_date span,
#upcoming_official_events .event_address span {
  font-weight: bold;
}

.event_organizer,
.additional_info {
  font-size: 0.9rem;
  padding: 3px 0;
}
.vevent .summary {
  font-weight: normal;
}
.tribe-events-list .tribe-events-event-image + div.tribe-events-content {
  line-height: 1.5;
}
.tribe-events-list .tribe-events-loop .tribe-events-content {
  line-height: 1.5;
  max-width: 80%;
}
#tribe-events-header {
  position: relative;
}
.events-go-back-links {
  margin: 10px 0 15px;
}
.events-go-back-links p {
  margin-bottom: 2px;
  font-size: 0.9rem;
}
.single-tribe_events .tribe-events-event-meta {
  background: rgba(250, 250, 250, 0.5);
}

#tribe-events-pg-template a.button,
.button.events-community-submit {
  color: #fff;
  padding: 10px 15px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-size: 1rem;
  background: #d1a527;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#d1a527),
    to(#a6831f)
  );
  background: -webkit-linear-gradient(#d1a527, #a6831f);
  background: -moz-linear-gradient(center top, #d1a527 0%, #a6831f 100%);
  background: -moz-gradient(center top, #d1a527 0%, #a6831f 100%);
  border: 1px solid #7b6117;
}

#tribe-events-pg-template a.button:hover,
#tribe-events-pg-template a.button:active {
  background: #c49923;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#d1a527),
    to(#91721b)
  );
  background: -webkit-linear-gradient(#d1a527, #91721b);
  background: -moz-linear-gradient(center top, #d1a527 0%, #91721b 100%);
  background: -moz-gradient(center top, #d1a527 0%, #91721b 100%);
}
.select2.select2-container.select2-container--default.tribe-dropdown.linked-post-dropdown.tribe-dropdown-created {
  width: inherit !important;
}

/* special pages */
/* updates */

.updated_ts {
  color: #525252;
  font-size: 10px;
  line-height: 20px;
}
.updated_ts:before {
  content: "Updated:";
  font-size: 10px;
  padding-right: 3px;
}

/* general regional */
.site-content-regional {
  margin: 24px 0 0;
  margin: 1.714285714rem 0 0;
}

.site-content-regional .hentry {
  margin-top: 30px;
}

span.rlabel {
  font-weight: bold;
  font-size: 1em;
}
/* self-serve page */
.regss_page .reditlnk {
  clear: both;
  color: #cc6600;
  cursor: pointer;
  margin-top: -15px;
  text-align: right;
  width: 100%;
  display: none;
}

.regss_page .reditlnk:before {
  background: url("../images/edit16x16.png") no-repeat scroll 0 0 transparent;
  content: "";
  display: inline;
  height: 16px;
  width: 16px;
  padding-right: 20px;
}

.regss_page #reg_intro:after,
#reg_location:before {
  background: url("../images/content_divider.gif") no-repeat scroll center
    center transparent;
  content: "";

  margin-bottom: 24px;
  margin-top: 12px;
  /*background: url(//bm-phoenix.s3.amazonaws.com/images/divider-border.png) top center no-repeat;*/
  background: url(../img/phoenix-main-sprite.png) 50% -176px no-repeat;
  display: block;
  height: 5px;
}

.regss_page #rlogo {
  height: 160px;
  width: 160px;
}

.regss_page #rlogo img {
  border: medium none;
  height: 145px;
  width: 145px;
  /*max-width:100%;
    border:5px solid #996600;*/
}
.regss_page #reg_descr {
  margin-top: 12px;
  position: relative;
  line-height: 1.4;
}

.regss_page #reg_descr h1 {
  clear: none;
}

.regss_page #reg_descr h2 {
  clear: none;
  margin-bottom: 12px;
}
.regss_page #rupdated {
  color: #999999;
  font-size: 0.8rem;
}
.regss_page #rupdated:before {
  content: "Updated:";
  font-size: 0.8rem;
  padding-right: 3px;
}
.regss_page #reg_connect {
  padding-bottom: 15px;
}
#reg_connect h2 {
  color: #59341b;
  line-height: 1.2;
  font-size: 2rem;
  margin-bottom: 0.7rem;
  font-family: "Amatic SC", cursive;
  font-weight: bold;
}
.regss_page .reg_connect_data h3 {
  font-size: 1rem;
  margin-bottom: 0;
  font-family: "Amatic SC", cursive;
  font-size: 1.7rem;
  font-weight: bold;
}

.regss_page .reg_connect_data h3:before {
  content: "\00BB";
  font-family: "Amatic SC", cursive;
  display: block;
  float: left;
  height: 14px;
  margin-top: -7px;
  padding-right: 5px;
  font-size: 2rem;
  line-height: 1.6;
  font-weight: bold;
}

.regss_page .reg_connect_data p {
  margin-left: 1.3rem;
}

.regss_page #facebookbtn {
  float: right;
  position: relative;
  z-index: 100;
  margin-top: 5px;
  margin-right: -25px;
}

#cimg_preview,
#rimg_preview {
  margin-top: 10px;
}

#cimg_preview #prev_contact_thumb,
#rimg_preview #prev_thumb {
  margin-top: 40px;
}

#ref_reg_contactImg,
#ref_reg_logo {
  border-bottom: 1px solid #aaaaaa;
  margin-bottom: 10px;
}

.cimg_upload_wrap,
.rimg_upload_wrap {
  float: left;
  padding: 12px;
  text-align: center;
}

#cimg_source,
#rimg_source {
  border: 1px solid #aaaaaa;
  height: 200px;
  width: 200px;
}

/*#cimg_prev_wrapper,
    #rimg_prev_wrapper {
    }*/

#cimg_thumb,
#rimg_thumb {
  border: 1px solid #aaaaaa;
  display: block;
  position: relative;
  height: 100px;
  overflow: hidden;
  width: 100px;
}

#cimg_thumb img,
#rimg_thumb img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: inherit;
}

#upltarget {
  display: none;
  float: left;
  clear: left;
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
}
#help_user {
  width: 100%;
}
#reg_help_btn {
  background-color: #4a8d3e;
  color: white;
  cursor: pointer;
  float: left;
  font-weight: bold;
  height: 30px;
  line-height: 29px;
  text-align: center;
  margin-right: 12px;
  width: 100px;
}
#reg_help_btn a,
#reg_help_btn a:visited {
  color: white;
  text-decoration: none;
}
#reg_help_btn:hover,
#reg_help_btn a:hover {
  color: #333;
  text-decoration: none;
}
#help_user #pgstats {
  float: left;
  height: 30px;
}
.pvc_clear {
  clear: none;
}
p.pvc_stats {
  height: 20px;
  margin: 0;
}
.regss_page #reg_social p {
  margin-bottom: 8px;
}

.regss_page ul.reg_sm_links {
  list-style: none;
  margin-left: 1rem;
}

.regss_page ul.reg_sm_links li {
  margin-left: 0;
  padding-bottom: 5px;
  padding-left: 40px;
  padding-top: 5px;
}

.regss_page ul.reg_sm_links li.facebook {
  background: url("../images/social_fb_lg.png") no-repeat scroll 0.5em center
    transparent;
}

.regss_page ul.reg_sm_links li.twitter {
  background: url("../images/social_twitter_lg.png") no-repeat scroll 0.5em
    center transparent;
}

.regss_page ul.reg_sm_links li.flickr {
  background: url("../images/social_flickr_lg.png") no-repeat scroll 0.5em
    center transparent;
}

.regss_page ul.reg_sm_links li.undecorated {
  background: url("../images/bm-profile-detail-24x24.png") no-repeat scroll
    0.5em center transparent;
}

.regss_page #reg_contact_list img {
  width: 100% !important;
  max-width: 100% !important;
}

.regss_page #reg_contact_list .reg_contact {
  clear: both;
  overflow: hidden;
  width: 100%;
  padding-right: 10px;
}

.regss_cursor {
  cursor: pointer;
}

.regss_page #reg_contact_list .reg_contact {
  background: rgba(247, 244, 239, 0.5);
  margin-top: 20px;
}
.regss_page #reg_contact_list .reg_contact:before,
.regss_page #reg_contact_list .reg_contact:after {
  content: "";
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  display: block;
  height: 1px;
  margin-bottom: 20px;
}
.regss_page #reg_contact_list .reg_contact:after {
  margin-bottom: 0;
  margin-top: 20px;
}

.regss_page #reg_contact_list .rp_info {
  margin-top: 20px;
}

.regss_page #reg_contact_list .rp_image {
  height: 118px;
  width: 118px;
  border: 5px solid white;
  margin-right: 22px;
  margin-left: 0;
}
.regss_page #reg_contact_list span.cname {
  font-size: 1.1em;
  color: #2c5573;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

.regss_page #reg_contact_list span.cmain {
  font-weight: normal;
  font-size: 1em;
}

.regss_page #reg_contact_list span.cquote {
  line-height: 1.4;
}

.regss_page #reg_contact_list span.csince {
  line-height: 1.3;
  display: block;
  margin-bottom: 10px;
}
a.log_out {
  float: right;
  color: #996600;
}
.ui-dialog,
.ui-dialog-content {
  font-size: 12px;
  /*box-sizing:content-box;*/
}
.ui-dialog .ui-dialog-titlebar {
  background-color: #dadada;
}
div.ui-dialog label {
  color: #aaaaaa;
}
div.ui-dialog span.rlabel {
  clear: both;
  color: #aaaaaa;
  display: block;
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 4px;
  text-align: center;
}
.ui-dialog input {
  font-size: 12px !important;
  margin-bottom: 8px;
  margin-top: 8px;
  width: 340px;
}
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="hidden"],
input[type="image"],
input[type="color"] {
  border: 0px none;
  border-radius: 0px;
  padding: 0px;
}

.tribe-community-event-info {
  margin: 0;
  padding: 20px;
}

#tribe-community-events select {
  width: auto;
  background-image: none;
}
#tribe-community-events #add-new,
#tribe-community-events .table-menu-wrapper {
  display: block;
  margin-bottom: 2rem;
}

/* MEDIA QUERIES */

@media only screen and (min-width: 480px) {
  figure.aligncenter {
    max-width: 97.5% !important;
  }
  #recentlyUpdated ul li {
    width: 138px;
  }
}

@media only screen and (min-width: 768px) {
  figure.alignright,
  img.alignright {
    float: right;
    margin: 6px 0 8px 18px !important;
  }
  figure.alignleft,
  img.alignleft {
    float: left;
    margin: 6px 18px 8px 0 !important;
  }
  img.size-full,
  img.size-large,
  .wp-caption.aligncenter .wp-caption-text {
    max-width: 100%;
    width: auto;
  }
  blockquote {
    padding: 0.5625rem 1.25rem;
  }
  blockquote p {
    margin-bottom: 0;
  }
  article p.comments-link {
    float: right;
  }

  #calendar-buttons-header {
    float: right;
    position: relative;
  }
  #tribe-events-pg-template {
    margin: 3rem auto;
    padding: 0 10px 20px;
  }

  .regss_page #rlogo,
  .regss_page #reg_contact_list .rp_image {
    float: left;
  }
  .regss_page #reg_contact_list .rp_image {
    margin-left: 15px;
  }
  .regss_page #reg_contact_list .rp_quote {
    margin: 0 20px;
  }
  .regss_page #reg_contact_list .rp_info {
    margin-bottom: 25px;
    min-height: 117px;
    margin-top: 0;
  }
  input[type="search"] {
    max-width: 60%;
  }
} /* end of query */

@media only screen and (min-width: 1025px) {
  .tab-bar .menu-toggle {
    width: 4.5rem;
    margin-right: 1rem;
  }
  .tab-bar .menu-toggle .title {
    width: 78%;
  }
  /*.top-regional-menu {
		max-width:80%;
		margin:0 auto;
	}*/
  .content-area h1.entry-title {
    font-size: 1.9rem;
    line-height: 1.2;
  }
  .more-updates {
    padding-top: 50px;
    padding-left: 0;
  }
  #recentlyUpdated ul {
    margin-bottom: 30px;
  }
  #tribe-events-pg-template {
    margin: 3rem auto;
    padding: 40px 20px 20px;
  }
  .single-tribe_events .tribe-events-content {
    max-width: 70%;
  }
  .regss_page .reditlnk {
    display: block;
    padding-right: 10px;
  }
  .RegionalEventsWidget {
    padding-right: 0;
  }

  #tribe-community-events .tribe-events-community-details td,
  #tribe-community-events .tribe-events-community-details table,
  #tribe-community-events .tribe-events-community-details tr {
    border: 0;
    padding: 20px;
  }
} /* end of query */
