﻿
/*Mobile portrait*/
@media only screen and (max-device-width : 767px) and (max-width : 767px){
    /*In tablet portrait mode and below, disable the fixed menu header so that MegaSite Mobile Menu displays correctly*/
    #navwrap{
    /*height:203px;*/
    position:relative;
    top:auto;
    z-index:auto;
    /*border:1px solid pink;*/
    }

    .expertiselist > div, .clerklist > div, #divMenuCol{
        border:none !important;
    }

    .bluesquare{
        display:none;
    }

    #imgRoll, #imgRollClerk{
        margin-left:25px;
    }

    .boxborder{
        margin-bottom:10px;
    }

    .firstdatebox, .datebox{
        width:auto;
    }

    .vertalign-inner{
        position:relative;
        display:block;
        height:auto;
        padding-left:10px;
        padding-bottom:5px;
    }

    #barristerProfile h3{
        font-size:12px;
    }

    #divMenuCol p{
        width:100%;
    }

    .profilemobile, .profile-top-column, .clerkprofile{
        /*border:1px solid red;*/
        padding:0px !important;
    }

    #ctlBarristerProfile_imgBarrister{
        margin-left:5px;
    }

    #ctlFeaturedNews_pnlFeatured > div{
        padding-left:0;
    }

    .divfeatnewssmall {
        max-width: 100%;
  
    }

    #ctlBarristerProfile_imgBarrister {
   height:auto;
    }

    .profile-head {
    padding-top: 0px;
    }
    
    #twitter-widget-0{
    margin-left:0px;
}

    .subTitle {
        font-size: 11px;
        text-align:center;
    }

    #divfeatnews1 {
      /*   padding-top: 150px; */
        min-height: 138px;
    }

    #ctlFeaturedNews_pnlFeatured h4 {
       margin-top: -159px;
        margin-left: 25px;
        margin-bottom: 0px;
    }
}


@media only screen and (max-device-width : 414px) and (max-width : 414px) {

.no-pad-left{
    padding-left:15px;
}

.no-pad-right{
    padding-right:15px;
}

#navwrap{

position:relative; /*turn off the fixed header and allow to scroll out of view*/

}

#headerImage{
margin-top:0px;
}

#mainwrapper{
margin-top:80px;
}

#slideHolder{
    display:none; /*this is deliberate - js makes the slider visible for mobile portrait only on the home page */
    height: 150px;
    width: 100%;
    max-width:414px;
}

#ctlImageSlider_dummySlide{
display:none;
}

    #textsliderholder{
    display:none; /*this is deliberate - js makes the slider visible for mobile portrait only on the home page */
        width:200px;
        top: 20px;
    }

    #textsliderholder div p{
        font-size:18px;
    }

    #pnlStandardRightCol {

    border-left: none;

    }

    #barristerprofile_right {
    border-left: none;
    }

    .subTitle {
        font-size: 12px;
    }

    #divfeatnews1 {
        /*padding-top: 150px;*/
        min-height: 138px;
    }

    #divfeatnews1 h3 {
        margin-top: 180px;
    }
    
}

/*Mobile Landscape general classes, old and newer phones combined*/
@media only screen and (min-width : 415px) and (max-width : 736px) and (orientation : landscape) {

        .no-pad-left{
            padding-left:10px;
        }

        #navwrap{

        position:relative; /*turn off the fixed header and allow to scroll out of view*/

        }

        #headerImage{
        margin-top:0px;
        }

        #mainwrapper{
        margin-top:110px;
        }

        #slideHolder, #ctlImageSlider_dummySlide, #ctlImageSlider_dummySlide img {
    
            width:100%;
            max-width: 736px;
            height: auto;
            padding: 0px;
            margin-left: 0px;
            margin-top: 0px;
        }

         .HomeOverlay h1{
              font-size:24px;
          }



        .HomeOverlay {
                color: white;
                position: absolute;
                top: 220px;
            }

        #divfeatnews1 {
            min-height: 280px;
        }

        .divfeatnewssmall h3, #divfeatnews1 h3{
            font-size:18px;
        }

            #divfeatnews1 h3 {
                margin-top: 180px;
            }

        .divfeatnewssmall{
               font-size:14px;
               min-height: 280px;
        }

        #imgRoll, #imgRollClerk, #ctlExpertiseList_pnlExpertise .bluesquare{
            height:auto;
        }

        .bluesquare{
        display:block;
        }

        .firstdatebox, .datebox {
             width: 120px; 
        }

        .vertalign-inner {
          
            padding-left: 40px;
           
        }

        #twitterbox .boxborder, #ctlFeaturedPub_pnlFeaturedPub .boxborder {
            min-height: 340px;
        }

        #ctlFeaturedNews_pnlFeatured .no-pad-left{
            padding-left:0;
        }

        .expertiselist p, .clerklist p{
            font-size:14px;
        }

        #header-wrapper h2{
            font-size:18px;
        }

        #divquotebg h2 {
    font-size:20px;
        }
    
}

/*Small Mobile landscape fine tuning, where landscape is still effectively single column layout*/
@media only screen and (min-width : 415px) and (max-width : 666px) and (orientation : landscape) {
    .divfeatnewssmall {
        max-width: 100%;
  
    }

    #ctlFeaturedNews_pnlFeatured > div{
        padding-left:0;
    }
}

