/*********************
TRANSITION
*********************/
/*
I totally rewrote this to be cleaner and easier to use.
You'll need to be using Sass 3.2+ for these to work.
Thanks to @anthonyshort for the inspiration on these.
USAGE: @include transition(all 0.2s ease-in-out);
*/
.transition, #partners .logos a, #features #inner-features .feature {
  -webkit-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.clearfix {
  zoom: 1;
}
.clearfix:before, clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }

#partners2, #partners3, .partner_block {
  padding-bottom: 10px;
  height: 135px;
  overflow: hidden;
}
#partners2 .liner, #partners3 .liner, .partner_block .liner {
  display: block;
}
#partners2 a, #partners3 a, .partner_block a {
  display: block;
  width: 135px;
  height: 135px;
  padding: 5px;
  float: left;
  background-color: #fff;
  margin: 0px 5px 10px 5px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  line-height: 130px;
}
#partners2 a img, #partners3 a img, .partner_block a img {
  max-width: 125px;
  max-height: 125px;
}

.partner_block {
  width: 530px;
  height: 800px !important;
}
.partner_block h2 {
  text-align: center;
  font-size: 22px;
  padding-top: 0.7em;
}
.partner_block a {
  margin-bottom: 2px;
  height: 100px;
}
.partner_block a img {
  max-height: 100%;
}

#partners {
  color: #fff;
  background-color: #75c370;
  min-height: 125px;
  /* margin-top: 10px; */
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  /* padding: 50px 0; */
}
#partners h2 {
  padding: 20px 0;
  color: white;
  text-align: center;
}
#partners #inner-partners {
  padding: 0 0px 20px;
  margin-bottom: 20px;
  height: 145px;
  overflow: hidden;
  background: #fff;
  width: 100%;
  position: relative;
  white-space: nowrap;
}
#partners .logos a {
  width: 165px;
  height: 145px;
  line-height: 135px;
  display: block;
  float: left;
  padding: 5px 20px;
  margin: 0 0px 10px;
  vertical-align: middle;
  text-align: center;
  background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}
#partners .logos a img {
  vertical-align: middle;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
#partners a {
  color: #f16649;
}

#partners a:hover {
  color: #f9f164;
}

#partners a.control {
  width: 50px;
  display: block;
  height: 50px;
  position: absolute;
  clear: none;
  font-size: 50px;
  line-height: 35px;
  text-align: center;
  margin-top: 50px;
  background-color: rgb(36, 38, 43, 0.5);
  border-radius: 10px;
  z-index: 8888;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
#partners a#left {
  left: 50px;
}
#partners a#right {
  right: 50px;
}
#partners a:hover img {
  -webkit-filter: brightness(120%);
  -moz-filter: brightness(120%);
}

/* Premier Partner */
#partners .premier h2 {color: #3288af; margin-bottom: 0; padding:0}
#partners .premier { text-align: center; background: #fff; padding: 1em;}
#partners .premier img {height: 150px; display: inline;}

/* *****************************************
 * 
 * 2022 New Partner Rendering
 *
 * *************************************** */

 .partner-post {
  padding: 1em;
  margin-bottom: 2em;
  clear: both;
 }

 .partner-post:nth-child(odd) {
  background: #e1e7ec;
  border: 2px solid #989c9f;
  border-radius: 10px;
 /* box-shadow: -1px 5px 20px rgba(0, 0, 0, 0.5); */
}

 a.partner-logo img {
  max-width: 300px;
  float: right;
  padding: 1em;
  text-align: right;
 }

 /* /partner listings */


.member {
  border-top: 1px solid #144c85;
  padding: 0px;
  margin: 0px 0px 0px 6px;
  clear: right;
  display: block;
}

.member h1 a {
  color: #4B565A;
  text-decoration: none;
}

.member h1 a:visited {
  color: #4B565A;
  text-decoration: none;
}

.member h1 a:hover {
  color: #4B565A;
  text-decoration: underline;
}


.member h1, .member_info h1 {
  color: #DE9128;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 0px;
  position: relative;
}

.member h3, .member_info h3 {
  color: #DE9128;
  position: relative;
  margin: 0;
  line-height: 1.25em;
}

.member .categories, .member_info .categories {
  position: relative;
  padding: 0px 10px 10px 0px;
  /*  float: left; */
  color: #4B565A;
  display: block;
  clear: both;
}

.member_info .description {
  clear: right;
  padding: 10px 0;
}

.member_info {
  padding: 0px 5px;
  margin: 0px;
}

.member_info legend {
  color: #DE9128;
  font-size: 1.5em;
  letter-spacing: -0.3px;
}

.member_info fieldset {
  background: #fff url("/images/orangefade.gif") repeat-x bottom left;
  padding: 0em 12em 1em 1em;
}

.member_info .contactinfo {
  font-weight: bold;
  margin: 0 0 1em 0;
  float: left;
  clear: left;
  padding-right: 1em;
}

.member img, .member_info img {
  border: 0px;
}

.member h3#comments {
  margin: 0;
}

.member .member_logo, .member_info .member_logo, .member-info .member_logo {
  background: #fff;
  padding: 5px;
  margin: 0px 0px 0px 0em;
  max-width: 125px !important;
}

