/*

Theme Name: Pro &ndash; PEGS
Theme URI: http://phuketexpatgolfsociety.com/
Author: Design Extreme
Author URI: https://designextreme.com/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro
*/

/* GENERAL */

body {
	color: #FFFFFF;
	background-color: #84A0A2;
	background-image: url('/wp-content/uploads/Blue-Canyon-Golf-Course.jpg');
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	min-height: 100%;
}
.random-01 {
	background-image: url('/wp-content/uploads/Laguna-Hole-18-Green.jpg');
}
#top::after {
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.4);
	color: #FFFFFF;
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 0.1em 1em;
	margin: 0 0 0 0;
	height: 2.1em;
	overflow: hidden;
	font-size: 0.8em;
}
.random-02 {
	background-image: url('/wp-content/uploads/Laguna-Hole-10-Green.jpg');
}
.random-03 {
	background-image: url('/wp-content/uploads/Laguna-Hole-10-Green.jpg');
}
.random-04 {
	background-image: url('/wp-content/uploads/Laguna-Hole-4-Fairway.jpg');
}
.random-05 {
	background-image: url('/wp-content/uploads/Laguna-Aerial-View.jpg');
}

@media only screen and (min-width: 1000px) {
	.random-01 #top::after {
		content: 'Laguna Hole 18';
	}
	.random-02 #top::after {
		content: 'Laguna Hole 10';
	}
	.random-03 #top::after {
		content: 'Laguna Hole 10';
	}
	.random-04 #top::after {
		content: 'Laguna Hole 4 Fairway';
	}
	.random-05 #top::after {
		content: 'Laguna Aerial View';
	}
}

