body {
    background: url('../images/map-bg-pattern.jpg');
    color: #58595b;
}

h1 {
    color: #054372;
    font-size: 36px;
    font-weight: 100;
    line-height: 36px;
}

h2 {
    color: #054372;
    font-size: 24px;
    font-weight: 100;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

h3 {
    color: #58595b;
    font-size: 18px;
    font-weight: 100;
    line-height: 18px;
    margin: 0;
    padding: 0;
}

h4 {
    color: #58595b;
    font-size: 16px;
    font-weight: 100;
    line-height: 16px;
    margin: 0;
    padding: 0;
}

h5 {
    color: #054372;
    font-size: 14px;
    font-weight: bold;
    line-height: 14px;
    margin: 0;
    padding: 0;
}

h6 {
    color: #054372;
    font-size: 14px;
    font-weight: 300;
    line-height: 14px;
    margin: 0;
    padding: 0;
}

a {
  color: #d5137b;
}

h1 a,
h2 a,
h3 a {
  color: #d5137b !important;
}

h1 a:hover,
h2 a:hover,
h3 a:hover {
  color: #000 !important;
}

h2.home-heading {
    font-size: 24px;
    line-height: 24px;
}

h4.home-heading {
    font-size: 16px;
    padding-top: 10px;
    font-weight: 300;
    text-transform: none;
}

h4.home-heading a {
    font-weight: 400;
}

.btn-group.open .btn-primary.dropdown-toggle,
.btn-primary {
  background-color: #d5137b;
}

div.itemFullText h2 {
    padding-top: 20px;
}

div.itemFullText h3 {
    padding: 0;
}

.logo .navbar-brand {
    padding: 8px 0;
}

.header-wrapper {
    padding: 0;
}

.main-header {
    position: relative;
}

.header-wrapper .module {
    border-right: solid 1px #58595b;
    height: 60px;
}

@media screen and (min-width: 1200px) {
    .header-wrapper .module-email a {
        position: relative;
        top: 9px;
    }
}    

.module-social {
    text-align: right;
}

@media screen and (max-width: 1200px) {
    .module-social img {
        width: 30px;
        height: auto;
        margin-top: 3px;
    }
}

.module-email {
    line-height: 18px;
}

.module-email img {
    width: 36px;
    float: left;
    margin-right: 12px;
}

.module-email p {
    margin-left: 10px;
}

.module-login {
    text-align: center;
    padding-top: 16px;
}

.module-login .logout-button .btn {
    padding: 5px;
}

.header-wrapper .module.module-login {
    padding: 15px 10px;
}

.module-cart {
    padding-top: 15px;
}

.module-cart img {
    width: 24px;
}

.module-search {
    clear: both;
    margin-top: 20px;
}

.search-module input.button{
    height: 0;
    width: 0;
    padding: 14px;
    background-color: #f1f1f2;
    background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 5px;
    border: solid 1px #d5137b;
    border-right: 0;
    display: inline-block;
    float: right;
}

.search-module input.inputbox{
    display: inline-block;
    float: right;
    border: solid 1px #d5137b;
    height: 30px;
    padding-left: 5px;
}

#searchForm .radio input[type="radio"],
#searchForm .radio input[type="checkbox"] {
    margin-left: -20px;
    margin-top: 7px;
}

#searchForm label.radio,
#searchForm label.checkbox {
    padding-left: 20px;
}


.header-wrapper .module-cart,
.header-wrapper .module-spacer {
    border: none;
}

.menu-wrapper {
    background: url('../images/menubg.png');
    background-color: #d5137b;
    border: none;
    padding: 0 20px;
}

.navbar-collapse {
    width: 100%;
}

.navbar-nav.main-menu {
    min-width: 50%;
}

.navbar-nav > li > a {
    color: #fff;
    padding-top: 6px;
    padding-bottom: 6px;
}

.mobile-extra-links {
    position: absolute;
    right: 0px;
    bottom: 10px;
    font-size: 18px;
}

@media screen and (max-width: 767px) {
    .mobile-extra-links {
        right: auto;
        left: 25px;
        bottom: 33px;
    }
}    

.footer .navbar-nav {
    margin-bottom: 10px;
}

.footer .navbar-nav > li > a {
    color: #fff;
}

.footer .navbar-nav > li > a:hover,
.footer .navbar-nav > li > a:focus {
    background: none;
    color: #f4c4de;
}

.footer .module ul.nav > li.active > a {
    background: none;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .navbar-nav > li > a {
        color: #58595b;
    }

    .navbar-nav > li.active > a {
        color: #d5137b;
    }

    .footer .navbar-nav > li.active > a {
        color: #fff;
    }
}

.menu-wrapper .navbar-nav > li > a:hover,
.menu-wrapper .navbar-nav > li.active > a,
.menu-wrapper .navbar-nav > li.parent:hover > a,
.menu-wrapper .navbar-nav > li.active.parent > a,
.menu-wrapper .navbar-nav > li > span.separator:hover,
.menu-wrapper .navbar-nav > li.active > span.separator,
.menu-wrapper .navbar-nav > li.parent:hover > span.separator,
.menu-wrapper .navbar-nav > li.active.parent > span.separator {
    background: #d5137b;
}

