/*
Theme Name: Mercury 1.0
Theme URI: https://ufl.edu/
Author: UFL 
Author URI: https://ufl.edu/
Description: A University of Florida Branded WordPress Theme.
Version: 5.2.3.1
Tested up to: 6.1.1
Requires PHP: 5.6
License URI: https://ufl.edu
Text Domain: ufl
Tags: featured-images, threaded-comments, translation-ready

Use this theme to make something cool, have fun, and share what you've learned with others.

*/


/* 
All style editing is done via scss/_bscore_custom.scss
*/
:root{--core-orange: #FA4616;
--core-blue: #0021A5;

--bottlebrush: #D32737;
--alachua: #F2A900;
--gator: #22884C;
--dark-blue: #002657;
--perennial: #6A2A60;

--white: #fff;
--cool-gray-11: #343741;
--cool-gray-3: #C7C9C8;
--warm-grey-1: #D8D4D7;
--black: #000;

--social-media-icons-background: #3350a5;
--social-media-icons-background-hover: #ffffff;
--social-media-icons-hover: #0021a5;
--header-gradient-1: #0021a5;
--header-gradient-2: #011877;
--header-gradient-3: #00d4ff;}
/* Main Search Styles */
img.search-icon{
    max-width: 28px;
}
.desk-only-search{
	margin-right: 5%;
	padding-right: 8.8%;
	padding-top: 3px;
	max-width: 7%;
    height: 43px;
    border-right: 1px var(--core-orange) solid;
}
.desk-only-search.search-no-menus {
    border-right:0px;
}
.mobile-only-search{
	margin-right: 45px;
}
.search-button {
	background: none;
    border: none;
    color: white;
	padding: 3px;
    cursor: pointer;
}
@media(min-width: 1410px){
  .search-button {
      padding: 6px 3px;
  }
}
.search-modal {
	display:none;
}
.search-modal {
    padding: 70px 0;
    top: 0;
    background: white;
    position: absolute;
    z-index: 9999999999;
	width:100%;
}
body.search-has-run.search-open{
    overflow-y: hidden;
}
.search-has-run.search-open .search-modal{
    overflow-y: scroll;
    max-height: 100vh;
}
.search-open .alert{
    display: none;
}
.search-modal form.gsc-search-box {
	max-width: 935px;
    margin: 0 auto;
    border-bottom: 2px solid #9d6851;
    padding: 0 0 15px 0;
}
.search-modal .gsc-input-box#gsc-iw-id1 {
	border:none;
}
.search-modal .gsc-input-box#gsc-iw-id1::input {
	font-size: 26px;
    line-height: 48px;
    color: #0021A5;
    font-weight: 400;
}
.search-modal .gsc-input:focus {
	box-shadow:none;
	border:none;
}
.search-modal #gsc-i-id1,
.search-modal #gsc-i-id1::placeholder {
	background:none !important;
	border:none;
	width: 100%;
    font-family: 'gentonamedium', Arial, sans-serif;
	font-size: 26px;
    line-height: 48px;
    color: #0021A5;
    font-weight: 400;
}
.search-modal .gsc-search-button-v2,
.search-modal .gsc-search-button-v2:hover,
.search-modal .gsc-search-button-v2:focus {
	background: white;
    border: none;
    padding: 0;
}
.search-modal .gscb_a {
	display:none;
}
.search-modal .close-search {
    position: absolute;
    right: 115px;
    top: 45px;
    height: 42px;
    width: 42px;
    font-size: 60px;
    padding: 5px;
    line-height: 60px;
    z-index: 100;
    text-align: center;
	cursor: pointer;
	background:none;
	border:none;
}
.search-modal .close-search img.search-icon {
    top: -15px;
    position: relative;
}
.search-modal .close-search .dashicons {
	height: 40px;
    width: 40px;
}
.search-modal .close-search .dashicons-no-alt:before {
    font-size: 40px;
    color: var(--core-blue);
}
.search-modal .gsc-results-wrapper-nooverlay.gsc-results-wrapper-visible {
    max-width: 85vw;
    margin: 0 auto;
}
.search-modal .gsc-expansionArea,
.search-modal .gcsc-more-maybe-branding-root {
	font-family: 'gentonabook', sans-serif;
}
.search-modal .gs-title,
.search-modal .gcsc-more-maybe-branding-root a {
	padding:0;
}
.search-modal .gsc-results .gsc-cursor-box .gsc-cursor-page {
    color: #333;
}

