@brand-primary: #F343A0;
@brand-friend: #27b6f6;
@color-success: #61ce70; //green
@color-warning: #f39c12; //orange
@color-error: #d7263d;
@color-complianz: #29b6f6;
@light-text-color: #3c3c3c;
@border-color: #DEDEDE;
@grey-light: #ededed;
@color_open: #E366A1;
//#wpfooter {
//  background-image: url("../../images/really-simple-plugins.png");
//  background-repeat: no-repeat;
//  background-position-x: right;
//  background-position-y: top;
//  padding-top:30px;
//}
.notice:not(.really-simple-plugins){
  display:none;
}

/*
    Add NEW Button
 */
.zrdn-active-badge{
  background: @color-success;
  border-radius: 13px;
  margin-left: 5px;
  padding: 4px 8px;
  color: #fff;
  font-size: 0.8em;
}
.zrdn-new-badge{
  background: @color-error;
  border-radius: 13px;
  margin-left: 5px;
  padding: 4px 8px;
  color: #fff;
  font-size: 0.8em;
}

.zrdn-notice-hook-element {
  display:none;
}

.zrdn-grid-controls .rsp-logo {
  width: 202px;
  margin-top: -20px;
  margin-right: 16px;
  height: 30px;
  img {
    width:100%;
  }
}

//recipe overview
.zrdn-recipes {
  .column-details {
    padding-top:19px;
  }

  .zrdn-badge {
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;

    &.popular {
      background-color: @color-success;
    }

    &.demo {
      background-color: @color-complianz;
    }
  }
}

#zip-recipes.wrap {
  margin-left:-20px;
  margin-right:0;
  margin-top:0;
}


#zrdn-dashboard {
  
  .zrdn-gridless {

    .zrdn-grid-title {
      display: flex;
      justify-content: space-between;
    }
    .zrdn-bullet {
      height: 15px;
      width: 15px;
      border-radius: 50%;
      margin-right: 10px;
      background-color: @grey-light;

      &.lover {
        background-color: @brand-primary;
      }
      &.friend {
        background-color: @brand-friend;
      }
      &.active {
        background-color: #36d636;
      }
    }
    .zrdn-item.zrdn-bulleted-block {
      .item-content {
        padding: 15px 20px;
        margin: 0 auto;
        >div {
          display: flex !important;
          flex-direction: column;
          flex-wrap: wrap;
          height:160px;
        }
      }
    }
    .zrdn-bulleted-upsell {
      flex-direction: row;
      padding: 18px 6px;
      align-items: center;
      color: @grey-light;
      a{
        text-decoration: none;
        color: @light-text-color;
        &:hover {
          color: #E366A1;
        }
      }

      .zrdn-plugin-text, .zrdn-plugin-color {
        float:left;
      }
    }



    .zrdn-extension-label{
      min-width:55px;
      background-color: @grey-light;
      color:white;
      border: 0;
      border-radius: 15px;
      font-size: 11px;
      padding: 3px 10px;
      height: 27px;
      margin-right: 2px;
      right: 25px;
      position: absolute;

      &.lover {
        background-color: @brand-primary;
      }
      &.friend {
        background-color: @brand-friend;
      }
      &.active {
        background-color: #36d636;
      }
      &.disabled {
        background-color: #d7263d;
      }
      &.zrdn-hide-bullet {
        display:none;
      }
    }
    .zrdn_extension_explanation_container {
      .zrdn-extension-label {
        position:relative;
        margin-left:25px;
      }
    }
    .zrdn-grid-title  .zrdn-extension-label{
      border-radius: 50%;
      min-width: 15px;
      height: 15px;
      padding:0;
    }
    height: 100vh;
    min-height:2000px;
    .item-content {
      width:100%;
      padding-top:0;
    }
    .zrdn-item {
      img {
        width: 100%;
        margin: 0;
      }
      position:relative;
      float:left;

      .item-container .item-content {
        display: block;

        div.zrdn-desc, .zrdn-license-container {
          margin: 0 25px;
        }

        .zrdn-extension-image {
          height:250px;
          overflow:hidden;
          margin-bottom:15px;
        }



        .zrdn-button-paragraph {
          margin:0;
          border-top: 1px solid @grey-light;
          position: absolute;
          bottom: 42px;
          height: 7px;
          white-space: nowrap;
          width: 340px;
          padding:20px;

          .zrdn-button {
            position: absolute;
            bottom: -33px;
            text-align: center;
            width: 100%;
          }
          input[type=submit]{
            margin-top:10px;
          }
        }

        .zrdn-license-container {
          .zrdn-button-paragraph {
            width:680px;
          }
        }
      }
    }
    .zrdn-item[data-id="general"] {
      .zrdn-button-paragraph {
        padding:10px 0 0 10px;
      }
    }


  }
}