.navbar-toggle {
    background: #fff;
}

.navbar-toggle .icon-bar {
    background-color: #054372;
}

@media (min-width: 768px) and (max-width: 867px) {
    ul li.dropdown-submenu:hover ul.dropdown-menu {
        left: auto;
        right: 150px;
    }
} 

@media (min-width: 992px) and (max-width: 1100px) {
    ul li.dropdown-submenu:hover ul.dropdown-menu {
        left: auto;
        right: 150px;
    }
}  

@media (min-width: 1200px) and (max-width: 1300px) {
    ul li.dropdown-submenu:hover ul.dropdown-menu {
        left: auto;
        right: 150px;
    }
}    

.content-wrapper {
    background: #fff;
    padding: 20px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content-wrapper div.itemView {
    border: none;
}

#k2Container .itemBackToTop {
  display: none;
}

#above-content .module.box1 {
    padding: 0;
}

.form-group.rsform-block.rsform-block-intro,
#rsform_6_page_0.form-horizontal .form-group {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.k2AccountPage table {
    border-spacing: 15px;
    border-collapse: separate;
}

.k2AccountPage #description_tbl table {
    border-spacing: 0px;
}

.k2AccountPage td {
    font-size: 14px;
    padding: 0px 10px;
}

.k2AccountPage #tos label {
    padding-right: 50px;
}

.sidebar-right {
    padding-top: 40px;
}

.sidebar-item {
    background: #f1f1f2;
    border: solid 1px #f4c4de;
    padding: 20px;
    display: block;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
}

.sidebar-item p {
    margin-top: 0px;
}

.sidebar-item a {
    font-weight: bold;
    font-size: 18px;
}

.sidebar-item.join-society img,
.sidebar-item.email-updates img,
.sidebar-item.mayflower-quarterly img,
.sidebar-item.tcoas-promo img {
    float: left;
    margin-right: 20px;
}

.sidebar-item.shop-promo,
.sidebar-item.books-promo  {
    text-align: center;
    font-size: 16px;
}

.sidebar-item.donate p {
    text-align: center;
    font-size: 24px;
    text-transform: capitalize;
    margin: 20px;
}

.sidebar-item.donate p:first-child {
    background: #d5137b;
    padding: 10px 20px;
} 

.sidebar-item.donate a {
    text-align: center;
    color: #fff;
    font-size: 24px;
}

.sidebar-item.social-links p {
    font-size: 24px;
    text-align: center;
}

.sidebar-item.social-links img {
    margin: 5px 5px 0px;
}

.gsmd-library-home-module {
    text-align: center;
}

.gsmd-library-home-module img {
    padding: 0px;
}

.image-promos a {
    display: block;
    margin: 20px 0;
}

.image-promos img {
    display: block;
    margin: auto;
}

div.itemFullText img,
div.itemIntroText img,
div.catItemIntroText img {
    padding: 0px 10px 10px 0px;
}

.itemFullText li {
    margin-left: 10px;
}

.footer {
    background-color: #054372;
}

.footer .badges {
    margin: auto;
    max-width: 247px;
}

.footer .badges img {
    margin: 11px;
}

.footer p {
    color: #fff;
    line-height: 12px;
}

@media screen and (max-width:700px) {
    .footer p {
        line-height: 24px;
    }   
}


.footer-menu.col-xs-12 {
    padding-left: 0;
    padding-right: 0;
}

.footer-menu.module ul.nav > li {
    border: none;
    width: auto;
}

.footer a {
    color: #fff;
}

.vm-pagination {
  float: none;
  width: 100%;
  padding-top: 20px;
}

.vm-pagination ul {
    float: left;
}

.vm-page-counter {
  float: none;
}

.vm-pagination-top {
  display: none;
}

div.product {
    margin: 0px;
}

.vm-product-media-container {
    min-height: 100px;
}

@media screen and (max-width:800px) {
    div.product {
        width: 100% !important;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    div.product {
        min-width: 0px !important;
    }

    div.product .vm-product-descr-container-0 {
        min-height: 100px;
    }
}

.vm-product-descr-container-1 > h2, 
.vm-product-descr-container-0 > h2 {
    font-size: 18px !important;
    font-weight: bold;
}

.product-price {
    text-align: center !important;
    float: none !important;
}

.product-price .PricesalesPrice {
    font-size: 18px !important;
    margin-top: 20px;
}

.orderlistcontainer .title {
    float: left;
    position: relative;
    top: 3px;
    padding-right: 5px;;
}

.orderlistcontainer div.activeOrder {
    float: right;
}

div.k2Pagination .clr {
    clear: none;
}

div.k2Pagination ul li {
    display: inline-block;
    padding: 4px 8px !important;
    margin: 0 8px !important;
    border: 1px solid #ddd;
    border-radius: 0px !important;
    vertical-align: middle;
    background: #fff;
    text-decoration: none;
    float: left;
}

div.k2Pagination ul li a {
    padding: 0px !important;
    border: none !important;
}


#fancybox-content {
  padding: 30px;
  background: #fff;
}

@media only screen and (max-width: 500px) {
  aside.sidebar-right {
    padding-top: 0;
  }
  .vm-pagination.vm-pagination-bottom {
        margin-bottom: 35px;
  }
}
