/* The Events Calendar Registration Button*/
.my-button-class {
background-color: green;
padding: 10px;
color: #fff;
float: left;
}

/* BODY
-------------------------------------------------- */
body {
  font-family:  Verdana, Helvetica, sans-serif;
}

body.custom-background {
 background-size: cover;
}

/* Heading styles 
-------------------------------------------------- */
h1 {
  font-size: 2.441em;
}

h2 {
  font-size: 1.953em;
}

h3 {
  font-size: 1.563em;
}

h4 {
  font-size: 1.25em;
}

h5 {
  font-size: 0.8em;
}

h6 {
  font-size: 0.64em;
}



/* IEEE GLOBAL HEADER
-------------------------------------------------- */
.global-nav {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0;
/*   line-height: normal; */
}
/*
.global-nav .pull-left a {
  padding: 0 10px;
}

.global-nav .pull-left a:first-child {
  padding-left: 0;
}
*/

.global-nav ul{
  margin: 0 0 1.5em 0;
  padding: 12px 0;
  height: 0;
}

.global-nav ul li {
  display: inline;
  padding: 0;
  margin: 0;
}

.global-nav ul > li:after {
  content: " | ";
  padding: 0 8px;
}

.global-nav ul > li:first-child {
  padding-left: 0;
}



.global-nav li:last-child:after {
  content: "";
}

.global-nav > .container > .col-md-9, .global-nav > .container > .col-md-3 {
  padding-right: 0;
  padding-left: 0;
}

.global-nav, .banner {
  padding-left: 0;
  padding-right: 0;
}

.banner {
  min-height: 145px;
}
/*
a.sign-in {
  background-position: 0 4px;
  background-repeat: no-repeat;
  font-weight: normal;
  padding: 0 0 0 30px;
  text-decoration: none;
  cursor: pointer;
}
*/

.dropdown .sign-in-container {
  width: 300px;
  padding: 20px;
}

.dropdown .sign-in-container a {
  text-decoration: none;
}

.dropdown .sign-in-container > .glyphicon, #mobile-signin .glyphicon, .join-renew .glyphicon {
  font-size: 10px;
  padding-right: 3px;
  top: 0;
}

#mobile-signin {
  margin-top: 15px;
  margin-bottom: 10px;
}


/* HEADER STYLES
-------------------------------------------------- */

.jumbotron h1 {
  font-size: 3em;
}

h1.site-title {
  margin-top: 0.1em;
}


h2.site-description {
  clear:both;
}

.navbar-wrapper {
  z-index: 10;
  position: relative;
}

.navbar-default .navbar-collapse {
/*   min-height: inherit; */
  padding: 0;
}

/*
.navbar-nav {
  position: relative;
  z-index: 10;
  -webkit-transform: translate3d(0, 0, 0);
}
*/

/* make sure dropdown menu item has a higher z-index to show
   above regular menu item when dropdown is expanded
   if menu items span across 2 rows */
/*
.nav > li.dropdown {
  z-index: 11;
}
*/

.navbar-default .navbar-nav a {
  font-size: 16px;
}

/*
.dropdown-toggle {
  z-index: 10;
}
*/

.dropdown-menu {
  padding: 0;
  z-index: 100; /* make sure dropdown menu shows above other elements */
}

.dropdown.open {
  z-index: 1000
}

.dropdown-menu > li > a {
  padding: 10px 20px;
}

.list-group-item:first-child, .list-group-item:last-child {
  border-radius: 0;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
  text-decoration: none;
  outline: 0;
}

.dropdown-toggle > .dropdown-header {
  padding: 0;
}

.has-children {
  float: right;
  font-size: 12px;
  line-height: 18px;
}

/* enable hover submenu */
/*.dropdown:hover > ul.dropdown-menu{ display: block; }*/

/* for submenu dropdowns */
.dropdown-submenu {
	position:relative;
}
.dropdown-submenu>.dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: -1px;
/* 	margin-left: -1px; */
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
/*.dropdown-submenu:hover>.dropdown-menu {
	display:block;
}*/
.dropdown-submenu>a:after {
	display: block;
	content: " ";
	float: right;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	border-width: 5px 0 5px 5px;
	margin-top: 5px;
	margin-right: -10px;
}