.search-modal div.gsc-results .gsc-cursor-box .gsc-cursor-page {
    display: inline-block;
    color: white;
    background: var(--core-blue);
    border: 2px solid var(--core-blue);
    width: 28px;
	line-height: 28px;
    text-align: center;
    font-weight: bold;
    font-family: 'gentonamedium', sans-serif;
    font-size: 16px;
	margin: 2px;    
}

.search-modal div.gsc-results .gsc-cursor-box .gsc-cursor-page.gsc-cursor-current-page {
    background:white;
    color: var(--core-blue); 
   	border: 2px solid var(--core-blue);
}
.search-modal div.gs-webResult div.gs-visibleUrl,
.search-modal div.gs-promotion .gs-visibleUrl,
.search-modal div.gs-webResult .gs-visibleUrl {
	color: var(--core-orange);
}
@media (max-width: 768px) {
	.site-logo img {
		width: 230px;
		height: auto;
		margin-top: 3px;
	}
	.footer-logo img {
		width: 350px;
	}
	.social-media-icon {
		margin: 0 5px;
	}
	.search-modal .close-search {
		position: absolute;
		right: 10px;
		top: 10px;
	}
	.search-modal .gsc-search-button-v2 img {
		height:24px;
		width:24px;
	}
	.search-modal form.gsc-search-box {
		padding:0;
	}
}
table.gssb_c{
	z-index: 9999999999;
}
#search-modal[style*="display: block"] + .alert-section {
    display: none;
}

/****** Form CSS March 2023 ************/
#main-content.form-ufl hr {
    border-top: 2px solid #FA4616;
    opacity: 1;
}

#main-content.form-ufl h3 {
    color: #0021A5;
    font-family: "gentonasemibold";
    margin-top: 100px;
}

#main-content.form-ufl legend, #main-content.form-ufl label {
    font-size: 1.25rem;
    font-family: "gentonamedium";
}

#main-content.form-ufl input[type="radio"], #main-content.form-ufl input[type="checkbox"] {
    margin: 15px 0;
}

#main-content.form-ufl input[type="radio"] + label, #main-content.form-ufl input[type="checkbox"] + label {
    font-size: 1.25rem;
    font-family: "gentonalight";
}

/* The container */
.btncontainer {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btncontainer.radioRow {
    display: inline-block;
    margin: 10px 15px;
}

/* Hide the browser's default radio button */
.btncontainer input {
    opacity: 0;
    cursor: pointer;
    position: absolute;
    top: 5px;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px solid #FA4616;
}

.btncontainer input:focus {
    opacity: 100%;
    cursor: pointer;
    position: absolute;
    top: -12px;
    left: -2px;
    height: 25px;
    width: 25px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px solid #FA4616;
}

/* Create a custom radio button */
#main-content.form-ufl .checkmark {
    position: absolute;
    top: 5px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px solid #FA4616;
}

#main-content.form-ufl .checkmark.square {
    border-radius: 0;
}

/* On mouse-over, add a grey background color */
#main-content.form-ufl .btncontainer:hover input ~ .checkmark {
    background-color: #FA4616;
}

#main-content.form-ufl .btncontainer:focus input ~ .checkmark {
    background-color: #FA4616;
}

/* When the radio button is checked, add a blue background */
.btncontainer input:checked ~ .checkmark {
    background-color: #FA4616;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.btncontainer input:checked ~ .checkmark:after {
    display: block;
}

#main-content.form-ufl input[type=text], #main-content.form-ufl input[type=tel], #main-content.form-ufl input[type=time], #main-content.form-ufl input[type=email], #main-content.form-ufl input[type=number], #main-content.form-ufl select, #main-content.form-ufl select + button {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
    height: 68px;
    margin-bottom: 30px;
    background-color: #F4F6F6;
    font-family: "gentonalight";
}

