﻿/*-----Directory styles-----*/

.directoryPageHeader {
    background: rgb(79, 129, 113) none repeat scroll 0 0;
    color: white;
    display: block;
    font-size: 20px;
    font-weight: 300;
    height: auto;
    margin-right: 20px;
    padding: 5px 0 5px 15px;
    position: relative;
}
.directoryPageHeader .directoryPageHelperForm {
    float: left;
    font-size: 13px;
    margin-left: 15px;
    margin-top: 10px;
    width: 340px;
}
.magnifyMe {
    background-color: transparent;
    background-image: url("images/search.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 20px auto;
    cursor: pointer;
    display: block;
    float: right;
    font-size: 0;
    height: 20px;
    margin-top: 6px;
    padding: 0 !important;
    width: 20px;
}
.directoryPageHeader span {
    font-size: 15px;
}
#directoryListing {
    color: #7e7e7e;
    margin-bottom: 20px;
    margin-right: 20px;
}
#directoryListing a {
    color: #7eb9a5;
}
.geoLink img {
    margin-bottom: -5px;
    margin-right: 10px;
    width: 25px;
}
.geoLink {
    color: #7eb9a5;
    display: block;
    text-decoration: underline;
}
.directoryImages {
    height: 231px;
}
#directoryListing div {
    display: block;
    padding: 15px 0;
    position: relative;
}
#directoryListing iframe {
    border: 0 none;
    height: 450px;
    width: 733px;
}
#ajax cmsItem {
    margin-bottom: 0;
}
#directoryListing iframe {
    border: 0 none;
    height: 475px;
    width: 733px;
}
.directoryAdvertIframe body {
    overflow: hidden;
}
.directoryAdvertIframe img {
    width: 100%;
    height: auto;
}
#directoryListingTitle {
    background: #7eb9a5 none repeat scroll 0 0;
    border-bottom: 1px solid #6f6f6f;
    color: white;
    height: 30px;
    padding: 10px 0 !important;
    position: relative;
}
#directoryListingTitle:hover {
    opacity: .75;
}
#directoryListingTitle.noAdvert:hover {
    opacity: 1 !important;
}
#directoryListingTitle img {
    bottom: 19px;
    float: right;
    margin-right: 20px;
    margin-top: 10px;
    position: absolute;
    right: 5px;
    transform: rotate(180deg);
}
#directoryListingTitle img.up {
    float: right;
    margin-right: 20px;
    margin-top: 10px;
    transform: none;
}
#directoryListingTitle h1 {
    font-size: 20px;
    font-weight: 300 !important;
    margin: 0 0 0 20px !important;
}
.articleSearchWrapper {
    background: #9498cc none repeat scroll 0 0 !important;
}
.articleSearch {
    background: #9498cc none repeat scroll 0 0;
    color: #ffffff;
    padding: 10px 15px 10px 15px;
    width: 290px;
    position: relative;
}
.articleSearch input:first-child {
    width: 140px;
}
.articleSearch .magnifyMe {
    border: 0 none;
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 11px;
}
.directoryAd {
    border-top: 0 none;
    height: auto;
    margin-bottom: -30px;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
}
.directoryAd img {
    /*Remove later*/
    margin-bottom: -5px;
    width: 100%;
}
#hideAd {
    background: #c6c6c6 none repeat scroll 0 0;
    color: white;
    cursor: pointer;
    height: 100%;
    padding: 15px 0 !important;
    text-align: center;
    width: 100%;
    display: none !important;
}
#hideAd:hover {
    opacity: .75;
}
#directoryListing h1 {
    display: inline;
    font-weight: 600;
    margin: 0;
}
#directoryListing h2 {
    display: inline;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}
#directoryLogo {
    margin-top: 40px !important;
    max-height: 200px;
    padding: 0 0 40px !important;
    width: 100%;
}
#directoryLogo > img {
    height: auto;
    max-height: 100%;
    max-width: 400px;
    width: auto;
}
#directorySocial {
    bottom: 15px;
    padding: 0 !important;
    position: absolute !important;
    right: 20px;
}
#facebook {
    margin-bottom: 1px;
}
#googlePlus {
    margin-left: 5px;
}
#twitter {
    margin-left: 2px;
}
.directoryUnderline {
    border-bottom: 2px solid #7e7e7e;
}
.directoryFilter {
    background: red none repeat scroll 0 0;
    display: block;
    height: 20px;
    margin-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    text-decoration: none;
    color: white;
}
.directoryFilter:hover {
    opacity: .8;
}
#directory {
    color: #aaa;
    height: 30px;
    margin-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
}
.noResults {
    text-align: center;
}
.directoryTitle label {
    font-size: 15px;
    margin-bottom: 4px;
}
.directoryTitle {
    background: #7eb9a5 none repeat scroll 0 0;
    color: white !important;
    font-size: 14px;
    font-weight: 300 !important;
    height: auto !important;
    padding-top: 0 !important;
}
.directoryCascade {
    background: #c6c6c6 none repeat scroll 0 0;
    color: white !important;
    font-weight: 300 !important;
    padding-bottom: 3px !important;
    padding-top: 10px !important;
}
#main .directoryCascade:nth-of-type(2) {
    margin-bottom: 20px;
}

