/*
Theme Name: BRITE Bus Transit Service
Description: A custom Child Theme created by <a href="http://www.estlanddesign.com">Estland Design</a> in Harrisonburg.
Version: 1.0
Author: Estland
Author URI: http://estlanddesign.com
Template: enfold
*/


/******************************
Table of Contents =TOC
/******************************

Color Guide
Font Imports
Header
Alert Bar
Alert Bar Dropdown
Footer
Special Pages
Route Tables
Forms
Global Styles
Mobile Styles

*/

/******************************
=Color Guide

******************************/

@import url('https://fonts.googleapis.com/css?family=Muli:200,300,400,600');

.helvetica-neue-websave {
    font-family: 'Muli', sans-serif;
}

.main_color p,
.entry-content-wrapper ul li {font-size: 14px;}

/******************************
=Header
******************************/
/*Top Bar*/

* {box-sizing: border-box;}

/******************************
=Alert Bar
******************************/
.close-container {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 64px;
    width: 64px;
    background: #F7BC4B;
    text-align: center;
}
#close-alertbar {
    padding: 5px 9px;
    border: 1px solid #fff;
    border-radius: 50%;
    line-height: 64px;
    color: #fff;
}

#close-alertbar:hover {
    color: #fff;
    background: rgba(255,255,255,0.2);
    text-decoration: none !important;
}

/*.html_header_top.html_header_topbar_active.html_header_sticky.html_large #top #main{
    padding-top: 116px;
}

.html_header_top.html_header_topbar_active.html_header_sticky.html_large #top.have_alerts #main{
    padding-top: 182px;
}*/

#scroll-alertbar {
    background: linear-gradient(90deg, #EF4E22, #ff9f19, #F7BC4B);
    min-height: 64px;
    display: none;
}

#scroll-alertbar:hover{
    cursor: pointer;
    background: #ff9f19;
}

#scroll-alertbar h3.scrolling-text{
    display: inline-block;
    padding: 0 2rem;
    font-size: 2rem;
    color: #fff;
}

/* alert image too big */
#scroll-alertbar .scrolling-text img{
    width: 40px;
    height: 40px;
    top: 8px;
    margin-right: 10px;
    margin-left: 30px;
    position: relative;
}

#scroll-alertbar .border{
    display: block;
    position: relative;
    z-index: 102;
    width: 100%;
    background-color: #fed086;
    height: 5px;
    bottom: -63px;
}

#scroll-alertbar .border .toggle-arrow{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fed085;
    border-top: 0;
    display: block;
    position: absolute;
    top: -10px;
    left: 50%;
    transition: all 0.2s ease;
}

#scroll-alertbar .border .toggle-arrow.down{
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fed085;
    border-bottom: 0;
    top: 5px;
}

/******************************
=Alert Bar Dropdown
******************************/

#alerts-dropdown{
    box-shadow: 0px 5px 15px 0px #e5e5e5;
    display: block;
    position: absolute;
    z-index: 101;
    width: 100%;
    height: auto;
    background-color: white;
    top: 64px;
    padding: 0 50px;
    display: none;
}

#alerts-dropdown .alert-icon img{
    height: 40px;
    width: 40px;
}

#alerts-dropdown .single-alert {
    display: table-row;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 30px 0 20px 0;
    border-bottom: 1px solid #d3d4d5;
}

#alerts-dropdown .alert-icon {
    margin-top: 36px;
}

#alerts-dropdown .single-alert .alert-text {
    display: table-cell;
    width: 93%;
    vertical-align: middle;
    padding: 30px 0 20px 0;
    border-bottom: 1px solid;
}

#alerts-dropdown .single-alert:last-child .alert-text {border-bottom: 0;}

#alerts-dropdown .single-alert h3 {color: #898c8d;}

#alerts-dropdown .single-alert p {color: #898c8d;}


/* main menu needs to overlap scroll bar */
.main_menu{
    z-index: 103;
}

/* hide header meta (usually used for phone number, etc) */
#header_meta{
    display: none;
}

#top #s {
	background: #E5E5E5;
	color: #747674 !important;
}

#top #searchsubmit {
	background: #F7941D;
}


.header-scrolled span.logo img {
    padding: 2px;
}

.header_color .logo img {
    padding: 15px;
}

#top .av-main-nav ul ul {
    left: 207px;
}

.av-main-nav ul li a {
    border-right: 0px;
    border-left: 0px;
}

.av-main-nav ul li:last-child > a {
    border-bottom: 0px;
}

#top .av-main-nav ul.sub-menu a:hover {
	color: #fff !important;
}

#top .av-main-nav ul.sub-menu li a {
	border-top: 1px solid #F2F2F2;
}

#top .av-main-nav ul.sub-menu li:first-child a {
    border-top: 0px;
}

.header_color input[type='submit'] {
    background: #e5e5e5;
}

.header_color input[type='submit']:hover {
    color: #FF9F19;
}

#top .header_color input[type='text'] {
    color: #ffffff !important;
}

.header_color .ajax_search_image {
    background-color: #e5e5e5;
}

#top .header_color .input-text::-webkit-input-placeholder, 
#top .header_color input[type="text"]::-webkit-input-placeholder, 
#top .header_color  textarea::-webkit-input-placeholder, 
#top .header_color  select::-webkit-input-placeholder  {color: #ffffff;}

#top .header_color  .input-text:-moz-placeholder, 
#top .header_color  input[type="text"]:-moz-placeholder, 
#top .header_color  textarea:-moz-placeholder, 
#top .header_color  select:-moz-placeholder  {color: #ffffff;}

#top .header_color  .input-text::-moz-placeholder, 
#top .header_color  input[type="text"]::-moz-placeholder, 
#top .header_color  textarea::-moz-placeholder, 
#top .header_color  select::-moz-placeholder  {color: #ffffff;}

#top .header_color .input-text:-ms-input-placeholder, 
#top .header_color  input[type="text"]:-ms-input-placeholder, 
#top .header_color  textarea:-ms-input-placeholder, 
#top .header_color  select:-ms-input-placeholder {color: #ffffff;}

/*Scroll to top link*/

#top #scroll-top-link {
    border: 1px solid #f7941d;
    background: rgba(247,148,29,0.7);
    color: #ffffff;
    opacity: 1 !important;
}

#top #scroll-top-link:hover {
    background: rgba(247,148,29,1);
}

/*Fixed Hanging Tabs*/
#side-tabs {
	display: block;
    position: fixed;
    z-index: 9999;
    width: 400px;
    height: 56px;
    bottom: 37%;
    left: -175px;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: 50%  51%;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

#side-tabs a{
    opacity: 1;
    margin: 0;
    padding: 20px;
    /*position: fixed;*/
    z-index: 9999;
    display: block;
    color: #fff;
    font-size: 18px;
    font-family: 'Muli';
    font-weight: bold;
    text-align: center;
   /* -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: 50%  51%;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);*/
}

.home #side-tabs {display: none;}

#side-tabs a.contact:hover, #side-tabs a.fares:hover, #side-tabs a.maps:hover{
    text-decoration: none;
    opacity: 0.9;
}

#side-tabs a.contact {
    /*background: #F6B433;*/
    background: #24282B;
 /*   left: -36px;
    bottom: 10%;*/
    height: 56px;
    /*width: 115px;*/
    width: 30%;
    display: inline-block;
}


#side-tabs a.fares {
    background: #707271;
    /*left: -36px;
    bottom: 19.5%;*/
    height: 56px;
    /*width: 115px;*/
    width: 28%;
    display: inline-block;
}

#side-tabs a.maps {
    /*background: #f7941d;*/
    background: #CC4116;
    /*left: -48px;
    bottom: 30%;*/
    height: 56px;
    /*width: 140px;*/
    width: 40%;
    display: inline-block;
}

/******************************
=Bus Routes & Other Transit Links Menus
******************************/

.widget_nav_menu .current-menu-item>a, .widget_nav_menu .current_page_item>a {
	/*background: #FF9F19;*/
	background: #CC4116;
	color: #fff;
	padding-left: 10px !important;
}

