
.page-head {
  margin-bottom: 0;
}

.page-head h3 {
  margin: .6em 0;
  padding: 0;
}

#resource_form fieldset {
  border: 1px #ccc solid;
  padding: .4em;
  margin-bottom: 1em;
  max-width: 715px;
  margin: 0 auto;
}

#resource_form fieldset legend {
  font-weight: bold;
  padding: 0.8em;
  display: inline-block;
}

.counter {
  color: #339;
  font-size: .85em;
}

#resource_form fieldset p {
  margin: .2em 0;
  font-weight: normal;
  text-align: left;
  padding: 0;
  color: #339;
  font-size: .85em;
  padding-left: 200px;
  float: left;
}

#resource_form fieldset p.counter {
  margin: .5em 0 1em 0;
  border-bottom: 1px #eee solid;
  padding-bottom: 0.5em;
}


#resource_form label {
  float: left;
  display: inline-block;
  clear: both;
  margin-bottom: 0;
  width: 200px;
}

#resource_form .resource-categories label {
  width: auto;
}

.resource-categories,
#resource_form input[type=text],
#resource_form input[type=password],
#resource_form textarea {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border-radius: 5px;
  width: 300px;
  border: 1px #999 solid;
  padding: 4px;
  vertical-align: middle;
}

.resource-categories {
  height: 180px;
  width: 100%;
  max-width: 400px;
  overflow: auto;
  padding: .4em;
}

#resource_form div.field {
  clear: both;
  margin-bottom: 1em;
}

#resource_form textarea {
  height: 120px;
  width: 100%;
  max-width: 500px;
}

#resource_form tr td:first-child {
  text-align: right;
  font-weight: bold;
}

#resource_form.preview .description {
  width: 500px;
  float: left;
  clear: none;
  border: 1px #ccc solid;
  margin-bottom: .5em;
  padding: 0.4em;
  background: #fcfcfc;
}
#resource_form fieldset .description p {
  color: #000;
  margin: 0 0 1em 0;
}

#resource_form .g-recaptcha {
  border: 3px #fff solid;
  margin-bottom: 1em;
}

#resource_form .g-recaptcha.error {
  border-color: #fcc;
}

input.error, textarea.error {
  background-color: #fcc;
}

label.error {
  color: #f00;
  font-size: .9em;
  padding-left: 5px;
  display: block;
}

.required {
  color: #f00;
}

#required-note {
  font-size: 10px;
}

#resource_form h3 {
  color: #f00;
  text-transform: uppercase;
  margin: 1em 0;
  font-size: 1.3em;
}

#resource_form table {
  width: 100%;
}

#resource_form table td {
  padding: 6px;
  vertical-align: top;
}

#resource_form .button.blue {
  cursor: pointer;
}

.confirm_image {
  max-height: 200px;
  max-width: 300px;
}

#confirm_bio p:first-child {
  margin-top: 0;
}

.post-body p {
  font-size: 12px;
}


.page-head h1 {
  margin-top: .4em;
}

.main .section-head {
  float: none !important;
  display: inline-block !important;
}

.main .section-head h1 a {
  color: inherit;
}

dl.resource-errors dt {
  margin-top: 1em;
}

.main article.resource,
.resource .thumb,
.resource .info.with-thumb {
  max-width: 250px;
}

.bot-layer .search-bar {
  display: none;
}

.search-bar .search-outer {
  z-index: 100;
  margin-top: 49px;
  margin-left: -122px;
  background: #1680AA;
}

.search-bar.desktop .mag {
  margin-top: 12px;
}

.main {
  padding-top: 0;
  margin-top: 0;
}

.main .section-head {
  display: block;
  margin: 0 0 2em 0;
}

.section-head h1 a {
  color: inherit;
}

.main .hr:last-of-type {
  display: none;
}

.col-md-8 {
  width: 100% !important;

}

h1 {
  text-align: left;
}

h2 {
  color: #017ca8;
  text-transform: uppercase;

}

.download-header {
  width: 100%;
  height: 300px;
  background-color: #eeeeee;
  text-align: center;
  padding: 60px 0;
  position: relative;
  display: table;
}

