/*Colour definitions:
 * #CCCCCC - pale backgrounds
 * #00707f - base - fade from
 * #005867 - dark base - fade to
 *
 * #008399 - light base - hover
 * #F21649 - slightly darker base
 *
 * #CCC2C4 - bsub button backgrounds
 * #003640 - V Dark base = menu border etc.
 */

html{height: 101%;}

body
{
background-image: url('/common/graphics/layout/fadedown-lighter.jpg'); /* M J WEBB 130819 */
background-repeat:repeat-x;
font-family: 'exo 2', arial,Helvetica,sans-serif, FreeSans;
background-color: #f8f8f8; /* M J WEBB 130819 */
margin: 0px;
padding: 0px;
border: 0px;
}

div.width
{
max-width: 1202px;
min-width: 300px;
height: 100%;
margin: 0 auto;
}

ul.topmenu
{
float:left;
width:100%;
min-width:990px;
padding:0;
margin:0;
background-color: #005867;
background-image: url('/test_measure/graphics/buttons/b_tm_bar1.png');
background-repeat:repeat-x;
color: white;
list-style-type: none;
}

li.appmenu
{
padding-top: 0px;
}

li.news
{
padding-top: 10px;
}

ul.submenu
{
float:left;
width:100%;
min-width:990px;
padding:0;
margin:0;
background-image: url('/test_measure/graphics/buttons/sub_tm_bar.png');
background-repeat:repeat-x;
background-color: white;
color: black;
list-style-type:none;
}

.bsubbuttons {
    padding: 0px;
}

.bsubbuttons li{
    list-style-type: none;
    width: 13.2%;
    min-width: 110px;
    background-color: #cccccc;
    float: left;
    text-align: center;
    margin-right: 4px;
    margin-bottom: 12px;
    padding: 3px;
    border-radius: 4px;
}

