/**
 * @package     Plumrocket_Base
 * @copyright   Copyright (c) 2020 Plumrocket Inc. (https://plumrocket.com)
 * @license     https://plumrocket.com/license/  End-user License Agreement
 */

.base-exten-info {
  border: 1px solid #ccc;
}

#pr_new_updates_content.base-exten-info {
  border: none;
  margin-top: 20px;
}

.base-exten-info .last-version {
  color: green;
  font-weight: 600;
}

.base-exten-info .fail-fetch {
  color: #999;
  font-weight: 600;
}

.base-exten-latest-version,
.base-exten-warning {
  margin-top: -1px;
  padding: 5px 10px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.base-exten-latest-version:last-child,
.base-exten-warning:last-child {
  border-bottom: 0;
}

.base-exten-info summary {
  position: relative;
  top: 1px;
  width: 100%;
  margin-top: -1px;
  padding: 5px 10px;
  box-sizing: border-box;
  background-color: #9cf;
  border-bottom: 1px solid #ccc;
}

.base-exten-info .new-update {
  color: #db0a0a;
  font-weight: 600;
}

.base-exten-available {
  color: #000;
  font-weight: 600;
  font-size: 17px;
}

.base-exten-info .details-item {
  padding: 5px 10px;
  padding-left: 50px;
}

fieldset .base-exten-info .details-item:last-child {
  margin-bottom: 20px;
}

.base-exten-info .details-item-avaible {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 5px;
}

.base-exten-info .details-item-avaible a {
  position: relative;
  padding: 9px 14px;
  padding-left: 45px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background-color: #029eeb;
  border-radius: 5px;
  transition: 0.3s;
}

.base-exten-info .details-item-avaible a:hover,
.base-exten-info .details-item-avaible a:focus {
  background-color: #088fd1;
  border-color: #088fd1;
  text-decoration: none;
}

.base-exten-info .details-item-avaible a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translatey(-50%);
  width: 25px;
  height: 25px;
  background-image: url("../../images/download.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.base-exten-info .details-item.feature,
.base-exten-info .details-item.fix {
  margin-bottom: 0;
  padding-left: 70px;
}

.base-exten-info .details-item-ver {
  margin-bottom: 5px;
  padding-bottom: 0;
  font-weight: 600;
  color: #193088;
}

.base-exten-info .details-item-ver:not(:first-of-type){
  margin-top: 20px;
}

.base-exten-info .details-item.feature,
.base-exten-info .details-item.fix {
  position: relative;
  margin-bottom: 0;
  padding-left: 90px;
}

.base-exten-info .details-item.feature::before,
.base-exten-info .details-item.fix:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  left: 60px;
  width: 22px;
  height: 22px;
}

.base-exten-info .details-item.feature::before {
  background-image: url(../../images/sprite.svg);
  background-position: 267px 207px;
}

.base-exten-info .details-item.fix::before {
  background-image: url(../../images/sprite.svg);
  background-position: 296px 207px;
}

/* Extension info panel */
.svg-mask{
  position: absolute;
  width: 0;
  height: 0;
}

#pr_info-panel{
  padding: 30px 25px;
  background-color: #F0F9FF;
  margin-bottom: 7px;
  box-sizing: border-box;
  display: grid;
  grid-gap: 25px;
  align-items: center;
  justify-content: space-between;
}

.pr_subtitle-wrapper{
  display: flex;
  align-items: center;
}

#pr_info-panel .pr_subtitle-wrapper a{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 10px;
}

.pr_module-title{
  font: 600 20px/1.2 'Open Sans', sans-serif;
  color: #303030;
  display: block;
  margin-bottom: 5px;
}

.pr_info-subtitle{
  font: 400 12px/1.2 'Open Sans', sans-serif;
  color: #8097A6;
}

.pr_buttons-wrapper{
  display: flex;
  align-items: center;
  margin: 0 -25px;
}

.pr_buttons-wrapper > .pr_btn{
  margin: 0 25px;
  position: relative;
}

.pr_buttons-wrapper > .pr_btn:not(:last-child):after{
  content: '';
  position: absolute;
  height: 42px;
  width: 1px;
  top: 50%;
  transform: translateY(-50%);
  right: -25px;
  background: #D4E5F0;
}

.pr_buttons-wrapper .pr_action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 50px 10px 10px;
  font: 500 14px/1.2 'Roboto', sans-serif;
  background: #009BFF;
  color: #fff;
  position: relative;
  border-radius: 4px;
  width: 194px;
  max-width: 100%;
  min-height: 40px;
  transition: box-shadow .3s ease;
}

.pr_action-btn:hover{
  box-shadow: 0 3px 8px -3px #24649d;
}

.pr_action-btn:hover img{
  animation: arrowRight .3s linear;
}

.pr_action-btn .pr_image-mask{
  position: absolute;
  width: 40px;
  right: 0;
  height: 100%;
  background: #008CE7;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pr_action-btn img{
  transition: transform .3s ease;
  max-width: 100%;
  height: auto;
  min-width: 12px;
}

.pr_buttons-wrapper .pr_link-btn{
  font: 400 14px/1.2 'Roboto', sans-serif;
  display: flex;
  align-items: center;
  color: #303030;
  transition: all .3s ease;
  text-decoration: none;
}

.pr_btn-text{
  position: relative;
}

.pr_link-btn:not(span) .pr_btn-text:after{
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  display: block;
  background: #000000;
  transition: .2s;
}

.pr_link-btn:hover .pr_btn-text:after{
  width: 0;
  left: auto;
}

.pr_link-btn .pr_icon{
  margin-right: 7px;
  flex-shrink: 0;
}

.pr_icon img{
  display: block;
}

.update-btn .pr_icon{
  margin-right: 10px;
  position: relative;
}

.update-btn .pr_icon > span{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font: 700 12px/1 'Roboto', sans-serif;
  white-space: nowrap;
  color: #fff;
}

@media(min-width: 1580px){
  #pr_info-panel{
    grid-template-columns: auto auto;
  }
}

@keyframes arrowRight {
  0%   {transform: translateX(-50px)}
  100% {transform: translateX(0)}
}
