/* Variables */
/* End of variables */
body {
  font-family: 'Rethink Sans', sans-serif;
    font-size: 18px;
    line-height: auto;
    background-color: #f5f8f0;
    position: relative;
}

img {
  width: 100%;
  height: auto;
}
.body-section a {
    color: #004c5d;
    text-decoration: none;
    font-weight: bold;
}
.header-logo {
    background-image: url("../images/logo-rpt-bg.jpg");
    background-repeat: repeat;
}
.main-logo img {
    max-width: 700px;
}
.menu {
    background-color: #004c5d;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.5);
}
.menu-items img {
    max-width: 700px;
}
.logo-holder {
    position: sticky;
    top: 0;
}
/*Main Nav*/
.main-nav {
    margin: 10px 0;
}
.main-nav a {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 0px 0px;
    display: inline-block;
    font-family: 'Josefin Sans', sans-serif;
    border-radius: 15px;
    margin: 5px;
    font-size: .9em;
    text-decoration: none;
    color: white;
    padding: 4px 8px 2px 8px;
    border: 2px solid white;
    font-weight: normal;
    background-color: #43a8dd;
    transition: box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.home-tel a {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 0px 0px;
    display: inline-block;
    font-family: 'Josefin Sans', sans-serif;
    border-radius: 15px;
    margin: 5px;
    text-decoration: none;
    color: white;
    padding: 4px 8px 2px 8px;
    border: 2px solid white;
    font-weight: normal;
    background-color: #43a8dd;
    transition: box-shadow 0.3s ease,
                background-color 0.3s ease;
}

.selected a {
    background-color: #607a91;
    box-shadow: rgba(0, 0, 0, 0.4) -3px 3px 2px 2px;
}
.main-nav a:hover, .home-tel a:hover {
    
    background-color: #607a91;
    box-shadow: rgba(0, 0, 0, 0.4) -3px 3px 2px 2px;
}
/*END Main Nav*/

/*Mobile Overlay */
.overlay {   
	height: 0;
	width: 100%;
	position: fixed;
	z-index: 5000;
	left: 0;
	top: 0;
	background-color: #004c5d;
	overflow-y: hidden;
	transition: 0.5s ease;
}

.overlay-content {
	position: relative;
	top: 10vh;
	width: 100%;
	text-align: center;
	margin-top: 0;
}

.overlay a {
	text-decoration: none;
    font-weight: bold;
	padding: 5px 0;
	font-size: 32px;
	color: white;
	display: block;
    height: calc(100vh / 10);
	transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f5f8f0;
}


.mob-nav {
    position: fixed;
    right: 0;
    z-index: 5000;
    height: 80px;
}
.mob-nav-btn {
    position: absolute;
	top: 20px;
	right: 15px;
	margin: 0;
	height: 40px;
	width: 40px;    
}
/* Position the close button (top right corner) */
.overlay .closebtn {
	position: absolute;
	top: 10px;
	right: 15px;
	margin: 0;
	height: 40px;
	width: 40px;
}
/* End Mobile Overlay */

/* Banner BGs*/
.section-banner {
    height: 40vh;
    max-height: 488px;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}
.bodyshop {
    background-image: url("../images/banner-images/cc-bodyshop-image.gif");
}
.about {
    background-image: url("../images/banner-images/about-us-banner-image-bg.gif");
}

.workshop {
    background-image: url("../images/banner-images/workshop-image.gif");
}
.parts-shop {
    background-image: url("../images/banner-images/parts-shop-banner-image.gif");
}
.contact {
    background-image: url("../images/banner-images/contact-banner-image-bg.gif");
}
.home-bg {
    background-image: url(../images/banner-images/home-background-citroen-classics.gif);
    background-position: top center;
    background-repeat: repeat-x;
    background-color: #bdccc8;
}
/* End Banner BGs*/
.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #f5f8f0;
}

/*Homepage*/
.homepage-holder {
    width: 100%;
    max-width: 1000px; margin: 0 auto;
}

.homepage-content {
    font-size: 0.9em;
    color: #f5f8f0;
    max-width: 340px;
    margin: 20px 0 0 80px;
    background-color: rgba(0,0,0,.5);
    padding: 20px;
    border: 3px solid #addef7;
    border-radius: 5px;
}
.homepage-image {
    display: none;
}
/*End Homepage */


.home-footer {
    display: block;
    padding-top: 50px;
}
.home-menu-top-pad {
    padding-top: 253px;
}
.mob-home-footer {
    display: none;
}
.pic-info p {
    margin: 0;
    padding: 0;
}
.pic-info a {
    color: white;
    font-weight: bold;
}
.pic-info a:hover {
    color: #1b6998;
}
.pic-info a:visited {
    color: #1b6998;
}
.pic-info a:hover {
    color: #1b6998;
}
h1 {
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.5em; }

