/*
Theme Name: Renaissance Covington 
Theme URI: http://www.rcov.org/
Author: John M. Overwine
Author URI: http://mattoverwine.com/
Description: This theme is based off of branding and design developed by Durham Brand & Co. in Covington, Kentucky and coded with HTML5 Boilerplate, bxSlider and jQuery.
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: rcov, non-profit, covington
Text Domain: rcov

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #464748;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* General */

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', Helvetica, Arial, "Lucida Grande", sans-serif; /* Roboto 400,400i,500,700,700i,900 */
  color: #000000;
}

h2 {
  font-weight: 600;
  font-size: 30px;
  line-height: 32px;
  color: #00aeef;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h3 {
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
}

p {
  font-weight: 400;
  font-size: 15px;
  line-height: 27px;
}

img {
  max-width: 100%;
  max-height: 100%;
}

/* Helpers */

.wrapper-padding {
  width: 80%;
  padding: 0 10%;
  clear: both;
  -webkit-transition: padding 0.3s, width 0.3s; /* Safari */
  transition: padding 0.3s, width 0.3s;
  overflow: auto;
}

.wrapper-margin {
  width: 80%;
  margin: 0 10%;
  padding: 0;
  clear: both;
  -webkit-transition: margin 0.3s, width 0.3s; /* Safari */
  transition: margin 0.3s, width 0.3s;
  overflow: auto;
}

.wrapper-full {
  width: 100%;
  clear: both;
  overflow: auto;
}

.pad-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.pad-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.pad-30 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.pad-40 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.pad-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.header-padding {
  padding-top: 128px;
}

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

.text-left {
  text-align: left;
}

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

a.button {
  margin-top: 20px;
  color: #224f60;
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0px;
  text-decoration: none;
  display: inline-block;
  font-family: 'Roboto Condensed', sans-serif;
}

a.button:hover {
  text-decoration: underline;
}

a.button.restricted {
  width: 150px;
}

a.button.reverse {
  border: 1px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
  -webkit-transition: background-color 0.3s; /* Safari */
  transition: background-color 0.3s;
}

a.button.reverse:hover {
  background-color: rgba(255,255,255,0.2);
}

.image-tag {
  margin-bottom: 15px;
}

.bottom-rule {
  border-bottom: 1px solid #727375;
}

.bottom-rule-white {
  border-bottom: 1px solid #ffffff;
}

/* Header */

header {
  background-color: #ffffff;
  overflow: visible;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

header .wrapper-padding {
  overflow: visible;
}

nav {
  overflow: visible;
  padding: 0;
  position: relative;
}

header #rcov-logo {
  float: left;
  padding: 20px 0;
}

header #rcov-logo img {
  width: 275px;
  -webkit-transition: width 0.3s; /* Safari */
  transition: width 0.3s;
}

#rcov-program-feature {
  float: right;
  padding: 0px 10px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  margin: 5px 0 0;
}

#rcov-program-feature a {
  color: #00adee;
}

#rcov-program-feature a:hover {
  color: #00adee;
  text-decoration: underline;
}

#rcov-program-feature img {
  width: 100px;
  margin-left: 20px;
}

header .top-bar {
  background-color: #f2f2f2;
}

header ul#sub-menu {
  float: right;
}

header ul#sub-menu li {
  list-style: none;
  float: left;
}

header ul#sub-menu li a {
  background-color: #224f60;
  padding: 7px 10px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 1px;
  font-family: 'Roboto Condensed', sans-serif;
}

header ul#sub-menu li a:hover {
  text-decoration: none;
}

header ul#main-menu {
  position: relative;
  float: right;
  padding-bottom: 10px;
  margin-top: 25px;
  clear: right;
}

header ul#main-menu li {
  float: left;
  list-style: none;
}

header ul#main-menu li a {
  color: #224f60;
  text-transform: uppercase;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 5px 10px;
  -webkit-transition: color 0.3s; /* Safari */
  transition: color 0.3;
  font-family: 'Roboto Condensed', sans-serif;
}

header ul#main-menu li a:hover {
  color: #00adee;
}

header ul#main-menu li.current-menu-parent a, header ul#main-menu li:hover ul.sub-menu li.current-menu-item a {
  color: #00adee;
}

header ul#social-menu {
  float: right;
}

header ul#social-menu li {
  float: left;
  list-style: none;
}

header ul#social-menu li a {
  color: #ffffff;
  padding: 5px 10px;
  font-size: 20px;
  display: inline-block;
}

header a {
  opacity: 1;
  text-decoration: none;
  -webkit-transition: opacity 0.3s, text-decoration 0.3s, padding 0.3; /* Safari */
  transition: opacity 0.3s, text-decoration 0.3s, padding 0.3;
}

header a:hover img {
  opacity: 0.7;
}

