/*
Theme Name: Rise Residential Roofing

Fonts Used:
font-family: "Roboto", sans-serif;
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  font-size: 100%;
  font: inherit;
  padding: 0;
  border: 0;
  margin: 0;
  vertical-align: baseline
}
body {
  line-height: 1
}
ol, ul {
  list-style: none
}
blockquote, q {
  quotes: none
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none
}
table {
  border-collapse: collapse;
  border-spacing: 0
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}
.clear {
  clear: both
}
.sticky {}
.bypostauthor {}
.wp-caption {}
.wp-caption-text {}
.gallery-caption {}
.alignright {}
.alignleft {}
.aligncenter {}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important
}
/*--------- BODY ELEMENTS --------- */
body {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.444em;
  letter-spacing: -0.02em;
  word-spacing: 0.04em;
  max-width: 2400px;
  margin: 0 auto;
}
a {
  text-decoration: none;
  transition: .5s;
}
b, strong {
  font-weight: 700;
}
nav, section, footer, div, li, a, input, select, textarea, img, td {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
input, select, textarea {
  -webkit-appearance: none;
}
p {
  margin: 0 0 1.5em 0;
}
p:last-child {
  margin: 0 !important;
}
a {
  text-decoration: none;
  transition: .5s;
}
em, i {
  font-style: italic;
}
img {
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.333em;
  box-sizing: border-box;
}
/*--------- HEADER ELEMENTS --------- */
#header {
  display: table;
  width: 100%;
  background: #272727;
}
#branding {
  display: table;
  width: 84%;
  margin: 1.5em auto 1.5em auto;
}
#branding .left {
  display: table-cell;
  vertical-align: middle;
}
#branding .left img {
  display: table;
  margin: 0;
  float: left;
  width: 12em;
  max-width: 100%;
}
#branding .right {
  display: table-cell;
  vertical-align: middle;
}
#branding .right .phone {
  display: table;
  float: right;
  background: #ebe9d5;
  color: #000;
  font-size: 2.667em;
  font-weight: 700;
  line-height: 1em;
  padding: 0.35em 0.65em;
  border-radius: 1em;
}
#branding .right .phone i {
  font-size: 0.778em;
}
#branding .right .phone:hover {
  background: #000;
  color: #ebe9d5;
}
#branding .right .quote {
  clear: both;
  display: table;
  float: right;
  margin: 0.5em 0 0 0;
  background: url(images/arrow.webp) left center no-repeat #fff;
  background-size: contain;
  color: #000;
  font-size: 1.333em;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  padding: 0.6em 1em 0.6em 3em;
  border-radius: 1em;
}
#branding .right .quote:hover {
  background: url(images/arrow.webp) left center no-repeat #000;
  background-size: contain;
  color: #fff;
}
/*--------- F00TER ELEMENTS --------- */
#footer {
  display: table;
  width: 100%;
  background: #272727;
}
#footer .footerinfo {
  display: table;
  width: 84%;
  margin: 4em auto 4em auto;
}
#footer .footerinfo .logo {
  display: table;
  width: 100%;
  margin: 0 auto;
}
#footer .footerinfo .logo img {
  display: table;
  margin: 0 auto 1em auto;
  width: 12em;
  max-width: 100%;
}
#footer .footerinfo .address {
  display: table;
  width: auto;
  margin: 0 auto;
  font-size: 1.333em;
  color: #fff;
  text-align: center;
  line-height: 1.222em;
}
#footer .footerinfo .phone {
  display: table;
  width: auto;
  margin: 2em auto 0 auto;
}
#footer .footerinfo .phone a {
  display: table;
  color: #fff;
  font-size: 2.667em;
  font-weight: 700;
  line-height: 1em;
}
#footer .footerinfo .phone i {
  font-size: 0.778em;
}
#footer .footerinfo .phone:hover {
  color: #ebe9d5;
}
#footer .footerinfo .email {
  display: table;
  width: auto;
  margin: 0.5em auto 0 auto;
}
#footer .footerinfo .email a {
  display: table;
  color: #fff;
  font-size: 1.333em;
  font-weight: 700;
  line-height: 1em;
}
#footer .footerinfo .email i {
  font-size: 1em;
}
#footer .footerinfo .phone:hover {
  color: #ebe9d5;
}
/*--------- HOME GALLERY ELEMENTS --------- */
#gallery {
  display: table;
  width: 100%; /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ebe9d5+100 */
  background: linear-gradient(135deg, #ffffff 0%, #ebe9d5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
#gallery .gallery {
  display: table;
  width: 50%;
  margin: 7em auto 5em auto;
}
#gallery .gallery h3 {
  font-size: 2.667em;
  font-weight: 700;
  text-align: center;
  line-height: 1em;
  text-transform: uppercase;
  margin: 0 0 0.5em 0;
}
#gallery .gallery .flexslider {
  background: #fff;
  padding: 1.5em;
  box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}
