.popup {
  position: fixed !important;
  z-index: 9999 !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 94% !important;
  max-width: 620px !important;
  max-height: 88vh !important;
  background: #ffffff !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
  border-radius: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: none;
}
  .p_content {
    width: 100% !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .p_anch {
    float:left; position:relative; z-index:1; width:100%;
    margin:80px 0 0 0; text-align:center; font-size:18px;
  }
  .p_anch a { color:#000; }
  .p_anch a:hover { text-decoration:none; }
  .p_anch_bottom { margin:1500px 0 0 0; padding:0 0 50px 0; }
  .p_close {
	position: absolute;
    top: 0;
    right: 0px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
	font-weight:bold;
    background: #e74c3c;
    color: #fff!important;
    text-align: center;
    border-radius: 0 12px 0 8px;
    z-index: 10;
    cursor: pointer;
    text-decoration: none !important;
  }
  .p_close:hover {
    background: #c0392b;
    color: #fff !important;
  }
  .p_body {
    position:fixed !important; top:0 !important; left:0 !important; width:100vw !important; height:100vh !important;
    background:#000 !important; opacity:0.7 !important;
	z-index:9998 !important;
    display: none;
  }

.github {
  position:fixed; top:0; right:0;
  width:99px; height:99px; background:url(../img/github.png);
}
@media(max-width:768px){
	.popup {
	  width:95% !important;
      max-height: 92vh !important;
	}
    .p_content {
      padding: 14px 12px !important;
      max-height: 92vh !important;
    }
}
@media(max-width:500px){
	.popup {
	  width:96% !important;
      max-height: 94vh !important;
	}
    .p_content {
      padding: 12px 10px !important;
      max-height: 94vh !important;
    }
}

.review_section {
  box-sizing: border-box;
  margin:0 auto;
  width: 100%;
}
.review_section .review_head{
	margin-bottom: 10px;
    padding: 7px 10px;
    background: #fff;
    border-radius: 8px;
}
.review_section .review_body{
	overflow-y: visible !important;
    max-height: none !important;
}
/* ====================== Review Form ====================== */
.review_section #modal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10001 !important;
  display: none;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 10px;
  opacity: 0;
  transition: opacity .3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  width: 90% !important;
  max-width: 480px !important;
  max-height: 90vh !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
  padding: 15px 20px 20px;
}
.review_section #modal.show {
  opacity: 1 !important;
  display: flex !important;
}
.review_section .modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 10000 !important;
  background-color: rgba(0,0,0,0.7) !important;
  opacity: 0;
  display: none;
}
.review_section .modal-overlay.show {
  opacity: 1 !important;
  display: block !important;
}
.review_section #modal .close-btn {
  align-self: flex-end;
  font-size: 1.4em;
  margin: 0 0 8px 0;
  padding: 0 8px;
  cursor: pointer;
  background: transparent;
  border: none;
}
.review_section form {
  width:70vw;
  padding: 0 20px 20px 20px;
}
.review_section input,
.review_section select,.review_section .rate, .review_section textarea, .review_section button {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: inset 0 1px 1px #e1e1e1;
  font-size: 16px;
  padding: 8px;
}
.review_section input[type="radio"] {
  box-shadow: none;
  outline:0 !important;
}
.review_section button {
	min-width: 36px;
    min-height: 36px;
    background: red;
    color: #fff;
    border: 1px solid red;
}
.review_section button#review-add-btn {
	min-width: 130px;
    min-height: 30px;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    background: red;
    color: #fff;
    border: 1px solid red;
}
.review_section button#review-add-btn i.fa{
	font-size:12px!important;
}
.review_section button#submit-review-btn {
  font-weight: bold;
  cursor: pointer;
  padding: 0 16px;
}

.review_section .fieldset {
  margin-top: 20px;
}
.review_section .right {
  align-self: flex-end;
}
.review_section #review-form-container {
  width: 100%;
  padding: 0 20px 26px;
  color: #333;
  overflow-y: auto;
  font-size:14px;
}
.review_section #review-form-container h2 {
  margin: 0 0 0 6px;
}
.review_section #review-form {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}
.review_section #review-form label, .review_section #review-form input {
  display: block;
  /* width: 100%; */
}
.review_section #review-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