.zrdn-row-bottom {
  position: absolute;
  bottom: 42px;
  height: 7px;
  white-space: nowrap;
  width: 330px;
  padding:25px 0;
  .zrdn-button-container {
    margin:20px 0 0 0;
    border-top: 1px solid @grey-light;
    position:relative;
    .zrdn-button {
      position: absolute;
      bottom: -33px;
      text-align: center;
      width: 100%;
      margin-top: 15px;
    }
    .button {
      margin-top:15px;
    }
    input[type=submit]{
      margin-top:15px;
    }
  }
}

.zrdn-gridless {
  .zrdn-row-bottom {
    padding:25px;
    .zrdn-button-container {
      margin:40px 0 0 0;
    }
  }
}

.update-nag{
  display:none;
}

.zrdn-settings-logo{
  height: 22px;
  padding-top: 10px;
}
@media screen and (max-width: 1300px) {
  .zrdn-settings-logo {
    display:none;
  }
}

// Override default WP padding and margin on dashboard
.tools_page_zrdn-settings-page {

  #wpcontent {
    padding: 0;
  }

  .wrap {
    margin: 0 0 0 0;
  }
}

#zrdn-toggle-arrows {
  margin-top: 6px;
}


#zip-recipes {

  ul.tabs li.current {
    background: #ffffff;
    color: #222;
  }

  .tab-content {
    display: none;
    background: #F1F1F1;
    padding: 15px;
  }

  .tab-content.current {
    //display: none;
    display: block;
  }

  .tab-text {
    color: #444444;
    font-size: 1.2em;
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0;
    &:focus{
      box-shadow: initial;
    }
  }

  .current .tab-text {
    padding-bottom: 25px;
    border-bottom: 2px solid #000;
  }

  ul.tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    height: 70px;
  }

  ul.tabs li {
    background: none;
    color: #222;
    display: inline-block;
    padding: 15px 25px;
    cursor: pointer;
    margin: 0;
  }

  ul.tabs li.current {
    background: #ffffff;
    color: #222;
  }

  .tab-content {
    display: none;
    background: #F1F1F1;
    padding: 15px;
  }
}
.zrdn-recipes-overview-container {
  margin-left:20px;
  margin-right:20px;
  .zrdn-add-recipe {
    margin-top: 40px;
    margin-bottom: -25px;
  }

  .search-box {
    select  {
      vertical-align: initial;
    }
  }

  .zrdn-recipes-overview {
    background-color:#fff;
    margin-top: 20px;
    .zrdn-recipes-overview-header {
      padding: 10px 20px;
      h1 {
        font-weight: bold;
        font-size: 15px;
      }
    }
    .zrdn-recipes-overview-intro {
      border-top: 1px solid @grey-light;
      padding: 10px 20px;
    }
  }

}