.dropdown-submenu.pull-left {
	float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
	left: -100%;
	margin-left: 10px;
	-webkit-border-radius: 6px 0 6px 6px;
	-moz-border-radius: 6px 0 6px 6px;
	border-radius: 6px 0 6px 6px;
}

/*.dropdown-submenu:hover ul.dropdown-menu{ display: block; }*/

/*  SEARCH AND SOCIAL
-------------------------------------------------- */
div.gsc-control-searchbox-only {
  height: 34px;
}
.search, form.gsc-search-box {
  margin-bottom: 20px;
}

  /* styles for Google CS  */
  input.gsc-input {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
    width: 100% !important;
    height: 34px !important;
    padding: 6px 24px 6px 12px !important;
    font-size: 14px !important;
    line-height: 1.428571429 !important;
    background-position: 4% 50% !important;
    border-radius: 0 !important;
  }

  /*
div.gsc-clear-button {
    display: none !important;
  }
*/

  td.gsc-search-button {
    padding: 0 !important;
  }

  input.gsc-search-button {
    height: 34px !important;
    -moz-user-select: none !important;
    background-image: none !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.42857 !important;
    margin-bottom: 0 !important;
    padding: 6px 12px !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    margin-left: -1px !important;
  }

  input.gsc-search-button:focus {
    outline: thin dotted !important;
    outline: 5px auto -webkit-focus-ring-color !important;
    outline-offset: -2px !important;
  }
  input.gsc-search-button:hover,
  input.gsc-search-button:focus {
    text-decoration: none !important;
  }
  input.gsc-search-button:active,
  input.gsc-search-button.active {
    background-image: none !important;
    outline: 0 !important;
  }

  div.gsc-clear-button, td.gsc-clear-button {
    display: none !important;
/*     margin-left: -90px !important; */
  }

  input[type=text]::-ms-clear {
    display: none;
  }

  .gsc-above-wrapper-area-container > tbody > tr > td {
/*     vertical-align: bottom !important; */
  }

  div.gsc-selected-option-container {
    display: inline-block !important;
    /*
margin-bottom: 5px !important;
    margin-right: 5px !important;
*/
    font-size: 14px !important;
    font-weight: normal !important;
    line-height: normal!important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    -webkit-user-select: none !important;
       -moz-user-select: none !important;
        -ms-user-select: none !important;
         -o-user-select: none !important;
            user-select: none !important;
    background-image: none !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 3px !important;
    border-width: 1px !important;
    width: 105px !important;
  }

  div.gsc-selected-option {
    float: left !important;
    width: auto !important;
  }

  div.gsc-option-selector {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin-left: 2px !important;
/*     vertical-align: middle !important; */
    border-top: 4px solid !important;
    height: 8px !important;
    background: none !important;
    position: absolute !important;
    right: 8px !important;
    top: 14px !important;
  }

  /* Facted search styles */
  .gsc-tabHeader {
    display: inline-block !important;
    padding: 6px 12px !important;
    margin-bottom: 5px !important;
    margin-right: 5px !important;
    font-size: 14px !important;
    font-weight: normal !important;
    line-height: 1.428571429 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    -webkit-user-select: none !important;
       -moz-user-select: none !important;
        -ms-user-select: none !important;
         -o-user-select: none !important;
            user-select: none !important;
    background-image: none !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    border-radius: 3px !important;
  }

  .gsc-tabhActive {
    border-width: 1px !important;
    border-width: 1px !important;
  }

  .gsc-tabhInactive {
    border-width: 1px !important;
  }

  .gsc-tabHeader:hover,
  .gsc-tabHeader:focus,
  .gsc-tabHeader:active {
    border-width: 1px !important;
  }

  .gsc-tabsArea {
    border-bottom: none !important;
  }

  .gsc-above-wrapper-area-container {
    margin-bottom: 0 !important;
  }
/*

  .btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
  }
*/


  .gssb_c .gsc-completion-container {
    margin-top: 32px;
  }