.widget_nav_menu .current-menu-item>a, .widget_nav_menu .current_page_item>a:hover {
	/*background: #FF9F19 !important;*/
	background: #CC4116 !important;
	color: #fff !important;
}

#top .content .flex_column .widget_nav_menu li a {
	padding-left: 10px;
}

#top .content .flex_column .widget_nav_menu li a:hover {
    /*background: #ff9f19;*/
    background: #CC4116;
    color: #fff;
}

#top .content .flex_column .widget_nav_menu h3 {
    color: #898c8d;
}

#top .content .flex_column #nav_menu-2 {
    padding-bottom: 5px !important;
}

#top .content .flex_column #nav_menu-5 {
    padding-top: 5px !important;
}

/******************************
=Above Footer Menu
******************************/

div.custom-above-footer {
	/*background-color: #f7941d;*/
	background-color: #cc4016;
}

div.custom-above-footer ul {text-align: center;margin: 0;}

div.custom-above-footer ul li {
    display: inline-block;
    border-right: 1px solid #f5b567;
    position: relative;
    margin: 20px 0;
}

div.custom-above-footer ul li:last-child {border:0;}

div.custom-above-footer ul li a {
    display: block;
    position: relative;
    padding: 20px;
    font-size: 33px;
    color: #ffffff;
    font-family: 'Muli';
    font-weight: lighter;
}

div.custom-above-footer ul li a:hover {
    color: #f5c65d !important;
}

div.custom-above-footer ul li a span,
div.custom-above-footer ul li a:hover {
    text-decoration: none;
    color: white;
}

/******************************
=Footer
******************************/
div#footer.container_wrap.footer_color {
    border: 0px;
}

#footer {
    text-align: center;
    padding: 10px 0px 20px 0px;
}

#footer #custom_html-2 span {
    font-weight: bold;
    font-size: 22px;
}

#top #wrap_all #footer .social_bookmarks {
    text-align: center;
    position: relative;
    top: 0;
    height: 55px;
    right: 0;
}

#top #wrap_all .social_bookmarks {
    display: block;
    position: absolute;
    right: 50px;
    top: 20px;
}

#top #footer .social_bookmarks li {
    display: inline-block;
    float: none;
    clear: none;
    width: 50px;
}

#top #footer .social_bookmarks li:hover a {
	background: #888a8c;
}

#top .social_bookmarks li {
    border: 0;
    margin: 0px 5px;
}

#top #wrap_all #footer .social_bookmarks a {
    color: #ffffff;
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 48px;
}

#top #wrap_all .social_bookmarks a {
    background-color: #24282B;
    border-radius: 50%;
}

#top #wrap_all .social_bookmarks a:hover {
    background: #888a8c;
}

/*socket*/

#top #main #socket {
    text-align: center;
    border: 0px !important;
}

#top #main #socket .copyright {
    float: none;
}


/******************************
=Home Page
******************************/

/*Bus Routes Below Slider*/
.main_color.routes-maps-schedule{
    border-top: 15px solid #ffc66e;
    padding: 5% 0%;
}

#top #main .routes-maps-schedule .select-your-route {
    width: 100%;
    text-align: center;
    margin: 150px 0px 100px;
}

#top #main .routes-maps-schedule .select-your-route p {
    margin: 0px;
}

#top #main .routes-maps-schedule .dropbtn {
    /*background-color: rgba(247,148,29,0.9);*/
    background-color: rgba(204,64,22,0.9);
    color: white;
    padding: 20px 30px 30px;
    font-family: 'Muli';
    font-size: 26px;
    border: none;
    z-index: 999;
}
#top #main .routes-maps-schedule .dropbtn img {margin-left: 10px;}
#top #main .routes-maps-schedule .dropbtn img:first-child {
    margin-bottom: -20px;
    margin-right: 10px;
    margin-left: 0;
}

#top #main .routes-maps-schedule .dropbtn span {
    padding: 15px;
}

#top #main .routes-maps-schedule .dropdown {
    position: relative;
    display: inline-block;
}

#top #main .routes-maps-schedule .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
}

#top #main .routes-maps-schedule .dropdown-content br {
    display: none !important;
}

#top #main .routes-maps-schedule .dropdown-content a {
    color: #f7941d;
    padding: 15px;
    font-family: 'Muli';
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    border-top: 1px solid #f2f2f2;
}

#top #main .routes-maps-schedule .dropdown-content a:first-child {
	border-top: 0px;
}

#top #main .routes-maps-schedule .dropdown-content a:hover {
	background-color: #ffc66e;
	color: #fff;
}

#top #main .routes-maps-schedule .dropdown:hover .dropdown-content {
    display: block;
}

#top #main .routes-maps-schedule .dropdown:hover .dropbtn {
    /*background-color: #f7941d;*/
    background-color: #cc4016;
}

#top .main_color.routes-maps-schedule .no_margin.av_one_half {
    width: 40%;
    border-top: 8px solid #f7941d;
}

#top #main .routes-maps-schedule .home-trip-planner {
    margin-left: 9%;
    margin-right: 1%;
}

#top #main .routes-maps-schedule .home-trip-planner a:hover {
    color: #fff !important;
}

#top #main .routes-maps-schedule .home-ada-service a:hover {
    color: #fff !important;
}

.main_color.routes-maps-schedule h2 {
    font-size: 60px;
    font-weight: lighter;
}

.main_color.routes-maps-schedule .head p {
    font-size: 44px;
    color: white;
    font-weight: bold;
}

#top .main_color .avia-button.avia-color-light {
    color: #fff;
    border: 3px solid #ff9e1a;
    background: transparent;
    border-radius: 0;
}

#top .main_color .avia-button.avia-color-light:hover {
    opacity: 1;
    background-color: rgba(252, 252, 252, 0.25);
}

#top .main_color.routes-maps-schedule .avia-button.avia-color-light {
    font-size: 30px;
    padding: 15px;
    width: 50%;
    margin: 30px 0;
    font-weight: bold;
}
#top .main_color .afton-button a {
    border-radius: 0px;
    border: 0px;
    background: #36747a;
    color: #fff !important;
    transition: all 300ms ease-in-out;
    opacity: 1;
    font-family: 'Muli';
    font-size: 18px;
    font-weight: bold;
}
#top .main_color .afton-button a span {color: #fff;}
#top .main_color .afton-button a:hover {
    background: #276069;
}
/*First Time Rider Slider*/

#top #main #layerslider_2 {
    border-top: 15px solid #ffc66e;
}

#top #main #layerslider_2 p {
	text-shadow: 0px 5px 5px rgba(18, 28, 30, 0.15);
	font-family: 'Muli', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #fff;
	font-weight: 300;
	font-size: 36px;
}

#top #main #layerslider_2 a {
	color: #f7941d;
}

/*News & Events*/

#top #main .news-section h2 {
    font-size: 60px;
    font-weight: lighter;
}

#top #main .news-section {
    padding: 75px 0px;
}

#top #main .news-section .avia-content-slider .slide-entry-title {
    font-size: 1.1em !important;
}

/*Partners*/

#top #main #layerslider_3 h2 {
    color: #898c8d;
    text-align: center;
    font-size: 60px;
    font-weight: lighter;
}
/******************************
=All Bus Route Tables
******************************/

#top #main .bus-route-table h6 {
	text-align: center;
	color: #fff;
	/*background: #F7941D;*/
	background: #cc4016;
	padding: 15px;
}
#top #main .bus-route-table.afton-express h6 {background: #161240;}
#top #main .bus-route-table p {
	text-align: center;
    background: #b83b09;
    margin: 0;
    padding: 5px;
    color: white;
    font-weight: bold;
}
#top #main .bus-route-table.afton-express p {
    text-align: left;
    background: transparent;
    margin: 0;
    padding: 5px;
    color: #000;
    font-weight: bold;
}

#top .main_color .bus-route-table table.avia-table {
	margin: 0px;
}

