@import url('https://fonts.googleapis.com/css?family=Montserrat');

body {
  font-family: 'Montserrat', sans-serif;
  background: #2f4050;
}

button,
input,
select,
textarea,
.navbar,
.btn,
#foot {
  font-family: 'Montserrat', sans-serif;
}

a {color:#369;}
a:hover {color:#2f4050;font-weight:bold;}

a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none !important;
}

header {padding:20px 0 0;}
.wrap {background: #f3f3f4;box-shadow: 0 0 15px #000;margin-top:30px;margin-bottom:30px;}
h1, h2, h3, h4, h5, h6, legend {
  font-family: 'Montserrat', sans-serif;
  color: #676a7d;
}

/* User Control Panel title is the site-wide maximum title size. */
h1,
.h1,
.display-1,
.display-2,
.display-3,
.display-4,
.page-title,
.content-title,
.modal-title,
.card-title,
.jumbotron h1 {
  font-size: 24px !important;
  line-height: 1.25 !important;
}

h2,
.h2,
legend {
  font-size: 22px !important;
  line-height: 1.3 !important;
}

h3,
.h3 {
  font-size: 20px !important;
  line-height: 1.35 !important;
}

h4,
.h4 {
  font-size: 18px !important;
  line-height: 1.4 !important;
}

h5,
.h5 {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

h6,
.h6 {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

/* Keep the main User Control Panel-style page title as the maximum. */
main h1,
main .h1,
#user_cp_content > div > h2 {
  font-size: 24px !important;
  line-height: 1.25 !important;
}

/* Fluid video/img */
.video-fluid,
.site-image-container video:not(.video-fluid) {
  max-width: 100%;
}
.img-fluid,
.site-image-container img:not(.img-fluid) {  
  height: auto;
} 
@supports (--custom:property) {
	
	.site-image-container {
		position: relative;
		display: block;
		max-width: var(--site-image-aspect-base);
	}
	.site-image-container::before {
		content: "";
		display: block;
		padding-bottom: calc(100% / (var(--site-image-aspect-ratio)));
	}  
	.site-image-container img,
	.site-image-container video {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		object-fit: fill;
	}  
}

input.error {border:1px solid red}

.bg-light {
    background-color: #fafafa !important;
}
.bg-dark {
  background:#369 !important;
}
.pagination {margin-top:30px;}
.rankbox {
  border:2px solid #fff;
  box-shadow: 0 0 2px #ccc;
  padding: 0 15px 17px 15px;
  margin-bottom: 10px;
  background:#fafafa;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f2f9fe+42,d6f0fd+100 */
  background: #f2f9fe; /* Old browsers */
  background: -moz-linear-gradient(top,  #f2f9fe 42%, #d6f0fd 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #f2f9fe 42%,#d6f0fd 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #f2f9fe 42%,#d6f0fd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f9fe', endColorstr='#d6f0fd',GradientType=0 ); /* IE6-9 */


}
.lower_rankbox {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f2f9fe+42,d6f0fd+100 */
  background: #f2f9fe; /* Old browsers */
  background: -moz-linear-gradient(top,  #f2f9fe 42%, #d6f0fd 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #f2f9fe 42%,#d6f0fd 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #f2f9fe 42%,#d6f0fd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f9fe', endColorstr='#d6f0fd',GradientType=0 ); /* IE6-9 */
  border:1px solid #ccc;
  border-bottom:0;
  padding:0 15px 17px 15px;
}
.lower_rankbox:last-child{
    border-bottom:1px solid #ccc;
}


.premium {
  border:5px solid #ffdc1d;
  background:#fff4b5;
}



.rankbox p, .lower_rankbox p {margin:12px 0;height:78px;overflow:hidden;}
.lower_rankbox .rank {font-size:200%;text-align:center;color:#2f4050;}
.rank span {background:#fff;padding:9px;border:2px solid #daf1fd;border-radius:5px;}
.rankshot {
  border:8px solid #f2f2f2;filter: grayscale(1);
  box-shadow: 0 0 3px #ccc;
  transition: 1s;
}
.rankshot:hover {
  transition: 1s;
  filter: grayscale(0);
  box-shadow: 0 0 7px #000;
}

p.rank {margin-bottom: 0}


.titlebar .badge,.titlebar2 .badge {font-weight: 400;}
.titlebar {border-bottom:1px solid #f3f3f4;padding:5px;margin-bottom:5px;font-size:100%;background:#2f4050;}
.titlebar2 {background:#2f4050;padding:5px 0;margin-bottom:5px;color:#ccc;}

.titlebar,.titlebar a,.titlebar2 a{color:#ccc;}
.titlebar a:hover,.titlebar2 a:hover{color:#fff;transition: 1s;}

.smallish {background:#f2f2f2;padding:15px;border:1px solid #f0f0f0;}
.smallish img {width: 100%}
.tablecat {text-align:right;}
ul, ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.list1,ul.category_menu {
  margin-bottom:20px;
}
.list1 li a,ul.category_menu li a{
  display:block;
  padding:5px 10px;
  border-bottom:1px solid #f2f2f2;
  background:#fff;
  transition: 0.6s;
}
ul.list1 li:last-child,ul.category_menu li:last-child{

}
.list1 li a:hover,ul.category_menu a:hover {
  background:#f8f8f8;
  text-decoration:none;
    transition: 0.6s;
}
#foot {background:#05131f;
  margin-top:30px;
  padding-top:50px;
  padding-bottom:30px;
  color:#ccc;
}
#foot h1,#foot h2,#foot h3,#foot h4 {
  color:#fff;
  font-size:19px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
}
#foot .vms-footer-statistics-link {
  color: inherit;
  text-decoration: none;
}
#foot .nav  {
  display:block;
}


#usermenu a {padding:4px;font-size:96%;}
.heading{
  font-size:17px !important;
  padding:10px 5px 10px 10px;
  margin:0;
  border-bottom:1px solid #f2f2f2;
  background:#2f4050;
  color:#fff;
}
.sidelist {background:#fff;padding:5px;}
.sidelist li {text-align:center;margin-bottom:20px;}
.navbar {margin-bottom:0px;}
main {margin-top:20px;}


@media only screen and (max-width: 768px) {
.rankshot {display:none;}
.titlebar,.tablecat,.rankbox {text-align:center;}
.sidebar {margin-top:60px;}
.lower_rankbox {text-align:center;}
.rank {display:none}
}

/* Form elements */
.g-recaptcha ~ .invalid-feedback {
    display: block;
}
.form-check ~ .invalid-feedback,
.custom-control ~ .invalid-feedback {
  display: block;
}

/* Payment providers */
.payment-provider::before {
    position: absolute;
    right: -15px;
    top: -15px;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    content: "";
    z-index: 998;
    opacity: 0;
}
.payment-provider.selected {
    border-color: #1ea01e;
    background: rgba(30,160,30,.3);
}
.payment-provider.selected::after {
    position: absolute;
    right: -12px;
    top: -12px;
    color: #fff;
    text-align: center;
    background: #1ea01e;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    content: "✓";
    z-index: 999;
}
/* Listing controls: center the left rank area and enlarge requested controls on hover */
.rankbox > .row:not(.titlebar) > .col-md-2,
.lower_rankbox > .row:not(.titlebar2) > .col-md-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rankbox .rank span,
.lower_rankbox .rank span,
.rankbox .badge-success,
.lower_rankbox .badge-success,
.rankbox .tablecat .badge,
.lower_rankbox .tablecat .badge,
.rankbox .site-image-container img[src$="/images/visit.png"],
.lower_rankbox .site-image-container img[src$="/images/visit.png"] {
  display: inline-block;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.rankbox .rank span:hover,
.lower_rankbox .rank span:hover,
.rankbox .badge-success:hover,
.lower_rankbox .badge-success:hover,
.rankbox .tablecat .badge:hover,
.lower_rankbox .tablecat .badge:hover,
.rankbox .site-image-container img[src$="/images/visit.png"]:hover,
.lower_rankbox .site-image-container img[src$="/images/visit.png"]:hover {
  transform: scale(1.15);
}

.vms-listing-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.vms-rate-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 1px 8px 1px 6px;
  background: #17a2b8;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

.vms-rate-review-button:hover,
.vms-rate-review-button:focus {
  background: #138496;
  color: #fff !important;
  transform: scale(1.15);
}

.vms-rate-review-button i {
  margin-right: 4px;
}

.rankbox > .row:not(.titlebar) .badge-primary i,
.lower_rankbox > .row:not(.titlebar2) .badge-primary i,
.rankbox .tablecat .badge-primary i,
.lower_rankbox .tablecat .badge-primary i {
  margin-right: 0;
}

#foot .badge-primary i {
  margin-right: 0;
}

/* Member detail controls, footer Info button, and combined rank/vote control */
.member-detail-visit,
#social_block .btn-success,
#foot .badge-primary {
  transition: transform 0.2s ease;
  transform-origin: center;
}

.member-detail-visit:hover,
#social_block .btn-success:hover,
#foot .badge-primary:hover {
  transform: scale(1.15);
}

.rank-vote-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.rank-vote-link .rank {
  display: block;
  margin: 0;
  font-size: 200%;
  line-height: 1;
  text-align: center;
  color: #2f4050;
}

.rank-vote-link .badge-success {
  display: block;
  margin-top: -1px;
}

.rank-vote-link .rank span,
.rank-vote-link .rank span:hover,
.rank-vote-link .badge-success,
.rank-vote-link .badge-success:hover {
  transform: none;
}

.rank-vote-link:hover {
  transform: scale(1.15);
}

/* MASTER PAGE-TITLE STYLE: exactly matches the User Control Panel title. */
main h1,
main .h1,
main legend,
main .page-title,
main .content-title,
main .modal-title,
main .jumbotron h1,
main #user_cp_content > div > h2,
main .vms-how-it-works > h1,
main .vms-legal > h1,
main .vms-section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
}

/* Overall Stats active period tab: match the site's dark-blue buttons. */
#stats-tabs .nav-pills .nav-link.active,
#stats-tabs .nav-pills .show > .nav-link {
  background-color: #336699 !important;
  border-color: #336699 !important;
  color: #fff !important;
}

/* Footer featured-member listing title: smaller than its section heading. */
#foot h4 {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

/* Listing Unique Votes badge: match the site's dark-blue buttons. */
.rankbox > .row:not(.titlebar) .badge-primary,
.lower_rankbox > .row:not(.titlebar2) .badge-primary {
  background-color: #336699 !important;
  border-color: #336699 !important;
  color: #fff !important;
}

/* VoteMySite mobile application layout */
.vms-main-nav .navbar-nav .vms-add-site-link {
  color: #fff !important;
  font-weight: 700 !important;
}


.vms-mobile-appbar,
.vms-mobile-nav-extras,
.vms-sidebar-toggle {
  display: none;
}

@media (max-width: 991.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #eef2f6;
  }

  .vms-page-shell {
    width: 100%;
    margin: 0;
    padding: 0 12px 18px;
    background: #f6f8fa;
    box-shadow: none;
  }

  .vms-site-header {
    padding-top: 0;
  }

  .vms-desktop-header {
    display: none !important;
  }

  .vms-mobile-appbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 68px;
    margin: 0 -12px;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #d9e1e8;
    box-shadow: 0 3px 12px rgba(30, 55, 80, .10);
  }

  .vms-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #d5dee7;
    border-radius: 10px;
    background: #f5f8fb;
    cursor: pointer;
  }

  .vms-mobile-menu-toggle .navbar-toggler-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background: #336699;
    background-image: none;
    border-radius: 2px;
  }

  .vms-mobile-menu-toggle .navbar-toggler-icon::before,
  .vms-mobile-menu-toggle .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #336699;
    border-radius: 2px;
  }

  .vms-mobile-menu-toggle .navbar-toggler-icon::before {
    top: -7px;
  }

  .vms-mobile-menu-toggle .navbar-toggler-icon::after {
    top: 7px;
  }

  .vms-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  .vms-mobile-logo img {
    display: block;
    width: min(230px, 58vw);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .vms-mobile-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 9px;
    background: #336699;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
  }

  .vms-main-nav {
    min-height: 0;
    margin: 0 -12px;
    padding: 0;
    background: transparent !important;
  }

  .vms-main-navbar-toggler {
    display: none !important;
  }

  .vms-main-nav .navbar-collapse {
    margin: 10px 12px 0;
    padding: 8px;
    border: 1px solid #d9e1e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 55, 80, .12);
  }

  .vms-main-nav .navbar-nav {
    width: 100%;
  }

  .vms-main-nav .navbar-nav .nav-item {
    width: 100%;
  }

  .vms-main-nav .navbar-nav .nav-link,
  .vms-main-nav .navbar-nav .vms-add-site-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 13px;
    border-bottom: 1px solid #edf1f4;
    border-radius: 8px;
    color: #263746 !important;
    font-size: 16px;
    font-weight: 500;
    transition: background-color .15s ease, color .15s ease;
  }

  .vms-main-nav .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: 0;
  }

  .vms-main-nav .navbar-nav .nav-link:hover,
  .vms-main-nav .navbar-nav .nav-link:focus {
    background: #eef5fb;
    color: #234f78 !important;
  }

  .vms-main-nav .navbar-nav .vms-add-site-link {
    background: #eef5fb;
    color: #234f78 !important;
    font-weight: 700;
  }

  .vms-main-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    margin: 10px 0 0 !important;
    padding: 8px 4px 4px;
  }

  .vms-main-search .form-control {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
  }

  .vms-main-search .btn {
    margin: 0 !important;
  }

  .vms-mobile-nav-extras {
    display: block;
    margin-top: 10px;
    padding: 12px 8px 6px;
    border-top: 1px solid #e3e9ee;
  }

  .vms-mobile-welcome {
    margin-bottom: 8px;
    color: #263746;
    font-size: 14px;
    font-weight: 700;
  }

  .vms-mobile-welcome:empty,
  .vms-mobile-create-account:empty {
    display: none;
  }

  .vms-mobile-create-account .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .vms-mobile-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .vms-mobile-legal-links a {
    color: #52697c;
    font-size: 12px;
    font-weight: 500;
  }

  /* Replace the second hamburger with horizontally scrollable account tools. */
  .vms-site-header > .navbar-light.bg-light {
    margin: 10px 0 0;
    padding: 8px;
    overflow: hidden;
    border: 1px solid #dce4ea;
    border-radius: 12px;
    background: #fff !important;
  }

  .vms-site-header > .navbar-light.bg-light > .navbar-toggler {
    display: none !important;
  }

  #usermenu.collapse,
  #usermenu.collapsing {
    display: block !important;
    height: auto !important;
  }

  #usermenu .usermenu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    padding: 0 0 3px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #usermenu .usermenu::-webkit-scrollbar {
    display: none;
  }

  #usermenu .usermenu .nav-link {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  #usermenu .usermenu .nav-link a {
    display: block;
    min-height: 40px;
    padding: 10px 13px;
    border: 1px solid #d9e3eb;
    border-radius: 999px;
    background: #f4f7fa;
    color: #336699;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
  }

  #usermenu .usermenu .nav-link a:hover,
  #usermenu .usermenu .nav-link a:focus {
    background: #336699;
    color: #fff;
  }

  main {
    margin-top: 14px;
  }

  main img,
  main video,
  main iframe,
  main canvas,
  main svg {
    max-width: 100%;
  }

  main canvas,
  main svg {
    height: auto !important;
  }

  main table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  main input,
  main select,
  main textarea,
  main .form-control {
    max-width: 100%;
  }

  .vms-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin: 0 0 10px;
    border: 1px solid #2b5d89;
    border-radius: 10px;
    background: #336699;
    color: #fff;
    font-weight: 700;
  }

  .vms-sidebar-toggle:hover,
  .vms-sidebar-toggle:focus {
    background: #294f75;
    color: #fff;
  }

  .vms-sidebar-content {
    padding: 8px;
    border: 1px solid #dce4ea;
    border-radius: 12px;
    background: #fff;
  }

  .vms-sidebar-content .heading {
    margin-top: 10px;
    border-radius: 8px 8px 0 0;
  }

  .vms-sidebar-content .heading:first-of-type {
    margin-top: 0;
  }

  .vms-sidebar-content ul.list1,
  .vms-sidebar-content ul.category_menu {
    margin-bottom: 10px;
  }

  #foot {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .vms-page-shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .vms-mobile-appbar,
  .vms-main-nav {
    margin-right: -10px;
    margin-left: -10px;
  }

  main > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .vms-main-content,
  .sidebar {
    padding-right: 0;
    padding-left: 0;
  }

  .sidebar {
    margin-top: 18px;
  }

  main h1,
  main .h1,
  main legend,
  main .page-title,
  main .content-title,
  main .modal-title,
  main .jumbotron h1,
  main #user_cp_content > div > h2,
  main .vms-how-it-works > h1,
  main .vms-legal > h1,
  main .vms-section-title {
    font-size: 22px !important;
  }

  .rankbox,
  .lower_rankbox {
    margin: 0 0 14px;
    padding: 0 0 14px;
    overflow: hidden;
    border: 1px solid #cfdbe5;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(34, 65, 91, .08);
    text-align: left;
  }

  .rankbox > .row,
  .lower_rankbox > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .rankbox .titlebar,
  .lower_rankbox .titlebar2 {
    display: block;
    margin: 0;
    padding: 10px 12px;
    text-align: left;
  }

  .rankbox .titlebar > [class*='col-'],
  .lower_rankbox .titlebar2 > [class*='col-'] {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .rankbox .titlebar strong,
  .lower_rankbox .titlebar2 strong {
    display: block;
    font-size: 15px;
    line-height: 1.4;
  }

  .rankbox .tablecat,
  .lower_rankbox .tablecat {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 8px;
    text-align: left;
  }

  .rankbox .tablecat a,
  .lower_rankbox .tablecat a {
    display: inline-flex;
  }

  .rankbox > .row:not(.titlebar),
  .lower_rankbox > .row:not(.titlebar2) {
    display: block;
  }

  .rankbox > .row:not(.titlebar) > .col-md-2,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-2 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px 0;
  }

  .rankbox > .row:not(.titlebar) > .col-md-10,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-10 {
    width: 100%;
    max-width: 100%;
    padding: 6px 14px 0;
    text-align: left;
  }

  .rank-vote-link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
  }

  .rank-vote-link .rank {
    display: block;
    font-size: 150%;
  }

  .rank-vote-link .rank span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    padding: 6px;
  }

  .rank-vote-link .badge-success {
    margin-top: 0;
    padding: 7px 9px;
    font-size: 13px;
  }

  .rankbox p,
  .lower_rankbox p {
    margin: 8px 0 12px;
    line-height: 1.55;
    text-align: left;
  }

  .rankbox .site-image-container,
  .lower_rankbox .site-image-container {
    display: block;
    max-width: 100% !important;
    overflow: hidden;
  }

  .rankbox > .row:not(.titlebar) > .col-md-10 > .badge,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-10 > .badge,
  .rankbox > .row:not(.titlebar) > .col-md-10 > a,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-10 > a {
    margin-top: 4px;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 4px;
  }

  #foot {
    padding: 30px 14px 20px;
  }

  #foot .container-fluid {
    padding: 0;
  }

  #foot .row {
    margin-right: 0;
    margin-left: 0;
  }

  #foot .row > [class*='col-'] {
    width: 100%;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 0;
    text-align: left !important;
  }

  #foot h1,
  #foot h2,
  #foot h3,
  #foot h4 {
    margin-bottom: 10px;
  }

  #foot li {
    margin-bottom: 6px;
    line-height: 1.45;
  }

  #foot .footer-bottom-links {
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  #foot .footer-bottom-links .col-12,
  #foot .footer-bottom-links hr {
    display: none;
  }

  #foot .footer-bottom-links > div {
    margin-bottom: 12px;
    text-align: center !important;
  }

  #foot .footer-bottom-links small {
    display: block;
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .vms-mobile-appbar {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 6px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .vms-mobile-logo img {
    width: min(190px, 52vw);
  }

  .vms-mobile-account-button {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 13px;
  }

  .vms-main-search {
    grid-template-columns: 1fr;
  }

  .vms-main-search .btn {
    width: 100%;
  }
}
.vms-site-stats-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vms-site-stats-breadcrumb-trail {
  min-width: 0;
}

