body.popup-show .mobile-shopping,
body.popup-show .main-menu {
    z-index: 10;
}

/* brand */
.box-content {
	flex-wrap: wrap;
}

.box-content .group-left .taxonomy-term-description h2{
  margin: 10px 0 20px;
}

.box-content.full-width .box-content__left{
  width: 100%;
}

.field-name-field-brochure-, .field-name-field-pdf-resource {
	width: 100%;
	position: relative;
}

.field-name-field-pdf-resource .field-items,
.views-field-field-pdf-resource  .field-content{
	display: flex;
	justify-content: center;
    flex-wrap: wrap;
}

.field-name-field-pdf-resource .field-items .field-item,
.views-field-field-pdf-resource  .field-content .field-item {
    margin: 0 15px;
    width: 26%;
}

.field-name-field-pdf-resource .field-items a,
.views-field-field-pdf-resource  .field-content a{
	display: inline-block;
    color: #fff;
    background: #f87e55;
    /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#f87e55, #ec5353);
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#f87e55, #ec5353);
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#f87e55, #ec5353);
    /* For Firefox 3.6 to 15 */
    background: -webkit-gradient(linear, left top, left bottom, from(#f87e55), to(#ec5353));
    background: linear-gradient(#f87e55, #ec5353);
    /* Standard syntax */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f87e55', endColorstr='#ec5353', GradientType=0);
    /* IE6-9 */
    border-radius: 15px;
    line-height: 1;
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    padding: 16px 25px;
    min-width: 236px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.taxonomy-term-pdf-resource a {
    display: inline-block;
    color: #fff;
    background: #f87e55;
    /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#f87e55, #ec5353);
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#f87e55, #ec5353);
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#f87e55, #ec5353);
    /* For Firefox 3.6 to 15 */
    background: -webkit-gradient(linear, left top, left bottom, from(#f87e55), to(#ec5353));
    background: linear-gradient(#f87e55, #ec5353);
    /* Standard syntax */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f87e55', endColorstr='#ec5353', GradientType=0);
    /* IE6-9 */
    border-radius: 15px;
    line-height: 1;
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    padding: 16px 25px;
    min-width: 236px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.field-name-field-pdf-resource .field-items a:hover,
.views-field-field-pdf-resource  .field-content a:hover,
.taxonomy-term-pdf-resource a:hover {
    color: #fff;
    background: #f87e55;
    /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#f87e55, #f87e55);
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#f87e55, #f87e55);
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#f87e55, #f87e55);
    /* For Firefox 3.6 to 15 */
    background: -webkit-gradient(linear, left top, left bottom, from(#f87e55), to(#f87e55));
    background: linear-gradient(#f87e55, #f87e55);
    /* Standard syntax */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f87e55', endColorstr='#ec5353', GradientType=0);
    /* IE6-9 */
}

.popup-show.show-pdf .product-term .webform-client-form-1147,
.popup-show.show-pdf #block-views-taxonomy-block-pdf-resource .webform-client-form-1147{
	visibility: visible;
    opacity: 1;
}

.popup-show.show-pdf .product-term .webform-client-form-1132 {
	visibility: hidden;
    opacity: 0;
}

.popup-show.show-brochure .product-term .webform-client-form-1132 {
	visibility: visible;
    opacity: 1;
}

.popup-show.show-brochure .product-term .webform-client-form-1147 {
	visibility: hidden;
    opacity: 0;
}

.taxonomy-term-pdf-resource {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.product-term .webform-client-form h2{
  max-width: 485px;
  margin-right: auto;
  margin-left: auto;
}

#block-views-taxonomy-block-pdf-resource .webform-client-form h2,
.product-term .webform-client-form.webform-client-form-1147 h2 {
  max-width: 485px;
  margin-right: auto;
  margin-left: auto;
}

.page-taxonomy-term-brand .field-name-field-pdf-resource {
    margin-top: 50px;
}

/* product */
#block-views-taxonomy-block-pdf-resource {
    margin-bottom: 20px;
}

.popup-show #block-views-taxonomy-block-pdf-resource .webform-client-form {
    visibility: visible;
    opacity: 1;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    top: 50%;
}

#block-views-taxonomy-block-pdf-resource .webform-client-form {
  position: fixed;
  top: 20%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 630px;
  width: calc(100% - 20px);
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #f7f7f7;
  z-index: 101;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  padding: 20px 10px;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form .form-actions {
  text-align: center;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form h2 {
  color: #737373;
  font-size: 20px;
  line-height: 1.45;
  text-align: center;
  font-weight: 300;
  margin-bottom: 41px;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form .form-group {
  margin-bottom: 10px;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form .webform-component-checkboxes {
  color: #737373;
  font-size: 12px;
  font-weight: 300;
  margin-top: 17px;
  margin-bottom: 38px;
  cursor: pointer;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form input[type="checkbox"] {
  margin: 0 0 0 -20px;
  width: auto;
  top: 1px;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form .btn {
  padding: 7px 21px;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form input[type="text"],
#block-views-taxonomy-block-pdf-resource .webform-client-form input[type="email"] {
  max-width: 348px;
  height: 31px;
  font-size: 16px;
  font-weight: 300;
  border-radius: 5px;
  margin-bottom: 10px !important;
  padding: 0 7px;
  line-height: 31px;
  margin-right: auto;
  margin-left: auto;
}

.product-term .webform-client-form.webform-client-form-1147 input[type="text"], 
.product-term .webform-client-form.webform-client-form-1147 input[type="email"] {
  margin-right: auto;
  margin-left: auto;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form .form-item label,
.product-term .webform-client-form.webform-client-form-1147 .form-item label {
  max-width: 348px;
  margin-right: auto;
  margin-left: auto;
  display: block;
}
#block-views-taxonomy-block-pdf-resource .webform-client-form .close-popup {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  background: url('../images/close-icon.png') no-repeat scroll 0 0 transparent;
  background-position: center center;
  cursor: pointer;
}

/* responsive */
@media only screen and (max-width: 1199px){
    .views-field-field-pdf-resource .field-content .field-item {
        width: 45%;
    }
}

@media only screen and (max-width: 1023px){
    .page-taxonomy-term-brand .field-name-field-pdf-resource {
        margin-top: 100px;
    }

    #block-views-taxonomy-block-pdf-resource {
        margin: 20px 0;
    }
}

@media only screen and (max-width: 991px) { 
    .field-name-field-pdf-resource .field-items,
    .views-field-field-pdf-resource  .field-content {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .field-name-field-pdf-resource .field-items .field-item,
    .views-field-field-pdf-resource  .field-content .field-item  {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

@media only screen and (max-width: 475px) { 
    .product-term .webform-client-form h2,
    #block-views-taxonomy-block-pdf-resource .webform-client-form h2 {
        margin-bottom: 20px;
    }

    .product-term .webform-client-form,
    #block-views-taxonomy-block-pdf-resource .webform-client-form {
        padding: 20px;
    }
}

@media only screen and  (max-height: 440px){
    .product-term .webform-client-form,
    #block-views-taxonomy-block-pdf-resource .webform-client-form {
        overflow-y: scroll;
        height: 100%;
    }

    .product-term .webform-client-form h2,
    #block-views-taxonomy-block-pdf-resource .webform-client-form h2 {
        margin-bottom: 15px;
    }

    .product-term .webform-client-form > div,
    #block-views-taxonomy-block-pdf-resource .webform-client-form > div{
        padding-top: 50px;
    }
}
