/*
Theme Name: OCSA Display Case
Author: Dingofox Media + Travis Nicholson
Author URI: http://www.dingofox.ca
Description: Theme custom made for the Ontario Convenience Store Association, 2018
*/

body {
    font-family: 'Muli', sans-serif;
    color:#222;
}

a {
    
}

a:hover, a:focus {
    text-decoration: none;
}

p {
    
}

a:hover {
    
}

img {
    
}

ul {
    
}

ol {
    
}

#post-content li {
    margin-bottom:0.5em;
}

.oi {   font-size:0.666em;    }

h1 {
    font-size:3.33em;
    margin-bottom:0.5em;
    font-family: 'Playfair Display', serif;
}

h1 .shy {
    font-size:2.0em;
    margin-bottom:0.5em;
    color:#222;
}

h2 {
    font-size:2.75em;
    margin-bottom:0.5em;
    color:#222;
}   

h3 {
    font-size:2.33em;
    margin-bottom:0.5em;
    color:#222;
}

h4 {
    font-size:2.0em;
    margin-bottom:0.5em;
    color:#222;
}

h5 {
    font-size:1.75em;
    margin-bottom:0.5em;
    color:#222;
}

h6 {
    font-size:1.5em;
    line-height:1.333333333333333333333333333em;
    margin-bottom:0.5em;
    color:#222;
}

blockquote  { 
    margin: 2.0em 2.0em 2.0em 0.0em;
    padding-left: 2.0em;
    border-left: 0.25em solid #e4e4e4;
}

/*
*
*
EDIT BUTTON
*
*
*/

.edit-this {
    margin:1.0em 0;
}

/*
*
*
CUSTOM BUTTONS
*
*
*/

.btn-ocsa, .btn-ocsa-light, .btn-ocsa-dark, .btn-ocsa-outline, .btn-ocsa-calltoaction   { 
    font-size: 0.85em;
    font-weight:300;
    text-align:center;
    letter-spacing:0.033em;
}

.btn-ocsa {
    background-color:#76be43;
    color:#fff;
    border:1px solid #f6f6f6;
}
.btn-ocsa:hover {
    background-color:#047940;
    color:#fff;
    border:1px solid #f6f6f6;
}

.btn-ocsa-light {
    background-color:#b8d879;
    color:#222;
    border:1px solid #f6f6f6;
}
.btn-ocsa-light:hover {
    background-color:#047940;
    color:#fff;
    border:1px solid #f6f6f6;
}

.btn-ocsa-dark {
    background-color:#047940;
    color:#fff;
    border:1px solid #f6f6f6;
}
.btn-ocsa-dark:hover {
    background-color:#e4e4e4;
    color:#222;
    border:1px solid #f6f6f6;
}
.btn-ocsa-outline {
    background-color:#f6f6f6;
    color:#047940;
    border:1px solid #047940;
}
.btn-ocsa-outline:hover {
    background-color:#b8d879;
    color:#fff;
    border:1px solid #047940;
}
.btn-ocsa-calltoaction {
    background-color:#222;
    color:#ff9900;
    border:3px solid #f6f6f6;
}
.btn-ocsa-calltoaction:hover {
    background-color:#047940;
    color:#fff;
    border:3px solid #b8d879;
}




.tinybuttonstext {
    font-size:0.66em;
}

.becomeamember {
    margin-bottom: 1.5em;
}

.becomeamember table {
    margin-bottom: 0.5em;
}


/*
*
*
HEADER (header.php)
*
*
*/

.navbar {   padding:0;  }

.navbar a {
    color:#fff;
    padding-top:15px;
}

.navbar-toggler .oi {
    color:#fff;
}

.navbar-toggler {
    color:#fff;
    border:none;
    margin-top: 28px;
    border-radius: 1em;
    padding: 0.5em 0.75em;
    background:#b8d879;
}

.navbar-nav .nav-link {
    text-align: center;
}

.ocsa-menu {
    border-bottom:4px double #e4e4e4;
    padding-bottom: 15px;
}

.ocsa-desktop-menu {
    color:#76be43;
    text-align:center;
    margin-bottom:24px;
    font-size:1.0em;
}

.ocsa-desktop-menu a {
    color:#047940;
}

.ocsa-desktop-menu a:hover {
    color:#222;
}

.ocsa-desktop-menu ul {
    list-style-type: none;
    padding:5px 0 0 0;
    width:100%;
    font-size:1.0em;
}