.vms-site-stats-breadcrumb-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  white-space: nowrap;
  position: relative;
  left: 3px;
}

.vms-site-stats-breadcrumb-actions > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.vms-site-stats-breadcrumb-actions > *:not(:last-child) {
  position: relative;
  left: 1px;
}

.vms-site-stats-breadcrumb-actions .vms-site-vote-button {
  margin: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.vms-site-stats-breadcrumb-actions .vms-site-vote-button .badge-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 21px;
  padding: 2px 6px;
  line-height: 16px;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.vms-site-stats-breadcrumb-actions .vms-site-vote-button .badge-success i {
  margin-right: 2px;
}

.vms-site-stats-breadcrumb-actions .vms-site-vote-button:hover .badge-success,
.vms-site-stats-breadcrumb-actions .vms-site-vote-button:focus .badge-success {
  transform: scale(1.15);
}

.vms-site-breadcrumb-visit {
  display: inline-flex;
  align-items: center;
}

.vms-site-breadcrumb-visit img {
  display: block;
  width: 111px;
  height: 20px;
}

/* Compact site statistics header and summary layout. */
.vms-site-stats-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
}

.vms-site-stats-title {
  min-width: 0;
  margin: 0 !important;
}

.vms-site-stats-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 9px;
  margin-left: auto;
  white-space: nowrap;
}