.directoryCascade img {
    margin-right: 5px;
}
.directoryTitle h1 {
    color: white;
    display: inline-block;
    font-size: 20px;
    font-weight: 300;
    margin: 7px 0 0 20px;
}
.directoryTitle form {
    float: left;
    margin-left: 20px;
    margin-right: 0;
    white-space: nowrap;
}
#directoryTitleHolder {
    background: #3e6f63 none repeat scroll 0 0;
    float: left;
    height: 40px;
    margin-bottom: 13px;
    width: 100%;
}
#filterBar {
    position: relative;
}
.pagingBar {
    padding: 0 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 300;
    position: relative;
}
.loginError {
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 5px 10px;
}
.pagingBar.articleList {
    padding: 0 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 300;
    position: relative;
}
.articleListings {
    margin-bottom: 20px;
}
.pagingBar a {
    color: white;
    text-decoration: none;
}
.pagingBar span {
    left: 50%;
    margin-left: -45px;
    position: absolute;
    top: -1px;
}
.off {
    display: block;
    opacity: 0.5;
}
.first {
    margin-right: 15px;
    background-image: url("images/page-arrow-backward-double.png");
    background-position: center center;
    background-size: 35px auto;
    float: left;
    height: 20px;
    width: 25px;
}
.prev {
    background-image: url("images/page-arrow-backward-single.png");
    background-position: center center;
    background-size: 35px auto;
    float: left;
    height: 20px;
    width: 25px;
}
.next {
    float: right;
    margin-right: 15px;
    background-image: url("images/page-arrow-forward-single.png");
    background-position: center center;
    background-size: 35px auto;
    height: 20px;
    width: 25px;
}
.last {
    float: right;
    background-image: url("images/page-arrow-forward-double.png");
    background-position: center center;
    background-size: 35px auto;
    height: 20px;
    width: 25px;
}
.last img,
.next img,
.prev img,
.first img {
    margin-top: -6px;
    width: 33px;
}
.listedPremium {
    color: #3e6f63 !important;
    border-bottom: 1px solid #6f6f6f;
    height: auto !important;
}
.listedPremium a {
    color: #3e6f63;
    font-weight: 400;
    text-decoration: none;
}
.listed {
    border-bottom: 1px solid #6f6f6f;
    color: #3e6f63 !important;
    height: auto !important;
    opacity: .75;
}
.listed:hover {
    background: #ddf8ef;
}
.listed a {
    color: #3e6f63;
    font-weight: 300;
    text-decoration: none;
}
.ListArticle:hover {
    background: #ddf8ef;
}
.listedPremium:hover {
    background: #ddf8ef;
}
.listedPremium #directoryContact {
    display: block;
}
.listedPremium #directoryContact .directoryContactImages {
    background-position: center center;
    background-size: 20px auto;
    display: block;
    float: left;
    height: 20px;
    margin-left: 15px;
    width: 20px;
}
.listedPremium #directoryContact #directoryHomeImage {
    background-image: url("/themes/brushexpert/css/images/home.png");
}
.listedPremium #directoryContact #directoryInfoImage {
    background-image: url("/themes/brushexpert/css/images/info.png");
}
.listedPremium #directoryContact #directoryEmailImage {
    background-image: url("/themes/brushexpert/css/images/email.png");
}
#directoryContact .directoryContactImages {
    background-position: center center;
    background-size: 20px auto;
    display: block;
    float: left;
    height: 20px;
    margin-left: 15px;
    width: 20px;
}
#directoryContact #directoryHomeImage {
    background-image: url("/themes/brushexpert/css/images/home.png");
}
#directoryContact #directoryInfoImage {
    background-image: url("/themes/brushexpert/css/images/info.png");
}
#directoryContact #directoryEmailImage {
    background-image: url("/themes/brushexpert/css/images/email.png");
}
.directoryCascade #directoryContact {
    display: block;
}
#directoryCoName {
    display: block;
    float: left;
    margin-left: 10px;
    margin-top: 4px;
    width: 370px;
}
#directoryLocation {
    display: block;
    float: left;
    margin-top: 4px;
}
#directoryContact {
    float: right;
    margin-right: 10px;
    margin-top: 4px;
}
#directoryContact > img {
    margin-left: 20px;
    width: 20px;
}
.relativeNoFloat {
    position: relative;
    float: none;
}
#pagePopupBoxCenter .cmsItem {
    margin: 0;
}
/*-----Advert images styles-----*/
.advertImages .Image {
    width: 100%;
}
/*-----Member login styles-----*/

