.custom_header {text-align: center; }
.custom_content {
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.custom_footer {text-align: left; }
.error {color: red;}
@media (max-width: 400px) {
  .ui-btn-inner {
    font-size: 0.75em;
    padding-left: 10px;
    padding-right: 10px;
  }
}

div.ui-input-search {
  width: 45%;
  display: inline-block;
}
.ui-field-contain {
  margin:0;
  padding:.25em 0 0 0;
}
/* interfers with horizontal control group widths
      div.ui-field-contain label {
        width: 95% !important;
      }
*/
.wide {
  width: 95% !important;
}

.white {
  color: #ffffff;
}
h3.ui-collapsible-heading { font-size: 14px; }
.ui-header .ui-btn-left { top: .75em;}
.ui-collapsible-heading, .ui-collapsible-content { margin: 0 0;}
div.ui-selectmenu div.ui-header a.ui-btn-left { top: .75em;}
label, fieldset.ui-controlgroup-horizontal { vertical-align: middle !important;}
fieldset.ui-controlgroup-horizontal { display: table;}

/* define blocks that span multiple grid bolcks */
.ui-block-span2, .ui-block-span3, .ui-block-span4 { margin: 0; padding: 0; border: 0; float: left; min-height:1px;}
.ui-grid-b .ui-block-span2 { width: 66.666%; }

.ui-grid-c .ui-block-span2 { width: 50%; }
.ui-grid-c .ui-block-span3 { width: 75%; }

.ui-grid-d .ui-block-span2 { width: 40%; }
.ui-grid-d .ui-block-span3 { width: 60%; }
.ui-grid-d .ui-block-span4 { width: 80%; }

.tblScores {
  width:960px;
}
table.tblScores {
  border-width: 1px;
  border-spacing: 0px;
  border-style: solid;
  border-color: gray;
  border-collapse: collapse;
  background-color: white;
}
table.tblScores th {
  border-width: 1px;
  padding: 3px;
  border-style: solid;
  border-color: gray;
  background-color: rgb(164, 164, 164);
}
table.tblScores td {
  border-width: 1px;
  padding: 3px;
  width:30px;
  border-style: solid;
  border-color: gray;
  background-color: #fff0;
  text-align: center;
}
td.strong, th.strong {
  font-weight:700;
}
td.left, th.left {
  text-align: left;
}
/*
      div.score-eagle {
        width: 32px;
        height: 24px;
        -webkit-border-radius: 1em; -moz-border-radius: 1em;
        border: 3px double green;
        text-align: center;
        padding-top: .5em;
      }
      div.score-birdie {
        width: 32px;
        height: 27px;
        -webkit-border-radius: 1em; -moz-border-radius: 1em;
        border: 2px solid black;
        text-align: center;
        padding-top: 5px;
      }
      div.score-bogie {
        width: 32px;
        height: 27px;
        border: 2px solid black;
        text-align: center;
        padding-top: .5em;
      }
      div.score-double-bogie {
        width: 32px;
        height: 24px;
        border: 3px double black;
        text-align: center;
        padding-top: .5em;
      }
      div.score-other {
        width: 32px;
        height: 24px;
        border: 3px double red;
        text-align: center;
        padding-top: .5em;
      }
      div.score-par {
        width: 32px;
        height: 27px;
        text-align: center;
        padding-top: .5em;
      }
*/
img.dayview_icon {
  margin-top: 2px;
  width: 45px;
  height: 15px;
}
.eventSize {
  height:48px;
}

td.rotate {
  vertical-align: top;
  width:125px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);

  /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;

  /* Should be unset in IE9+ I think. */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

#wrapper {
  width:640px;
  text-align:center;
  margin:0 auto;
}
@media all and (max-width: 640px) {
  #wrapper {
    width:320px !important;
  }
}

.ui-body-b,
.ui-overlay-b {
  border: 0;
}

