/* Table of Contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- General
- Avoid IOS zooming
- Buttons
	- Turqoise
- Text Area
	- Black
- Tool Tips
- Beta Feedback button
*/

/* Breakpoints
––––––––––––––––––––––––––––––––––––––––––––––––––
0-374		2 columns
375-639		6 columns
640-1023	12 columns
1024-1439	12 columns
1440+		12 columns

*/

/* Wordpress Admin Bar Height-Change Breakpoints
––––––––––––––––––––––––––––––––––––––––––––––––––
0-782		46px tall
783-...		32px tall

*/

/* General
–––––––––––––––––––––––––––––––––––––––––––––––––– */
select:-moz-focusring {
	color: transparent;
	text-shadow: 0 0 0 #000;
}

/* Avoid iOS zooming -- iOS zooms into form elements
whenever the font-size is smaller than 16px
#search-results included to override the !important
styling done by BYU Themes CDN using specificity
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media ( max-width: 1023px ) {

	select,
	textarea,
	input,
	#search-results {
		font-size: 1rem;
	}
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
	font-family: var(--ibm-plex-sans-ssm);
	font-style: normal;
	font-weight: 500;
	border-radius: 0;
	border: none;
	max-width: 200px;
	margin: 0;
}

.button--bold {
	font-size: 1rem;
	font-weight: 500;
}

.button--full-width {
	width: 20rem;
}

/* Turqoise -- DEPRECATED */
.button.button__turquoise {
	background-color: #38a0b2;
	color: #fff;
}

.button.button__turquoise:hover {
	color: #ccc;
}

/* Teal */
.button.button--teal {
	background-color: #38a0b2;
	color: #fff;
}

.button.button--teal:hover {
	color: #ccc;
}

/* BYU Blue */
.button.button--navy {
	background-color: var(--pgsp-theme-color);
	color: #fff;
	border-radius: 4px;
}

.button.button--navy:hover {
	color: #ccc;
}

/* Grey */
.button.button--grey {
	background-color: #666;
	color: #fff;
}

.button.button--grey:hover {
	color: #ccc;
}

/* Black */
.button.button--black {
	background-color: #000;
	color: #fff;
}

.button.button--black:hover {
	color: #ccc;
}

/* facebook */
.button.button--facebook {
	background-color: #3b5998;
	color: #fff;
}

.button.button--facebook:hover {
	color: #ccc;
}

/* twitter */
.button.button--twitter {
	background-color: #4099ff;
	color: #fff;
}

.button.button--twitter:hover {
	color: #ccc;
}

.button.button--email {
	background-color: #1f1f1f;
	color: #fff;
}

.button.button--email:hover {
	color: #ccc;
}

/* Text Area
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.text-area {
	font-family: var(--ibm-plex-sans-ssm);
	font-style: normal;
	font-weight: 400;
	font-size: 1.36rem;
	color: #000;
	letter-spacing: 0;
	margin: 0;
}

/* Black */
.text-area.text-area__black {
	border-radius: 0;
}

input:-webkit-autofill.text-area.text-area__black {
	-webkit-box-shadow: 0 0 0 1000px #0d0d0d inset;
	-webkit-text-fill-color: #fff !important;
}

input {
	border: none;
	padding: 1px 1px 1px 3px;
}