.review_section #review-form .rate label,.review_section  #review-form .rate input,
.review_section #review-form .rate1 label,.review_section  #review-form .rate1 input {
  display: inline-block;
}
.review_section .rate {
  height: 36px;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: flex-end;
}
.review_section #review-form .rate > label {
  margin-bottom: 0;
  margin-top: -5px;
  height: 30px;
}
.review_section .rate:not(:checked) > input {
  top: -9999px;
  margin-left: -24px;
  width: 20px;
  padding-right: 14px;
  z-index: -10;
}
.review_section .rate:not(:checked) > label {
  float:right;
  width:1em;
  overflow:hidden;
  white-space:nowrap;
  cursor:pointer;
  font-size:30px;
  color:#ccc;
}
.review_section .rate2 {
  float: none;
}
.review_section .rate:not(:checked) > label::before {
  content: '★ ';
  position: relative;
  top: -10px;
  left: 2px;
}
.review_section .rate > input:checked ~ label {
  color: #ffc700;
}
.review_section .rate > input:checked:focus + label, .review_section .rate > input:focus + label {
  outline: -webkit-focus-ring-color auto 5px;
}
.review_section .rate:not(:checked) > label:hover,
.review_section .rate:not(:checked) > label:hover ~ label {
  color: #deb217;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: #c59b08;
}
.review_section #submit-review {
  align-self: flex-end;
}

 .review_section input,.review_section textarea{
    width:100%;
   font-size:14px;
  }
@media only screen and (min-width: 550px){
 
}

 .blog-card {
	 display: flex;
	 flex-direction: column;
	 margin: 5px 0;
	 box-shadow: 0 3px 7px -1px rgba(0, 0, 0, .1);
	 margin-bottom: 1.6%;
	 background: #fff;
	 line-height: 1.4;
	 border-radius: 5px;
	 overflow: hidden;
	 z-index: 0;
}
 .blog-card a {
	 color: inherit;
}

 .blog-card .meta {
	 position: relative;
	 z-index: 0;
	 height: 180px;
}
 .blog-card .photo {
	height:200px;
	 width:200px;
	 margin:0;
}

 
 .blog-card .description {
	 padding: 1rem;
	 background: #fff;
	 position: relative;
	 z-index: 1;
}
 .blog-card .description h1 {
	 line-height: 1;
	 margin: 0;
	 font-size: 1.7rem;
}
 .blog-card .description h2 {
	 font-weight: 300;
	 text-transform: uppercase;
	 color: #a2a2a2;
	 margin-top: 5px;
}
 .blog-card .description p{
	 font-size:16px;
 }
  .blog-card .description span.fa{
	font-size: 14px!important;
    padding: 10px 2px;
    color: #ccc;
  }
  .blog-card .description span.fa.checked {
	  color: orange;
	}
 .blog-card p:first-of-type {
	 margin-top: 1.25rem;
}
 .blog-card p:first-of-type:before {
	 content: "";
	 position: absolute;
	 height: 5px;
	 background: #ff0000;
	 width: 35px;
	 margin-top:-1rem;
	 border-radius: 3px;
}

 @media (min-width: 640px) {
	 .blog-card {
		 flex-direction: row;
		 max-width: 700px;
	}
	 .blog-card .meta {
		 flex-basis: 0%;
		 height: 200px;
	}
	 .blog-card .description {
		 flex-basis: 95%;
	}
	 .blog-card .description:before {
		 content: "";
		 background: #fff;
		 width: 30px;
		 position: absolute;
		 left: -10px;
		 top: 0;
		 bottom: 0;
		 z-index: -1;
	}
	 .blog-card.alt {
		 flex-direction: row-reverse;
	}

	 .blog-card.alt .details {
		 padding-left: 25px;
	}
}
 
#fh5co-main {
    
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
#fh5co-main .fh5co-narrow-content {
    position: relative;
    margin: 0 auto;
}
#fh5co-main .fh5co-narrow-content .form-control{
       -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    height: 54px !important;
    font-size: 18px;
    font-weight: 300;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    border-radius: 0px !important;
	color:#000!important;
}
#fh5co-main .fh5co-narrow-content #message {
    height: 130px !important;
}
#fh5co-main .fh5co-narrow-content .btn.btn-md {
    padding: 10px 25px !important;
	font-size:16px!important;
}
#fh5co-main .fh5co-narrow-content .btn-primary {
    background: #da1212 !important;
    color: #fff !important;
    border: 2px solid #da1212 !important;
  border-radius: 0px !important;
}