#top .main_color .bus-route-table table.avia-table td {
	border: 1px solid #f7941d !important;
	padding: 5px;
    vertical-align: middle;
}
#top .main_color .bus-route-table.afton-express table.avia-table td {
    border: 1px solid #36747a !important;
}
#top .main_color .bus-route-table table.avia-table th {
	padding: 5px;
}

#top #main .bus-route-table table.avia-table .avia-desc-col {
	width: 300px;
	border: 1px solid #f7941d !important;
	color: #525251 !important;
}
#top #main .bus-route-table.afton-express table.avia-table .avia-desc-col {
    border: 1px solid #36747a !important;
}
#top .main_color .togglecontainer .toggler span {
	border-color: #fff !important;
}

#top td:empty {
    background: #e5e5e5 !important;
}

/*Downtown Trolley*/

#top .main_color .bus-route-table table.downtown td:nth-child(10),
#top .main_color .bus-route-table table.downtown td:nth-child(11),
#top .main_color .bus-route-table table.downtown td:nth-child(12) {
    background: yellow;
}

#top .main_color .avia_textblock .yellow-cell {
    width: 45px;
    background: yellow;
    height: 25px;
    float: left;
    margin-right: 10px;
    border: 1px solid #F7941D;
}

#top .main_color .bus-route-table table tr td.avia-highlight-col {
    background: yellow;
}
#top .yellow-cell-border {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #f7941d;
    padding: 10px;
}
#top .yellow-cell-border h5 {
    width: calc(100% - 50px);
    padding: 0 !important;
}

/* Afton Express JV */

#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody tr:first-child td{
    /* background-color: #58C7D1; teal
    color: white; */
    /*font-size: 16px;*/
    letter-spacing: 1.5px;
    font-weight: bold;
}

/* #top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(1) { background-color: #f5f5f5; } /* Light gray */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(2) { background-color: #f6d6af; } /* Light orange */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(3) { background-color: #f5c993; } /* Darker orange */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(4) { background-color: #f1b977; } /* Even darker orange */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(5) { background-color: #ecab5d; } /* Deep orange */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(6) { background-color: #e79d43; } /* Darkest orange */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(7) { background-color: #e2f0f4; } /* Light blue */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(8) { background-color: #cde7ec; } /* Darker blue */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(9) { background-color: #bae0e5; } /* Even darker blue */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(10) { background-color: #a6d5de; } /* Deep blue */
#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody td:nth-child(11) { background-color: #93ced9; } /* Deepest blue */

#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody tr td:first-child {
    width: 250px;
    min-width: 250px;
    font-weight: bold;
}


#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody tr{
    height: 30px;
    vertical-align: center;
}

#top .main_color .bus-route-table.afton-express table.afton-express-desktop-table tbody tr td{
    text-align: center;
    padding: 5px; /* Adds some spacing */
    vertical-align: center;
}

    /******************************
    =Title VI Page
    ******************************/

#top .avia_textblock.bonnie-form .gform_wrapper form {
    background: #fff !important;
}

#top .avia_textblock.bonnie-form .gform_button {
    border: 3px solid #f7941c;
    background: transparent;
    color: #747674;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 0px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#top .avia_textblock.bonnie-form .gform_button:hover {
    background: rgba(247,148,28,0.3) !important;
}

/******************************
=ADA Compliant Page
******************************/

#top .togglecontainer.ada-accordion .single_toggle .toggler {
    /*color: #f7941c;*/
    color: #CC4116;
    font-size: 24px;
    font-weight: bold;
}

#top .togglecontainer.ada-accordion .single_toggle .toggler.activeTitle {
    color: #fff;
    /*background: #f7941c;*/
    background: #CC4116;
}

#top .togglecontainer.ada-accordion .single_toggle .toggler:hover {
    /*background: #f7941c;*/
    background: #CC4116;
    color: #fff;
}

#top .togglecontainer.ada-accordion .single_toggle .toggle_content {
    /*background: rgba(245,197,93,0.3);*/
    background: #f9f9f9;
}

#top .togglecontainer.ada-accordion .toggler span {
	/*border-color: #f7941c !important;*/
	border-color: #CC4116 !important;
}

#top .togglecontainer.ada-accordion .single_toggle .toggler:hover span {
	border-color: #fff !important;
}

#top .togglecontainer.ada-accordion .single_toggle .toggler.activeTitle span {
	border-color: #fff !important;
}

.avia-icon-list .iconlist_title {
	font-size: 14px !important;
	font-weight: normal;
	text-transform: none;
	color: #666666;
}

/******************************
=Funding Partners Page
******************************/

#top .main_color .funding-partners {
    height: 250px;
}

#top .main_color .funding-partners img {
    padding: 10px;
}

/******************************
=Policies and Governance
******************************/

.page-id-37 .av_iconlist_title a {
	color: #CC4116 !important;
}

/******************************
=Trip Planner Page
******************************/

#top select#_hours,
#top select#_minutes,
#top select#_ampm {
	width: 70px;
	display: inline-block;
	background-color: #fff;
}

/******************************
=Resources Page
******************************/

#top .main_color .resources h4.av_iconlist_title {
	/*color: #ff9f19;*/
	color: #cc4016;
}

/*helpful links page*/
.page-id-48 .content ul {
	margin-bottom: 0px;
}

/******************************
=Contact Page
******************************/

.page-id-50 .contact-page-bg {
    background: url('/wp-content/uploads/2018/05/BRITE-5-24-2018-1010.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 8%;
}

.page-id-50 #main {
    background: #ffffff;
}

.page-id-50 .gform_wrapper form {
    background: #f1f1f1 !important;
}

.page-id-50 .contact-page-form input[type='text'],
.page-id-50 .contact-page-form textarea {
	border: 0px !important;
}

.page-id-50 #av-layout-grid-1 {
	width: 85%;
	margin: auto;
	margin-bottom: 60px;
	position: relative;
	top: -60px;
}

.page-id-50 #av-layout-grid-1 .gform_wrapper .gform_button {
    color: #24282B;
    border: 3px solid rgba(247,148,49,1);
}

.page-id-50 #av-layout-grid-1 .gform_wrapper .gform_button:hover {
    background: rgba(247,148,49,0.4) !important;
}

.page-id-50 #av-layout-grid-1 .gform_wrapper h3 {
	font-size: 28px;
    color: #24282B !important;
}

.page-id-50 #av-layout-grid-1 .contact-info h3 {
	color: #F7941D;
	font-size: 28px;
}

.page-id-50 #av-layout-grid-1 .contact-info p {
	color: #ffffff;
}

.page-id-50 #av-layout-grid-1 .contact-info .av_textblock_section:nth-child(2) {
	margin-top: 50px;
}

.page-id-50 #av-layout-grid-1 .contact-info .av_textblock_section:nth-child(2) p {
	font-size: 20px;
	line-height: 30px;
}

.page-id-50 #av-layout-grid-1 .contact-info .social_bookmarks {
	text-align: center !important;
	position: relative !important;
	top: 0 !important;
	height: 55px !important;
	right: 0 !important;
}

.page-id-50 #av-layout-grid-1 .contact-info .social_bookmarks li {
	display: inline-block !important;
	float: none !important;
	clear: none !important;
	width: 50px !important;
}

.page-id-50 #av-layout-grid-1 .contact-info .social_bookmarks a {
    color: #ffffff;
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 48px;
}

.page-id-50 #av-layout-grid-1 .social_bookmarks li:hover a {
    background: #888a8c !important;
}

.page-id-50 #av-layout-grid-1 .social_bookmarks a:hover {
    background: #888a8c !important;
}

/******************************
=Sidebar
******************************/
#top .main_color .sidebar .input-text, #top .main_color .sidebar input[type='text'], 
#top .main_color .sidebar input[type='input'], #top .main_color .sidebar input[type='password'], 
#top .main_color .sidebar input[type='email'], #top .main_color .sidebar input[type='number'], 
#top .main_color .sidebar input[type='url'], #top .main_color .sidebar input[type='tel'], 
#top .main_color .sidebar input[type='search'], #top .main_color .sidebar textarea, 
#top .main_color .sidebar select {
	color: #747674;
	background: #ffffff;
	padding: 10px !important;
	font-size: 1em !important;
	margin-bottom: 10px !important;
	border: 0px !important;
}