/*
  .search-tab-wrap ul {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0;

  }

  .search-tab-wrap ul li {
    display: inline;
    margin: 0;
    padding: 0;
  }

  .search-tab-wrap ul li a.searchtab {
    border: 1px solid #000;
    margin: 0;
    padding: 10px;
  }
*/

/* search field - make sure it expands to full width (mostly for ie8) */
td.gsc-input {
  margin: 0 !important;
  padding: 0 !important;
}
#search, input.gsc-input {
  width: 100%;
}

.highlights{
  padding-bottom:20px;
}

ul.social-icons, ul.social-icons li {
  display: inline-block;
  list-style: none;
  padding: 2px 0 2px 2px;
}

ul.social-icons li:last-child, ul.social-icons, ul.social-icons li:last-child a {
  padding-right: 0px;
}

ul.social-icons li:last-child img {
  margin-right: 0px;
}

ul.social-icons li img {
  margin: 0 2px;
  width: 34px; /* force dimensions */
  height: 34px; /* force dimensions */
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
/*   max-height: 300px; */
  margin-bottom: 30px;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
}

/*  HOME PAGE STYLES
-------------------------------------------------- */
/* span.home-highlight {
  border-top:5px solid #009fda;
  padding-bottom: 5px;
  display: block;
} */

.highlights h3 {
  margin-top: 10px;
  /* border-bottom: none; */
  font-size: 1.5em;
  padding-top: 5px;
  margin-bottom: 10px;
}

/* make sure home page widget positions cannot overflow and break layout */
.col-sm-4, .col-sm-8, .col-sm-12 {
  overflow: hidden !important;
}


.hp-position img.alignnone {
  padding: 0 0 10px 0;
}

.hp-position img.alignleft {
  float: left;
  padding: 0 10px 10px 0;
}

.hp-position img.alignright {
  float: right;
  padding: 0 0 10px 10px;
}

.hp-position img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0 10px 0;
}

div.hp-widget {
  margin-bottom: 30px;
}


/*  THE WEDGE
-------------------------------------------------- */

.the-wedge-bottom {
  position: relative;
  float:right;
  width: 0px;
  height: 0px;
  margin-top: -75px;
  border-style: solid;
  border-width: 0 0 75px 75px;
}

/*  IEEE MB FOOTER STYLES
-------------------------------------------------- */
.footer {
  margin-bottom: 0;
  padding-bottom: 30px;
}

.footer p {
  font-size: 0.95em;
}

.footer p a, footer ul li a{
  text-decoration: underline;
}

.footer p a {
  padding: 0 5px;
}

.footer p a:first-child {
  padding-left: 0;
}

#ieee_mb {
  float: right;
  padding: 0.5em 0;
}

/* pull footer links inline */
footer ul {
  padding: 0;
  margin-bottom: 10px;
}

footer ul li {
  display: inline;
  padding: 0;
  margin: 0;
}

footer ul li:after {
  content: " | ";
}
footer ul li:last-child:after {
  content: "";
}


/*  PAGE STYLES
-------------------------------------------------- */
.edit-post a,.edit-post a:focus, .edit-post a:hover {
  text-decoration: none;
}
.site-content {
  margin-bottom: 30px;
  z-index: 0; /* make sure this doesn't show above dropdown menu item */
}

.breadcrumb {
  /*border-radius:0;*/
/*   margin: 20px 0; */
  /*padding: 8px 15px 8px 0;*/
}

.breadcrumb>li+li:before {
  content: "/\00a0";
  padding: 0 5px 0 10px;
}

.page-content, .front-page {
/*   padding-top: 20px; */ /* for background images */
  overflow: hidden!important;
/*   background-color: #eee; */ /* for background images */
  padding-top: 30px;
  margin-bottom: 70px;
  /*max-width: 1138px; */ /* for background images */
}

.front-page .row {
  margin-bottom: 30px;
}

.page-content h1 {
/*   border-bottom: 2px solid #009fda; */
  padding-bottom: 2px;
  margin-bottom: 20px;
  font-size: 2.56em;
}

.page-content h2 {
  font-size: 1.728em;
}

.page-content h3 {
  font-size: 1.44em;
}

