/*
Theme Name: Citadel Fence
Author: Kerri Dawe
Author URI: www.kerridawe.com
*/

hr{margin:30px 0;}

#alert a{
  font-family: "NexaText-Bold";
  background-color: #e84815;
  text-align: center;
  width: 100%;
  text-decoration: none;
  color: #fff;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  line-height: 40px;
  font-size: 0.8rem;
  z-index: 5001;
}

/* NAV */
.nav-main{
  font-family: "NexaText-Bold";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  transition: all 0.5s Ease;
  padding: 30px 0; 
}
/* COMMENT OUT WHEN TOP CLALLOUT ISNT IN USE */
.nav-main{
  /* top: 40px; */
}
.nav-main.active {
  background-color: #001659;
  box-shadow: 0 0 3px 0 rgba(0,0,0,0.5);
  padding: 20px 0; 
}
.nav-main .logo{
  float: left;
  max-width: 250px;
}
.nav-toggle{display: none;}

.nav-container{height:100%;}

.nav-main ul{
  margin: 0;
  
}
.nav-main ul li{display: inline-block;}
.nav-main ul li a{
  color:#fff;
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px 20px;
}
.nav-main ul li a:hover, .nav-main ul li.current-menu-item a{
  text-decoration: none;
}

.nav-main .menu-item-has-children > a:after {
  content: 	"\25BE";
  padding-left: 5px;
}

.nav-main .sub-menu{
  display: none;
  position: absolute;
  width: 300px;
  text-align: left;
  padding: 0;
  background: #072a92;
  font-family: "Nexa-Book";
}
.nav-main .menu-item-has-children:hover{background: #072a92;}
.nav-main .menu-item-has-children:hover .sub-menu{
  display: block;
}
.nav-main .sub-menu li{  
  display: block;
  width: 100%;
  border-top: 1px solid #07247a;
}
.nav-main .sub-menu li a{
  display: block;
  width: 100%;
  transition: all 0.5s Ease;
}
.nav-main .sub-menu li a:hover{background: #07247a;}
    

/* HOME PAGE */

#banner{  
  color: #fff; 
  margin-top: 50px;
}
.home #banner{margin-top: 0; font-size: 20px;}
#banner h1{
  font-family: "NexaText-Bold";
  font-size: 80px;
  line-height: 1;
}
#banner h1 strong, #banner h2 strong{color: #ef6422;}

#banner .banner-img{
  position: relative;
  background-image: url(images/header.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  min-height: 300px;
  padding-top: 80px;
  padding-bottom: 60px;
}
.home #banner .banner-img{height: 100vh; text-align: center; padding-top: 50px; padding-bottom: 0;}
#banner .background-overlay{
  background-color: #242d74;
  opacity: .7;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
}
.home #banner p{margin-bottom: 50px;}
.home #banner .btn{ margin: 10px;}

#callouts{
  background-color: #ef6422;
  color: #fff;
}

#callouts .callout{
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  height: 100%;
}
#callouts .callout-content{
  position: relative;
  padding: 50px 30px;
}
#callouts .col-12:nth-child(even) .callout-content{
  text-align: right;
}

#callouts .background-overlay{
  background-color: #ef6422;
  opacity: .8;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
}


#process{
  background: #001659; 
  margin-bottom: 150px;
}
#process h1{font-size: 60px; line-height: 1;}
.process-desc{  
  padding: 100px 10px;
  color: #fff;
  font-size: 18px;
}

#process .fence-mask {
  width: 90%; 
  height: 90%; 
  position: absolute;
  bottom: 0;
  background: url('/wp-content/uploads/2021/03/1.jpg') bottom center no-repeat;
  background-size: cover;
  
  -webkit-mask-image: url('images/fence-outline.svg');
  mask-image: url('images/fence-outline.svg');
  
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.process-desc ol, ol.numbers{
  padding-left: 0;
  list-style: none;
  counter-reset: steps;
}
.process-desc ol li, ol.numbers li{counter-increment: steps; padding: 10px 0;}
.process-desc ol li::before, ol.numbers li::before{
  content: counter(steps);
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  margin-bottom: 5px;
  background: #ef6422;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  line-height: 34px;
}

ol.numbers.lg{border-bottom: 1px solid #ccc;}
ol.numbers.lg li{
  border-top: 1px solid #ccc;
  padding: 30px 0 35px 0;
}
ol.numbers.lg li::before{
  width: 45px;
  height: 45px; 
  font-size: 30px;
  line-height: 45px; 
  font-weight: normal;
}
ol.numbers.lg strong{
  margin-bottom: 10px;
  display: inline-block;
  font-size: 2em;
  font-weight: normal;
  font-family: "Nexa-Book";
}

#services{
  background: #001659; 
  padding-top: 60px;
  margin-bottom: 150px;
}
#services h1{font-size: 60px; line-height: 1;}