#top .main_color .sidebar .input-text::-webkit-input-placeholder, 
#top .main_color .sidebar input[type="text"]::-webkit-input-placeholder, 
#top .main_color .sidebar input[type="input"]::-webkit-input-placeholder, 
#top .main_color .sidebar input[type="password"]::-webkit-input-placeholder, 
#top .main_color .sidebar input[type="email"]::-webkit-input-placeholder, 
#top .main_color .sidebar input[type="number"]::-webkit-input-placeholder, 
#top .main_color .sidebar input[type="url"]::-webkit-input-placeholder, 
#top .main_color .sidebar input[type="tel"]::-webkit-input-placeholder, 
#top .main_color .sidebar input[type="search"]::-webkit-input-placeholder, 
#top .main_color .sidebar textarea::-webkit-input-placeholder, 
#top .main_color .sidebar select::-webkit-input-placeholder  {color: #747674;}

#top .main_color .sidebar .input-text:-moz-placeholder, 
#top .main_color .sidebar input[type="text"]:-moz-placeholder, 
#top .main_color .sidebar input[type="input"]:-moz-placeholder, 
#top .main_color .sidebar input[type="password"]:-moz-placeholder, 
#top .main_color .sidebar input[type="email"]:-moz-placeholder, 
#top .main_color .sidebar input[type="number"]:-moz-placeholder, 
#top .main_color .sidebar input[type="url"]:-moz-placeholder, 
#top .main_color .sidebar input[type="tel"]:-moz-placeholder, 
#top .main_color .sidebar input[type="search"]:-moz-placeholder, 
#top .main_color .sidebar textarea:-moz-placeholder, 
#top .main_color .sidebar select:-moz-placeholder  {color: #747674;}

#top .main_color .sidebar .input-text::-moz-placeholder, 
#top .main_color .sidebar input[type="text"]::-moz-placeholder, 
#top .main_color .sidebar input[type="input"]::-moz-placeholder, 
#top .main_color .sidebar input[type="password"]::-moz-placeholder, 
#top .main_color .sidebar input[type="email"]::-moz-placeholder, 
#top .main_color .sidebar input[type="number"]::-moz-placeholder, 
#top .main_color .sidebar input[type="url"]::-moz-placeholder, 
#top .main_color .sidebar input[type="tel"]::-moz-placeholder, 
#top .main_color .sidebar input[type="search"]::-moz-placeholder, 
#top .main_color .sidebar textarea::-moz-placeholder, 
#top .main_color .sidebar select::-moz-placeholder  {color: #747674;}

#top .main_color .sidebar .input-text:-ms-input-placeholder, 
#top .main_color .sidebar input[type="text"]:-ms-input-placeholder, 
#top .main_color .sidebar input[type="input"]:-ms-input-placeholder, 
#top .main_color .sidebar input[type="password"]:-ms-input-placeholder, 
#top .main_color .sidebar input[type="email"]:-ms-input-placeholder, 
#top .main_color .sidebar input[type="number"]:-ms-input-placeholder, 
#top .main_color .sidebar input[type="url"]:-ms-input-placeholder, 
#top .main_color .sidebar input[type="tel"]:-ms-input-placeholder, 
#top .main_color .sidebar input[type="search"]:-ms-input-placeholder, 
#top .main_color .sidebar textarea:-ms-input-placeholder, 
#top .main_color .sidebar select:-ms-input-placeholder  {color: #747674;}

#top .sidebar .gform_wrapper ul li.gfield {
    margin: 0;
    margin-bottom: 0px !important;
    padding: 0px;
}

#top .sidebar .gform_button {
	border: 3px solid #747674;
	background: transparent;
	color: #747674;
	font-size:22px;
	text-transform: uppercase;
	font-weight: bold;
	padding: 10px 25px;
	float: none;

}

#top .sidebar .gform_button:hover {
	border-color: #F7941D;
	color: #F7941D;
	background: transparent !important;
}

#top .sidebar .gform_widget {
	padding: 28px 20px 8px 20px;
	/*background: #e5e5e5;*/
	background: #f1f1f1;
}

#top .sidebar .gform_widget h3 {
	text-align: center;
	font-size: 22px;
	/*color: #747674;*/
	color: #6c6e6e;
}

#top .sidebar .gform_wrapper .gform_footer {
	text-align: center;
}


#top .sidebar #glt_widget-3,
#top .sidebar #glt_widget-4 {
	text-align: center;
}

#top .sidebar .widget_nav_menu ul#menu-bus-routes,
#top .sidebar .widget_nav_menu ul#menu-other-transit-links {
    padding-left: 10px;
}

#top .sidebar .widget_nav_menu ul#menu-bus-routes a,
#top .sidebar .widget_nav_menu ul#menu-other-transit-links a {
    /*color: #f28900;*/
    color: #CC4116;
}

#top .sidebar .widget_nav_menu ul#menu-bus-routes a:hover,
#top .sidebar .widget_nav_menu ul#menu-other-transit-links a:hover {
    text-decoration: underline;
}

#top section#nav_menu-3,
#top section#nav_menu-4, {
    padding-bottom: 5px !important;
}

#top section#nav_menu-6,
#top section#nav_menu-7 {
    padding-top: 5px !important;
}

#top .sidebar #custom_html-5,
#top .sidebar #custom_html-7 {
    text-align: center;
    padding-bottom: 5px;
    /*display: none;*/
}

#top .sidebar button#sidebar-trip-planner {
    width: 250px;
    height: 100px;
    margin: auto !important;
    text-align: center;
    background: url(/wp-content/uploads/2018/03/trip.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-top: 5px solid #f7941d !important;
    border: none;
}

#top .sidebar button#sidebar-trip-planner img {
    width: 70px;
    display: inline-block;
    float: left;
    padding-left: 5px;
}

#top .sidebar button#sidebar-trip-planner h3 {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    font-size: 24px;
}

#top .sidebar button#sidebar-trip-planner:hover {
    cursor: pointer;
}

#top .sidebar button#sidebar-trip-planner:hover h3 {
    color: #f7941d;
}

#top .sidebar #custom_html-6,
#top .sidebar #custom_html-8,
#top .sidebar #custom_html-15,
#top .sidebar #custom_html-16 {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#top .sidebar button#sidebar-ada {
    width: 250px;
    height: 100px;
    margin: auto !important;
    text-align: center;
    background: url(/wp-content/uploads/2018/03/ada.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-top: 5px solid #f7941d !important;
    border: none;
}

#top .sidebar button#sidebar-ada img {
    width: 70px;
    display: inline-block;
    float: left;
    padding-left: 5px;
}

#top .sidebar button#sidebar-ada h3 {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    font-size: 24px;
}

#top .sidebar button#sidebar-ada:hover {
    cursor: pointer;
}

#top .sidebar button#sidebar-ada:hover h3 {
    color: #f7941d;
}
#top .sidebar button#sidebar-ada-tool {
    border: 0px;
    border-top: 5px solid #f7941c;
    background: #24282B;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    border-radius: 0px;
    width: 250px;
    height: 100px;
}
#top .sidebar button#sidebar-ada-tool img {
    width: 50px;
    display: inline-block;
    float: left;
    padding-left: 5px;
}
#top .sidebar button#sidebar-ada-tool h3 {
    display: inline-block;
    margin:0px;
    color: #fff;
    font-weight: bold;
}
#top .sidebar button#sidebar-ada-tool:hover {
    cursor: pointer;
    background: #555657;
}

/******************************
=Forms
******************************/
#top .main_color .input-text, #top .main_color input[type='text'], 
#top .main_color input[type='input'], #top .main_color input[type='password'], 
#top .main_color input[type='email'], #top .main_color input[type='number'], 
#top .main_color input[type='url'], #top .main_color input[type='tel'], 
#top .main_color input[type='search'], #top .main_color textarea {
    color: #585958;
    background: #ffffff;
    padding: 10px !important;
    font-size: 1em !important;
}