.download-header h2 {
  text-transform: none;
}

.download-btn-right img {
  float: left;
  margin-right: 15px;
  margin-top: 3px;
}

.resource-header-buttons {
  width: 440px;
  margin: 0 auto;
}

.button-container {
  width: 330px;
  display: inline-block;
  float: right;
}

.button-container p {
  width: 178px;
  margin: 0 auto;
}

.button-container p a {
  margin-right: 0;
}

.resource-media img {
  border: 3px solid #eeeeee;

}

.resources-social-container {
  margin: 20px auto;
  display: flex;
  width: 130px;
}

.resources-social-container > div {
  flex: 1;
  -webkit-flex: 1; /* Safari 6.1+ */
  -ms-flex: 1; /* IE 10 */ 
}

.download-btn-file a, .post-body .button-container a  {
  float: left;
  display: inline-block;
  background-color: #c91b26;
  padding: 8px 27px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  width: 200px;
  font-family: 'Napco_1';
  margin-right: 20px;
}

.download-btn-file a img, .post-body .button-container a img {
  float: left;
  margin-right: 15px;
}

.download-btn-right a {
  float: left;
  display: inline-block;
  background-color: #ffd92a;
  padding: 8px 27px;
  color: #017ca8;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Napco_1';

}

.post-body ul.gform_fields li .gfield_label {
  display: none;
}

.spotlight {
  padding-top: 30px;
  background-color: #eeeeee;
}


.resource-nav .submit {
  float: left;
}

.submit input, .more-button-holder .more.button {
  color: #1680AA;
  font-size: 20px;
  background: #FED929;
  padding: 11px 24px 11px 24px;
  margin: 5px 0 5px 5px;
  font-weight: bold;
  border: none;
  text-transform: uppercase;
  text-decoration: none;
}
.more-button-holder .more.button {
  padding: 3px 20px 32px 20px;
}


.more-button-holder .more.button:after {
  background: none !important;
}

.submit input:active {
  margin-top: 5px;
}

.main .results {
  text-align: center;
  margin: 20px;
}

.resource-description {
  width: 330px;
  float: left;
}

.gform_heading .gform_description {
  color: #017ca8;
  text-transform: uppercase;
  font-size: 1em;
}

.gform_wrapper .gfield_required {
  display: none;
}

.gform_wrapper {
  max-width: 30%;
  float: right;
}

#resource-form .gform_wrapper {
  background-color: #eeeeee;
  padding: 30px;
  width: 30%;
  margin: 0;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
  min-width: 100%;
  border: none;
}

#resource-form .gform_wrapper .ginput_container.newsletter_checkbox {
  padding: .4em;
}

#resource-form .gform_wrapper .ginput_container.newsletter_checkbox p {
  padding-bottom: 0;
  font-size: 0.75em;
}

#resource-form .gform_wrapper .ginput_container.newsletter_checkbox h4 {
  font-size: 1em;
}

.post-media {
  position: absolute;
  margin-left: 390px;
}

.post-body ul.gform_fields li .gfield_label {
  float: left;
  width: 30px;
}

.main .hr {
  clear: both;
  /*border-bottom: 1px #eee solid;*/
  margin: 2em .4em;
  padding: 0;
}

.main .hr {
  display: none;
}

.main .hr:nth-of-type(4n-0) {
  display: block;
}

.main .listing .post-blog-cat-label, .listing .post-blog-cat-label {
  font-size: .75em;
}

.more-button-holder {
  clear: both;
}

#wp-full_description-wrap {
  width: 100%;
  max-width: 498px;
  float: right;
}

.main h4.error {
  color: #f00;
}

.resource .body-main.col-lg-9 {
  width: 100%;
}

.resource-breadcrumb {
  margin: 20px 0 0 0;
}

div#page-.resource {
  min-height: 600px;
}

.rubber-band {
  width: 100%;
  padding: 20px;
  text-align: center;
  background-color: #1680AA;
  font-size: 20px;
  font-weight: bold;
  color: #FED929;
}