.bsubbuttons li a {color:#444; display: block;}
.bsubbuttons li a:hover {color: #000; text-decoration: none;
}


.bdesel {
    background: linear-gradient(to bottom, #eee , #cccccc);
}

.bsel {
    font-weight: 400;
    background: linear-gradient(to bottom, #cccccc , #eee);
    box-shadow: 2px 2px 2px #aaa inset;
}

/* YRMENU - for years in archive */
ul.yrmenu
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}

ul.yrmenu li
{display:inline}

a.yrmenu
{
float:left;
width:50px;
height: 20px;
background-image: url('/test_measure/graphics/buttons/bsub_tm_out_50.png');
background-repeat: no-repeat;
text-decoration:none;
background-color: white;
color: #808080;
text-align: center;
padding: 3px 0px;
font: normal normal 300 13px 'exo 2', arial, helvetica, sans-serif;
}

a.yrmenu:hover { text-decoration: none;
color: #505050;
}

a.yrmenuselected
{
float:left;
width:50px;
height: 20px;
background-image: url('/test_measure/graphics/buttons/bsub_tm_in_50.png');
background-repeat: no-repeat;
text-decoration:none;
background-color: white;
color: #505050;
text-align: center;
padding: 3px 0px;
font: normal normal 400 13px 'exo 2', arial, helvetica, sans-serif;
}

a.yrmenuselected:hover
{
text-decoration: none;
color: #808080;
}


ul.flowlist
{
float:left;
margin: 0px;
padding: 0px;
list-style-type: none;

}

ul.flowlist li
{
display:inline;
float: left;
padding: 10px;
margin: 10px;
background-color: #f0f0f0;
border-radius: 4px;
box-shadow: 4px 4px 5px #aaa;
}


ul.appmenu
{
padding:0px;
margin: 0px;
border: 0px;
list-style-type:none;
}

ul.appmenu li
{
background-image: url('graphics/buttons/micro_logo.png');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 13px;
}


ul.news
{
width:80%;
min-width:200px;
padding:0;
Margin-top:20px;
margin-right:20px;
margin-left: 0;
border: 0;
background-color: white;
color: black;
font-size: 8pt;
list-style-type: none;
}

a.topmenu
{
float:left;
width:105px;
height: 22px;
background-image: url('/test_measure/graphics/buttons/b_tm_bar1.png');
background-repeat: repeat-x;
text-decoration: none;
background-color: #005867;
text-align: center;
color: white;
padding-top: 8px;
font: normal normal 600 11px arial, helvetica, sans-serif, FreeSans;
}

ul.side_news_menu
{
padding-left: 25px;
}


ul.side_news_menu
{
color:black;
background-color: #ccc;
width:160px;
padding:0px;
margin: 0px;
border: 0px;
list-style-type:none;
font: normal normal normal 11px arial, helvetica, sans-serif;
}

ul.side_news_menu li
{
background-image: url('graphics/buttons/microdoc.png');
background-repeat: no-repeat;
padding-left: 25px;
}

a.side_news_menu
{
text-decoration:none;
color: black;
}

a.side_news_menu:hover
{text-decoration: none;
color: #00707F;
}


ul.featurelist
{
color:black;
background-color: #ccc;
padding:0px;
margin:0px;
border: 0px;
list-style-type:none;
}


a.featurelist
{
background-image: url('graphics/buttons/micro_logo_white.gif');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 13px;
color: black;
font: normal normal normal 12px arial, helvetica, sans-serif;
line-height: 22px;
}

a.featurelist:hover
{text-decoration: none;
color: #00707F;
}

a.topminimenu
{
background-image: url('graphics/buttons/micro_logo.png');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 13px;
color: white;
font: normal normal normal 10px arial, helvetica, sans-serif;
}

a.topminimenu:hover { text-decoration: none;
color: #b0d2d5;
}


div.header
{
width: 100%;
min-height: 90px; /* MJWEBB 120819 */
min-width: 240px;
border: 0px;
margin: 0px;
padding: 0px;
}

div.siteheader
{
color:white;
min-width:950px;
width: 100%;
min-height: 90px;
/*background-color:#00707F;*/
border: 0px;
margin: 0px;
padding: 0px;
}


div.footer
{
text-align: center;
clear:both;
color:gray;
min-height: 80px;
border: 0px;
margin-left: 0px;
padding: 0px;
}


h1 {
font-size: 22px;
line-height: 20px;
font-weight: 500;
color: #00707F;
}

h2 {
font-size: 16px;
font-weight: 400;
margin-bottom: 5px;
margin-top: 5px;
color:#00707F;
padding-left: 6px;
padding-right: 6px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #F0F0F0 ;
clear: both;
border-radius: 3px;
}

div.heritagePage h2 { /* M J Webb 20/12/16 */
font-size: 22px;
padding: 7px;
padding-left: 6px;
}

h3 {
font-size: 13px;
font-weight: 500;
margin-bottom: 2px;
margin-top: 5px;
color:#00707F;
}

div.heritagePage h3 { /* M J Webb 20/12/16 */
font-size: 19px;
}


td.specs {
font-size: 10px;
}

li.inline {display:inline}

input, select
{
font-size: 13px;
line-height: 18px;
font-weight: 300;
font-style: normal;
color: rgb(0, 0, 0);
}

.text_input {
  width: 95%;
  max-width: 300px;
}

input[type='radio'], label
{
margin-top: -1px;
vertical-align: middle;
}

.bodycopy
{
font-size: 13px;
line-height: 16px;
font-weight: normal;
font-style: normal;
color: rgb(0, 0, 0);
}

.error_text
{
font-size: 13px;
font-weight: 500;
line-height: 16px;
color: red;
}

.specsmall
{
font-size: 10px;
line-height: 13px;
}

a { text-decoration: none;}

a:hover { text-decoration: underline;}

b
{
font-weight: 500;
}

.specsmallCopy
{
font-size: 10px;
line-height: 13px;
}

.specbold
{
font-size: 11px;
line-height: 13px;
font-weight: bold;
}

.bodysmall
{
font-size: 10px;
font-style: normal;
line-height: 12px;
font-weight: normal;
}

.smallitalics
{
 font-size: 0.8em;
 font-style: italic;
}

.newslist
{
font-size: 11px;
line-height: 12px;
}


.leftbottomlist {
font-size: 11px;
font-style: normal;
line-height: 13px;
font-weight: bold;
}

.plus
{
font-size: 13px;
width: 30px;
font-style: normal;
font-weight: 700;
color: #005e78;
background-color: #CCCCCC;
vertical-align: top;
text-align: center;
cursor: pointer;
padding-top: 0px;
border-radius: 4px;
}

div.icon_button
{
font-size: 14px;
font-style: normal;
font-weight: bold;
color: #005e78;
background-color: #cccccc;
width: 30px;
vertical-align: top;
text-align: center;
cursor: pointer;
border-radius: 3px;
}

img.button_icon
{
margin-top: 0px;
margin-left: auto;
margin-right: auto;
display: block;
}

td.button_cell
{
width: 30px;
vertical-align: top;
}


.faqquestion
{
cursor: pointer;
background-color: #F0f0f0;
}

.faqquestion:hover
{
color: blue;
text-decoration: underline;
}

.heading
{
font-weight: 500;
color: #005e78;
font-size: 14px;
line-height: 16px;
}

.param
{
color: #005e78;
padding-left: 4px;
}

.graylink
{
font-weight: normal;
font-size: 9px;
color: #999999;
}

.specval {
font-weight: normal;
font-style: normal;
color: rgb(0, 0, 0);
font-size: 10px;
}

.specheading {
font-weight: bold;
font-style: normal;
color: rgb(0, 94, 120);
font-size: 14px;
}

.specgroup {
font-weight: bold;
font-style: normal;
color: rgb(0, 94, 120);
font-size: 11px;
}

.apptitle {
font-weight: bold;
color: rgb(0, 94, 120);
font-size: 16px;
font-style: normal;
}

.bodynotes {
font-size: 11px;
}

.codecomment { color: rgb(0, 153, 0);
}

.codefunct { color: rgb(51, 51, 255);
}

.codetext { color: rgb(102, 0, 204);
}

.corporate {
font-weight: normal;
font-size: 10px;
line-height: 12px;
color: rgb(153, 153, 153);
}

img.centred
{
display: block;
margin-left: auto;
margin-right: auto;
}

.img-pic-right
{ /* Added by M J Webb for the Heritage Page coming into Test & Measure */
float:right;
padding:10px;
margin-left: 0%;
margin-right: 0%;
margin-top: 0%;
margin-bottom: 0%;
}

.img-pic-left
{ /* Added by M J Webb for the Heritage Page coming into Test & Measure */
float:left;
padding:10px;
margin-left: 0%;
margin-right: 0%;
margin-top: 0%;
margin-bottom: 0%;
}

div.clearfix
{ /* Added by M J Webb for the Heritage Page coming into Test & Measure */
    overflow: auto;
}

div.leftpanel
{
font-family: 'exo 2', arial,Helvetica,sans-serif, FreeSans;
font-style: normal;
font-weight: 300;
font-size: 13px;
position: absolute;
left: 10px;
top: 95px;
max-width:200px;
padding: 10px;
background-color: #fff;
border-radius: 4px;
box-shadow: 4px 4px 5px #aaa;
}

div.cardpanel
{
text-align: right;
padding: 6px;
box-shadow: 4px 4px 5px #aaa;
border-radius: 4px;
}

div.cardpanel1
{
background-color: #ddd;
padding: 5px;
margin-bottom: 2px;
border-radius: 4px;
}


div.content
{
font-family: 'exo 2', arial,Helvetica,sans-serif, FreeSans;
font-style: normal;
font-weight: 300;
font-size: 13px;
padding:0;
margin:0;
margin-left: 3%;
margin-right: 3%;
margin-top: 10px;
margin-bottom: 10px;
background-color: white;
color: black;
list-style-type: none;
z-index: 0;
}

div.content.heritagePage /* M J Webb Added 20/12/16 */
{
font-size: 15px;
line-height: 22px;
}

div.content-left
{
float: left;
width: 55%;
}

div.content-right
{
float:right;
width: 35%;
min-width: 150px;
}

div.left-half
{
float: left;
width: 48%;
}

div.right-half
{
float:right;
width:48%;
min-width: 150px;
}

/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.col {
    display: block;
    float:left;
    margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }


/*  GROUPING  */
.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}

/*  GRID OF THREE  */
.span_3_of_3 {
    width: 100%;
}
.span_2_of_3 {
    width: 66.1%;
}
.span_1_of_3 {
    width: 32.2%;
}


/*  GRID OF TW0  */
.span_1_of_2 {
    width: 46.1%;
}


img.logo
{
margin: 0;
border:0;
padding:0;
float: left;
width: auto; /* M J WEBB 130819 */
height: 80px; /* M J WEBB 130819 */
}

div.search
{
float: right;
width: 140px;
height: 30px;
margin-top: 1px;
margin-bottom: 0px;
border: 0px;
padding-right: 10px;
padding-top: 10px;
text-align: right;
}

div.main
{
width:100%;
min-height: 600px;
padding:0;
padding-top: 10px;
padding-bottom: 10px;
margin:0;
background-color: white;
margin-top: 1px;
border-radius: 4px;
border-top-left-radius: 0px; /* MJWEBB 120819 */
border-top-right-radius: 0px; /* MJWEBB 120819 */
box-shadow: 4px 4px 5px #aaa;
}

div.appmenu
{
width: 100%;
padding-left: 10px;
padding-right: 35px;
margin:0;
color: black;
padding-top: 5px;
}

td.value
{
text-align: right;
vertical-align: top;
padding: 2px;
padding-right: 4px;
}

td.param
{
vertical-align: top;
width: 160px;
padding: 2px;
}

tr.specs
{
background-color: #ccc;
color: black;
}

table.spectable
{width: 100%; margin-right: -3px; border:0px; padding: 0px; margin: 0px;}

table.specsubtable
{width: 100%; margin-right: -3px; border: 0px; padding: 0px; border-spacing: 1px;}

table.contacttable
{width: 100%; margin-right: -3px; border:0px; padding: 0px;}


table.codebox
{
background-color: #eee;
margin-right: -3px;
border:1px;
padding: 5px;}

td.codebox
{
vertical-align: top;
padding-left: 4px;
}

td.codeboxlines
{width: 30px;
vertical-align: top;
color: white;
background-color: #aaa;
padding-left: 4px;
font-weight: bold;
}


td.country
{
vertical-align: top;
width: 150px;
background-color: white;
}

td.address
{
vertical-align: top;
width: 250px;
color: black;
background-color: white;
}

td.contact
{
vertical-align: top;
color: black;
background-color: white;
}


ul.footer
{
text-align: center;
width:100%;
height: 60px;
padding:0px;
margin: 0px;
list-style-type:none;
display: block;
}

ul.footer li
{
height: 80px;
display: inline;
margin-left: auto;
margin-right: auto;
vertical-align: middle;
}

ul.footer a:hover { text-decoration: none;
}

ul.footer a
{
text-decoration:none;
font: normal normal normal 10px 'exo 2', arial, helvetica, sans-serif, FreeSans;
line-height: 120%;
}

table.appheader
{width: 100%; margin-right: -3px; border:0px; padding: 0px;}

td.appheader
{width: 90px;
background-color: #00707F;
color: white;
font-size: 11px;
font-weight: bold;
text-align: center;
}

td.appcheck
{background-color: white;
color: black;
text-align: center;
}

table.faqtable
{width: 100%; margin-right: -3px; border:0px; padding: 0px;}

tr.faqheader
{
background-color: #00707F;
color: #FFFFFF;
padding-left: 4px;
font-weight: 400;
}

tr.faqheader td
{
padding-left: 4px;
}

table.layout_table
{width: 100%; margin-right: -3px; border:0px; padding: 0px;}

table.layout_table td
{
padding: 3px;
vertical-align: top;
}


table.downloadtable
{width: 100%; margin-right: -3px; border:0px; padding: 0px;}

table.formtable
{width: 100%; margin-right: -3px; border:0px; padding: 0px;}

table.formtable tr
{
background-color: #f0f0f0;
vertical-align: top;
}

table.formtable td
{
padding-left: 4px;
}

td.formprompt
{
padding: 3px;
width: 200px;
color: black;
}

td.quizprompt
{
padding: 3px;
width: 400px;
color: black;
}


td.formentry
{
padding: 3px;
color: black;
}

td.formheader
{
background-color: #00707F;
color: white;
font-size: 13px;
padding-left: 4px;
}

td.download_item
{
background-color: #F0F0F0;
color: black;
padding-left: 4px;
}


td.background
{
background-color: #ccc;
color: black;
text-align: center;
}


tr.shaded
{
background-color: #f5f5f5;
}

ul.rating{
padding: 6px;
list-style-type: none;
width: 200px;
color: #646464;
font-size: 10px;
font-style: normal;
line-height: 2em;
}

li.rating_0{
background-image: url('graphics/buttons/rating_0.png');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 85px;
}


li.rating_1{
background-image: url('graphics/buttons/rating_1.png');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 85px;
}

li.rating_2{
background-image: url('graphics/buttons/rating_2.png');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 85px;
}

li.rating_3{
background-image: url('graphics/buttons/rating_3.png');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 85px;
}

li.rating_4{
background-image: url('graphics/buttons/rating_4.png');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 85px;
}

li.rating_5{
background-image: url('graphics/buttons/rating_5.png');
background-repeat: no-repeat;
text-decoration:none;
padding-left: 85px;
}


ul.sitelist
{
float: left;
list-style-type:none;
padding:0;
margin:0;
}

ul.sitelist li
{
float:left;
height: 18px;
width:100%;

}

ul.sitelist a
{
float:left;
height: 15px;
width:188px;
text-decoration:none;
color: white;
text-align: center;
margin: 0px 0px;
padding: 2px 0px;
font: normal normal 600 11px arial, helvetica, sans-serif;
}

a.info{
position:relative; /*this is the key*/
z-index:24; background-color:#ffc;
color:#000;
text-decoration:none}

a.info:hover{z-index:25; background-color:#ffA}

a.info span{display: none}

a.info:hover span{ /*the span will display just on :hover state*/
display:block;
position:absolute;
font-size: 8pt;
line-height: 120%;
top:2em; left:2em; width:18em;
border: 1px solid #CCA;
padding: 2px;
background-color:#FFA; color:#000;
text-align: left}


table.feature_table
{
font-size: 10px;
width: 100%; margin-right: -3px; border: 0px; padding: 0px; border-spacing: 1px;
}

table.feature_table td
{
vertical-align: top;
text-align: center;
padding: 2px;
font-weight: normal;
color: rgb(0, 94, 120);
font-size: 11px;
line-height: 14px;
padding-left: 10px;
}

table.feature_table tr
{
background-color: #ccc;
}

a.whitelink
{
background-image: url('graphics/buttons/micro_logo.png');
background-repeat: no-repeat;
margin-left: 5px;
padding-left: 15px;
text-decoration:none;
color: white;
font: normal normal normal 10px  arial unicode ms, arial sans-serif, helvetica;
}

a.whitelink:hover {
text-decoration: none;
color: #ccc;
}

td.index_card
{
vertical-align: top;
text-align: left;
width: 300px;
height: 170px;
background-repeat: no-repeat;
padding: 15px;
}


ul.sitemenu
{
float: left;
list-style-type:none;
min-width:950px;
padding:0;
margin:0;
width: 100%;
background-color: #ccc;
}

ul.sitemenu li
{
display:inline;
float:left;
height: 18px;
width:160px;
}

ul.sitemenu a
{
float:left;
height: 18px;
width: 100%;
text-decoration: none;
color: white;
text-align: center;
margin: 0px 0px;
padding: 2px 2px;
font: normal normal 600 11px arial, helvetica, sans-serif;
}

ul.sitemenu a:hover
{
text-decoration: none;
color: #ccc;
}



/*Stop overflow*/
img,
embed,
object,
video {
  max-width: 100%;
  border: 0px;
}

div.video_thumb {
width: 160px;
height: 120px;
position:relative;
display:block;
}

div.video_thumb img {
width: 160px;
height: 120px;
background-color: #444;
position: relative;
z-index: 5;
}

div.video_thumb img:hover {
cursor: pointer;
}

.play {
width: 160px;
height: 120px;
background: url(/common/graphics/icons/play.png) no-repeat center;
position: absolute;
top: 0px;
left: 0px;
z-index:6;
opacity: 0.0;
}

.play:hover {
opacity: 0.7;
cursor: pointer;
}

div.videotitle {
background-color: #000;
text-align: center;
color: #fff;
font: normal normal normal 11px arial, helvetica, sans-serif, FreeSans;
}

div.videotitle:hover {
cursor: pointer;
}

#search_icon
{
float:right;
padding-left: 4px;
width: 22px;
}

#back2topcontainer
{
padding: 5px 0px;
text-align: center;
}

.TestMeasureButton {
    background-color: #fff;
    display: inline-block;
    min-width: 175px;
    padding: 8px 0;
    margin: 0;
    border: 2px solid #007281;
    color: #007281;
    font-size: 14px;
    font-weight: 600;
    font-family: 'exo 2', Arial,Helvetica,sans-serif, FreeSans;
    line-height: 1.42857143;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
.TestMeasureButton:hover {
    text-decoration: none;
    color: #fff;
    border: 1px solid transparent;
    background-color: #007281;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0);
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}
.btn-block {
    display: block;
    width: 100%;
}
.animated.infinite {
    animation-iteration-count: infinite;
}
.pulse {
    animation-name: pulse;
}
@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1);
  }

  10% {
    transform: scale3d(1.05, 1.05, 1.05);
  }

  20% {
    transform: scale3d(1, 1, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}
.animated {
    animation-duration: 5s;
    animation-fill-mode: both;
}

/* MENU DEFINITIONS */
#menu, #menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #menu {
        max-width: 100%;
        margin: 2px auto;
        border: 1px solid #003640;
        background-color: #005867;
        background-image: linear-gradient(#00707F, #005867);
        border-radius: 0px; /* M J WEBB 120819 */
        box-shadow: 0 1px 1px #777, 0 1px 0 #008399 inset;
    }

    #menu:before,
    #menu:after {
        content: "";
        display: table;
    }

    #menu:after {
        clear: both;
    }

    #menu {
    /*  zoom: 1; */
    }

    #menu li {
        float: left;
        border-right: 1px solid #222;
        box-shadow: 1px 0 0 #008EA6;
        position: relative;
    }

    #menu a {
        float: left;
        padding: 6px 25px;
        color: #ddd;
        font: Normal 14px 'exo 2', arial, Helvetica;
        text-transform: uppercase;
        text-decoration: none;
    }

    #menu li:hover > a {
        color: #fafafa;
    }

    #menu ul {
        margin: 20px 0 0 0;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 28px;
        left: 0;
        z-index: 8;
        background: #008EA6;
        background: linear-gradient(#008EA6, #005867);
        box-shadow: 0 -1px 0 rgba(255,255,255,.3);
        border-radius: 3px;
        transition: all .2s ease-in-out;
    }

    #menu li:hover > ul {
        opacity: 1;
        visibility: visible;
        margin: 0;
    }

    #menu ul ul {
        top: 0;
        left: 150px;
        margin: 0 0 0 20px;
        box-shadow: -1px 0 0 rgba(255,255,255,.3);
    }

    #menu ul li {
        float: none;
        display: block;
        border: 0;
        box-shadow: 0 1px 0 #005867, 0 2px 0 #008399;
    }

    #menu ul li:last-child {
        box-shadow: none;
    }

    #menu ul a {
        padding: 10px;
        width: 190px;
        max-width: 100%;
        display: block;
        white-space: nowrap;
        float: none;
        text-transform: none;
    }

    #menu ul a:hover {
        background-color: #00414C;
        background-image: linear-gradient(#004C59, #00414C);
    }

    #menu ul li:first-child > a {
        border-radius: 3px 3px 0 0;
    }

    #menu ul li:first-child > a:after {
        content: '';
        position: absolute;
        left: 40px;
        top: -6px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #008EA6;
    }

    #menu ul ul li:first-child a:after {
        left: -6px;
        top: 50%;
        margin-top: -6px;

        border-left: 0;
        border-bottom: 6px solid transparent;
        border-top: 6px solid transparent;
        border-right: 6px solid #008EA6;
    }

    #menu ul li:first-child a:hover:after {
        border-bottom-color: #008EA6;
    }

    #menu ul ul li:first-child a:hover:after {
        border-right-color: #008EA6;
        border-bottom-color: transparent;
    }

    #menu ul li:last-child > a {
        border-radius: 0 0 3px 3px;
    }


