/* CSS for JA_Vitality for Hazelhurst Solicitors */
div.box-inner{
    width:100% !important;
    max-width:2000px !important;
}

.FloatLeft{
    float:left;
}
.FloatRight{
    float:right;
}
.FontWeight300{
    font-weight: 300;
}
#t4-masthead{
    width:100%;
}
#TestLondonContacts{
    margin-bottom: 0;
}

#TestPhoneNos ul {
    list-style-type: none;
}
.TestFirstCol {
    min-width:16rem;
}
.Testphonecol {
    flex-grow: 4;
    flex-basis: 10rem;
    min-width: 15vw;
}
 .Testemailcol {
    flex-grow: 20;
    flex-basis:auto;
}
#TestPhoneNos {
    padding-top: 8px;
    border-bottom: 1px solid #bbb;
    padding-bottom: 1em;
}
#TestPhonNos li.flex-item{
 max-width:25%;
}

ul.HSOffices li {

    line-height: 1;

}
.HSOffices {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}
.HSOffices ul{
    list-style-type:none;
}

#PhoneNos{
    display:flex;
    flex-direction:row;;
}
.fa{
    font-size:18px;
}

/* Contact Info sticky top*/
._t4-section-inner.container {
    margin-left:0;
    margin-right:0;
}
#Mod155 {
    padding-top: 0;
/*    color: lightcoral;*/
}
#Mod155 h3{
    display:none;
}
li.emailcol {
    margin-right: 10px;
}
.section-title-wrap {
    margin-bottom: inherit;
    padding-top:6px;
    padding-bottom:6px;
}

#PhoneNos ul li {
    line-height: 1.5;
}
#PhoneNos ul li a{
    text-decoration:underline;
}

#PhoneNos ul {
    list-style-type: none;
    margin-bottom: 2px;
    width:100%;
    padding:0;
/*    text-align:center;*/
    display:inline-flex;
}
#PhoneNos ul#LondonContacts{
    justify-content: flex-start;
}
#PhoneNos ul#ManchesterContacts{
    justify-content: space-around;
    gap:12px;
}

#ulManchesterContacts li.emailcol{
    flex-grow:3;
}
#ulLondonContacts li.emailcol{
    flex-grow:3;
}
#PhoneNos ul li.phonecol{
    flex-grow:2;
}

/* END Contact Info sticky top*/
.SubmissionRow td{
    vertical-align:top;
}
.SubmissionRow {
    padding-bottom: 12px;
    display: block;
    border-bottom: 1px solid #ddd;
}
#SubmissionsTable .SubmissionRow .DateCol {
    min-width: 6vw;
}
#SubmissionsTable .SubmissionRow .FullName {
    min-width: 11em;
}
#SubmissionsTable .SubmissionRow .MailAddress {
    min-width: 12vw;
}
.btn.btn-primary,
.btn.btn-secondary {
    padding: 12px;
}
div.well.well-small{
    margin-bottom:2em;
}

#t4-services-navigation ul.navbar-nav{
    display:flex;
    flex-direction: row;
    justify-content:space-between;
    width:35vw;
}
.Offices{
/*border-top:1px solid #666;*/
border:none;
}
.Offices a {
    color: #006;
}
    .BigMarginBottom{
        margin-top:4em;
    }
.FooterList {
    list-style-type: none;
    padding-top: 8px;
    border-top: 1px solid #666;
    padding-left:0;
}
#DocumentList{
    list-style: disc;
}

.UnderlineOffice{
    padding-top:8px;border-top:1px solid #666;
}
.FooterColumn{
    /*Dummy*/
}
#SocialMedia ul .social-list{
    color:#000;
    padding-top:8px;
    border-top:1px solid #666;
    padding-left:0;
}
#SRA{
    margin-bottom:1em;
    width:10vw;
}

#t4-services-navigation ul.navbar-nav li.item-165,
#t4-services-navigation ul.navbar-nav li.item-166,
#t4-services-navigation ul.navbar-nav li.item-167 {
    min-width: 10vw;
    background-color: #cfc4b8;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #56493a;
    padding:6px;
}
#TeamTogether figcaption {
    color: #666;
    font-size: 14px;
    background-color: #fff;
}
div.TeamText{
    max-width:48%;
}
div.TeamPhoto{
    width:48%;
}
ul.StyleTypeNone,
ol.StyleTypeNone{
 list-style-type:none;
}

