﻿/*
Theme Name: vfrg
Theme URI: http://underscores.me/
Author: casa
Author URI: http://vfrg.casa.gov.au
Description: This is going to an awesome theme.
Version: 1.0-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vfrg
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 vfrg is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
.print-disclaimer{display:none;}
span.australia{display:none;}
@media print {
	div.aside.open,div.aside{display: none;}
	html, body.modal-open{width: 100%; }
	body.modal-open *{
		display: none;
		border: none!important;
		box-shadow: none!important;
	}
	span.australia{display:inline;}
	.print-disclaimer{display:block; text-align: left;}
	body{display:table!important; height: auto;}

	body.modal-open #bred,body.modal-open #bred span,
	body.modal-open #bred strong,body.modal-open #bred span a,body.modal-open div.footer-inner strong
	{
		display: inline-block;
	}
	body.modal-open div.wrapper,body.modal-open div.shell,
	body.modal-open .wrapper .header .shell a,body.modal-open .wrapper .header
	{
		display:block;
	}
	body.modal-open .wrapper .header{padding-top: 25px; height: 100%; min-height: 400px;}
	body.modal-open .wrapper .header:after{
		display: block;margin-top: 30px;content: '';width: 100%;border-bottom: 1px solid black;
	}
	body.modal-open #TB_Image{
		display: inline;
		position: relative;
		max-height: 620px;margin: auto!important;
	}
	body.modal-open #TB_window{
		background: transparent;
		position: absolute;
		max-height: 300px;
		display: table;
		top:100px!important;margin-top: 0!important;
	}
	body.modal-open #TB_window:after{
		display: block;
		position: absolute;
		left: 0;
		text-align: right;
		top: 720px;
		content: 'Last updated: 24 August 2014© 2014 Civil Aviation Safety Authority Australia\AUncontrolled when printed.\APlan your route thoroughly, and carry current charts and documents. Always check ERSA, NOTAMs,\A and the weather, BEFORE you fly. The VFRG does not replace current operational maps and charts.';
		white-space: pre;
		width: 100%;
		border-top: 2px solid black;
	}	
}


body { overflow-y: scroll; }
body.page-id-65,
body.page-id-77,
body.page-id-67,
body.page-id-69,
body.page-id-71,
body.page-id-75
 {
    overflow: hidden;
 }
.content .table.table-general .ico {margin: 6px -10px 0 20px;}
.content .table.table-general .key .ico {margin: 6px 11px 0 0;}
.template-yellow .accordion-body :not(.current-menu-item) a:hover{color: #af5f08;}
.template-red .accordion-body :not(.current-menu-item) a:hover{color: #c62618;}
.template-blue .accordion-body :not(.current-menu-item) a:hover{color: #0066c0;}
.template-green .accordion-body :not(.current-menu-item) a:hover{color: #087d06;}
.template-purple .accordion-body :not(.current-menu-item) a:hover{color: #6828a0;}
.template-orange .accordion-body :not(.current-menu-item) a:hover{color: #d23d02;}
.widget .current_page_parent.menu-item-has-children.accordion-section div.accordion-head h5 a {color: #2c2f32;}
.template-yellow .widget .current_page_parent.menu-item-has-children.accordion-section .current-menu-item a {color: #2c2f32;}
.table-source-comment{margin-top:-25px; padding-bottom:25px;}
.content .table.table-general .ico-info {margin: 6px -10px 0 9px;}
.template-purple .table tr.table-subtitle td.simple-field{background:#fff; font-weight:initial; color:#44484b;padding-left: 5px;}
.template-purple .table tbody.are-safe tr:not(:last-child) td:first-child{text-align:center;}
pre {font-family: 'Open Sans', sans-serif;}
.section-cols td:only-child:first-child > div {border-left: 1px dashed #cddbe8; padding: 0 20px;}
.section.section-cols .section.section-information .section-inner{border-left:none;}
.content .media-library-gallery .mlg-preview {margin: 20px 44px; border:none;}
.content .media-library-gallery .mlg-preview:hover{border:none;}
div.media-library-gallery .mlg-navbar {
  clear: none;
  float: right;
}

.mlg-navbar * {
  float: left;
  height: 32px;
  line-height: 32px;
  width: 32px;
  text-align: center;
}

.mlg-navbar strong, .mlg-navbar *:hover {background-color: #6828a0; color: #fff; text-decoration: none}
.mlg-pager{overflow: hidden; margin-bottom: 20px;clear:both;}
.media-library-gallery .mlg-title {text-align:left;}
.rio-video-container {float: none;margin: 0 -40px 0 0;width: auto;}
.wrapper-gallery {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

div.content .wrapper-gallery .mlg-preview {
  padding: 10px;
  margin: 0 10px 0 -10px;
  min-height: 0;
  border: none;
  width: 33.3333%;
  position: relative;
  box-sizing: border-box;
  height: 235px;
}

div.content .wrapper-gallery .mlg-img {
  padding: 10px;
  border: 2px solid;
  border-color: #e5e5e5 #e5e5e5 blue;
  margin-bottom: 10px;
  height: 154px;
}

div.content .wrapper-gallery .mlg-img:hover {
  border-color: #1380dd;
}

div.content .wrapper-gallery .mlg-img img:hover, div.media-library-gallery .mlg-img a:hover {
  border: none !important;
}

div.content .wrapper-gallery .img-general {
  border-color: #e5e5e5 #e5e5e5 #1380dd;
}
div.content .wrapper-gallery .img-general:hover {
  border-color: #1380dd;
}

div.content .wrapper-gallery .img-pfp {
  border-color: #e5e5e5 #e5e5e5 #1d9e20;
}

div.content .wrapper-gallery .img-pfp:hover {
  border-color: #1d9e20;
}

div.content .wrapper-gallery .img-op {
  border-color: #e5e5e5 #e5e5e5 #fdaa04;
}

div.content .wrapper-gallery .img-op:hover {
  border-color: #fdaa04;
}

div.content .wrapper-gallery .img-ho {
  border-color: #e5e5e5 #e5e5e5 #ff6005;
}

div.content .wrapper-gallery .img-ho:hover {
  border-color: #ff6005;
}

div.content .wrapper-gallery .img-ep {
  border-color: #e5e5e5 #e5e5e5 #c7241b;
}

div.content .wrapper-gallery .img-ep:hover {
  border-color: #c7241b;
}

div.content .wrapper-gallery .mlg-title {
  position: static;
  border: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 16px;
  height: 32px;
  overflow: hidden;
  width: auto;
}

div.content .wrapper-gallery .mlg-img img {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

.mlg-pager:last-child {
  border-top: 1px solid #6828a0;
  padding-top: 15px;
}

.hasCustomSelect {z-index:10;}
.customSelect { 
 border:1px solid #ccc;
 padding:5px 10px;
 border-radius:3px;
 position:relative;
 height:20px;
 font-weight:normal;
}
.customSelect:after {
  position:absolute;
  content: '';
  right:10px;
  top:12px;
  border:4px solid;
  border-color:#000 transparent transparent;
}

.rio-video-container header h1 a {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 16px;
  text-align: left;
  text-transform: capitalize;
}

.rio-video-container figure {
  padding: 10px;
  border: 2px solid;
  border-color: #e5e5e5 #e5e5e5 blue;
}
.rio-video-container article { 
  margin: 0 -5px 10px 0;
  padding:0 30px 0 0;
  width: 33.3333%;
  box-sizing: border-box;
}
.rio-video-container article img {
  display:block;
  width:100%;
  height:auto;
}

.rio-video-container figure.cat_5, .rio-video-container figure.cat_6 {border-color: #e5e5e5 #e5e5e5 #c7241b;}
.rio-video-container figure.cat_4{border-color: #e5e5e5 #e5e5e5 #ff6005;}
.rio-video-container figure.cat_3{border-color: #e5e5e5 #e5e5e5 #fdaa04;}
.rio-video-container figure.cat_2{border-color: #e5e5e5 #e5e5e5 #1d9e20;}
.rio-video-container figure.cat_1{border-color: #e5e5e5 #e5e5e5 #1581e6;}

.rio-video-container figure.cat_6:hover {border-color: #c7241b;}
.rio-video-container figure.cat_5:hover {border-color: #c7241b;}
.rio-video-container figure.cat_4:hover {border-color: #ff6005;}
.rio-video-container figure.cat_3:hover {border-color: #fdaa04;}
.rio-video-container figure.cat_2:hover {border-color: #1d9e20;}
.rio-video-container figure.cat_1:hover {border-color: #1581e6;}

.page-template-template-contact-php .content,
.search-results .content { float: none; width: auto;}
.search-results .main-body h2 {margin-left: 0;}

.page-template-template-contact-php {}
.page-template-template-contact-php .wpcf7 {}
.page-template-template-contact-php .wpcf7 form { margin-top: 20px; }
.page-template-template-contact-php .wpcf7 form span.wpcf7-not-valid-tip { padding-left: 100px; }
.page-template-template-contact-php .wpcf7 form p { margin-bottom: 15px; }
.page-template-template-contact-php .wpcf7 form p.captcha { width: 50%; }
.page-template-template-contact-php .wpcf7 form p.captcha input[type="text"] { width: 232px; }
.page-template-template-contact-php .wpcf7 form p.captcha img {
	border: 1px solid #cccccc;
    border-radius: 2px;
    height: auto;
    width: 241px;
}
.page-template-template-contact-php .wpcf7 form p.submit-btn { border-top: 1px dotted #9398a2; }
.page-template-template-contact-php .wpcf7 form p label {
	display: inline-block;
    font-weight: 700;
    width: 100px;
	float: left;
}
.page-template-template-contact-php .wpcf7 form p label span { color: red; }
.page-template-template-contact-php .wpcf7 form p textarea,
.page-template-template-contact-php .wpcf7 form p input[type="text"],
.page-template-template-contact-php .wpcf7 form p input[type="phone"],
.page-template-template-contact-php .wpcf7 form p input[type="password"],
.page-template-template-contact-php .wpcf7 form p input[type="email"]{
	border: 1px solid #cccccc;
    border-radius: 2px;
    padding: 5px;
    width: 40%;
}
.page-template-template-contact-php .wpcf7 form p input[type="submit"]{
	background: url("css/images/contact-btn.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    display: inline-block;
    height: 34px;
    margin: 25px 0;
    outline: 0 none;
    overflow: hidden;
    text-indent: -999em;
    width: 241px;
}

.pagination span.current {
  background-color: #1ca016;
  display: block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-weight: bold;
  color: #fff;
}

#dp_swf_engine {
  position: fixed !important;
}

.search-no-results .shell h2 {
  margin: 0;
}

.no-results h1 {
  color: #000;
  font-size: 16px;
  text-transform: capitalize;
}

.search-no-results .search-field {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #63686c;
  width: 211px;
  height: 20px;
  background: #fff;
  border: 0;
  border-radius: 2px;
  float: left;
  padding: 5px;
  border: 1px solid #63686c;
  margin: 0px 4px 0 0px;
}
.popup-head .popup-indicator li:hover {
color: #ffa903;
cursor:pointer;
}
/*
.popup-head .popup-controls {
  width: 60px;
  z-index: 1;
  left:50%;
  margin-left:-30px;
}
*/
.pilot-check li:hover {cursor:pointer;}
.pilot-check li.checked {color: #147e2b;}
.pilot-check li.checked:before {background-image: url('css/images/tick.png'); border:none; width: 18px; height:18px;}
.letters a.inactive{color: #a8b3bd;}

#TB_prev{
  position: fixed;
  left: 0;
  top: 50%;
  margin-top: -22px;
  background: url('css/images/arrows.png') no-repeat 0 0;
  width: 31px;
  height: 44px;
  text-indent: -9999px;
}

#TB_prev:hover {
  background-position: -32px 0;
}