.service{
  background: #fff;
  padding-top: 30px;
  margin-bottom: -60px;
}
.service h3{padding: 20px 0;}
.service ul{min-height: 200px;}
.service ul li{margin: 8px 0;}
.service ul a{color: #3d3d3d;}
.service .icon{
  font-size: 30px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin: 0 auto -30px auto;
}
.service img{width: 100%;}
.service-desc{  
  color: #fff;
  font-size: 18px;
  margin-top: -60px;
}


#work{
  margin: 80px 0;
}
#work h1{font-size: 60px;}
#work h4{font-style: oblique;  margin-bottom: 40px;}
#work .col{padding:0;}

/* INSTAGRAM FEED */
#work .wdi_feed_container{margin-bottom: 30px;}
#work #wdi_first_page, #work #wdi_last_page{display: none;}
#work .wdi_pagination{color: #ccc;}
#work .tenweb-i-arrow-left:before{content: "\e90e";}
#work .tenweb-i-arrow-right:before{content: "\e910";}

#news{
  padding: 60px 0 80px 0;
  background: #001659;
}
#news h1{font-size: 60px; color: #fff;}
#news img{margin-top: 30px;}
#news article{
  background: #fff;
  padding: 30px;
}
#news article h3 a{
  color: #212529;
}

.page-template-template-news article{
  padding: 30px 0;
  border-bottom: 1px solid #ebe7e0;
}
.prev-next-posts{padding: 30px 0;}

#contact{
  background: url(images/bg-contact.jpg) top center no-repeat;
  background-size: cover;
  padding: 80px 0;
}

#contact .info{padding-top: 30px;  padding-right: 100px;}
#contact .icon{  
  font-size: 14px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-right: 10px;
}
#contact .meta{
  line-height: 3;
  font-size: 14px;
}
#contact .meta a{color: #292529;}

#gform_1 label{display: none;}
#gform_1 input{width: 100%;}
#gform_1 #input_1_6_3_container{width: 100%; margin-right: 0; padding-right: 0; margin-top: 16px;}
#contact #field_1_2, #contact #field_1_3{
  width: 50%;
  margin-top: 5px;
  display: inline-block;
  clear: none;
}
#contact #field_1_2 input, #contact #field_1_3 input, #contact #field_1_5 input{width: 100%;}
#contact input[type=text], #contact input[type=email], #contact input[type=tel], #contact textarea{background: #f4f5f6; border:0; padding: 10px;}

#contact .btn{width: 100%;}
#contact .gform_wrapper .gform_footer{margin: 0;}

#contact .form{
  background: #fff;
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 20%);
  padding: 20px 30px;
  margin-left: -80px;
}
#contact .form h2{padding: 20px 0;}


.sidebar{
  padding: 60px 0;
}

.side-nav{
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 30px;
}
.side-nav li a{
  display: block;
  border-top: 1px solid #ebe7e0;
  padding: 10px 10px;
  font-size: 14px;
  text-transform: uppercase;
  color: #8c8575;
  font-weight: 400;
  transition: all .2s ease-in-out;
}
.side-nav li a:hover, .side-nav li.current_page_item a, .single-careers .page-item-13 a{
  background: #ebe7e0;
  text-decoration: none;
  transition: background 0.5s linear;
}

/* PAGES */
.content{
  padding: 60px 0;
}
.content h1, .content h2, .content h3{
  font-weight: 300;
}
.content h1{font-size: 3.4em;}
.content h2{font-size: 2.6em;}
.content h3{font-size: 2em;}


/* ABOUT PAGE */
.values{
  height: 100%;
  background: #f8f9fa;
  padding: 40px 30px;
  margin-bottom: 20px;
  font-size: 16px;
}
.values i.fa-solid{
  color: #ef6422;
  font-size: 48px;
  margin-bottom: 10px;
}

/* FAQ */
.title {
  margin-top: 15vh;
  margin-bottom: 4rem;
}
.question {
  padding: 30px 0;
  border-top: 1px solid #ccc;
}
.question-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.question-btn{ font-size: 20px;}
.question-answer{display: none;padding: 1rem 0 1.5rem 0;}

.plus-icon{display: block;}
.minus-icon{display: none;}

.question.open .plus-icon{display: none;}
.question.open .minus-icon{display: block;}



.metagallery-wrapper img{max-width: 100%; height: auto;}

.product{
  position: relative;
  background-image: url(images/header.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 320px;
  display: block;
  margin-bottom: 30px;
  transition: all .2s ease-in-out;
}
.product:hover{
  transform: scale(1.02);
}
.product .background-overlay{
  background-color: #242d74;
  opacity: 0;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 100;
}
.product h2{
  background: #001659;
  color: #fff;
  font-size: 20px;
  bottom: 0;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 200;
  margin: 0;
  padding: 20px;
}

/* FORMS */
.gform_confirmation_message{
  position: relative;
  padding: .75rem 1.25rem;
  margin: 1rem 0;
  border: 1px solid transparent;
  border-radius: .25rem;
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
  font-weight: 700;
}


/* CUSTOM BUTTONS */
.btn{
  position: relative;
  border: 0;
  transition: all .2s ease-in-out;
}
.btn:hover{
  text-decoration: none;
  transform: scale(1.02);
}
.btn i{padding-left: 5px;}
.btn-lg{padding: 15px 30px;}

/* FOOTER */
#footer{
  background: #001659;
  color: #fff;
  font-size: 14px;
  padding-top: 40px;
}
#footer a, #footer a:hover, #footer a:visited, #footer a:active, #footer a:focus{
  color: #fff;
}

