/*
Theme Name: PGThrottle
Author: Peyton Gregory
Author URI: http://www.peytongregory.com
Description: A Responsive WordPress Theme built in mid 2021. 
Version: 2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, white, light, one-column, two-columns, right-sidebar, flexible-width
Text Domain: pgthrottle
*/

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    margin-top: 0;
}

input,
textarea {
    border: 1px solid #ccc;
    border-radius: 3px;
}

p {

    font-size: 24px;
}

img {
    height: auto
}

.unstyle-link {
    text-decoration: none !important;
}

/* -- sticky header -- */


#site-header {
    padding: 10px 16px;
    background: #555;
    color: #f1f1f1;
    transition: all .2s ease;
    z-index: 1000;
    border-bottom: 2px solid transparent;
}

#site-header.sticky {
    border-bottom: 2px solid #99885b;
}

#site-header.sticky .bonus-header-nav {
    display: none !important;
}

#site-header .site-logo {
    transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    -webkit-transition: all .2s ease;
}

#site-header.sticky .site-logo {
    max-width: 75px;
    padding: 0 !important;
}

@media all and (max-width:768px) {
    #site-header .site-logo {
        max-width: 95px;
        padding: 0 !important;
    }

}

#site-header.sticky .justify-content-between {
    justify-content: center !important;
}



.btn-social > i {
    font-size: 1.8em;
    margin: 0
}

.btn-social {
    padding: 0.35em 0.5em 0em 0.5em;



}

/*-- sidebar -- */

#custom_html-3 {
    background: url('/wp-content/uploads/2021/05/rent-a-gun-300x168.jpg');
    background-size: cover;
    background-position: center;
}

#custom_html-3 h3,
h1.page-title {
    color: #ffffff !important;
    text-shadow: 1px 1px 10px #000
}

/* -- gforms in footer -- */

#gform_wrapper_6 input {
    height: 45px;
    border-radius: .5em;
    border: 1px solid #1010108a
}

/* -- heading styles -- */

#siteContent h2,
#siteContent .h2,
#siteContent h2 a,
#siteContent .h2 a {
    color: #99885b;
}

#siteContent h3,
#siteContent .h3,
#siteContent h3 a,
#siteContent .h3 a {
    color: #686354;
}

#siteContent h4,
#siteContent .h4,
#siteContent h4 a,
#siteContent .h4 a {
    color: #f2081e;
}

.sidebar .widget-title,
.sidebar h3 {
    color: #f2081e !important
}


/* -- home video -- */
#homeVideo {
    position: relative;
    max-height: 70vh;
    overflow: hidden;
}

#homeVideo .video-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0;
    text-shadow: 1px 1px 5px #000;
    height: 100%;
    align-items: flex-end;
    align-content: flex-end;
    display: flex;
}

#homeVideo .video-overlay .display-1 {
    padding-bottom: 1em;
}

/* Page content */
.content {
    padding: 16px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 100%
}

body.admin-bar .sticky {
    top: 32px;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
    padding-top: 102px;
}




/* -- home card --*/

#homeCards .card {
    position: relative;
    border-radius: 0 !important;
    border: 0;

}

#homeCards .card a {
    overflow: hidden;
}

#homeCards .card img {
    transition: ease 1500ms;
    z-index: -1
}

#homeCards .card:hover img {
    transform: scale(1.1);
}

#homeCards .card:after {
    position: absolute;
    content: '';
    background: #000;
    width: 100%;
    top: 0;
    bottom: 0;
    opacity: 0.5;
    z-index: 1;
    transition: ease 1500ms;
}

#homeCards .card:hover:after {
    position: absolute;
    content: '';
    background: #000;
    width: 100%;
    top: 0;
    bottom: 0;
    opacity: 0.2;
    z-index: 1;
}

#homeCards .card .card-content {
    position: relative;
    z-index: 2;
}

#homeCards .card-img {
    border-radius: 0
}






#homeCards h3 {
    margin: 0 0 1em 0
}