.vms-site-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-left: 4px solid #336699;
  border-radius: 4px;
}

.vms-site-score-label {
  color: #336699;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.vms-site-score-value {
  color: #28a745;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.vms-site-score-icon {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  object-fit: contain;
  vertical-align: middle;
}

.vms-site-statistics-heading {
  display: inline-block;
  margin-top: 26px;
  margin-bottom: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid #336699;
  font-weight: 700;
  text-decoration: none;
}

.vms-site-vote-button {
  white-space: nowrap;
}

.vms-site-visit-button {
  flex: 0 0 auto;
}

.vms-site-summary-row {
  align-items: flex-start;
  margin-bottom: 8px;
}

.vms-site-rating-panel {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 4px;
}

.vms-site-rating-panel h2 {
  margin: 12px 0 8px;
  font-size: 20px !important;
}

.vms-site-rating-image {
  display: block;
  margin-top: 7px;
}

#foot .vms-footer-navigation li {
  width: 100%;
}

#foot .vms-featured-member + .vms-featured-member {
  margin-top: 18px;
}

@media (max-width: 991.98px) {
  .vms-site-stats-header {
    grid-template-columns: 1fr;
  }

  .vms-site-stats-actions {
    justify-content: flex-start;
    margin-left: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .vms-site-stats-breadcrumb {
    align-items: flex-start;
    flex-direction: column;
  }

  .vms-site-stats-breadcrumb-actions {
    margin-left: 0;
  }

  .vms-site-rating-panel {
    margin-top: 14px;
  }
}


/* V9: site statistics alignment and footer layout. */
.vms-site-stats-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vms-site-stats-title {
  flex: 1 1 auto;
}

.vms-site-stats-actions {
  flex: 0 0 calc(33.333333% - 20px);
  width: calc(33.333333% - 20px);
  min-width: 280px;
}

.vms-site-score-badge {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

#stats-tabs .nav-pills {
  width: 100%;
}

#stats-tabs .nav-pills .nav-item {
  flex: 1 1 0;
}