#memberLogin {
    background: #c6c6c6 none repeat scroll 0 0;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-top: 25px;
}
#memberLogin h1 {
    color: white;
    font-size: 22px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 5px;
    margin-top: 0;
}
#memberLogin input {
    border: 0 none;
    border-radius: 3px;
    margin-bottom: 10px;
    padding: 5px;
    width: 170px;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
}
#memberLogin input[type="submit"], #captchaSubmit {
    background: #71c2ae none repeat scroll 0 0;
    border: 1px solid white;
    color: white;
    font-size: 19px;
    padding: 3px 5px;
    width: auto;
    -webkit-appearance: none;
    border-radius: 3px;
}
/*-----Directory page helper styles-----*/

.directoryPageHelper {
    background: #ddf8ef none repeat scroll 0 0;
    height: auto;
    margin-bottom: 20px;
    margin-right: 20px;
    padding-bottom: 10px;
}
.directoryPageHelper .directoryPageHelperHeader {
    background: rgb(79, 129, 113) none repeat scroll 0 0;
    color: white;
    display: block;
    font-size: 20px;
    font-weight: 300;
    min-height: 30px;
    padding: 5px 0 5px 15px;
    position: relative;
}
.directoryPageHelper .directoryPageHelperHeader span:nth-child(1) {
    float: left;
}
.directoryPageHelper .directoryPageHelperHeader span:nth-child(2) {
    float: right;
    margin-right: 245px;
}
.directoryPageHelper .directoryPageHelperText {
    float: left;
    margin-left: 15px;
    margin-top: 10px;
    width: 400px;
}
.directoryPageHelper .directoryPageHelperForm {
    float: left;
    font-size: 13px;
    margin-left: 15px;
    margin-top: 10px;
    width: 703px;
}
.directoryPageHelperForm input {
    border: 1px solid #e0dfd7;
    border-radius: 5px;
    box-sizing: border-box;
    float: left;
    font-family: "open Sans",sans-serif;
    font-size: 15px;
    height: 38px;
    margin-top: 10px;
    padding-left: 5px;
    width: 49%;
}
.smaller {
    float: left !important;
    font-size: 12px;
    margin-left: 10px;
    margin-right: 0 !important;
    margin-top: 7px;
}
.directoryPageHelperForm input[type="submit"] {
    background: #71c2af none repeat scroll 0 0;
    border: 1px solid #ffffff;
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    float: right;
    font-family: "Open Sans",sans-serif;
    font-weight: 500;
    height: 35px;
    margin-top: 10px;
    padding: 0;
    width: 49%;
}
.directoryPageHelper .ui-state-default, .directoryPageHelper .ui-widget-content .ui-state-default, .directoryPageHelper .ui-widget-header .ui-state-default {
    float: right;
    margin-top: -10px;
    width: 49% !important;
}
/*-----Directory page navigation styles-----*/