#top .main_color .input-text::-webkit-input-placeholder, 
#top .main_color input[type="text"]::-webkit-input-placeholder, 
#top .main_color input[type="input"]::-webkit-input-placeholder, 
#top .main_color input[type="password"]::-webkit-input-placeholder, 
#top .main_color input[type="email"]::-webkit-input-placeholder, 
#top .main_color input[type="number"]::-webkit-input-placeholder, 
#top .main_color input[type="url"]::-webkit-input-placeholder, 
#top .main_color input[type="tel"]::-webkit-input-placeholder, 
#top .main_color input[type="search"]::-webkit-input-placeholder, 
#top .main_color textarea::-webkit-input-placeholder, 
#top .main_color select::-webkit-input-placeholder  {color: #747674;}

#top .main_color .input-text:-moz-placeholder, 
#top .main_color input[type="text"]:-moz-placeholder, 
#top .main_color input[type="input"]:-moz-placeholder, 
#top .main_color input[type="password"]:-moz-placeholder, 
#top .main_color input[type="email"]:-moz-placeholder, 
#top .main_color input[type="number"]:-moz-placeholder, 
#top .main_color input[type="url"]:-moz-placeholder, 
#top .main_color input[type="tel"]:-moz-placeholder, 
#top .main_color input[type="search"]:-moz-placeholder, 
#top .main_color textarea:-moz-placeholder, 
#top .main_color select:-moz-placeholder  {color: #747674;}

#top .main_color .input-text::-moz-placeholder, 
#top .main_color input[type="text"]::-moz-placeholder, 
#top .main_color input[type="input"]::-moz-placeholder, 
#top .main_color input[type="password"]::-moz-placeholder, 
#top .main_color input[type="email"]::-moz-placeholder, 
#top .main_color input[type="number"]::-moz-placeholder, 
#top .main_color input[type="url"]::-moz-placeholder, 
#top .main_color input[type="tel"]::-moz-placeholder, 
#top .main_color input[type="search"]::-moz-placeholder, 
#top .main_color textarea::-moz-placeholder, 
#top .main_color select::-moz-placeholder  {color: #747674;}

#top .main_color .input-text:-ms-input-placeholder, 
#top .main_color input[type="text"]:-ms-input-placeholder, 
#top .main_color input[type="input"]:-ms-input-placeholder, 
#top .main_color input[type="password"]:-ms-input-placeholder, 
#top .main_color input[type="email"]:-ms-input-placeholder, 
#top .main_color input[type="number"]:-ms-input-placeholder, 
#top .main_color input[type="url"]:-ms-input-placeholder, 
#top .main_color input[type="tel"]:-ms-input-placeholder, 
#top .main_color input[type="search"]:-ms-input-placeholder, 
#top .main_color textarea:-ms-input-placeholder, 
#top .main_color select:-ms-input-placeholder  {color: #747674;}

#top .gform_wrapper ul li.gfield {
    margin: 0;
    margin-bottom: 0px !important;
    padding: 0px;
}

#top .gform_button {
    border: 3px solid #747674;
    background: transparent;
    color: #747674;
    font-size:22px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 25px;
    float: none;

}

#top .gform_button:hover {
    border-color: #F7941D;
    color: #F7941D;
    background: transparent !important;
}

#top .gform_wrapper form {
    padding: 28px 20px 8px 20px;
    /*background: #e5e5e5;*/
    background: #f1f1f1;
}

#top .gform_wrapper h3 {
    text-align: center;
    font-size: 22px;
    color: #747674 !important;
}

#top .gform_wrapper .gfield.gf_left_half {
    padding-right: 5px;
}

#top .gform_widget {
    padding: 28px 20px 8px 20px;
    background: #e5e5e5;
}

#top .gform_widget h3 {
    text-align: center;
    font-size: 22px;
    color: #747674;
}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] {
    margin: 0px !important;
}

#top .gform_wrapper .gform_footer {
    text-align: center;
}

#top .gform_wrapper ul li.gfield {
    margin: 0;
    padding: 0;
}

.main_color div.gform_wrapper {
	margin: 0;
}

/******************************
=Global Styles
******************************/
.template-page .entry-content-wrapper h1, 
.template-page .entry-content-wrapper h2 {
    text-transform: none;
}

#top .avia-post-nav:hover {
	background: rgba(0,0,0,1);
}

#top #main .template-single-blog h1.post-title {
    color: #CC4116;
}

.avia-slideshow-arrows a:before {background: #000000;}

#top .avia-layerslider .ls-bottom-nav-wrapper {top: -5px !important;}

#main > div.stretch_full.container_wrap.alternate_color.light_bg_color.title_container {
    background: #f5f5f5;
}

body .alignleft, .entry-content-wrapper a:hover .alignleft {margin: 4px 20px 5px 0;}

#top .template-page .entry-content-wrapper h3 {
    font-size: 26px !important;
    /*color: #f28900;*/
    color: #CC4116;
}

#top .template-page .entry-content-wrapper a:hover {
    color: #f28900;
}

h3 a:hover {
    text-decoration: underline !important;
}

#top .main_color .av_promobox.always .avia-button {
    border: 3px solid #f7941c;
    background: #fff;
    /*color: #747674;*/
    color: #6c6e6e;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 0px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#top .main_color .av_promobox.always .avia-button:hover {
    background: rgba(247,148,28,0.3);
}

#top .main_color .avia-button-wrap.always .avia-button {
    border: 3px solid #f7941c;
    background: transparent;
    /*color: #747674;*/
    color: #6c6e6e;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 0px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#top .main_color .avia-button-wrap.always .avia-button:hover {
    background: rgba(247,148,28,0.3);
}

.brite-list .iconlist_icon {
    height: 24px;
    width: 24px;
    line-height: 24px;
    font-size: 24px;
    text-align: center;
    border-radius: 500px;
    position: relative;
    float: left;
    margin-right: 30px;
    margin-left: 20px;
    z-index: 5;
    color: #fff;
}
.brite-list .av-iconlist-small li + li {
    margin-top: 5px;
}

.brite-list .iconlist_title {
    margin-top: 0px !important;
}

.brite-list li {
    padding: 0px;
    min-height: 45px;
}

#top .av_textblock_section h5 strong {
    color: inherit;
    display: inline-block;
    /*background-color: #F7941D;*/
    background-color: #CC4116;
    padding: 12px 13px 12px 15px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    margin: 0 10px 10px 0;
    position: relative;
}

#top .av_textblock_section h5 {
    display: inline-block;
    padding: 10px 0;
}

#top .av_textblock_section h5.bullet-headers {
    display: inline-block;
}

#top .avia-icon-list-container.brite-list {
    margin: 10px 0;
}

#top .bus-pdf-button .avia-button {
    border-radius: 0px;
    border-bottom: 0px;
}

#top .bus-pdf-button .avia-button:hover {
    color: #fff !important;
}

#top div.avia-tooltip {
    padding: 5px;
    width: 125px;
}

#top .avia-tooltip.transparent_dark, #top .avia-tooltip.transparent_dark .avia-arrow {
    /*background: rgba(163,163,163,0.95) !important;*/
    background: #6e6e6c !important;
}

#top .avia-tooltip.av-tooltip-shadow, #top .avia-tooltip.av-tooltip-shadow .avia-arrow {
    background: rgba(248,158,51,0.9) !important;
    text-align: center;
    color: #fff;
}    

#top .avia-tooltip.av-tooltip-shadow p {
    font-size: 12px;
}

#top .avia-tooltip.transparent_dark p {
    font-size: 12px;
    text-align: center;
}    

.av-hotspot-blank .av-hotspot-container .av-image-hotspot_inner {
    width: 50% !important;
    height: 50% !important;
    top: 8px;
    left: 6px;
    cursor: default;
}

#top .av-image-hotspot-pulse {
    height: 22px;
    width: 22px;
    top: 3px;
    left: 1px;
}

#top .av-image-hotspot > .av-image-hotspot-pulse {display: none;}
#top .av-image-hotspot > .av-image-hotspot_inner {width: 10px !important;height: 10px !important;}