.zrdn-settings-container {
  .tabs {
    background: #fff;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-content: center;
    align-items: center;
    .header-upsell {
      width: 100px;
      margin-right: 15px;
    }
    .button {
      color: white !important;
      background-color: #007BBC !important;
    }
  }
  .tabs-content {
    display: flex;
    width: 100%;
    margin-left: 25px;
  }
  @media only screen and (max-width: 1300px) {
    .tabs-content{
      margin-left:0;
    }
  }
  .documentation-container {
    display: flex;
    align-items: center;
    margin-right:20px;
  }

  .header-links {
    width: 90%;
    display: flex;
    justify-content: space-between;
  }
  .tab-links {
    margin-left: 25px;
    color: @light-text-color;
  }
  @media only screen and (max-width: 1300px) {
    .tab-links {
      margin-left:0;
    }
  }
  @media only screen and (max-width: 1200px) {
    .documentation-container {
      display:none;
    }
  }
  @media only screen and (max-width: 680px) {
    .tabs {
      display:none;
    }
  }
  .documentation {
    margin-right: 25px;
  }
  .button:hover {
    background-color: #007BBC !important;
  }
}


/**
widget
 */
#dashboard_widget_zrdn, #zrdn-dashboard {
  .inside {
    padding:0;

    #zrdn-dashboard-widget{
      h3 {
        font-weight:600;
        margin-top:10px;
        margin-left:20px;
        padding-bottom: 5px;
      }
      .zrdn-widget-logo {
        margin-left:20px;
        display:flex;
        span {
          padding: 10px;
        }
      }
      ul {
        background-color: #fafafa;
        margin:0;
      }
      li {
        border-top: 1px solid #eee;
        margin: 0;
        padding: 8px 12px;
        color: #32373c;
      }
      li .zrdn-frequency {
        float:right;
        color:@light-text-color;

      }
      li .zrdn-time{
        margin-left:25px;
        color:@light-text-color;
      }
      .dashicons-arrow-up-alt{
        color:@color-success;
      }
      .dashicons-arrow-down-alt{
        color:@color-error;
      }

      #zrdn-dashboard-widget-footer {
        margin-top: 0;
        margin-bottom: 0;
        padding: 12px;
        border-top: 1px solid #eee;
        color: #ddd;
      }
    }
  }
}

.zrdn-dashboard-widget-grid li{
  height: 50px;
  border-top: 0 !important;
  border-bottom: 1px solid @border-color;
  background-color: #fff;
}

.zrdn-dashboard-widget-grid ul {
  border-top: 1px solid #eee;
}

.search-info-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.term-frequency-container {
  padding-left: 25px;
  padding-top: 10px;
}

.term-frequency-container a {
  text-decoration: none;
  color: black;
}

.widget-row {
  display: flex;
}

.widget-row .dashicons {
  font-size: 15px;
  padding-top: 5px;
  margin-top: 10px;

}
&.zrdn-time {
  margin: 0 !important;
}
.zrdn-widget-grid-wrapper {
  padding-top: 5px;
}
&.zrdn-frequency{
  padding-top: 10px;
}
&.zrdn-time {
  margin-top: -10px
}
/*
    *
    *   Dashboard styling
    *
 */