.directory_menu {
    height: 50px;
    list-style: outside none none;
    margin: 0 0 20px;
    padding: 0;
}
.directory_menu .toggle.closed {
    display: none;
}
.directory_menu .toggle.open {
    display: none;
}
.directory_menu .rmMenuPage {
    padding: 0;
    list-style: none;
}
.directory_menu .rmMenuPage .lev1 {
    display: none;
}
.directory_menu .rmMenuPage .lev2 {
    padding: 0;
    list-style: none;
}
.directory_menu .rmMenuPage .lev2.parent {
    text-align: center;
}
.directory_menu .rmMenuPage .lev2 .link {
    color: #366858;
    display: block;
    font-weight: 400;
    height: 35px;
    padding: 13px 0 0;
    text-decoration: none;
}
.directory_menu .rmMenuPage .lev2 li {
    border-color: #78b9a5;
    border-style: solid solid solid none;
    border-width: 1px 1px 1px 0;
    float: left;
    list-style: outside none none;
    margin-right: 0;
    position: relative;
    width: 182px;
}
.directory_menu .rmMenuPage .lev2 li:hover {
    background: #78b9a5;
}
.directory_menu .rmMenuPage .lev2 li:hover a {
    color: white;
}
.directory_menu .rmMenuPage .lev2 li:hover {
    border-bottom: 0;
}
.directory_menu .rmMenuPage .lev2 li:first-child {
    border-left: 1px solid #78b9a5;
}
.directory_menu .rmMenuPage .lev2 li:hover .lev3 {
    display: block;
}
.directory_menu .rmMenuPage .lev2 li .lev3 {
    background: white none repeat scroll 0 0;
    display: none;
    height: auto;
    padding: 0;
    position: absolute;
    z-index: 2;
}
.directory_menu .rmMenuPage .lev2 li .lev3 .lev3 {
    height: auto;
    position: relative;
}
.directory_menu .rmMenuPage .lev2 li .lev3 li {
    border-color: #b9b9b9;
    border-style: solid;
    border-width: 0 0 1px;
    margin-right: 0;
    width: 337px;
}
.directory_menu .rmMenuPage .lev2 li:nth-child(5) ul.lev3 {
    left: auto;
    right: -1px;
}
.directory_menu .rmMenuPage .lev2 li ul.lev3 {
    border: 1px solid #78b9a5;
    left: -1px;
}
.directory_menu .rmMenuPage .lev2 li:nth-child(4) .lev3 li:nth-child(4) ul.lev4 {
    right: 0;
}
.directory_menu .rmMenuPage .lev2 li .lev3 li:nth-child(n+5) {
    display: block;
}
.directory_menu .rmMenuPage .lev2 li .lev3 .link {
    background: transparent none repeat scroll 0 0;
    color: #366858;
    display: block;
    font-size: 15px;
    height: 20px;
    min-height: 0;
    padding: 5px 0 5px 10px;
}
.directory_menu .rmMenuPage .lev2 li .lev3 .link:hover {
    background: #ddd;
}
/*----------*/

ul.directory_menu li.rmMenuPage ul.lev2 > li:nth-child(6) {
    display: none;
}
ul.directory_menu li.rmMenuPage ul.lev2 > li:nth-child(5) {
    display: none;
}
/*-----Preheader styles-----*/

#preHeader {
    background: #c6c6c6 none repeat scroll 0 0;
    border-bottom: 1px solid #fff;
    width: 100%;
}
#preHeader nav {
    float: right;
    height: 100%;
    width: auto;
}
#preHeader nav.left {
    float: left !important;
    margin-left: 20px;
}
#preHeaderInner {
    background: #c6c6c6 none repeat scroll 0 0;
    color: white;
    height: 30px;
    margin: 0 auto;
    padding-top: 10px;
    text-align: right;
}
#preHeaderInner .link {
    border-left: 1px solid white;
    color: white;
    display: block;
    float: right;
    font-size: 15px;
    margin-right: 0;
    padding: 0 10px;
    text-decoration: none;
}
#preHeaderInner .link:first-child {
    border-right: 1px solid white;
    margin-right: 20px;
}
#preHeaderInner .link:hover {
    background: #b0b0b0;
}
/*-----Logo styles-----*/

#logoTagline {
    float: left;
    font-size: 14px;
    margin-left: 20px;
    margin-top: 35px;
}
#logoTagline a {
    outline: 0;
}
#logoTagline .logo {
    background-image: url("/themes/brushexpert/css/images/Brush-Expert-logo.png");
    background-repeat: no-repeat;
    background-size: 275px auto;
    height: 110px;
    width: 275px;
}
#logoTagline p {
    color: white;
    font-size: 22px;
    margin: 0;
}

/*-----mobile menu styles-----*/
#mobileMenu {
    background-image: url("/themes/brushexpert/css/images/MobileNavBG2.png");
    background-size: 2000px auto;
    bottom: 0;
    color: white;
    height: 100%;
    left: -320px;
    position: fixed;
    top: 46px;
    width: 320px;
}

#mobileMenu .main_menu {
    margin-right: 0;
}

#mobileMenu .main_menu .link {
    color: white;
}

#mobileMenu .main_menu .link {
    padding: 10px 10px 10px 30px;
}

#mobileMenu .main_menu .link:hover {
    background: #ddd none repeat scroll 0 0;
    color: black !important;
}