#top .av-image-hotspot.hasTooltip > .av-image-hotspot-pulse {display: block !important;}
#top .av-image-hotspot.hasTooltip > .av-image-hotspot_inner {width: 50% !important;height: 50% !important;}

#top div.av-tt-pos-above.av-tt-align-centered {
    margin-top: -5px;
}

#top div.av-tt-pos-above.av-tt-align-right {
    margin-top: -5px;
}

#top div.av-tt-pos-above.av-tt-align-left {
    margin-top: -5px;
    margin-left: -5px;
}

#top div.av-tt-pos-right.av-tt-align-top {
    top: 2px !important;
}

#top div.av-tt-pos-left.av-tt-align-top {
    margin-left: -5px;
}

#top div.av-tt-pos-right.av-tt-align-centered {
    margin-left: 5px;
}

#top .avia-tooltip.av-tt-pos-left {
    margin-left: -5px;
}

#top .avia-tooltip.av-tt-pos-right {
    margin-left: 5px;
}

#top .avia-tooltip.av-tt-pos-below {
    margin-top: 5px;
}

#top .avia_message_box {
    margin-bottom: 0px;
    margin-top: 10px;
}

#top .avia_message_box .map-key {
    text-align: left;
    text-transform: none;
}
#top .west-side-inset {
    width: 40%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #FD941A;
    position: absolute;
    top: 90px;
    left: 50px;
    z-index: 10;
}
#top .avia_message_box .map-key ul,
#top .west-side-inset ul {
    margin-bottom: 0px;
    padding-left: 10px;
    margin-left: 0px;
}

#top .avia_message_box .map-key ul li,
#top .west-side-inset ul li {
    padding: 0px 3px;
    font-size: 22px;
    position: relative;
    top: 2px;
}
#top .west-side-inset ul li {
    color: #444;
    font-weight: bold;
}
#top .avia_message_box .map-key ul li span.bus-stop,
#top .west-side-inset ul li span.bus-stop {
    font-size: 14px;
    position: relative;
    top: -2px;
}

#top .avia_message_box .map-key ul li span.call-stop {
	font-size: 14px;
	position: relative;
	top: -2px;
	color: #444;
}

#top .avia_message_box .map-key ul li.call-stop-icon {
	color: #f89e33;
}

#top .avia_message_box .map-key p span.first,
#top .avia_message_box .map-key p span.brcc-south {
    border-left: 30px solid #FDFD03;
    padding: 0px 5px;
}

#top .avia_message_box .map-key p span.second {
    border-left: 30px solid #F90300;
    padding: 0px 5px;
}

#top .avia_message_box .map-key p span.draft {
    border-left: 30px solid #8203AB;
    padding: 0px 5px;
}

#top .avia_message_box .map-key p span.brcc-north {
    border-left: 30px solid #0159E9;
    padding: 0px 5px;
}

#top .avia_message_box .map-key p span.waynesboro {
    border-left: 30px solid #05C5FE;
    padding: 0px 5px;
}

#top .avia_message_box .map-key p span.downtown {
    border-left: 30px solid #52FC08;
    padding: 0px 5px;
}

#top .avia_message_box .map-key p span.north {
    border-left: 30px solid #0358E3;
    padding: 0px 5px;
}

#top .avia_message_box .map-key p span.west {
    border-left: 30px solid #C702FB;
    padding: 0px 5px;
}

#top .avia_message_box .map-key p span.saturday-night {
    border-left: 30px solid #FFAA01;
    padding: 0px 5px;
}
#top .west-side-inset > p {
    margin: 0px;
    font-style: italic;
    line-height: 16px;
}
#top .avia_message_box .map-key p span.afton-am {
    border-left: 30px solid #FD941A;
    padding: 0px 5px;
}
#top .avia_message_box .map-key p span.afton-pm {
    border-left: 30px solid #0283AA;
    padding: 0px 5px;
}
.page-id-25 .avia_message_box .map-key p {
    width: 100%;
    display: block;
    margin: 0px;
}

.page-id-25 .avia_message_box .map-key br {
    display: none;
}

.page-id-25 .avia_message_box .map-key p span {
    width: 49%;
    margin-bottom: 2px;
    display: inline-block;
}

.page-id-25 .avia_message_box .map-key ul {
    margin-left: 0px;
    margin-bottom: 2px !important;
    width: 49%;
    display: inline-block;
    padding-left: 10px !important; 
}
/*Afton Express Pages*/
#top.afton-express .header-scrolled span.logo img {
    padding: 8px 0px;
}
#top.afton-express #header span.logo a img {
    content: url('/wp-content/themes/brite-enfold-child/images/afton-logo.svg') !important;
    width: 155px;
}
#top.afton-express .template-page .entry-content-wrapper h3 {
    /*color: #161240 !important;*/
    color: #467281 !important;
}
#top.afton-express div.custom-above-footer {
    background-color: #161240 !important;
}
#top.afton-express div.custom-above-footer ul li {
    border-right: 1px solid #413675;
}
#top.afton-express div.custom-above-footer ul li a {
    color: #5cc7d2 !important;
}
#top.afton-express div.custom-above-footer ul li a:hover {
    color: #ffffff !important;
}
#top.afton-express .sidebar .widget_nav_menu ul#menu-bus-routes a,
#top.afton-express .sidebar .widget_nav_menu ul#menu-other-transit-links a {
    color: #36747a !important;
    font-weight: bold;
}
#top.afton-express .template-page .entry-content-wrapper a:not(.avia-button) {color: #36747a !important;}
#top.afton-express #side-tabs a.maps {
    background: #36747a !important;
}
#top.afton-express #side-tabs a.contact {
    background: #161240 !important;
}
#top.afton-express #scroll-alertbar {
    background: linear-gradient(90deg, #161240, #36747a, #5cc7d2);
}
#top.afton-express #scroll-alertbar:hover {
	background: #36747a;
}
#top.afton-express #scroll-alertbar .close-container,
#top.afton-express #scroll-alertbar .border {
    background: #5cc7d2;
}
#top.afton-express #scroll-alertbar .border .toggle-arrow {
    border-bottom: 10px solid #5cc7d2;
}
#top.afton-express #scroll-alertbar .border .toggle-arrow.down {
    border-top: 10px solid #5cc7d2;
    border-bottom: 0px;
}
#top.afton-express .userway .userway_accessibility_icon {
    background: #f79520 !important;
}
#top.afton-express #footer #custom_html-4 img {
	content: url('/wp-content/themes/brite-enfold-child/images/afton-logo-white.svg') !important;
	width: 100px;
}
#top #footer .afton-socials {
	display: none;
}
#top.afton-express #footer .afton-socials {
	display: block;
}
#top.afton-express #footer .afton-socials + ul {
	display: none;
}
#top.afton-express blockquote {border-color: #161240;}
#top.afton-express #scroll-top-link {
    border: 1px solid #36747a;
    background: rgba(54,116,122,0.7);
}
#top.afton-express #scroll-top-link:hover {
    background: rgba(54,116,122,1);
}
/*new max mega menu edits*/
#top #menu-item-search {
  display: inline-block;
  vertical-align: middle;
  height: auto;
}
#top #menu-item-search > a {
  padding: 0px 13px;
  text-decoration: none;
  height: 116px;
  line-height: 116px;
  display: block;
}
#top #menu-item-search.menu-item-search-dropdown>a:before {top: 0px;}

#top .header_color .main_menu #mega-menu-avia li.mega-menu-flyout ul > li.mega-current-menu-item a,
#top .header_color .main_menu #mega-menu-avia li.mega-menu-flyout ul > li.mega-current-menu-item a:hover {
  font-weight: 600;
}

#mega-menu-wrap-avia #mega-menu-avia li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {display: none;}

#mega-menu-wrap-avia .mega-menu-toggle.mega-menu-open + #mega-menu-avia {
      width: 350px;
      position: fixed;
      top: 0px;
      right: 0px;
      height: 100vh;
      padding: 200px 0px 90px;
      z-index: 98;
      min-height: 100vh;
      overflow: auto;
      box-shadow: 0px 10px 15px -10px #666;
    }