#TB_next{
  position: fixed;
  right: 0;
  top: 50%;
  margin-top: -22px;
  background: url('css/images/arrows.png') no-repeat 0 -45px;
  width: 31px;
  height: 44px;
  text-indent: -9999px;
}

#TB_next:hover {
  background-position: -32px -45px;
}

#TB_caption {
  color: #35363c;
  font-size: 27px;
  line-height: 1;
  padding: 15px 30px 10px 25px;
  display: table-header-group;
  height: auto;
}

#TB_ImageOff {
  display: table-footer-group;
}

#TB_window img#TB_Image, div.media-library-gallery .mlg-preview a:hover img   {
  border: none !important;
}

#TB_window img#TB_Image {
  height: auto;
  margin: 20px auto;
  width: 90%; 
}


#TB_window {
  border-radius: 4px;
  display: table;
}

#TB_closeWindow, #TB_window .print, span.nav-box {
  display: none;
}

#TB_secondLine {
  color: #fff;
}
.popup-controls a {
  width: 8px !important;
  height: 8px !important;
}
.popup-indicator a {
	color: inherit;
	font-weight: inherit;
}
.popup-indicator a:hover {
  text-decoration:none;
}

#bred {
  font-size: 13px;
  padding: 10px 0;
}

.mlg-navbar span:hover {
  background-color: #fff;
  color: #000;
}



