﻿/*ipad Portrait */

@media only screen and (min-width: 768px)
{
    .rwd-break
    {
        display: block;
    }

    #container
    {
    }

    #cookiewarn
    {
    }
    #topline
    {
    }

    #toplineright
    {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .headwrapper
    {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    #homecontainer
    {
    }



    .topnut
    {
        width: 100%; /*height: 277px;*/
        height: 277px;
        background-image: none;
        background-size: 100%;
        margin-top: 102px;
    }

    .flexslider
    {
        display: block; /*demo 1 slider theme*/
        margin: 0 0 60px;
        background: #fff; /*border: 4px solid #fff;         -webkit-border-radius: 4px;         -moz-border-radius: 4px;         -o-border-radius: 4px;         border-radius: 4px;         box-shadow: 0 1px 4px rgba(0,0,0,.2);         -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);         -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);         -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);*/
    }

    .hb1, .hb2
    {
        margin-right: 14px;
    }

    #lefthome
    {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 20px;
        position: relative;
        padding-top: 21.83%;
    }

    /*Sliding image and textbox*/
    .slidebannerholder
    {
        position: absolute;
        top: 40px;
        margin-left: 5%;
        height: 500px;
        width: 90%;
    }

    .slidebanner
    {
        display: block;
        height: 140px;
        position: relative;
        width: 620px;
        margin-bottom: 10px;
        background-image: url('/images/green50.png');
        display: block; /*20141015padding: 15px;*/
        padding: 15px 15px 15px 20px;
        margin-left: 0px;
    }

    .slidebanner h1
    {
        color: #ffffff;
        font-size: 2.6em;
        font-weight: 400;
        margin: 0px !important;
        word-spacing: -0.12em;
    }
    .slidebanner h2
    {
        color: #ffffff;
        font-size: 2em;
        font-weight: 400;
        margin: 0px !important;
        word-spacing: -0.12em;
    }

    .slidebanner p
    {
        color: #ffffff;
        font-size: 1.2em;
        m-argin: 0px !important;
        line-height: 1.1em;
        margin-top: 10px;
    }




    #leftinner
    {
        width: 690px;
        b-order: 1px solid green;
        position: relative; /*top: 20px;*/
    }

    .homeboxholder
    {
        width: 220px;
        height: 220px;
        float: left;
        display: block;
        position: relative;
    }

    .homebox img
    {
        display: block;
        margin-bottom: 13px;
        margin-top: 13px;
    }

    .homebox
    {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0; /*fill parent*/
        color: #ffffff; /*20141015padding: 10px;         padding-left: 20px;         padding-right: 20px;*/
        padding: 10px 20px 0px 20px;
    }

    .homebox p
    {
        font-size: 0.75em;
    }

    #homecontactbutton
    {
        display: none;
    }



    #leftinner2
    {
        width: 690px;
        position: relative;
        t-op: 450px;
    }

    #homebrochuresthumbs
    {
        float: right; /*width: 330px;*/
        border: 0px solid green;
        padding-right: 10px;
    }

    #homebrochures
    {
        display: block;
        position: relative;
        width: 66%;
        float: right;
        background-color: rgb(57,111,116);
        background-color: rgba(57,111,116,0.5);
        margin-top: 15px;
        padding: 10px;
        color: #ffffff;
    }

    #homebrochurestext
    {
        max-width: 34%;
        float: left;
        font-size: 0.7em;
        padding: 10px 0px 5px 5px;
    }

    #homebrochures img
    {
        max-width: 100%;
        height: auto;
        border: 0px solid red;
    }

    #leftinner3
    {
        width: 690px;
        position: relative;
        t-op: 630px;
        float: right;
    }


    /*unsorted below 20140929*/
    #hubtitlecontainer
    {
        width: 90%;
        margin-left: auto;
        margin-right: auto; /*20141015margin-left: 5%;     m-argin-top: 15px;     h-eight: 40px;*/
        padding: 0px;
    }

    #hubtitle
    {
        margin: 0px;
        margin-left: -15px;
    }

    #aboutuscontent
    {
        width: 70%;
        float: left;
        margin-right: 5%;
        font-size: 0.8em;
        margin-top: 10px;
    }

    #aboutuscopy
    {
        width: 74%;
    }
    .looper-inner div
    {
        height: 60px;
    }

    #hubnavigation
    {
        max-width: 100%; /*20141015margin-left: auto;*/
        margin-left: 4.3%; /*20141015margin-right: auto;         margin-right: 2.3%;*/
        text-align: center;
    }

    .hubnavcontainer
    {
        width: 30%;
        margin-left: 4%;
        background-size: cover;
        display: inline-table;
        position: relative;
    }

    .hubnavcontainer:after
    {
        content: "";
        display: block;
        padding-top: 80%; /* initial ratio of 1:1*/
    }

    #hubnavigation > div:first-child
    {
        margin-left: 0;
    }

    .hubnavlink
    {
        height: 105px;
        text-align: center;
        color: #ffffff;
        font-size: 1.2em;
        padding: 10px;
        position: absolute;
        top: 33px;
        display: table;
        vertical-align: middle;
    }

    .vmid
    {
        text-align: center;
    }

    .hubnavlink a
    {
        text-decoration: none;
        color: #ffffff;
        padding-top: 20px;
    }

    #homebannerholder
    {
        display: block;
    }

    #homebannerholder:after
    {
        padding-top: 5%; /*16:9 ratio*/
        display: block;
        content: '';
    }

    #homebanner
    {
        display: block;
        padding: 10px;
        height: 180px;
        position: relative;
        width: 80%;
        margin-bottom: 10px;
        background-image: url('/images/green50.png');
        display: block;
        padding: 15px;
        margin-left: 0px;
    }




    #homebanner h1
    {
        color: #ffffff;
        font-size: 3.6em;
        font-weight: 400;
        margin: 0px !important;
        word-spacing: -0.12em;
    }

    #homebanner p
    {
        color: #ffffff;
        font-size: 1.2em;
        margin: 0px !important;
        line-height: 1.1em;
    }

    #main
    {
        min-height: 600px;
    }



    .homeMLholder
    {
        max-width: 71px;
        margin-left: 5px;
        float: left;
        position: relative;
    }


    #homelogos
    {
        float: left;
        width: 27%;
        margin-top: 10px;
        margin-left: 3%;
    }

#homelogos img {
    margin-top: 7px;
    margin-left: 0px;
    width: 90%;
    float:left;
}




    #secondarycontentcontainer
    {
        width: 95%;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    #secondarycontent
    {
        font-size: 0.8em;
        width: 70%;
        float: left; /*ma-rgin-left: 20px;*/
        margin-right: 0%;
    }

    #secondarynavigation
    {
        display: block;
        float: left;
        width: 17.5%;
        margin-left: 2.5%;
    }
    #secondarynavigationsmartphone
    {
        display: none;
    }

    .secondarynavlinkholderselected
    {
        height: 100%;
        width: 90%;
        margin-bottom: 15px;
        display: table;
        background-position: center;
        background-position-x: 50%;
        background-position-y: 50%;
        background-size: cover;
    }


    .secondarynavlinkholder
    {
        width: 90%;
        margin-bottom: 10px;
        height: 33.33px;
        display: table;
    }

    .secondarynavlink
    {
        color: #ffffff;
        height: 80%;
        width: 100%;
        display: table;
        font-size: 0.8em;
    }

    .secondarynavlinkselected
    {
        color: #ffffff;
        height: 33%;
        margin-top: 20%;
        margin-bottom: 20%;
        display: table !important;
        padding-top: 5%;
        padding-bottom: 5%;
        width: 100%;
        font-size: 0.8em;
    }


    .s-econdarynavlinkselected:before
    {
        padding-top: 33%; /*16:9 ratio*/
        display: block;
        content: '';
    }

    .brighttext, .brighttextselected
    {
        width: 100%;
        display: table-cell;
        vertical-align: middle;
        font-size: 1.1em;
        line-height:1.1em;
    }

    .wrapper
    {
        max-width: 1400px;
        margin: 0em auto 0em auto;
    }

    #newslist
    {
        width: 100%;
    }

    .newsphoto
    {
        display: block;
        width: 15%;
        float: left;
        margin-right: 5%;
    }

    .pressreleasephoto
    {
        display: block;
        width: 18%;
        float: left;
        margin-right: 2%;
    }

    .newsarticle
    {
        width: 75%;
        float: left;
    }

    .newsarticle h2
    {
        margin: 0px;
        font-size: 1.1em;
        color: #00696F;
    }

    #newssearch
    {
        float: left;
        margin-bottom: 5px;
        padding: 3px;
    }


    .storycontents
    {
        padding-left: 0px;
        padding-right: 10PX;
    }

    .pressreleasearticle
    {
        width: 80%;
        float: left;
    }

    .pressreleasearticle h2
    {
        margin: 0px;
        font-size: 1.1em;
        color: #00696F;
    }


    .keyStaffPhone a
    {
        text-decoration: none;
    }

    .keyStaff
    {
        width: 45%;
        font-size: 1em;
        float: left;
        margin-right: 5%;
        cursor: pointer;
    }

    .keyStaff img
    {
        border: 1px solid #cccccc;
        display: block;
        margin-bottom: 10px;
    }

    .keyStaffText
    {
        font-size: 1em;
    }

    /* slidebanner stuff*/

#sbHolder1 {margin-top: -10px; padding: 0px; float: left;}
#sbHolder1 > p {margin-top: -5px;}

#sbHolder2 {margin-top: 14px; padding: 0px; float: left;}

#sbHolder3 {margin-top: 8px; padding: 0px; float: left;}

#sbHolder4 {margin-top: 10px; padding: 0px; float: left;}

}

