 /*-------------------------------------------------------------
This is the CSS file that defines the appearance of the 
Template pages. To customise your website to your own style,
make your changes here.

----------------------------------------------------------------*/


/* Add medium-small (ms) screen size for >480 <768
from  andyl on GitHub
-------------------------------------------------- */
.col-ms-1,.col-ms-2,.col-ms-3,.col-ms-4,.col-ms-5,.col-ms-6,
.col-ms-7,.col-ms-8,.col-ms-9,.col-ms-10,.col-ms-11,.col-ms-12
{position:relative;min-height:1px;padding-left:15px;padding-right:15px;}
 
@media (min-width: 480px) and (max-width: 768px) {
.col-ms-1,.col-ms-2,.col-ms-3,.col-ms-4,.col-ms-5,.col-ms-6,
.col-ms-7,.col-ms-8,.col-ms-9,.col-ms-10,.col-ms-11 
{float:left;} 
.col-ms-1 {width:8.33333%;} 
.col-ms-2 {width:16.66667%;} 
.col-ms-3 {width:25%;} 
.col-ms-4 {width:33.33333%;} 
.col-ms-5 {width:41.66667%;} 
.col-ms-6 {width:50%;} 
.col-ms-7 {width:58.33333%;} 
.col-ms-8 {width:66.66667%;} 
.col-ms-9 {width:75%;} 
.col-ms-10 {width:83.33333%;} 
.col-ms-11 {width:91.66667%;}
.col-ms-12 {width:100%;} 
.col-ms-push-1 {left:8.33333%;} 
.col-ms-push-2 {left:16.66667%;} 
.col-ms-push-3 {left:25%;} 
.col-ms-push-4 {left:33.33333%;} 
.col-ms-push-5 {left:41.66667%;} 
.col-ms-push-6 {left:50%;} 
.col-ms-push-7 {left:58.33333%;} 
.col-ms-push-8 {left:66.66667%;} 
.col-ms-push-9 {left:75%;} 
.col-ms-push-10 {left:83.33333%;} 
.col-ms-push-11 {left:91.66667%;} 
.col-ms-pull-1 {right:8.33333%;} 
.col-ms-pull-2 {right:16.66667%;} 
.col-ms-pull-3 {right:25%;} 
.col-ms-pull-4 {right:33.33333%;} 
.col-ms-pull-5 {right:41.66667%;} 
.col-ms-pull-6 {right:50%;} 
.col-ms-pull-7 {right:58.33333%;} 
.col-ms-pull-8 {right:66.66667%;} 
.col-ms-pull-9 {right:75%;} 
.col-ms-pull-10 {right:83.33333%;} 
.col-ms-pull-11 {right:91.66667%;} 
.col-ms-offset-1 {margin-left:8.33333%;} 
.col-ms-offset-2 {margin-left:16.66667%;} 
.col-ms-offset-3 {margin-left:25%;} 
.col-ms-offset-4 {margin-left:33.33333%;} 
.col-ms-offset-5 {margin-left:41.66667%;} 
.col-ms-offset-6 {margin-left:50%;} 
.col-ms-offset-7 {margin-left:58.33333%;} 
.col-ms-offset-8 {margin-left:66.66667%;} 
.col-ms-offset-9 {margin-left:75%;} 
.col-ms-offset-10 {margin-left:83.33333%;} 
.col-ms-offset-11 {margin-left:91.66667%;} 
}
@media (min-width: 480px) and (max-width: 768px) {
.container {max-width:748px;} 
} 

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 175px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color:#000000;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 175px;
  color:#eff9ed;
  background-color: #444444;
  border-top:solid 1px #00b140;
}
.footbottombar {
	position:absolute;
	bottom:0;left:0;
	color: #ABD0D9;
	background-color:#000000;
	width:100%;
	line-height:1em;
}
.footbottombar a {color: #eff9ed!important;}

/* Custom page CSS
-------------------------------------------------- */
h1,h2,h3,h4,h5,h6 {
	color: #000000;
	font-weight: 600;
}
h1 { 
  font-size: 32px;
  font-weight: 800;
}
h2 { 
  font-size: 28px;
  font-weight: 700;
}
h3 { 
  font-size: 22px;
  font-weight: 700;
}
a {color:#002b99;}
body > .container {
	padding: 15px 15px 0;
}
body > .container-fluid {
  padding: 10px 4% 0;
}
body > .container-fluid h1 {
  padding-left: 0px;
  padding-right: 15px;
}

.footer > .container,
.footer > .container-fluid {
  padding-right: 15px;
  padding-left: 15px;
}
.footer > .container  ul,
.footer > .container-fluid  ul {
	list-style: none;
	padding-left:0;
}
.footer > .container  a,
.footer > .container-fluid  a {
	color:#eff9ed;
}	
.footer > .container-fluid  p {
	color:#ffffff;
}



code {
  font-size: 80%;
}

/* customise Junbotron */
body > .container .jumbotron,
body > .container-fluid .jumbotron {
	padding: 10px 10px 10px 10px;
	margin-top: 10px;
	margin-bottom: 20px;
	font-size: medium;
	background-color: #cbe0c7;
	}
body > .container .jumbotron h1,
body > .container-fluid .jumbotron h1 {
	font-size: 36px;
	margin-top: 10px;
	color: #001A66;	
	}
body > .container .jumbotron p,
body > .container-fluid .jumbotron p {
	font-size: medium;
	margin-bottom: 10px;	
	}
	
/* Breadcumb styling */	
.breadcrumb {
	margin: 0;
	padding: 0 15px;
    font-size:12px;
	background-color: inherit;
}
.breadcrumb > li + li:before {
    color: #888;
    content: "> ";
    padding: 0 2px;
}
.breadcrumb > .active {
	color: #888;
	}
.breadcrumb > li a {
	color: #69A0D1;
	}
	
/* Carousel */
.carousel-control.left, .carousel-control.right{
background: none;
filter: progid:none;
}
.carousel-indicators li {
  background-color: #999; 
}
.carousel-indicators .active {
  background-color: #444;
}
.carousel-indicators {
  bottom:-35px;
}
.carousel-inner {
   margin-bottom:20px;
}
.carousel-caption {
	font-size:180%;
	font-weight:800;
	bottom:10px;
	padding-bottom:0px;
	color:#ffe5ec;
	text-shadow: 12px;
}

/* custom breakpoint for Navbar Collapse (default is 768px)*/
@media (min-width: 768px) and (max-width: 991px) {
	.navbar-nav .open .dropdown-menu {
      position: static;
      float: none;
      width: auto;
      margin-top: 0;
      background-color: transparent;
      border: 0;
      -webkit-box-shadow: none;
      box-shadow: none;
     }
     .navbar-nav .open .dropdown-menu > li > a {
       line-height: 20px;
     }
     		 	 
     .dropdown-menu > li > a {
       display: block;
       padding: 3px 20px;
       clear: both;
	   font-size: 20px;
       font-weight: normal;
       line-height: 1.42857143;
       color: #333;
       white-space: nowrap;
      }
      .navbar-header {
        float: none;
      }
      .navbar-toggle {
        display: block;
      }
      .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
      }
      .navbar-collapse.collapse {
        display: none!important;
      }
      .navbar-nav {
        float: none!important;
        /*margin: 7.5px -15px;*/
        margin: 7.5px 50px 7.5px -15px
      }
      .navbar-nav>li {
         float: none;
      }
      .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;			
      }
      .navbar-text {
        float: none;
        margin: 15px 0;
      }
      /* since 3.1.0 */
      .navbar-collapse.collapse.in { 
        display: block!important;
      }
      .collapsing {
        overflow: hidden!important;
      }
	  /* stack button with menu */
	  .btn-lang {float:none!important;
	  }
}