.ocsa-desktop-menu ul li {
    list-style-type: none;
    padding:6px 9px;
    display:inline-block; 
}

.ocsa-desktop-menu ul li:hover {
    background:#f5f5f5;
}


.ocsa-desktop-menu ul li .dropdown-menu {
    min-width:275px;
    border:none;
    border-top:1px solid #d7d7d7;
    margin-top:4px;
    border-radius:0;
    padding-top:0;
}

.ocsa-desktop-menu ul li .dropdown-menu li {
    display:block;
    border:1px solid #d7d7d7;
    border-top:0px solid #fff;
    padding:12px 8px;
    background:#f5f5f5;
}

.ocsa-desktop-menu ul li .dropdown-menu li:hover {
    background:#b8d879;
}

.ocsa-desktop-menu ul li .dropdown-menu li a {
    text-decoration:none;
}

.ocsa-desktop-menu ul li .dropdown-menu li a:hover {
    color:#222;
    text-decoration:none;
}

.ocsa-desktop-menu ul li .dropdown .oi {
    font-size:0.666em;
}








.show > .dropdown-menu {
    width:100%;
    text-align:center:
}

.show > .dropdown-menu > .dropdown-item {
    color:rgba(0,0,0,.5);
    padding: 0.5em 1.5em 1.0em 1.5em;
    text-align:center;
}








.c-offcanvas {
  left: 0;
  padding: 1rem;
  overflow-y: scroll;
}

.js-offcanvas a {
   color: #337ab7;
   outline: 0;
}


.js-offcanvas .dropdown-menu {
  position:relative;
  border:none;
}






/*
*
*
SINGLE - for BLOG POST (single.php)
*
*
*/

.post-bucket {
    border-bottom:4px solid #f5f5f5;
    color:#76be43;
}

.post-bucket a {
    color:#76be43;
}

.post-content {
    
}

.post-bucket h1 {
    font-size:3.33em;
    margin-bottom:0.25em;
    font-family: 'Playfair Display', serif;
    color:#222
}

.post-bucket a h1 {
    color:#222;
}

.post-bucket a h1:hover {
    color:#047940;
}

.post-sidebar {
    margin:20px 0 0 0;
}

.sharingtools, .sidebar-callouts {
    text-transform: uppercase;
    font-size:0.75em;
    text-align: center;
}

.sharingtools {
    padding-bottom:16px;
    border-bottom:2px solid #f5f5f5;
    margin-bottom:1.0em;
}

.sidebar-callouts {
    padding-top:32px;
    padding-bottom:16px;
    border-bottom:2px solid #f5f5f5;
}

.below-sign-up {
    
}

.below-sign-up h4 {
    font-weight: 800;
    font-size: 1.125em;
    color:#047940;
    border-bottom:2px solid #047940;
    text-align:left;
    padding-bottom:8px;
}

.post-content {
    margin-bottom:2.0em;
}

.post-content h1, .post-content h2, .post-content h3, 
.post-content h6, .post-content h5, .post-content h6 {
    margin-bottom:0.75em;
}

.post-category {
    
}

.post-tags {
    font-size:0.75em;
    margin-top:2.0em;
    border-top: 1px solid #e4e4e4;
    padding-top:1.0em;
    padding-bottom:1.0em;
}

.post-time, .post-tags {
    margin-top:1.125em;
}

.post-time a, .post-tags a {
    padding: 1px 10px 4px;
    color:#fff;
    background: #76be43;
    margin-right:1.0em;
    text-transform: uppercase;
}

.post-time a:hover, .post-tags a:hover {
    background: #047940;
}

.rpwwt-widget li {
    font-family: 'Playfair Display', serif;
    font-size:1.5em;
    line-height:1.25em;
    color:#047940;
    padding-bottom:0.5em;
    border-bottom:10px solid #f6f6f6;
    text-align: left;
}

.rpwwt-widget li:hover {
    border-bottom:10px solid #76be43;
}

.rpwwt-widget li a {
    color:#047940;
}

.rpwwt-widget li a:hover {
    color:#76be43;
}

.addtoany_content { text-align:center; }

.featured-in-post { margin-top: 1.0em;    }




.follow-twitter-simple, .follow-twitter-box {
    text-align:left;
    font-size:1.0em;
    line-height: 1.125em;
    color:#76be43;
}