div.TeamText {
    max-width: 48%;
   /* border-left: 1px solid #666;*/

    height: 75%;
    color:#000;
}
.FlexContainer{
    display:flex;
    justify-content:space-between;
    /*margin-top:2em;*/
    margin-bottom:6em;
    padding:1.5em;
    background-color: #eee;


}
.DisplayFlex {
    display: flex;
    justify-content: space-evenly;
    flex-direction:row;
}
#FooterOuter {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-top:1em;
    font-size:14px !important;

}
#FooterOuter h3{
    margin-top:0;
    font-size:16px;
}
#CopyRight {
    margin-top: 2em;
    font-size: 12px;
    padding-left:1em;
    display:none;
}
#HSDocs a {
    color: #000;
}
.pBorderAbove{
    border-top: 1px solid #006;
    padding-top: 8px;
}
#t4-team {
    margin-top: 2em;
}
ul .FooterList{
    list-style-type:none;
    color:#000;
    padding-top:8px;
    border-top:1px solid #666;
    padding-left:0;
}

div.TeamPhotos.ImageRight .FlexContainer{
    flex-direction:row-reverse;
}

div._TeamPhotos.ImageRight .TeamText{
    max-width: 48%;
    height: 75%;
    text-align: left;
    padding-left:0;
    margin-left:inherit;

}
.TeamPhotos .Heading {
    background-color: #eee;
    padding: 1.0em;


}
.TeamPhotos .Heading h2{
    margin-top:0;
}

.t4-main-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
div.HSText {
    color: #222;
    color:#000;
    background-color: #fff;
    padding: 1em;
    border: 1px solid #999;
}

div.HSText p {
    margin-bottom: 32px;

}
div.HSText p.ListIntro{
    margin-bottom:12px;
}

._HSText ul li, div._HSText ol li{
    margin-bottom:18px;
}
.HSText h2,.HSText h3,.HSText h4, .HSText h5 {
    color: crimson;
}
.HSText h2 {
    font-size: 24px;
    margin-bottom: 2em;
    margin-top: auto;
}
.HSText h1 {
    color: #006;
    font-size: 28px;
}
.HSText h3{
    font-size:20px;
}

/* Fees Table */
.fees-table tr td {
    border-bottom: 1px solid #eee;
    padding: 0.5em;
}
.fees-table {
    border-collapse: collapse;
    width: 100%;
    background-color: #fff;
    border: 1px solid #666;
    margin-bottom:2em;
}
.fees-table tbody > tr > :nth-child(1) {
    width: 55%;

}

.fees-table tbody>tr>:nth-child(2) { /* second column */
width:65%;

}
.fees-table tr td {
    border-bottom: 1px solid #aaa;
}
#ImmigrationFees h1 {
    color: lightcoral;
    font-size: 36px;
}
#ImmigrationFees h2 {
    color: #006;
    font-size: 28px;
}
.fees-table tr th {
    color: #006;
    font-size: 24px;
    padding: 1em;

}
#ImmigrationFeesButton.btn.btn-light,
.HSButton a.btn.btn-light {
    border-color: #666;
}

.fees-table tr th{
        border-bottom: 1px solid #aaa;

}
.t4-header .header-block {
    /* Need to change background-color */
    background-color: #eee;
    border-bottom: 1px solid #666;
}
._t4-section,
._t4-content-inner {
    background-color: #cce6ed;   /* Lightish blue */
}
#SundryInfo img{
    margin-bottom:1rem;
}
#SundryInfo caption{
    color:#006;
}
#CompanyInformation table{
    font-size:14px;
}

#CompanyInformation table tbody > tr > :nth-child(1) {
    width: 15%;
    vertical-align: top;
}
#CompanyInformation table tbody > tr > :nth-child(2) {
    width:50%;
}
#t4-parkway-map {
    /*background-color: #cce6ed;*/
    padding-top: 4em;
}
#MiscServicesOuter{
    display:flex;
}
#MiscServices {
    width: 100%;
}
#BookAppointment {
    width: 63%;
    background-color: #fff;
    margin-left: 3em;
    padding: 0.5em;

    border:1px solid #666;
}
#testBookAppointment {
    background-color: #fff;
    padding: 0.5em;
    border: 1px solid #666;
    width: 66%;
}
#t4-contactinfo{
/*   background-color:#eee;*/
}