#zrdn-dashboard {
  //padding-right:15px;

  .zrdn-settings-intro {
    margin-left: 0 !important;
  }

  .zrdn-settings-intro-text {
    font-weight: 600;
  }

  .zrdn-image {
    display: inline-block;
    vertical-align: middle;
    height: 50px;
    width: 50px;
  }

  //hide the "25 entries" dropdown
  .dataTables_length{
    display:none;
  }
  .dataTables_filter {
    margin-top: 5px;
    position: absolute;
    right: 0;
  }

  .search-insights-dashboard {
    display: flex;
    flex-flow: row wrap;
    word-break: break-all;
  }

  /*
    General table styling
  */

  .dataTables_wrapper {
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }

  .item-content {
    flex: 1;
    margin: 0 auto;
    position: relative;
    width: 95%;

    input[type="search"] {
      width: 250px;
      margin-right: 10px;
      border: 1px solid #DEDEDE;
    }
  }

  .zrdn-term a {
    text-decoration: none;
    color: @light-text-color;
  }

  .zrdn-date-filter {
    border: 1px solid #DEDEDE;
  }

  /*
      Individual table styling
   */

  #zrdn-recent-table, #zrdn-popular-table {
    width:100%;

  }

  .hit-icon {
    font-size: 1.6em;
  }

  .icon-cancel {
    color: @color-error;
  }

  .icon-ok {
    color: @color-success;
  }

  #term-link {
    text-decoration: none;
  }

  /*
      Table footer
   */

  .table-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    position: absolute;
    bottom: 50px;
    width:100%;
    button {
      float:right;
    }
  }

  .dataTables_info {
    text-align: left;
    margin-left: 15px;
    width: 30%;
  }

  .dt-buttons {
    text-align: center;
    width: 30%;
  }

  .dt-button {
    position: relative;
    display: inline-block;
    background: none;
    border: none;
    padding-top: 20px;
    cursor: pointer;
    text-decoration: -webkit-link;
    color: #0073aa;
    transition-property: border,background,color;
    transition-duration: .05s;
    transition-timing-function: ease-in-out;
    text-decoration: underline;
  }

  .dt-button:hover {
    opacity: 0.75;
  }

  .dataTables_paginate {;
    flex: 1;
    margin-top: 20px;
    //text-align: left;
    cursor: pointer;
  }

  .dataTables_paginate .paginate_button {
    color: black;
    padding: 0.5em 1em;
    box-sizing: border-box;
    border: 1px solid #DEDEDE;
    box-shadow: 0px 1px 1px #DEDEDE;
  }

  .dataTables_paginate .current {
    color: white;
    background-color: @color-error;
    border: 1px solid #979797;
  }

  #zrdn-recent-table_previous {
    padding: 0.5em 1.8em;
    color: @color-error;
  }

  #zrdn-recent-table_next {
    padding: 0.5em 1.8em;
    color: @color-error;
  }

  /*
      No Results grid item
   */

  .zrdn-nr-overview {
    margin: 0 auto;
    width: 95%;
  }

  .zrdn-nr-title {
    font-size: 1.1em;
    font-weight: 700;
  }

  .zrdn-nr-title-in-widget {
    font-weight: 600;
  }

  .zrdn-nr-header {
    display: flex;
    flex-direction: column;
    height: 50px;
    border-bottom: 1px solid @border-color;
  }

  .zrdn-nr-header-items {
    padding-top: 10px;
    font-weight: 500;
  }

  .nr-widget-results-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid @border-color;
  }

  .popular-terms-title {
    padding-top: 15px;
  }

  /*
    Progress bar
   */

  .progress-bar-container {
    padding-top: 15px;
    margin: 0 auto;

  }

  .progress {
    overflow: hidden;
    height: 20px;
    border-radius: 5px;
    background-color: #f7f7f7;
  }

  .progress .bar {
    height: 100%;
    background-color: @color-success;

  }

  // End progess bar

  .progress-text {
    display: flex;
    padding-top: 20px;
  }

  .percentage {
    font-size: 24px;
    font-weight: 700;
  }

  .percentage-text {
    padding-left: 10px;
  }

  // End progress section

  .dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
  }

  .dot-and-text {
    display: flex;
  }

  .result-title {
    font-weight: 600;
    padding-left: 10px;
  }

  .dot-success {
    background-color: @color-success;
  }

  .dot-error {
    background-color: @color-error;
  }

  .zrdn-result-count {
    color: @light-text-color;
    padding-top: 10px;
    padding-left: 20px;
  }

  .zrdn-no-results {
    margin-top: -17px;
  }

  .zrdn-total-searches {
    padding-top: 25px;
    padding-bottom: 10px
  }

  .zrdn-search-count {
    font-size: 1.1em;
    font-weight: 700;
  }

  .zrdn-header-right {
    float: right;
  }
  .date-btn-all-searches{
    position: absolute;
    right: 180px;
    margin-top: 5px;
  }

  .zrdn-btn-no-results {
  }

  //.zrdn-nr-content {
  //  height: 270px;
  //}

  .zrdn-nr-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    .dt-buttons {
      margin: 0 auto;
    }
  }

  /*
    Top Searches grid widget
   */

  .zrdn-top-searches-btn {
    margin-top: -7px;
  }

  /*
    Other plugins
   */
  .upsell-grid-container {
    display: flex;
    justify-content: space-between;
    width: 800px;
  }

  .upsell-grid-container .item-content {
    width: 100% !important;
  }


  .zrdn-other-plugins-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    width: 800px;
  }
  .zrdn-upsell {
    width: 450px;
    margin-right: 20px;
    margin-left: 10px;
  }

  .zrdn-upsell-title {
    height: 15%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid @border-color;
    margin-bottom: 20px;
    //padding-bottom: 10px;
  }


  .zrdn-upsell span.dashicons {
    //margin-top: 10px;
    color: #FFB900;
  }

  .upsell-img {
    height: 25px;
    width: 25px;
  }

  .zrdn-top-title {
    padding-bottom: 15px;
    font-size: 1.2em;
    font-weight: 700;
  }

  .zrdn-upsell-content {
    height: 33.33%;
    margin-top: 20px;
  }

  .zrdn-upsell-button {
    height: 50px;
    display: flex;
    align-items: center;
    border-top: 1px solid @border-color;
  }

  .zrdn-upsell-button > a {
    width: 80%;
  }

  .button-upsell {
    width: 100px;
    color: #0071a1;
  }

  // hide the export buttons on popular searches tables
  #zrdn-popular-table_wrapper > div.dt-buttons {
    display: none;
  }

  /*
      *
      *   Settings page styling
      *
   */

  .zrdn-settings-intro {
    display: inline-block;
    padding-top: 10px;
    margin-bottom: 25px;
    margin-left: -58px;
  }

  .zrdn-settings-intro-text {
    font-size: 1.3em;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
  }

  .rsp-image {
    height: 35px;
    margin-left: 10px;
    margin-bottom: -12px;
  }

  .form-table {
    padding-left: 50px;
  }

  #settings {
    position: relative;
  }

  .form-table > tbody:nth-child(1) > tr:nth-child(6) > th:nth-child(1) {
    display: none;
  }

  #settings-section {
    padding-left: 25px;
    background-color: #fff;
    box-shadow: 1px 1px #dedede;
    width: 800px;
  }

  //#settings-section .button {
  //  margin-bottom: 25px;
  //  margin-left: 25px;
  //}

  #zrdn-filter {
    background-color: #fff;
    height: 250px;
    width: 825px;
  }

  .settings-title {
    display: flex;
    flex-direction: column;
  }

  .filter-title {
    flex-direction: unset;
    align-items: center;
    margin-bottom: 10px;
  }

  #zrdn-filter tr {
    display: flex;
    flex-direction: column;
  }

  #zrdn-filter th {
    display: flex;
    justify-content: flex-start;
  }

  //#settings button {
  //  margin: 25px;
  //}

  #filter-inner {
    margin: 25px;
  }

  #zrdn_filter_textarea {
    width: 700px;
    height: 100px;
    border: 1px solid @border-color;
  }

  .filter-save {
    margin-left: 25px;
  }

  #settings td {
    display: flex;
  }

  #zrdn_exclude_admin {
    display: none;
  }

  .zrdn_term_length {
    width: 60px;
    text-align: center;
  }

  .thickbox {
    padding-bottom: 20px;
    background-color: @color-error;
    margin-left: -10px;
    color: white;
    border: none;
    height: 30px;
    width: 150px;
    //border-bottom: 1px solid @border-color;
  }

  #clear-searches-btn-border {
    border-bottom: 1px solid @border-color;
    margin-bottom: 20px;
    width: 95%;
  }

  /*
    Tips and Tricks
   */

  .zrdn-tips-tricks-content {
    font-size: 1em;
    color: @light-text-color;
    padding-bottom: 10px;
    list-style: decimal;
    list-style-position: inside;
  }

  .tips-tricks-content {
    height: 100px;
    margin-bottom: 10px;
    border-bottom: 1px solid @border-color;
  }

  .zrdn-tips-tricks-container-title {
    border-bottom: 1px solid @border-color;
  }

  /*Tooltips on dashboard/settings page*/

  #settings .zrdn-tooltip-right {
    float: right;
    margin-left: 8px;
    margin-top: 1px;
  }

  #dashboard .zrdn-tooltip-right {
    float: right;
  }

  .dashboard-tooltip-hits > span:nth-child(1) > span:nth-child(1) {
    margin-left: -135px;
  }

  .dashboard-tooltip-from > span:nth-child(1) > span:nth-child(1) {
    margin-left: -65px;
  }


  input:focus + .zrdn-slider {
    box-shadow: 0 0 1px @brand-primary;
  }

}