/* navbar */
.navbar {
   min-height: 72px;
   margin-bottom: 0px;
   border-radius: 0;
}
.navbar-brand {
   height: 72px;
   margin-right: 2px;
   max-width:100%;  
}

.navbar-nav {
	margin-top:6px;
}


/* decrease navbar padding */
.navbar-nav > li > a {padding:10px 8px 10px 10px;}

.navbar-default {
    background-color: #444444;
	border:0;
	border-bottom:solid 1px #00b140;
	border-radius: 0;
}
/* title */
.navbar-default .navbar-brand {
	color: #729FCC;	
    padding: 5px 3px 3px 3px;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #5E5E5E;
}
/* navbar link */
.navbar-default .navbar-nav > li > a {
    color: #ffffff;
	font-size:130%;
  	font-weight:normal;
}
.navbar-default .navc > li > a {
	font-size:120%;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #FFFFFF;
	background-color: #222222;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff;
	background-color: transparent;
    font-weight:bold;
}
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
    color: #ffffff;
	background-color: transparent;
   
}

.dropdown-menu {
 margin-top: 0px;
 margin-bottom: 0px;
 padding: 0;
}
.dropdown-menu > li > a {
   	font-size:120%;
	color: #FFFFFF;
	background-color: #444444;
    background-image: none;
}
.dropdown-menu > li > a:hover {
   	color: #FFFFFF;
	background-color: #222222;   
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #ffffff;
  background-color: #444444;
   font-weight:bold;  
}
/* caret */
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #eeeeee;
    border-bottom-color: #eeeeee;
}
.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #FFF;
    border-bottom-color: #FFF;
}
.navbar-default .navbar-nav > .open > a .caret, 
.navbar-default .navbar-nav > .open > a:hover .caret, 
.navbar-default .navbar-nav > .open > a:focus .caret {
    border-top-color: #aaaaaa;
    border-bottom-color: #aaaaaa;
}
/* mobile version */
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:focus {
    border-color: #888888;
	background-color: #555555;	
}
.navbar-default .navbar-toggle:hover {
    background-color: #444444;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #EEEEEE;
}