.MakeABooking{
   position:relative !important;
   width:50%;
}

.Book {
    background-color: #fff870;
    padding: 1em;
    border: 1px solid #7077ff;
    border-radius: 15px;
    text-align: center;
  /*  position: absolute;*/
    bottom: 0;
    margin-bottom: 1em;
    padding-left: 2em;

}
.Book a {
    color: #000;
    font-size: 1.25em;
}

#OurServices {
    display: flex;
    width: 100%;
    margin-top: 2em;
    margin-bottom: 5vh;
    justify-content: space-between;
}
#TestOurServices {
    display: flex;
    width: 100%;
    margin-top: 2em;
    margin-bottom: 5vh;
    justify-content: space-between;
    flex-wrap:wrap;
}
a.NavImage,
a#ImmigrationImage,
a#FamilyLawImage,
a#EmploymentImage,
#MiscServicesImage
{
  border:8px solid #cfc4b8;
}
#HSuserForm {
    border: 1px solid #666;
    padding: 1em;
    margin-bottom:2em;
}
#Thanks h1 {
    font-size: 18px;
    color: crimson;
}
a.NavImage:hover,
a#ImmigrationImage:hover,
a#FamilyLawImage:hover,
a#EmploymentImage:hover,
a#MiscServicesImage:hover{
    border:8px solid #eee;
}
#ServicesOuter {
    margin-top: 15vh;
    margin-bottom: 15vh;
    border: 4px #bfb1a1 solid;
    padding: 1em;
    background-color: #cfc4b8;
}
#Mod132 #ServicesOuter{
   padding-top:0;
   margin-top:0;
}
#Mod132{
    padding-top:0;
}

#ServicesOuter h1,
#TeamOuter h2,
#MiscServices h2 {
    font-family: 'Open Sans',Arial, sans-serif;
    font-weight: lighter;
    color: #006;
    margin-top: 2rem;
    font-size:45px;
}
#MiscServices h2{
    font-size:28px;
}
.ScheduleConsultation a{
    color:#f00;
}
#_TeamTogether img{
    float:left;
    clear:none;
}
#t4-team-together {
/*    background-color: #ddd;*/
    padding-top: 2em;
    padding-bottom: 2em;
}
#TeamTogether {
    display: flex;
    justify-content: space-between;
}
.BorderBottom{
    border-bottom:1px solid #666;
}
div.BookConsultation {
    font-size: 1.1em;
    padding: 0.75em 0.75em 0 1.0em;
    margin: 0 0 1em 1em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 15vw;
    height: 13vh;
    position: absolute;
    right: 5vw;
    background-color: yellow;
    bottom: 23vh;
    border: 4px solid yellow;
    right: 43vw;
}
div.BookConsultation p {
    text-align: left !important;
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 2em;
}
div.Booking a{
    color:#006;
}
a.BookIt:hover{
    border-color: #fff;
}
/* Start Testimonials */
.Testimonial {
    width: 30%;
    text-align: center;
    font-style: italic;
}
/* Submissions - Frontend View */
/*Detail View*/
#HSsubmissionDetail #FirstRow {
    padding-bottom: 1em;
    display: inline-grid;
}
td.LeftCell {
    width: 40vw;
    display: inline-flex;
}
#DetailGrid {
    display: inline-grid;
    grid-template-columns: 25% 70%;
}
.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px dashed rgba(0, 0, 0, 0.4);
    padding: 10px;
    font-size: 18px;
    text-align: left;
}
#FlexContainer {
    display: flex;
    justify-content: space-between;
}
#Mod133 {
    width: 100%;
    background-color: #cfc4b8;
    padding: 1em;
    color: #000;
}
table.edocman_document_list .edocman_document_list_title a {
    font-size: 18px !important;

}
@media only screen and
(max-width: 1200px) and
(orientation:portrait)
{
    #TestOurServices{
        justify-content: space-around;/* forces images to centralise */
        gap:20px; /* sets margin beneath the flex item */
    }
  .TestFirstCol {
    min-width: 10rem;
}
#PhoneNos {

    flex-direction: column;
    justify-content: center;
}
#PhoneNos ul{
    text-align: center;
    margin-bottom:8px;
}
#PhoneNos ul#LondonContacts{
    justify-content: flex-start;
}
#PhoneNos ul li.FirstCol,
{
    order:2
}
#PhoneNos ul li.phonecol,
{
    order:2
}
#PhoneNos ul li.emailcol,
{
    order:3
}