html {
	height: 100%;
}
.x-container.main::before {
	display: none;
}
.x-main .p-meta > span > a,
.x-main .x-nav-articles a,
.x-main .entry-top-navigation .entry-parent,
.x-main .option-set .x-index-filters,
.x-main .option-set .x-portfolio-filters,
.x-main .option-set .x-index-filters-menu > li > a:hover,
.x-main .option-set .x-index-filters-menu > li > a.selected,
.x-main .option-set .x-portfolio-filters-menu > li > a:hover,
.x-main .option-set .x-portfolio-filters-menu > li > a.selected,
h2.tribe-events-page-title {
	color: #000000;
}
.feed-item a,
.h-recent-posts,
.tribe-events-notices {
	color: #FFFFFF;
	line-height: 120%;
}
.x-pagination a,
.x-pagination span,
.page-template-template-blank-4-php .x-main,
.page-template-template-blank-5-php .x-main,
.page-template-template-blank-6-php .x-main,
.page-template-template-blank-8-php .x-main {
	color: #FFFFFF;
	background: none;
	background-color: rgba(0, 0, 0, 0);
}
.x-column,
h1.h-custom-headline,
.blog .x-main .hentry .entry-wrap,
.search .x-main .hentry .entry-wrap,
.archive .x-main .hentry .entry-wrap,
.blog .entry-header,
.blog .entry-content,
.search .entry-header,
.search .entry-content,
.archive .entry-header,
.archive .entry-content,
.single-post .entry-header,
.single-post .entry-content,
#comments,
#guest-button,
#members-button,
#tribe-events-content-wrapper .tribe-events-title-bar,
#tribe-events-content-wrapper .tribe-events-calendar,
#tribe-events-content-wrapper .tribe-events-single-section,
#tribe-bar-form,
#tribe-events-content.tribe-events-single,
.availability-calendar .month {
	background-color: rgba(20, 20, 20, 0.8);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.01);
}
.blog .x-main .hentry .entry-wrap,
.search .x-main .hentry .entry-wrap,
.archive .x-main .hentry .entry-wrap,
.entry-content,
#comments {
	padding: 0.6rem 1.6rem;
}
.x-recent-posts a,
.x-column.clear,
.x-column .h-custom-headline,
.blog .x-main .hentry .entry-title,
.blog .x-main .hentry .entry-content,
.blog .hentry .entry-header,
.blog .hentry .entry-content {
	background-color: rgba(0, 0, 0, 0);
	box-shadow: none;
	padding: 0;
}
.x-column.clear > .x-img-none {
	width: 100%;
	height: auto;
}
table.general_table,
.x-container.main::before {
	background-color: rgba(20, 20, 20, 0.8);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.99);
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin: 1.25em 0 1em;
}
h1,
.h1,
#tribe-events-content-wrapper .tribe-events-title-bar h1 {
	font-size: 1.8rem;
}
h2,
.h2 {
	font-size: 1.5rem;
}
h3,
.h3 {
	font-size: 1.25rem;
}
h4,
.h4 {
	font-size: 1.15rem;
}
h5,
.h5 {
	font-size: 1.05rem;
}
form {
	margin: 0;
}
h1.h-custom-headline,
h1.entry-title {
	padding: 1rem 2.5rem 1.4rem;
	font-size: 1.6rem;
}
.x-nav-articles {
	padding: 1rem 2.5rem 0 0;
	width: 7rem;
}
.x-column > h1:first-child, 
.x-column > h2:first-child, 
.x-column > h3:first-child, 
.x-column > h4:first-child, 
.x-column > h5:first-child, 
.x-column > h6:first-child, 
.x-column > .h1:first-child, 
.x-column > .h2:first-child, 
.x-column > .h3:first-child, 
.x-column > .h4:first-child, 
.x-column > .h5:first-child, 
.x-column > .h6:first-child {
	margin-top: 1.5rem;
}
.h-landmark {
	text-align: center;
}
.x-column > * {
	margin-left: 2rem;
	margin-right: 2rem;
}
.x-column > .x-img {
	width: calc(100% - 4rem);
}
.x-column > *:first-child {
	margin-top: 1.5rem;
	padding-top: 1rem;
}
.x-column > *:last-child {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
}
#return .x-column,
.x-column.clear {
	background: none;
	background-color: rgba(0, 0, 0, 0);
	box-shadow: none;
}
#return .x-column > *,
.x-column.clear > * {
	margin-left: 0;
	margin-right: 0;
}
#return .x-container.width {
	width: 100%;
}
.x-column.clear > *:last-child {
	margin-bottom: inherit;
}
.site .x-navbar .desktop .x-nav > li > a {
	height: 120px;
	padding-top: 55px;
}
.x-topbar .p-info a:hover,
.x-social-global a:hover,
.x-navbar .desktop .x-nav > li > a:hover,
.x-navbar .desktop .x-nav > .x-active > a,
.x-navbar .desktop .x-nav > .current-menu-item > a,
.x-navbar .desktop .sub-menu a:hover,
.x-navbar .desktop .sub-menu .x-active > a,
.x-navbar .desktop .sub-menu .current-menu-item > a,
.x-navbar .desktop .x-nav .x-megamenu > .sub-menu > li > a,
.x-navbar .mobile .x-nav li > a:hover,
.x-navbar .mobile .x-nav .x-active > a,
.x-navbar .mobile .x-nav .current-menu-item > a,
.x-widgetbar .widget a:hover,
.x-colophon .widget a:hover,
.x-colophon.bottom .x-colophon-content a:hover,
.x-colophon.bottom .x-nav a:hover {
	color: #F1F1F1;
}
.site .x-navbar .desktop .x-nav > li > a:hover,
.site .x-navbar .desktop .x-nav > .x-active > a,
.site .x-navbar .desktop .x-nav > .current-menu-item > a {
	box-shadow: none;
}
.entry-content input[type=text],
.entry-content input[type=email],
.entry-content input[type=tel],
.entry-content input[type=date],
.entry-content input[type=datetime-local],
.entry-content select,
.entry-content textarea {
	width: 100%;
	padding: 0.6rem 0.8rem;
	font-size: 0.9rem;
	line-height: 140%;
	text-indent: 0;
	height: auto;
}
.x-btn,
.button,
.nf-field-element input[type="button"],
[type="button"],
[type="submit"] {
	color: #ffffff;
	border-color: #ac1100;
	background-color: #ff2a13;
	text-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(172, 17, 0, 0);
}
.x-btn:hover,
.button:hover,
.nf-field-element input[type="button"]:hover,
[type="button"]:hover,
[type="submit"]:hover {
	color: #ffffff;
	border-color: #600900;
	background-color: #ef2201;
	text-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
}
.nf-field-element input[type="button"],
[type="button"] {
	padding: 0.4rem 1.5rem 0.45rem;
}
.entry-content table th, 
.entry-content table td {
	border-top: 0 none;
}
.x-brand,
.x-brand img {
	transition: 0.2s all ease-in-out;
}