/* TOUCH MENU DEFINITIONS */
#touch {
    position: absolute;
    top: 90px;
    left: 2px;
    z-index: 8;
}

#tmenu, #tmenu ul {
        opacity: 1;
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
        max-width: 400px;
    }

    #tmenu ul {
        background: #008EA6;
        display: block;
    }

    #tmenu {
        width: 100%;
        border: 1px solid #003640;
        background-color: #005867;
        box-shadow: 0 1px 1px #777, 0 1px 0 #008399 inset;
    }

    #tmenu a {
        border: 1px solid #003640;
        padding: 6px 10px;
        color: #ddd;
        text-transform: uppercase;
        font: bold 14px 'exo 2', arial, Helvetica;
        text-decoration: none;
        display: block;
    }

    #tmenu ul a {
        padding: 10px  30px;
        white-space: nowrap;
        text-transform: none;
        font: normal 14px 'exo 2', arial, Helvetica;

    }

.subsel
{
    background: #005867;
    max-width: 100%
}

/*Media query break points*/
@media screen and (max-width: 1700px) {

    div.leftpanel
    {
        display: none;
    }

}

@media screen and (max-width: 1000px) {

    /*6 buttons across*/
    .bsubbuttons li{
        width: 15.2%;
    }

}



@media screen and (max-width: 900px) {

    /*5 buttons across*/
    .bsubbuttons li{
        width: 18.4%;
    }

}


@media screen and (max-width: 700px) {

    /*Content 2 column layout - disappears below breakpoint */
    div.content-left,
    div.content-right,
    div.left-half,
    div.right-half
    {
        float: none;
        width: 100%;

    }

    /*hide menu items below breakpoint */
    .top, .topsel, .sub, .subsel, .bsub
    {
        display: none;
    }

    .bsubbuttons li{
        width: 23%;
    }

        /*Content column layout - disappears below breakpoint */
    .span_1_of_3, .span_2_of_3, .span_3_of_3, .span_1_of_2
    {
        width: 100%;
    }

    .col {
        margin: 1% 0 1% 0%;
    }


}

@media screen and (min-width: 700px) {

    #back2topcontainer
    {
        display: none;
    }

}


@media screen and (max-width: 600px) {


    .bsubbuttons li{
        width: 31%;
    }

}


@media screen and (max-width: 500px) {


    .bsubbuttons li{
        width: 46%;
    }

}


@media screen and (max-width: 450px) {

    .menu_home
    {
        display: none;
    }

    div.search
    {
        position: absolute;
        top: 54px;
        right: 4px;
    }

    div.content
    {
        font-size: 14px;
    }

}

.formerly {
  font-size: smaller;
}
