

@media (max-width: 1390px){
    .ahnlegal-wrapper h5{
    text-align:left;
    }
    .ahnlegal-wrapper p{
    text-align:left;
    }
    .ahnlegal-img {
    padding-right: 20px;
    }
    }
    .image-ourteam img{ 

    object-fit: cover;    
    }
    .image-ourteam{ 
       
    }
    
    @media (min-width: 1390px){
        .image-ourteam img{ 
           
            object-fit: cover;  
            aspect-ratio: 1/1;  
        }
        .image-ourteam{ 
            
        }
    }
    

@media (max-width: 1279px) {
    .text-legaladvice
    {
    margin-left: 0px;
    margin-right: 0px;
    font-size: 23px;
    }
    #legaladvice .btn-big{
    margin-top:10px;
    } 
    ul.popularservices-block li a{
    padding:6px;
    } 
    .image-ourteam img{ 
        height: 310px; 
        object-fit: cover;    
        }
        .image-ourteam{ 
            height: 310px; 
        }
        .fullprofile{
            float: none;
            margin-top: 15px;
        }
    }
@media (max-width: 1124px) {
    .navbar-collapse ul li {
    margin: 0 7px;
    }
    .text-legaladvice{
    margin-right: 1px;
    font-size: 26px;
    line-height:1;
    }  
    .service-block {
    padding: 30px;
    }
    #review .carousel-item {
    padding: 0 100px;
    }
    ul.popularservices-block li a {
    padding: 15px;
    display: flex; 
    align-items: center
    }  
    .popularservices-block img {
    height: 50px;
    width: 50px;
    padding-top: 0px;
    margin-right: 10px;
    }
    .section-padding {
    padding: 70px 0px;
    }
    #legaladvice {
    padding-top: 60px;
    padding-bottom: 60px;
    }
    .image-resource, .image-resource img{ height: 200px;}

    .servicesinner-wrapper{
        padding: 40px 60px 0px 60px;
    }
    .servicesinner-text h1{
        font-size: 20px;

    }
    .fullprofile{
        float: none;
        margin-top: 15px;
    }
    }

@media (max-width: 1023px) {
    .service-block p{
    line-height: 20px;
    }
    .text-legaladvice{
    font-size: 23px;
    }
    .popularservices-block img {
    height: 40px;
    width: 40px; 
    }
    .popularservices-block a{
    font-size: 13px;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu a{
    border:none;
    } 
    #review .carousel-item {
    padding: 0 70px;
    }
    .fullprofile{
        float: none;
        margin-top: 15px;
    }
    }
@media (max-width: 979px){
    .navbar-collapse ul li a{
    border:none; padding: 15px 0px 15px 0px;
    border-bottom: 1px solid #e3e3e3;
    }
    .navbar-collapse ul li a:hover {
    border-left: none;
    border-right: none;
    }
    .navbar-nav .nav-link.active {
    border-left: none;
    border-right: none; 
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: static;
    min-width: 200px;
    padding: 0; width: 100%;
    } 
    .navbar-collapse ul li:hover .dropdown-menu{
    position: static;
    border-bottom: 1px solid #e3e3e3;
    }
    .service-block p{
    line-height: 20px;
    }
    .text-legaladvice{
    font-size: 23px; line-height: 30px; margin-top: 0;
    }
    #legaladvice {
    padding-top: 50px;
    margin-top: 0px;
    padding-bottom: 50px;
    margin-bottom: 0px;
    }
    .section-padding {
    padding: 50px 0px;
    }
    .service-block {
    padding: 20px;
    }
    #footer, .social-media{ text-align: center;}
    .copyright{ margin-top: 20px;}
    .social-media ul {
    margin: 5px 0 0px 0;
    }
    .ahnlegal-img{ display: none;}

    .servicesinner-wrapper{
        padding: 40px 26px 0px 29px;
    }
    .servicesinner-text h1{
        font-size: 20px;

    }
    .gmap {
        margin-top: 70px;
    }
    #contact-form{ margin-top: 50px;}
    .gmap {
        margin-top: 70px;
        padding-top: 10px;
    }
    .usefullinks li {
        width: 49%;
    }
    .fullprofile{
        float: none;
        margin-top: 15px;
    }

}
    
    
@media (max-width: 767px){
    .service-block h3{
    line-height: 20px;
    font-size: 15px;
    margin-right:15px;
    }
    .service-block p{
    line-height: 15px;
    font-size:12px;
    }
    .btn2{
    padding-left: 15px;
    text-align: center;
    padding-right:15px;
    }
    #legaladvice .text-end {
    text-align: center !important;
    }
    .text-legaladvice{
    font-size: 20px; 
    line-height: 30px; 
    margin-top: 0;
    margin-right: 0; }
    #review .carousel-item{
    font-size:12px;
    }
    .section-padding, #services {
    padding: 50px 0px;
    }   
    .servicewrapper{
    display: block;
    }
    .servicewrapper:after{ 
    content: ''; 
    display: block; 
    clear: both;}
    .servicewrapper .service-block{ 
    width: 50%;
    float: left;}
    .servicewrapper .service-block:first-child{ 
    width: 100%;
    float: left;   
    }
    .carousel-item img {
    height: 120px;
    width: 120px;
    }
    .carousel-item h6 {
    padding: 5px;
    font-size: 16px;
    }
    #review .carousel-item {
    padding: 0 55px;
    }
    #review{ min-height: 350px;}
    .gmap {
        margin-top: 70px;
    }

    }
