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

.typography .text-center {
  text-align: center;
}

.typography .text-right {
  text-align: right;
}

.typography em {
  font-style: italic;
}

/* iframe
-------------------------------------------- */
.cmsContent h1, .cmsContent h2, .cmsContent h3, .cmsContent h4 {
  text-transform: uppercase;
}
.cmsContent .center {
  margin-left: auto;
  margin-right: auto;
}
.cmsContent div.embed iframe {
  max-width: 100%;
}

/* IMAGES
-------------------------------------------- */
.cmsContent img {
  height: auto;
  /* resets the image height so that it maintains its aspect ratio when width is set */
  max-width: 100%;
}

.cmsContent img.left {
  float: left;
  max-width: 50%;
  margin: 5px 20px 10px 0;
}

.cmsContent img.right {
  float: right;
  max-width: 50%;
  /* Responsive width */
  margin: 5px 0 10px 20px;
}

.cmsContent img.leftAlone {
  display: block;
  margin-right: auto;
  margin-bottom: 10px;
  clear: both;
}

.cmsContent img.rightAlone {
  display: block;
  margin-left: auto;
  margin-bottom: 10px;
  clear: both;
}

.cmsContent img.center {
  float: none;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 10px;
  clear: both;
  max-width: 100%;
}

.cmsContent .captionImage {
  width: 100%;
  margin-top: 5px;
}

.cmsContent .captionImage img {
  margin: 0;
}

.cmsContent .captionImage.left {
  display: block;
  margin-right: auto;
  margin-bottom: 20px;
}

.cmsContent .captionImage.right {
  display: block;
  margin-left: auto;
  margin-bottom: 20px;
}

.cmsContent .captionImage.left[style],
.cmsContent .captionImage.right[style] {
  max-width: 50%;
  /* Overides core width to make responsive */
}

.cmsContent .captionImage.right p {
  margin-left: -10px;
  text-align: left;
  margin-left: -10px;
}

.cmsContent .captionImage.center {
  margin: 0 auto 20px;
}

.cmsContent .captionImage p {
  clear: both;
  margin: 5px 0;
  font-style: italic;
  color: #888;
}

/* BLOCKQUOTES
-------------------------------------------- */
.cmsContent blockquote {
  background: transparent url(../img/blockquote.png) no-repeat 0px 6px;
  font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
  color: #777;
  display: block;
  font-style: italic;
  margin: 0 0 20px;
  float: right;
  text-indent: 30px;
  width: 50%;
  margin-left: 5%;
  clear: both;
}

.cmsContent blockquote p {
  font-size: 17px;
  line-height: 25px;
}

.cmsContent pre {
  background: #F7F7F7;
  border: 1px solid #E4E4E4;
  font-family: Courier, monospace;
  margin: 0 0 20px 0;
  padding: 15px;
  clear: both;
}

#Form_footerForm label {
  display: none;
}
#Form_footerForm .action {
  margin-left: auto;
  font-size: 18px !important;
}

.block_header h1, .block_header h3, .block_header h2, .block_header h4 {
  text-transform: uppercase;
}

.btn-primary {
  color: #fff;
  background-color: #1C7A8C;
  border-color: #1C7A8C;
}
.btn-primary:hover {
  background-color: #1f8599;
}

.alert {
  display: block;
}

.message {
  display: BLOCK;
}
.message.error {
  color: #bd2130;
}

.sb_caption {
  text-transform: uppercase;
}

#rc-anchor-container {
  background: none;
}

.userform-fields label {
  display: none;
}

.userform .btn-toolbar {
  margin-top: 30px;
  margin-bottom: 30px;
}

.main_slider_item .img_cont:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: -moz-linear-gradient(90deg, rgba(51, 51, 51, 0) 60%, black 100%);
  /* ff3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, black), color-stop(100%, rgba(51, 51, 51, 0)));
  /* safari4+,chrome */
  background: -webkit-linear-gradient(90deg, rgba(51, 51, 51, 0) 60%, black 100%);
  /* safari5.1+,chrome10+ */
  background: -o-linear-gradient(90deg, rgba(51, 51, 51, 0) 60%, black 100%);
  /* opera 11.10+ */
  background: -ms-linear-gradient(90deg, rgba(51, 51, 51, 0) 60%, black 100%);
  /* ie10+ */
  background: linear-gradient(0deg, rgba(51, 51, 51, 0) 60%, black 100%);
  /* w3c */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#333333',GradientType=0 );
  /* ie6-9 */
}

.services_box > a:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: -moz-linear-gradient(90deg, rgba(51, 51, 51, 0.3) 70%, rgba(35, 35, 35, 0.5) 100%);
  /* ff3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(35, 35, 35, 0.5)), color-stop(100%, rgba(51, 51, 51, 0)));
  /* safari4+,chrome */
  background: -webkit-linear-gradient(90deg, rgba(51, 51, 51, 0.3) 70%, rgba(35, 35, 35, 0.5) 100%);
  /* safari5.1+,chrome10+ */
  background: -o-linear-gradient(90deg, rgba(51, 51, 51, 0.3) 70%, rgba(35, 35, 35, 0.5) 100%);
  /* opera 11.10+ */
  background: -ms-linear-gradient(90deg, rgba(51, 51, 51, 0.3) 70%, rgba(35, 35, 35, 0.5) 100%);
  /* ie10+ */
  background: linear-gradient(0deg, rgba(51, 51, 51, 0.3) 70%, rgba(35, 35, 35, 0.5) 100%);
  /* w3c */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#333333',GradientType=0 );
  /* ie6-9 */
}