#mobileMenu span {
    display: none;
    margin-left: 25px;
    margin-top: 25px;
}
.mobileArrow {
    background-image: url("/themes/brushexpert/css/images/mobileArrows.png");
    background-repeat: no-repeat;
    background-size: 15px auto;
    display: none;
    height: 50px;
    position: absolute;
    right: 20px;
    top: 35px;
    width: 25px;
}
#mobileNav {
    background: #7eb9a5 none repeat scroll 0 0;
    border-bottom: 1px solid white;
    height: 30px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 15px;
    position: fixed;
    top: 0;
    width: 100%;
    display: none;
}
#mobileNav img {
    cursor: pointer;
    float: left;
    height: auto;
    margin-left: 20px;
    margin-top: -8px;
    width: 45px;
}
#topNav {
    color: white;
    float: right;
    margin-right: 20px;
    margin-top: 3px;
}
#topNav a {
    color: white;
    text-decoration: none;
}
/*-----Page header images styles-----*/

#header {
    background: rgb(120, 185, 165);
}
.page18 #header {
    background: #9498cc;
}
.page18 #header_wrapper {
    background: #9498cc !important;
    width: 100%;
}
/*-----Dropdown styles-----*/

.questionDrop .ui-selectmenu-button span.ui-selectmenu-text {
    color: #87c2bf !important;
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 10px;
    text-align: left !important;
    text-transform: uppercase;
}
.questionDrop .ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background: white none repeat scroll 0 0 !important;
    border: 2px solid #87c2bf !important;
    border-radius: 2px !important;
    color: #87c2bf !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    height: 40px !important;
    padding: 0 !important;
    width: 346px !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
    display: none !important;
}
.ui-selectmenu-menu.jqueryDropDown {
    position: fixed !important;
    z-index: 2147483647 !important;
}
.jqueryDropDown .ui-menu .ui-menu-item {
    border-bottom: 1px solid #7bb8cd !important;
    border-top: 1px solid #7bb8cd !important;
    color: #3b4c53 !important;
    font-family: ubuntu;
    font-size: 17px;
    font-weight: 300;
    margin-left: -16px !important;
    padding: 15px 0 !important;
    text-align: center !important;
    text-transform: none !important;
}
.jqueryDropDown .ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
    margin: 0 0 0 -16px !important;
    font-weight: 300 !important;
}
.ui-selectmenu-button span.ui-selectmenu-text {
    color: #3e6f63 !important;
    font-family: open sans !important;
    font-size: 15px;
    font-weight: 300;
    padding: 9px !important;
    text-align: left;
}
.ui-front {
    z-index: 1 !important;
}
#selectDropDown-button {
    background: white none repeat scroll 0 0 !important;
    border: 2px solid #7bb8cd !important;
    font-family: ubuntu;
    font-size: 17px !important;
    font-weight: 300;
    height: 45px !important;
    margin-bottom: -15px !important;
    margin-top: 5px !important;
    padding: 2px !important;
    width: 100% !important;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    background: #7bb8cd none repeat scroll 0 0 !important;
    color: #3b4c53 !important;
    border: 0 !important;
}
.radio .ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    background: #e7f3f2 none repeat scroll 0 0 !important;
}
.ui-button-text-only .ui-button-text {
    color: #87c2bf;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    padding: 0 !important;
}
.radio .ui-state-active span {
    color: white !important;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
    border-radius: 0 !important;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
    border-radius: 0 !important;
}
.ui-menu .ui-menu-item {
    border-bottom: 1px solid #7eb9a5 !important;
    color: #3e6f63 !important;
    font-family: open sans;
    font-size: 15px !important;
    font-weight: 300 !important;
    padding: 9px 10px 9px 14px !important;
    text-align: left !important;
    text-transform: none;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
    margin: 0 !important;
}
.ui-selectmenu-menu .ui-menu {
    border: 0 none;
    outline: 1px solid #aaaaaa;
    padding-bottom: 0 !important;
    height: 200px;
}
.ui-selectmenu-menu .ui-menu {
    padding-bottom: 0 !important;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background: white !important;
    border: 0 !important;
    color: #555555;
    font-weight: normal;
    width: 338px !important;
    margin-top: 5px;
}
#searchPanel .ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background: white none repeat scroll 0 0 !important;
    border: 0 none !important;
    border-radius: 3px !important;
    color: #555555;
    font-family: "Open Sans", sans-serif !important;
    font-weight: normal;
    height: 30px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    width: 205px !important;
}
#searchPanel .ui-selectmenu-button span.ui-selectmenu-text {
    padding: 4px 0 0 15px !important;
}
/*--------*/
.testBox {
    background: #ddf8ef none repeat scroll 0 0;
    height: 106px;
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
}
.testBox img {
    background: red none repeat scroll 0 0;
    float: left;
    margin-top: -5px;
    width: 231px;
}
.testBoxHeader {
    background: #4f8171 none repeat scroll 0 0;
    display: block;
    font-size: 20px;
    font-weight: 300;
    color: white;
    padding-left: 236px;
}
.testBoxDescription {
    display: block;
    font-weight: 300;
    margin-top: 3px;
    padding-left: 236px;
}
.testBoxSearch {
    float: left;
    height: 20px;
    margin-left: 5px;
    margin-top: 2px;
    width: auto;
}