.page-content h4 {
  font-size: 1.2em;
}

.page-content img {
  max-width: 100%;
  padding: 5px;
}

.page-content .alignleft {
  float: left;
}

.page-content .alignright {
  float: right;
}

.page-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-header {
  border-bottom: 0;
}

.page-content .col-md-3, .page-content .col-md-9, .page-content .col-md-12 {
  padding-bottom: 20px;
  overflow: hidden;
}

/* sidebar headers, bring to align with breadcrumb */
.page-content .col-lg-3 h1, .page-content .col-lg-3 h2, .page-content .col-lg-3 h3,
.page-content .col-lg-3 h4, .page-content .col-lg-3 h5, .page-content .col-lg-3 h6 {
  margin-top: 0;
}

/* apply bootstrap styles to wordpress tables so no classes are needed */
.page-content table {
  width: 100%;
  margin-bottom: 20px;
}

.page-content table thead {
  display: table-header-group;
  vertical-align: middle;
  border-color: inherit;
}

.page-content table > thead > tr > th, .page-content table > tbody > tr > th,
.page-content table > tfoot > tr > th, .page-content table > thead > tr > td,
.page-content table > tbody > tr > td, .page-content table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.428571429;
  vertical-align: top;
}

.page-content table > thead > tr > th {
  vertical-align: bottom;
}

.page-content table > tbody > tr > th {
  border-bottom: 0;
}

.page-content table tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}

.page-content article.post {
  margin: 0 0 60px 0;
}


.cat-links, .tags-links {
  display: block;
  clear: both;
}
.read-more {
  display: block;
  clear: both;
}

.search-results .page-content article {
  margin-bottom: 40px;
}

h4 {
  clear: both;
  margin-top: 10px;
}

.pull-left.img-pad{
  margin: 0 5px 5px 0;
}

hr.clear {
  border-top: transparent;
  padding: 10px 0;
  display: block;
  clear: both;
}

code {
  white-space: normal;
}

/*div.widgets {
  margin-top: 20px;
}*/

.widgets h3 {
  margin-top: 0px;
  /* border-bottom: none; */
  font-size: 1.5em;
  padding-top: 5px;
  margin-bottom: 10px;
}

/* first level is parent - show no bullets */
.sitemap ul > li {
  list-style-type: none;
}

/* children, show bullts */
.sitemap ul > li > ul > li {
  list-style-type: disc;
}

/* join / renew button styles */

.join-renew a.btn {
  margin-right: 10px;
}

.entry-meta {
  clear: both;
}


/*  ALL IN ONE CALENDAR OVERRIDES
-------------------------------------------------- */
.page-content .type-ai1ec_event {
  margin-bottom: 50px;
}

.ai1ec-calendar-view, .ai1ec-calendar-view table {
  max-width: 1140px;
}

.ai1ec-week-view .ai1ec-allday-events {
  max-width: 171px;
}

.ai1ec-posterboard-view .ai1ec-event-wrap {
  margin: 0 20px 20px 0;
}

.ai1ec-views-dropdown a img {
  margin: 0!important;
}
/*
.ai1ec-action-week .ai1ec-pagination a, .ai1ec-action-oneday .ai1ec-pagination a {
  width: 50%;
}

.ai1ec-prev-week, .ai1ec-next-week {
  width: 50%;
}
*/

/* upcoming events */
.ai1ec-agenda-view .ai1ec-date.ai1ec-today, .ai1ec-agenda-widget-view .ai1ec-date.ai1ec-today {
  border-top: none;
}

/*  SECONDARY NAV ADDITIONAL STYLES
-------------------------------------------------- */
.list-group > .list-group {
  margin-bottom: -1px;
}

.list-group > .list-group > a {
  padding-left: 30px;
}

/*
.list-group > .list-group > a:before {
  font-family: 'Glyphicons Halflings';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
*/
/*   content: "\e080"; */ /* chevron-right */
  /* content: "\2212"; */ /* minus */
/*   content: "\e072";*/ /* play */
/*
  font-size: 0.5em;
  padding-left: 0;
*/
/*   padding-right: 10px; */
/*
  margin-left: -10px;
  position: absolute;
  top: 15px;
*/
/*   left: 15px; */
/* } */

