/* weather */
.cb-weather {
}
.cb-weather div {
	text-align: center;
}
.cb-weather .weather-block {
	display: table;
	width: 100%;
}
.cb-weather .weather-block .weather-cell {
	display: table-cell;
	vertical-align: middle;
	width: 20%;
}
.cb-weather img {
    max-width: 80%;
	margin-bottom: 15px !important;
}
.cb-weather .weather-label {
    line-height: 18px;
}
.cb-weather .weather-value {
    line-height: 26px;
	font-size: 24px;
	font-weight: 600;
}
.cb-weather.forecast {
	padding-top: 30px;
}
.cb-weather.forecast div {
	font-size: 13px;
}
.cb-weather.forecast {
    line-height: 16px;
}
.cb-weather.forecast img {
    max-height: 50px;
	padding-top: 10px;
}
.cb-weather.forecast .weather-high {
    line-height: 16px;
    font-size: 16px;
	font-weight: 600;
}
.cb-weather-attribution:not(.home .cb-weather-attribution) {
    display: inline-block;
    width: 100%;
	padding-top: 30px;
}
.cb-weather-attribution .text-right {
    float: right;
}
.cb-weather-attribution p {
    font-size: 12px;
}

/* article list */
.article-list.section-title:not(.article-list.section-title:first-of-type) {
	padding-top: 20px;
}
.post-title h2.no-thumb {
	margin-top: 0;
	padding-top: 0;
}

/* single article */
.sh-related-posts .post-meta-thumb:hover .sh-overlay-style1,
.post-container .sh-overlay-style1 .sh-overlay-item:first-child {
	opacity: 1 !important;
}
.sh-related-posts .sh-overlay-style1 .sh-overlay-item-container {
	background-color: #fff;
}
.sh-related-posts .sh-overlay-style1 .sh-overlay-item-container i {
	color: #505050;
}

/* sports */
.team-schedules:not(.team-schedules:first-of-type) {
    padding-top: 60px;
}
.team-schedules .school-logo {
    max-width: 50px;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 10px;
    margin-left: 0;
}
.team-schedule:not(.team-schedule:first-of-type) {
    padding-top: 40px;
}
.team-schedule .slick-slide {
    display: flex;
    align-items: stretch;
}
.team-schedule .slick-list {
}
.team-schedule .result-items {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 13px;
}
.team-schedule .result-items {
  text-align: left;
}
.team-schedule .result-item {
	min-height: 100px;
    padding: 15px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.team-schedule .tournament,
.team-schedule .tournamentGame {
    background-color: rgba(0, 0, 0, .05);
}
.team-schedule .team-title {
    margin-bottom: 10px;
    margin-right: 0;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 18px;
    font-weight: 600;
}
.team-schedule .team-link {
    margin-bottom: 15px;
	padding-right: 16px;
	padding-left: 16px;
}
.team-schedule .result-items .slick-track {
  display: flex;
  justify-content: flex-start;
  margin-right: 0;
  margin-left: 0;
}
.team-schedule .result-details {
	list-style: none;
	padding-left: 0;
}
.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    line-height: 46px;
}
.slick-prev.slick-disabled,
.slick-next.slick-disabled {
	display: none !important;
}
.slick-prev{
    left: 25px;
}
.slick-next {
    right: 25px;
}
.slick-prev:before,
.slick-next:before {
	color: rgba(0,0,0,.2);
	font-size: 40px;
}
p.cb-scores-attribution {
	padding-top: 25px;
    font-size: 12px;
	text-align: right;
}

/* ads */
.spotlight-item img,
.spotlight-container img:not(.post-content .spotlight-container img) {
	margin-bottom: 0;
}