#zrdn-dashboard, #zip-recipes {
  /* zrdn-tooltip for settings page */
  /* Base styles for the element that has a zrdn-tooltip */

  [data-zrdn-tooltip],
  .zrdn-tooltip {
    position: relative;
    cursor: pointer;
  }

  /* Base styles for the entire tooltip */

  [data-zrdn-tooltip]:before,
  [data-zrdn-tooltip]:after,
  .zrdn-tooltip:before,
  .zrdn-tooltip:after {
    position: absolute;
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.2s ease-in-out,
    visibility 0.2s ease-in-out,
    -webkit-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
    -moz-transition: opacity 0.2s ease-in-out,
    visibility 0.2s ease-in-out,
    -moz-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
    transition: opacity 0.2s ease-in-out,
    visibility 0.2s ease-in-out,
    transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    pointer-events: none;
  }

  /* Show the entire zrdn-tooltip on hover and focus */

  [data-zrdn-tooltip]:hover:before,
  [data-zrdn-tooltip]:hover:after,
  [data-zrdn-tooltip]:focus:before,
  [data-zrdn-tooltip]:focus:after,
  .zrdn-tooltip:hover:before,
  .zrdn-tooltip:hover:after,
  .zrdn-tooltip:focus:before,
  .zrdn-tooltip:focus:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
  }

  /* Base styles for the zrdn-tooltip's directional arrow */

  .zrdn-tooltip:before,
  [data-zrdn-tooltip]:before {
    z-index: 1001;
    border: 6px solid transparent;
    background: transparent;
    content: "";
  }

  /* Base styles for the zrdn-tooltip's content area */

  .zrdn-tooltip:after,
  [data-zrdn-tooltip]:after {
    z-index: 1000;
    padding: 8px;
    width: 160px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-zrdn-tooltip);
    font-size: 14px;
    line-height: 1.2;
  }

  /* Directions */

  /* Top (default) */
  [data-zrdn-tooltip]:before,
  [data-zrdn-tooltip]:after,
  .zrdn-tooltip:before,
  .zrdn-tooltip:after,
  .zrdn-tooltip-top:before,
  .zrdn-tooltip-top:after {
    bottom: 100%;
    left: 50%;
  }

  [data-zrdn-tooltip]:before,
  .zrdn-tooltip:before,
  .zrdn-tooltip-top:before {
    margin-left: -6px;
    margin-bottom: -12px;
    border-top-color: #000;
    border-top-color: hsla(0, 0%, 20%, 0.9);
  }

  /* Horizontally align top/bottom zrdn-tooltips */

  [data-zrdn-tooltip]:after,
  .zrdn-tooltip:after,
  .zrdn-tooltip-top:after {
    margin-left: -80px;
  }

  [data-zrdn-tooltip]:hover:before,
  [data-zrdn-tooltip]:hover:after,
  [data-zrdn-tooltip]:focus:before,
  [data-zrdn-tooltip]:focus:after,
  .zrdn-tooltip:hover:before,
  .zrdn-tooltip:hover:after,
  .zrdn-tooltip:focus:before,
  .zrdn-tooltip:focus:after,
  .zrdn-tooltip-top:hover:before,
  .zrdn-tooltip-top:hover:after,
  .zrdn-tooltip-top:focus:before,
  .zrdn-tooltip-top:focus:after {
    -webkit-transform: translateY(-12px);
    -moz-transform: translateY(-12px);
    transform: translateY(-12px);
  }

  /* Left */

  .zrdn-tooltip-left:before,
  .zrdn-tooltip-left:after {
    right: 100%;
    bottom: 50%;
    left: auto;
  }

  .zrdn-tooltip-left:before {
    margin-left: 0;
    margin-right: -12px;
    margin-bottom: 0;
    border-top-color: transparent;
    border-left-color: #000;
    border-left-color: hsla(0, 0%, 20%, 0.9);
  }

  .zrdn-tooltip-left:hover:before,
  .zrdn-tooltip-left:hover:after,
  .zrdn-tooltip-left:focus:before,
  .zrdn-tooltip-left:focus:after {
    -webkit-transform: translateX(-12px);
    -moz-transform: translateX(-12px);
    transform: translateX(-12px);
  }

  /* Bottom */

  .zrdn-tooltip-bottom:before,
  .zrdn-tooltip-bottom:after {
    top: 100%;
    bottom: auto;
    left: 50%;
  }

  .zrdn-tooltip-bottom:before {
    margin-top: -12px;
    margin-bottom: 0;
    border-top-color: transparent;
    border-bottom-color: #000;
    border-bottom-color: hsla(0, 0%, 20%, 0.9);
  }

  .zrdn-tooltip-bottom:hover:before,
  .zrdn-tooltip-bottom:hover:after,
  .zrdn-tooltip-bottom:focus:before,
  .zrdn-tooltip-bottom:focus:after {
    -webkit-transform: translateY(12px);
    -moz-transform: translateY(12px);
    transform: translateY(12px);
  }

  /* Right */

  .zrdn-tooltip-right:before,
  .zrdn-tooltip-right:after {
    bottom: 50%;
    left: 100%;
  }

  .zrdn-tooltip-right:before {
    margin-bottom: 0;
    margin-left: -12px;
    border-top-color: transparent;
    border-right-color: #000;
    border-right-color: hsla(0, 0%, 20%, 0.9);
  }

  .zrdn-tooltip-right:hover:before,
  .zrdn-tooltip-right:hover:after,
  .zrdn-tooltip-right:focus:before,
  .zrdn-tooltip-right:focus:after {
    -webkit-transform: translateX(12px);
    -moz-transform: translateX(12px);
    transform: translateX(12px);
  }

  /* Move directional arrows down a bit for left/right zrdn-tooltips */

  .zrdn-tooltip-left:before,
  .zrdn-tooltip-right:before {
    top: 3px;
  }

  /* Vertically center zrdn-tooltip content for left/right zrdn-tooltips */

  .zrdn-tooltip-left:after,
  .zrdn-tooltip-right:after {
    margin-left: 0;
    margin-bottom: -16px;
  }

  .zrdn_extension_explanation_container {
    display:flex;
    margin: 15px 0;
    .zrdn-column-badge {
      flex: 25%;
    }
    .zrdn-column-text {
      flex: 75%;
    }
  }

}