/*-----Tab styles-----*/
#tabs {
    border: 0 none !important;
    margin-bottom: 20px;
    padding: 0 !important;
}
#tabs .payment-formTitle {
    font-family: "Open Sans",sans-serif !important;
}
#tabs .ui-widget-header {
    border: 0 !important;
}
#tabs .ui-state-default.ui-state-active {
    background: rgb(79, 129, 113) none repeat scroll 0 0 !important;
    border-bottom: 1px solid rgb(79, 129, 113);
    border-left: 0 none !important;
    border-right: 0 none !important;
    border-top: 1px solid rgb(79, 129, 113);
}
#tabs .ui-state-active a {
    color: white !important;
}
#tabs .ui-tabs-nav {
    background: transparent none repeat scroll 0 0 !important;
    padding: 5px 0 0;
}
#tabs .ui-state-default {
    background: #ddf8ef none repeat scroll 0 0 !important;
    border-left: 1px solid #e0dfd7 !important;
    border-radius: 5px 5px 0 0 !important;
    border-right: 1px solid #e0dfd7 !important;
    border-top: 1px solid #e0dfd7 !important;
    box-sizing: border-box;
    height: auto !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 5px;
    margin-top: 0 !important;
    width: 241px !important;
}
.formColumnTwo .ui-selectmenu-button {
    background: white none repeat scroll 0 0 !important;
    border: 1px solid #e0dfd7 !important;
    border-radius: 5px !important;
    height: 38px !important;
    width: 100% !important;
    font-family: "open Sans",sans-serif !important;
    color: #366858 !important; 
}
#tabs .ui-selectmenu-button {
    background: white none repeat scroll 0 0 !important;
    border: 1px solid #e0dfd7 !important;
    border-radius: 5px !important;
    height: 38px !important;
    width: 100% !important;
    font-family: "open Sans",sans-serif !important;
    color: #366858 !important; 
}
#tabs .ui-state-default:last-of-type {
    margin-right: 0 !important;
}
#tabs .ui-tabs-anchor {
    box-sizing: border-box !important;
    cursor: pointer !important;
    font-family: "Open Sans",sans-serif !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    padding: 5px 0 5px 13px !important;
    width: 100% !important;
}
#tabs .ui-tabs-panel {
    background: #ddf8ef none repeat scroll 0 0;
    border-top: 4px solid rgb(79, 129, 113);
    border-radius: 0 0 5px 5px !important;
    padding: 0 !important;
}
#tabs .paymentForm {
    margin-right: 0;
}
/*-----End-----*/

/*-----Thank you style-----*/
.thankYou {
    background: rgb(120, 185, 165) none repeat scroll 0 0;
    color: white;
    padding: 10px;
}
.thankYouLineOne {
    font-size: 20px;
    margin-bottom: 10px;
}
/*-----End-----*/

/*Media query 1 ++++++++++++++++++++*/

@media screen and (max-width: 1274px) {
    .cmsLeftSide {
        display: none;
    }
}
/*Media query 2 ++++++++++++++++++++*/

@media screen and (max-width: 1023px) {
    #preHeader {
        display: none;
    }
    #mobileNav {
    display: block;
    }
    #wrapper {
        margin: 46px auto 0;
    }
    #topNav {
        margin-top: -5px;
    }
    .main_menu .lev2 .link {
        background: transparent none repeat scroll 0 0;
        padding-left: 40px !important;
    }
    .main_menu .lev2 .link:before {
        content: "-";
        margin-right: 10px;
    }
    .main_menu .lev2 .newsMenu .link {
        background: transparent;
    }
}
/*Media query 3 ++++++++++++++++++++*/