/* Tags - positioning
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.tag__bottom-right__outside {
	position: absolute;
	bottom: 1.333333rem;
	right: -0.5rem;
}

.tag__top-right__outside {
	position: absolute;
	top: 1.333333rem;
	right: -0.5rem;
}

.tag__bottom-left__outside {
	position: absolute;
	bottom: 1.333333rem;
	left: -0.5rem;
}

.tag__top-left__outside {
	position: absolute;
	top: 1.333333rem;
	left: -0.5rem;
}

.tag__bottom-right__aligned {
	position: absolute;
	bottom: 1.333333rem;
	right: 0;
}

.tag__top-right__aligned {
	position: absolute;
	top: 1.333333rem;
	right: 0;
}

.tag__bottom-left__aligned {
	position: absolute;
	bottom: 1.333333rem;
	left: 0;
}

.tag__top-left__aligned {
	position: absolute;
	top: 1.333333rem;
	left: 0;
}

/* Tags - styling presets
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.tag__simple {
	font-family: var(--ibm-plex-sans-ssm);
	font-style: normal;
	font-weight: 600;
	font-size: 1.1rem;
	letter-spacing: 0.5px;
	padding: 0.33333rem 1rem;
}

.tag__title {
	font-family: var(--ibm-plex-sans-ssm);
	font-style: normal;
	font-weight: 500;
	font-size: 1.279166666rem;
	letter-spacing: -0.03rem;
	line-height: 1;
	padding: 0.75rem 1rem;
	text-transform: uppercase;

	text-align: center;
	width: 100%;
}

@media (min-width: 1024px) {

	.tag__title {
		font-family: var(--ibm-plex-sans-ssm);
		font-style: normal;
		font-weight: 500;
		font-size: 2.08333333rem;
		letter-spacing: -0.03rem;
		line-height: 1.12;
		padding: 1rem 1rem;
	}
}

/* Icons - Video
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.video-icon__parent:hover .generic-block__play-video-icon__teal {
	display: block;
}

.video-icon__parent:hover .generic-block__play-video-icon__white {
	display: none;
}

/* Select Boxes
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.standard-select-box {
	cursor: pointer;
	appearance: none;
	-moz-appearance: none; /* Firefox */
	-webkit-appearance: none; /* Safari and Chrome */
	width: 100%;
	border-radius: 0;
	background-color: transparent;
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	-o-transition: all 0.1s linear;
	transition: all 0.1s linear;
}

.standard-select-box:hover {
	border: 1px solid var(--pgsp-theme-color);
}

.speech-date-archive__options__selects-wrapper,
.speech-date-archive__event-type-selection__wrapper--large-width {
	width: 200px;
}

.standard-select-box__wrapper {
	width: 150px;
	font-size: 1.33333rem;
}

.drop_down__form {
	margin: 0;
}

.drop_down__label {
	display: none;
}

.standard-select-box__arrow-icon {
	width: 16px;
	height: 9px;
	background-image: url(../../src/images/icons/arrows/down-arrow--blue.svg);
	position: absolute;
	right: 10px;
	bottom: 12px;
}

.tool-tip__text {
	visibility: hidden;
	background-color: #e5e5e5;
	color: #000;
	text-align: center;
	padding: 5px 15px;
	line-height: initial;
	font-family: var(--ibm-plex-sans-ssm);
	font-style: normal;
	font-weight: 300;
	font-size: 1.25rem;
	text-transform: uppercase;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.33);

	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
	bottom: 125%;

	/* Fade in tooltip */
	opacity: 0;
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	-o-transition: all 0.1s linear;
	transition: all 0.1s linear;
	-webkit-transition-delay: 0s; /* Safari */
	transition-delay: 0s;
}

.tool-tip--white .tool-tip__text {
	background-color: #fff;
}

.tool-tip__text::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border: 5px solid;
	border-color: #e5e5e5 transparent transparent transparent;
}

.tool-tip--white .tool-tip__text::after {
	border-color: #fff transparent transparent transparent;
}

a.icon:hover > .tool-tip__text {
	visibility: visible;
	opacity: 1;

	-webkit-transition-delay: 0.5s; /* Safari */
	transition-delay: 0.5s;
}