#SocialMedia ul.social-list {
    display: block ruby; /* centers the social list */
}

    .BigMarginBottom{
        margin-top:0;
    }

.FooterList {
    border:none;
}
#t4-services-navigation ul.navbar-nav li.item-165,
#t4-services-navigation ul.navbar-nav li.item-166,
#t4-services-navigation ul.navbar-nav li.item-167 {
margin-bottom:4px;}



    #t4-services-navigation ul.navbar-nav{
        flex-direction:column;
    }
    }
@media only screen and
(max-width: 1400px)
{
    #testBookAppointment {
    width: 100% !important;
    margin-top:1em;
}
}
@media only screen and
(max-width: 1200px)
{
    #testBookAppointment {
    width: 100% !important;
}
 div.BookConsultation {

    right: 43vw;
    bottom:3vh;
}

    #TeamOuter h2{
        text-align:center;
    }

    .DisplayFlex {
   flex-direction:column;
}
.FooterColumn {
    text-align: center;
    font-size: 16px;
}
#SRA {
    width: 25vw;
    margin-right: auto;
    margin-left: auto;
    order:4; /* Show at bottom */
    margin-top:1em;
}
.Offices {
    border-top:none;
}
#FooterOuter h3 {
    margin-top: 0;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 6px;
}
.UnderlineOffice{
    padding-top:8px;
    border:none;
}

    #t4-team .FlexContainer{
        display:inherit;
    }
    div.TeamText{
        max-width:100%;
        text-align:justify;
    }
    div.TeamPhoto img{
        margin-bottom: 1em;
    }

    div.TeamPhoto{
        width:inherit;
    }
    div.TeamPhoto img{
        width:100%;
    }

    #t4-services-navigation ul.navbar-nav {
    width: 100%;
}
.FooterList{
    border-top:none;
}

  #TeamTogether,
  #OurServices {
   flex-direction: column;
   align-items:center;
}
#_TeamTogether img {
    margin-bottom: 1em;
}

#BookAppointment{
    margin-left:0;
    margin-top:1em;
    width:100%;
}

.Book{
    margin-left:auto;
    margin-right:auto;
    width:auto;
}
/*
div.BookConsultation {
    width: 18vw;
    height: 9vh;
    top: 47vh;
    opacity: 0.85;
}
*/
div.BookConsultation p {
    position: absolute;
    top: -3vh;
    font-size:14px;
    color:#666;
}
#ServicesOuter {
    margin-top: 5vh;
    margin-bottom:5vh;

}
#ServicesOuter h1,
#TeamsOuter h2{
font-size:24px;
text-align:center;
}


}
@media only screen and
(min-width:769px) and
(max-width: 1199px) and
(orientation:portrait)
{
    div.BookConsultation {

    top: 28vh;

}
    }
@media only screen and
(max-width: 490px) and
(orientation:landscape)
{
    div.BookConsultation {
    height: 17vh;
    top: 7vh;

}
    }
@media only screen and
(max-width: 360px) and
(orientation:landscape)
{
    div.BookConsultation {
    height: 17vh;
    top: 5vh;
}
    }
 @media only screen and
(max-width: 768px)
{
div.BookConsultation p {
    font-size: 11px;
    padding-top: 6px;
}
div.BookConsultation {
    width: 20vw;
    /*height: 5vh;*/
    top:18vh;
    padding-left: 6px;
    padding-top: 6px;
}
}
/* End Testimonials */

@media only print{
    .t4-section {
    background-color: initial;
    }
    .t4-section .t4-section-inner {
    padding: 0;
}

@media print {
        @page {
            margin: 2.5cm;
        }
        div.row > div {
            display: inline-block;
            border: solid 1px #ccc;
            margin: 0.2cm;
        }
        div.row {
            display: block;
        }
}


.table {
        display: table;
        border-spacing: 2px;
}
.row {
        display: table-row;
}
.row > div {
        display: table-cell;
        border: solid 1px #ccc;
        padding: 2px;
}



}