/*Large mobile landscape fine tuning (iPhone 6/7, 6/7 Plus etc) where content has space to go to two cols. */
@media only screen and (min-width : 667px) and (max-width : 736px) and (orientation : landscape) {

    #headerImage {
    margin-top: -30px;
    }

    #mainwrapper {
    margin-top: 20px;
    }

    #hometable {
    margin-top: 30px;
    }
    
    #slideHolder, #dummySlide, #ctlImageSlider_dummySlide, #dummySlide img, #ctlImageSlider_dummySlide img, #slides, #slides img {
        height: 100%;
        width: 100%;
        padding: 0px;
        min-height: 210px;
    }


    .sygprimary .top-bar-section li:not(.has-form) a:not(.button) {
    /* border-radius: 3px !important; */
    /* background-color: #662483; */
    padding-left: 3px;
    padding-right: 3px;
}

.sygprimary .top-bar-section li {
    /* margin-left: 12px; */
    min-width: 60px;
    text-align: center;

}

.top-bar-section ul li > a {
    display: block;
    width: 100%;
    color: #432f5b;
    padding: 10px 0 10px 0;
    padding-left: 10px;
    font-family: "Source Sans Pro", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: normal;
    text-transform: none;
}

/*Member List Style*/
.barristerBox {
    float: left;
    /*height: auto;*/
    width: 100%;
    margin-left: 10px;
    margin-bottom: 15px;
    padding: 0px 0px 0px 0px;
    position: relative;
    border: 1px solid #34394A;
    min-height:280px;
}

.nameinfo {
    height: 50px;
    background-color: #34394A;
    padding: 12px;
    color: #fff;
    /* margin-bottom: 2px; */
}
.listinfo {
    /* background-color: #5C8AA0; */
    color: #808080;
    width: 105px;
    padding: 2px;
    height: auto;
    font-size: 11px;
    margin-bottom: 10px;
}
   
}

/*Tablet Portrait*/
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
/* Styles */

/*In tablet portrait mode and below, disable the fixed menu header so that MegaSite Mobile Menu displays correctly*/
#navwrap{
/*height:203px;*/
position:relative;
top:auto;
z-index:auto;
/*border:1px solid pink;*/
}

#divquotebg{
    margin-top:-40px;
}

#divquotebg h2{
    font-size:1.2em;
}
   
   #headerImage{
       margin-top:0px;
    }

    #mainwrapper{
        margin-top:10px;
    }

    #hometable {
    margin-top: 30px;
    }

    .expertiselist{
        margin-top:-10px;
        
    }

    .divfeatnewssmall{
        line-height:1.2;
    }

    .vertalign-inner{
        padding-left:60px;
        font-size:0.9rem;
    }

     #slideHolder, #dummySlide, #ctlImageSlider_dummySlide, #dummySlide img, #ctlImageSlider_dummySlide img, #slides, #slides img {
        height: 231px;
        width: 768px;
        padding: 0px;
        min-height: 231px;
    }


.no-pad-left{
padding-left:5px;
}

 .HomeOverlay h1{
      font-size:20px;
  }

    .HomeOverlay {
        color: white;
        position: absolute;
        top: 250px;
    }

    .barristerBox {
   
        width: 140px;
        min-height: 290px;
   
    }

    .imgListBarrister {
    display: block;
    width: 120px;
    margin-left: auto;
    margin-right: auto;
}

    #ctlBarristerProfile_imgBarrister {
    
    height: 180px;
   
    }

    .profile-head{
         padding-top:0px;
    }

    #divMenuCol p{
        width:100%;
    }

     #twitter-widget-0{
    margin-left:0px;
    }
    
    .headerphone{
       
        width:40% !important;
    }

}

/*Tablet Landscape*/
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
/* Styles */
   
#divquotebg{
    margin-top:-50px;
}

    #hometable {
    margin-top: 50px;
    }
   
    #slideHolder, #dummySlide, #ctlImageSlider_dummySlide, #dummySlide img, #ctlImageSlider_dummySlide img, #slides, #slides img {
        height: 308px;
        width: 1024px;
        padding: 0px;
        min-height: 308px;
    }

    .barristerBox {
   
        width: 180px;
        min-height: 290px;
   
    }

    .imgListBarrister {
    display: block;
    width: 120px;
    margin-left: auto;
    margin-right: auto;
}

    #ctlBarristerProfile_imgBarrister {
    
    height: 180px;
   
    }

    .profile-head{
         padding-top:0px;
    }

    .vertalign-inner{
        padding-left:60px;
        font-size:0.9rem;
    }

     #twitter-widget-0{
    margin-left:0px;
}
    
}

/*Avg Desktop*/

@media only screen and (min-width : 1025px) {
    

}

/*Large Desktop*/
@media only screen and (min-width : 1660px) {
    #ctlImageSlider_dummySlide, #ctlImageSlider_dummySlide img, #dummySlide, #dummySlide img, #slides, #slides img, #slideHolder {
    /*border:1px solid pink;
    position:absolute;*/
    height:375px ;
    width:1660px ;
    padding:0px;
    margin-left:auto;
         margin-right:auto;
		 opacity:0.9;
    }

     #ctlImageSlider_dummySlide img{
         
     }

    #textsliderholder {
    
        /*left:30%;
        width:30%;*/
    }

    #hometable {
        margin-left:324px;
    }

    .HomeOverlay {
    color: white;
    position: absolute;
    top: 200px;
    width: 100%;
    left: 0;
    right: 0;
}
}

@media only screen and (max-width: 350px)
{
    .date-item1{
        width:132px;
    }
}