/*
Theme Name: Gragg Advertising (bootstrap)
Version: 1.0
*/
img {height: auto; max-width: 100%;}
img.small-icon {
    height: 32px;
    object-fit: contain;
    width: 32px;
}
#RandGen, #RandGenTwo {
       cursor: pointer;
    background-color: white;
    color: black;
    padding: 8px 30px;
    font-weight: bold;
    border-radius: 25px;
    border: 5px solid limegreen;
    font-size: 18px;
    display: inline-block;
    margin-bottom:25px;
}
#RandGenTwo {margin-top:25px;}
#hero, #bottom {background-size: cover;}
#hero {overflow: hidden; position: relative}
#hero video {
   height: auto;
   left: 50%;
   min-height: 100%;
   min-width: 100%;
   position: absolute;
   top: 50%;
   width: auto;
   -ms-transform: translateX(-50%) translateY(-50%);
   -moz-transform: translateX(-50%) translateY(-50%);
   -webkit-transform: translateX(-50%) translateY(-50%);
   transform: translateX(-50%) translateY(-50%);
   z-index: 1;
}
#hero .left_overlay, #hero .right_overlay {
   background-repeat: no-repeat;
   background-size: contain;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
   z-index: 2;
}
#hero .left_overlay {background-image:url('assets/Streaks_Red-01.png'); background-position: center left;}
#hero .right_overlay {background-image:url('assets/Streaks_Red-02.png');  background-position: center right;}
#hero::before {
    background-color: rgba(0,0,0,0.5);
    content: "";
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
	 z-index: 0;
}
#hero.no-overlay::before{display: none}
#hero .container {position: relative; z-index:3}
.work-img {
    background-position: center;
    background-size: cover;
    padding-bottom: 60%;
}
.form-control option {color:#000000}
.blog_author {display: inline-block; vertical-align: middle}
#blog_pagination {
    display: table;
    width: 100%;
}
.pagination {
    display: table-cell;
    width: 50%;
}
.pagination.prev {padding-left: 1em; text-align: left}
.pagination.next {padding-right: 1em; text-align: right}
.noop {cursor: default !important}

