﻿/* Primary Colors */
:root {
/* Background / Neutrals */
--background-white:   #FCFDFF;   /* very light, almost pure white with a hint of warmth */
--text-dark:          #2C2B2B;   /* near-black for strong contrast */
--accent-gray:        #7B7D7D;   /* cool smoky gray, like frosted stone */
--background-gray:    #E3E8EB;   /* soft icy gray-blue for gentle contrast */

/* Cool, winter tones */
--primary-blue:       #3A5A7C;   /* deep icy blue like winter twilight */
--secondary-blue:     #A3C4DC;   /* soft frosty blue highlight */
--text-on-accent:     #111;      /* unchanged for readability */

/* Winter accent colors */
--accent-coral:       #B21F44;   /* rich cranberry red */
--secondary-coral:    #8EBEDC;   /* soft rosy pink highlight */
}

ul { list-style-image: url('images/dltkbullet1.gif'); margin-top: 20px; padding-bottom: 10px; }
ul ul { list-style-image: url('images/dltkbullet2.gif'); margin-top: 20px; }
ul ul ul { list-style-image: url('images/dltkbullet3.gif'); }
li { list-style-position: outside; padding-bottom: 30px; }
a:link { color: var(--primary-blue); }
a:active, a:visited { color: var(--secondary-blue); }
a:hover { color: var(--accent-coral); }
body { background-color: var(--background-white); color: var(--text-dark); font-size: 20px; line-height: 1.8; font-family: 'Roboto', 'Nunito', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }
h1 { color: var(--primary-blue); font-size: 36px; padding-top: 5px; padding-bottom: 20px; font-weight: normal; font-style: normal; font-family: 'Roboto Slab', 'Nunito', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; line-height: 1.2; }
h2 { color: var(--accent-coral); font-size: 30px; font-weight: normal; font-style: normal; padding-top: 30px; padding-bottom: 30px; }
h3 { color: var(--accent-coral); font-size: 24px; font-weight: normal; font-style: normal; padding-top: 30px; padding-bottom: 30px; }
h4 { color: var(--secondary-blue); font-size: 20px; font-weight: normal; font-style: normal; padding-top: 30px; padding-bottom: 30px; }
h5 { color: var(--primary-blue); font-size: 16px; font-weight: normal; font-style: normal; padding-top: 30px; padding-bottom: 30px; }
h6 { color: var(--primary-blue); font-size: 14px; font-weight: normal; font-style: normal; padding-top: 30px; padding-bottom: 30px; }
p { padding-bottom: 20px; padding-top: 10px; }

img			 { border:0px; max-width:100%; margin: 10px 0; max-height:100% }

table        { line-height:110%; border:0; width:85%; margin: 0 auto }
td  	     { min-width:100px; padding:20px }


/*  These styles are for the dwt templates  */
/*  Remember . indicates a CLASS which can be used multiple times on a page  
	   while # indicates an ID which should only be used once per page  */

div#container { display: flex; justify-content: space-between; width:100%; margin:10px 0;  padding:5px 0;  background-color: var(--background-white); clear:both; }
article#content { padding:25px; flex-grow: 6; }
nav#leftSideBar { flex-grow: 1; min-width:50px; overflow:hidden; text-align:left; margin:auto; line-height:1.6; }
div#rightSideBar {   flex-grow: 1;   min-width: 350px;  max-width: 500px;   overflow: hidden;   line-height: 1.6;   margin-left: 0;   display: flex; flex-direction: column; align-items: flex-end;   /* push everything to the right */ }
div.SidebarInsert     { min-width:200px;  }

.topBottomBorder { width:100%; margin:auto;  line-height: 1.6; }
.background {  font-size: medium; padding:20px}

div#adBanner     { width:100%; text-align:center; min-height: 90px; }
div#adBox 		 { float:right; text-align:center; vertical-align:text-top;  width:325px; padding-left:20px }
div#homeButtonHide  { float:left; width:200px; overflow:hidden; }
div#homeText     {  float:left; padding:10px; width:100px; text-align:center; border: 1px solid navy; display:none;  }
div#searchBox    { float:left; width:300px;  }
div#searchText   { float:left; padding:10px; width:100px; text-align:center; border: 1px solid navy; display:none;  }
div#socialMedia  { float:right; height:40px; width:275px; text-align:center; overflow:hidden; padding-top:15px }
div.topButtons   { float:left;  height:40px; width:100px; text-align:center; overflow:hidden; padding:20px 0 0px 0 }