.list-group > .list-group > .list-group > a {
  padding-left: 40px;
}

.list-group > .list-group > .list-group > a, .list-group > .list-group > .list-group > a {
  padding-left: 50px;
}

a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
  z-index: 2;
}

/*  PAGING NAVIGATION
-------------------------------------------------- */
.nav-links {
  width: 100%;
  display: inline-block;
}

.post-navigation, .paging-navigation {
  margin: 3em 0 3em;
  display: block;
}

/*
.nav-previous, .nav-next {
  display: inline;
}
*/

/*  COMMENTS
-------------------------------------------------- */
.comment-list {
  padding-left: 0;
}
.comment-list, .comment-list .children {
  list-style-type: none;
}

.comment .comment-body {
  margin: 20px 0;
}

.avatar {
  display: inline;
}

#reply-title {
  margin-top: 40px;
}

/*  ADMIN EDIT LINKS
-------------------------------------------------- */
.edit-link {
  margin: 10px 0;
  display: block;
  clear: both;
}

/*  FORM STYLES
-------------------------------------------------- */
.gform_wrapper {

}

.gform_wrapper:before,
.gform_wrapper:after {
  display: table;
  content: " ";
}

.gform_wrapper:after {
  clear: both;
}

.gform_wrapper {
  margin-bottom: 15px;
}

.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li {
/*   margin: 0 !important; */
}

.ginput_container input, .ginput_container textarea, .ginput_container input[type=checkbox], .ginput_container input[type=radio] {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  background-image: none;
  border-radius: 4px;
/*
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
*/
  -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.ginput_container input:focus, .ginput_container textarea:focus
{
  border-color: rgba(82,168,236,.8);
  outline: 0;
  outline: thin dotted \9;
  -moz-box-shadow: 0 0 8px rgba(82,168,236,.6);
  box-shadow: 0 0 8px rgba(82,168,236,.6);
}

.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {
  line-height: 1 !important;
}

.gform_wrapper .gfield_checkbox li input[type=checkbox], .gform_wrapper .gfield_radio li input[type=radio], .gform_wrapper .gfield_checkbox li input {
  margin-left: 5px !important;
}

.gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio], .gform_wrapper.gf_browser_chrome .gfield_checkbox li input {
  margin-top: 0 !important;
}


.ginput_container input[type=checkbox], .ginput_container input[type=radio] {
  display: block;
  height: auto;
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: normal !important;
}

.ginput_container label {
  font-weight: 400;
  cursor: pointer;
  vertical-align: bottom;
}

input.gform_button, #submit {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  background-image: none;
  border-radius: 4px;
}

input.gform_button:focus, #submit:focus {
  outline: 0;
  outline: thin dotted \9;
  -moz-box-shadow: 0 0 8px rgba(82,168,236,.6);
  box-shadow: 0 0 8px rgba(82,168,236,.6);
}

input.gform_button:active, #submit:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.form-group.col-lg-6 {
  padding-left: 0;
}

/* GALLERY STYLES
-------------------------------------------------- */
.gallery a {
  cursor: default;
}

.gallery {
  margin: auto -6px;
  padding: 6px 0;
  line-height: 1;
  overflow-x: hidden;
}

.ie7 .gallery,
.ie8 .gallery {
  margin: auto;
}