@media only screen and (min-width: 1000px) {
	body.x-navbar-fixed-top-active .site .x-navbar-wrap {
		height: 180px;
	}
	body.x-navbar-fixed-top-active .x-brand {
		height: 160px;
		max-width: 280px;
		width: 100%;
		position: relative;
		margin: 20px 0 -60px;
	}
	body.x-navbar-fixed-top-active .x-brand img {
		width: 100%;
	}
	#return {
		position: absolute;
		top: -50px;
		width: 300px;
		z-index: 200;
		text-align: right;
		right: 0;
	}
	#return .x-column > :first-child,
	#return .x-column > :last-child {
		margin: 0;
	}
	#return .x-btn {
		border-color: rgba(240, 240, 240, 0.9);
		border-right: 0 none rgba(240, 240, 240, 0);
		background-color: rgba(20, 20, 20, 0.4);
		font-size: 0.82em;
		padding: 0.5em 0.7em;
	}
	#return .x-btn:hover {
		background-color: rgba(20, 20, 20, 0.9);
	}
}

@media screen and (max-width: 767px) {
	.masthead .x-brand {
		margin: 12px 0;
	}
	.x-main.full .entry-content {
		margin: 0;
		padding: 0;
	}
	.entry-content .x-container.max.width {
		width: 100%;
	}
	.entry-content .x-column > * {
		margin-left: 1.2rem;
		margin-right: 1.2rem;
	}
	.entry-content .x-column > :last-child {
		margin-bottom: 0;
	}
	.entry-content .x-column > :first-child {
		margin-top: 0;
	}
	.entry-content #return .x-column > :first-child,
	.entry-content #return .x-column > :last-child {
		margin: 1rem 0 0 1rem;
		padding: 1rem;
	}
	.buttons .button {
		display: block;
	}
	.entry-content .link-grid .x-block-grid-item > a > .icon:first-child,
	.entry-content .link-grid .x-block-grid-item > a > .x-icon:first-child {
		width: 110px;
		height: 110px;
	}
	.entry-content .h-custom-headline.cs-ta-right {
		text-align: center;
	}
	.entry-content .h-custom-headline.cs-ta-right span {
		margin: 0;
		text-align: center;
		width: 100%;
		display: block;
	}
}

/* HOME */

#guest-button,
#members-button {
	border: 0 none;
	background-size: 60% 60%;
	background-position: center 1rem;
	background-repeat: no-repeat;
	width: 100%;
	height: 9rem;
	padding: 7rem 0 0 0;
	color: #FFFFFF;
	margin: 0.8rem 0 0 0;
	font-size: 1.2rem;
}
#guest-button {
	background-image: url('/wp-content/uploads/Golf-Cart-and-Hole.svg');
}
#members-button {
	background-image: url('/wp-content/uploads/Golfer-Swing.svg');
}
#guest-button:hover,
#members-button:hover {
	background-color: rgba(60, 60, 60, 0.8);
}
@media only screen and (min-width: 767px) {
	#main-home .x-container {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-end;
		justify-content: center; 
	}
	#main-home .x-container > div {
		flex: 1 0 30%;
	}
	#main-home .x-container > div > .x-raw-content {
		margin-top: auto;
	}
	#guest-button,
	#members-button {
		width: 9rem;
		margin: 0.8rem 0 0 0.8rem;
	}
}

/* LINK GRID */

.link-grid .x-block-grid-item {
	text-align: center;
}
.link-grid .x-block-grid-item a {
	color: #FFFFFF;
	transition: color 0.5s linear, border-color 0.5s linear;
	text-transform: uppercase;
	font-size: 0.9rem;
}
.link-grid .x-block-grid-item a:hover {
	color: #FF0000;
}
.link-grid .x-block-grid-item a .x-icon::before {
	transition: 0.3s color linear;
}
.link-grid .x-block-grid-item a:hover .x-icon {
	color: #FFFFFF;
}
.link-grid .x-block-grid-item a .icon img {
	opacity: 0.75;
	transition: 0.3s opacity linear;
}
.link-grid .x-block-grid-item a:hover .icon img {
	opacity: 1;
}
.link-grid .x-block-grid-item > a > .x-icon {
	transition: border-color 0.5s linear;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.6rem;
	position: relative;
	bottom: 2px;
}
.link-grid .x-block-grid-item > a > .icon:first-child,
.link-grid .x-block-grid-item > a > .x-icon:first-child {
	font-size: 5.65rem;
	display: block;
	clear: both;
	border: 3px solid #FFFFFF;
	border-radius: 33px;
	text-align: center;
	width: 90%;
	height: 7.6rem;
	overflow: hidden;
	line-height: 126%;
	margin: 0 auto;
	bottom: 0;
}
.link-grid .x-block-grid-item > a > .icon:first-child img {
	width: 78%;
	height: auto;
	position: relative;
	top: 12%;
}
.link-grid .x-block-grid-item:nth-child(6) > a > .icon:first-child img {
	top: 8%;
}
.link-grid .x-block-grid-item:nth-child(7) > a > .icon:first-child img {
	top: 19%;
}
.link-grid .x-block-grid-item a:hover .icon:first-child,
.link-grid .x-block-grid-item a:hover .x-icon:first-child {
	border-color: #FF0004;
}
.link-grid .x-block-grid-item a:hover img,
.link-grid .x-block-grid-item a:hover path {
	fill: #FF0004;
}
.link-grid .x-block-grid-item  a .text {
	line-height: 110%;
	display: inline-block;
	position: relative;
	margin: 0.5em 0 0;
}