.ui-body-b, .ui-overlay-b { background:#fff; }

.ui-body-c,
.ui-overlay-c {
  border-bottom: 0;
  border-top: 0;
}

.ui-body-c, .ui-overlay-c { background:#fff; }

.ui-body-d,
.ui-overlay-d {
  border-bottom: 0;
  border-top: 0;
}

.ui-body-d, .ui-overlay-d { background:#fff; }


.MerchantImage {
  max-height: 300px;
  max-width: 100%;
}

p:empty {
  display: none;
}

.custom_header {text-align: center; }
.custom_content {
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.custom_footer {text-align: left; }
.error {color: red;}
@media (max-width : 400px) {
  .ui-btn-inner {
    font-size: 0.75em;
    padding-left: 10px;
    padding-right: 10px;
  }
}

div.ui-input-search {
  width: 45%;
  display: inline-block;
}
.ui-field-contain {
  margin:0;
  padding:.25em 0 0 0;
}
/* interfers with horizontal control group widths
      div.ui-field-contain label {
        width: 95% !important;
      }
*/
.wide {
  width: 95% !important;
}

.white {
  color: #ffffff;
}
h3.ui-collapsible-heading { font-size: 14px; }
/* .ui-header .ui-btn-left { top: 1.5em;} */
.ui-collapsible-heading, .ui-collapsible-content { margin: 0 0;}
div.ui-selectmenu div.ui-header a.ui-btn-left { top: .75em;}
label, fieldset.ui-controlgroup-horizontal { vertical-align: middle !important;}
fieldset.ui-controlgroup-horizontal { display: table;}

/* define blocks that span multiple grid bolcks */
.ui-block-span2, .ui-block-span3, .ui-block-span4 { margin: 0; padding: 0; border: 0; float: left; min-height:1px;}
.ui-grid-b .ui-block-span2 { width: 66.666%; }

.ui-grid-c .ui-block-span2 { width: 50%; }
.ui-grid-c .ui-block-span3 { width: 75%; }

.ui-grid-d .ui-block-span2 { width: 40%; }
.ui-grid-d .ui-block-span3 { width: 60%; }
.ui-grid-d .ui-block-span4 { width: 80%; }

#tblScores {
  width:960px;
}
table {
  border-width: 1px;
  border-spacing: 0px;
  border-style: solid;
  border-color: gray;
  border-collapse: collapse;
  background-color: white;
}
table th {
  border-width: 1px;
  padding: 3px;
  border-style: solid;
  border-color: gray;
  background-color: rgb(164, 164, 164);
}
table td {
  border-width: 1px;
  padding: 3px;
  width:30px;
  border-style: solid;
  border-color: gray;
  background-color: #fff0;
  text-align: center;
}
td.strong, th.strong {
  font-weight:700;
}
td.left, th.left {
  text-align: left;
}
p:empty {
  display:none;
}
.ui-body-b,
.ui-overlay-b {
  border: 0 !important;
}

.ui-li-last,
.ui-collapsible-content {
  border:1px solid #ccc !important;
  border-top-width: 0px !important;
}

/* added to fix mini */
button,
.ui-btn {
  font-size: 12.5px;
}
a.ui-btn-icon-left {
  padding-left: 3em !important;
}
html body .ui-datepicker .ui-state-active {
  background-color: #ccc;
  border-color: #ccc;
  color: #1c94ff;
  text-shadow: 0 1px 0 #0000ff;
}
.ui-datepicker td span, .ui-datepicker a {
  color:#777;
}
div.itemTitle {
  white-space: normal;
  width: 75%;
}
span.itemPrice {
  white-space: normal;
}

/* Slideshow thumbs css */
.gallery {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}
.gallery:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}
.gallery li {
  float: left;
  width: 33.3333%;
}
.gallery li a {
  border: 1px solid #3C3C3C;
  display: block;
  margin: 5px;
}
.gallery li img {
  display: block;
  height: auto;
  width: 100%;
}
#Gallery1 .ui-content, #Gallery2 .ui-content {
  overflow: hidden;
}

.device {
  background: none repeat scroll 0 0 #fff;
  border: 4px solid silver;
  background-color: #000000;
  border-radius: 15px;
  box-shadow: 0 0 10px #a0a0a0;
  margin-top: 20px;
  margin-bottom:10px;
  padding: 36px 18px 60px 18px;
}

iframe{
  overflow:hidden !important;
  overflow-x:hidden !important;
  overflow-Y:hidden !important;
}

.ui-widget-header {
  background: #ddd;
  background-image: none !important;
}

/*
Added for property inspections. If the screen is less than 640 px wide
display the condition radio buttons vertically by forcing them to 100% width
*/
@media all and (max-width: 640px) {
  form.inspectionDetail > div.ui-grid-c > div.ui-block-a,form.inspectionDetail > div.ui-grid-c > div.ui-block-b,
  form.inspectionDetail > div.ui-grid-c > div.ui-block-c,form.inspectionDetail > div.ui-grid-c > div.ui-block-d
  {
    width:100% !important;
  }
}

/* Forct control group items to 0 line height */
div.checkboxGroup > div.ui-controlgroup > div.ui-controlgroup-controls {
  line-height: 0;
}

.ui-datepicker {
  z-index:9999 !important;
}