.gallery .gallery-item {
  float: left;
  margin: 0;
  text-align: center;
  padding: 6px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.ie7 .gallery .gallery-item,
.ie8 .gallery .gallery-item {
  padding: 6px 0;
}

.gallery .gallery-caption,
.gallery .gallery-icon {
  margin: 0;
}

.gallery .gallery-caption {
  font-size: 13px;
  margin: 4px 0;
}

.gallery-columns-1 .gallery-item {
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  width: 50%;
}

.gallery-columns-3 .gallery-item {
  width: 33.333%;
}

.ie8 .gallery-columns-3 .gallery-item,
.ie7 .gallery-columns-3 .gallery-item {
  width: 33%;
}

.gallery-columns-4 .gallery-item {
  width: 25%;
}

.gallery-columns-5 .gallery-item {
  width: 20%;
}

.gallery-columns-6 .gallery-item {
  width: 16.665%;
}

.gallery-columns-7 .gallery-item {
  width: 14.285%;
}

.gallery-columns-8 .gallery-item {
  width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  width: 11.111%;
}

.gallery img {
  max-width: 100%;
  height: auto;
  border: none;
  padding: 0;
}

img.wp-oembed {
  border: 1px dashed #888;
  background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center;
  width: 300px;
  height: 250px;
  outline: 0;
}


/*  ADDITIONAL RESPONSIVE STYLES
-------------------------------------------------- */
@media (min-width: 767px) {
  .img-responsive {
    display: inline-block;
  }
}
@media (max-width: 1200px) {
  /* keep navigation on one line */
  .navbar-default .navbar-nav a {
    font-size: 14px;
    padding: 8px;
  }
  .dropdown-toggle:after {
    display:none;
  }

}

@media (max-width: 1042px) {
  .global-nav a {
    font-size: 12px;
  }

  a.sign-in {
    background-position: 0 2px;
  }

}

/* clear the background image */
@media (max-width: 912px) {
  /* clear the background image */
  body.custom-background {
    background-image: none !important;
  }
}

@media (max-width: 991px) {
  #content .pull-right {
    float: left !important;
    max-width: 100%;
  }

  div.widgets > hr {
    margin-top: 30px;
  }

  .widgets h3 {
    margin-top: 10px;
    /* border-bottom: none; */
    font-size: 1.5em;
    padding-top: 5px;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  /* bring content in line with body content */
  .global-nav, .footer {
    padding-right: 0;
    padding-left: 0;
  }

  .global-nav a {
    font-size: 10px;
  }

  /* reduce jumbotron banner bottom margin */
  .banner {
    margin-bottom: 10px;
  }

  /* remove container search margin */
  .search {
    margin-bottom: 0;
  }

  /* make sure we have padding to left and right of navbar elements */
  .navbar-toggle {
    margin-left: 15px;
  }

  .search-form {
    margin-right: 15px;
  }

  /* make toggle clickable with mobile search inline */
  .navbar-toggle {
    z-index: 1;
  }

  .navbar-default .navbar-collapse {
    border-bottom: none;
    max-height: none;
    clear: both;
    margin: 0 -15px;
    /* min-height: inherit; */
  }

  .navbar-nav {
    margin: 0 0 0 0;
  }

  .navbar-default .navbar-nav a {
    padding: 15px 15px;
  }

  .navbar-nav .open .dropdown-menu>li>a, .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 15px 15px 15px 35px;
  }

  .navbar-nav .open .dropdown-menu.sub-menu>li>a, .navbar-nav .open .dropdown-menu.sub-menu .dropdown-header {
    padding: 15px 15px 15px 55px;
  }

  .navbar-nav .dropdown-menu {
    padding: 0;
    z-index: 1; /* make sure dropdown menu shows above other elements */
    position: relative;
    width: 100%;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: transparent;
    border: 0;
    border: 0;
    border-radius: 0;
     -webkit-box-shadow: 0;
     box-shadow: 0;
    background-clip: padding-box;
  }

  .caret {
    display: none;
  }

  /* inline mobile search with toggle */
  .mobile-search {
    top: 8px;
    position: absolute;
    right: 0;
  }

  input.gsc-input {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
  }

  /* make sure there is spacing between search and social icons when stacked */
  ul.social-icons {
    margin-top: 10px;
  }

  .carousel-caption {
    left: 0;
    right: 0;
    padding-bottom: 0;
  }

  .hp-position {
    margin-bottom: 40px;
  }

  /* stack footer links */
  footer > ul {
    margin-bottom: 10px;
  }
  footer > ul li {
    display: list-item;
    padding: 0;
    margin: 0;
    list-style-type: none;
  }

  footer > ul li:after {
    content: "";
  }

}

/* increase global nav padding */
@media (max-width: 600px) {
  h2.site-description {
    font-size: 24px;
  }
}


@media (max-width: 540px) {
  .global-nav ul {
    padding-bottom: 30px;
  }
}
