/*
 Theme Name:   The Drake Group
 Theme URI:    https://www.thedrakegroup.org/
 Description:  Your custom theme designed by WP Geeks
 Author:       Derek Freal
 Author URI:   https://wpgeeks.co
 Template:     generatepress
 Version:      1.8
*/

/* Global */
.site-main {border-left:1px solid #C8C8C8;}
.separate-containers.left-sidebar .site-main {margin-top:0;margin-bottom:0px;}
.content-area > .site-main {background:#fff;}
table, td, th {border:0;}
.no-sidebar .site-main {margin:0;}
.wp-block-search__button-inside .wp-block-search__inside-wrapper {border:0;}
.wp-block-button__link {border-radius:0;}
.entry-content .wp-block-image {margin-bottom:20px;}
.page-id-3092 .inside-article {padding:20px;}
.gb-query-loop-wrapper h2.gb-headline-text,.generate-columns-container h2.entry-title {font-size:24px;}
.gb-query-loop-wrapper h2.gb-headline-text a,.generate-columns-container h2.entry-title a {color:var(--gray7);}
.gb-query-loop-wrapper h2.gb-headline-text a:hover,.generate-columns-container h2.entry-title a:hover {color:var(--accent);}

/* Homepage */
.home #custom_html-3,.home #custom_html-4 {display:none;}
.gb-query-loop-pagination {max-width: 180px;margin-right: auto;margin-left: auto;}

/* Link Animation */
.page-title a,
.categories a,
.cat-links a,
.wp-block-button a,
.gb-query-loop-pagination a,
.gb-query-loop-wrapper h2.gb-headline-text a,
.generate-columns-container h2.entry-title a {
    -webkit-transition-duration: .25s;
    -webkit-transition-property: color, background, opacity, border;
    -webkit-transition-timing-function: ease-in-out;
    -moz-transition-duration: .25s;
    -moz-transition-property: color, background, opacity, border;
    -moz-transition-timing-function: ease-in-out;
    -o-transition-duration: .25s;
    -o-transition-property: color, background, opacity, border;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .25s;
    transition-property: color, background, opacity, border;}

/* Top Bar */
.inside-top-bar {text-align:center;}

/* Header */
.head_extra {min-width:calc(90% - 500px);margin-left:10%;display:grid;grid-template-columns:60% 40%;align-items:center;}
.head_social {text-align:right;float:right;}
.head_social img:hover {opacity:0.65}

/* Navigation */
.homeicon a {background-image: url(https://www.thedrakegroup.org/wp-content/themes/thedrakegroup/images/home-icon.png);background-repeat: no-repeat;background-position: 0 -5px;text-indent: -9999px;width:70px;}
.homeicon a:hover {background-position: 0 -95px;}
.main-navigation .main-nav ul ul li a:hover {-webkit-transition: all .6s ease;-moz-transition: all 1s ease;transition: all .6s ease;-o-transition: all .6s ease;}

/* Titlebar */
.titlebar {background-color:var(--gray7);color:#fff;padding:30px 0;}
.titlebar h1 {font-family:Roboto Condensed;}
.titlebar .grid-container {padding:0 20px;}
.breadcrumbs {color:var(--gray2);font-size:12px;}
.breadcrumbs a {color:#ddd;}
.breadcrumbs a:hover {color:var(--base-2);}

/* Blog */
.page-template-default .entry-header+.entry-content {margin-top:0;}
.page-template-default .entry-header,.page-template-default .featured-image.page-header-image,.archive .page-header,.single-format-video .featured-image,.single-post .entry-header .entry-title {display:none;}
.archive .generate-columns .inside-article {padding:20px;}
.archive .inside-article {display:flex;flex-direction:column;}
.archive .inside-article .entry-summary {order:3;margin-top:10px;}
.archive .inside-article footer {order:2;margin-top:10px;}
.categories,.cat-links {font-size:14px;}
.categories a,.cat-links a {color:var(--gray1);}
.categories a:hover,.cat-links a:hover {color:var(--gray2);}
.tags-links:before {content:url(https://www.thedrakegroup.org/wp-content/themes/thedrakegroup/images/tags.png);vertical-align:middle;margin-right:10px;}
.tags-links a {color:#959696;padding:4px 5px;margin-right:5px;display:inline-block;background:#f5f5f5;}
.paging-navigation {text-align:center;}
.postid-3005 .video {display:none;}
.gb-query-loop-wrapper h2.gb-headline-text,.generate-columns-container h2.entry-title {font-size:24px;}
.gb-query-loop-wrapper h2.gb-headline-text a,.generate-columns-container h2.entry-title a {color:var(--gray7);}
.gb-query-loop-wrapper h2.gb-headline-text a:hover,.generate-columns-container h2.entry-title a:hover {color:var(--accent);}

/* Display Posts */
.display-posts-listing.image-left .listing-item {display:flex;align-items:center;}
.display-posts-listing.image-left .listing-item .image {min-width:100px;margin-right:10px;}
.display-posts-listing.grid {display:grid;grid-template-columns:49% 49%;grid-column-gap:2%;}
.display-posts-listing.grid .listing-item {display:flex;flex-direction:column;align-items:center;}
.fh .gb-container {min-height:100%;}

/* Related Posts */
.crp_related {margin-top:40px!important;}
.crp_related h2 {font-family: 'PT Sans Narrow',sans-serif;font-weight:700;text-decoration: none;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 24px;
    color: #585b5f;
    border: 1px solid #d4d4d4;
    background-color: #fff;
    padding: 16px 14px;
    position: relative;
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .16);
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .16);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .16);}
.related {display:grid;grid-template-columns:32% 32% 32%;grid-column-gap:2%;}
.crp_title {color:var(--gray7);line-height:1.2;padding:5px 0;}

/* Slider */
#video-gallery {
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;  
  user-select: none;
}
.slider-container {background-color:var(--gray7)!important;}
.videoGallery .rsThumbs {width:342px;right:unset;left:0;float:left;}
.videoGallery .rsThumbs {}
.rsOverflow {float:right;width:858px;}

.videoGallery .rsTmb {padding:16px 20px;}
.videoGallery .rsTmb .image-thumb {
    float: left;
    width: 90px;
}
.videoGallery .rsTmb .controller-text {
    float: right;
    width: 196px;
}
.videoGallery .rsThumbs .rsThumb {
    width: 340px;
    height: 90px;
    border-left: 1px solid #414243;
    border-right: 1px solid #414243;
    border-bottom: 1px solid #414243;
}
.videoGallery .rsThumb:hover {
    background: #442d2d;
    border-color: #442d2d;
}
.videoGallery .rsThumb.rsNavSelected {
    background-color: #652929;
    border-color: #652929;
}
.rsUni .rsThumb.rsNavSelected .thumbIco {border:0;}
.videoGallery .rsTmb .controller-text div {
    font-weight: 500;
    padding-top: 5px;
    color: #fff;
    line-height: 1.1;
    font-size: 14px;
}
.videoGallery img {
    width: 100%!important;
    height: auto!important;
    display: block;
	margin:unset!important;
}
.royalSlider.rsAutoHeight, .rsAutoHeight .rsSlide {
    height: auto!important;
}
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft {
    background: #000;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    background: -o-linear-gradient(top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    background: -ms-linear-gradient(top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight {
    background: #000;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
}
.drake-slider-text {padding:10px;}
.drake-slider-text h2 {margin-bottom:10px;}
.drake-slider-text h2 a {color:#fff!important;font-size:30px;}

@media only screen and (min-width: 959px) and (max-width: 1190px) {
    .videoGallery .rsThumbs {width: 322px;}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .videoGallery .rsThumbs {width: 282px;}
	#video-gallery {height:800px!important}
}
@media only screen and (max-width: 767px) {
    .videoGallery .rsThumbs {display: none !important;width: 0 !important;}
	#video-gallery {height:750px!important;}
	.rsOverflow {height:100%!important}
	.drake-slider-text {padding:20px;}
}


/* Buttons */
.wp-block-button {border:1px solid var(--gray1);}
.wp-block-button:hover {border-color:var(--orange2);}

/* Sidebar */
h2.widget-title {
    text-transform: uppercase;
    border-top: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    padding: 16px 20px 14px;
    margin: 0 -20px 15px;
    background: #fff;
    font-size: 20px;font-weight:700;
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, .08);
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .08);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .08);
}

/* Footer */
.menu-footer-navigation {text-decoration:none!important;}
.menu-footer-navigation-container ul {
    padding: 26px 0 28px;
    margin: 0;
    text-align: center;
}
.menu-footer-navigation-container ul li {
    padding: 10px 0 0 20px;
    display: inline-block;
    margin: 0;
}
.menu-footer-navigation-container ul li a:after {
    content: "/";
    padding-left: 20px;
    color: #000;
    opacity: .7;
}




@media screen and (min-width: 1220px) {
	body:not(.no-sidebar) {background-image:url(https://www.thedrakegroup.org/wp-content/themes/thedrakegroup/images/bg.png);background-position: top center;background-repeat: repeat-y;}
}
@media screen and (max-width: 1220px) and (min-width: 768px) {
	body:not(.no-sidebar) .site-main {height:100%;}
}
@media screen and (max-width: 1199px) {
	.head_extra {grid-template-columns:100%;grid-row-gap:20px;text-align:center;}
	.head_social {text-align:center;}
}
@media screen and (min-width: 768px) {
	#menu-drake-group-main > li:first-child {background-image: url(https://www.thedrakegroup.org/wp-content/themes/thedrakegroup/images/navigation-home.png);background-position: top right;background-repeat: no-repeat;}
	.is-left-sidebar {min-width:360px!important;}
}
@media screen and (max-width: 768px) {
	body {background-color:#fff;}
	.related {grid-template-columns:100%;grid-row-gap:20px;}
	.crp_title {text-align:center;}
	.head_search {display:none;}
	h2.widget-title {border:1px solid #d4d4d4;}
}