.follow-twitter-simple {
    padding: 2em 1.5em 1.0em 1.5em;
}

.follow-twitter-box {
    padding: 2em 1.5em 0.5em 1.5em;
}

.follow-twitter-simple img {
    margin:0 2.0em 2.0em 1.0em;
}

.follow-twitter-box img {
    margin:0 0.5em 2.0em 1.0em;
}

a .follow-twitter-simple, a .follow-twitter-box {
    color:#fff;
    background:#76be43;
}

a:hover .follow-twitter-simple, a:hover .follow-twitter-box {
    background:#047940;
}

a:hover .follow-twitter-simple, a:hover .follow-twitter-box {
    color:#fff;
}

.follow-twitter-simple h5, .follow-twitter-box h5 {
    font-family: 'Playfair Display', serif;
    font-size:1.5em;
    line-height:1.25em;
    color:#fff;
}

.contact-us {
    text-align: left;
    line-height: 1.33em;
}

.contact-us a {
    color: #047940;
    padding: inherit 3px;
}

.contact-us a:hover {
    color: #fff;
    background:#76be43;
}


.bottombar h6 {
    font-family: 'Playfair Display', serif;
    font-size:1.5em;
    line-height:1.25em;
    margin-top:1.0em;
    margin-bottom:0.5em;
    color:#76be43;
}







/*
*
*
FRONT PAGE (front-page.php)
*
*
*/


a .front-feature {
    background: #f6f6f6;
    min-height:20em;
    padding-top:20px;
    padding-bottom:20px;
    color:#222;
}

a .front-feature:hover {
    background: #76be43;
    color:#fff;
}

a .front-feature h1 {
    font-size: 1.75em;
    line-height: 1.25em;
    margin-top:0.5em;
}

.front-feature-visual {

}

.front-feature-text {
    padding-right:50px;
}

.front-feature-text p {
    font-size:0.888em;
    line-height: 1.333333em;
}

.front-secondary-posts {
    padding: 1.25em;
}

.front-secondary-posts h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75em;
    line-height: 1.25em;
    margin-top:0.5em;
}

a .front-secondary-posts {
    background:#f6f6f6;
    border:1px solid #d7d7d7;
    margin-bottom:1.0em;
}

a:hover .front-secondary-posts h2 {
    color:#fff;
}

a:hover .front-secondary-posts {
    background:#b8d879;
    border:1px solid #b8d879;
}

.followOCSAontwitter {
    background: #f6f6f6;
    padding: 2.0em 1.0em 1.0em 1.0em;
    text-align:center;
}

.followOCSAontwitter h2 {
    font-size:2.0em;
    line-height: 1.125em;
    font-family: 'Playfair Display', serif;
    color:#76be43;
}

a .followOCSAontwitter {
    color:#222;
    background:#f6f6f6;
}

a:hover .followOCSAontwitter {
    background:#b8d879;
}

a:hover .followOCSAontwitter h2 {
    color:#fff;
}


.quicklinx {
    border-top: 4px solid #f6f6f6;
    border-bottom: 4px solid #f6f6f6;
    padding: 1.0em 0 0.5em;
    text-align:center;
}

.quicklinx h6 {
    text-align:center;
    font-size: 0.75em;
    text-transform: uppercase;
    color:#d7d7d7;
}

.quicklinx ul {
    list-style: none;
    margin:1.0em ;
    padding:0;
}

.quicklinx li {
    display:inline-block;
    padding: 0 3px;
}

.front-sidebar {
    padding:1.5em;
    min-height:40em;
}

.front-sidebar p {
    margin-bottom:0.75em;
    line-height: 1.3333333em;
    font-size:0.88888em;
}

.front-sidebar h4 {
    font-weight: 800;
    font-size: 1.125em;
    color:#047940;
    border-bottom:2px solid #047940;
    text-align:left;
    padding-bottom:8px;
}



/*
*
*
BLOG POSTS HOME (home.php)
*
*
*/


.blog-home {
    text-align:center;
    margin-bottom: 2.0em;
}

.blog-home h1 {
    margin-bottom: 0em;
    
}

.blog-home-description {
    
}


/*
*
*
FOOTER (footer.php)
*
*
*/

.ocsa-footer {
    margin:0;
    background:#222;
    min-height:133px;
    padding-top:48px;
    padding-bottom:64px;
}

.ocsa-footer ul {
    padding:0;
    margin:0;
}