h2 {
    text-align: center;
    display: inline;
    font-size: 1.7em;
    font-weight: 300;
    color: #0f232e;
    letter-spacing: 0.05em;
    line-height: 1.5em;
    padding-bottom: 30px;
}
h3 {
}

.right-col .picture-holder img {
    border-radius: 20px 20px 0 0;
}
.right-col .picture-holder .pic-info {
    background-color: #004c5d;
    color: #f5f8f0;
    padding: 15px;
    font-size: 0.8em;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px;
        
}
.body-section {
    padding: 40px 0;
}
.body-section .align-left {
    width: 50%;
    text-align: left;
    padding: 0 10px 10px 0;
}
.body-section .align-center {
    width: 100%
}
.body-section .align-right {
    width: 50%;
    text-align: right;
    padding: 0 0 10px 10px;
}


.body-section a:hover {
    color: #1b6998;
}
.footer {
    font-size: 0.8em;
    background-image: url(../images/footer-bg.gif);
    background-position: bottom center;
    background-repeat: repeat-x;
    background-color: #004c5d;
    color: #f5f8f0;
}
.footer-icons img {
    height: 52px;
    width: auto;
    margin:  10px
}
.footer-menu-item {
    text-align: center;
}
.back-top-top-mobile {
    position: fixed;
    bottom: 0;
    left: calc(100vw / 2 - 65px);
    margin: 0 auyo;
    z-index: 1000;
}
.back-top-top-mobile a {
    border: 1px solid #004c5d;
}
/*SUB NAV (inner page sections) */
#sub-nav a {
    text-align: center;
    margin: 10px;
    padding: 6px 12px;
    font-size: .9rem;
    line-height: 1;
    border-radius: 20px;
    background-color: #cfcba7;
    transition: background-color 0.3s ease;
    color: #004c5d;
}
#sub-nav a:hover {
    background-color: #9e9864;
    color: white;
}
#sub-nav a:active {
    background-color: #9e9864;
    color: black;
}
.back-to-top {
    padding: 20px 0 40px 0;
}
.back-to-top a {
    color: #004c5d;
    margin: 0 10px;
    font-size: .9rem;
    border-radius: 20px;
    text-decoration: none;
    background-color: #cfcba7;
    padding: 10px 45px 10px 10px;
    background-image: url(../images/icons/chevrons.png);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: right 10px bottom 8px;
    margin: 20px 0;
}

/* SUB MENU */
.sub-top {
    top: 153px;
}
.is-cms .sub-top {
    top: 0;
}
.sub-menu {
    background-color: #244e6a;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}
.sub-menu a {
    text-decoration: none;
    color: #004c5d;
    transition: color 0.2s ease;
    
}
.sub-menu a:active {
    text-decoration: none;
    color: black;
}
.sub-menu a:hover {
    text-decoration: none;
    color: #fff;
}
/*Offset sections for sticky nav */
a.anchor {display:block;position:relative;top:-280px;visibility:hidden;}


/* END SUB MENU */
.sub-section {
    border-bottom: 1px solid #004c5d;
    padding: 20px;
    margin-bottom: 40px;   
}
.footer-icons a {
    opacity: 1;
    transition: opacity 0.3s ease;
}
.footer-icons a:hover {
    opacity: 0.8;
    cursor: hand;
}
iframe div {
    padding:0;
    margin: 0;
}
.map {
    border: 1px solid #004c5d;
    padding-bottom: -5px;
}
@media (max-width: 1080px) {
    
    .logo-holder {
        position: static;
    }
    .home-menu {
        display: none;
    }
    .home-bg {
        background-image: none;
    }
    .homepage-holder {
    
}
    .homepage-image {
        display: block;
    }
.homepage-content {
    text-align: center;
    background-color: #f5f8f0;
    background: transparent;
    font-size: 1em;
    padding: 0;
    color: #004c5d;
    max-width: 100%;
    margin: 20px;
    border: none;
    border-radius: 5px;
}
    .home-footer {
    display: none;
}

.home-menu-top-pad {
    padding-top: 20px;
}
.mob-home-footer {
    display: block;
}
.sub-top {
    top: 0;
}
    .sticky-top {
        position:relative;
        top: 0;
    }
    
.body-section .align-left {
    width: 100%;
    padding: 0;
}

.body-section .align-right {
    width: 100%;
    padding: 0;
}
    
    /*Offset sections for sticky nav */
a.anchor {display:block;position:relative;top:20px;visibility:hidden;}
}