.text_1, span.text_1 a {
  color: #1380dd;
}

.text_2, span.text_2 a {
  color: #1d9e20;
}

.text_3, span.text_3 a {
  color: #af5f08;
}

.text_4, span.text_4 a {
  color: #ff6005;
}

.text_5, span.text_5 a {
  color: #c7241b;
}
    
.popup-directions a.popup-next, .popup-directions a.popup-prev {
   position: absolute;
   top: 50%;
 }
 
ul.children {
  padding-left: 20px;
}

.results .pagination span.current {
  background-color: #536d8e;
}

.page-template-template-contact-php .main-body h2,
.page-template-template-common-page-php .main-body h2 {margin: 0;}
.page-template-template-common-page-php .content{width: 100%;}


  /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
      div.media-library-gallery .mlg-navbar {
        float: left;
      }
      .popup-directions a.popup-next, .popup-directions a.popup-prev {
        position: absolute;
        top: 20%;
      }
      #TB_prev, #TB_next {top: 10%;}
    }
    
    @media only screen and (max-width : 768px) {
      .popup-directions{position: relative;top: -75px;}
      div.popup-checklist .checklist-negative, div.popup-checklist .checklist-positive {width: auto; padding: 0;}
      span.round{margin: 10px;}
      div.checklist .round-yes{margin:10px 0;}
      div.checklist-positive{text-align: center;}
      div.checklist-positive h4{text-align: left;}

      .checklist.operations .round-holder-last{margin-top: 50px;padding-bottom: 60px;}
      .checklist.operations .round.round-yes{margin:0}
      .checklist.operations .checklist-positive>p:last-child,.checklist.operations .round-holder-last {float:left;}
      .checklist.operations .checklist-positive>p:nth-child(4):last-child{margin-top:5px;}
      .checklist.operations .checklist-negative{margin-left: 40px;}
      .checklist.operations .round.round-no{margin: 0;}
      .checklist.operations .last-checklist-row .checklist-negative{margin-left:0;}
.checklist.operations .last-checklist-row h4 {display:inherit;}
    }