#homeCards h3:before {
    content: "";
    background: #99885b !important;
    position: absolute;
    width: 50%;
    height: 5px;
    top: 1.5em;
    left: 0;
    border-radius: 5px;
    transform: scaleX(0);
    animation: 1.4s forwards no-hover-v linear;
    animation-fill-mode: forwards;
    z-index: -1;
    right: 0;
    margin: 0 auto;
}

#homeCards .card:hover h3::before,
#homeCards .card:focus h3:before {
    animation: 750ms forwards hover-v linear;
    animation-fill-mode: forwards;
}

@keyframes hover-v {
    0% {
        transform: scaleX(0);
        height: 5px;
    }

    45% {
        transform: scaleX(1.05);
        height: 5px;
    }

    55% {
        height: 5px;
    }

    100% {
        transform: scaleX(1.05);
        height: 5px;
    }
}

@keyframes no-hover-v {
    0% {
        transform: scaleX(1.05);
        height: 5px;
    }

    45% {
        height: 5px;
    }

    55% {
        transform: scaleX(1.05);
        height: 5px;
        opacity: 1;
    }

    100% {
        transform: scaleX(0);
        height: 5px;
        opacity: .02;
    }
}



#pageBackground {
    position: relative;
    background-size: cover !important;
}

#pageBackground:before {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    z-index: 1;
    content: '';
    opacity: 0.75
}

#pageBackground > div {
    position: relative;
    z-index: 10
}


html,
body {
    height: 100%;
    min-height: 100vh;
    flex-direction: column;
    display: flex;
    font-size: 20px;
    font-family: "csafont";
    font-weight: 700 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 700 !important;
    text-transform: uppercase;
    font-family: "csafont";

}

.feature-header {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    z-index: 1;
    padding: 5em 0;
}

.feature-header h2 {
    position: relative;
    z-index: 1;
}

.site-logo {
    max-width: 150px;
    width: 100%;
}


.feature-header:before {
    content: '';
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    background: #000;
    opacity: 0.5;
    z-index: -1;
}

#siteContent {
    flex: 1;
}

.sidebar .widget-title {
    color: #3c434a
}

.sidebar ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul.menu li {
    display: none;
}

.sidebar ul.menu li:before {
    border-bottom: 1px solid #dfdede;
    content: '';
    position: absolute;
    width: 100%;
    left: 0;

}

.sidebar ul.menu a {
    padding: 0.5em 0;
    text-decoration: none;
    font-size: 1.1em !important
}


.sidebar .sub-menu {
    padding: 0 0 0 1em;
    font-size: 95%
}

.sidebar ul.menu li.current-menu-item,
.sidebar ul.menu li.current-menu-item *,
.sidebar ul.menu li.current-menu-ancestor,
.sidebar ul.menu li.current-menu-ancestor * {
    display: block
}

.sidebar ul.menu li.current-menu-item > a,
ul.navbar-nav li.current-menu-ancestor > a,
ul.navbar-nav li.current-menu-item > a {
    font-weight: bold;
    color: #686354 !important;

}

.sidebar ul.menu li.current-menu-item > a:before,
.sidebar ul.menu li.current-menu-item > a:before {
    content: "\f140";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    padding-right: 5px
}

#siteFooter ul.menu {
    padding: 0 0 0 0em;
    list-style: none;

}

#siteFooter ul.menu li {
    margin: 0 0 0.5em 0;

}

#siteFooter a {
    color: #686354 !important;
    text-decoration: none;
    font-weight: 100;
}



/* -- iPhone -- */
@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) {

    .video-overlay .h1 {
        font-size: 1.2em;

    }

    #site-header .site-logo {
        max-width: 95px;
        padding: 0 !important;
    }


}

/* end iPhone query */

/* Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {

    .video-overlay .h1 {
        font-size: 1.2em;

    }

    #site-header .site-logo {
        max-width: 95px;
        padding: 0 !important;
    }


}