/* sidebar navigation block */
.sidebarnav {
	margin:0 0 15px;
	padding:10px 10px;
	background-color: #666666;
	border: 1px solid #00b140;
	border-radius: 0;
	}
.sidebarnav ul {
	 padding: 0;
	 margin: 0;
	 list-style: none;
	 font-family: Arial, Helvetica, sans-serif;
	 font-size: 12px;
	 font-weight: bold;
	}
.sidebarnav li a {				/* helps fix the extra space bug in IE */
	display: inline-block;
	}
.sidebarnav li a {
	display: block;
	margin: 0;
	padding: 4px 6px 4px 6px;
	text-decoration: none;
	font-size: 105%;
	line-height: 1.2em;
	color: #ffffff;
	}
.sidebarnav li a:hover {
	text-decoration: none;
	color: #FFF;
	background: #222222;
	}
.sidebarnav li a:focus {
	text-decoration: none;
	font-size: 13px;
	color: #FFF;
	background: #222222;
	}	
.sidebarnav .head {
	 padding: 3px 0 0 3px;
	 margin: 0;
	 color: #00ce4b;
	
	 font-size: 105%;
	 font-weight: bold;
	}
.sidebarnav > li.active > a, 
.sidebarnav > li.active > a:hover, 
.sidebarnav > li.active > a:focus {
    color: #1D2B66;
    background-color: #7acc6c;
}
.sidebarnav > li.open > a, 
.sidebarnav > li.open > a:hover, 
.sidebarnav > li.open > a:focus {
    color: #1D2B66;
    background-color: #7acc6c;
}

.btn-info {
  color: #ffffff;
  background-color: #00b140;
  border-color: #005a21;
  border-radius: 8px;
}
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  color: #ffffff;
  background-color: #009436;
  border-color: #005a21;
}

.btn-lang {
  margin-top: 12px;
  margin-left:10px;
  padding: 4px 5px;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 3px;  
  color: #ffffff;
  background-color:#777777;
  border-color: #000000;
}
.btn-lang:hover,
.btn-lang:focus,
.btn-lang.focus,
.btn-lang:active,
.btn-lang.active,
.open > .dropdown-toggle.btn-lang {
  color: #ffffff;
  background-color: #666666;
  border-color: #000000;
  opacity:0.80;
}


.form-control {
  height: 22px;
  padding: 3px 8px;
  font-size: 12px;
}
	
/* format paragraph text div with added space and indentation */
.paraspace {margin-bottom: 25px;}
.paraspace p {padding-left: 6%;}
.paraspace dl, ul {padding-left: 8%;}

.cred {float:right;margin-bottom:4px;}

/* social media buttons in footer */
.socials {position:absolute;bottom:30px;right:15px;text-align:right;}
.socials img {margin-left:10px;width:22px;height:22px;}