#stats-tabs .nav-pills .nav-link {
  display: block;
  width: 100%;
  text-align: center;
}

#foot {
  padding: 42px 0 24px;
}

@media (min-width: 992px) {
  .vms-main-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 332px;
    margin-left: auto !important;
  }

  .vms-main-search .form-control {
    width: 100%;
    min-width: 0;
    margin-right: 0 !important;
  }
}

.vms-highlighted-member-box {
  border: 1px solid #17a2b8;
  background: #fff6cc;
  padding: 12px;
  border-radius: 3px;
  height: 176px;
  min-height: 176px;
  max-height: 176px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.vms-highlighted-member-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 12px;
}

.vms-highlighted-member-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.vms-highlighted-member-title-row > a:first-child {
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.vms-highlighted-member-title-row + div {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.vms-highlighted-member-vote {
  flex: 0 0 auto;
  margin-left: auto;
}

.vms-highlighted-member-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.vms-highlighted-member-visit {
  display: inline-block;
  line-height: 0;
}

.vms-highlighted-member-visit img {
  display: block;
  height: 20px;
  width: auto;
}

.vms-highlighted-member-actions .vms-recommend-site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin: 0;
}

.vms-highlighted-member-actions .vms-recommend-site-button .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  box-sizing: border-box;
  line-height: 16px;
  vertical-align: middle;
}