/* ad form */
.cb-ad-form {
	margin-right: -16px;
	margin-left: -16px;
    padding-top: 60px;
    padding-bottom: 45px;
}
.cb-ad-form .card-wrapper {
    display: inline-block;
    width: 100%;
}
.cb-ad-form .cb-ad-heading {
    display: inline-block;
    width: 100%;
    padding-top: 60px;
    padding-right: 16px;
    padding-bottom: 15px;
    padding-left: 16px;
}
.cb-ad-form .cb-ad-heading h4 {
	margin-bottom: 0;
}
#cb-ad-form .card-field {
	padding: 16px;
}
.cb-ad-form .cb-ad-heading:first-of-type {
	padding-top: 20px;
}
.cb-ad-form p.required-notice {
	padding-right: 16px;
	padding-left: 16px;
}
.cb-ad-form .acf-fields > .acf-field,
.cb-ad-form .acf-field[data-width]+.acf-field[data-width] {
	border-top: none;
	border-right: none;
	border-bottom: none;
	border-left: none;
}
.cb-ad-form select {
	background-color: #fff;
}
.cb-ad-form input[type="file"] {
    max-width: 100%;
}
.cb-ad-form input[type="submit"] {
	border: none;
	cursor: pointer;
	border-radius: 100px;
	transition: 0.25s all ease-in-out;
	line-height: 50px;
	padding: 0 30px;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: bold;
}
.cb-ad-form h3.cb-image-upload-heading {
	margin-bottom: 0;
	padding-top: 60px;
	font-weight: bold;
	color: #333;
}
.cb-ad-form .card-wrapper div.element-wrap {
    margin-top: 5px;
	padding: 4px 8px;
	border: 1px solid #e3e3e3;
}
.cb-ad-form .card-wrapper .acf-label {
    margin: 0 0 10px;
}
.cb-ad-form .card-wrapper label {
    display: block;
    font-weight: 500;
    margin: 0 0 3px;
    padding: 0;
}
.cb-ad-form .card-wrapper label,
.acf-field .acf-label label {
    -webkit-text-size-adjust: none;
}
.cb-ad-form .invalid,
.cb-ad-form .card-wrapper div.element-wrap.invalid {
	border-color: red;
}
.cb-ad-form input[type=file].invalid {
    padding: 4px 8px;
    border: 1px solid red;
    line-height: 48px;
}
.cb-ad-form .acf-form-submit {
	margin-right: 16px;
	margin-left: 16px;
	padding-top: 30px;
}
.cb-ad-form .acf-notice {
	margin-right: 16px;
	margin-left: 16px;
}
.acf-notice.-success.acf-success-message .acf-icon.-cancel:before,
.cb-ad-form .acf-icon.-cancel:before {
	margin-left: -.5px;
	width: 20px;
	height: 20px;
	line-height: 20px;
}
.success-message {
	background-color: #7ac107;
	color: inherit;
    border-color: #497503;
	padding: 10px;
	margin-bottom: 20px;
	border-radius: 5px;
}

/* events page */
.tribe-common div.tribe-events-before-html {
    margin-bottom: 60px;
}

/* event form */
#cb-event-form {
    margin-right: -16px;
    margin-left: -16px;
}
#cb-event-form p.required-notice {
    padding-right: 16px;
    padding-left: 16px;
}
#cb-event-form .acf-field--post-title,
#cb-event-form .acf-field-event-description {
	border: 0;
}
#cb-event-form .cb-ad-heading {
    display: inline-block;
    width: 100%;
    padding-top: 60px;
    padding-right: 16px;
    padding-bottom: 15px;
    padding-left: 16px;
}
#cb-event-form .cb-ad-heading:first-of-type {
    padding-top: 20px;
}
#cb-event-form .cb-ad-heading h4 {
    margin-bottom: 0;
}
#cb-event-form  input[type="submit"] {
    border: none;
    cursor: pointer;
    border-radius: 100px;
    transition: 0.25s all ease-in-out;
    line-height: 50px;
    padding: 0 30px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
}
#cb-event-form .acf-form-submit {
    margin-right: 16px;
    margin-left: 16px;
    padding-top: 30px;
}
#cb-event-form .acf-notice:not(.acf-field .acf-input .acf-notice) {
	margin-right: 16px;
	margin-left: 16px;
}

