
.ct-panel {
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ct-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 8px;
  box-shadow: 0 0 80px 0 rgba(0, 0, 0, 0.08);
  z-index: -1;
  transition: box-shadow .15s linear;
}

.ct-panel.frame {
  background-color: transparent;
  border: 1px solid #e7e9ee;
}

.ct-panel.frame::after {
  display: none;
}

.ct-panel + .ct-panel {
  margin-top: 16px;
}

.ct-panel .icon img {
  width: 48px;
}

.ct-panel .icon .ct-picon {
  font-size: 18px;
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.ct-panel h4 {
  font-weight: 500;
  line-height: 1.2;
  margin: 16px 0;
}

.ct-panel .pcontent {
  flex: 1 1 0%;
}

.ct-panel .pcontent h4 {
  font-size: 18px;
  margin: 0 0 8px;
  display: flex;
  align-items: flex-start;
}

.ct-panel .pcontent h4 i[class^="cticon-"] {
  color: #154dd1;
  font-size: 24px;
  margin: -2px 8px 0 0;
}

.ct-panel .pcontent .pinfo {
  color: #193f9a;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ct-panel .pcontent .pinfo:last-child {
  margin-bottom: 0;
}

.ct-panel .pcontent .header {
  display: flex;
  align-items: center;
  flex: 1 1 0%;
}

.ct-panel .pcontent .header h4 {
  font-size: 24px;
  flex: 1 1 0%;
  margin: 0;
}

.ct-panel .desc {
  font-size: 18px;
  font-weight: 200;
  line-height: 1.56;
  flex: 1 1 0%;
}

.ct-panel .desc p {
  margin: 24px 0;
}

.ct-panel .desc p:first-child:not(.pdtop) {
  margin-top: 0;
}

.ct-panel .ct-grid {
  margin-top: 24px;
  box-shadow: none;
}

.ct-panel .ct-grid > .holder > .items > .item.expandable > div:first-child::after {
  right: 0;
}

.ct-panel .ct-grid > .holder > .items > .item {
  padding: 0;
  margin-bottom: 24px;
  border-radius: 0;
}

.ct-panel .ct-grid .item > div:not(:first-child) {
  border-bottom: 0 none;
}

.ct-panel .ct-grid > .holder > .items > .item:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: solid 1px #e7e9ee;
}

.ct-panel .ct-grid > .holder > .items > .item:last-child {
  margin-bottom: 0;
}

.ct-panel .ct-grid > .holder > .items > .item > div {
  padding: 8px 0;
}

.ct-panel .ct-grid > .holder > .items > .item > div:first-child {
  padding: 0 0 8px;
  margin: 0;
}

.ct-panel.frame .ct-grid > .holder > .items > .item {
  background-color: transparent;
}

.ct-panel.frame .ct-grid > .holder > .items > .item::after {
  box-shadow: none;
}

.ct-panel fieldset:first-child {
  margin-top: -8px;
}

.ct-panel fieldset:last-child {
  margin-bottom: -8px;
}

.ct-panel .more {
  font-weight: 500;
  text-align: center;
  padding-top: 24px;
}

.ct-panel .more a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.ct-panel .more a:hover {
  text-decoration: none;
}

.ct-panel .more a i {
  font-size: 16px;
  margin: 2px 0 0 4px;
}