#mega-menu-wrap-avia #mega-menu-avia li.mega-menu-item-has-children > a.mega-menu-link:after {
  display: none;
}

#top .header-scrolled #mega-menu-wrap-avia #mega-menu-avia {
    height: 60px;
}

#top .header-scrolled #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item > a.mega-menu-link,
#top .header-scrolled #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item,
#top .header-scrolled #menu-item-search,
#top .header-scrolled #menu-item-search > a {
    line-height: 60px;
    height: 60px;
}


@media only screen and (max-width: 1175px) {
  #top #menu-item-search,
  #top li.menu-item-avia-special {display: none;}
  #mega-menu-wrap-avia #mega-menu-avia li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
    display: inline-block;
  }
  #top .header-scrolled #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item > a.mega-menu-link,
#top .header-scrolled #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item,
#top .header-scrolled #menu-item-search,
#top .header-scrolled #menu-item-search > a,
#top .header-scrolled #mega-menu-wrap-avia .mega-menu-toggle {
    /*line-height: inherit;
    height: inherit;*/
    line-height: 60px;
    height: 60px;
}
#mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link, #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item > a.mega-menu-link {
    padding: 0px 30px !important;
}
#mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
    padding: 15px 50px !important;
}
#mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul {
    padding-left: 20px;
}
#mega-menu-wrap-avia .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
    z-index: 99;
}
}
@media only screen and (max-width: 768px) {
    #mega-menu-wrap-avia,
    #mega-menu-wrap-avia .mega-menu-toggle {height: 80px;line-height: 80px;}
}

@media only screen and (max-width: 415px) {
    #mega-menu-wrap-avia .mega-menu-toggle.mega-menu-open + #mega-menu-avia {
        width: 275px;
    }
    #mega-menu-wrap-avia .mega-menu-toggle.mega-menu-open + #mega-menu-avia {padding-top: 130px;}
}
/******************************
=Mobile Styles
******************************/
@media only screen and (max-width: 1340px) {
    #side-tabs {height: 45px;left: -180px;}
    #side-tabs a {height: 45px !important;padding:12px;}
}

@media only screen and (max-height: 1250px) {

    /*#side-tabs a.contact {
        bottom: 14%;
    }
    #side-tabs a.fares {
        bottom: 24.5%;
    }
    #side-tabs a.maps {
        bottom: 36%;
    }*/
}

@media only screen and (max-width: 1230px) {

    #top div.avia-tooltip {
        padding: 3px;
        width: 100px;
    }

    #top .avia-tooltip.transparent_dark p {
        font-size: 10px;
    }

    #top div.av-tt-pos-above.av-tt-align-right {
        top: -20px !important;
        left: -77px !important;
    }

    #top div.av-tt-pos-above.av-tt-align-centered {
        top: -20px !important;
        left: -37.5px !important;
    }

    #top div.av-tt-pos-below.av-tt-align-left {
        top: 10px !important;
    }
  
}

@media only screen and (max-height: 1120px) {

    /*#side-tabs a.contact {
        bottom: 16.25%;
    }
    #side-tabs a.fares {
        bottom: 28.5%;
    }
    #side-tabs a.maps {
        bottom: 41.75%;
    }*/
}

@media only screen and (max-height: 1010px) {

    /*#side-tabs a.contact {
        bottom: 17.75%;
    }
    #side-tabs a.fares {
        bottom: 31.5%;
    }
    #side-tabs a.maps {
        bottom: 46.75%;
    }*/
}

@media only screen and (max-width: 985px) {
    .responsive #top #wrap_all .flex_column {
        width: 100%;
        margin-bottom: 20px;
        margin-left: 0px;
    }
}
@media only screen and (max-height: 828px) {
    
    /*#side-tabs a.fares {
        left: -25px;
	    bottom: 15%;
	    height: 56px;
	    width: 75px;
	    padding: 25px 15px 10px;
	    font-size: 14px;
    }

    #side-tabs a.maps {
        height: 56px;
	    width: 110px;
	    padding: 25px 15px 10px;
	    font-size: 14px;
	    left: -42.5px;
	    bottom: 29.5%;
    }

    #side-tabs a.contact {
        left: -25px;
	    bottom: 3%;
	    height: 56px;
	    width: 75px;
	    padding: 25px 11px 10px;
	    font-size: 14px;
    }*/
}

@media only screen and (max-height: 668px) {  

   /* #side-tabs a.fares {
        left: -25px;
	    bottom: 16%;
	    height: 56px;
	    width: 75px;
	    padding: 25px 15px 10px;
	    font-size: 14px;
    }

    #side-tabs a.maps {
        height: 56px;
	    width: 110px;
	    padding: 25px 15px 10px;
	    font-size: 14px;
	    left: -42.5px;
	    bottom: 30.5%;
    }

    #side-tabs a.contact {
        left: -25px;
	    bottom: 4%;
	    height: 56px;
	    width: 75px;
	    padding: 25px 15px 10px;
	    font-size: 14px;
    }*/
}
@media only screen and (max-height: 600px) {
    #side-tabs {
        bottom: 42%;
    }

    #side-tabs a {font-size: 14px;}
    #side-tabs a.contact {width: 24%;}
    #side-tabs a.fares {width: 22%;}
    #side-tabs a.maps {width: 30%;}
}

@media only screen and (max-height: 400px) {
    #side-tabs {display: none !important;}
}

@media only screen and (max-width: 1175px) {
    .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item {
        display: none;
    }

    .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special {
        display: block;
    }

    .responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a {
        min-width: 0;
        padding: 0 0 0 20px;
        margin: 0;
        border-style: none;
        border-width: 0;
    }

    .responsive.html_mobile_menu_tablet #top #header .av-main-nav > li > a, .responsive #top #header .av-main-nav > li > a:hover {
        background: transparent;
        color: inherit;
    }

    .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
        top: 0 !important;
        left: auto !important;
        right: 0 !important;
        display: block !important;
    }
}
/*larger than tablet*/
@media only screen and (min-width: 990px) {
	#top .main_color .bus-route-table {
		display: block;
	}

	#top #main .bus-route-accordion {
		display: none;
	}
}

/*tablet and smartphone*/
@media only screen and (max-width: 1024px) {
	#top .main_color .bus-route-table {
		display: none;
	}

	#top #main .bus-route-accordion {
		display: block;
	}

	#top #main .bus-route-accordion p {
		text-align: center;
    	background: #EF4E22;
    	margin: 0;
    	padding: 5px;
    	color: white;
    	font-weight: bold;
        padding-left: 30px;
        padding-right: 20px;
	}

	#top #main .bus-route-accordion .togglecontainer {
		margin: 0px 10px 0px;
	}

	#top #main .bus-route-accordion .togglecontainer .single_toggle .toggler {
		/*background: #F7BC4B;*/
		background: rgba(204,64,22,1);
		color: #fff;
	}
    #top #main .bus-route-accordion.afton-accordion .togglecontainer .single_toggle .toggler {
        background: #36747a;
    }

	#top #main .bus-route-accordion .togglecontainer .single_toggle .toggle_content p {
		text-align: center;
    	margin: 0;
    	padding: 5px;
    	font-weight: bold;
    	background: inherit;
    	color: inherit;
	}

	#top #main .bus-route-accordion h6 {
		text-align: center;
		color: #fff;
		/*background: #F7941D;*/
		background: #24282B;
		padding: 15px;
	}

    .main_color.routes-maps-schedule .head p {
        font-size: 38px;
    }

    #top .main_color.routes-maps-schedule .avia-button.avia-color-light {
        font-size: 18px;
        margin: 20px 0px;
    }

    div.custom-above-footer ul li {
        border-bottom: 1px solid #f5b567;
        border-right: 0px;
        margin: 0px;
        width: 100%;
    }

    #top .main_color .inner_sidebar {
        margin-left: 20px;
    }

    #top .sidebar .gform_widget {
        padding: 12px 5px 0px 5px;
    }

    #top .gform_wrapper form {
        padding: 0px 10px 0px 10px;
    }

    #top .sidebar .gform_button {
        font-size: 16px;
        padding: 5px 15px;
    }

    #top .sidebar button#sidebar-trip-planner {
        width: 180px;
        height: 80px;
    }

    #top .sidebar button#sidebar-trip-planner img {
        width: 50px;
    }

    #top .sidebar button#sidebar-trip-planner h3 {
        margin-top: 15px;
        font-size: 14px;
        float: left;
        margin-left: 8px;
    }

    #top .sidebar button#sidebar-ada,
    #top .sidebar button#sidebar-ada-tool {
        width: 180px;
        height: 80px;
    }

    #top .sidebar button#sidebar-ada img {
        width: 50px;
    }
    #top .sidebar button#sidebar-ada-tool img {
        width: 40px;
        float: left;
    }

    #top .sidebar button#sidebar-ada h3 {
        margin-top: 15px;
        font-size: 14px;
        float: left;
        margin-left: 8px;
    }
    #top .sidebar button#sidebar-ada-tool h3 {
        float: left;
        font-size: 14px;
        margin-left: 6px;
        margin-top: 3px;
    }
}

