﻿/* ----------------------- */
/* Dynamic Content styles */
/* --------------------- */

/* Dynamic Content Default */
.dc_wrapper {
  width:262px;
  min-width: 180px;
  float:left;
  margin: 0 20px 30px 0;
  padding: 0 0 0px;
  position: relative;
}

.dc_container {
  position: relative;
}

.dc_header {
  position: relative;
  font-family: Verdana,Arial,sans-serif;
  font-size: 10px;
  line-height: 1;  
  text-transform: uppercase;
}

.dc_header span {
  display: block;
  line-height: 1;
}

.dc_meta {
  height: 16px;
  box-sizing: border-box;
}

.dc_name {
  height: 18px;
  box-sizing: border-box;
}

.dc_article {
  padding-top: 10px;
  padding-bottom: 30px;
  position: relative;
}

.dc_title {
  font-size: 18px;
  color: #33424c;;
  font-weight: 400;
  font-family: "proxima-nova",Arial,sans-serif;
  line-height: 1.2;
  margin:0 0 16px;
  text-decoration: none;
  display: block;
}


.dc_body {
  font-size: 16px;
  color: #66757f;;
  font-weight: 400;
  font-family: "proxima-nova",Arial,sans-serif;
  line-height: 1.4;
  margin:0 0 16px;
}

.dc_cta {
  text-decoration: none;
}

/* Dynamic Content Themes */

*[class*="dc_boxy"].dc_wrapper {
  box-shadow: 3px 3px 0px 0 #ccc;
}

*[class*="dc_boxy"] .dc_header {
  color: #fff;
  overflow: hidden;
}

*[class*="dc_boxy"] .dc_article {
  background: #eee;  
  padding: 20px 20px 30px;
}

*[class*="dc_boxy"] .dc_header .dc_meta {
  color:#fff;
  padding: 3px 20px 0;
}

*[class*="dc_boxy"] .dc_header .dc_name {
  padding: 3px 20px 0;
  color:#fff;
}

.dc_boxy_nma .dc_meta {
  background: #29afd4;
}

.dc_boxy_nma .dc_name {
  background: #30badb;
}

.dc_boxy_wm .dc_meta {
  background: #FF432F;
}

.dc_boxy_wm .dc_name {
  background: #ff5644;
}

*[class*="dc_neat"] .dc_container {
  padding: 0 20px 0 0;
  border-right: 1px solid #eee;
}

*[class*="dc_neat"] .dc_header .dc_meta {
  color:#999;
  padding: 2px 0 0 4px;
}

*[class*="dc_neat"] .dc_header .dc_name {
  padding: 3px 0 0 4px;
  color:#fff;
}


.dc_neat_nma .dc_name {
  background: #30badb;
}

.dc_neat_wm .dc_name {
  background: #FF432F;
  
}

.dc_neat {
  height: 14px;
  position: relative;
}

.dc_neat_nma .dc_square {
  width: 8px;
    height: 8px;
    background: #29afd4;
    position: absolute;
    top: 4px;
    left: 0;
}

.dc_neat_nma .dc_line {
    height: 5px;
    width: calc(100% - 12px);
    position: absolute;
    right: 0;
    top: 5px;
    background: #000180;
}

.dc_neat_wm .dc_circle {
  width: 8px;
    height: 8px;
    background: #FF432F;
    position: absolute;
    top: 4px;
    left: 24px;
    border-radius: 50%;
}

.dc_neat_wm .dc_line_short {
    height: 4px;
    width: 16px;
    position: absolute;
    left: 0;
    top: 6px;
    background: #808080;
}

.dc_neat_wm .dc_line_short:after {
content: '';
  position: absolute;
  top: 0; left: 6px;
  width: 100%; height: 100%;
  background: #808080;
  -webkit-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: skew(-45deg);
  -ms-transform: skew(-45deg);
  transform: skew(-45deg);
  z-index: -1; 
}

