﻿body {
    font-family: 'Montserrat', Helvetica, Geneva, Tahoma, sans-serif;
    
}

p {
    font-size: 18px;
}

.hide{
    display:none;
}

a,
a:link,
a:hover,
a:visited,
a:active,
a:focus {
    line-height: inherit;
    color: #702081;
    text-decoration: none;
    cursor: pointer;
}

.footwrapper a,
.footwrapper a:link,
.footwrapper a:hover,
.footwrapper a:visited,
.footwrapper a:active,
.footwrapper a:focus,
#topoverlayright a,
#topoverlayright a:link,
#topoverlayright a:hover,
#topoverlayright a:visited,
#topoverlayright a:active,
#topoverlayright a:focus {
    line-height: inherit;
    color: #FFFFFF !important;
    text-decoration: none;
    cursor: pointer;
}

#MainContent_divRightCol a,
#MainContent_divRightCol a:link,
#MainContent_divRightCol a:hover,
#MainContent_divRightCol a:visited,
#MainContent_divRightCol a:active,
#MainContent_divRightCol a:focus {
    line-height: inherit;
    /*color: #4e195b;*/
    color: #FFF;
    text-decoration: none;
    cursor: pointer;

}


#MainContent_divRightCol a.pgactive,
#MainContent_divRightCol a.pgactive:link,
#MainContent_divRightCol a.pgactive:hover,
#MainContent_divRightCol a.pgactive:visited,
#MainContent_divRightCol a.pgactive:active,
#MainContent_divRightCol a.pgactive:focus {
    line-height: inherit;
    /*color: #4e195b;*/
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    /*font-weight: 500;*/
}


a.viewprofile,
a.viewprofile:link,
a.viewprofile:hover,
a.viewprofile:visited,
a.viewprofile:active,
a.viewprofile:focus {
    display: inline-block;
    font-size: 0.7em;
    /*color: #FFF;*/
    text-decoration: none;
    cursor: pointer;
    /*font-weight: 500;*/
}

.sitebutton {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0.5rem 0;
    padding: 0.7em;
    border: 1px solid transparent;
    border-radius: 3px;
    -webkit-transition: background-color 0.25s ease-out,color 0.25s ease-out;
    transition: background-color 0.25s ease-out,color 0.25s ease-out;
    font-family: inherit;
    font-size: 0.8em;
    -webkit-appearance: none;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    background-color: #702081;
    color: #fefefe !important;
}

    .sitebutton:hover {
        color: #fefefe;
        background-color: #4e195b;
        -webkit-transition: background-color 0.25s ease-out,color 0.25s ease-out;
        transition: background-color 0.25s ease-out,color 0.25s ease-out;
    }

.wrapper{

    max-width:1300px;
    width:90%;
    margin-left:auto;
    margin-right:auto;

}


/******************/
/****** NAV *******/
/******************/
nav 
{
    font-size:1.3em;
}

nav a,
nav a:link,
nav a:hover,
nav a:visited,
nav a:active,
nav a:focus {
    line-height: inherit;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}


nav ul ul a,
nav ul ul a:link,
nav ul ul a:hover,
nav ul ul a:visited,
nav ul ul a:active,
nav ul ul a:focus {
    line-height: inherit;
    color: #702081;
    text-decoration: none;
    cursor: pointer;
}

    /*nav.cd-nav {
        background-color: rgba(112,32,139,0.65);
    }*/
/******************/
/******************/
#pnlAdmin {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

section#loginForm{
    margin-top:50px;
    max-width:1000px;
    margin-left:auto;
    margin-right:auto;
}



#headerimg {
    /* background-image: url('/images/homemain.jpg'); */
    background-repeat: no-repeat;
    height: 110vh;
    /* width:100vw;*/
    position: relative;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 3;
}

#headerimg > img {
    width: 100%;
}

.small-logo {
    width: 50%; 
    height: auto; 
    margin-left: 50px;
}


div#welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; 
}

    div#welcome .welcomebox {
        background: rgba(112,32,139,0.65);
        color: white;
        max-width: 1400px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        padding:30px;
        text-align:center;
        font-size: 1.5em;
        
    }

        div#welcome .welcomebox hr {
            border: 0;
            border-bottom: 1px solid #FFF;
            width: 60%;
            margin-left: auto;
            margin-right: auto;
        }