.vms-highlighted-member-info {
  display: inline-block;
  line-height: 1;
  margin-right: 0;
}

.vms-highlighted-member-info .badge-primary i,
.vms-highlighted-member-vote .badge-success i {
  margin-right: 2px;
}

.vms-highlighted-member-vote .badge-success,
.vms-highlighted-member-info .badge-primary,
.vms-highlighted-member-visit img,
.vms-highlighted-member-actions .vms-recommend-site-button .badge,
.vms-newest-member-info .badge-primary {
  transition: transform 0.2s ease;
  transform-origin: center;
}

.vms-highlighted-member-vote:hover .badge-success,
.vms-highlighted-member-vote:focus .badge-success,
.vms-highlighted-member-info:hover .badge-primary,
.vms-highlighted-member-info:focus .badge-primary,
.vms-highlighted-member-visit:hover img,
.vms-highlighted-member-visit:focus img,
.vms-highlighted-member-actions .vms-recommend-site-button:hover .badge,
.vms-highlighted-member-actions .vms-recommend-site-button:focus .badge,
.vms-newest-member-info:hover .badge-primary,
.vms-newest-member-info:focus .badge-primary {
  transform: scale(1.15);
}

#foot .vms-footer-container {
  width: calc(100% - 48px);
  max-width: 1480px;
  margin: 0 auto;
}