@media (max-width: 575px) {
    .text-legaladvice{
    font-size: 27px;
    line-height: 36px;
    margin-top: 0;
    text-align: center;
    }
    #legaladvice {
    padding-top: 35px;
    margin-top: 0px;
    padding-bottom: 35px;
    margin-bottom: 0px; text-align: center;
    }
    .carousel-item img {
    height: 100px;
    width: 100px;
    }
    .carousel-item h6 {
    padding: 5px;
    font-size: 16px;
    }
    #review .carousel-item {
    padding: 0 55px;
    }
    .popularservices-block {
    padding: 0;
    margin: 0;
    }
    ul.popularservices-block li {
    padding: 0;
    }
    .servicewrapper .service-block{
    width: 100%;
    }
    .service-block p {
    margin-bottom: 25px;
    }
    .servicewrapper .service-block{
    padding-bottom: 30px;
    }
    .main-title:after {
    margin-bottom: 20px;
    }
    .text h3{ margin-top: 0;}
    }
    @media (max-width: 479px) {
    .text-legaladvice {
    font-size: 22px;
    }
    .btn-big {
    padding: 16px 25px 13px 25px;
    font-size: 14px;
    }
    .bestlawyers-wrapper h1{ 
        margin-top: 0;
        font-size: 25px;
    }
    .carousel-control-next, .carousel-control-prev {
    width: 8%;
    }
    #review .carousel-item {
    padding: 0 35px;
    }    
    .text h3, .main-title {
    font-size: 24px;
    }   
    .resource-img {
    margin-bottom: 20px;
    }
    .section-padding, #services {
    padding: 40px 0px;
    }
    #work-together .main-title:after {
    margin-bottom: 30px;
    }

    }

@media (max-width: 1197px) {
    .navbar-collapse ul li {
    margin: 0 0px;
    }
    .ahnlegal-wrapper h5{
    text-align:left;
    }
    .ahnlegal-wrapper p{
    text-align:left;
    } 
    .ahnlegal-img {
    padding-right: 15px;
    }
    .image-ourteam{ 
    height: 250px; 
    }
    .image-ourteam img{ 
    height: 250px; 
    object-fit: cover;    
    }
    }
@media (max-width: 1124px) {
    .navbar-collapse ul li {
        margin: 0 5px;
    }
    #bestlawyers{
        margin-top: 60px;
        height: 260px;
    }
    #ourteam .card-text p{
        line-height: 21px;
    }
    .image-ourteam{ 
        height: 255px; 
    }
    .image-ourteam{ 
        height: 255px; 
        object-fit: cover;
    }
    .gmap {
        margin-top: 70px;

    }
    }

@media (max-width: 1023px) {
    .navbar-brand img {
    height: 50px;
    }

    #breadcrumb-wrapper {
    padding: 45px 0 30px 0;
    margin-top: 80px;
    }
    .breadcrumb li a{
        font-size:12px;
    }
    .breadcrumb li.active{
        font-size:12px;
        
    }
    .image-ourteam{ 
    height: 350px; 
    } 
    .image-ourteam img{ 
    height: 350px; 
    object-fit: cover;    
    } 
   
    .download-list li .download-content a.download-title {
        font-size: 16px;
    }
    .ourteaminner-text{
        padding-left: 0;
    }

    }
    @media (max-width: 575px) {
    .navbar-brand img {
    height: 60px;
    }
    #breadcrumb-wrapper {
    padding: 15px 0 15px 0;
    }
    .ahnlegal-wrapper h5{
    text-align:left;
    }
    .ahnlegal-img{
    width:100%;
    }
    .ahnlegal-wrapper p{
    text-align:left;
    }  
    .inetrnationalteam-block{
    margin-bottom:20px;
    }  
    .documenttype{
        display:none;
    } 
    .download-list li{
        display: block;
    }
    .download-content{
        margin-bottom: 15px;
    }
    #breadcrumb-wrapper h1{
    font-size: 24px;
    padding-top: 25px;
    margin-bottom: 10px;
    }
    .download-list li .download-content a.download-title {
        font-size: 16px;
    }
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    .navbar-brand{ padding: 0; margin: 0;}
  
    #getstarted .social-media{
        margin-bottom:50px;
    }
    
    .touchinfo-block .col-xs-12{
        margin-bottom: 30px;
    }
    .gmap {
        margin-top: 70px; height: 270px;
    }
    .touchinfo-block{ 
        padding-bottom: 30px;
    }
    #bestlawyers video {
        bottom: 0%;
    }
    .ahnlegal-wrapper{ padding: 20px 20px;}
    .resource-text > a.ttl{ min-height: 0;}
}

    

@media (max-width: 480px) {
    

    .gmap{
        margin-top:70px; height: 270px;
    }

    .ahnlegal-wrapper p{
        padding-right: 10px;
        padding-left: 10px;

    }
    .ahnlegal-wrapper h5{
        padding-left: 10px;

    }
    #ourteaminner.ourteaminner-text p{
        padding-right: 10px;
        padding-left: 10px;
    }
    .touchinfo-block{ 
        padding-bottom: 30px;
    }
    #bestlawyers p {
        color: white;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    #bestlawyers {
        margin-top: 70px;
        height: 222px;
        padding-top: 30px;
    }
    #bestlawyers video {
        bottom: 0%;
    }
    .ahnlegal-wrapper{ padding: 20px 10px;}
    .image-ourteam {
        height: 290px;
    }
    .image-ourteam img {
        height: 290px;
    }



    }
    