#MainContent_divRightCol {
    /*background-color: rgba(112,32,139,0.65);*/
    background-color: rgba(78,25,91,0.80); 
    padding: 15px;
    padding-top: 40px;
    padding-left: 40px;
}


section#ourwork {
    margin-top: 30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

    section#ourwork .aowbox {
        /*background-color: #702081;*/
        background-color: #4E195b;
        color: white;
        width: 98%;
        padding: 30px;
        min-height: 520px;
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-start;
    }

        section#ourwork .aowbox p{
            margin-bottom:0px;
        }

        a.morebtn {
            margin-top: auto;
            margin-right: 0;
            margin-left: auto;
            border: 2px solid #FFF;
            border-radius: 15px;
            padding: 5px;
            color: #FFF !important;
            display: inline-block;
            width: 100px;
        }

        /* Barrister Search*/
#findbarrister {
    margin-top: 75px;
    background-color:lightgrey;
    background-image: url('/images/greyscale.jpg');
    background-repeat: no-repeat;
    height: 55vh;
    /*height: 80vh;*/
    /* width:100vw;*/
    position: relative;
    background-size: cover;
    background-position: 50% 50%;
}

#findbarrwrapper {
    padding-top: 60px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.searchdiv {
    max-width: 50%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
   
}

#findbarrister h1{
    color:#FFF;
}

    .searchdiv > span,
    .searchdiv a,
    .searchdiv a:link,
    .searchdiv a:active,
    .searchdiv a:hover,
    .searchdiv a:visited {
        display: inline-block;
        width: 100%;
        /*padding: 35px;*/
        background: rgba(112,32,139,0.65);
        color: white;
        font-size: 2em;
        border: none;
        padding: 10px 35px;
        border-radius: 3px;
    }

.searchdiv input, .searchdiv input:focus {
    padding: 35px;
    background: rgba(112,32,139,0.65);
    color: white;
    font-size: 2em;
    border: none;
}

.searchdiv select {
    height: 4.2rem;
    margin: 0 0 1rem;
    padding: 15px 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid rgba(112,32,139,0.65);
    border-radius: 3px;
    background-color: rgba(112,32,139,0.65);
    font-family: inherit;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1;
    color: #FFFFFF;
    /*background-image: url(data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: rgb%28138, 138, 138%29'></polygon></svg>);*/
    background-origin: content-box;
    background-position: right -1rem center;
    background-repeat: no-repeat;
    background-size: 9px 6px;
    padding-right: 1.5rem;
    -webkit-transition: border-color 0.25s ease-in-out, -webkit-box-shadow 0.5s;
    transition: border-color 0.25s ease-in-out, -webkit-box-shadow 0.5s;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out, -webkit-box-shadow 0.5s;
}

/*** End barrister search ****/


section#latestnews, section#sectionarticle {
    padding-top: 50px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    /*margin-bottom: 75px;*/
    margin-bottom: 50px;
}

    section#latestnews a, section#latestnews a:link, section#latestnews a:hover, section#latestnews a:active, section#latestnews a:visited{
        color:#000;
    }

    .bodycontent {
        padding-top: 40px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

#latestnews img {
    width: 80%;
    margin-bottom: 15px;
}

#latestnews p{
    font-size:1.2em;
}

#latestnews hr {
    border: none;
    margin:0;
    margin-bottom:15px;
    width: 20%;
    border-top: 3px solid rgb(112,32,139);
}

#commentscroller {
    /*margin-top: 75px;*/
    background-color:#FFF;
    /*background-image: url('/images/blank.jpg');*/
    background-repeat: no-repeat;
    height: 55vh;
    /* width:100vw;*/
    position: relative;
    background-size: cover;
    background-position: 50% 50%;
}

#commentwrapper {
    padding-top: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#textslidewrapper {
    margin-top: 30px;
    padding: 10px 30px;
    /*background: rgba(112,32,139,0.65);*/
    background: rgba(112,32,139,1);
    color: white;
}