.dc_neat_wm .dc_line_long {
    height: 4px;
    width: calc(100% - 38px);
    position: absolute;
    right: 0;
    top: 6px;
    background: #808080;
}

.dc_neat_wm .dc_line_long:after {
content: '';
  position: absolute;
  top: 0; left: 0px;
  width: 100%; height: 100%;
  background: #808080;
  -webkit-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: skew(-45deg);
  -ms-transform: skew(-45deg);
  transform: skew(-45deg);
  z-index: -1; 
}

#articleAdvertPlaceholder *[class*="dc_subtle"].dc_wrapper {
  width: 100%;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  padding:24px 16px 0 0;
}

*[class*="dc_subtle"] .dc_header {
  padding-left: 16px;
}

*[class*="dc_subtle"] .dc_header:before {
  width: 8px;
  height: 8px;
  position: absolute;
  top:0;
  left: 0;
  content: " ";
}

.dc_subtle_nma .dc_header:before {
  background-color: #30badb; 
  top:1px;
}

.dc_subtle_wm .dc_header:before {
  background-color: #FF432F;
  border-radius: 50%;
  top:1px;
  box-shadow: 0 0 0px 1px rgba(255,255,255,0.1) inset;
}

*[class*="dc_subtle"] .dc_header span {
  display: inline-block;
}

.dc_continue {
    position: absolute;
    top: -34px;
    text-align: right;
    right: 0;
    font-size: 11px;
    color: #a8a8a8;
    letter-spacing: 0px;
    word-spacing: 1px;
    background: #fff;
    padding: 0 8px;
    font-style: italic;
    text-transform: lowercase;
}

*[class*="_nma"] .dc_cta {
  color: #29afd4;
}

*[class*="_wm"] .dc_cta {
  color: #FF432F;
}

.dc_circles {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 34px;
}

.dc_circles span {
  border-radius: 50%;
  display: block;
  position: absolute;
}

.dc_circles .dc_c1 {
  width: 16px;
  background: #fff;
  height: 16px;
  opacity: .3;
  top: 8px;
  left: 20px;
}

.dc_circles .dc_c2 {
  width: 28px;
  background: #fff;
  height: 28px;
  opacity: .3;
  top: 2px;
  left: 14px;
}

.dc_circles .dc_c3 {
  width: 40px;
  background: #fff;
  height: 40px;
  opacity: .3;
  top: -4px;
  left: 8px;
}


/* Article List Advert */
#articleListAdvertPlaceholder .dc_wrapper {
  width: 100%;
    float: none;
    box-shadow: none;
    margin: 0 0px 0px 0;
    border-top: none;
    padding: 16px 4px 24px;
}

#articleListAdvertPlaceholder *[class*="dc_neat"] .dc_container {
  border-right: none; 
}

#articleListAdvertPlaceholder .dc_wrapper:after {
  display: none;
}

#articleListAdvertPlaceholder .dc_continue {
  display: none;
}

#articleListAdvertPlaceholder .dc_title {
  margin:0 0 6px;
} 

#articleListAdvertPlaceholder  *[class*="dc_boxy"] .dc_article {
  padding: 20px 20px 10px;
}

#articleListAdvertPlaceholder *[class*="dc_neat_nma"] .dc_article {
  padding: 10px 0px 0px;
}

#articleListAdvertPlaceholder *[class*="dc_subtle"] .dc_article {
  padding: 10px 0px 0px;
}


/*mobile styles */

@media only screen and (max-width: 480px){
  .dc_wrapper {
    width:90%;
    float:none;
    margin: 60px auto 60px auto;
    padding: 0 0 0px;
  }

  .dc_body {
    display: none;
  }

  [class*="dc_neat"] .dc_container {
    padding: 0 0px 0 0;
    border-bottom: 1px solid #eee;
    border-right: none;
  }

  *[class*="dc_subtle"].dc_wrapper {
    width: 90%;
  }

  *[class*="dc_subtle"] .dc_continue {
    font-size: 10px;
    top:-32px;
  }
}