/*
    Toggle boxes styling
 */

#zrdn-toggle-dashboard {
  margin-bottom: 10px;
  height: 90px;
  display: none;
  position: relative;
  background-color: #fff;
  border: 1px solid #ccd0d4;
  border-top-color: rgb(204, 208, 212);
  border-top-style: solid;
  border-top-width: 1px;
  border-top: 0;
  box-shadow: 0 0 0 transparent;
}

#zrdn-toggle-dashboard-text {
  padding-top: 25px;
  padding-left: 15px;
  font-weight: 600;
}

#zrdn-checkboxes {
  padding-top: 10px;
}

.zrdn-toggle-items {
  margin-left: 15px !important;
}

#zrdn-toggle-link-wrap {
  //width: 150px;
  margin-left:20px;
}


#zrdn-show-toggles {
  width: initial !important;
  background-color: white !important;
  color: #0a6aa1 !important;
}

#zrdn-reset-layout {
  margin-top: -6px;
  margin-left: 40px;
}


/*
    Other plugins
 */
/*
Default bullet style
 */
.zrdn-bullet {
  height: 13px;
  width: 13px;
  border-radius: 50%;
  margin-right: 10px;
  background-color: lightgrey;
  text-decoration: none;
  &.green{
    background-color: @color-success;
  }
  &.orange{
    background-color: @color-warning;
  }
  &.red{
    background-color: @color-error;
  }
  &.active {
    background-color: #36d636;
  }
  &.disabled {
    background-color: #d7263d;
  }
}