#gallery .gallery .metaslider .flex-control-nav {
  left: 0;
  right: 0;
}
/*--------- HOME INSURANCE ELEMENTS --------- */
#insurance {
  display: table;
  width: 100%;
  position: relative;
}
#insurance img {
  display: table;
  width: 100%;
  margin: 0;
}
#insurance .insurance {
  display: table;
  width: 84%;
  margin: 0 auto 0 auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ebe9d5;
  padding: 2em;
  text-align: center;
}
#insurance .insurance h3 {
  font-size: 2.667em;
  font-weight: 700;
  text-align: center;
  line-height: 1.222em;
  margin: 0 0 0.25em 0;
}
#insurance .insurance .textwidget {
  font-size: 1.333em;
  text-align: center;
  line-height: 1.444em;
}
/*--------- HOME CTA ELEMENTS --------- */
#cta {
  display: table;
  width: 100%;
  background: #272727;
}
#cta .cta {
  display: grid;
  gap: 0 3.5%;
  grid-template-columns: 31% 65.5%;
  width: 84%;
  margin: 5em auto -4em auto;
}
#cta .cta li {
  display: flex;
  flex-direction: column;
}
#cta .cta li:nth-child(1) {
  padding: 3em;
  background: #ebe9d5;
}
#cta .cta li:nth-child(1) .wpcf7 {
  margin: 0;
}
#cta .cta li:nth-child(1) .wpcf7 table {
  display: table;
  margin: 0 auto;
}
#cta .cta li:nth-child(1) .wpcf7 table tr td {
  float: left;
  width: 100%;
  padding: 0.25em;
}
#cta .cta li:nth-child(1) .wpcf7 table tr td input {
  margin: 0;
}
#cta .cta li:nth-child(1) .wpcf7 table tr td textarea {
  margin: 0;
}
#cta .cta li:nth-child(2) {
  padding: 3em 0 0 0;
}
#cta .cta li:nth-child(2) h3 {
  font-size: 3.333em;
  font-weight: 700;
  color: #fff;
  line-height: 1.222em;
  text-transform: uppercase;
  margin: 0 0 0.5em 0;
}
#cta .cta li:nth-child(2) .textwidget {
  font-size: 1.667em;
  color: #fff;
  line-height: 1.333em;
}
/*--------- HOME BANNER ELEMENTS --------- */
#homebanner {
  display: table;
  width: 100%;
  position: relative;
}
#homebanner img {
  display: table;
  width: 100%;
  margin: 0;
}
#homebanner .homebanner {
  display: table;
  width: 50%;
  position: absolute;
  right: 0;
  top: 70%;
  transform: translateY(-70%);
  background: rgba(39, 39, 39, 0.9);
  font-size: 2.667em;
  font-weight: 700;
  line-height: 1.222em;
  color: #fff;
  padding: 1em 1.875em;
}
/*--------- HOME CONTENT ELEMENTS --------- */
.page-template-front-page #container {
  display: table;
  width: 100%;
  margin: 0;
  padding: 0;
}
.page-template-front-page #container #homecontent {
  display: table;
  width: 100%;
}
.page-template-front-page #container #homecontent .left {
  display: table-cell;
  vertical-align: top;
  width: 50%;
  padding: 5em 5em 5em 8vw;
  background: url("images/r-bg.webp") no-repeat left 8vw bottom #ebe9d6;
  background-size: auto;
}
.page-template-front-page #container #homecontent .left h1 {
  font-size: 2.667em;
  font-weight: 700;
  line-height: 1.222em;
  margin: 0 0 0.5em 0;
  text-transform: uppercase;
}
.page-template-front-page #container #homecontent .left article .entry-content p {
  font-size: 1.556em;
  line-height: 1.444em;
  margin: 0 0 1.25em 0;
}
.page-template-front-page #container #homecontent .left article .entry-content p:last-of-type {
  margin: 0;
}
.page-template-front-page #container #homecontent .left .logos {
  display: table;
  width: 100%;
  margin: 3em 0 0 0;
  list-style: none;
}
.page-template-front-page #container #homecontent .left .logos li {
  display: table-cell;
  padding: 0 1em 0 0;
}
.page-template-front-page #container #homecontent .left .logos li img {
  display: table;
  width: 100%;
  margin: 0;
}
.page-template-front-page #container #homecontent .right {
  display: table-cell;
  vertical-align: top;
  width: 50%;
  padding: 5em 8vw 5em 5em;
  background: #272727;
}
.page-template-front-page #container #homecontent .right h3 {
  font-size: 2.667em;
  font-weight: 700;
  line-height: 1.222em;
  margin: 0 0 0.5em 0;
  text-transform: uppercase;
  color: #fff;
}
.page-template-front-page #container #homecontent .right .textwidget {
  position: relative;
}
.page-template-front-page #container #homecontent .right .textwidget img {
  display: table;
  margin: 0;
  width: auto;
  max-width: 100%;
}
.page-template-front-page #container #homecontent .right .textwidget img:nth-of-type(2) {
  position: relative;
  left: 8vw;
  top: -8vh;
  border: 0.5em solid #272727;
  margin: 0 0 -8vh 0;
}
/* --------- PAGE ELEMENTS --------- */
#container #content a {
  color: #000;
}
#container #content a:hover {
  color: #000;
}
#container {
  width: 84%;
  display: table;
  margin: 0 auto;
  padding: 3em 0 3em 0;
}
#content {
  float: left;
  width: 71%;
}
#sidebar {
  float: right;
  width: 27%;
}
#container #content h1 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 2.667em;
  line-height: 1.35em;
  margin: 0 0 0.5em 0;
}
#container #content h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 2em;
  line-height: 1.35em;
  margin: 0 0 0.600em 0;
  color: #000;
}
#container #content h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.75em;
  line-height: 1.35em;
  margin: 0 0 0.750em 0;
  color: #000;
}
#container #content h4 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.5em;
  line-height: 1.35em;
  margin: 0 0 0.900em 0;
  color: #000;
}
#container #content ul {
  line-height: 1.5em;
  margin-bottom: 1.5em;
  padding-left: 1em;
}
#container #content ul li {
  list-style: none;
  padding: 0.5em 0 0.4em 1.35em;
  position: relative;
}
#container #content ul li:before {
  content: "\f058";
  left: 0;
  font-size: 0.889em;
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  color: #000;
}
#container #content ul li ul {
  margin-bottom: 0.5em;
}
#container #content ol {
  line-height: 1.5em;
  margin-bottom: 1.5em;
  padding-left: 2em;
  list-style: decimal;
}
#container #content ol li {
  padding: 0.3em 0;
}
#container #content .imgright {
  width: 32%;
  float: right;
  margin: 0 0 0.5em 1.5em;
  clear: right;
}
#container #content .imgright img {
  width: 100%;
  height: auto;
  margin: 0;
}
#container #content .threeimgs {
  display: table;
  width: 100%;
  margin: 0 0 2em 0;
  padding: 0;
}
#container #content .threeimgs li {
  width: 32%;
  margin: 0 2% 0 0;
  padding: 0;
  list-style: none;
  background: none;
  float: left;
}
#container #content .threeimgs li:last-child {
  margin: 0;
}
#container #content .threeimgs li img {
  display: table;
  width: 100%;
  height: auto;
  margin: 0;
}
#container #content .threeimgs li:before {
  display: none;
}
#container #content .threeimgs li.double {
  width: 64%;
  margin: 0 0 0 2%;
}
.alignleft {
  float: left;
  margin: 0 1.5em 0.5em 0;
}
.alignright {
  float: right;
  margin: 0 0 0.5em 1.5em;
}
.alignnone {
  float: none;
  margin: 1.5em auto;
  display: table;
}
.aligncenter {
  float: none;
  margin: 1.5em auto;
  display: table;
}
/* --------- FORM ELEMENTS --------- */
.wpcf7 .wpcf7-form p {
  margin: 0 !important;
}
input {
  height: 2.5em;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.333em;
  width: 100%;
  padding: 0 0.75em;
  border: 1px solid #ccc;
  margin: 0 0 0.5em 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
}
textarea {
  height: 5em;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.333em;
  width: 100%;
  padding: 0.5em 0.75em;
  border: 1px solid #ccc;
  margin: 0 0 0.5em 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  resize: none;
}
input[type="submit"] {
  display: table;
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  color: #fff;
  font-size: 1.333em;
  font-weight: 700;
  line-height: 2.778em;
  text-transform: uppercase;
  background: #272727;
  cursor: pointer;
  cursor: hand;
  border: none;
  padding: 0 1em;
  height: inherit;
  margin: 0 auto 0 auto;
  width: 100%;
  transition: .5s;
}
input[type="submit"]:hover {
  color: #fff;
  background: #000;
}
div.wpcf7 .wpcf7-spinner {
  visibility: hidden;
  z-index: 999;
  position: relative;
  top: -30px;
  right: 10px;
  float: right;
  margin: 0 0 -20px 0 !important;
}
div.wpcf7 br {
  display: none;
}
div.wpcf7-response-output {
  margin: 10px 0 0 0 !important;
  padding: 0 !important;
  color: red !important;
  text-align: center !important;
  font-size: 1em !important;
  border: none !important;
  line-height: 1.25em !important;
}
div.wpcf7-mail-sent-ng {
  margin: 10px 0 0 0 !important;
  padding: 0 !important;
  color: green !important;
  text-align: center !important;
  font-size: 1em !important;
  border: none !important;
  line-height: 1.25em !important;
}
span.wpcf7-not-valid-tip {
  margin: 0 0 5px 0 !important;
  color: red !important;
  font-size: 1em !important;
  font-weight: 400 !important;
  text-align: left !important;
  line-height: 1.25em !important;
}
div.wpcf7-validation-errors {
  color: red !important;
  border: none !important;
  font-weight: 400;
  margin: 0.556em 0 !important;
  line-height: 1.25em !important;
}
div.wpcf7-mail-sent-ok {
  border: none !important;
  margin: 0.556em 0 !important;
  line-height: 1.25em !important;
}
#searchform #s {
  width: 75%;
  float: left;
  border: 1px solid #ccc;
  margin: 0;
  font-size: 1em;
  line-height: 2.222em;
  padding: 0 1em;
  box-shadow: 1px 1px 2px #333;
}
#searchform input[type="submit"] {
  width: 25%;
  float: left;
  font-size: 1em;
  line-height: 2.778em;
  padding: 0;
  box-shadow: 1px 1px 2px #333;
}
/* --------- BLOG PAGE ELEMENTS --------- */
.entry-meta {
  margin: 0 0 1em 0;
}
.entry-footer {
  border: 1px solid #ededed;
  background: #fbfbfb;
  padding: 0.25em 1em;
  display: table;
  width: 100%;
  margin: 1.5em 0 0 0;
}
.cat-links {
  float: left;
  display: table;
  width: 100%;
  padding: 0;
}
.tag-links {
  float: left;
  display: table;
  width: 100%;
  padding: 0;
}
#nav-below {
  margin: 1.5em 0 0 0;
}
.nav-previous {
  float: left;
  width: 50%;
}
.nav-next {
  float: right;
  width: 50%;
  text-align: right;
}
#container #content article {
  margin: 0 0 3em 0 !important;
}
.blog #container #content article .size-post-thumbnail {
  display: none;
  width: 32%;
  float: right;
  margin: 0 0 0.5em 1.5em;
  clear: right;
}
.single #container #content article .size-post-thumbnail {
  display: none;
  width: 32%;
  float: right;
  margin: 0 0 0.5em 1.5em;
  clear: right;
}
/* --------- SIDEBAR ELEMENTS --------- */
.sidebarform {
  display: table;
  width: 100%;
  background: #ebe9d5;
  padding: 2em;
  margin: 0 0 1.5em 0;
}
.sidebarform h3 {
  font-family: "Roboto", sans-serif;
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.25em 0;
}
.sidebarform h4 {
  font-size: 1.222em;
  font-weight: 400;
  text-align: center;
  color: #fff;
  margin: 0 0 0.5em 0;
}
.sidebarform .wpcf7 {
  margin: 0;
}
.sidebarform .wpcf7 table {
  display: table;
  margin: 0 auto;
}
.sidebarform .wpcf7 table tr td {
  float: left;
  width: 100%;
  padding: 0.25em;
}
.sidebarform .wpcf7 table tr td input {
  margin: 0;
}
.sidebarform .wpcf7 table tr td textarea {
  margin: 0;
}
/* --------- VIDEO ELEMENTS --------- */
.videocontainer {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.videocontainer .videosize {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.videocontainer iframe {
  display: table;
}
/* --------- CONTACT PAGE ELEMENTS --------- */
.contact {
  width: 100%;
  display: table;
}
.contact .address {
  width: 48%;
  float: left;
  display: table;
  text-align: left;
  font-size: 1em;
}
.contact .hours {
  width: 48%;
  float: right;
  display: table;
}
.contact .map {
  clear: both;
  float: left;
  display: table;
  width: 100%;
  margin: 2em 0;
}
.contact .map iframe {
  width: 100%;
  height: 450px;
  border: none;
}
/* --------- GALLERY PAGE ELEMENTS --------- */
.ngg-gallery-thumbnail img {
  width: 100%;
}
/* --------- POPUP ELEMENTS --------- */
.pum-container input[type="submit"] {
  color: #000;
  background: #EBE9D6;
}
.pum-container input[type="submit"]:hover {
  color: #fff;
  background: #000;
}
/* --------- RECAPTCHA ELEMENTS --------- */
.g-recaptcha div {
  width: 100% !important;
}
.g-recaptcha div iframe {
  width: auto !important;
  overflow: hidden !important;
}
td.verify {
  text-align: center;
}