.sitemap_menu > li {
list-style-type:square;
}
.sitemap_menu .sub-menu {
display:block;
position:static;
background:none;
border:none;
margin-left: 15px;
list-style: none;
}

.sitemap_menu .sub-menu li a {
  color: #0066c0;
  display: inline;
  font-family: inherit;
  font-size: 13px;
  padding: 0;
}
.sitemap_menu .sub-menu li a:hover {
color:#0066c0;
text-decoration:underline;
background: none;
}

.sitemap_menu .sub-menu li {
border: none;
}
.sitemap_section {
margin-bottom: 25px;
}
.sitemap_section .h2 {font-size: 22px; font-weight: bold;}
.popup-indicator .current a {
  color: #ffa903;
}

.popup-indicator li a {
  color: #fff;
}

ul.sitemap_menu>li>a{
  font-size: 14px;
  font-weight: 600;
}

.sitemap_menu .sub-menu li:before {
	content:"﹘";
	position:relative;
	margin-left: 5px;
	left: -5px;
}

.result span {font-size: 20px;}
.results-title {display: inline;}
.result .results-meta{padding-left: 20px;}
.checklist-negative .round.round-then{
	position: static;
	display: block;
        border-radius: 50%;
        width: 33px;
        height: 33px;
        line-height: 33px;
        text-align: center;
        font-weight: 600;
	background-color: #374653;
        color: #fff;
	cursor: pointer;
        margin: 10px auto;
}
.checklist-negative .round-then.active {
  background-color: #066cc1;
}
.checklist-negative .round-then:after {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #FFFFFF;
  bottom: -1px;
  left: 53%;
  margin-left: -8px;
}
.checklist-negative .round-then.active:after {
	border-top: 8px solid #91c0e7;
}
.table-general table {
  margin: 15px 0px 1px;
}