@media screen and (max-width: 767px) {
    .directoryAd {
        display: none !important;
    }
    #directoryListingTitle img {
        display: none;
    }
    #directoryListingTitle:hover {
        opacity: 1;
    }
    .directoryAdvertIframe {
        display: none;
    }
    .galleryPreview {
        margin-left: 20px;
        margin-right: 20px;
    }
    #directoryListing {
        margin-left: 20px;
        margin-right: 20px;
    }
    #directoryLogo > img {
        max-width: 320px;
    }
    #tabs .ui-state-default {
        border-radius: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
    }   
    #content126_t1 {
        display: none;
    }
    #topNav {
        margin-top: -2px;
    }
    #footer {
        padding: 50px 0;
    }
    #header {
        height: 149px;
    }
    #logoTagline {
        float: left;
        font-size: 14px;
        margin-left: 20px;
        margin-top: 20px;
    }
    #logoTagline .logo {
        background-size: 225px auto;
        height: 90px;
        margin-left: 94px;
        width: 228px;
    }
    #logoTagline p {
        font-size: 21px;
        margin-left: 50px;
    }
    #directory {
        margin-left: 10px;
        margin-right: 10px;
    }
    .directoryPageHeader {
    margin-left: 10px;
    margin-right: 10px;
    }
    .page20 #main nav {
    margin-left: 10px;
    }
    .directoryPageHelper {
        margin-bottom: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
    #header_area .cmsItem.max3 {
        width: 338px;
    }
    .directory_menu .rmMenuPage .lev2 li {
        border-bottom: 1px solid #78b9a5;
        border-image: none !important;
        border-left: 1px solid #78b9a5;
        border-right: 1px solid #78b9a5;
        border-top: 0 none !important;
        float: left;
        list-style: outside none none;
        margin-right: 0;
        position: relative;
        width: 457px;
    }
    .page20 #main nav {
        height: 196px;
        margin-bottom: 20px;
    }
    .directory_menu .rmMenuPage .lev2 li .lev3 {
        display: none !important;
    }
    .directory_menu .rmMenuPage .lev2 li:hover {
        border-bottom: 1px solid #78b9a5;
    }
    .listedPremium {
        height: auto !important;
    }
    .listedPremium #directoryContact {
        display: none;
    }
    #directoryLocation {
        float: right;
        margin-right: 10px;
    }
    #directoryCoName {
        width: auto;
    }
    #directoryCoName {
        max-width: 290px;
    }
    .pagingBar {
        width: 415px;
    }
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        width: 415px !important;
    }
    #header_area {
        float: none;
        height: auto;
        margin-top: 0;
        width: auto;
    }
    #header_area .cmsItem.max3 {
        float: left;
        margin-bottom: 0;
        margin-left: 20px;
        margin-right: 10px;
        width: 440px;
    }
    #main {
        padding-bottom: 0;
    }
    #rightside {
        display: none;
    }
    .directoryPageHelper .directoryPageHelperHeader span:nth-child(2) {
        display: none;
    }
    .smaller {
        display: block !important;
        margin-right: 0 !important;
        margin-top: -1px;
        width: 300px;
    }
    .directoryPageHelper .directoryPageHelperText {
        margin-left: 15px;
        margin-top: 10px;
        width: 420px;
    }
    .directoryPageHelper .directoryPageHelperForm {
        margin-right: 10px;
        width: 315px;
    }
    .directoryPageHelper .directoryPageHelperForm {
        margin-right: 10px;
        width: 428px;
    }
    .directoryPageHelper .ui-state-default,
    .directoryPageHelper .ui-widget-content .ui-state-default,
    .directoryPageHelper .ui-widget-header .ui-state-default {
        width: 210px !important;
    }
    .directoryPageHelperForm input[type="submit"] {
        width: 428px;
    }
    .mobileArrow {
        display: block;
    }
    .articleList .articleListItem {
        height: auto;
        min-height: 25px;
    }
    .page1 .highlightBanner {
        height: auto;
    }
    .page1 .highlightBanner img {
        display: none;
    }
    .page1 .highlightBanner .highlightCategory {
        display: none;
    }
    .page1 .highlightBanner .highlightDescription {
        width: 420px;
    }
    .highlightBox img {
        height: auto;
        width: 100%;
        margin-top: -110px;
    }
    .highlightBox .highlightDescription {
        bottom: 0 !important;
        width: 100%;
    }
    .mobileArrow {
        bottom: 10px;
        top: auto;
    }
    .articleBox img {
        height: auto;
        margin-top: -110px;
        width: 100%;
    }
    .articleBox .articleDescription {
        background: rgba(148, 152, 204, 0.8) none repeat scroll 0 0;
        bottom: 0;
        display: block;
        height: auto;
        min-height: 66px;
        padding: 10px;
        position: absolute;
        width: 100%;
    }
    .articleBanner .articleCategory {
        width: 199px;
    }
    .articleBanner .articleDescription {
        width: 189px;
    }
    .highlightBanner .highlightCategory {
        width: 199px;
    }
    .highlightBanner .highlightDescription {
        width: 189px;
    }
    .eventListItem .eventContainer {
        float: right;
        width: 290px;
    }
    .eventListItem {
        overflow: hidden;
    }
    .eventListItem img {
        margin-left: -25px;
        width: 175px;
    }
    .eventListItem .eventContainer {
        float: right;
        width: 290px;
    }
    .eventListItem .eventContainer .eventDescription {
        min-height: 82px;
    }
    .contactBox {
        margin-left: 20px;
    }
    .contactBox textarea {
        width: 98%;
    }
    .contactBox input {
        width: 98%;
    }
    .contactBox textarea {
        width: 98%;
    }
    .contactBox input[type="submit"], #contactCaptcha {
        width: 410px;
    }
    .directoryPageHelperQuickSearch {
        display: none;
    }
}
/*Media query 4 ++++++++++++++++++++*/