header ul#main-menu ul.sub-menu {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: #224f60;
  -webkit-transition: visibility 0s, opacity 0.5s linear; /* Safari */
  transition: visibility 0s, opacity 0.5s linear;
  padding: 10px 0;
}

header ul#main-menu li:hover ul.sub-menu {
  display: block;
  visibility: visible;
  opacity: 1;
}


header ul#main-menu li:hover ul.sub-menu ul.sub-menu {
  position: relative;
  padding: 0 0 0 30px;
}

header ul#main-menu li:hover ul.sub-menu li{
  float: none;
}

header ul#main-menu ul.sub-menu a {
  color: #ffffff;
  padding: 5px 15px;
  display: inline-block;
  font-size: 13px;
  font-family: 'Roboto', Helvetica, Arial, "Lucida Grande", sans-serif;
  text-transform: none;
  font-weight: 400;
}

header ul#main-menu ul.sub-menu a:hover {
  color: #00adee;
}

/* Mobile Nav Related */

#nav-icon {
  width: 30px;
  height: 25px;
  position: relative;
  margin: 0px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000000;
  border-radius: 0;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
  top: 10px;
}

#nav-icon span:nth-child(4) {
  top: 20px;
}

#nav-icon.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

nav #nav-icon {
  display: none;
}

#mobile-menu {
  display: none;
  text-align: center;
  padding-top: 135px;
  position: fixed;
  z-index: 500;
  top: 0px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
}

#mobile-menu ul {
  border-bottom: 1px solid #cccccc;
}

#mobile-menu ul li a {
  width: 100%;
  padding: 10px 0;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222222;
  border-top: 1px solid #cccccc;
  text-decoration: none;
}

#mobile-menu ul li a.client-login-mobile {
  background-color: #6cb33f;
  color: #ffffff;
}

#mobile-menu ul li a:hover {
  text-decoration: none;
  border-top: 1px solid #cccccc;
  background-color: #222222;
  color: #ffffff;
}

/* BX Slider and Interior Headers */

.bx-wrapper .bx-viewport {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 0;
  left: 0;
}

ul.bxslider li .bxslider-content {
  width: 100%;
  height: 540px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

ul.bxslider li .bxslider-content .bxslider-message {
  color: #ffffff;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  margin: 100px 0px 100px 65px;
  padding: 30px;
  -webkit-transition: padding 0.3s;
  transition: padding 0.3s;
  width: 320px;
  background-color: rgba(0,173,238,0.9);
  letter-spacing: 1px;
  height: 50%;
}

ul.bxslider li .bxslider-content h2 {
  font-size: 27px;
  font-weight: 700;
  line-height: 35px;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: none;
}

ul.bxslider li .bxslider-content p {
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 4px;
  -webkit-transition: width 0.3s, height 0.3s; /* Safari */
  transition: width 0.3s, height 0.3s;
}

.darken {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(107,194,142,0.1);
  z-index: 1;
  -webkit-transition: width 0.3s; /* Safari */
  transition: width 0.3s;
}

.darken.half {
  width: 50%;
}

.bx-wrapper {
  overflow: hidden;
  margin-bottom: 0;
}

.bx-wrapper .bx-controls-direction a {
  z-index: 50;
}

.bxslider-content a.button {
  position: absolute;
  bottom: 30px;
}

.header-content {
  width: 100%;
  position: relative;
  overflow: auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.header-content .header-message {
  position: relative;
  z-index: 100;
  color: #ffffff;
  padding: 50px 250px;
  -webkit-transition: padding 0.3s; /* Safari */
  transition: padding 0.3s;
}

.header-message h2 {
  color: #ffffff;
  letter-spacing: 2px;
  font-weight: 100;
  font-size: 65px;
  margin-bottom: 0;
}

.header-message p {
  font-size: 19px;
  font-weight: normal;
  text-transform: uppercase;
}

/* Hero Text */

section#hero-text {
  overflow: auto;
}

section#hero-text p {
  margin: 10px 0 0;
  font-size: 23px;
  font-weight: 500;
  line-height: 38px;
  color: #224f60;
}

section#hero-text .wrapper-margin {
  width: 70%;
  margin: 0px 15%; 
}

/* Homepage Features */

section#homepage-features .feature {
  width: 28.333333%;
  margin: 0 2.5%;
  float: left;
}

section#homepage-features .feature h3 {
  color: #00adee;
  text-transform: uppercase;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Roboto Condensed', sans-serif;
  margin: 0 0 30px;
}

section#homepage-features .feature-image {
  position: relative;
  overflow: auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

section#homepage-features .feature-image a {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 130px 0;
}

section#homepage-features .feature-image a span {
  position: absolute;
  right: 20px;
  bottom: 10px;
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
}

.divider {
  width: 14%;
  height: 10px;
  background-color: #00adee;
  margin: 0 auto;
}

