h1, h2, h3, h4 {font-family: "Frutiger LT W01_65 Bold1475746", arial, sans-serif; font-weight: normal;}

hr {margin: 10px auto 20px auto!important; background: #cccccc!important;}

table {margin: 0 0 20px 0!important;}
table th p {color: #ffffff!important; padding: 0!important;}
table td p {padding: 0!important;}

.labmednav {padding: 0 0 10px 140px; position: relative; border-bottom: 1px solid #cccccc; margin: 0 0 30px 0;}
.labmednav p.more {position: absolute; top: 0; left: 0;}
.labmednav ul {padding: 0; margin: 0; width: 100%;}
.labmednav li {list-style: none; float: left; font-weight: bold; color: #231f20;}
.labmednav li:first-child span {display: none;}
.labmednav li a {text-decoration: none; color: #231f20;}
.labmednav li.selected a, .labmednav li:hover a {color: #005eb8;}

.main-wrap.labmedmain {padding: 0 20px; background: url(https://www.yorkhospitals.nhs.uk/images/labmed-wrap.png) repeat-x top left; background-size: auto 100%;}
.main-wrap.labmedmain .main {padding: 0 0 40px 0;}
.main-wrap.labmedintro {padding: 0 20px; background: #e9edee;}
.main-wrap.labmedintro .main {padding: 50px 0 0 0;}
.main-wrap.labmedintro .main h2.title {color: #005eb8; font-size: 5.4rem; line-height: 1.5; font-family: "Frutiger LT W01_65 Bold1475746", arial, sans-serif; border: none; padding: 0; margin: 0;}

.breadcrumb p {padding: 0!important;}

.labmed h3, .labmed h2, .labmed h1, .labmed p {padding: 0 0 20px 0;}
.labmed h1, .labmed h2, .labmed h3, .labmed h4 {color: #262223;}

.labmedtestgrid {width: 102%; margin-left: -2%;}
.labmedtestgrid .box {background: #ffffff; border-radius: 10px; -webkit-box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); -moz-box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); box-sizing: border-box; padding: 15px 15px 40px 15px; float: left; width: 31%; margin: 0 0 2% 2%; position: relative;}
.labmedtestgrid .box.b3, .labmedtestgrid .box.b4 {background: #e5f3d2;} /* Biochemisty and point of care testing - green */
.labmedtestgrid .box.b5, .labmedtestgrid .box.b6, .labmedtestgrid .box.b7 {background: #f8d5d3;} /* Haemotology, blood transfusion & immunology - red */
.labmedtestgrid .box.b8 {background: #daf0fa;} /* Microbiology - blue */
.labmedtestgrid .box.b9, .labmedtestgrid .box.b10 {background: #d8cce4;} /* Histoloy & cytology - mauve */
.labmedtestgrid .box.b11 {background: #e2e7ea;} /* Mortuary - dove grey */
.labmedtestgrid .box p.readmore {position: absolute; left: 15px; bottom: 15px; padding: 0;}
/* .labmedtestgrid .box p.introtext {position: absolute; left: 15px; top: 96px; padding: 0;} */
.labmedtestgrid .box p.introtext {display: inline-block; padding: 0; width: 160px;}
.labmedtestgrid .box p a {color: #231f20; text-decoration: none;}
.labmedtestgrid .box h3 {color: #231f20; font-family: "Frutiger LT W01_65 Bold1475746", arial, sans-serif; font-size: 1.4rem; padding: 0 30px 20px 0; position: relative;}
.labmedtestgrid .box h3 a {color: #231f20; text-decoration: none;}
.labmedtestgrid .box h3 i {position: absolute; top: 0; right: 0;}

.labmedtestgrid.generalinfo .box {background: none!important; padding: 0!important; border-radius: 0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; box-sizing: border-box; height: auto!important; min-height: 0!important;}
.labmedtestgrid.generalinfo .box .link {background: #005eb8; padding: 15px; border-radius: 10px; -webkit-box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); -moz-box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); box-sizing: border-box;}
.labmedtestgrid.generalinfo .box .link h3 {color: #ffffff; font-size: 1rem; padding-bottom: 0;}
.labmedtestgrid.generalinfo .box .link h3 a {color: #ffffff;}
.labmedtestgrid.generalinfo .box .children {padding: 15px; display: none;}
.labmedtestgrid.generalinfo .box.selected .children {display: block;}
.labmedtestgrid.generalinfo .box .children p {padding: 0 0 5px 0; color: #000000;}

.homeintro {padding: 20px 0 0 0;}

.labmedtestgrid.tests .box {position: relative;}
.labmedtestgrid.tests .box h3 {color: #005eb8; padding: 0; margin: 0;}
.labmedtestgrid.tests .box h4 {font-family: "Frutiger LT W01_65 Bold1475746", arial, sans-serif; margin: 0; padding: 0 0 20px 0; font-size: 1.1rem; color: #adaea7; padding-right: 140px;}
.labmedtestgrid.tests .box img.testtube {position: absolute; bottom: 20px; right: 20px;}

.labmedtestsearch {max-width: 300px; width: auto; margin: 0 0 20px 0; position: relative;}
.labmedtestsearch input {height: 40px!important; margin: 0!important; border-radius: 5px!important; padding: 0 50px 0 20px;}
.labmedtestsearch input[type="submit"] {height: 19px!important; width: 19px; position: absolute; top: 10px; right: 10px; background: url(https://www.yorkhospitals.nhs.uk/images/search-icon.png); background-size: 100%; border: none; padding: 0;}

.main h1 {font-size: 2rem;}
.main h2 {font-size: 1.6rem;}
.main h3 {font-size: 1.4rem;}
.main h4 {font-size: 1.2rem;}

div.title {margin: 0; padding: 20px 0; border: none;}
div.title p {color: #231f20; padding: 0; border: 0;}
div.title p span {color: #768692;}

a.labmedbutton, a.labmedbutton:hover {display: inline-block; padding: 10px 20px; background: #005eb8; text-decoration: none; color: #ffffff; font-family: "Frutiger LT W01_65 Bold1475746", arial, sans-serif; border-radius: 5px; -webkit-box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); -moz-box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.5); box-sizing: border-box; margin: 0 0 20px 0;}

/* Skip to content */
.stclink {background: #005eb8; display: inline-block; z-index: 99999; left: 50%; padding: 8px; position: absolute; transform: translateY(-100%); transition: transform 0.3s; color: #ffffff!important; font-weight: bold; text-decoration: none;}
.stclink:focus {transform: translateY(0%);}

@media (max-width: 667px){
  .main-wrap.labmedintro .main h2.title {font-size: 4rem; padding: 0 0 20px 0;}

  .labmedtestgrid .box {width: 98%; height: auto!important; min-height: 140px!important; margin: 0 0 20px 2%;}

  .labmed .intro {padding: 0;}

  .main-wrap.labmedmain .main {padding: 0;}
}