.topbutton {
	position:absolute;right:5px;top:5px;
	color: #cccccc;
	background-color:#414141;
	border-color: #222222;	
	border-radius: 9px 9px 9px 9px;
	z-index:99;
}
.topbutton:hover,.topbutton:focus,.topbutton:active,
.topbutton.hover,.topbutton.focus,.topbutton.active,.topbutton.open  {
	color: #dddddd;
	background-color: #000000;
	border-color: #222222;
}

.rebox-button:hover,.rebox-button:focus {text-decoration:none;opacity:0.8;font-weight:bold;color:#FFFFFF;outline:none;}

@media (max-width: 991px) {
     .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #FFFFFF;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #FFFFFF;
    }
	/*.navbar-default .navbar-nav .active .dropdown-menu > li > a {
        color: #FFFFFF;
		background-color:transparent;
    }*/
	.dropdown-menu > .active > a,
	.dropdown-menu > .active > a:hover,
	.dropdown-menu > .active > a:focus {
  		color: #FFFFFF !important ;
  		background-color: transparent !important; 
	}
	.navbar-nav .open .dropdown-menu > li > a,
    .navbar-nav .open .dropdown-menu .dropdown-header,
	.navbar-nav .open .dropdown-menu>li>a {
        padding: 5px 15px 5px 45px;
     }
	
	.navbar-brand {
   		max-width:100%;
	}
	
	.carousel-caption {
		font-size:110%;
		font-weight:800;
		bottom:10px;	
		text-shadow: 12px;
	}
	
	body {
  	/* Margin bottom by footer height */
  	margin-bottom: 200px;  
	}
	.footer {
 	 /* Set the fixed height of the footer here */
  	height: 200px; 
	}
	
	.footback {
		min-height:183px;padding-top:16px;
		background:url(images/angry-dragon-nopylons300.png) left bottom no-repeat, url(images/otv-hills-pylons.png) left bottom no-repeat, url(images/otv-hills.png) left bottom repeat-x;
	}
	.footbackcym {
		min-height:183px;padding-top:16px;
		background:url(images/angry-dragon-dimpeilonau300.png) left bottom no-repeat, url(images/otv-hills-pylons.png) left bottom no-repeat, url(images/otv-hills.png) left bottom repeat-x;
	}
}

@media (min-width: 992px) {
	/* show dropdown on hover */
	.dropdown:hover .dropdown-menu {
		display: block;
	}
	.footback {
		min-height:158px;padding-top:16px;
		background:url(images/angry-dragon-nopylons420.png) left bottom no-repeat, url(images/otv-hills-pylons.png) left bottom no-repeat, url(images/otv-hills.png) left bottom repeat-x;
	}
	.footbackcym {
		min-height:158px;padding-top:16px;
		background:url(images/angry-dragon-dimpeilonau420.png) left bottom no-repeat, url(images/otv-hills-pylons.png) left bottom no-repeat, url(images/otv-hills.png) left bottom repeat-x;
	}
}

@media (max-width: 560px) {
	.navbar-brand {
   		max-width:320px;
	}
}


@media (max-width: 480px) {
		body {
		margin-bottom: 0px;
	}
	.footer {
  		position: relative;
  		height:auto;
  	}
	.footbottombar {
		position:relative;	
	}
	.footback {
		min-height:240px;
		background:url(images/angry-dragon-nopylons250.png) left bottom no-repeat, url(images/otv-hills-pylons.png) left bottom no-repeat, url(images/otv-hills.png) left bottom repeat-x;
	}
	.footbackcym {
		min-height:240px;
		background:url(images/angry-dragon-dimpeilonau250.png) left bottom no-repeat, url(images/otv-hills-pylons.png) left bottom no-repeat, url(images/otv-hills.png) left bottom repeat-x;
	}
	.socials {position:absolute;bottom:75px;right:15px;text-align:right;}

	h1 { 
  		font-size: 26px;
  		font-weight: 800;
	}
	h2 { 
  		font-size: 23px;
  		font-weight: 700;
	}
	h3 { 
  		font-size: 20px;
  		font-weight: 700;
	}
		
	.carousel-caption {
		font-size:90%;
		font-weight:800;
		bottom:10px;
		text-shadow: 5px;
	}
	
}
@media (max-width: 420px) {
	.navbar-brand {
   		max-width:260px;

	}
}