#main-content.form-ufl input[type=number]{
    padding: 12px 11px;
    text-align: center;
}

#main-content.form-ufl select{
    padding: 12px 9px;
}

#main-content.form-ufl .gsection{
    border-color: #FA4616;
    border-width: 2px;
    opacity: 1;
}

#main-content.form-ufl input[type=date] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
    height: 68px;
    margin-bottom: 30px;
    background-color: #F4F6F6;
    text-transform: uppercase;
    font-family: "gentonalight";
}

.mgBtm-40 {
    margin-bottom: 40px;
}

.mgBtm {
    margin-bottom: 60px;
}

/* The container must be positioned relative: */
#main-content.form-ufl .custom-select {
    position: relative;
    font-family: "gentonalight";
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
    height: 68px;
    margin-bottom: 30px;
    background-color: #F4F6F6;
}

#main-content.form-ufl .custom-select select {
    display: none;
    /*hide original SELECT element: */
}

#main-content.form-ufl .select-selected {
    background-color: #F4F6F6;
    color: #313535;
}

#main-content.form-ufl .select-selected:after {
    position: absolute;
    content: "\f077";
    font: normal normal normal 25px/1 FontAwesome;
    right: 20px;
    color: #0021A5;
    bottom: 0;
    height: 25px;
    width: 25px;
    background: transparent;
    z-index: 1;
    transform: rotate(180deg);
    top: 20px;
}

/* Point the arrow upwards when the select box is open (active): */
#main-content.form-ufl .select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 18px;
    transform: rotate(180deg);
}

/* style the items (options), including the selected item: */
#main-content.form-ufl .select-items div, .select-selected {
    color: #0021A5;
    padding: 8px 16px;
    border: transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    height: 100%;
    font-size: 18px;
    line-height: 28px;
    font-family: "gentonabook";
}

/* Style items (options): */
#main-content.form-ufl .select-items {
    position: absolute;
    background-color: #F4F6F6;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #ccc;
    border-top-style: none;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    font-size: 18px;
    line-height: 28px;
    font-family: "gentonabook";
    max-height: 300px;
    overflow: scroll;
}

/* Hide the items when the select box is closed: */
#main-content.form-ufl .select-hide {
    display: none;
}

#main-content.form-ufl .select-items div:hover, .same-as-selected {
    text-decoration: underline;
    text-decoration-color: #FA4616;
    text-underline-offset: 4px;
}

#main-content.form-ufl textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
    height: 68px;
    margin-bottom: 30px;
    background-color: #F4F6F6;
    height: 200px;
    font-family: 'gentonalight';
}

#main-content.form-ufl input[type="date"] {
    background: #F4F6F6 url(../img/calendar-blue.png) 5% 50% no-repeat ;
    float: left;
    padding: 0px 50px;
}

#main-content.form-ufl [type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 500px;
    height: auto;
    color: transparent;
    background: transparent;
}

#main-content.form-ufl [type="time"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
}

#main-content.form-ufl label.upload {
    border: #fa4616 2px dotted;
    border-radius: 100px;
    text-align: center;
    display: inline-block;
    padding: 15px 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    text-decoration: none;
    margin-bottom: 25px;
    width: 200px;
    font-family: 'gentonamedium';
    color: #0021A5;
}

#main-content.form-ufl label.upload:hover {
    background-color: #F4F6F6;
}

#main-content.form-ufl input::file-selector-button {
    border: #fa4616 2px dotted;
    border-radius: 100px;
    text-align: center;
    display: inline-block;
    padding: 15px 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    text-decoration: none;
    margin-bottom: 10px;
    width: 200px;
    font-family: 'gentonamedium';
    color: #0021A5;
    background-color: #ffffff;
    font-size: 1.25rem;
}

#main-content.form-ufl input::file-selector-button:hover {
    background-color: #F4F6F6;
}

span.uploadTxt {
    margin: 0 15px;
}

p.txtBld, span.txtBld, legend.txtBld {
    font-family: 'gentonamedium';
}

#main-content.form-ufl [type="radio"]:checked + label {
    font-family: 'gentonamedium';
}

#main-content.form-ufl [type="radio"]:checked, #main-content.form-ufl [type="radio"]:not(:checked) {
    width: 0;
}