/* LOGIN */

#login-section .x-column.last,
#login-section .x-column:last-of-type {
	max-width: 800px;
	margin-right: auto;
	margin-left: auto;
	float: none;
}
.x-raw-content .cleanlogin-field, 
.x-raw-content .cleanlogin-form input[type="submit"] {
	margin-bottom: 0.8rem;
}
.x-raw-content .cleanlogin-container {
	margin: 0;
	width: auto;
	max-width: none;
	padding: 0;
	border: 0 none;
	border-radius: 0;
	box-shadow: none;
}
.x-raw-content .cleanlogin-preview,
.x-raw-content .cleanlogin-form-top,
.x-raw-content .cleanlogin-form-bottom {
	display: none;
}

/* PEGS ACCOUNT */

#pegs-member-edit #user_password {
	width: calc(100% - 8rem);
}
#pegs-member-edit #generate_password {
	width: 7rem;
	float: right;
	background-color: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.4);
}
#pegs-member-edit td label {
	font-size: 0.85em;
}

@media only screen and (min-width: 767px) {
	#pegs-member-edit label {
		display: inline-block;
		padding-right: 0.6rem;
	}
	#pegs-member-edit td > input:nth-of-type(4):before {
		display: block;
		clear: left;
	}
}

/* CALENDAR */

#tribe-events-content-wrapper .tribe-events-title-bar h1 {
	text-align: left;
	margin-bottom: 0;
	padding: 1.2rem 1.6rem 0.3rem;
}
#tribe-events-bar {
	margin-top: 0;
}
#tribe-events-content.tribe-events-single {
	margin-top: 2rem;
}
#tribe-events-content.tribe-events-single {
	padding: 1.2rem 1rem;
}
#tribe-bar-form {
	padding: 0.4rem 1rem;
}
.tribe-events-calendar .tribe-events-tooltip,
.tribe-events-shortcode .tribe-events-tooltip {
	padding: 7px;
}
.single-tribe_events .tribe-events-event-meta,
#tribe-bar-form .tribe-bar-views-inner,
.tribe-events-notices {
	background-color: rgba(0, 0, 0, 0);
}
#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a {
	background-color: #666;
	color: #FFFFFF;
}
#tribe-events-content .entry-title {
	color: #171717;
}
#tribe-events-content .tribe-events-calendar td {
	color: #DDDDDD;
}
.tribe-events-month-event-title a,
.tribe-events-month-event-title a.url {
	color: #F7E3E3;
}
.tribe-events-month-event-title a:hover,
.tribe-events-month-event-title a.url:hover,
.availability-calendar thead th,
.availability-calendar thead th a,
.availability-calendar thead th a:hover,
.availability-calendar .month-year {
	color: #FFFFFF;
}
.tribe-events-month .tribe-events-sub-nav a {
	font-weight: 700;
}
.tribe-events-notices,
.single-tribe_events .tribe-events-event-meta {
	border: 0 none;
}
.tribe-events-present {
	box-shadow: 0 0 0 2px #D50003, 0 0 0 2px #D50003 inset;
}
.tribe-events-past > div:first-child {
	background-color: #2D2D2D;
}
.tribe-events-future > div:first-child {
	background-color: #DFDFDF;
}
.tribe-bar-filters input,
.tribe-bar-filters select,
.tribe-events-has-events,
.tribe-events-calendar th,
#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a:hover,
#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option.tribe-bar-active a:hover,
.availability-calendar thead td,
.availability-calendar tbody th,
.availability-calendar .event,
.availability-calendar .event a  {
	color: #FFFFFF;
	background-color: #D50003;
}
.tribe-events-othermonth.tribe-events-has-events {
	background-color: rgba(100, 0, 0, 0.3);
}
.tribe-events-calendar div[id*="tribe-events-daynum-"] a {
	background-color: rgba(0, 0, 0, 0);
}
.datepicker.datepicker-dropdown > div {
	z-index: 1100;
	position: relative;
}
.tribe-events-notices {
	padding: 0;
	font-size: 0.9rem;
}
.tribe-events-event-meta .tribe-events-meta-group {
	padding: 0;
}
#tribe-events-header,
#tribe-events-footer,
#tribe-events-content .tribe-events-back {
	display: none;
}

