/* Popup Styles */
[id^=dialog-message] {
	margin-top: 20px;
	display:none;
}
#dialog-message > p {
  	margin-bottom: 0;
}
#dialog-message > p img, .ui-dialog-content p img, #dialog-message > p img:hover, .ui-dialog-content p img:hover {
  height: auto;
  width: 100%;
  max-width:600px;
  padding:0;
}
.ui-dialog-content img {
    width: 100%;
    height: auto;
}
.ui-widget-header {
  	background: none;
  	border: none;
  	color: #222222;
  	font-weight: bold;
} 
.ui-widget-content {
  	color: #222222;
	outline:none;
}
.ui-dialog {
	max-width: 600px;
	min-width:300px;
	z-index:99999;
}
.ui-dialog .ui-dialog-titlebar {
  	position: relative;
  	z-index: 9999;
  	padding:0;
}
.ui-dialog .ui-dialog-titlebar-close {
	  height: 20px;
	  margin: 0;
	  padding: 1px;
	  position: absolute;
	  right: 5px;
	  top: -1px;
	  border-radius: 10px;
}
.ui-dialog .ui-dialog-content {
	padding: 3px 3px;
}
.ui-widget-overlay {
	background-image:none;
	background-color:#000000;	
	opacity: .7;
}
.ui-dialog .wp-caption {
	width: 100% !important;
	height: auto;
}

/* Styles for Post Type Grid Layout */
.gl-shadow{
	box-shadow: 3px 3px 4px #000000;
}
.gl-content h3:first-child {
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  font-size:1.1875rem;
  color:inherit;
  font-weight:bold;
}
.gl-img {
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: auto;
	width: 100%;
	min-height: 160px;
	overflow:hidden;
	max-height:160px;
}
.gl-img-url {
	display: inline-block;
	min-height: 160px;
	width: 100%;
	box-shadow:none !important;
	border:none;
}
.gl-img-url-hover {
	background-color:#FFFFFF;
	opacity:.4;
}
.gl-cir {
	/*border: 3px solid #333;*/
	border-radius: 180px;
	margin: 10px auto;
	width: 65%;
	background-color:#008080;
}
.gl-holder {
	margin: 10px 5px;
	overflow: hidden;
	text-align: center;
	width: 30%;
	display:inline-block;
	background-color:#ffffff;
	min-width:250px;
	min-height:300px;
	vertical-align:top;
	/*border-top: 2px solid #C4086F;*/
}
.gl-content {
	background-color: transparent;
	font-family: inherit;
	font-size: 12px;
	margin: 0;
	padding: 10px 10px 20px 10px;
	text-align:left;
	min-height:150px;
	color:inherit;
}
.gl-content > p {
	margin: 0;
	padding: 3px;
	font-size: 12px;
	color:inherit;
}
.gl-readmore {
	background-color: #000;
	border-radius: 3px;
	color: #fff;
	font-family: verdana;
	font-size: 18px;
	font-weight: 600;
	padding: 10px 40px;
}
.gl-circle {
	border: 5px solid #000;
	border-radius: 300px;
}
ul.sgkrcatlist {
  padding: 5px;
  text-align:center;
}
ul.sgkrcatlist > li {
  display: inline-block;
  padding-right: 5px;
  min-height: 50px;
}
.sgkrsortbutton {
  background-color: #000;
  color: #fff;
  padding: 10px 15px;
  cursor:pointer;
  border-radius: 3px;
 
}
.sgkrsortbutton:hover {
  background-color: #333;
}
/* admin */
.sgknotice {
  background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
  height: 100%;
  left: 0;
  margin: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}
.sgknotice p{
	background-color: #ff0000;
	border-color: #000;
	border-style: solid;
	border-width: 1px;
	font-weight: bold;
	left: 25%;
	position: absolute;
	top: 10%;
	width: 45%;
	height: auto;
	padding: 15px;
	font-size: 18px;
	text-align: center;
}