* {
  box-sizing: border-box;
}

html, body {
  font-size: 100%;
  margin: 0;
  padding: 0;
}

html {
  margin-top: 0 !important;
}

body {
  background: #f6f5f3;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

h1 {
  font-size: 1.65em;
  font-weight: normal;
  text-align: center;
  margin: 50px 0px 50px;
}

h1 small {
  font-size: 1.25em;
  display: block;
  margin-top: 15px;
}

h2 {
  font-size: 1.25em;
}

label {
  margin-bottom: .5em;
}

label.inline-label {
  display: inline-block;
}

header {
  height: 75px;
  padding: 10px 0;
}

header img {
  display: block;
  max-height: 55px;
  width: auto;
}

/*****************************************
****** Responder Navigation : single
******************************************/
#rmprMenuContainer {
  background: #F1F1F1;
}

#rmprMenuContainer nav ul {
  margin: 0;
  font-size: 0;
}

#rmprMenuContainer nav li {
  font-size: 16px;
  display: inline-block;
  margin: 0;
}

#rmprMenuContainer nav li a {
  text-decoration: none;
  padding: 10px 10px;
  color: #666666;
  display: block;
}

#rmprMenuContainer nav li a:hover {
  color: #333333;
}

/* END */
/*****************************************
******
******************************************/
.responder-full {
  background: #ffffff;
}

.responder-wrap {
  margin: 0 auto;
  max-width: 1014px;
  overflow: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.edit-link {
  margin-top: 1.75em;
}

@media screen and (min-width: 900px) {
  .edit-link {
    float: right;
  }
}

.rmreviews div {
  margin: 0 auto 2em;
  max-width: 320px;
  text-align: center;
  width: 100%;
}

.rmreviews h2 {
  font-weight: 600;
}

.rmreviews div img {
  display: block;
  max-width: 100%;
}

.form-message {
  background-image: repeating-linear-gradient(to bottom, #f4f4f4, #f4f4f4 1px, #ffffff 1px, #ffffff 2px);
  border-bottom: 1px solid #c5c5c5;
  border-top: 1px solid #c5c5c5;
  color: #282828;
  margin-bottom: 3em;
  margin-right: 1em;
  padding: .8em 1em;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -moz-align-items: center;
  -ms-flex-align: center;
      align-items: center;
}

form .errorinfo {
  background: rgba(221, 66, 50, 0.85);
  border-bottom: 1px solid #c5c5c5;
  border-top: 1px solid #c5c5c5;
  color: #ffffff;
  margin-bottom: 3em;
  margin-right: 1em;
  padding: .8em 1em;
  font-size: 14px;
}

.form-message img {
  margin-right: 1em;
}

@media screen and (min-width: 600px) and (max-width: 800px) {
  .rmreviews div {
    float: left;
    width: 48%;
  }
  .rmreviews div:nth-of-type(2n+1) {
    margin-right: 4%;
  }
}

@media screen and (min-width: 801px) {
  .rmreviews div {
    float: left;
    width: 24%;
  }
  .rmreviews div:not(:nth-of-type(4n+1)) {
    margin-left: 1.3333%;
  }
}

/*
 * Form styles
 */
.review-form {
  margin-bottom: 2em;
}

.staff-picker select {
  height: 40px;
  width: 100%;
  font-size: 16px;
  margin-bottom: 20px;
}

.review-form-entries {
  margin-bottom: 40px;
}

table.email-entries, table.sms-entries {
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #c5c5c5;
  border-top: 1px solid #c5c5c5;
}

table.email-entries thead th {
  border-bottom: 1px solid #c5c5c5;
}

fieldset {
  border: 0 none;
  margin-bottom: 2em;
  padding: 0;
}

fieldset legend {
  display: none;
}

.prform label {
  color: #4c4c4c;
  display: block;
  font-size: .875em;
  margin-bottom: .5rem;
}

.prform label .req {
  color: #c82222;
  font-size: .857em;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea {
  background: #ffffff;
  border: 1px solid #c5c5c5;
  box-shadow: inset 2px 3px 6px rgba(0, 0, 0, 0.05);
  color: #686868;
  font-size: 1em;
  padding: 0.625em 0.4375em;
  width: 100%;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
  height: 44px;
}

.form-half, .form-full {
  margin-bottom: 1.25em;
  position: relative;
}

.form-half .input-wrap {
  position: relative;
}

.duplicate-message {
  position: absolute;
  background: #DC8C96;
  color: #ffffff;
  padding: 3px 8px 5px;
  right: 0%;
  bottom: 99%;
  font-size: 11px !important;
  line-height: 15px !important;
}

.duplicate-message:after {
  content: " ";
  position: absolute;
  bottom: -8px;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #DC8C96;
  text-align: center;
  left: 10%;
}

.form-flip fieldset, .form-flip .social-sms {
  font-size: 0;
}

.form-flip fieldset * {
  font-size: 1rem;
}

@media screen and (min-width: 900px) {
  .form-half {
    display: inline-block;
    width: 50%;
  }
  .form-half, .form-full {
    padding-right: 1em;
  }
  .nopadding-right {
    padding-right: 0 !important;
  }
  .nomargin-right {
    margin-right: 0 !important;
  }
  .nopadding-left {
    padding-left: 0 !important;
  }
  .nomargin-left {
    margin-left: 0 !important;
  }
}

input:invalid, textarea:invalid {
  background: white;
}

input[type="submit"] {
  background: black;
  border: 0 none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1em;
  padding: 1em 3em;
}

input[type="submit"]:not(.brand-background) {
  background: #b0b0b0;
}

.ajax-submitting input[type="submit"] {
  background: #f6f5f3;
  color: #d8d7d5;
  cursor: default;
  pointer-events: none;
}

h3.section-heading.section-heading:first-child {
  margin-bottom: .75em;
  margin-top: 2.25em;
}

#formTemp {
  display: none;
}

.form-switchers.empty {
  display: none;
  overflow: hidden;
}

.prform .form-switchers .form-message {
  display: none;
}

.prform.email-sent.emailForm .form-switchers .form-message.email-sent,
.prform.sms-sent.smsForm .form-switchers .form-message.sms-sent {
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
}

.prform.email-sent.emailForm .button, .prform.sms-sent.smsForm .button {
  display: none;
}

.form-switchers.empty + input[type="submit"] {
  display: none;
}

.type-toggle {
  display: -moz-inline-flex;
  display: -ms-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  clear: both;
  height: 54px;
  /*margin-top: 3em;*/
  width: 100%;
  -moz-align-items: stretch;
  -ms-flex-align: stretch;
      align-items: stretch;
}

.type-toggle input {
  visibility: hidden;
  position: absolute;
  right: 0;
  bottom: 0;
}

.type-toggle label {
  background: #f6f6f6;
  border: 1px solid #c5c5c5;
  cursor: pointer;
  display: block;
  font-size: 1.25em;
  line-height: 54px;
  margin-bottom: 0;
  text-align: center;
  width: 50%;
  width: calc(50% - 4px);
  transition: background-color .35s ease-out;
}

.type-toggle label.active {
  background: #ffffff;
  border-bottom: 0 none;
  position: relative;
}

.separator {
  border-bottom: 1px solid #c5c5c5;
  content: " ";
  display: block;
  width: 8px;
}

.practice-addresses {
  overflow: auto;
}

@media screen and (min-width: 601px) {
  .practice-addresses > div {
    float: left;
    width: 49%;
  }
  .practice-addresses > div:nth-of-type(2n+1) {
    clear: left;
    margin-right: 2%;
  }
}

.social-networks {
  overflow: auto;
}

.social-networks div {
  float: left;
  text-align: center;
}

.social-networks label {
  border: 1px solid #dedede;
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  height: 80px;
  width: 80px;
  -moz-align-items: center;
  -ms-flex-align: center;
      align-items: center;
  -moz-justify-content: center;
  -ms-flex-pack: center;
      justify-content: center;
}

.social-networks div {
  width: 80px;
  margin-left: 10px;
}

.social-networks div:first-of-type {
  margin-right: 0;
}

.social-networks div img {
  display: block;
  max-width: 75%;
}

/*****************************************
****** FOOTER
******************************************/
.powered-by {
  font-size: 13px;
  padding-top: 13px;
  text-align: center;
}

.powered-by a {
  color: #666666;
  text-decoration: none;
}

.powered-by img {
  display: inline-block;
  vertical-align: middle;
}

/*****************************************
****** Integration : Reviews Raker
******************************************/
#receivedReviews {
  padding-bottom: 20px;
  min-height: 400px;
}

#receivedReviewsTabs {
  margin: 0;
}