.availability-calendar {
	min-height: 223px;
}
.availability-calendar .months {
	margin: 0;
	padding: 0;
	list-style: none;
}
.availability-calendar .month {
	display: block;
	min-height: 17.5em;
	padding: 0;
}
.availability-calendar table {
	border-collapse: collapse;
}
.availability-calendar .month-year {
	font-size: 1.4em;
	margin: 0.3em 0;
	line-height: 110%;
}
.availability-calendar th, 
.availability-calendar td {
	border: 1px solid rgba(0, 0, 0, 0.12);
	line-height: 100%;
	min-width: 28px;
	padding: 4px 1px 5px;
	text-align: center;
}
.availability-calendar tbody th, 
.availability-calendar tbody td {
	width: 14.286%;
	max-width: 3em;
}
.availability-calendar tbody th {
	font-size: 0.8em;
}
.availability-calendar tbody td {
	width: 14.286%;
	max-width: 3em;
	height: 2.4em;
	font-size: 0.9em;
}
.availability-calendar td {
	cursor: default;
	transition: color 0.3s linear, background-color 0.3s linear;
}
.availability-calendar .past {
	color: #CDCDCD;
}
.availability-calendar .today {
	box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.9) inset;
}
.availability-calendar .event {
	color: #FFFFFF;
}
.availability-calendar td p {
	line-height: 100%;
	margin: 0;
}
.availability-calendar td .event-title {
	font-size: 9px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.availability-calendar .previous,
.availability-calendar .next {
	cursor: pointer;
	display: inline-block;
	float: left;
	font-size: 1em;
	height: 1em;
	line-height: 100%;
	margin: .3em 0 0;
	opacity: 0.85;
	position: relative;
	text-align: center;
	width: 1.5em;
}
.availability-calendar .next {
	float: right;
}
.availability-calendar .previous:hover,
.availability-calendar .next:hover {
	opacity: 1;
}
.availability-calendar .previous.disabled,
.availability-calendar .next.disabled,
.availability-calendar .previous.disabled:hover,
.availability-calendar .next.disabled:hover {
	cursor: default;
	opacity: 0.3;
}
#availability .x-btn {
	display: block;
	margin: 0.6em 0 0;
}
@media screen and (min-width: 979px) {
	.availability-calendar {
		overflow: hidden;
	}
	.availability-calendar-inner {
		overflow: hidden;
		width: 105%;
	}
	.availability-calendar .month {
		float: left;
		margin: 0 3.4% 0 0;
		width: 29.5%;
	}
	.availability-calendar.month-display-1 .month {
		width: 89.2%;
		margin: 0;
	}
	.availability-calendar.month-display-2 .month {
		width: 44.6%;
		margin: 0 5.4% 0 0;
	}
}

@media screen and (min-width: 1200px) {
	.availability-calendar {
		height: 17.5em;
		overflow: hidden;
	}
	.availability-calendar th,
	.availability-calendar td {
		padding: 7px 1px 8px;
	}
}

/* RECENT POSTS */

.x-main .x-recent-posts .x-recent-posts-content {
	border: 0 none;
	padding: 0;
	box-shadow: none;
	margin-bottom: 1rem;
}
.x-main .x-recent-posts a.no-image {
	padding: 0;
}

/* BLOG/NEWS */

.single-post .entry-content table {
	width: auto;
}
.single-post .entry-content table th,
.single-post .entry-content table td {
	border: 1px solid rgba(255, 255, 255, 0.3);
}
.single-post .entry-content table tr:first-child > th {
	background-color: rgba(255, 255, 255, 0.14);
}

/* NEWS/RSS */

.rss-aggregator {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rss-aggregator li {
	margin: 0 0 1em;
	padding: 0;
}
.rss-aggregator .feed-source {
	display: none;
}
.x-recent-posts .x-recent-posts-date,
.rss-aggregator .feed-date {
	margin: 0;
	font-size: 10px;
	line-height: 1;
	text-transform: uppercase;
	color: #D9D9D9;
}