#footer .logo{
  display: block;
  margin-bottom: 20px; max-width: 250px;}

#footer .copyright{
  font-size: 12px;
  border-top: 1px solid #4f5c83; 
  padding-top: 30px; 
  padding-bottom: 30px; 
  margin-top: 30px;
}

.nav-footer ul{padding: 0;}
.nav-footer ul li{text-transform: uppercase; font-family: "NexaText-Bold"; margin-bottom: 10px; text-align: left;} 
.nav-footer ul .sub-menu{margin-top: 10px;}
.nav-footer ul .sub-menu li{text-transform: none; font-family: "Nexa-Book"; list-style: none;}
.nav-footer ul:first-child  li:first-child  .sub-menu li{text-transform: uppercase; font-family: "NexaText-Bold";}
.nav-footer .menu-item-has-children{
  margin-left: 100px;
  display: inline-block; 
  vertical-align: text-top;
}
.nav-footer .menu-item-has-children:first-child{margin: 0;}

  
/* MISC */	
.clear{clear:both;}
.cf:before, .cf:after{content: " ";  display: table;}
.cf:after{clear: both;}
.cf{*zoom: 1;}

.alignleft{float:left; margin:0 30px 30px 0;}
.alignright{float:right; margin:0 0 30px 30px;}

h1 span, h2 span, h3 span, h4 span, h5 span{color: #ef6422;}

hr.clear{margin: 60px 0;}

.bg-blue{
  background: #001659;
  color: #fff;
}

ul.checks {
  list-style: none;
  padding: 0;
}
ul.checks li{padding: 10px 0;}
ul.checks li::before {
  content: "\f00c";
  font-family: "Font Awesome 7 Free";
  font-weight: 900; 
  margin-right: 10px; 
  color: #ef6422;
}

.section{padding: 80px 0; font-size: 18px;}
.section.grey{background: #eee;}
.section h1{font-size: 60px; line-height: 1;}

.icon{
  display: inline-block;
  text-align: center;
  background: #ef6422;
  color: #fff;
  border-radius: 100px;
  z-index: 1000;
  position: relative;
}


/* Large Screen Sizes */
@media (max-width: 1199px){
}

/* Medium Screen Sizes */
@media (max-width: 992px){
  
  #banner{text-align: center;}
  #banner .banner-img{height: auto; padding: 120px 0 60px 0;}
  
  #banner .btn{margin: 20px auto; width: initial !important;}
  .home #banner{margin-top: initial;}
  .home #banner .btn{margin: 10px; width: auto;}
  
  .nav-main, .nav-main.active{height: 86px; background: #001659; position: relative;}
  #menu-main-navigation{
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 20%);
  }
  .nav-main ul li{
    width: 100%;
    border-top: 1px solid #eee;
  }
  .nav-main ul li:first-child{border:0;}
  .nav-main ul li a{color:#001659; border:0;}
  
  .nav-main ul.sub-menu{
    background: #fff;
    display: initial;
    position: initial;
  }
  .nav-main .menu-item-has-children:hover{background: #fff;}
  .nav-main .menu-item-has-children:hover .sub-menu{display: initial;}
  .nav-main ul.sub-menu li:first-child{border-top: 1px solid #eee;}
  .nav-main ul.sub-menu li a{text-transform: none;}
  .nav-main ul.sub-menu li a:hover{background: #fff;}
  
  .nav-toggle{display: inline-block;}
  
  .service-desc{text-align: center; padding: 60px 0;}
  
  .sidebar{padding-top: 0;}
  
  #footer{text-align: center;}
  #footer .logo{margin: 0 auto 20px auto;}
  #menu-footer-navigation{display: none;}
}

/* Small Screen Sizes */
@media (max-width: 768px) {
  
  #callouts .container{max-width: 100%;}
  
  #contact{padding-top: 0;}
  #contact .container{max-width: initial;}  
  #contact .col-12{padding:0;}
  #contact .col-12:first-child{background: #001659;}
  #contact .info, #contact .form{margin: 0 auto; max-width: 540px;}
  #contact .info{
    padding: 60px 15px; 
    text-align: center;
    color: #fff;
  }
  #contact .meta a{color: #fff;}
  #contact .form{margin-top: 60px;}
}

/* X-Small Screen Sizes */
@media (max-width: 576px){
  
  .nav-main .logo{max-width: 200px;}
  
  #banner h1{font-size: 60px;}
  
  #services{margin-bottom: initial;}
  .service{max-width: 380px; margin: 0 auto 30px auto;}
  
  #contact .form{margin-left: 15px; margin-right: 15px;}
  
  #footer{text-align: center;}
  
}