#main-content.form-ufl [type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
}

#main-content.form-ufl [type="radio"]:checked + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    font-family: 'gentonamedium';
}

#main-content.form-ufl [type="radio"]:checked + label:before, #main-content.form-ufl [type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px solid #FA4616;
}

#main-content.form-ufl [type="radio"]:checked + label:after, #main-content.form-ufl [type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background-color: #FA4616;
}

#main-content.form-ufl input[type="radio"]:not(:checked):focus + label:before {
    content: "";
    display: inline-block;
    height: 20px;
    width: 20px;
    margin-right: 5px;
    /*background: #FA4616 center center no-repeat;*/
    border: 2px solid #FA4616;
    border-radius: 100%;
    box-shadow: 0 0 1px #cccccc;
    vertical-align: text-top;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

#main-content.form-ufl input[type="checkbox"]:not(:checked):focus + label:before {
    content: "";
    display: inline-block;
    height: 18px;
    width: 18px;
    margin-right: 5px;
    /*  background: #FA4616 center center no-repeat;*/
    border: 2px solid #FA4616;
    border-radius: 0;
    box-shadow: 0 0 1px #cccccc;
    vertical-align: text-top;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

#main-content.form-ufl [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

#main-content.form-ufl [type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

span.hozRadio {
    margin: 0 10px;
}

#main-content.form-ufl [type="checkbox"]:checked + label {
    font-family: 'gentonamedium';
}

#main-content.form-ufl [type="checkbox"]:checked, #main-content.form-ufl [type="checkbox"]:not(:checked) {
     width: 0;
}

#main-content.form-ufl [type="checkbox"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
}

#main-content.form-ufl [type="checkbox"]:checked + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #000000;
    font-family: 'gentonamedium';
}

#main-content.form-ufl [type="checkbox"]:checked + label:before, #main-content.form-ufl [type="checkbox"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #ffffff;
    border-radius: 0;
    border: 2px solid #FA4616;
}

#main-content.form-ufl [type="checkbox"]:checked + label:after, #main-content.form-ufl [type="checkbox"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 0;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background-color: #FA4616;
}

#main-content.form-ufl [type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

#main-content.form-ufl [type="checkbox"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

#main-content.form-ufl input[type="time"]::-webkit-calendar-picker-indicator {
    display: none;
}

#main-content.form-ufl input[type=submit] {
    background-color: #ffffff;
}

@media screen and (max-width: 481px) {
    #main-content.form-ufl input::-webkit-date-and-time-value {
        width: 100%;
        padding: 12px 20px;
        margin: 8px 0;
        display: block;
        border: none;
        border-radius: 0px;
        box-sizing: border-box;
        height: 68px;
        margin-bottom: 30px;
        background-color: #F4F6F6;
        color: #000000;
        font-family: 'gentonalight';
        font-size: 16px;
    }

    #main-content.form-ufl input[type=date] {
        height: 78px;
    }

    #main-content.form-ufl input[type=time] {
        width: 100%;
        padding: 0px 20px;
        margin: 8px 0;
        display: block;
        border: 1px solid #ccc;
        border-radius: 12px;
        box-sizing: border-box;
        height: 78px;
        margin-bottom: 30px;
        background-color: #F4F6F6;
        width: 300px;
        max-width: 100%;
        color: #000000;
        font-family: 'gentonalight';
    }

    #main-content.form-ufl input[type=date] {
        color: #000000;
        font-family: 'gentonalight';
    }
}