/*  These styles are for the editable content  */
/*  Remember . indicates a CLASS which can be used multiple times on a page  
	   while # indicates an ID which should only be used once per page  */

.pageTitleShrink { font-size: medium;  }

.printVersionLink,.printVersionLink:link,.printVersionLink:visited,.printVersionLink:active{background-color:var(--secondary-coral);color:var(--text-on-accent);padding:10px 15px;text-decoration:none;border-radius:12px;display:inline-block;transition:background-color .2s ease}
	.printVersionLink:hover{background-color:var(--accent-coral)}

h3#materials      { padding-top: 20px }
ul.materialsList  { padding-bottom:20px }
ul.materialsList li { padding-bottom:5px }
header#mainHeader { margin-bottom:10px }
#author { font-size: small; font-style:italic }

.indentLarge   { margin-left: 80px }
.indentSmall   { margin-left: 40px }

.indexHighlight { background-color: #DDDDDD; font-weight: bold; font-size: small; line-height:100%; }

.indexImage  { 	float:left; text-align:center; margin: 0 20px 0 20px; min-width:200px; max-width:300px; min-height:60px; vertical-align:middle }
.indexText  { 	float:left; margin:0; min-width:200px; max-width:550px; min-height:100px; vertical-align:middle }

.textLarge { font-size: x-large; }
.textMedium { font-size: medium; }
.textSmall { font-size: small; }

.floatStop { clear:both; }
.floatRight { float: right; margin: 0 0 5px 20px; text-align: center; line-height:100%; }
.floatLeft { float: left; margin: 0 10px 5px 0; vertical-align: middle; }

.topNav { padding: 15px 0 15px 0; margin: 0; font-size: small; width: 100%; line-height:100%; }
#rightSideBarLinks { font-size: medium; font-weight:normal; line-height: 200%; text-align:center; }
	p.rightSideBarLinks { font-size: medium; font-weight:normal; line-height: 160%; text-align:center; }
	hr.rightSideBarLine { margin: 5px 0px 5px 0px; clear: both; }
nav.leftNav { float:left; width:10%; overflow:hidden; font-size: small; text-align:left; margin-right:20px; line-height:120%; padding:20px 20px 20px 0; min-height:1500px; background-image:url(https://www.dltk-kids.com/images/fade-grey.jpg)}

div.columnsIndex { font-size:large; float:left; padding:10px 20px 10px 20px; margin:0 20px 10px 20px; width:40%; border:1px solid gray; min-height:160px }
div.columnsOneIndex { min-height:310px; float: left; padding: 2%; margin: 0 2% 1% 0; width: 92%; border: 1px solid #607D8B; text-align: center }
	div.columnsOneIndex a {color: black;}
	div.columnsOneIndex img {width: auto;height:auto;max-height: 275px;
    /* Set the width and height to auto to maintain the aspect ratio */}
div.columnsTwo { float: left; min-height:200px; padding: 20px; margin: 0 20px 10px 0; width: 40%; border: 1px solid gray }
div.columnsTwoIndex { min-height:315px; float: left; padding: 1%; margin: 3%; width: 38%; border: 1px solid #607D8B; text-align: center }
	div.columnsTwoIndex a {color: black;}
	div.columnsTwoIndex img {width: auto;height:auto;max-height: 275px; margin-bottom:20px
    /* Set the width and height to auto to maintain the aspect ratio */}

div.columnsThreeIndex {height:auto; float:left; padding:2%; margin: 1rem 2% 1.5rem 0; width:26%; border:1px solid navy; text-align:center; font-size:22px; min-height:300px; border-radius:10px; background-color:#fefefe; transition:box-shadow 0.3s ease, transform 0.3s ease;}
	div.columnsThreeIndex a {color:black;}
	div.columnsThreeIndex p { font-size: 1rem; margin: 0; line-height: 1.4; color: #333; text-align: left;}
	div.columnsThreeIndex img {width:auto; height:auto; max-height:275px;}
	div.columnsThreeIndex img:hover {box-shadow:0 8px 16px rgba(0,0,0,0.2); transform:scale(1.03);}
    
div.columnsTwoNoBorder { float: left; padding: 10px; margin: 0 10px 5px 0; width: 45%; text-align:center }
div.columnsThree { float: left; padding: 5px; width: 30%; text-align:center; font-size:medium; border: 1px solid gray }
div.columnsFour { float: left; text-align:center; padding:4px; margin:8px; width: 180px; min-height:240px; font-size: medium; border: 1px solid navy }

.img-flexible { display: flex; justify-content: center; align-items: center; line-height: 1.6; flex-wrap: wrap; width: 35%; float: left; text-align: center; padding: 2%; margin: 3%; border: 1px solid var(--primary-blue); border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s ease, transform 0.3s ease; }
	.img-flexible h3 { font-size: 1.3rem; margin: 10px 0; }
	.img-flexible p { font-size: 1rem; margin: 0; line-height: 1.4; color: #333; text-align: left;}
	.img-flexible:hover { box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); transform: scale(1.03); }
	.img-flexible img { max-width: 100%; height: auto; margin-bottom: 10px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s ease, transform 0.3s ease; max-height: 75vh; }
	.img-flexible img:hover { box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); transform: scale(1.03); }

/*  Styles for new branding in January 2021  */
nav#DLTKtopborder { width:100%; line-height:100%; }
div#DLTKadBanner { width:100%; text-align:center; }
div#DLTKbranding { width:100%; text-align:center; }
#DLTKsitenav { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; background-color: var(--background-white); border-bottom: 1px solid var(--accent-gray); }
#DLTKsitenavSocial { display: flex; align-items: center; gap: 20px; }
#DLTKsitenavButtonsContainer { display: flex; gap: 15px; }
.DLTKsitenavButtons { margin-right: 10px; }
	.DLTKsitenavButtons a { display: block; padding: 10px 20px; background-color: var(--primary-blue); color: var(--background-white); text-decoration: none; border-radius: 5px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
	.DLTKsitenavButtons a:hover { background-color: var(--secondary-blue); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); }
#DLTKsitenavSearch { flex-grow: 1; text-align: center; margin-left: 40px; margin-right: 40px; }

/* CSS for StickyAds Javascript implementation */
#stickyHeader, #stickyFooter { }
#stickyContainer, #stickyMover { margin-top: 0; margin-bottom: 0; }
.stickyAdDiv { margin-top: 10px; }

/* Updated style for Features creating hover effects and rounded corners */
div#FeaturesInsert {  background-color:var(--accent-gray); margin: 50px; padding: 50px; font-size: 20px; line-height: 2; text-align: left; }
div#featuresColA, div#featuresColB {
    min-height: 225px; padding: 1%; margin: 0 2%; width: 40%; float: left; border: 1px solid var(--accent-gray); border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center; background-color: var(--background-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
div#featuresColA:hover, div#featuresColB:hover, div#sidebarFeature:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); }
img#featuresImgA, img#featuresImgB, img#sidebarImg {
    max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: block;
    margin: 20px auto; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
img#featuresImgA:hover, img#featuresImgB:hover, img#sidebarImg:hover { transform: scale(1.1); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); }

/* Style the menu. These are the buttons at the bottom of the page that are replacing topNav */
.menu{list-style:none;margin:0;padding:5px;position:relative;background-color:var(--background-white);border-radius:10px;display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;color:var(--text-dark);font-size:10pt;line-height:1.5}
	.menu li{margin:0}.menu a{display:block;padding:10px 20px;text-decoration:none;color:var(--background-white);background-color:var(--accent-coral);border-radius:10px;transition:background-color .2s ease;margin:20px;box-shadow:0 0 10px rgba(0,0,0,.5);min-width:40ch;white-space:nowrap;text-align:center}
	.menu a:hover{background-color:var(--secondary-coral)}


/* Author Info Box */
.author-info {
    display: inline-block;          /* shrink to fit content */
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-dark);
    background-color: var(--background-gray);
    border-radius: 12px;             /* rounded corners */
    padding: 6px 14px;               /* compact padding */
    line-height: 1.4;
    margin: 1px auto;               /* centered, spaced */
    border: none;
    box-shadow: none;
}

/* =====================================================
   Flexible Image Box Layouts (2025 update)
   ===================================================== */

/* Flex containers */
.img-FlexBox2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4%; /* slightly larger gap */
}

.img-FlexBox3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4%;
}

/* Cards for 2-per-row and 3-per-row */
.img-FlexBox2 .img-FlexBoxCard {
  flex: 0 0 calc(50% - 2%);
}

.img-FlexBox3 .img-FlexBoxCard {
  flex: 0 0 calc(33.333% - 2.67%);
}

/* Card content wrapper for consistent layout */
.img-FlexBoxCard {
  box-sizing: border-box;
  background-color: var(--background-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 2% 4%;
  margin-bottom: 3%;
  border: 1px solid var(--primary-blue);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  line-height: 1.6;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-height: 400px; /* ensures all cards have roughly the same height */
}

.img-FlexBoxCard img {width:auto; height:auto; max-width:100%; max-height:250px; object-fit:contain; margin-bottom:50px; border-radius:10px; box-shadow:0 4px 8px rgba(0,0,0,0.1); transition:box-shadow 0.3s ease, transform 0.3s ease; display:block; margin-left:auto; margin-right:auto;}

.img-FlexBoxCard:hover img {
  transform: scale(1.1); /* 10% bigger */
  box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* optional: stronger shadow on image too */
}

.img-FlexBoxCard:hover {
  transform: translateY(-5px); /* lift the card */
  box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* stronger shadow */
}

/* Headings */
.img-FlexBoxCard h3 {
  font-size: 1.4rem;
  margin: 10px 0 10px 0;
  font-weight: 500; 
}

/* Optional: push paragraph to bottom if present */
.img-FlexBoxCard p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
  color: #333;
  text-align: left;
  margin-top: auto;
}


/* =====================================================
   Flexible Image Box Layouts (2025 update) END
   ===================================================== */



/*  These styles prevent the navigation and advertising from printing  */
@media print {
	.no-print {display:none}
	.menu {display:none}
	.topNav {display:none}
	nav.leftNav {display:none}
	#leftSideBar {display:none}
	#rightSideBar {display:none}
	.topBottomBorder {display:none}
	div#adBox { display:none }
	#amp_floatingAdDiv{ display: none !important ;}
}

/*  CSS For Medium Screens*/
@media only screen and (max-width : 1200px) {
	div#rightSideBar, nav#leftSideBar, .DLTKsitenavButtons {display: none;}
}

@media screen and (max-width: 900px) {
  /* Display menu items in two rows for smaller screens */
  	.menu { flex-wrap: wrap; max-width: 500px; justify-content: space-between; }
  		.menu a { margin-right: 0; }
		.menu li { flex-basis: 49%; margin-bottom: 5px; }
	nav.leftNav {display:none}
	.indentLarge   { margin-left: 5px }
	.indentSmall   { margin-left: 2px }
	.indexImage  { clear:both; min-height:10px; width:95%; text-align:left }
	.indexText   { clear:both; min-height:10px; width:95% }
	nav.topNav { font-size:large; line-height:300% }
	div#indexLeft { width: 95%; margin:1%; }
	div#indexRight { width: 95%; background-color:#f0f0f0 }
	div.topButton { width: 120px; }
	div.columnsTwoNoBorder, div.columnsThreeNoBorder, div.columnsFourNoBorder, div.columnsFiveNoBorder, div#PRTsitenavSocial, div#DLTKsitenavSocial, div.columnsOne, div.columnsOneIndex, div.columnsTwoIndex, div.columnsThreeIndex, div.columnsTwo, div.columnsThree, div.columnsFour, div.columnsFourTall { width: 95%; }
	.img-flexible {  width:80%; }
	.img-FlexBox2 .img-FlexBoxCard,
		.img-FlexBox3 .img-FlexBoxCard { flex: 0 0 100%; }
	div#container { margin:0; padding:0; width:95%; }
	article#content { margin:0; padding:0; width:95%; min-width: 250px }
	div.topButtons	{ border: 1px solid navy; height:auto; padding:10px; width:75px }
	div#socialMedia    { display:none }
	div#searchBox      { display:none }
	div#homeButtonHide { display:none }
	div#searchText     { display:inline }
	div#homeText       { display:inline }
	div.adSmallScreen  { display:inline }
}