/* Supporting Pages - To Create or Update Campaigns */
.campaign-assets-table tr th.campaign-action-area,
.campaign-settings-table tr th.campaign-action-area
{
  min-width: 175px;
}

.ruckus-campaign-categories-list {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.ruck-campaign-category {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 25%;
  max-width: 450px;
  margin: 10px;
  text-align: center;
  padding: 11px;
  box-shadow: -3px 3px 6px 1px rgba(163,163,163,0.6);
  border-right: 1px solid #ebebeb;
}

.ruck-campaign-category .img-wrapper img {
  width: 100%;
}

@media only screen and (max-width: 1000px) {
  .ruck-campaign-category {
    width: 35%;
  }
}

@media only screen and (max-width: 600px) {
  .ruck-campaign-category{
    width: 100%;
  }
}

section.demand-generators .description {
  margin-bottom: 17px;
}

.ruck-campaign-category img {
  vertical-align: middle;
  margin-bottom: 20px;
}

.campaign-actions-label {
  font-size: 16px;
  font-weight: bold;
  padding-right: 11px;
}



.campaign-item .campaign-item-edit-area {
  padding: 3px;
}

.associated-campaigns-area {
  margin-top: 13px;
  border-top: solid #eee 1px;
  padding-top: 13px;
}

.campaigns-headlines-and-assets-boxes {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 13px;
  border-top: solid #eee 1px;
  padding-top: 13px;
}

.campaigns-headlines-area {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 5px;
}

section.campaigns-head-asset-section.assets .campaign-actions,
section.campaigns-head-asset-section.headlines .campaign-actions {
  padding: 7px;
}

.campaigns-assets-area {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 9px;
  margin-top: 5px;
}

.campaign-headline {
  margin: 9px;
  border: solid #efefef 1px;
  min-width: 175px;
  padding: 11px;
  text-align: center;
  width: 25%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.campaign-asset {
  margin: 9px;
  border: solid #efefef 1px;
  min-width: 175px;
  padding: 11px;
  width: 90%;
  overflow: hidden;
}

.campaign-headline img {
  width: 100%;
}

.campaign-headline .edit-buttons,
.campaign-asset .edit-buttons {
  padding: 11px;
}

section.campaigns-head-asset-section {
  width: 48%;
  min-height: 400px;
}

.ruckus-campaign-category-choose,
.ruckus-campaign-choose
{
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ruckus-campaign-landing-category {
  width: 25%;
  margin-right: 17px;
  margin-top: 17px;
  text-align: center;
  box-shadow: -3px 3px 6px 1px rgba(163,163,163,0.6);
  border-right: 1px solid #ebebeb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media only screen and (max-width: 1000px) {
  .ruckus-campaign-landing-category {
    width: 45%;
    margin-right: 17px;
    margin-top: 17px;
    text-align: center;
  }
}

@media only screen and (max-width: 600px) {
  .ruckus-campaign-landing-category {
    width: 100%;
    margin-right: 17px;
    margin-top: 17px;
    text-align: center;
  }
}

.ruckus-campaign-landing .campaign-body-copy {
  padding: 11px;
}

.ruckus-campaign-landing .actions {
  text-align: center;
  padding: 7px;
}

.ruckus-campaign-landing-category h3,
.ruckus-campaign-landing h3
{
  background: #000;
  padding: 12px;
  margin: 0;
}


.ruckus-campaign-landing .campaign-head-label {
  background: #444;
  padding: 12px;
  font-size: 17pt;
}

.ruckus-campaign-landing-category h3 a:link,
.ruckus-campaign-landing-category h3 a:visited,
.ruckus-campaign-landing h3 a:link,
.ruckus-campaign-landing h3 a:visited
{
  color: #fff;
}

.ruckus-campaign-landing-category .ruckus-campaign-lading-image-wrap img,
.ruckus-campaign-landing .ruckus-campaign-lading-image-wrap img
{
  vertical-align: top;
  width: 100%;
}


.campaign-area .asset-checkbox {
  padding-right: 15px;
}

ul#ruckus_campaigns_asset_categories_page li {
  margin-top: 25px;
  list-style: none;
  vertical-align: middle;
}

ul#ruckus_campaigns_asset_categories_page li img {
  vertical-align: middle;
}


.button.campaign-button {
  font-size: 14px;
}

.campaign-assets-table tr th.campaign-action-area,
.campaign-settings-table tr th.campaign-action-area
{
  min-width: 175px;
}

.ruckus-campaign-categories-list {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.ruck-campaign-category {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 25%;
  max-width: 450px;
  margin: 10px;
  text-align: center;
  padding: 11px;
  box-shadow: -3px 3px 6px 1px rgba(163,163,163,0.6);
  border-right: 1px solid #ebebeb;
}

.ruck-campaign-category .img-wrapper img {
  width: 100%;
}

@media only screen and (max-width: 1000px) {
  .ruck-campaign-category {
    width: 35%;
  }
}

@media only screen and (max-width: 600px) {
  .ruck-campaign-category{
    width: 100%;
  }
}

.ruck-campaign-category img {
  vertical-align: middle;
  margin-bottom: 20px;
}

.campaign-actions-label {
  font-size: 16px;
  font-weight: bold;
  padding-right: 11px;
}

.campaigns-divs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.campaign-item  {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 400px;
  border: solid grey 1px;
  padding: 11px;
  background: #efefef;
  margin: 8px;
}

/* Ruckus Campaign Category Landing Page */
.demand-generators {
  padding: 0 5%;
  padding-bottom: 1rem;
}

@media screen and (min-width: 88em) {
  .demand-generators {
    padding: 0 8%;
  }
}

@media screen and (min-width: 105em) {
  .demand-generators {
      padding: 0;
      max-width: 88rem;
      margin: 0 auto;
  }
}

.demand-generators h3,
.demand-generators h4,
.demand-generators h5 {
  margin: 0.5rem 0;
}

.demand-generators .note:last-child {
  margin-bottom: 0;
}

.demand-generators .collection {
  margin-top: 2rem;
}

.demand-generators .collection-item {
  background-color: #fff;
  box-shadow: -3px 3px 6px 1px rgba(163,163,163,0.6);
  border-right: 1px solid #ebebeb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 450px;
}


.demand-generators .collection-item .text-overlay {
  background-color: #383a35;
  min-height: 56px !important;
}
.demand-generators .collection-item .text-overlay h3 {
  margin-top: 0;
}

.ruckus-campaign-category-description,
.ruckus-campaign-category-actions
{
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-flow: row wrap;
}


.collection-item .ruckus-campaign-category-actions a.button {
  color: #fff;
  white-space: nowrap;
  min-height: auto;
}

.collection-item .ruckus-campaign-category-description {
  min-height: 50px;
  font-size: 1rem;
}


/* Campaign Generator Form */
#email_campaign legend {
  font-weight: 500;
  font-size: 1.3rem;
}

#email_campaign h5 {
  margin-bottom: 0 !important;
  font-weight: 500;
}