.zrdn-otherplugins-upsell {
  display: flex !important; //we need important here, because the grid switch overrides it on element level
  flex-direction: row;
  padding: 6px;
  align-items: center;
  color: @light-text-color;

  .plugin-text {
    a {
      text-decoration: none;
      color: @light-text-color;
      &:hover {
        color: @color_open;
      }
    }
  }

  .rsp-image {
    margin-right: 5px;
  }

  .wpsi-red {
    background-color: red;
  }

  .cmplz-blue {
    background-color: #27ADEA;
  }

  .rsssl-yellow {
    background-color: #FBC43D;//#f4bf3e
  }


  .plugin-status {
    margin-left: auto;
  }
}

.zrdn-item.other-plugins{
  .item-container {
    background-color:transparent;
    .item-content {
      height:100px;
      border-bottom: 1px solid #dedede;
    }
  }

}
#zrdn-dashboard .zrdn-grid {
  .monetize-recipes{
    input#zrdn_recipe_selling_contact_email{
      margin-bottom: 0;
      margin-top: 15px;
    }
    .zrdn-normal-checkbox{
      padding: 0 23px;
    }
    .zrdn-explanation-checklist{
      height: 135px;
    }
  }
  .zrdn-item.recipe_sharing_{
    &settings{

    }
    &documentation{
      .zrdn-documentation-element{
        a{
          display: flex;
          padding: 12px 23px;
          text-decoration: none;
          color: #444;
          &:hover{
            text-decoration: underline;
            color: @brand-primary;
          }
        }
      }
      .zrdn-documentation-footer{
        display: flex;
        a{
          text-align: center;
          color: @brand-primary;
          width: 100%;
          font-size: 13px;
          line-height: 2.15384615;
          min-height: 30px;
          margin: 0;
          padding: 0 10px;
        }
      }
    }
    &statistics{
      .item-content {
        height: calc(100% - 75px);
        flex-wrap: wrap;
        flex-direction: row;
        align-items: stretch;
        padding: 0;
        .statistics-container{
          border-bottom: 1px solid #dedede;
          display: flex;
          flex-wrap: wrap;
          align-content: center;

          &:last-of-type{
            border-color: transparent;
          }
          width: 100%;
          padding: 5px 23px;
          &__header{
            display: flex;
            align-content: flex-start;
            justify-content: space-between;
            width: 100%;
            p{
              font-size: 14px;
              margin-top: 0;
            }
          }
          &__content{
            display: flex;
            align-content: flex-start;
            justify-content: space-between;
            width: 100%;
            .statistics-status-display{
              display: flex;
              align-content: flex-start;
              justify-content: flex-start;
              width: calc(40% - 10px);
              &:first-of-type{
                width: calc(60% - 10px);
              }
              .zrdn-bullet{
                margin-top: 3px;
              }
              p{
                margin: 0;
                margin-bottom: 10px;
                font-size: 14px;
              }
              a{
                font-size: 12px;
                color: @light-text-color;
              }
            }
          }
        }
      }
    }
  }
}
.wrap .notice.zrdn-dismiss-notice{
  margin: 15px;
}
.zrdn-footer-status{
  display: flex;
  align-items: center;
  .zrdn-bullet{
    margin-right: 6px;
  }
}