#receivedReviewsTabs li {
  display: inline-block;
  border: 1px solid #efefef;
}

#receivedReviewsTabs li a {
  display: block;
  padding: 10px 20px;
}

.review-th-author, .review-th-date, .review-th-rating {
  width: 150px;
}

.review-th-content {
  text-align: center !important;
}

.review-th-date, .review-th-rating, .review-td-date, .review-td-rating {
  text-align: center !important;
}

.dash-star-ratings .dashicons {
  font-size: 14px;
  color: #DE8925;
}

.review-td-rating div {
  padding: 0px 10px;
}

.table-receivedreviews {
  display: none;
}

.table-receivedreviews.is-visible {
  display: block;
}

#receivedReviewsTabs li a {
  color: #000000;
  cursor: pointer;
}

#receivedReviewsTabs .is-selected {
  background: #f6f6f6;
}

/*****************************************
****** Review Preview (rake)
******************************************/
.table-receivedreviews-group {
  position: relative;
}

#receivedReviewPreview {
  visibility: hidden;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  background: #ffffff;
  width: 100%;
}

.table-receivedreviews-group.preview-on {
  min-height: 300px;
}

.table-receivedreviews-group.preview-on #receivedReviewPreview {
  visibility: visible;
  height: 100%;
}

#closePreviewContent {
  height: 50px;
  background: #f6f6f6;
  text-align: center;
}

#closePreviewContent a {
  display: block;
  vertical-align: middle;
  padding: 10px;
  cursor: pointer;
}

#thePreviewContent {
  height: calc(100% - 50px);
}

#thePreviewContent > div {
  border: 1px solid #efefef;
  padding: 20px;
  overflow: hidden;
  height: 100%;
  overflow-y: scroll;
}
