/*
Theme Name: Cervantes Roofing
Theme URI: https://cervantesroofing-llc.com
Author: Magus Pressworks
Author URI: https://maguspressworks.com
Description: A custom theme built by Magus Pressworks, for Cervantes Roofing LLC.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maguspressworks.com
*/

/* COLORS */

:root {
  --color1:#ffffff;
  --color2:#bae3e7;
  --color3:#c9dae4;
  --color4:#31394c;
  --color5:#718ca7;
  --color6:#46a6b4;
}

/* Reset */

*{
margin: 0px;
padding: 0px;
border: 0px;
font-family: inherit;
font-size: inherit;
line-height: inherit;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}

*:before,
*:after{
box-sizing: inherit;
}

html, body,h1, h2, h3, h4, h5, h6,a, p, span,em, small, strong,sub, sup,mark, del, ins, strike,abbr, dfn,blockquote, q, cite,code, pre,ol, ul, li, dl, dt, dd,div, section, article,main, aside, nav,header, hgroup, footer,img, figure, figcaption,address, time,audio, video,canvas, iframe,details, summary,fieldset, form, label, legend,table, caption,tbody, tfoot, thead,tr, th, td{
margin: 0;
padding: 0;
border: 0;
}

a,
a:visited{
color: inherit;
}

article,
aside,
footer,
header,
nav,
section,
main{
display: block;
}

img{max-width:100%;}

/* Top-level styles */

*{transition: all 0.2s ease;}