/* Further Form Customization */
ul{
    list-style: none;
  }
  input[type="file"], .gform_wrapper.gravity-theme .gfield_description{
      font-family: "gentonabook";
  }
  input[type="submit"]{
    background-repeat: no-repeat;
    background-size: calc(87% - 0px) 1px, 0px calc(100% - 0px);
    background-position: calc(100%) 0px, calc(100% - 0px) 0px, 0px calc(100% - 0px), 0px 0px;
    background-image: linear-gradient(0deg, #FA4616, #FA4616), linear-gradient(0deg, #FA4616, #FA4616), linear-gradient(0deg, #FA4616, #FA4616), linear-gradient(0deg, #FA4616, #FA4616);
  }
  input[type="submit"]:hover{
    background-size: calc(100% - 0px) 1px, 0px calc(100% - 0px);
  }
  .hour_minute_colon{
      display: none;
  }
  .gform_wrapper.gravity-theme .ginput_container_time:first-child{
      margin-right: 15px;
  }
  #main-content.form-ufl .gfield_required{
      color: #fa4616
  }
  #main-content.form-ufl .field_sublabel_below input + label, #main-content.form-ufl .field_sublabel_below select + label, #main-content.form-ufl .field_sublabel_below select + button + label, #main-content.form-ufl .field_sublabel_below .bootstrap-select + label {
      margin-top: -30px;
      margin-bottom: 30px;
  }
  #main-content.form-ufl .gfield--type-checkbox.field_sublabel_below input + label, #main-content.form-ufl .gfield--type-radio.field_sublabel_below input + label{
      margin: 0;
  }
  #main-content.form-ufl div.bootstrap-select{
      width: 100%
  }
  #main-content.form-ufl .bootstrap-select button,#main-content.form-ufl .bootstrap-select button .filter-option{
      display: flex;
      align-items: center;
  }
  #main-content.form-ufl input[value=gf_other_choice]:not(:checked) ~ input[value=Other]{
      display: none;
  }
  /* style the items (options), including the selected item: */
  #main-content.form-ufl .bootstrap-select li a, a.selected {
      color: #0021A5;
      padding: 8px 16px;
      border: transparent;
      border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
      cursor: pointer;
      /* height: 100%; */
      font-size: 18px;
      line-height: 28px;
      font-family: "gentonabook";
  }
  /* Style items (options): */
  #main-content.form-ufl .bootstrap-select .dropdown-menu {
      background-color: #F4F6F6;
      z-index: 99;
      border-top-style: none;
      font-size: 18px;
      line-height: 28px;
      top: -20px !important;
      font-family: "gentonabook";
  }
  #main-content.form-ufl .gfield_time_ampm .bootstrap-select button{
      padding: 12px;
  }
  #main-content.form-ufl .bootstrap-select li a:hover, #main-content.form-ufl .bootstrap-select .active .dropdown-item {
      background-color: inherit;
  }
  #main-content.form-ufl .bootstrap-select li a:hover span, #main-content.form-ufl .bootstrap-select .active span, #main-content.form-ufl .bootstrap-select li a:focus span {
      text-decoration: underline;
      text-decoration-color: #FA4616;
      text-underline-offset: 4px;
  }
  #main-content.form-ufl .bootstrap-select .filter-option-inner-inner{
      font-size: 18px;
      font-family: 'gentonabook';
      color: #313535;
  }

  /* Even more Form customizations (to distinguish between WordPress Template and Forms.webservices*/

#content #main-content.form-ufl .bootstrap-select ul {
    padding-left: 0px;
    list-style: none;
}

#content #main-content.form-ufl .bootstrap-select ul li{
    padding-left: 0px;
}

input[type=submit]{
    touch-action: manipulation;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

input[type=submit] {
    border-left-width: 1px;
    border-right-width: 1px;
    border-top-width: 0;
    border-bottom-width: 0;
    border-style: solid;
    padding: 15px 43px;
    position: relative;
    font-size: 26px;
    font-family: "gentonasemibold", Arial, sans-serif;
    text-align: center;
    user-select: none;
    vertical-align: middle;
    white-space: normal;
    display: inline-flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    align-content: center;
}

@media (max-width: 767px) {
    input[type=submit] {
        font-size: 20px;
        padding: 16px !important;
        min-height: 70px;
        min-width: 300px;
    }
}

input[type=submit]:hover::before, input[type=submit]:focus::before {
    width: 100%;
}

input[type=submit]:hover::after, input[type=submit]:focus::after {
    width: 100%;
}

input[type=submit] {
    border-color: #fa4616;
}

input[type=submit] {
    color: #343741;
}

input[type=submit]:hover, input[type=submit]:focus {
    color: #343741;
    background-color: #f4f6f6 !important;
    box-shadow: none;
}