#email_campaign .signature {
  color: #d3d2d2;
}

#email_campaign .signature:focus {
  color: #383a35;
}

#campaign_chooser {
  overflow: hidden;
}

#email_campaign select {
  border: 1px solid #d9d9d9;
  background-color: #fff;
}

.logo input[name=logo] {
  margin-bottom: 0;

}

#email_campaign .highlighted {
  background-color: #eaeaea;
  padding: 11px;
  border: none;
  height: auto !important;
  font-weight: 300;
  box-shadow: none;
  line-height: 1.5;

}

#email_campaign #campaign_suggested_subject {
  margin-bottom: 0;
}

#email_campaign #campaign-image-area {
  margin-bottom: 1rem;
}

#email_campaign #campaign-image-area img {
  max-width: 600px;
}

#email_campaign .orange-text {
  color: #e7721c;
}


#email_campaign input[type=submit] {
  float: left;
  margin: 10px 30px 0 0;
  width: 90px;
}

#email_campaign .accordion {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  column-gap: 2rem;
  -moz-column-rule: 1px solid #d9d9d9;
  -webkit-column-rule: 1px solid #d9d9d9;
  column-rule: 1px solid #d9d9d9;
}

@media only screen and (max-width: 640px) {
  #email_campaign .accordion {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}

@media only screen and (max-width: 480px) {
  #email_campaign .accordion {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

#email_campaign .accordion section {
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  display: table;
  width: 100%;
  margin-bottom: 1rem;
}

#email_campaign .accordion section .content p {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#email_campaign .accordion section input {
  -webkit-box-flex: 0 0 auto;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 0 0 auto;         /* OLD - Firefox 19- */
  -webkit-flex: 0 0 auto;          /* Chrome */
  -ms-flex: 0 0 auto;              /* IE 10 */
  flex: 0 0 auto;
  margin-right: 10px;
}

#email_campaign .accordion section label {
  line-height: 1.2;
  padding-right: 8px;
  -webkit-flex-grow: 1;           /* All others */
  -ms-flex-positive: 1;           /* IE 10 */
  flex-grow: 1;
}

#email_campaign .accordion section a {
  -webkit-box-flex: 0 0 auto;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 0 0 auto;         /* OLD - Firefox 19- */
  -webkit-flex: 0 0 auto;          /* Chrome */
  -ms-flex: 0 0 auto;              /* IE 10 */
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  margin: 0;
}

#email_campaign input[type="radio"] {
  margin-bottom: 0;
}