.rubber-band a {
  font-weight: bolder;
  color: #FFFFFF;
  text-decoration: underline;
}

.content-wrapper {
  min-height: 550px;
  background-color: #fff !important;
}

.gform_wrapper .gform_footer input[type=submit].button, .gform_wrapper .gform_footer input[type=image], .gform_wrapper .gform_footer input[type=submit] {
  display: block;
  margin: 0 auto;
  /*width: 147px;*/
}

h2.post-blog-cat-label {
  margin-left: 15px;
}

.ribbon.research {
  color: #fff;
}

.ribbon.research h1 {
  text-transform: uppercase;
}

.ribbon.research p {
  max-width: 800px;
  margin: 0 auto;
}

.research-header {
  padding: 20px 20px 0;
}

.research-footer .gform_wrapper {
  color: #ffffff;
  background-color: #1680AA;
  padding: 10px;
}

.research-footer .gform_wrapper {
  float: none;
  margin: 0 auto;
  padding: 0;
  max-width: 500px;
}

.research-header p,
.research-footer p {
  margin: 1em 0;
}

.gform_wrapper .gform_footer input[type=submit] {
  background-color: #FED929;
}

.research-footer .gform_wrapper .gform_footer.left_label, .research-footer .gform_wrapper .gform_footer.right_label {
  padding: 0;
  margin: 0;
  width: auto;
}

.research-footer .gfield_label {
  display: none !important;
}

.research-footer .ginput_container input[type=text],
.research-footer .ginput_container textarea {
  background-color: #E6E7E8;
  width: 100% !important;
  border-radius: 0!important;
  border-width: 0!important;
}
.research-footer .ginput_container input[type=text]:focus,
.research-footer .ginput_container textarea:focus {
  background-color: #fff;
}

.research-footer .gform_wrapper .gform_footer {
  margin: 0;
  padding-top: 0;
}

.research-footer .gform_wrapper .name input,
.research-footer .gform_wrapper .email input,
.research-footer .gform_wrapper .message textarea {
  padding-left: 42px !important;
  background-image: url(../icon-name.html);
  background-repeat: no-repeat;
  background-position: 7px 7px;
}

.research-footer .gform_wrapper .email input {
  background-image: url(../icon-email.html);
}

.research-footer .gform_wrapper .message input {
  background-image: url(../icon-message.html);
}

.vresource-archive {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-around;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: flex-start;
  -webkit-align-items: flex-start;
  -moz-box-align: flex-start;
  -ms-flex-align: flex-start;
  align-items: flex-start;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.main article.resource.vresource,
.resource.vresource .thumb,
.resource.vresource .info.with-thumb {
  flex-basis: 23%;
  max-width: none;
  float: none;
  margin: 0 1em 1.5em 0;
}

.resource.listing.vresource .thumb {
  border-width: 0;
  height: auto;
  margin: 0;
}

.resource.listing.vresource .thumb img {
  width: 100%;
}

@media handheld, only screen and (max-width: 1175px) {

  .main .hr:nth-of-type(4n-0) {
    display: none;
  }

  .main .hr:nth-of-type(3n-0) {
    display: block;
  }

  .spotlight .hr:nth-of-type(4n-0) {
    display: none;
    clear: both;
  }

  .spotlight article.resource.listing:nth-of-type(4n-0) {
    display: none;
  }

  .spotlight > div {
    width: 885px;
    margin: 0 auto;
  }

  .resource-nav .search-bar.desktop {
    margin-right: 10px;

  }

  #resource-filter {
    width: auto;
  }

  .post-media {
    margin-left: 350px;
  }

  .post-head {
    padding: 20px;
  }

  .main.resource-archive {
    width: 850px;
    margin: 0 auto;
  }

  .resource-breadcrumb {
    width: 815px;
    margin: 0 auto;
  }

}

@media handheld, only screen and (max-width: 1024px) {

  .post-media {
    width: 20%;
  }

  .post-head .push-down-40 {
    margin-bottom: 20px;
  }

  .search-bar .search-outer {
    margin-top: 37px;
  }

}