.directory-slick div.slick-slide{
    padding:30px;
    font-size:1.4em;
    text-align:center;
    line-height:1.2;
}

    .directory-slick div.slick-slide p{
        font-size:1.0em;
    }

    footer {
        background-color: #4E195b; /*rgb(112,32,139);*/
        color: white;
    }

    footer p {
        font-size:16px;
    }

    .footwrapper {
        padding-top: 30px;
        padding-bottom: 20px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

.blackbar{
    background-color:black;
    color:#FFF;
}

    .blackbar > div {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        padding-top:15px;
    }

.iconbox{
    display:flex;
}

.iconbox img{
    align-self:flex-end;
    margin-bottom:20px;
    width: 125px;
}

.blackbar ul{
    list-style:none;
}

.blackbar ul li {
   text-align:right;
}

.blackbar li a, .blackbar li a:link, .blackbar li a:hover, .blackbar li a:visited {
    color: #333;
    text-align:right;
}

/*Nav positioning*/

#menucontainer {
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 1000;
   /* background: rgba(112,32,139,0.65);*/
    background: rgba(78, 25, 91, 1);
}

#menucontainer.scrollable {
    background:rgba(78,25,91,0.65);
    transition: background .5s ease;
}

#menucontainer.scrollable #topoverlayright, 
#menucontainer.scrollable #topoverlayleft {
    height: 150px;
    transition: height .5s ease;
}

#menucontainer.scrollable .header__logo {
    transition: width .5s ease;
    width: 350px;
}

#menucontainer.scrollable .header__logo img {
    transition: margin .5s ease;
    width: 100% !important;
}

#menucontainer.scrollable.scrolled {
    background:rgba(78,25,91,1);
}

#menucontainer.scrollable.scrolled #topoverlayright,
#menucontainer.scrollable.scrolled #topoverlayleft {
    height: 80px;
}

#menucontainer.scrollable.scrolled .header__logo {
    width: 175px !important;
}

#menucontainer.scrollable.scrolled .header__logo img {
    margin-left: 0 !important;
}

#topoverlayleft {
    position: relative;
    height: 80px;
    /*    height:100%;
    width:100%;*/
    top: 0;
    left: 0;
    
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.topoverlayleft_shrink {
    height: 80px !important;
}

    #topoverlayleft img{
        margin-left:40px;
    }

    #topoverlayright {
        position: relative;
        height: 80px;
        /*    height:100%;
    width:100%;*/
        top: 0;
        right: 0;
        /*background: rgba(112,32,139,0.65);*/
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

.topoverlayright_shrink {
    height:80px !important;
}
    #topoverlayright h3 {
        color: white;
        font-size:1.3em;
        margin-left:100px;
        

    }

nav#topnav {
    position: relative;
    top: 150px;
    left: 0;
   /* background: rgba(112,32,139,0.65);*/
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: left;
    flex-direction: column;
}

div#menuribbon {
   /* background-color: rgba(112,32,139,0.65);*/
    height: 60px;
    position: relative;
   /* top: 150px;*/
    left: 0;
    /*background: rgba(112,32,139,0.65);*/
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: left;
    flex-direction: column;
}

    div#menuribbon > .menupositioner {
        margin-left: auto;
        margin-right: auto;
        /*width: 100%;
        max-width: 1100px;*/
    }

    /*End Nav positioning*/

    /*Barrister List*/

#staticrollover {
    position: fixed;
    /*top: 227px;*/
    top: 0px;
    padding-top: 40px;
    /* display: none;*/
    z-index: 100;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    /* background: #e2e3df;*/
    background-image: url('/images/homemain.jpg');
    background-size: cover;
    background-position: 50% 50%;
    /*background-color: rgb(226,227,223);*/
    margin-bottom: 40px;
    height: 60vh;
    /*border: 1px solid red;*/
}

#rolloverpositioner {
    position: relative;
    width: 80%;
    padding-top: 30px;
    margin-top: 120px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(226,227,223, 0.85);
}

#showScroll {
    position: absolute;
    bottom: 20px;
    right: 0px;
    z-index: 1000;
    border: 1px solid blue;
}

.fixrollover {
    position: fixed;
    top: 140px;
    width: 100%;
    z-index: 999;
    margin-bottom: 20px;
}


    div .barristerlist {
    width: 80%;
    margin-left: auto;
    margin-right: auto;

}

div.barristerlist > div > img{
    max-height:90%;
    max-width:90%;
    margin-left:8%;
}
.barristerlist hr {
    border: none;
    border-top: 4px solid #662D82;
    max-width: 90%;
    margin: 1.25rem auto;
    margin-top:0.5rem;
}