/*tablet only*/
@media only screen and (min-width: 768px) and (max-width: 989px) {

}

/*larger than smartphone*/
@media only screen and (min-width: 767px) {

}

/*smartphone and smaller*/
@media only screen and (max-width: 767px) {
	#top .av-image-hotspot.hasTooltip > .av-image-hotspot_inner {
		width: 100% !important;
		height: 100% !important;
        opacity: 1;
	}

    .header_color .phone-info span {
        display: block;
        position: relative;
        width: 100%;
        float: none;
    }
    .header_color div.single-alert {
        display: block;
        position: relative;
        width: 100%;
        overflow: hidden;
        padding: 30px 0 20px 0;
        border-bottom: 1px solid #ff9e1a;
    }
    .header_color .phone-info div#travel_alert_toggle {
        float: none;
        display: block;
        width: 215px;
        margin: 0 auto;
        position: relative;
    }
    
    .header_color div.single-alert div.alert-text {
        display: block;
        width: 100%;
        padding: 0;
        border-bottom:0;
    }
    

    .header_color div.alert-icon {
        display: block;
        width: 50px;
        float: left;
        margin-right: 15px;
        margin-bottom: 5px;
    }

    div.custom-above-footer ul li a {
        font-size: 24px;
    }

    .gform_wrapper .gform_footer {
    	margin:auto !important;
    	width: 50% !important;
    }

    #top .gform_wrapper form {
    	padding: 5px 20px;
    }

    #top .gform_wrapper .top_label li.gfield.gf_left_half {
    	width: 100% !important;
    	padding-right: 0px !important;
    }

    #top .gform_wrapper .top_label li.gfield.gf_right_half {
    	width: 100% !important;
    }

    .main_color.routes-maps-schedule h2 {
    	font-size: 30px;
    }

    #top #main .news-section h2 {
    	font-size: 30px;
    }

    /*#top #main .routes-maps-schedule .dropbtn {
    	padding: 15px 0px 20px;
    }*/

    #top #main .routes-maps-schedule .home-trip-planner {
    	margin: 0;
    }

    #top #main #layerslider_2 p {
    	font-size: 14px !important;
    }

    #top #main #layerslider_2 p.first-time-heading {
    	font-size: 20px !important;
    }

    #top .gform_button {
        font-size: 18px;
        padding: 10px 15px;
    }

    .av-hotspot-blank .av-hotspot-container .av-image-hotspot_inner {
        width: 100% !important;
        height: 100% !important;
        top: 6px;
        left: 6px;
        color: #fff;
    }

    #top .av-image-hotspot-pulse {
        height: 28px;
        width: 28px;
        top: 1px;
        left: 1px;
    }
    #top.afton-express #header span.logo a img {width: 100px;}
    #top.afton-express .west-side-inset {
        width: 60%;
        left: 30px;
    }
    #top .sidebar button#sidebar-trip-planner,
    #top .sidebar button#sidebar-ada, 
    #top .sidebar button#sidebar-ada-tool {
        width: 60%;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;
    }
    #top .sidebar button#sidebar-trip-planner img,
    #top .sidebar button#sidebar-ada img, 
    #top .sidebar button#sidebar-ada-tool img {width: 65px;}
    #top .sidebar button#sidebar-trip-planner h3,
    #top .sidebar button#sidebar-ada h3, 
    #top .sidebar button#sidebar-ada-tool h3 {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 22px;
    }
    .av-hotspot-image-container.av-mobile-fallback-active .av-hotspot-fallback-tooltip {
        display: inline-block;
        width: 49%;
        margin-right: 1%;
        vertical-align: top;
        padding-top: 5px;
    }
    .av-hotspot-image-container.av-mobile-fallback-active .av-hotspot-fallback-tooltip .av-hotspot-fallback-tooltip-count {
        background: #e1e1e1;
        color: #000;
        width: 20px;
        height: 20px;
        line-height: 20px;
        top: 5px;
        font-size: 10px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .av-hotspot-image-container.av-mobile-fallback-active .av-hotspot-fallback-tooltip .av-hotspot-fallback-tooltip-count .avia-arrow {display: none;}
    .av-hotspot-image-container.av-mobile-fallback-active .av-hotspot-fallback-tooltip .av-hotspot-fallback-tooltip-inner {
        margin-left: 10px;
        padding: 4px 15px;
    }
    .av-hotspot-image-container.av-mobile-fallback-active .av-hotspot-fallback-tooltip .av-hotspot-fallback-tooltip-inner p {
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 550px) {
    #top.afton-express .west-side-inset {
        position: relative;
        top: 0px;
        left: 0px;
        width: 96%;
        margin: auto;
    }
    #top #main .routes-maps-schedule .dropbtn {
        padding: 20px 15px 20px;
        font-size: 22px;
    }
    #top #main .routes-maps-schedule .dropbtn img {
        vertical-align: middle;
        width: 20px;
    }
    #top #main .routes-maps-schedule .dropbtn img:first-child {
        width: 40px;
        margin-bottom: 0;
    }
    #mega-menu-wrap-avia #mega-menu-avia a.mega-menu-link {transition: none;}
    #mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
        background: #fff;
        color: #f28900;
    }
    .responsive #top #wrap_all .container {width: 80%;}
    #top .sidebar button#sidebar-trip-planner,
    #top .sidebar button#sidebar-ada, 
    #top .sidebar button#sidebar-ada-tool {width: 85%;}
    #top .sidebar button#sidebar-trip-planner img,
    #top .sidebar button#sidebar-ada img, 
    #top .sidebar button#sidebar-ada-tool img {width: 55px;}
    #top .sidebar button#sidebar-trip-planner h3,
    #top .sidebar button#sidebar-ada h3, 
    #top .sidebar button#sidebar-ada-tool h3 {font-size: 18px;}
}
/*iPhone 6 and smaller*/
@media only screen and (max-width: 414px) {
    #side-tabs {
        display: none;
    }

    #header_meta .container {
    	max-width: 100% !important;
    	padding-left: 15% !important;
    }

    .home #side-tabs {
    	display: none !important;
    }

    .page-id-25 .avia_message_box .map-key p span {
        width: 100%;
    }

    #top .main_color .funding-partners {
        height: auto;
    }

    #top #main .routes-maps-schedule .select-your-route {
    	margin: 120px 0px 60px;
    }

    #top #main .routes-maps-schedule .content {
    	padding-top: 10px;
    	padding-bottom: 10px;
    }

    #top .news-section .content {
    	padding-top: 0px;
    	padding-bottom: 0px;
    }
}

/*transit planner widget*/

#ui-datepicker-div {font-size:60%;}
                            .obscure { 
                                position: absolute !important; 
                                clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 
                                clip: rect(1px, 1px, 1px, 1px); 
                            } 
#trip_planner input#saddr,
#trip_planner input#daddr {
	margin-bottom: 0px;
}