@media screen and (max-width: 479px) { 
    .directoryPageHelper .directoryPageHelperForm {
        width: 315px;
    }
    label.error {
        font-size: 11px;
    }
    .contactBox input {
        width: 290px;
    }
    .contactBox textarea {
        float: left;
        width: 290px;
    }
    .contactBox .radioText {
        float: left;
        margin-top: 12px;
        width: 290px;
    }
    .contactBox input[type="submit"] {
        width: 290px;
    }
    .smaller {
        display: block !important;
        margin-left: 0;
        margin-right: 0 !important;
        margin-top: 5px;
        width: 300px;
    }
    .directoryPageHelperForm input {
        width: 100%;
    }
    .directoryPageHelper .directoryPageHelperText {
        width: 310px;
    }
    .directoryPageHelper .ui-state-default, .directoryPageHelper .ui-widget-content .ui-state-default, .directoryPageHelper .ui-widget-header .ui-state-default {
        margin-top: 10px;
        width: 313px !important;
    }
    .directoryPageHelperForm input[type="submit"] {
        width: 315px;
    }
    #directoryTitleHolder {
        height: auto;
        padding-bottom: 7px;
    }
    .directory_menu .rmMenuPage .lev2 li {
        width: 338px;
    }
    #directoryCoName {
        max-width: 205px;
    }
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        width: 305px !important;
    }
    .pagingBar {
        width: 305px;
    }
    #logoTagline .logo {
    background-size: 225px auto;
    height: 90px;
    margin-left: 40px;
    width: 228px;
    }
    #logoTagline p {
        font-size: 17px;
        margin-left: 26px;
    }
    #header_area .cmsItem.max3 {
        width: 320px;
    }
    .page1 .highlightBanner .highlightDescription {
        width: 300px;
    }
    .highlightBox img {
        margin-top: -80px;
    }
    .highlightBox {
        height: 210px;
        overflow: hidden;
        position: relative;
        width: 100%;
    }
    .articleBox img {
        margin-top: -80px;
    }
    .articleBanner .articleLink {
        left: 10px;
    }
    .articleBanner .articleDescription {
        width: 300px;
    }
    .articleBanner .articleCategory {
        width: 310px;
    }
    .articleBanner img {
        height: auto;
        width: 320px;
    }
    .articleBanner .articleLink {
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
    }
    .articleBanner img {
        position: absolute;
    }
    .articleBanner .articleCategory {
        position: absolute;
    }
    .articleBanner {
        background: #9498cc none repeat scroll 0 0;
        height: 320px;
        overflow: hidden;
        width: 100%;
    }
    .articleBanner .articleDescription {
        background: rgba(148, 152, 204, 0.8) none repeat scroll 0 0;
        bottom: 0;
        height: auto;
        min-height: 65px;
        position: absolute;
    }
    .articleBanner .articleLink {
        font-size: 0;
    }
    .articleBanner .articleLink::after {
        display: none;
    }
    .highlightBanner .highlightCategory {
        width: 310px;
        position: absolute;
    }
    .highlightBanner .highlightDescription {
        background: rgba(120, 185, 165, 0.8) none repeat scroll 0 0;
        width: 300px;
        position: absolute;
        bottom: 0;
    }
    .highlightBanner img {
        height: auto;
        width: 320px;
    }
    .highlightBanner {
        height: auto;
    }
    .highlightBanner .highlightLink {
        display: none;
    }

    .page1 .highlightBanner .highlightDescription {
        position: relative;
    }
    .eventListItem img {
        margin-bottom: -37px;
        margin-left: 0;
        width: 320px;
    }
    .eventListItem .eventContainer {
        width: 320px;
    }
    .eventListItem .eventContainer .eventDescription {
        min-height: 40px;
    }
    .articleSearch {
        width: 280px;
    }
}