/*
 * Association of Municipal Administrators Nova Scotia
 * J4 Admin Template (Atum) Customisations
 * a variety of minor and subtle size changes, hilites and masking reducing
 * some of the glare & "super-sized" look & feel
 * @RussW 18-Aug-2021
 */ 

 

@media only screen and (min-width: 600px) {
	.site .container-header .mod-menu {flex-direction: row;  flex: 1; display: flex;}
	.site .container-header .mod-menu>li+li {margin-left: 1.55em;}
	.container-header {height: 220px;}
	.container-header .container-nav {top: 165px;}
	#mod-custom130 {position: absolute; top: 90px; right: 12px; width: 425px;}
	#mod-custom127 {position: absolute; top: 20px; left: 12px;}
	#mod-menu128 {position: absolute; top: 20px; right: 12px;}
	.site .mod-menu a {font-size:1.05em;}
	.site .mod-menu .current > a, .site .mod-menu a:hover {font-size:1.05em;}
}

@media only screen and (max-width: 599px) {
	.site .container-header .mod-menu {flex-direction: row;  flex: 1; display: flex;}
	.site .container-header .mod-menu>li+li {margin: 0 5px;}
	.container-header {height: 376px;}
	.container-header .container-nav {top: 315px;}
	#mod-custom130 {position: absolute; left: 50%; top: 270px; transform: translate(-50%, -50%); width: 310px;}
	#mod-custom127 {position: absolute; left: 50%; top: 155px; transform: translate(-50%, -50%);}
	#mod-menu128 {position: absolute; top: 20px; left: 50%; top: 40px; transform: translate(-50%, -50%); width: 95%; display: flex; justify-content: center;}
	.site .mod-menu a {font-size:0.9em;}
	.site .mod-menu .current > a, .site .mod-menu a:hover {font-size:.9em;}
	.site .mod-list li {padding: 0;}
	.site .mod-list li a {padding: 2px;}
}


