/* Navigation Margin */
nav.primary ul {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
    margin-top: 10px;
}

/* Column text colour */

section div.cols
{
float: left;
width: 100%;
color: #424242;
}

/* Upsizing CSS */

p {
    padding: 0;
    margin: 0 0 .7em 0;
    font-size: 1.5em;
    line-height: 1.4em;
}

section.home3panels div.homepanel2 ul li a:link, section.home3panels div.homepanel2 ul li a:visited, section.home3panels div.homepanel2 ul li a:hover, section.home3panels div.homepanel2 ul li a:active {
    text-decoration: none;
    font-size: 1.1em;
}

section ul.items li h2 a {
    text-decoration: none;
    font-size: 1.2em;
    font-family: arial;
    font-weight: bold;
}

@media only screen and (max-width: 980px) {
section.home3panels div.homepanel2 ul li {
    font-size: 1.4em;}
}

/* Tables Upsized */

section table th {
    font-family: 'aller700';
    font-weight: normal;
    font-size: 1.5em;
    text-transform: uppercase;
    background: #118acb;
    color: #fff;
}

section table td, section table th {
    padding: 5px;
    border-bottom: 1px solid #dddfe0;
    font-size: 1.5em;
    vertical-align: top;
    text-align: left;
    word-wrap: break-word;
    cursor: default;
}

ul li, ol li {
    font-size: 1.5em;
    line-height: 1.4em;
}

h3 {
    font-size: 1.6em;
}

/* Menu upsize */

article div.inner aside.subnav ul li a {
    font-size: 1.5em;
    line-height: 1.3em;
}

article div.inner aside.subnav ul li ul a {
    font-size: 1.3em;
}

article div.inner aside.subnav ul li ul ul a {
    font-size: 1.2em;
}

/* Google Translate */

footer div.trans div.goog-te-gadget-simple {
    font-size: 1.5em;
    font-weight: bold;
    background: none;
    border: 0 none;
    padding: 0;
}

footer div.trans p.disclaimer {
    float: left;
    width: 100%;
    font-size: 1.1em;
    line-height: 1.1em;
    font-family: 'aller300';
    font-weight: normal;
}

/* Icons */
section ul.files li.ics{background-image: url(http://www.qldc.govt.nz/assets/Uploads/Icons/link.png);}
section ul.files li.rb {background-image: url(http://www.qldc.govt.nz/assets/Uploads/Icons/ic-map-black-24dp-1x.png);}
section ul.files li.iso{background-image: url(http://www.qldc.govt.nz/assets/Uploads/Icons/info.png);}
section ul.files li.exe{background-image: url(http://www.qldc.govt.nz/assets/Uploads/Icons/events.png);}
section ul.files li.css{background-image: url(http://www.qldc.govt.nz/assets/Uploads/Icons/prices.png);}
section ul.files li.mp3{background-image: url(http://www.qldc.govt.nz/assets/Icons/email.png);}
section ul.files li.php{background-image: url(http://www.qldc.govt.nz/assets/Icons/phone.png);}

/* Image Captions */
div.captionImage
{
	max-width: 100%;
	text-align: center;
  font-style: italic;
  padding-bottom: 10px;
}


/* Boxes */
.bluebox {
  padding: 5px 65px;
  text-align: center; 
  background-color: #e9f2f7;
  border: #e5cccc;
  border-style: solid;
  border-width: thin;
}

.orangebox {
    padding: 5px 65px;
    background-color: #fff1d6;
    border: #e5cccc;
    border-style: solid;
    border-width: thin;
    padding-bottom: 10px;
}



/* Subpage Link Change */

a:hover {color: #118acb;}

section ul.items li div:hover {background: #D1F3FF;}

/* Button */

.button
    {
    background: #ECECEC;
    color: #5a5a5a !important;
    font-weight: bold;
    text-decoration: none !important;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-right: 10px;
    border-style: solid;
    border-width: 1px;
    }
    
.button:hover {
    background: #118ACB;
    color: #FFFFFF !important;
    font-weight: 500;}
    
/* News Bold */    
    
    div.homenews div.homenewsdetails h2 {
    font-weight: bold;
}

/* H2 Underline */
section.page h2, section.page p.likeh2 {
	font-family: 'aller700';
	font-weight: normal;
	font-size: 1.7em;
	border-bottom: #989797 solid thin;
}

section ul.items li h2 {
    border-bottom: none;
}

section div.colshalf.colslast {
    margin-top: -14px;
}

/* Changes to Form Formatting */

section form label {
    font-size: 1.5em;
}

section .FormHeading {
    color: #000;
}

/* list first line chrome bug fix */
ul, ol {
    margin: 0 0 1.2em 0;
    padding: 0 0 0 20px;
    overflow: auto;
}

/* Table title */
.ttitle {
    background: #7B7B7B; }
    
/* Timetable */
.lesm { 
    background: #A5B4C3;
    padding: 8px 6px 10px 8px;
    font-size: 1.5em;
    }

.alpine {    
    background: #D5DADE;
    padding: 8px 6px 10px 8px;
    font-size: 1.5em;
    }

.aqua {
    background: #AFCCE8;
    padding: 8px 6px 10px 8px;
    font-size: 1.5em;
    }

.blank {
    background: #ECECEC;
    padding: 8px 6px 10px 8px;
    font-size: 1.5em;
    }
    
@media only screen and (max-width: 570px) {
  section table.mobile-hidden::before {
	content: "Swipe Across to Navigate the Timetable";
	margin-bottom: 10px;
	font-size: 1.6em;
	position: absolute;
	left: 0px;
	top: -25px }
}

/* Sitemap Fix */
#Sitemap li {
	font-weight: 600;
}

#Sitemap li ul li {
	font-size:1em;
	font-weight: normal;
}

#Sitemap a:link, a:visited {
	text-decoration: none;
}

/* Hide Button */
div.homeboxespopup a.hide {
    font-size: 1.2em;}

/*Facebook Edit*/
section.home3panels div.facebookinner p:not(.title)
{
    border-bottom: solid;
    border-width: 1px;
    border-bottom-color: #A5CDE2;
}