.barristerlist h2 {
    font-family: inherit;
    font-weight: normal;
    font-size: 1.8em;
    margin-left:8%;
}

.barristerlist h3 {
    font-family: inherit;
    font-weight: normal;
    font-size: 1.4em;
    margin-left: 8%;
}

.aowlist h3.bname {
    font-size: 1.3em;
    margin-left: 8%;
}

.barristerlist p {
    margin-left: 8%;
}

.barristerbox{
    position:relative;
    height:220px;
    overflow-y:hidden;
}

.aowlist .barristerbox {
    position: relative;
    height: 245px;
    overflow-y: hidden;
}

    .barristerbox label{
        font-size:0.7em;
        display:inline-block;
        margin-right:3px;
    }

    .barristerbox input[type='checkbox'] {
        position: relative;
        display: inline-block;
        bottom:-2px;
    }

#btnShortList {
    display: block;
    position: relative;
    bottom: 10px;
    background-color:#702081;
}

.baselinks {
    position: absolute;
    bottom: 0px;
    padding-left: 15px;
}

h2#h2title {
    width: 80%;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    color: #702081;
    padding-left: 10px;
}

p.bsub {
    margin-top:-2px;
    margin-bottom: 3px;
    line-height: 1.2
}

.hoverdetails {
    height: 240px;
    overflow-y: hidden;
}

#hovername a, #hovername a:link, #hovername a:hover, #hovername a:active, #hovername a:visited,
.bname a, .bname a:link, .bname a:hover, .bname a:active, .bname a:visited {
    color: #000;
}

    /*End Barrister List*/
    /*Barrister Search*/
#nameresult {
    border: 1px solid #696969;
    background-color: #FFF;
    width: 300px;
    position: absolute;
    padding:5px 15px;
    margin-top: -20px;
    /* margin-left: 5.75%; */
    display: none;
}

.imgArticle{
    max-width:300px;
}

#MainContent_divRightCol {
    color: #FFF;
}

.topparent{
    font-weight:500;
    color:#FFF;
}

.rightpad {
    padding-right: 15px;
    margin-bottom:40px;
}

h1.membername {
    color: #4E195b;
}

.chkShortList > label{
    color:#4e195b;
}

#MainContent_ctlMemberProfile_imgMember{
    display:block;
    margin-bottom:20px;
}

.position-right {
    top: 0;
    right: 0;
    height: 100%;
    overflow-y: auto;
    width: 350px;
    background-color: #e5e5e5;
    -webkit-transform: translateX(350px);
    -ms-transform: translateX(350px);
    transform: translateX(350px);
}



#stickytab, #owstickytab{
    position: fixed;
    background-color: #4e195b;
    color: #FFF;
    transform: rotate(-90deg);
    width: 250px;
    height: 350px;
    top: 120px;
    right: -240px;
    text-align: center;
    padding-top: 15px;
    /* Legacy vendor prefixes that you probably don't need... */
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#owstickytab {
    width: 250px;
    height: 350px;
}


    #stickytab > .upright, #owstickytab > .upright {
        /*rotate the div back the other way*/
        position: relative;
        left: 8px;
        top: 40px;
        height: 220px;
        width: 230px;
        /* border: 1px solid pink;*/
        transform: rotate(90deg);
        /* Legacy vendor prefixes that you probably don't need... */
        /* Safari */
        -webkit-transform: rotate(90deg);
        /* Firefox */
        -moz-transform: rotate(90deg);
        /* IE */
        -ms-transform: rotate(90deg);
        /* Opera */
        -o-transform: rotate(90deg);
        /* border-top:1px solid red;
        border-left:1px solid green;*/
    }

    #stickytab h4, #owstickytab h4 {
        font-size: 1em;
    }

    #stickytab p, #owstickytab p {
        font-size: 0.8em;
        text-align: center;
    }

#stickytab a,
#stickytab a:link,
#stickytab a:active,
#stickytab a:hover,
#stickytab a:visited,
#owstickytab a,
#owstickytab a:link,
#owstickytab a:active,
#owstickytab a:hover,
#owstickytab a:visited {
    color: #FFFFFF;
}

.clerkemail{
    margin-top:10px;
}