/* pmpro */
.pmpro-billing .pmpro {
	.pmpro_card {
        margin-top: 0;
		padding-bottom: 36px;
    }
    .pmpro_section:has(.pmpro_form) .pmpro_card_content {
        padding-top: 0;
    }
	fieldset {
        padding-top: 36px;
		padding-bottom: 36px;
	}
	fieldset:last-of-type {
		padding-bottom: 0;
	}
    .pmpro_divider {
        display: none;
    }
}
.pmpro {
	.pmpro-required-message:not(section#pmpro_billing-1 .pmpro-required-message)	{
		padding-top: var(--pmpro--base--spacing--large);
    }
    fieldset.pmpro_form_fieldset {
        margin-bottom: 20px;
    }
	section#pmpro_billing-1 .pmpro-required-message p {
		margin-bottom: 10px;
	}
	.pmpro_checkout_gateway-stripe form.pmpro_form #pmpro_payment_information_fields div#AccountNumber,
	.pmpro_checkout_gateway-stripe form.pmpro_form #pmpro_payment_information_fields div#Expiry,
	.pmpro_checkout_gateway-stripe form.pmpro_form #pmpro_payment_information_fields div#CVV,
	.pmpro_billing_gateway-stripe form.pmpro_form #pmpro_payment_information_fields div#AccountNumber,
	.pmpro_billing_gateway-stripe form.pmpro_form #pmpro_payment_information_fields div#Expiry,
	.pmpro_billing_gateway-stripe form.pmpro_form #pmpro_payment_information_fields div#CVV {
        border: 1px solid #e3e3e3;
        border-radius: 0;
        color: #8d8d8d;
        box-shadow: none;
	}
    #pmpro_user_fields:first-of-type .pmpro_card_content {
        padding-top: 0;
    }
}
.pmpro_asterisk abbr,
.pmpro_asterisk abbr[title] {
    color: red;
}
#custom-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.4);
}
.modal-content {
	background-color: white;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 400px;
	text-align: center;
}
body .modal-content p {
	margin-bottom: 15px;
    line-height: 20px;
}
#modal-ok-btn,
#modal-cancel-btn {
	margin-top: 20px;
	background-color: #4CAF50;
	color: white;
	border: none;
	cursor: pointer;
    border-radius: 100px !important;
    line-height: 50px !important;
    padding: 0 30px !important;
    transition: 0.25s all ease-in-out;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
}
#modal-ok-btn:hover,
#modal-cancel-btn:hover {
	background-color: #45a049;
}

.pmpro_page_list_widget ul {
	margin-bottom: 20px;
}

/* responsive */
@media (max-width: 1025px) {
	p.cb-scores-attribution {
		text-align: center;
	}
}
@media (max-width: 800px) {
	#cb-ad-form #city,
	#cb-ad-form #state,
	#cb-ad-form #zip {
		width: 100% !important;
	}
}
@media (max-width: 700px) {
	.cb-weather .weather-block .weather-cell {
		display: inline-block;
		width: 50%;
		float: right;
	}
	.cb-weather:not(.cb-weather.forecast) .weather-block .weather-cell:not(.cb-weather .weather-block .weather-cell:first-child):not(.cb-weather .weather-block .weather-cell:nth-child(2)) {
		padding-top: 20px;
	}
	.cb-weather:not(.cb-weather.forecast) .weather-block .weather-cell:first-child {
		width: 50%;
		float: left;
		min-height: 146px;
		line-height: 130px;
	}
	.cb-weather .weather-block .weather-cell:nth-child(4),
	.cb-weather .weather-block .weather-cell:nth-child(5) {
		display: none;
	}
	.cb-weather.forecast .weather-block {
		display: block;
	}
	.cb-weather.forecast .weather-block .weather-cell {
		display: block;
		width: 33.3% !important;
		float: left;
	}
	.cb-weather.forecast .weather-block .weather-cell:not(.cb-weather.forecast .weather-block .weather-cell:nth-child(1)):not(.cb-weather.forecast .weather-block .weather-cell:nth-child(2)):not(.cb-weather.forecast .weather-block .weather-cell:nth-child(3)) {
		padding-top: 30px;
	}
	.cb-weather-attribution .text-left,
	.cb-weather-attribution .text-right {
        display: block;
        width: 100%;
        float: none;
        text-align: center;
	}
	#cb-ad-form #month,
	#cb-ad-form #year,
	#cb-ad-form #cvc {
		width: 100% !important;
	}	
	.tribe-events .tribe-events-header__events-bar {
		width: 100%;
	}
	.tribe-events .tribe-events-header__top-bar {
		width: 100%;
		margin-top: 15px;
        margin-bottom: 8px;
	}
}
@media (max-width: 537px) {
	.cb-weather.forecast .weather-block .weather-cell {
		width: 50% !important;
	}
	.cb-weather.forecast .weather-block .weather-cell:not(.cb-weather.forecast .weather-block .weather-cell:nth-child(1)):not(.cb-weather.forecast .weather-block .weather-cell:nth-child(2)) {
		padding-top: 30px;
	}
	.cb-weather-attribution {
		line-height: normal;
		text-align: center;
	}
}