/* Connect */

section#connect {
  background-color: #e8e8e8;
}

.connect-left {
  width: 45%;
  float: left;
  margin: 0 2.5%;
  text-align: left;
}

.connect-right {
  width: 45%;
  margin: 0 2.5%;
  float: left;
  text-align: left;
}

section#connect h4 {
  font-size: 25px;
  line-height: 30px;
  color: #224f60;
  margin-bottom: 20px;
  font-weight: 600;
}

section#connect input[type="text"], section#connect input[type="email"] {
  background-color: #ffffff;
  border: #224f60 solid 3px;
  border-right: 0;
  padding: 20px 25px;
  font-size: 20px;
  line-height: 20px;
  float: left;
  display: inline-block;
  width: calc(70% - 60px);
}

section#connect button[type="submit"] {
  background-color: #224f60;
  color: #ffffff;
  border: #224f60 solid 3px;
  display: inline-block;
  padding: 15px 20px;
  font-size: 25px;
  line-height: 34px;
  float: left;
}

section#connect .signup {
  overflow: auto;
}

section#connect .connect-left p {
  color: #224f60;
  font-size: 23px;
  line-height: 40px;
  font-weight: 500;
  margin-top: 10%;
}

section#connect .facebook {
  width: 70%;
  float: right;
}

section#connect .facebook .facebook-plugin {
  border: #cccccc 1px solid;
  background-color: #ffffff;
}

section#connect .facebook .facebook-plugin .recent-activity {
  padding: 10px;
  background-color: #3b5998;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 1px;
}

section#connect .facebook .facebook-plugin .facebook-feed {
  padding: 10px;
}

#cff a {
  color: #365899;
}

#cff .cff-item {
  border-bottom: 1px solid #cccccc !important;
}

.mc4wp-form-fields {
  overflow: auto;
}

.mc4wp-response p {
  font-size: 15px;
  line-height: 20px;
  margin-top: 10px;
}

/* Pages */

.page-content p.feature-text {
  font-size: 26px;
  line-height: 40px;
  color: #00adee;
  font-weight: 500;
  margin-bottom: 40px;
}

.interior-page {
  padding-top: 130px;  
}

.page-content {
  overflow: auto;
  padding-left: 10px;
  padding-right: 10px;
}

.page-header {
  height: 540px;
  background-position: center center;
  background-size: cover;
  -webkit-transition: height 0.3s; /* Safari */
  transition: height 0.3s;
}

.page-title {
  background-color: #6bc28e;
}

.page-title h1 {
  font-weight: 600;
  font-size: 35px;
  line-height: 30px;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.page-header.short {
  height: 400px;
}

.page-content h1 {
  color: #6ebd44;
  font-size: 50px;
  line-height: 50px;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-content h2 {
  color: #00adee;
  margin-bottom: 10px;
  line-height: 30px;
  font-size: 24px;
  letter-spacing: 1px;
}

.page-content h3 {
  color: #00adee;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 23px;
  line-height: 30px;
  letter-spacing: 0.5px;
}

.page-content p {
  margin-bottom: 20px;
  color: #224f60;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.page-content .left {
  width: 66%;
  float: left;
}

.page-content .right {
  width: 30%;
  margin-left: 4%;
  float: right;
}

.page-content .full {
  width: 100%;
}

.page-content blockquote {
  color: #00aeef;
  font-size: 44px;
  line-height: 54px;
}

.page-content span.author {
  color: #00aeef;
  font-size: 21px;
  line-height: 31px;
  font-family: 'bariolregular_italic', Helvetica, Arial, "Lucida Grande", sans-serif; /* Bariol */
  padding-top: 15px;
  display: inline-block;
}

.page-content img.pinterest-logo {
  width: 50px;
  margin-left: 5px;
}

.page-content a {
  color: #00aeef;
}

.page-content table {
  width: 100%;
}

.page-content tr {
  height: 30px;
}

th {
  text-transform: uppercase;
}

th, td {
  padding: 10px;
  border: 1px solid #cccccc;
  color: #00aeef;
}

td:first-child, th:first-child {
  color: #032f49;
}

/* Highlights */

.highlight {
  width: 100%;
  overflow: auto;
  margin-bottom: 40px;
}

.highlight-image {
  width: 335px;
  height: 335px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
  margin-right: 40px;
}

.highlight-content {
  float: left;
  width: calc(100% - 375px);
}

.highlight-content h3 {
    color: #00adee;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 23px;
    line-height: 30px;
    letter-spacing: 0.5px;
}

/* Footer */

footer {
  background-color: #224f60;
  color: #ffffff;
}

footer .info-left, footer .info-right {
  font-size: 15px;
  font-weight: 600;
}

footer .info-left {
  float: left;
  width: 50%;
  margin-top: 10px;

}

footer .info-right {
  float: right;
  width: 50%;
}

footer .social-menu ul {
  float: right;
}

footer .social-menu ul li {
  float: left;
  list-style: none;
}

footer .social-menu ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 30px;
  padding: 0 8px;
  -webkit-transition: color 0.3s; /* Safari */
  transition: color 0.3s;
}

footer .social-menu ul li a:hover {
  color: #00aeef;
}

/* Blog */

.page-title.blog-page {
  padding-top: 130px;
}

.page-content article.blog-post {
  width: 100%;
  overflow: auto;
  margin-bottom: 40px;
}

.page-content article.blog-post .blog-image {
  width: 335px;
  height: 335px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
  margin-right: 40px;
}

.page-content article.blog-post .blog-content {
  float: left;
  width: calc(100% - 375px);  
}

.page-content h3 a {
  text-decoration: none;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

@media screen and (max-width: 1300px) {
  .wrapper-padding {
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
  }
  .wrapper-margin {
    width: 90%;
    margin: 0 5%;
  }
  header ul#main-menu li a {
     padding: 5px 10px;
  }
  header ul#social-menu li a {
    padding: 5px;
  }
  header ul#main-menu {
    margin-top: 30px;
  }
}