.pp_logo {
  position: absolute;
  right: 5em;
}

.infobutton {
  background: #e8e8e8;
  width: 135px;
  text-align: center;
  padding: 2px;
  margin: 0px;
  position: relative;
  z-index: 999;
  min-height: 250px;
}

.infobutton a, .infobutton a:visited {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  margin: 0px;
  font-family: "Yanone Kaffeesatz", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.infobutton a:hover {
  color: #E2E1E1;
  background: #4D4D4D;
  text-decoration: none;
}

#business_card {
  padding: auto 10px;
}

#content-wrap {
  margin-bottom: 3em;
}

#alphaindex {
  background: #4B565A;
  padding: 1px 4px;
  text-align: center;
  clear: both;
}
#alphaindex a {
  text-decoration: none;
  color: #fff;
  padding: 0 5px;
  display: inline-block;
}
#alphaindex a:hover {
  text-decoration: none;
  color: #144c85;
}
#alphaindex .active {
  color: #fff;
  background: #144c85;
}

.matchtable {
  border: 1px solid #9ebb46;
  border-bottom-width: 0;
  margin-bottom: 1em;
  width: 100%;
  text-align: left;
}

.matchtable caption {
  font-weight: bold;
  text-align: left;
}

.matchtable th {
  padding: 3px 6px;
  border-bottom: 2px solid #9ebb46;
  background: #b0ca61 repeat-x center left;
  vertical-align: top;
}

.matchtable th a {
  text-decoration: none;
}

.matchtable th.shortcol {
  width: 15%;
}

.matchtable td {
  padding: 3px 6px;
  border-bottom: 1px solid #9ebb46;
  vertical-align: top;
}

.matchtable .businessname {
  color: #DE9128;
  margin-top: 6px;
  margin-bottom: 2px;
  padding: 2px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.page-template-t_nacusomatch-php #main .page-title .fineprint, .post-type-archive-nacusomatch #main .page-title .fineprint {
  color: #fff;
  float: right;
  font-size: 15px;
}


#pp-table h3 {
  margin: 0;
}
#pp-table img {
  max-width: 250px;
  min-width: 250px;
  margin: 0 0 10px 10px;
}
#pp-table td.pp-desc {
  text-align: justify;
  hyphens: none;
}

.article-footer {
  display: none;
}

#gforms_confirmation_message {
  font-size: 20px;
  font-weight: bold;
  color: #72C470;
}

.single-nacusomatch .type-nacusomatch header .h2 {
  margin: 10px 0;
  float: left;
}
.single-nacusomatch .type-nacusomatch section p:first-of-type {
  clear: left;
}
.single-nacusomatch .type-nacusomatch section .categories {
  clear: left;
  display: block;
}
.single-nacusomatch .type-nacusomatch section .categories:after {
  content: "";
  display: table;
  clear: both;
}
.single-nacusomatch .type-nacusomatch section .categories a {
  float: left;
  border-right: 0;
  clear: left;
}
.single-nacusomatch .type-nacusomatch .infobutton {
  width: 50%;
  padding: 1em;
  text-align: left;
  clear: right;
}
.single-nacusomatch .type-nacusomatch a.back-button {
  font-weight: 700;
  max-width: 40px;
  overflow: hidden;
  display: block;
  float: left;
  height: 120px;
  margin-right: 10px;
  line-height: 90px;
}
.single-nacusomatch .type-nacusomatch h3 {
  clear: left;
  margin: 10px 0;
}

li.gchoice_11_4 {
  display: none;
}

.logged-in li.gchoice_11_4 {
  display: list-item;
}
.logged-in #menu-item-8903 {
  display: none;
}

#partners .logos a[href="http://www.cudirect.com"] {
  width: 300px;
}

#pp-table a[href="http://www.cudirect.com"] img {
  max-width: 300px;
}

.center {
	display: flex;
	justify-content: center;
	align-items: center;
} 

/*
ONLY MOBILE DEVICES
    tony added this section since there are styles we want on mobile but not in base
 */
@media only screen and (max-width: 767px) {

  #partners {
    display: none;
  }

  #partners2, #partners3 {
    height: auto;
  }

}
/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {
  /******************************************************************
  Site Name: 
  Author: 

  Stylesheet: Desktop Stylsheet

  This is the desktop size. It's larger than an iPad so it will only
  be seen on the Desktop. 

  ******************************************************************/
  .category-video #main article {
    width: 285px;
    margin-right: 5px;
    float: left;
    overflow: hidden;
  }
  .category-video #main article:nth-child(odd) {
    margin-right: 5px;
  }
  .category-video #main article .h2 {
    font-size: 2.25em;
    position: absolute;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
  }
  .category-video #main article .byline {
    display: none;
  }
  .category-video #main article iframe {
    max-width: 100%;
    height: auto;
  }
}
/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
  .category-video #main article {
    width: 527px;
    margin-right: 5px;
    float: left;
    overflow: hidden;
  }
  .category-video #main article:nth-child(odd) {
    margin-right: 5px;
  }
  .category-video #main article .h2 {
    font-size: 2.25em;
    position: absolute;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
  }
  .category-video #main article .byline {
    display: none;
  }
  .category-video #main article iframe {
    max-width: 100%;
    height: auto;
  }
}