#foot .vms-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) minmax(150px, .8fr) minmax(210px, 1.08fr) minmax(210px, 1.08fr) minmax(185px, .9fr);
  align-items: start;
  column-gap: 34px;
}

#foot .vms-footer-brand,
#foot .vms-footer-section {
  min-width: 0;
}

#foot .vms-footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

#foot .vms-footer-logo img {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
}

#foot .vms-footer-brand p {
  margin: 0;
  color: #ccc;
  font-size: 14px;
  line-height: 1.65;
}

#foot .vms-footer-grid h3 {
  margin: 0 0 13px;
}

#foot .vms-footer-grid li {
  margin-bottom: 5px;
  line-height: 1.45;
}

#foot .footer-bottom-links {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}

#foot .footer-bottom-links small {
  display: block;
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  #foot .vms-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 30px;
  }

  #foot .vms-footer-brand {
    grid-column: span 1;
  }
}

@media (max-width: 767.98px) {
  .vms-site-stats-header {
    display: block;
  }

  .vms-site-stats-actions {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
  }

  #foot {
    padding: 30px 14px 20px;
  }

  #foot .vms-footer-container {
    width: 100%;
  }

  #foot .vms-footer-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  #foot .vms-footer-logo img {
    width: 230px;
  }

  #foot .footer-bottom-links {
    margin-top: 22px;
  }
}

