/* ---
REVIEWS
--- */


.plex-review-wrapper img {
    width: 140px;
    line-height: 140px;
    vertical-align: text-top;
    overflow: hidden;
}

.plex-thumbs-up, .plex-thumbs-down {
    background: #FAFAFA;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    text-align: center;
    box-shadow: 0 1px 2px;
    border-radius: 5px;
}

.plex-thumbs-up a,
.plex-thumbs-down a {
    display: block;
    width: 275px;
    padding: 25px;
}

.plex-review-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 2em;
}

.plex-thumbs-up div,
.plex-thumbs-down div {
    margin-top: 1em;
}

.plex-thumbs-up:hover,
.plex-thumbs-up:focus {
    background: rgb(0,128,0, 0.7);
    color: #fff;
    text-decoration: none;
}

.plex-thumbs-down:hover,
.plex-thumbs-down:focus {
    background: rgba(237, 32, 45, 0.8);
    color: #fff;
    text-decoration: none;
}

.plex-thumbs-up a:hover,
.plex-thumbs-up a:focus {
    color: #fff;
    text-decoration: none;
}

.plex-thumbs-down a:hover,
.plex-thumbs-down a:focus {
    color: #fff;
    text-decoration: none;
}

.ui-widget-overlay {
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100vh;
    top: 0;
    position: fixed;
    left: 0;
}

div#dialog-plex-review {
    padding: 20px;
    background: #fff;
    color: #000;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button.ui-dialog-titlebar-close {
    background: url(/wp-content/uploads/sites/20/2019/12/Asset-1.png);
    width: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    height: 30px;
    border: 0;
    object-fit: contain;
}

.ui-dialog-titlebar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5em;
}

.ui-dialog {
    z-index: 99999;
    width: 650px !important;
    text-align: center;
}


form#plex-review-form {
    flex-direction: column;
    display: flex;
    justify-content: center;
    text-align: center;
}


form#plex-review-form button {
    width: 100%;
}

.your-satisfaction {
    font-weight: 500;
    margin-bottom: 0.5em;
}

.ui-dialog {
    z-index: 99999;
    position: absolute !important;
    top: 20% !important;
    left: 30% !important;
}

section#site-navigation .texting-btn-wrapper {
    display: none;
}


@media (max-width: 767px){
  section#site-navigation .texting-btn-wrapper {
    display: block;
    text-align: center;
  }
  
  section#site-navigation .texting-btn-wrapper {
    display: block;
    text-align: center;
    position: fixed;
    top: 50%;
    left: -52px;
    transform: rotate(90deg);
  }
  
  section#site-navigation a.btn.texting-btn {
    background: rgba(129,130,133,0.75);
    color: #fff;
  }
  
  section#site-navigation .texting-btn-wrapper a {
    font-family: 'Merriweather Sans', sans-serif;
    padding: 0.3em 1.5em;
    font-size: 1.2em;
	}

	body.page main.container {
      padding: 2%;
	}
  
	.plex-review-wrapper {
		display: flex;
		flex-direction: column;
	}
  
  .plex-review-wrapper>div {
      margin-top: 1em;
	}
  
  	.ui-dialog{
      z-index: 99999;
      position: absolute !important;
      top: 50% !important;
      left: 0% !important;
      padding: 0.5em;
	}

	.ui-dialog{
      z-index: 99999;
      width: 100% !important;
      text-align: center;
	}
  
  .egpr-google-reviews-wrap .egpr-star-icon {
      margin-right: 1em;
	}
}

@media (min-width:768px) and (max-width:1023px) {
	.plex-review-wrapper img {
      width: 75px;
      line-height: 140px;
      vertical-align: text-top;
      overflow: hidden;
	}
  
  	.plex-thumbs-up a, .plex-thumbs-down a {
      display: block;
      width: 225px;
      padding: 15px;
	}
  
  .ui-dialog {
      z-index: 99999;
      position: absolute !important;
      top: 20% !important;
      left: 0% !important;
      padding: 1em;
      width: 100% !important;
	text-align: center;
	}
}


