/** ----------------------------------------------------------
 *
 * Contains the generic theme typography styles
 *
 *    Include your notes or table of contents here
 *
 *    Include color hex's or values of your grid
 *      #333333             - body
 *      #B80000             - links, headings *      #D80000             - links on hover
 *      5px Vertical grid   - based on multiples of 5px, eg 10px, 15px, 20px, 25px...
 *
 *    @author Your Name <email@gmail.com>
 *
 * ------------------------------------------------------- */

/* TEMPLATE CUSTOM FONTS */
  /* Generated by Font Squirrel (http://www.fontsquirrel.com) on February 20, 2012 06:04:25 AM America/New_York */

  /* add your own custom fonts here */

  @font-face {
      font-family: 'WebSymbolsRegular';
      src: url('../webfonts/websymbols-regular-webfont.eot');
      src: url('../webfonts/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../webfonts/websymbols-regular-webfont.woff') format('woff'), url('../webfonts/websymbols-regular-webfont.ttf') format('truetype'), url('../webfonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
      font-weight: normal;
      font-style: normal;
  }


/* BASE TYPOGRPHY */

/* These are the default styles for the Simple theme */
body {
    font-size: 13px; /* This overrides the browsers default font size */
    line-height: 20px; /* If you change the font-size make sure you change the line-height value as well - the usual ratio is around 1.5 (font-size x 1.5 = line-height) */
    margin-bottom: 20px;
    color: #333333;
}
body a { 
    text-decoration: none;
    color: #444;
} /* this removes the underline from all links */


/* HEADERS */
.typography h1,
.typography h2,
.typography h3,
.typography h4,
.typography h5,
.typography h6 {
    font-weight: normal;
    margin-bottom: 10px;
    color: #444;
    text-align: center;
}
.typography h1 {
  font-size: 36px;
  line-height: 1.2em;
  margin: 0 0 25px 0;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 5px;
}
.typography h2 { 
    font-size: 36px;
    line-height: 1.2em;
    position: relative;
    border-bottom: 1px solid #222222;
    padding: 20PX 30px 25px 30px;
    display: block;
    margin-bottom: 20px;
}
.typography h3 { font-size: 22px; line-height: 1.2em; margin-bottom: 10px; margin-top: 20px; }
.typography h4 { font-size: 18px; line-height: 1.2em; margin-bottom: 5px; margin-top: 10px; }
.typography h5 { font-size: 16px; line-height: 1.2em; margin-bottom: 5px; margin-top: 10px; }
.typography h6 { font-size: 14px; line-height: 1.2em; font-weight: bold; margin-bottom: 5px; margin-top: 2.5px; }

.typography h2 strong, .typography h3 strong {
	display: block;
}

/* PARAGRAGHS */
.typography  p { 
  line-height: 1.5em;
  margin: 0 0 20px;
}

.typography .intro {
  font-size: 22px;
  line-height: 1.5em;
  margin-bottom: 20px;
}
  
.typography em { 
  font-style: italic;
}

::selection,
::-moz-selection { /* Applies style to highlighted portion of a page */
    background: #b80000;
    color: #fff;
    text-shadow: none;
}

/* LINKS */
.typography a, 
.typography a.intro {
    text-decoration: underline;
}

.typography a:hover { 
  text-decoration: none;
}

.typography a:focus {
}
  

.typography .link-text {
  text-decoration: underline;
}

.typography .link-text:hover {
  text-decoration: none;
}


/* LIST STYLES
-------------------------------------------- */
.typography ul, 
.typography ol,
.typography dl { margin: 0 }
.typography ul li { list-style-type: disc; } /* adds disc style bullet to the list */
  .typography li { margin-bottom: 5px; }


/* TABLE STYLES
-------------------------------------------- */
.typography table {
    border-collapse: collapse; /* borders are collapsed into a single border when possible */
    border: 1px solid #d4d4d4;
    border-spacing: 0; /* The border-spacing property sets the distance between the borders of adjacent cells - acts as a backup to border-collapse: collapse */
    margin: 0 0 10px;
    text-align: left;
}
  .typography table tr:nth-child(even) {
      background-color: #ededed
  }
  .typography table tr.even,
  .typography table th,
  .typography thead td {
      background-color: #ededed
  }
  .typography table td,
  .typography table th {
      padding: 2px 5px;
      border: 1px solid #d4d4d4;
      vertical-align: top;
  }
  .typography table th {
      font-weight: bold;
  }


/* WYSIWYG EDITOR ALIGNMENT CLASSES 
-------------------------------------------- */
.typography .left {
    text-align: left
}
.typography .center {
    text-align: center
}
.typography .right {
    text-align: right
}


/* IMAGES 
-------------------------------------------- */
.typography img {
    height: auto; /* resets the image height so that it maintains its aspect ratio when width is set */
/*    background: transparent url(../images/ajax-loader.gif) no-repeat center center;*/
}
.typography img.left {
    float: left;
    max-width: 50%;
    margin: 5px 20px 10px 0;
}
.typography img.right {
    float: right;
    max-width: 50%; /* Responsive width */
    margin: 5px 0 10px 20px;
}
.typography img.leftAlone {
    float: left;
    margin-right: 100%;
    margin-bottom: 10px;
    clear: both;
}
.typography img.center {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 10px;
    clear: both;
}
.typography .captionImage { width: 100%; margin-top: 5px; position: relative; }
.typography .captionImage img { margin: 0; box-sizing: border-box; }
  .typography .captionImage.left {
    float: left;
    margin: 5px 30px 20px 0px;
  }
  .typography .captionImage.right{
    float: right;
    margin: 5px 0 20px 30px;
  }
  .typography .captionImage.left[style],
  .typography .captionImage.right[style] {
    max-width: 50%; /* Overides core width to make responsive */
  }
  .typography .captionImage.left img,
  .typography .captionImage.right img {
    float: none;
    max-width: none;
    width: 100%;
  }
  .typography .captionImage.left img {
    margin-right: -10px;
  }
  .typography .captionImage.right img {
    margin-left: -10px;
  }
  .typography .captionImage.right p {
    margin-left: -10px;
    text-align: left;
    margin-left: -10px;
  }
.typography .captionImage.leftAlone{
  float:none;
  margin: 0 20px 20px 0px;
}
.typography .captionImage.center{
  margin: 0 auto 20px;
}
.typography .captionImage p {
  clear: both;
  margin: 5px 0;
  font-style: italic;
  color: #888;
}

.typography .captionImage .image-lightbox-icon {
  height: 50px;
  width: 50px;
  position: absolute;
  top: 0;
  right: 0;
  background-image:url(../images/ImageLightboxIcon.png);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.typography .captionImage.has-image-lightbox:hover img {
  border-color: #1873BA;
  cursor: pointer;
}

.typography .captionImage.has-image-lightbox:hover .image-lightbox-icon {
	background-image:url(../images/ImageLightboxIconHover.png);
}


/* BLOCKQUOTES
-------------------------------------------- */
.typography blockquote {
  display: block;
  background: transparent url(../images/blockquote.png) no-repeat 0px 6px;
  color: #777;
  display: block;
  font-style: italic;
  margin: 0 0 20px;
  text-indent: 30px;
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 3em;
}
.typography blockquote p {
  font-size: 17px;
  line-height: 25px;
}
.typography pre {
  background: #F7F7F7;
  border: 1px solid #E4E4E4;
  font-family: Courier, monospace;
  margin: 0 0 20px 0;
  padding: 15px;
  clear: both;
}

/* ADDRESS
-------------------------------------------- */
address {
  display: block;
  margin-bottom: 20px;
}


/* DSO Custom Styles
-------------------------------------------- */
/**Feature List**/
.dso-feature-list {
  text-align: center;
}

.dso-feature-list > li {
  list-style-type: none !important;
  text-align: left;
  display: inline-block;
  vertical-align: top;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1em;
  padding-right: 1em;
  box-sizing: border-box;
  width: 96%;
}

.dso-feature-list .dso-feature-list-item-inner {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100px auto;
  padding: 0.5em;
  min-height: 100px;
}

.dso-feature-list > li.has-icon .dso-feature-list-item-inner {
  padding-top: 100px;
}

.dso-feature-list a {
  text-decoration: none;
}

.dso-feature-list > li.full-width {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.dso-feature-list.columns > li {
  width: 48%;
}

.dso-feature-list.columns > li.full-width {
  width: 96%;
}

.dso-feature-list.columns > li.full-width ul,
.dso-feature-list.columns > li.full-width ol {
  width: 48%;
  margin-left: auto;
  margin-right: auto;
}

.dso-feature-list > li h3 {
  text-align: center;
}

.dso-feature-list ol li,
.dso-feature-list ul li {
  list-style-type: none;
  padding-left: 30px;
  background-image: url(../images/ProPointIcon.png);
  background-repeat: no-repeat;
  background-position: left center;
  margin-bottom: 0.5em;
}

.dso-feature-list.dso-stats-list .dso-feature-list-item-inner {
  min-height: initial; 
}

.dso-feature-list.dso-stats-list > li.full-width {
  display: inline-block;
  margin-left: initial;
  margin-right: initial;
}

.dso-feature-list.dso-stats-list > li {
  width: auto;
}

.dso-feature-list.dso-stats-list  > li.has-icon .dso-feature-list-item-inner {
  padding-top: 50px;
}

.dso-feature-list.dso-stats-list .dso-feature-list-item-inner {
    background-size: 50px auto;
}

/** Blog Page and Entries **/
/* DSO Custom Styles
-------------------------------------------- */
.dso-blogentry-list {
  text-align: center;
}

.dso-blogentry-list > li {
    list-style-type: none !important;
    text-align: left;
    display: inline-block;
    vertical-align: top;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    box-sizing: border-box;
    width: 96%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.dso-blogentry-list .dso-blogentry-list-item-inner {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100px auto;
  padding: 0.5em;
  min-height: 100px;
}

.dso-blogentry-list > li h3 {
    text-align: left;
    margin-top: 0;
}

.dso-blogentry-list > li h3 a {
    text-decoration: none;
}

.dso-blogentry-list-item-date {
    color: #888;
    margin-right: 1em;
    font-size: 0.75em;
}

.dso-blogentry-list-item-link {
    text-align: right;
}

.dso-blogentry-list > li p {
    padding-left: 2em;
    padding-right: 2em;
}

.dso-blogentry-list > li.row-even {
    background-color: white;
}

.list-pagination-controls {
    border-top: 1px solid #222222;
    text-align: center;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    font-size: 1.2em;
}

.list-pagination-controls > .pagination-control {
    margin-left: 0.2em;
    margin-right: 0.2em;
}


.list-pagination-controls > .list-pagination-current {
    font-weight: bold;
    font-size: 1.2em;
    color: black;
}

.dso-blogentry-list-item-nonpublic {
    background-color: red;
    padding: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    font-size: 0.7em;
    vertical-align: middle;
    color: white;
    margin-left: 1em;
}

/** Sign Up Banner **/
.dso-sign-up-banner {
  display: block;
  overflow: hidden;
  background-color: white;
  text-align: center;
  padding: 10px;
}

.dso-sign-up-banner a.button {
  display: block;
  float: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: 10px;
  max-width: 20em;
  font-size: 20px;
}

.dso-check-list.centred {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.dso-check-list > li {
  list-style-type: none !important;
  text-align: left;
  display: inline-block;
  vertical-align: top;
  padding-left: 1em;
  padding-right: 1em;
  box-sizing: border-box;
  width: 96%;
}

.dso-check-list > li a {
  text-decoration: underline !important;
}

.dso-check-list > li a:hover {
  text-decoration: none !important;
}


/* Tables
-------------------------------------------- */
table.content-table {
  width: 100%;
  table-layout: fixed;
}

table.content-table th {
  text-align: center;

}

table.content-table td {
  text-align: center;
  padding: 1em;
}

table.content-table td.price,
table.content-table td.name {
  text-align: left;
}

table th.pre-wrap {
    white-space: pre-wrap;
}

.explanatory-note {
    color: darkgrey;
    text-align: right;
    margin-left: 1em;
    margin-right: 1em;
}


/* Pricing Matrix
-------------------------------------------- */
.pricing-matrix.content-columns {
    text-align: center;
    display: table;
    width: 100%;
}

.pricing-matrix .content-columns-row {
    display: table-row;
}

.pricing-matrix .prices {
    min-height: 150px;
}

.pricing-matrix .pricing-level {
  box-sizing: border-box;
  background-color: #ededed;
  padding: 1em;
  border: 0.5em solid #f9f9f9;
  vertical-align: top;
  display: table-cell;
}

.pricing-matrix .pricing-level h4 {
  margin-top: 0;
  margin-bottom: 20px;
}

.pricing-matrix .pricing-level .price > span {
  display: block;
}

.pricing-matrix .pricing-level .price .price-amount {
  margin-bottom: 10px;
  font-weight: bold;
}

.pricing-matrix .pricing-level .price[data-amount="0"] .price-amount {
    color: #24bd24;
    font-size: 1.2em;
}

.pricing-matrix .price-discount {
    color: #24bd24;
    font-weight: bold;
    font-size: 0.8em;
}

.pricing-matrix .html-description {
    margin-top: 2em;
    background: white;
    padding: 0.5em;
}

.field.central {
  display: block;
  text-align: center;
}

.help-button {
    background-image: url(../images/icon-infonotice-info.svg);
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
    background-size: 18px 18px;
    vertical-align: middle;
    height: 18px;
    width: 18px;
    border: transparent 1px solid;
    border-radius: 12px;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
}

.help-button:hover {
    background-color: #33CCFF;
}


/* Inline Errors
-------------------------------------------- */
body .message{
  padding:2px 18px;
  margin-bottom:18px;
  -moz-border-radius-topleft:3px;
  -moz-border-radius-topright:3px;
  -moz-border-radius-bottomright:3px;
  -moz-border-radius-bottomleft:3px;
  border-radius:3px 3px 3px 3px;
}

body .message p{
  margin:11px 0 13px;
}

body .message.warning {
  background-color:#fcf8f2;
  border:1px solid #ffc28b;
}

body .message.error{
  background-color:#fdf1f3;
  border:1px solid #f8c3cd;
}

.pro-point-notice {
  display: inline-block;
  padding-left: 30px;
  margin-right: 1em;
  background-image: url(../images/ProPointIcon.png);
  background-repeat: no-repeat;
  background-position: left center;
}

.page-parent-link {
    display: block;
    text-align: center;
    font-size: 1.2em;
    padding-bottom: 0.5em;
}


/** Video Embeds **/
.vimeo-video-container {
    text-align: center;
}

.vimeo-video-description {
    text-align: center;
}


/* AgileCRM Forms
-------------------------------------------- */
.agile_crm_form_embed {
  margin-bottom: 10px; 
}

.agile_crm_form_embed .form-view {
  margin-left: auto;
  margin-right: auto;
}

.agile_crm_form_embed .agile-button {
  color: white !important;
}


/* BREAKPOINT 960px */
@media only screen and (max-width: 960px) {
  .pricing-matrix .pricing-level {
    width: 45%;
  }
}


/* BREAKPOINT 640px */
@media only screen and (max-width: 640px) { 
  .dso-feature-list > li,
  .dso-feature-list.columns > li {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
  
  .dso-feature-list.columns > li.full-width ul,
  .dso-feature-list.columns > li.full-width ol {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-matrix .pricing-level {
    display: block;
    width: 90%;
  }
}

label.compact {
    font-size: 0.8em;
}