.ct-panel.clickable {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ct-panel.clickable:hover::after {
  box-shadow: 0 0 80px 0 rgba(0, 0, 0, 0.16);
}

.ct-panel.clickable:hover .more a:not(.ct-btn) {
  color: #0038a1;
}

.ct-panel.clickable:hover .more a.ct-btn {
  background-color: #193f99;
}

.ct-panel.clickable .icon {
  height: 48px;
  overflow: hidden;
  transition: height .15s linear;
}

.ct-panel.clickable .icon > *,
.ct-panel.clickable .icon + h4 {
  transition: all .15s linear;
}

.ct-panel.clickable:hover .icon {
  height: 54px;
}

.ct-panel.clickable:hover .icon img,
.ct-panel.clickable:hover .icon .ct-picon {
  width: 54px;
  height: 54px;
}

.ct-panel.clickable:hover .icon + h4 {
  margin-top: 10px;
}

.ct-panel.expandable .more {
  margin-top: 24px;
  border-top: 1px solid #e0e3ea;
  position: relative;
  z-index: 1;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ct-panel.expandable .header .more {
  padding: 0;
  margin: 0;
  border-top: 0 none;
}

.ct-panel.expandable .more .collapse {
  display: none;
}

.ct-panel.expandable .more a i {
  transition: all .2s ease;
}

.ct-panel.expandable .header .more a i {
  transform: rotate(90deg);
}

.ct-panel.expandable .extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px 24px;
  margin: 0 -24px -24px;
  transition: all .2s ease;
}

.ct-panel.expandable.expanded .more .expand {
  display: none;
}

.ct-panel.expandable.expanded .more .collapse {
  display: inline;
}

.ct-panel.expandable.expanded .more a i {
  transform: rotate(-180deg);
}

.ct-panel.expandable.expanded .header .more a i {
  transform: rotate(-90deg);
}

.ct-panel.expandable.expanded .extra {
  max-height: 3000px;
  opacity: 1;
  cursor: default;
}

.ct-panel.clickable.expandable {
  align-self: flex-start;
}


@media screen and (min-width: 769px) {
  
  .ct-panel .pcontent {
    display: flex;
    flex-wrap: wrap;
  }
  
  .ct-panel .pcontent h4 {
    margin: 0;
  }
  
  .ct-panel .pcontent .pinfo {
    font-weight: 500;
    text-transform: none;
    margin: 0;
    flex: 0 0 auto;
    height: 24px;
  }
  
  .ct-panel .pcontent > h4 {
    flex: 1 1 0%;
    padding-right: 32px;
  }
  
  .ct-panel .pcontent > .desc {
    flex: 0 0 100%;
  }
  
  .ct-panel .pcontent > .desc:not(:first-child) {
    margin-top: 8px;
  }
  
  .ct-panel .pcontent .desc > .padded {
    padding-right: 200px;
  }
  
  .ct-panel .ct-grid {
    padding: 24px;
    border: 1px solid #e7e9ee;
    border-radius: 8px;
  }
  
  .ct-panel .ct-grid > .holder > .titles > div {
    padding: 0 12px 12px 18px;
  }
  
  .ct-panel .ct-grid > .holder > .items > .item {
    margin-bottom: 0;
  }
  
  .ct-panel .ct-grid > .holder > .items > .item:not(:last-child) {
    padding-bottom: 0;
  }
  
  .ct-panel .ct-grid > .holder > .items > .item > div:not(:first-child) {
    padding: 15px 12px 15px 18px;
  }
  
  .ct-panel .ct-grid > .holder > .items > .item > div:first-child {
    padding: 15px 12px 15px 0;
  }
  
  .ct-panel .ct-grid > .holder > .items > .item > div:last-child {
    padding-right: 0;
  }
  
  .ct-panel .ct-grid > .holder > .items > .item:last-child > div {
    padding-bottom: 0;
  }
  
  .ct-panel .ct-grid > .holder > .items:first-child > .item:first-child {
    border-top: 0 none;
  }
  
  .ct-panel .ct-grid > .holder > .items:first-child > .item:first-child > div {
    padding-top: 0;
  }
  
  .ct-panel .ct-grid.line-grid {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  
  .ct-panel.expandable .more {
    padding-top: 18px;
    margin-top: 0;
    border-top: 0 none;
  }
  
}

@media screen and (min-width: 993px) {

  .ct-panel .more a:hover span {
    text-decoration: underline;
  }

  .ct-panel.clickable:hover .more a span {
    text-decoration: underline;
  }
  
}

@media screen and (min-width: 1281px) {
  
  .ct-panel {
    padding: 32px;
  }
  
  .ct-panel.expandable .extra {
    padding: 0 32px 32px;
    margin: 0 -32px -32px;
  }
  
}