.dj-submenu {border: 1px solid #ccc;}
#mod-custom132 {display: none;}

.sidebar-left { 
    position: sticky;
    top: 21px;
    align-self: flex-start;
    height: fit-content;
}


.site .footer .grid-child {
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem .75em 3.5rem .75em;
}

.grid-child.container-nav {max-width: 100%; background: #eaeaea}
.site .dj-megamenu-clean li ul.dj-submenu > li > a {padding: 6px 20px; line-height: 16px}


.site-grid {
    margin-bottom: inherit;
}

.site .k-ui-namespace .jqtree-whitespace, .site  .k-ui-namespace .jqtree-toggler, .site  .k-ui-namespace .jqtree-icon, .site  .k-ui-namespace .jqtree-title {
    font-size: 10.9px;
}


.site .dj-megamenu-offcanvas-dark .dj-mobile-open-btn { width: 100px;}

.investigators {display: flex; flex-wrap: wrap; justify-content: space-between;}
.investigators section {min-width: 45%;}


.container-below-top {position: relative;}


.container-header {background-color: #4d4d4d; background-image: none; position: relative; }

.container-header .container-nav {justify-content: center; padding: 0; position: relative;}
.site .dj-megamenu-default li ul.dj-submenu>li>a {line-height: normal; padding: 5px 20px;}
.site .sidebar-left .mod-list li {padding: .5em;}


#dj-megamenu-wrapper {position: absolute; top: 100px;}

.itemid-101 #mod-menu128 .item-101 {display: none;}

.mod-list li a {text-decoration: none;}
.mod-list li.active>a {text-decoration: none;} 

.container-header .mod-list li a:hover {text-decoration: #111;}

.container-below-top ul.secondary {position: absolute; top: 10px; right: 10px;}
.container-below-top ul.secondary a {color: #000;}
.container-below-top ul.secondary a:hover, .container-below-top ul.secondary a:focus {color: #4284b0;}
.itemid-101 ul.secondary .item-101 {display: none;}

.breadcrumb {background-color: #f2faff; border: 1px solid #ccdbe4; border-radius: 4px;}

.customlogo p span {position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;}

/* external links */
.container-component a[href^="http:"], .container-component a[href^="https:"] {padding: 0 11px 0 0; background: url(../images/external.gif) top right no-repeat; margin-left: 2.3px;}
.com-content-article__body a[href^="http:"], .com-content-article__body a[href^="https:"] {padding: 0 11px 0 0; background: url(../images/external.gif) top right no-repeat; margin-left: 2.3px;}
.k-pagination__pages a[href^="http:"], .k-pagination__pages a[href^="https:"]  {background: none !important;}

.site :where(.mod-menu__sub[aria-hidden=true]) {
    display:block
}

.sidebar-left li.parent > a:after {
    content: "   \f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

button.mod-menu__toggle-sub {display: none;}


.board {display: flex; flex-wrap: wrap; justify-content: space-around; }
.board div {margin: 8px; min-width: 320px; min-height: 300px;}
.board div img {border: 1px solid #ccc; padding: 1px;}


/* Site Map */

main #osmap #osmap-menu-uid-mainmenu {display: none;}
main #osmap a a[href^="http:"], main #osmap a[href^="https:"] {background: none;}
main #osmap li {list-style: none;}

a {text-decoration: underline; text-decoration-thickness: max(1px, .0625rem);     text-underline-offset: .1578em;  word-wrap: break-word;  overflow-wrap: break-word;}
a:hover, a:focus {text-decoration-thickness: max(3px, .1875rem, .12em); text-decoration-skip-ink: none;}

/* All article links */
.item-page a:focus,
.com-content-article a:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

/* Modern browsers only show for keyboard users */
.item-page a:focus-visible,
.com-content-article a:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}


.site .breadcrumb {
    background-color: #f2fff8;
    border: 1px solid #cce4d3;
    border-radius: 4px;
}


/* Number slider small text */
.site div#n2-ss-4 .n2-font-56a795619f61258ceb4c8e4dc7891bca-simple {font-size: 1.5em; color: RGBA(255, 255, 255, 1); line-height: 1.3}


.site .mod-menu a {color: #000; padding: 4px; display: block; width: 100%;}

.site .mod-menu .current > a, .site .mod-menu a:hover {color: #fff; background: #4d4d4d; padding: 4px; display: block; width: 100%; text-decoration: none;}

h1, h2, h3, h4, h5, h6 {font-family: "futura-pt", sans-serif;font-style: normal; color: #396e1d;}
h1 {font-size: 2.5rem;  line-height: 1.04; margin-bottom: 1em; font-weight: 700;}
h2 {font-size: 1.9rem;  line-height: 1.1111111111;  margin:1.7em 0 .5em 0; font-weight: 400;}
h3 {font-size: 1.7rem;  line-height: 1.3157894737; font-weight: 700; font-weight: 400;}
h4, h4.newstitle a {font-size: 1.3rem; line-height: 1.3157894737; font-weight: 700; font-weight: 400;}
main p,  main td {font-size: 1.17rem; line-height: 1.3157894737; font-family: "source-sans-pro", sans-serif; font-weight: 400; font-style: normal;}

main li {line-height: 1.615789; font-size: 1.17rem;}


.site h4.newstitle {margin: 15px 0 25px 0;}
.site .lnee dd.newsextra {margin: 0 0 25px 0;}
.newsintro img {display: none;}
.site ul.latestnews-items li p {margin: 10px 0;}

.com-content-category-blog__item figure  {display: none;}
.site. .com-content-category-blog__item {margin: 50px 0;}


.site form.gsc-search-box {margin: 0;}
.site .gsc-control-cse{padding: 0;}

/* Tables */
.item-page table, .blog table {border-collapse: collapse; border-spacing: 0; margin-bottom: 1.5em; width: 100%;}
.item-page tbody tr, .blog tbody tr {border: 1px solid #eee;}
.item-page th, .item-page td, .item-page caption, .blog th, .blog td, .blog caption {padding: 0.25em .5em; text-align: left;}
.item-page tbody tr:nth-child(odd) td, .blog tbody tr:nth-child(odd) td {background-color: rgba(250,250,250,1)}


.videoWrapper {position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; margin: 0 auto 20px auto;}
.videoWrapper iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

blockquote {background: #f9f9f9; border-left: 10px solid #ccc; margin: 1.5em 10px; padding: 0.5em 10px;}
blockquote:before {color: #ccc; content: "»"; font-size: 4em; line-height: 0.3em; margin-right: 0.25em; vertical-align: -0.08em;}
blockquote p {display: inline;}

sr-only, .itemid-101 h1 {position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden;}





 /* JCE Editor styles */ 
.item-page .image_right, .blog .image_right  {float:right; margin: 0 0 15px 15px;}
.item-page .image_right_drop_shadow, .blog .image_right_drop_shadow  {float:right; margin: 0 0 15px 15px; -webkit-box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.45); 
box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.45);}
.item-page .image_left, .blog .image_left {float:left; margin: 0 15px 15px 0;} 
.item-page .image_left_drop_shadow, .blog .image_left_drop_shadow  {float:left; margin: 0 15px 15px 0; -webkit-box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.45); 
box-shadow: 0px 0px 9px 1px rgba(0,0,0,0.45);}
.item-page .image_right_border, .item-content .image_right_border, .blog .image_right_border  {float:right; margin: 0 0 15px 15px; padding: 3px; border: 1px solid #aaa;}
.item-page .image_left_border, .item-content .image_left_border, .blog .image_left_border {float:left; margin: 5px 15px 15px 0; padding: 3px; border: 1px solid #aaa;}
.item-page .image_left_border-no-float, .blog .image_left_border-no-float {float:none; margin: 0 15px 15px 0; padding: 3px; border: 1px solid #aaa;}

.item-page .image_centered_border, .blog .image_centered_border img {margin: 0 auto 30px auto; display: block; height: auto; width:auto; padding: 2px; border: 1px solid #aaa;}
.item-page p.center_image, .blog p.center_image {text-align:center; margin: 25px 0;}
.item-page p img.center_image, p.center_image img, .blog p img.center_image  {display:block; margin: 0 auto 10px auto; width:auto;}
.item-page p img.center_image_border, p.center_image_border img, .blog p img.center_image_border  {display:block; margin: 0 auto 10px auto; width:auto; border: 1px solid #aaa; padding: 2px;}
.bg-image {background: url(../images/content-bg.png) right bottom no-repeat;}




@media print { 
  html, body { margin: 0;  padding: 0; width: 100%;}
  body { background-color: White; color: Black; font-size: 12pt;}
  * { color: #000 !important; text-shadow: none !important; background: transparent !important; box-shadow: none !important; }
  a, a:visited { text-decoration: underline }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group }
  tr, img { page-break-inside: avoid }
  img { max-width: 100% !important }   
  .sidebar-left, .mod-breadcrumbs__wrapper, #back-top, #mod-menu128, .container-nav, #mod-custom130 {display: none;}
  .site #mod-custom132 {display: block;}
  .site #mod-custom127 {display: none;}
	
}



 