/* V31: uniform compact page-title scale. Page titles never exceed sidebar section headings. */
main h1,
main .h1,
main legend,
main .page-title,
main .content-title,
main .modal-title,
main .jumbotron h1,
main .vms-how-it-works > h1,
main .vms-legal > h1,
main .vms-section-title,
main #user_cp_content > div > h2 {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
}

/* Secondary headings are deliberately smaller than page titles. */
main h2,
main .h2 {
  font-size: 18px !important;
  line-height: 1.35 !important;
}

main h3,
main .h3 {
  font-size: 17px !important;
  line-height: 1.4 !important;
}

/* User Control Panel page headings are page titles, not secondary headings. */
main #user_cp_content > div > h2 {
  font-size: 20px !important;
  line-height: 1.3 !important;
}

/* Legal-page section subtitles use the smaller hierarchy. */
main .vms-legal h2 {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

main .vms-legal h3 {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

main .vms-how-it-works h2,
main .vms-faq h2 {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

main .vms-how-it-works h3,
main .vms-faq .vms-faq-item h3 {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

main .vms-section-title {
  margin-top: -10px !important;
  margin-bottom: 10px !important;
}

main .vms-how-summary strong,
main .vms-legal-summary strong,
main .vms-how-toc strong,
main .vms-how-step strong,
main .vms-how-faq-item strong {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

/* Site Info title: preserve original size and center vertically with VoteMySite Score card. */
main .vms-site-stats-title {
  font-size: 20px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