@media screen and (max-width: 1200px) {
  .solution-feed .solution h3 {
    margin-top: 20px;
  }
  .white-paper-feed .white-paper {
    width: calc(47% - 60px);
    padding: 30px;
  }
}

@media screen and (max-width: 1100px) {
  .header-content .header-message {
    padding: 50px 100px;
  }
}

@media screen and (max-width: 1000px) {
  .pad-10 {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  
  .pad-20 {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .pad-30 {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  .pad-40 {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  .pad-50 {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .page-header {
    height: 450px;
  }
  header ul#main-menu li a {
    font-size: 18px;
  }
}

@media screen and (max-width: 900px) {
  .wrapper-padding {
    width: 95%;
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
  .wrapper-margin {
    width: 95%;
    margin: 0 2.5%;
  }
  header ul#main-menu li a {
    font-size: 14px;
  }
}

@media screen and (max-width: 800px) {
  nav #nav-icon {
    display: block;
    float: right;
    margin: 20px;
    clear: right;
  }
  nav #main-menu, header .top-bar {
    display: none;
  }
  ul.bxslider li .bxslider-content .bxslider-message {
    padding: 5%;
    width: 80%;
    margin: 5%;
  }
  ul.bxslider li .bxslider-content p {
    font-size: 15px;
  }
  ul.bxslider li .bxslider-content {
    height: 350px;
  }
  .bx-viewport {
    height: 350px;
  }
  .header-content .header-message {
    padding: 50px 40px;
  }
  header #rcov-logo img {
    width: 150px;
  }
  .interior-page {
    padding-top: 145px;
  }
  .page-header {
    height: 190px;
  }
  .darken.half {
    width: 70%;
  }
  .highlight-image, .page-content article.blog-post .blog-image {
    float: none;
    margin: 0 auto 40px;
  }
  .highlight-content, .page-content article.blog-post .blog-content {
    width: 100%;
  }
  #rcov-program-feature {
    font-size: 15px;
    line-height: 15px;
  }
  .header-padding {
    padding-top: 88px;
  }
  .bxslider-content a.button {
    position: relative;
    bottom: auto;
  }
  section#hero-text .wrapper-margin {
    width: 90%;
    margin: 0px 5%;
  }
  section#homepage-features .feature {
    width: 75%;
    margin: 0 12.5%;
    margin-bottom: 50px;
    float: none;
  }
  .divider {
    margin-bottom: 40px;
  }
  .connect-left, .connect-right {
    width: 90%;
    margin: 20px 5%;
  }
  section#connect .facebook {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .solution-feed .solution {
    width: calc(97% - 60px);
    height: auto;
  }
  .solution-feed .solution h3 {
    margin-top: 30px;
  }
  ul.bxslider li .bxslider-content p {
    font-size: 13px;
    line-height: 22px;
  }
}

@media screen and (max-width: 500px) {
  footer .info-left {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  footer .info-right {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  footer .info-right ul {
    text-align: center;
    width: 100%;
  }
  footer .info-right ul li {
    float: none;
    display: inline-block;
  }
  ul.bxslider li .bxslider-content {
    height: 250px;
  }
  ul.bxslider li .bxslider-content .bxslider-message {
    padding: 5%;
    width: 90%;
    margin: 10px 0;
    text-align: center;
    height: auto;
  }
  .darken.half {
    width: 100%;
  }
  .bx-viewport {
    width: 300px;
  }
    #rcov-program-feature {
    display: none;
  }
  nav #nav-icon {
    margin-top: 30px;
  }
}

@media screen and (max-width: 400px) {

}