.ocsa-footer ul li {
    list-style: none;
    display:inline-block;
    padding:0;
    margin:0 0 12px 0;
    width:164px;
    background:#d7d7d7;
    padding: 6px 12px;
    margin-right:6px;
    text-align:center;
    line-height:1.5em;
}

.footer-statement {
    
}

.footer-statement p {
    font-size:0.75em;
    color:#fff;
    line-height:1.5em;
    margin: 16px 0;
    letter-spacing:0.05em;
}

.privacypolicy-sitemap a {
    font-size:0.75em;
    color:#b8d879;
    text-decoration: underline;
    padding-right:16px;
}

.ocsa-footer-links {
    color:#b8d879;
    text-align: right;
}

.ocsa-footer-links a {
    color:#222;
}

.ocsa-footer-links a:hover {
    color:#fff;
    text-decoration: none;
}

.filingcabinet p {
    font-size:0.66em;
    text-align: center;
}

.filingcabinet {
    margin:32px 0 16px 0;
}

.ocsa-footer .filingcabinet ul li {
    color:#222;
    font-size:0.75em;
    background:#b8d879;
}

.ocsa-footer .filingcabinet ul li:hover {
    color:#fff;
    background:#76be43;
}

.ocsa-footer .topofthefilingcabinet ul li {
    color:#222;
    font-size:0.85em;
    background:#e7e7e7;
}

.ocsa-footer .topofthefilingcabinet ul li:hover {
    color:#fff;
    background:#76be43;
}


.footer33 {    }


/*
*
*
CATEGORY HOME (category.php)
*
*
*/


.archive-cat-title img {  
    border: 4px solid #f6f6f6;
}

.archive-cat-title a img:hover {  
    border: 4px solid #b8d879;
}

.archive-cat-title a:hover {  
    color:#fff;
}

.archive-cat-title .media-body {
    padding-left:15px;
}

.archive-cat-title h5 {
    font-family: 'Playfair Display', serif;
    font-size:2.0em;
    color:#047940;
}

.archive-cat-title h6 {
    text-transform: uppercase;
    color:#76be43;
    margin-top:0.75em;
    margin-bottom:-0.5em;
    font-size:0.75em;
}

.archive-cat-title a h5:hover {
    color:#76be43; 
}

.archive-cat-title li {
    margin-top:-10px;
    margin-bottom: 33px;
    border-bottom: 12px solid #f6f6f6;
    padding-bottom:1.5em;
    margin-bottom:20px;
}

.archive-cat-title p {
    margin-top:0.75em;
    font-size:0.88em;
    line-height:1.33em;
}


/*
*
*
WEIRD STUFF
*
*
*/

.df-pagination {
	text-align:center;
}

.nav-previous, .nav-next {
	margin:1.0em 0;
}

.nav-previous a, .nav-next a {
   padding: 10px 25px;
   background: #047940;
   color: #e4e4e4;
}

.nav-previous a:hover, .nav-next a:hover {
   background: #d7d7d7;
   color: #047940;
}

.post-content img, .page-content img { max-width: 100%; height: auto; }

.small {
    font-size:0.5em;
    margin-top:0.5em;
    margin-bottom:3.0em;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 

    RESPONSIVE CONDITIONALS

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /

/*
*
*
SCREEN SIZE OR BIGGER
*
*
*/

// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { 
    .ocsa-desktop-menu {
        font-size:1.125em;
    }
}

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

/*
*
*
SCREEN SIZE OR SMALLER
*
*
*/


// Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { ... }

// Small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) { 
    
    .navbar .container {
        margin-right:0;
        margin-left:0;
    }
    
}

// Medium devices (tablets, less than 992px)
@media (max-width: 991.98px) { 
}

// Large devices (desktops, less than 1200px)
@media (max-width: 1199.98px) { ... }

// Extra large devices (large desktops)
// No media query since the extra-large breakpoint has no upper bound on its width


/*
*
*
SPECIFIC DEVICE SIZES
*
*
*/

// ONLY Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { ... }

// ONLY Small devices (landscape phones, 576px and up)
@media (min-width: 576px) and (max-width: 767.98px) { ... }

// ONLY Medium devices (tablets, 768px and up)
@media (min-width: 768px) and (max-width: 991.98px) { ... }

// ONLY Large devices (desktops, 992px and up)
@media (min-width: 992px) and (max-width: 1199.98px) { ... }

// ONLY Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }