#instructor-gallery .instructor-slider .item,
#gallerywrapper .gallery-slider .item,
#trail-slider .item{padding-bottom:15px;}
#instructor-gallery h2{color:#ffffff;}
.master-slider{visibility:visible;}
.master-slider img{width:100%;}
.ms-slide{position:relative;}
#main-navigation{z-index:999;top:0!important;}
#raceviewer_map{height:auto;}
#raceviewer_map img{width:100%;}
.gallery-wrapper {
width:100%; 
overflow-x:auto;
-webkit-overflow-scrolling:touch;
white-space:nowrap;
position:relative;
}
.gallery-table{display:table;}
.gallery-tr{display:table-row;}
.gallery-td{display:table-cell;float:none;}
#mb-gallery .gallery-td img,#team #instructor-gallery .gallery-td img,.gallery-td{width:200px;height:200px;}
#mb-gallery .videogallery .gallery-td img,#team #instructor-gallery .videogallery .gallery-td img,.videogallery .gallery-td{width:320px;height:180px;}
h1.heading{font-style:italic;font-weight:400;text-transform:none;margin-top:0;}
h1.heading span{color:#ffffff;background:none;padding:10px 0;}
h2{color:#cc3333;}
#contact h2{margin-top:0;}
h3{font-style:italic;color:#ffffff;}
#mb-gallery h3{margin-top:10px;}
.npt{padding-top:0;}
.nmt{margin-top:0;}
p{font-family:"Lato", Arial, Helvetica, sans-serif;}
p a{text-decoration:underline;color:#70d0f6;}
p a:hover,a:hover,
p a:focus,a:focus{color:#cc3333;}
section#about.module.parallax-1,
section#about-prev.module.parallax-1{padding:20px 0 25px 0;}
section#about-prev.module.parallax-1{padding-bottom:0;}
.gallery-wrapper1:after {
content:"";
position:absolute;
top:0;
right:0;
height:100%;
width:1px;
background: #ddd;
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
}
.section-detail{color:#ffffff;}
.teamsponsor{width:65%;display:block;padding-bottom:10px;}
#about .section-title,#about-prev .section-title{padding-bottom:0;}
section#contact p.section-detail{font-size:20px;}
.section-title{padding-bottom:0;margin-bottom:10px;display:block;clear:both;}
#about-prev .section-title{margin-bottom:0;}
.blogs .blog-container,#instructor-gallery{margin-top:0;}
section#gallery,section#team,section#race,section#contact{font-family:"Lato", Arial, Helvetica, sans-serif;}
section#gallery,section#race{background-image: url(../img/background.jpg);color:#fff;}
section#about.module.parallax-1, section.module.parallax-3, section.module.parallax-5, section.module.parallax-7, section#race #trail-title{padding-top:0;}
#race .section-title{border-bottom:1px solid #353535;}
#trail-title,section#race #trail-gallery{background:none;}
#race p.section-detail{color:#ffffff;}
#current-race td{color:#000000;}
#current-race .table-striped>tbody>tr{background:#ffffff;}
#current-race .table-striped>tbody>tr:nth-of-type(odd){background:#f9f9f9;}
section#race #trail-slider .item h3{color:#000000;font-size:20px;min-height:65px;}
section#race #trail-slider .item h3 span.subhead{color:#666666;display:block;clear:both;}
#race h2{margin-top:10px;}
#blogs .readmore{padding:0 10px;}
.instructor-image{position:relative;}
.gallery-image,.gallery-video {position: relative;}
.videogallery .gallery-video a.video{position: relative;display:block;clear:both;color:#ffffff;}
.videogallery .gallery-video a.video:hover{color:#cc3333;}
.videogallery .gallery-video a.video:hover span{color:#ffffff;}
.videogallery .gallery-video a.video:after{
content:"\e072";
display:block;
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: 400;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 50px;
position:absolute;
top:0;
left:0;
z-index:2;
width:100%;
height:100%;
line-height:180px;
text-align:center;
text-shadow:0px 0px 10px rgba(0,0,0,.25);
}
.gallery-video span.date{position:absolute;bottom:5px;right:10px;text-shadow:0px 0px 10px rgba(0,0,0,.25);}
section#contact p.section-detail{margin:0;}
#mb-gallery .addthis_single {
position: absolute;
padding:10px 23px;
top:0;
right:0;
text-shadow:0px 0px 10px rgba(0,0,0,.25);
}

/*
* Colorbox
*/

.not-front #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;padding:0;color:#333333;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
.not-front #colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
#cboxTitle a{
background:#ffffff;
-webkit-border-radius: 10px 10px 0 0;
-moz-border-radius: 10px 10px 0 0;
-ms-border-radius: 10px 10px 0 0;
-o-border-radius: 10px 10px 0 0;
border-radius: 10px 10px 0 0;
-moz-background-clip: padding; 
-webkit-background-clip: padding-box; 
background-clip: padding-box; 
padding: 10px;
}

/*
* Colorbox customized
*/

#cboxOverlay{background:#CCCCCC;}
.not-front #colorbox{outline:0;}
#cboxTopLeft{width:40px; height:25px; background:url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/border1b.png) no-repeat 0 0;}
#cboxTopCenter{height:25px; background:url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/border1b.png) repeat-x 0 -100px;}
#cboxTopRight{width:40px; height:25px; background:url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/border1b.png) no-repeat -40px 0;}
#cboxBottomLeft{width:40px; height:40px; background:url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/border1b.png) no-repeat 0 -40px;}
#cboxBottomCenter{height:40px; background:url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/border1b.png) repeat-x 0 -140px;}
#cboxBottomRight{width:40px; height:40px; background:url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/border1b.png) no-repeat -40px -40px;}
#cboxMiddleLeft{width:40px; background:url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/border2b.png) repeat-y 0 0;}
#cboxMiddleRight{width:40px; background:url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/border2b.png) repeat-y -40px 0;}
#cboxContent{background:#fff; overflow:visible;}
.cboxIframe{background:#fff;}
#cboxError{padding:40px; border:1px solid #ccc;}
#cboxLoadedContent{margin-bottom:0;}
#cboxTitle{position:absolute; bottom:-22px; left:0; text-align:center;width:100%;color:#3333;}
#cboxCurrent{position:absolute; bottom:0px; left:80px; color:#999;}
#cboxLoadingOverlay{background:#fff url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/loading.gif) no-repeat center center;}


/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

#cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444444;}
#cboxPrevious{position:absolute; bottom:0px; left:0; color:#444444;}
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444444;}
#cboxClose{
font: 0/0;
text-shadow: none;
color: transparent;
display: block;
float: none;
clear: both;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
color:#444444;
height:36px;
right:-5px;
top:0;
width:36px;
cursor:pointer;
z-index:5000;
position:absolute;
background:#ffffff url(https://www.lmax.com/blog/wp-content/themes/revamp/assets/img/colorbox/close.png) 0 0 no-repeat;
-webkit-border-radius: 0 0 0 10px;
-moz-border-radius: 0 0 0 10px;
-ms-border-radius: 0 0 0 10px;
-o-border-radius: 0 0 0 10px;
border-radius: 0 0 0 10px;
-moz-background-clip: padding; 
-webkit-background-clip: padding-box; 
background-clip: padding-box; 
}

#cboxCurrent {
display:none!important;
}

#cboxPrevious, #cboxNext {
line-height:300px;
font-family:"Lato",Arial,Helvetica,sans-serif;
font-size:220px;
font-weight:300;
color:#ffffff;
width:100px;
height:300px;
bottom:auto;
top:50%;
margin-top:-175px;
left:0;
border-radius: 0 10px 0 0;
text-align:center;
outline:0 none;
text-shadow: 1px 1px 1px #333;
}

#cboxPrevious:hover, #cboxNext:hover{
color:#ffffff;
text-shadow: 1px 1px 4px #333;
} 
#cboxNext{
border-radius: 10px 0 0 0;
right:0;
left:auto;
}
#colorbox{z-index:10000;outline:none;}
.longdesc br{content:" ";height:15px;display:block;clear:both;}
.longdesc p{padding-bottom:15px;}

/* fix responsive.css */
@media (max-width: 980px)
{
h1.heading span {
font-size:inherit;
}
}

/* tiny */
@media screen and (max-width: 767px)
{
h1.heading,
#gallery h1.heading{margin:0;}
#about-prev h1,
#about h1{margin-top:0;}
/*#navigation nav{background:rgb(21,22,20);}*/
#navigation nav li{border-radius:0;}
#navigation nav a{font-size:21px;text-align:left;padding:7px 5%;vertical-align:middle;}
#navigation nav a:focus{color:#cc3333;}
#main-slider{padding-top:0;}
.navbar {padding: 8px 0px;min-height:48px;}
.popup-youtube {margin-top:-54px;margin-left:0;float:right;}
.navbar-default .navbar-nav > li.active, .navbar-default .navbar-nav > li:hover{background:#fff;}
.navbar-header{text-align:center;}
#burgermenu{
display: block;
float:left;
clear: both;
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
-o-border-radius: 0;
border-radius: 0;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
margin: 0;
padding: 0;
line-height: 20px;
height: 20px;
border: 0;
background: none;
position:absolute;
top:4px;
left:5%;
}
.navbar-default .navbar-toggle .icon-bar{background-color:#ffffff;}
#navigation nav a.lmaxlogo{
margin: 0 auto;
height: 26px;
line-height: 0;
width: 29px;
text-align: center;
margin: 0 auto;
float: none;
clear: both;
padding:0;
font-size:28px;
}
#navigation nav a.clipperlogo{
position:absolute;
top:3px;
right:5%;
padding:0;
}
section#about-prev.module.parallax-1{
padding:15px 0 0;
}
.blogs .blog-container{margin-top:0;}
.blogs .blog-container .blog-info-container{margin-top:10px;}
h1.heading span{font-size:inherit;}
.section-detail{margin-top:0;}
.navbar-default .navbar-collapse,.navbar-default .navbar-form{border:none;box-shadow:0 0 0;}
#mb-gallery{margin-top:0;}
#main-navigation{position:fixed;}
#cboxClose{right:0;top:0;}
#cboxTopLeft{width:0;height:0;}
#cboxTopCenter{height:0;}
#cboxTopRight{width:0;height:0;}
#cboxBottomLeft{width:0;height:0;}
#cboxBottomCenter{height:0;}
#cboxBottomRight{width:0;height:0;}
#cboxMiddleLeft{width:0;}
#cboxMiddleRight{width:0;}
section#race #trail-slider .item h3{font-size:22px;min-height:auto;padding-bottom:3px;}
#race h2{font-size:25px;}
}