canvas.pie {display: block; height: auto; margin: 2em auto; width: 100%;}
.work-hero {height: 0; padding-bottom: 33.3333%}
.work-heading {font-weight: normal}
.work-heading.has-subhead {margin-bottom: 0}
.work-subheading {font-size: 175%; margin-top: 0}
#bottomvid {float: none; margin: 0 auto}
#bottomvid .videoWrapper {margin-bottom: 2em}
.mapWrapper, .videoWrapper {height: 0; position: relative;}
.mapWrapper {padding-bottom: 50%;}
.videoWrapper {padding-bottom: 56.25%;}
.mapWrapper iframe, .videoWrapper iframe, .videoWrapper video {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%
}
.xmasCarousel {max-width:600px;margin:0 auto;}
.xmasCarousel img {}
.Qtainer {
   max-width: 600px;
   margin: 0 auto;
   text-align: center;
}
.question {display:none;transition:all .4s;}
.question.activeQ {display:block}
.RibbonBox {
   cursor: pointer;
    background-image: url(/wp-content/themes/gragg-bs/assets/Ribbon-Box.png);
    background-size: contain;
    width: 200px;
    height: 200px;
    position: relative;
    display: inline-block;
    vertical-align: top;
   margin-top: 15px;
   background-repeat:no-repeat;
   background-color:#1F9979;
}
.RibbonBox:first-of-type, .RibbonBox:nth-of-type(3) {margin-right:15px;}
.redQ {
   background-color: red;
   width: 420px;
   margin: 0 auto;
   height: 150px;
   font-size: 30px;
   font-weight: bold;
   padding: 0px 10px;
   text-align: left;
   position:relative;
   margin-top:50px;
}
.redQ span {
   position: absolute;
   left: 50%;
   top: 50%;
   margin: auto;
   transform: translate(-50%, -50%);
   width: 90%;
}
.RibbonBox span {
   position: absolute;
   left: 50%;
   top: 50%;
   margin: auto;
   transform: translate(-50%, -50%);
   font-weight: bold;
   font-size: 19px;
   width: 100%;
}
.RibbonBox.Grayed {filter:grayscale(1);}
#answer {max-width:600px;margin:0 auto;transition:all .4s;}
.hiddenA {display:none;}
.hiddenA.activeA {display:block;}
#hiddenCarousel {display:none;transition:all .4s;}
#hiddenCarousel.activeC {display:block;}
#sidebarNav .nav-link {display: inline-block; border-width: 1px}
#sidebarNav .nav-link.active {border-color: #808080}
#comments {display: none}
#partner_list {position: relative; width: 100%}
#partner_list .slick-arrow {position: absolute; top: 50%; transform: scaleY(3) translateY(-50%)}
#partner_list .slick-prev {left: 0}
#partner_list .slick-next {right: 0}
#partner_list .slick-list {margin: 0 2em;}
#partner_list img {height: 50px; padding: 0 2em; width: auto;}
.job ul {list-style-position: outside; padding-left: 1em}
.page-template-page-service .serviceControl ul {padding-left: 25px;}
.page-template-page-service .serviceControl li {list-style-position:outside;}
.serviceImageBG {
    height: 400px;
    width: 100%;
    background-size: cover;
    margin: 75px 0px;
    background-repeat: no-repeat;
}
.page-template-page-service .serviceControl p {margin:30px 0px}
.page-template-page-service .serviceControl p.lilBigger {font-size:135%;margin-top:0px;}
.RHcontrol {text-align:center;}
.RHcontrol h1 {    color: #125d72;font-weight: bold;}
.RHcontrol p {
	    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 75px;
    margin-top: 40px;
    color: black;
    font-size: 17px;
}
.resourcesTainer {
    display: block;
    width: 100%;
    vertical-align: top;
    text-align: left;
      padding-bottom: 50px;
}
.resource {
	display: inline-block;
    width: 22%;
    min-height: 275px;
    vertical-align: top;
    margin: 1%;
    background-size: cover;
    background-position: left;
    color: white;
}
.resource a {color:white;}
.resource a:hover {color:white;}
.resourceColor {
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    cursor: pointer;
    display: block;
		transition: all .4s;
		color: white;
		position: relative;
}
.resourceColor:hover {background-color:rgba(0,0,0,.6);}
.Rtainer {    padding: 20px 10px;}
.Rimg {
	    width: 50px;
    height: 50px;
    background-size: cover;
}
.Rtitle {
	        margin-top: 30px;
    font-weight: bold;
    font-size: 33px;
    margin-bottom: 10px;
    line-height: 1.2;
}
.Rlink {font-size:21px;}
.Rcopy {}
.expNum {
       font-weight: bold;
    font-size: 135%;
    border-bottom: 2px solid white;
    padding: 10px 0px;
}
.page-id-6886 .serviceImageBG, .page-id-6811 .serviceImageBG, .page-id-6879 .serviceImageBG {background-position:center;}
pre {color: white}
body.single-post h1 {font-size: 175%}

/* header 20240912 */
.navbar {position: relative; z-index: 10}
#top_menu, #top_menu ul {list-style: none; margin: 0; padding: 0}
#top_menu {padding-right: 1rem}
#top_menu li {margin: 0; padding: 0; position: relative}
#top_menu > li {display: inline-block}
#top_menu > li > a {color: #ffffff; font-weight: bold; margin: 0; padding: 0 1rem}
#top_menu .sub-menu {display: none}
#top_menu > li:hover > .sub-menu {background-color: #dc2227; color: #ffffff; display: block; min-width: 100%; position: absolute; top: 100%; z-index: 5}
#top_menu .sub-menu a {color: inherit; display: block; margin: 0; padding: 0.5rem; white-space: nowrap}
#top_menu .sub-menu > li:hover > .sub-menu {background-color: #4a1c1c; color: #ffffff; display: block; position: absolute; right: 100%; top: 0}
#top_phone {color: #ffffff}
#mobile_menu, #mobile_menu ul {list-style: none}
#mobile_menu {margin: 0; padding: 0}
#mobile_menu > li {border-bottom: 1px solid #181818}
#mobile_menu a {color: #ffffff; font-size: 150%}
#mobile_menu .sub-menu {padding-left: 1rem}

@media(max-width:980px) {
   .resource {display: block;
    width: 95%;
    margin: 0 auto;
    margin-bottom: 25px;}
}
@media(max-width:500px) {
   .redQ {width: 100%;font-size:24px;}
   .RibbonBox {width:150px;height:150px;}
}
@media(max-width:350px) {
   .RibbonBox {width:100px;height:100px;}
   .RibbonBox span {font-size:15px;}
}