html{
  scroll-behavior: smooth;
  font:18px/1.4em Segoe UI, sans-serif;
}
body{
  background:url(https://cervantesroofing-llc.com/wp-content/uploads/2026/01/cervantes-tucson-roofing.avif) top center no-repeat fixed;
  background-size:cover;
}
h1{font-size:2rem;}
h2{font-size:1.6rem;}
h3{font-size:1.2rem;}
h1,h2,h3{
  line-height:1em;
  margin-bottom:1rem;
  font-weight:normal;
}
p{margin-bottom:1rem;}
li{list-style-position: inside;}

/* Structure elements */

.wrapper{
  width:80%;
  margin:0 auto 0 auto;
}
.flexwrap{display:flex;}

/* Above Header */

.above-header{

}
.above-header .widget{
    flex:1;
    line-height:2em;
    font-weight:200;
    text-transform:uppercase;
}
.above-header .widget:nth-of-type(2){
    text-align:right;
}
.above-header p{
    margin:0;
    padding:0;
}
.above-header a{
    color:var(--color2);
    text-decoration:none;
}

/* Header */
header{
  margin-bottom:5rem;
}
.header-left{
  flex:1;
}
.header-right{
    flex:1.5;
}
.site-title{
    font-size: 2em;
    font-weight: bold;
}

.site-description {
    font-size: 1em;
    color: #666;
}

/* Logo */

img.logo{
  position:absolute;
  top:1rem;
}

.page:not(.home) .header-left,
.single .header-left,
.category .header-left{
  position:relative;
}

/* Navigation */
header nav{
    width:100%;
}

header .menu{
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content:right;
    text-align:center;
    position:relative;
    padding:0.5rem 0 0.5rem 0;
}

header .menu .menu-item{
    background: #c7c7c7;
    background: linear-gradient(0deg, rgba(199, 199, 199, 1) 0%, rgba(255, 255, 255, 1) 79%);
    border-bottom:1px var(--color1) solid;
}
header .menu .menu-item:first-of-type{
      border-top-left-radius:12px;
      border-bottom-left-radius:12px;
      --moz-border-top-left-radius:12px;
      --webkit-border-bottom-left-radius:12px;
      --moz-border-top-left-radius:12px;
      --webkit-border-bottom-left-radius:12px;
}
header .menu .menu-item:last-of-type{
      border-top-right-radius:12px;
      border-bottom-right-radius:12px;
      --moz-border-top-right-radius:12px;
      --webkit-border-bottom-right-radius:12px;
      --moz-border-top-right-radius:12px;
      --webkit-border-bottom-right-radius:12px;
}
header .menu .menu-item:last-child a{
  border:0;
}

header .menu .menu-item a{
    display:block;
    text-decoration:none;
    text-transform:uppercase;
    text-align:center;
    font-size:1.2rem;
    font-weight:400;
    line-height:2.5em;
    padding:0 2rem 0 2rem;
    font-weight:200;
    border-right:1px var(--color5) solid;
}
header .menu .menu-item:hover a{
  color:var(--color5);
}

/* Nav Level 2 */

header .sub-menu{
  display:none;
  position: absolute;
  transform: translateX(-40%);
  top: 5rem;
  z-index: 10;
  background:rgba(255, 255, 255, 1);
  border: 5px var(--color2) solid;
  padding:1rem;
}
header .menu .menu-item:hover .sub-menu{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  min-width:50%;
}
header .menu .menu-item .sub-menu .menu-item{
  list-style-type:none;
  text-align:center;
  flex:1;
}
header .menu .menu-item .sub-menu .menu-item a{
  padding:0.5rem;
  font-size:1rem;
  color:var(--color3);
  font-weight:bold;
  border-bottom:1px var(--color2) dotted;
}
.dropdown-toggle{
  display:none;
}

/* Nav Level 3 */

header .sub-menu .sub-menu{
  flex-direction: column;
  transform: none;
  position: static;
  border: none;
  background:none;
}
header .sub-menu .sub-menu .menu-item a{
  color:var(--color2)!important;
  border:none!important;
  font-weight:300!important;
  text-transform:capitalize;
  padding:0!important;
  line-height:1em;
}
header .sub-menu .sub-menu .menu-item:hover a{
  color:var(--color3)!important;
  font-style:italic;
}
header .sub-menu .sub-menu .menu-item a span{
  display:block;
  font-size:.8em;
  color:var(--color3);
  font-style:italic;
  font-weight:200;
}
header .sub-menu .sub-menu .menu-item:hover a span{
  color:var(--color2);
  font-style:normal;
}

/*  Nav Mobile */

.mobile-menu-icon{
  display:none;
  width:100vw;
  background: var(--color2)!important;
  color:var(--color4);
  padding:1rem;
  position:fixed;
  bottom:0;
}
.mobile-menu-icon .line{
  width:25px;
  height:5px;
  background-color:var(--color4);
  margin:5px auto 5px auto;
}
.close{
  display:none;
  width: 32px;
  height: 32px;
  text-align:center;
  margin:2px auto 2px auto;
}
.close:hover{opacity: 1;}
.close:before, .close:after{
  position:absolute;
  text-align:center;
  content: ' ';
  height: 32px;
  width: 2px;
  background-color:var(--color3);
}
.close:before{transform: rotate(45deg);}
.close:after{transform: rotate(-45deg);}

.social{
  flex:1;
  color:var(--color1);
  font-size:2rem;
  padding-left:2rem;
  margin:4rem 1rem 0;
  z-index:100;
}
.social a:hover{
  color:var(--color4);
}
.social a{
  text-decoration:none;
}
.phone{
  flex:1;
  color:var(--color1);
  text-align:right;
  font-size:2rem;
  margin:4rem 0 1rem 0;
  font-weight:300;
  z-index:100;
}
.phone a{
  text-decoration:none;
  color:var(--color1);
}
.phone a:hover{
  color:var(--color4);
}

/* Feature */

.feature{}
.feature .widget{
  text-align:center;
  padding:0 0 5rem 0;
  color:var(--color1);
}
.feature-left,
.feature-right{
  flex:1;
}
.feature h2:nth-of-type(1){
  font-weight:300;
  font-size:6rem;
  text-transform:uppercase;
  padding-top:5rem;
}
.feature h2 span{
  font-weight:600;
  font-style:italic;
}
.feature .more-link,
.feature .forminator-button{
  display:inline-block!important;
  background:var(--color2)!important;
  color:var(--color4)!important;
  font-size:2rem!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  line-height:2em!important;
  text-align:center!important;
  padding:0rem 4rem 0rem 4rem!important;
  margin:2rem!important;
  margin-right:0!important;
  border:2px var(--color4) solid!important;
  border-radius:10px!important;
  --moz-border-radius:10px!important;
  --webkit-border-radius:10px!important;
}
.feature .more-link:hover,
.feature .forminator-button:hover{
  background:var(--color6)!important;
  color:var(--color1)!important;
  border:2px var(--color4) dashed!important;
}
.feature .more-link:nth-of-type(2){
  font-weight:300;
}

.feature input,
.feature select,
.feature textarea,
.forminator-checkbox-box{
  font-size:1.4rem!important;
  padding:1rem!important;
  border:0!important;
  border-radius:10px!important;
  --moz-border-radius:10px!important;
  --webkit-border-radius:10px!important;
}

.feature .forminator-checkbox-label,
.forminator-description{
  font-size:1.4rem!important;
}
.forminator-description{
  font-weight:bold;
  font-style:italic;
  border-bottom:1px var(--color1) solid;
  padding-bottom:1rem;
  margin-bottom:1rem;
}

/* Above Content */

.above-content{}
.above-content .widget{
  width:100%;
  text-align:center;
  padding:5rem 0 5rem 0;
  margin:0 0 4rem 0;
}

/* Columns: Upper */

.columns-upper{
  background:url(https://cervantesroofing-llc.com/wp-content/uploads/2025/11/tucson-roofers-column-bg.avif) top center no-repeat;
  background-size:cover;
  border-top:2px var(--color4) solid;
}
.columns-upper .bg-overlay{
  width:100%;
  height:auto;
  background:rgba(186, 227, 231, 0.8);
}

.columns-upper .flexwrap{
    justify-content:space-between;
}

.columns-upper .widget{
    flex:1;
    color:var(--color4);
    padding:0 1rem 0 1rem;
    min-height:10rem;
    font-weight:200;
    font-size:2rem;
    line-height:1.2em;
}
.columns-upper .widget h2{
    font-size:2rem;
    font-style:italic;
}
.columns-upper .widget:nth-of-type(1){
  border-right:1px var(--color4) solid;
}
.columns-upper .widget:nth-of-type(1) h2{
  width:40%;
  background:var(--color4);
  color:var(--color1);
  padding:0 2rem 0 2rem;
  text-align:center;
  line-height:2em;
  margin-top:-2rem;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.columns-upper .widget:nth-of-type(2) h2{
  padding:1rem 0 1rem 0;
  font-weight:300;
}
.columns-upper .more-link{
    text-decoration:none;
    font-size:1.5rem;
    font-weight:400;
    color:var(--color4);
}
.columns-upper .more-link:hover{
    color:var(--color3);
}

.columns-upper .widget:nth-of-type(2) .more-link{
  float:right;
  display:inline-block;
  background:var(--color4);
  color:var(--color1);
  font-style:italic;
  font-size:1.6rem;
  font-weight:300;
  text-transform:uppercase;
  line-height:2em;
  padding:0 3rem 0 3rem;
  margin:1rem 0 1rem 0;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.columns-upper .widget:nth-of-type(2) .more-link:hover{
  background:var(--color6);
}

.columns-upper .forminator-label{display:none!important;}

.columns-upper input{
  border:0!important;
  padding:1rem!important;
  font-size:1.6rem!important;
  font-style:italic!important;
  border-radius:10px!important;
  --moz-border-radius:10px!important;
  --webkit-border-radius:10px!important;
}

.columns-upper .forminator-button{
  float:right!important;
  display:inline-block!important;
  background:var(--color2)!important;
  color:var(--color4)!important;
  font-size:1.6rem!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  line-height:2em!important;
  text-align:center!important;
  padding:0rem 4rem 0rem 4rem!important;
  margin:0.5rem!important;
  margin-right:0!important;
  border:2px var(--color4) solid!important;
  border-radius:10px!important;
  --moz-border-radius:10px!important;
  --webkit-border-radius:10px!important;
}
.columns-upper .forminator-button:hover{
  background:var(--color6)!important;
  color:var(--color1)!important;
  border:2px var(--color4) dashed!important;
}
.columns-upper .gallery{
  display:flex;
}
.columns-upper .gallery figure{
  flex:1;
  padding:0 1rem 0 1rem;
}
.columns-upper .gallery img{
  width: 100%;
  height: 180px;
  border:8px var(--color1) solid;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
  object-fit: cover; 
}
/* Content */

main{
  background:var(--color1);
}
.home main{
  background:var(--color4);
  font-size:1.6rem;
  color:var(--color4);
}

.content-wrapper{
  background:var(--color1);
  padding:2rem 2rem 10rem 2rem;
}
.home .content-wrapper{
	clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
}
main article{
  flex:3;
  line-height: 2em;
  font-weight: 300;
  padding-right:4rem;
}
.page:not(.home) article,
.single article{
  font-size:1.4rem;
  padding-bottom:4rem;
}
.page:not(.home) .title,
.single .title{
  padding-top:6rem;
  width:100%;
  text-align:left;
}
main .title{
    width:80%;
    text-align:center;
    font-size:3rem;
    font-weight:bold;
    color:var(--color4);
    border-bottom:1px var(--color4) solid;
    padding:1em 0 1em 0;
    margin:0 auto 1em auto;
}
main article .title span{
    font-size:2rem;
    font-weight:300;
}
main article h2{
  font-size:2.5rem;
  font-weight:bold;
  color:var(--color4);
  border-bottom:1px var(--color4) solid;
  padding:0 0 1rem 0;
}
main article img{
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
main article .more-link{
  display:inline-block;
  background:var(--color4);
  color:var(--color1);
  font-style:italic;
  font-size:1.6rem;
  font-weight:300;
  text-transform:uppercase;
  line-height:2.5em;
  padding:0 3rem 0 3rem;
  margin:2rem 0 0 0;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
main article .more-link:hover{
  background:var(--color6);
}

main article .gallery{
  display:flex;
  flex-wrap:wrap;
}
main article .gallery .gallery-item{
  padding:1rem;
  max-width:25%;
}
main article .gallery .gallery-item img{
  display:block;
  text-align:center;
  height:12rem;
  width:auto;
  border:5px var(--color2) solid;
}


.home .content-wrapper,
.page-template-page-landingpage .content-wrapper{
	padding:2rem 0 0 0;
}
.home main article,
.page-template-page-landingpage main article{
	padding:0!important;;
}
.home main .title,
.page-template-page-landingpage main .title{
	border:0;
	margin-bottom:0;
}
.page-template-page-landingpage  .title{
	padding:0 10% 1em 10%;
}
.home main h2,
.page-template-page-landingpage main h2{
	border:0;
}
.fullwidth-box{
	padding:4rem 10% 4rem 10%;
}
.fullwidth-box:nth-of-type(odd){
	background:var(--color1);
}
.fullwidth-box:nth-of-type(even){
	background:var(--color2);
}
.fullwidth-box:nth-of-type(1){
	padding-top:0;
}
.fullwidth-box:nth-of-type(even) .gallery .gallery-item img{
	border:5px var(--color1) solid;
}

/* Sidebar / Sidebar Widgets */

aside{
  flex:1;
}
.page:not(.home) aside, .single aside{
  padding-top:4rem;
}
.sidebar .widget{
  color:var(--color1);
  font-size:1.2rem;
  line-height:2em;
  margin-bottom:3rem;
}
.sidebar .widget h2{
  background:var(--color2);
  color:var(--color4);
  font-size:2rem;
  font-weight:bold;
  line-height:2em;
  text-align:center;
  border-top-left-radius:10px;
  border-top-right-radius:10px;
  --moz-border-top-left-radius:10px;
  --moz-border-top-right-radius:10px;
  --webkit-border-top-left-radius:10px;
  --webkit-border-top-right-radius:10px;
  margin:0;
}
.sidebar .widget .contents{
  background:var(--color4);
  padding:1rem;
  border-bottom-left-radius:10px;
  border-bottom-right-radius:10px;
  --moz-border-bottom-left-radius:10px;
  --moz-border-bottom-right-radius:10px;
  --webkit-border-bottom-left-radius:10px;
  --webkit-border-bottom-right-radius:10px;
}
.sidebar .widget img{
  border:5px var(--color1) solid;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.sidebar .widget ul{
  columns:2;
}
.sidebar .widget ul li{
  list-style-type:none;
}

.sidebar .more-link{
  display:inline-block;
  background:var(--color2);
  color:var(--color4);
  font-size:1.2rem;
  font-weight:bold;
  text-transform:uppercase;
  line-height:2.5em;
  padding:0 2rem 0 2rem;
  margin:2rem auto 0rem auto;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.sidebar .more-link:hover{
  background:var(--color6);
  color:var(--color1);
}

/* Below Content */

.below-content{
  background:var(--color4);
  color:var(--color1);
}
.below-content .widget{
  width:100%;
  text-align:center;
  padding:1rem 0 5rem 0;
}
.below-content h2{
  font-size:3rem;
  font-weight:bold;
  font-style:italic;
  margin:1em auto 1em auto;
  text-align:center;
}
.partners{
  display:flex;
  justify-content:space-between;
  margin-bottom:3rem;
}
.partners img{
  width:auto;
  height:75px;
}

/* Columns: Lower */

.columns-lower .flexwrap{
    justify-content:space-between;
}

.columns-lower .widget{
    flex:1;
    background:var(--color2);
    color:var(--color4);
    padding:1.5rem 1.5rem 1.5rem 3rem;
    margin:5rem .5rem 5rem .5rem;
    min-height:10rem;
    font-weight:200;
    font-size:2rem;
    line-height:1.2em;
}
.columns-lower .widget h2{
    font-size:2rem;
}
.columns-lower .more-link{
    text-decoration:none;
    font-size:1.5rem;
    font-weight:400;
    color:var(--color4);
}
.columns-lower .more-link:hover{
    color:var(--color3);
}

/* Front Page Blog */

.blog{display:none!important;}

.blog{
  position:relative;
  overflow:hidden;
  background:url(https://cervantesroofing-llc.com/wp-content/uploads/2025/11/tucson-roofing-blog.avif) top center no-repeat fixed;
  background-size:cover;
}

.blog-hero-chevron{
  flex:1;
  background:var(--color6);
  color:var(--color1);
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  opacity:.95;
}

.blog-hero-chevron h2{
  font-size:6rem;
  font-weight:300;
  font-style:italic;
  text-transform:uppercase;
  line-height:1.5em;
  padding:10rem 2rem 2rem 20%;
}

.blog .flexwrap{
  z-index:100;
}

.blog .flexwrap .title-wrapper{
  flex:1;
  opacity:0;
}
.blog .flexwrap .blog-posts{
  flex:2;
  padding:2rem 10% 2rem 2rem;
}

.blog .blog-posts article{
  background:var(--color5);
  margin:0 0 1rem 0;
  opacity:.9;
  border:2px var(--color2) solid;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.blog .blog-posts article:hover{
  opacity:1;
  padding:2rem;
  background:var(--color6);
}

.blog .blog-posts .flexwrap img{
  width:100%;
  height:auto;
  border:2px var(--color4) solid;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}

.blog .blog-posts .latest-post-thumb{
  flex:1;
  padding:1rem;
}
.blog .blog-posts .latest-post-content{
  flex:4;
  padding:1rem 4rem 1rem 1rem;
  color:var(--color1);
}

.blog a{
  text-decoration:none;
}
.blog .latest-post-title{
  font-size:2rem;
  font-weight:bold;
  font-style:italic;
  color:var(--color2);
}
.blog .blog-posts article:hover .latest-post-title{
  font-style:normal;
  color:var(--color1);
}
.blog .blog-posts article:hover .latest-post-thumb{
  flex:2;
  padding:0;
}
.blog .blog-posts article:hover img{
  border:2px var(--color2) solid;
}
.blog .latest-post-excerpt{
  font-size:1.4rem;
  line-height:1.5em;
}
.blog .more-link{
  display:inline-block;
  background:var(--color4);
  font-style:italic;
  font-size:1.4rem;
  text-transform:uppercase;
  line-height:2em;
  color:var(--color1);
  padding:0 2rem 0 2rem;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.blog .more-link:hover{
  background:var(--color2);
  color:var(--color4);
}

/* Footer */

footer{
  background:url(https://cervantesroofing-llc.com/dev/wp-content/uploads/2025/11/footer-bg.avif) top center no-repeat;
  background-size:cover;
}

footer .flexwrap{
    justify-content:space-between;
}

footer .widget{
    flex:1;
    color:var(--color4);
    padding:1rem;
    margin:3rem .5rem 3rem .5rem;
    min-height:10rem;
    font-weight:200;
    font-size:2rem;
    line-height:1.2em;
    text-align:center;
}
footer .widget h2{
    font-size:2.5rem;
}
footer .more-link{
    text-decoration:none;
    font-size:1.5rem;
    font-weight:400;
    color:var(--color4);
}
footer .more-link:hover{
    color:var(--color3);
}
footer p a{
  text-decoration:none;
}
footer .menu{
  list-style-type:none;
}
footer .menu a{
  text-decoration:none;
  text-transform:uppercase;
  line-height:1.5em;
}
footer iframe{
  border:10px var(--color1) solid!important;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}

/* Credit */

.credit{
  background:var(--color4);
  color:var(--color1);
  text-align:center;
  font-weight:200;
  line-height:2em;
}
.credit p{
  margin:0;
  font-size:1rem;
  line-height:4em;
}

/* Category Page */

.category{}
.category h1.title{
  width:100%;
}
.category .category-posts article{
  flex:1;
  color:var(--color1);
  font-size:1.2rem;
  line-height:2em;
  margin-bottom:3rem;
}
.category .category-posts article h2{
  background:var(--color2);
  color:var(--color4);
  font-size:2rem;
  font-weight:bold;
  line-height:2em;
  text-align:center;
  padding:0;
  border-top-left-radius:10px;
  border-top-right-radius:10px;
  --moz-border-top-left-radius:10px;
  --moz-border-top-right-radius:10px;
  --webkit-border-top-left-radius:10px;
  --webkit-border-top-right-radius:10px;
  margin:0;
}
.category .category-posts article h2 a{
  text-decoration:none;
}
.category .category-posts article .contents{
  background:var(--color4);
  padding:1rem;
  border-bottom-left-radius:10px;
  border-bottom-right-radius:10px;
  --moz-border-bottom-left-radius:10px;
  --moz-border-bottom-right-radius:10px;
  --webkit-border-bottom-left-radius:10px;
  --webkit-border-bottom-right-radius:10px;
}
.category .category-posts article .post-meta{
  font-style:italic;
  font-size:.9rem;
}
.category .category-posts article img{
  border:5px var(--color1) solid;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.category .category-posts article ul{
  columns:2;
}
.category .category-posts article ul li{
  list-style-type:none;
}

.category .category-posts article .more-link{
  display:inline-block;
  background:var(--color2);
  color:var(--color4);
  font-size:1.2rem;
  font-weight:bold;
  text-transform:uppercase;
  line-height:2.5em;
  padding:0 2rem 0 2rem;
  margin:2rem auto 0rem auto;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.category .category-posts article .more-link:hover{
  background:var(--color6);
  color:var(--color1);
}
.post-thumbnail {
  margin-bottom: 1em;
}
.post-thumbnail img {
  width: 100%;
  height: auto;
  max-height:20rem;
  border-radius:10px;
  --moz-border-radius:10px;
  --webkit-border-radius:10px;
}
.category article .more-link{
  float:right;
}


/* Single Post */

.single article .post-thumbnail{
  float:right;
  width:35%;
  height:auto;
  padding:1rem 0 1rem 1rem;
}

/* Global Extras */

.alignleft{
    float:left;
    margin:1rem 1rem 1rem 0;
}
.aligncenter{
    margin:1rem auto 1rem auto;
}
.alignright{
    float:right;
    margin:1rem 0rem 1rem 1rem;
}
.more-link{
    text-decoration:none;
    color:var(--color2);

}
.more-link:hover{
    color:var(--color4);
}
.clearfix{
  display:block;
  clear:both;
  width:100%;
  margin:0;
  padding:0;
}

.forminator-module-edit-link{display:none;}

.hummingbird{
  position:absolute;
  top:6rem;
  left:40%;
  height:200px;
  width:260px;
  background:url(https://cervantesroofing-llc.com/wp-content/uploads/2025/11/hummingbird.avif) top center no-repeat;
  background-size:cover;
	z-index:-1;
}

/* Icon Stuff */

.trust-icon{
  vertical-align:middle;
  font-size:5rem;
}
.phone-icon{
  font-size:2rem;
  vertical-align:middle;
  margin-right:0.75rem;
}
.email-icon{
  vertical-align:middle;
  font-size:1.6rem;
}

/* Media Queries / Responsive */

@media (max-width:2500px){
	header .menu .menu-item a{font-size:1rem;}
	.home .header-left{position:relative;}
}
@media (max-width:2250px){
	header .menu .menu-item a{
	padding:0 1.5rem 0 1.5rem;
}
}
@media (max-width:1920px){
  html{
    font-size:16px;
  }
  .header-left{
    position:relative;
  }
  .header-right{flex:2;}
  header .menu .menu-item a{
    font-size:1rem;
  }
  .feature h2:nth-of-type(1){
    font-size:5rem;
    padding-top:1rem;
  }
  .feature h2 span{
    line-height:2em;
  }
  .feature .arrow{
    width:50%;
  }
  main article{flex:2;}
  footer iframe{height:300px;}
}
@media (max-width:1800px){
  html{font-size:16px;}
  .partners img{
    height:70px;
  }
  .blog-hero-chevron h2{
    font-size:5rem;
    line-height:2em;
  }

}
@media (max-width:1700px){
  html{font-size:14px;}
  .feature h2:nth-of-type(1){
    font-size:4rem;
  }
}
@media (max-width:1600px){
  .columns-upper .widget:nth-of-type(1) h2{font-size:1.5rem;}
}
@media (max-width:1500px){
  header .menu .menu-item a{
    padding:0 1.5rem 0 1.5rem;
  }
}
@media (max-width:1400px){
  html{font-size:12px;}
  .columns-upper .gallery img{
    height:120px;
  }
  .partners img{
    height:40px;
  }
  footer iframe{height:200px;}
  }
@media (max-width:1300px){
}

/* PHONE LAYOUT */

@media (max-width:1200px){

html{font-size:16px;margin:0!important;}
body{overflow-x:hidden;padding-bottom:4rem;
  background-size: cover;
  position:relative;
}
.wrapper{
  width:100%;
  padding:1rem!important;
}
.flexwrap{
  flex-direction:column;
}
article{padding:1rem;}
.widget{
  margin:1rem 0 1rem 0!important;
}

.hummingbird{display:none;}

/* HEADER / LOGO */

#wpadminbar{display:none;}

header{
  margin:0;
}
header .flexwrap{
  flex-direction:column;
}
header .logo{
  width:100%;
  margin:2rem 0 2rem 0;
}
header h1{margin:0;padding:0!important;}
header img.logo{
  position:static;
  margin:1rem;
}

header .phone{
  margin:1rem;
  text-align:center;
}

header .social{
  text-align:center;
  margin:1rem auto 1rem auto;
}
	
.social a{
	font-size:40px;
	margin:0;
	padding:0;
}
.social a:nth-of-type(2){
	margin-top:-.5rem;
}

/* FEATURE AREA */

.feature{display:none;}

.feature .widget{
  padding:0;
}

.feature .arrow{
  display:none;
}
.feature .more-link{
  font-size:1.4rem;
  margin:1rem;
}
.feature-right{
  display:none;
}

.feature h2:nth-of-type(1){
  font-size:2rem;
}
.trust-icon{font-size:2rem;}


/* UPPER COLUMNS */

.columns-upper .widget:nth-of-type(1){
  border:0;
  padding:1rem;
}
.columns-upper .widget:nth-of-type(1) h2{
  width:100%;
}
.columns-upper .gallery{
  flex-direction:column;
}
.columns-upper .gallery img{
  height:200px;
}

/* ABOVE CONTENT AREA */

/* CONTENT AREA */

.home main{
  font-size:1.2rem;
}
.content-wrapper{
  clip-path:none;
  padding:1rem;
}
main article{
  padding:0;
}
main .title{
  width:100%;
  font-size:2rem;
  padding:1rem;
  margin-bottom:1rem;
}
main article .more-link{
  display:inline-block;
  font-size:1.4rem;
  padding:1rem;
  margin:1rem auto 1rem auto;
}
main article .gallery{
  flex-direction:column;
}
main article .gallery-item{
  width:100%!important;
  padding:1rem;
}
main article .gallery .gallery-item img{
  display:block;
  width:100%!important;
  height:auto;
  margin:0 auto 0 auto;
}
.sidebar .widget h2{
  font-size:1.4rem;
}
.sidebar .more-link{
  text-align:center;
}

/* BELOW CONTENT AREA */

.partners{flex-direction: column;}
.partners img{
  width:50%;
  height:auto;
  display:block;
  margin:1rem auto 1rem auto;
}
.blog-hero-chevron{
  display:none;
}
.blog .flexwrap .blog-posts{
  padding:1rem;
  text-align:center;
}
.blog .blog-posts .latest-post-content{
  padding:0;
}
/* FOOTER */

.credit p{
  line-height:1.6em;
  padding-bottom:1rem;
}

/* EXTRAS */

.alignleft,
.aligncenter,
.alignright{
  float:none;
  display:block;
  width:100%;
  margin:0;
}

/* NAVIGATION */

nav{height:auto;}
nav .menu{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  background:var(--color2);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  transform:translateY(-100%);
  opacity:0;
  padding:1ch;
  z-index:9999;
}
nav .menu li{width:100%;margin:0.5ch 0 0.5ch 0;background:none!important;}
nav .menu li a{background:var(--color4)!important;font-size:1rem;color:var(--color2);text-align:center;font-size:1.4rem;line-height:1.6em;}
nav .menu li:hover a{background:var(--color2);color:var(--color1);}
nav .menu li:hover .sub-menu, nav .menu li:active .sub-menu{width:100%!important;}
nav .menu li:hover a, nav .menu li:active a, nav .menu li.current-menu-item a{color:var(--color3);}
.mobile-menu-icon{display:block;z-index:100;border-top:2px var(--color4) solid;}
.nav-active{transform:translateY(0%)!important;opacity:1!important;position:fixed!important;z-index:100000;}
nav ul li a{}
nav ul li:hover .sub-menu, nav ul li:active .sub-menu{
  position:static;
  display:block;
}
nav ul li:hover .sub-menu li, nav ul li:active .sub-menu li{
  background:;
  line-height:1.6rem;
  width:100%;
  margin:0;
}
.menu-active .line{display:none;}
.menu-active .close{display:block;}
.menu .sub-menu{
  flex-direction: column;
  transform: none;
}
.menu .menu-item .sub-menu .menu-item a{
  background:none;
}
.menu .menu-item:hover a{
  color:var(--color4);
}

}