/* Bootstrap media queries */
/* Start with mobile and then work up.
// X-Small devices (portrait phones, less than 576px)
// No media query for `xs` 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) { ... }

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

// XX-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) { ... }
*/


/* Typography */
body,
p {
    font-family: Quattrocento !important;
    color: #626262;
    font-size: 18px;
    letter-spacing: 0.02;
    font-weight: 300;
    line-height: 1.75em;
    margin: 0 auto 30px;
}

h2 {
    font-family: Crimson Text;
    color: #000000;
    font-size: 32px;
    letter-spacing: 0;
    font-weight: 300;
    line-height: 1.1em;
    margin: 0 auto 20px;
}


.navbar-brand.logo-text .site-name, nav.a, .nav-link {
    font-family: Montserrat;
    text-transform: uppercase;
    color: #626262;
    font-size: 15px !important;
    letter-spacing: 0.02;
    font-weight: 500;
    line-height: 1em;
    marginxx: 0 auto 30px;
}

.navbar-brand.logo-text .site-name {
    font-size: 20px !important;
    font-weight: 500;
    margin: 0px 0px;
}


/* Remove background colour from header, reduce white space,
 hide border bottom */
.border-bottom {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: #ffffff !important;
}

#t4-header {
    background-color: #ffffff;
    border-bottom: 0px solid #e9ecef;
    padding: 50px 0px;
}

#t4-header.header-block .py-3 {
padding-top: 1rem  !important;
 padding-bottom: 1rem ; 
}


@media only screen and (min-width: 567px) {
    .header-block .py-3 {
        padding-top: 2rem !important;
        padding-bottom: 0rem !important;
    }
}

/* end of white space, border, etc */


/* Fix smartslider and style so that body content
shows below and then over slider  see below*/

.t4-main-body, #t4-main-body {
    background-color: white;
    margin-top: 80px;  
  padding-top: 20px;
}

/* Portfolio page 
.item-105XX .t4-main-body, .item-105XX #t4-main-body {margin-top: 0px;}
*/

@media only screen and (min-width: 575.98px) {
    .t4-main-body, #t4-main-body {
        margin-top: 420px;
        padding-top: 80px;
    }
}

/* Mega menu styling */
/* Border bottom under menu links and link color */
.t4-megamenu .navbar-nav>li>a .menu-item-title {
    border-bottom: 0px solid #626262;
    color: #626262;
}

.t4-megamenu .navbar-nav>li.visited>a .menu-item-title,
.t4-megamenu .navbar-nav>li.hover>a .menu-item-title,
.t4-megamenu .navbar-nav>li.active>a .menu-item-title {
    border-bottom: 1px solid #626262;
    color: #626262;
}

/* menu on mobile and tablet - align center */
@media only screen and (max-width: 991px) {
    ul.navbar-nav {
        display: flex;
        align-items: center;
    }
}

button.navbar-toggler {
    margin-right: 20px;
}



@media only screen and (max-width: 575.98px) {
    .nav-breakpoint-lg .t4-megamenu {
        background: #fff;
        border: 1px solid #e9ecef;
        box-shadow: 0 12px 10px rgba(0, 0, 0, .1);
        position: absolute;
        top: 100%;
        right: 30px;
        max-height: 320px;
        margin-top: 2px;
        overflow: auto;
        padding: 1rem;
        width: auto;
        z-index: 3;
    }
}

.t4-megamenu .dropdown-menu li > a, .t4-megamenu .dropdown-menu li > .nav-link, .t4-megamenu .dropdown-menu li .dropdown-item {
	padding: .3rem 0;
	font-size: 0.8rem !important;
}


/* End of Megamenu */


/* Footer */
.t4-footer {
    background-color: white;
    border-top: 1px solid #626262;
    color:#626262;
    font-size: .875rem;    
}

.t4-footer p {margin: 0px !important}

.t4-footer .container, .t4-footer .t4-masthead .t4-masthead-detail, .t4-masthead .t4-footer .t4-masthead-detail {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

/* End of footer */

/* Hyperlinks */
.article-body a, .article-body a:link, .article-body a:hover, .article-body a:focus, a:active {
	color: #626262;
    border-bottom: 1px dotted #626262;
}
 .article-body a:hover, .article-body a:active {
	border-bottom: 1px solid #333;
}
/* End of hyperlinks */


/* Fix header so page scrolls behind */
.t4-section-inner.container .header-block, .t4-masthead .t4-section-inner.t4-masthead-detail .header-block {
	padding: 10px 0px;
	position: fixed;
    top: 0px;
    z-index:99;
    background-color: white;
}

.t4-section .header-block 
{position: fixed; top: 0px; z-index: 99;
background-color: white;
}

.t4-banner-slider {position: fixed; top: 50px; z-index: 5;}

@media only screen and (min-width: 576px) {
.t4-banner-slider { top: 110px; }
}

.t4-main-body, #t4-main-body {
    z-index: 6; 
}
/* not needed?
@media only screen and (max-width: 575.98px) {
    .t4-main-body, #t4-main-body {
    z-index: 6;
    }
}
*/
/* end fix header block */


/* images and captions + portfolio */
div.blog-item img {
  float:none;
  padding: 0px 0px 0px 0px;
  width: 500px;
}

@media (min-width: 576px) { div.blog-item img {
  float:right;
  padding: 0px 0px 10px 20px;
  width: 400px;
} }

@media (min-width: 992px) { div.blog-item img {
  width: 500px;
} }

@media (min-width: 1200px) { div.blog-item img {
  width: 600px;
} }



img.film-tnXX {
    float: right;
    padding: 0px 0px 20px 20px;
}

@media only screen and (max-width: 575.98px){
    img.film-tn{ padding: 0px 0px 30px 0px; float:none;}
}

figcaption a, figcaption a:link, figcaption a:hover, figcaption a:focus, figcaption a:active {
border-bottom: 1px dotted #626262;
color: #626262;
}

img.img-portfolio{
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
    border: 1px solid #626262;
    padding: 0px;
}

figure {float: right;}

figure figcaption {
	background-color: #fff;;
	color: #6d6d6d;
	font-size: 1.2rem;
	letter-spacing: 3px;
	padding: 1.5rem .5rem;
	text-transform: uppercase;
	text-align: center;
	text-shadow: none;
}

figure figcaption {
	background-color: #fff;;
	color: #6d6d6d;
	font-size: 1.0rem;
	letter-spacing: 1px;
	padding: 0.1rem .3rem;
	text-transform: capitalize;
	text-align: center;
	text-shadow: none;
}

/* End img and captions */

/* SUNDRIES */

b, strong {font-weight: bold !important;}
i.item-caret{display:none !important;}

.btn.btn-primary {
	background-color: #ffffff;
	border-color: #626262;
    color: #626262;
}

hr {
    width: 100%;
    clear: both;
    visibility: hidden;
}

hr.styled-hr {
    background-color: #666;
    border: 0pt none;
    color: rgba(0, 0, 0, 0.13);
    height: 1px;
    margin: 30px auto;
    text-align: center;
    visibility: visible;
}

/* End of Sundries */