@media handheld, only screen and (max-width: 900px) {

  .resource-nav .search-bar.desktop {
    /*display: none;*/
  }

  .main .hr:nth-of-type(4n-0) {
    display: none;
  }

  .main .hr:nth-of-type(3n-0) {
    display: none;
  }

  .main .hr:nth-of-type(2n-0) {
    display: block;
  }

  .spotlight .hr:nth-of-type(4n-0) {
    display: none;
    clear: none;
  }

  .spotlight > div {
    width: 600px;
    margin: 0 auto;
  }

  .main {
    width: 570px;
    margin: 0 auto;
  }
  
  .main.vresource-archive {
    width: auto;
  }

  .post-media {
    position: relative;
    float: none;
    margin: 0 auto;
    width: 300px;
    margin-left: auto;
  }

  .resource-description {
    clear: left;
    width: auto;
  }

  #resource-form .gform_wrapper {
    float: left;
    clear: left;
  }

  .post-head .push-down-40 {
    margin-bottom: 10px;
  }

  #resource-form .gform_wrapper {
    width: 100%;
  }

  .button-container {
    width: 100%;
  }

  figure figcaption {
    margin-bottom: 1em;
  }

  .button-container p {
    width: 225px;
  }

  .resource-breadcrumb {
    margin: 20px auto 20px;
    width: 540px;
  }

  .main.resource-archive {
    width: 570px;
    margin: 0 auto;
  }

  .spotlight article.resource.listing:nth-of-type(3n-0) {
    display: none;
  }

  .search-bar .search-outer {
    margin-top: 54px;
  }

}

@media handheld, only screen and (max-width: 830px) {
  .search-bar .search-outer {
    margin-top: 38px;
  }
}

@media handheld, only screen and (max-width: 800px) {

  #resource-filter .select {
    clear: none;
    float: none;
    width: auto;
    margin: 10px 20px;
  }

  #resource-filter .submit input {
    margin: 0;
  }

  #resource-filter {
    width: auto;
  }

  .resource-nav .submit {
    margin-left: 20px;
  }

  .post-head h1 {
    font-size: 2em;
  }

  .hero-header {
    background-attachment: scroll !important;
  }

  .vresource-archive {
    display: block;
  }
  
  .main article.resource.vresource {
    border-bottom: 1px #ccc solid;
  }

}

@media handheld, only screen and (max-width: 769px) {
  .search-bar.mobile {
    display: none !important;
  }

  #resource_title_counter {
    display: block;
    margin-top: .2em;
  }
}

@media handheld, only screen and (max-width: 610px) {

  .main .hr:nth-of-type(2n-0), .spotlight article.resource.listing:nth-of-type(3n-0), .spotlight article.resource.listing:nth-of-type(4n-0) {
    display: none;
  }

  .spotlight > div {
    width: 315px;
    margin: 0 auto;
  }

  .hero-header h1 {
    font-size: 30px;
  }

  .main {
    width: 300px;
    margin: 0 auto;
  }

  .resource-breadcrumb {
    width: 260px;
    text-align: left;
  }

  .main.resource-archive {
    width: 300px;
    margin: 0 auto;
  }

  #resource_form fieldset p {
    padding-left: 0;
    float: none;
  }

  #resource_form label {
    float: none;
  }

}

@media handheld, only screen and (max-width: 480px) {

  .resource-nav .submit {
    margin-left: 0;
  }

  #resource-filter .select {
    clear: none;
    float: none;
    width: 100%;
    margin: 7px 0px;
  }

  #resource-filter .submit input {
    margin: 0;
  }

  form#resource-filter {
    width: 280px;
  }

  .download-btn-file a, .post-body .button-container a, .download-btn-right a {
    float: none;
    width: 225px;
    margin: 0 auto 10px;
  }

  .h1 {
    font-size: 2em;
  }

  .resource-header-buttons {
    width: auto;
  }

  .main article.resource.vresource,
  .resource.vresource .thumb,
  .resource.vresource .info.with-thumb.vresource {
    max-width: 100%;
    margin: 0;
  }

  .main.resource-archive,
  .resource-breadcrumb {
    margin: 0;
  }
}