/* Beta Feedback button
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#beta-feedback-button {
	font-family: var(--ibm-plex-sans-ssm);
	font-style: normal;
	font-weight: 500;
	position: absolute;
	color: #fff;
	background-color: #66b200;
	right: -52px;
	top: 180px;
	padding: 10px 10px 10px;
	display: block;
	z-index: 100;
	font-size: 1.1666666rem;
	height: 40px;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	line-height: 1.5;
	box-sizing: border-box;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}

#beta-feedback-button:hover {
	color: #ccc;
	-webkit-transition: color 0.2s 2s;
	transition: color 0.2s;
}

/* Extra Classes from Framework
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media (min-width: 640px) and (max-width: 799px) {

	.med-col-4-gutter-2 > .med-col-2 {
		width: calc(((100% + 0) / 4) * 2 + 0);
	}

	.med-no-padding.med-col-4-gutter-2 > .med-col-2 {
		width: calc(((100% + 0 - 3.33333333333rem) / 4) * 2 + 0);
	}

	.med-col-4-gutter-2 > .med-reverse-offset-right-col-0-gutter-1-inner-1 {
		margin-right: calc(-1 * (((100% + 0) / 4) * 1 - 1.66666666667rem));
	}

	.med-no-padding.med-col-4-gutter-2 > .med-reverse-offset-right-col-0-gutter-1-inner-1 {
		margin-right: calc(-1 * (((100% + 0 - 3.33333333333rem) / 4) * 1 - 1.66666666667rem));
	}

}

@media (min-width: 800px) and (max-width: 1023px) {

	.mlg-col-4-gutter-2 > .mlg-col-2 {
		width: calc(((100% + 0) / 4) * 2 + 0);
	}

	.mlg-no-padding.mlg-col-4-gutter-2 > .mlg-col-2 {
		width: calc(((100% + 0 - 3.33333333333rem) / 4) * 2 + 0);
	}

	.mlg-col-4-gutter-2 > .mlg-reverse-offset-right-col-0-gutter-1-inner-1 {
		margin-right: calc(-1 * (((100% + 0) / 4) * 1 - 1.66666666667rem));
	}

	.mlg-no-padding.mlg-col-4-gutter-2 > .mlg-reverse-offset-right-col-0-gutter-1-inner-1 {
		margin-right: calc(-1 * (((100% + 0 - 3.33333333333rem) / 4) * 1 - 1.66666666667rem));
	}

}

@media (min-width: 1024px) and (max-width: 1439px) {

	.lg-col-10 > .lg-col-3-gutter-0-inner-1 {
		width: calc(((100% + 3rem) / 10) * 4 - 3rem);
	}

	.lg-no-padding.lg-col-10 > .lg-col-3-gutter-0-inner-1 {
		width: calc(((100% + 3rem - 3rem) / 10) * 4 - 3rem);
	}

	.lg-col-10 > .lg-offset-left-col-0-gutter-2 {
		margin-left: calc(((100% + 3rem) / 10) * 0 + 3rem);
	}

	.lg-no-padding.lg-col-10 > .lg-offset-left-col-0-gutter-2 {
		margin-left: calc(((100% + 3rem - 3rem) / 10) * 0 + 3rem);
	}

	.lg-col-10 > .lg-reverse-offset-right-col-1 {
		margin-right: calc(-1 * (((100% + 3rem) / 10) * 1 + 0));
	}

	.lg-no-padding.lg-col-10 > .lg-reverse-offset-right-col-1 {
		margin-right: calc(-1 * (((100% + 3rem - 3rem) / 10) * 1 + 0));
	}

}

@media (min-width: 1440px) {

	.xlg-col-10 > .xlg-col-3-gutter-0-inner-1 {
		width: calc(((100% + 3rem) / 10) * 4 - 3rem);
	}

	.xlg-no-padding.xlg-col-10 > .xlg-col-3-gutter-0-inner-1 {
		width: calc(((100% + 3rem - 3rem) / 10) * 4 - 3rem);
	}

	.xlg-col-10 > .xlg-offset-left-col-0-gutter-2 {
		margin-left: calc(((100% + 3rem) / 10) * 0 + 3rem);
	}

	.xlg-no-padding.xlg-col-10 > .xlg-offset-left-col-0-gutter-2 {
		margin-left: calc(((100% + 3rem - 3rem) / 10) * 0 + 3rem);
	}

	.xlg-col-10 > .xlg-reverse-offset-right-col-1 {
		margin-right: calc(-1 * (((100% + 3rem) / 10) * 1 + 0));
	}

	.xlg-no-padding.xlg-col-10 > .xlg-reverse-offset-right-col-1 {
		margin-right: calc(-1 * (((100% + 3rem - 3rem) / 10) * 1 + 0));
	}

}
