

@media (min-width: 1200px) {

.home-business .container {
    max-width: 1170px;
    margin: 0 auto;
}
.services-business .container {
    max-width: 850px;
    margin: 0 auto;
}
.account-report .container {
    max-width: 1170px;
    margin: 0 auto;
}
}
 
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
.main-slider .main-slide {
    height: 390px;
}    
.home-remark .col-md-6:last-child {
    padding-top: 30px;
}
.home-business h2 {
    font-size: 28px;
}
.header-top a {
    margin: 0 0px 0 5px;
}
.staff-main .staff-main-item .card .card-body {
    padding: 25px 10px 25px;
}
.header-top .col-6:last-child a {
    margin: 0 0 0 5px;
    display: inline-block;
}
.account-good .col-md-6:last-child {
    padding-top: 20px;
}
.account-good .col-md-6:last-child.p-60 {
    padding-top: 15px;
}
.main-slider .slider-caption {
    top: 14%;
}


.quick-cont .qc-bottom p {
    min-height: 100px;
}
.services-devoted p {
    min-height: 120px;
}

 

}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
header .logo {
    padding: 17px 0px;
}    
header .navbar-light .navbar-nav .nav-link {
    color: #484848;
    padding: 30px 12px;
} 
.navbar-light .navbar-toggler {
    color: white;
    border-color: white;
    border-radius: 0px;
}
header .dropdown-menu {
    top: 100%;
} 
header .navbar-light .navbar-nav .nav-link.dropdown-toggle {
    background-position: 100% 42px;
}

header .navbar-light .navbar-nav .nav-link.dropdown-toggle:hover {
    background-position: 100% 42px;
}
.main-slider .main-slide {
    height: 290px;
}
.home-remark .col-md-6:last-child img {
    min-height: 430px;
}
.home-business h2 {
    font-size: 20px;
    min-height: 48px;
}
.home-testimonial .testimonial-inner {
    max-width: 560px;
}
.about-services .col-md-4 p {
    min-height: 95px;
}
.staff-main .staff-main-item h4 {
    min-height: 66px;
    font-size: 16px;
}
.staff-main .staff-main-item .card .card-body {
    padding: 25px 10px 10px;
}
.staff-main .staff-main-item h4 {
    min-height: 80px;
    font-size: 16px;
}
.services-devoted h4 {
    min-height: 52px;
    margin-bottom: 0px;
}
.account-good .col-md-6:first-child img {
    height: 100%;
    object-fit: cover;
}
.home-testimonial .testimonial-inner .testimonial p::after {
    bottom: -38%;
}
footer .col-md-5 .col-md-7 {
    padding-right: 0px;
}
.header-top .col-sm-9 p {
    margin: 0 10px 0 0px;
}
.main-slider .slider-caption {
    top: 10%;
}
.header-top .col-sm-3 img, .header-top-mobile .col-12 img {
    margin: -4px 0px 0 8px;
}


.quick-cont .qc-bottom h3 {
    min-height: 56px;
}
.quick-cont .qc-bottom p {
    min-height: 120px;
}
.home-quick {
    top: -90px;
    margin-bottom: -90px;
}
.home-remark {
    padding: 70px 0 40px;
}
.services-devoted p {
    min-height: 170px;
}
.cc-item-1 h1, .cc-item-2 h1 {
    font-size: 20px;
}
.cc-item-2 h2 {
    font-size: 26px;
}
.staff-main .staff-main-item .card {
    min-height: 190px;
}

}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {  
.header-top {
    display: none;
}
.header-top-mobile {
    display: block;
}    
header .logo {
    padding: 23px 0px;
}    
header .menu {
    padding: 0px 5px;
}    
.menu-top-right {
    padding: 5px 5px 5px 40px;
}
.menu-top-right::before {
    border-width: 33px 0 0 30px;
}


header .navbar {
    padding: 20px 0;
}
header .navbar-nav {
    background: #476a30;
}    
header .navbar-light .navbar-nav .nav-link {
    color: white;
}
header .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: white;
}
header .dropdown-menu {
    top: 155%;
    color: #484848;
    background-color: #476a30;
}
header .dropdown-item {
    padding: .50rem 1.75rem;
    color: white;
}
header .dropdown-item:focus, .dropdown-item:hover {
    color: #476a30;
    background-color: white;
}
header .navbar-expand-md .navbar-nav .nav-link {
    padding: 9px 15px !important;
}
header .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: white;
}

header .navbar-light .navbar-nav .nav-link.dropdown-toggle {
    background: url(../images/icons/down-w.png) no-repeat;
    background-position: 94% 17px !important;
    padding-right: 15px;
}

header .navbar-light .navbar-nav .nav-link.dropdown-toggle:hover {
    background: url(../images/icons/down-w.png) no-repeat;
    background-position: 94% 17px !important;
}
.main-slider .main-slide {
    height: 200px;
}
.home-services .col-md-4 {
    border-right: 0px;
    border-bottom: 2px solid white;
}
.home-remark .col-md-6:first-child {
    padding-left: 15px;
}

.home-business h2 {
    font-size: 30px;
    min-height: 58px;
}
.home-testimonial .testimonial-inner {
    max-width: 430px;
}
.home-testimonial .testimonial-inner .testimonial p {
    margin: 20px 70px 0px;
}
.home-testimonial .slick-prev {
    top: 20px;
}
.home-testimonial .slick-next {
    top: 20px;
}
.about-services .col-md-4 p {
    min-height: 44px;
}
.about-services .col-md-4:first-child {
    padding: 15px;
}

.about-services .col-md-4:nth-child(2) {
    padding: 15px;
}

.about-services .col-md-4:last-child {
    padding: 15px;
}
.about-remark .col-md-6:first-child {
    padding-left: 15px;
}
.about-tailor {
    padding: 40px 0 40px;
}
.staff-main .staff-main-item h4 {
    min-height: auto;
    font-size: 18px;
}
.staff-main .staff-main-item .card .card-body {
    padding: 25px;
}
.account-good .col-md-6:first-child {
    padding-left: 15px;
}

.contact-content .col-md-7:first-child {
    border-right: 0px;
}
.contact-content .col-md-7 {
    padding-right: 15px;
}

.contact-content .col-md-5 {
    padding-left: 15px;
}

.main-slide {
    min-height: 300px;
}
.main-slider .slider-caption {
    top: 43%;
}
.home-remark {
    padding: 60px 0 15px;
}

header .logo {
    padding: 0 15px;
}
header .logo img {
    max-width: 200px;
    position: absolute;
    top: 40px;
    z-index: 99999;
}
.home-quick {
    top: 20px;
    margin-bottom: -20px;
}
.main-slider .slider-caption h1 {
    font-size: 30px;
}
.main-slider .slider-caption h2 {
    font-size: 26px;
}
.quick-cont .qc-bottom p {
    min-height: auto;
}
.home-quick .col-md-4 {
    margin-bottom: 30px;
}
.quick-cont .qc-bottom h3 {
    min-height: auto;
}
.home-remark .hr-2nd {
    padding: 15px;
    top: 0;
    margin-bottom: 0;
    border: 0;
}
.home-business .hb-1st:first-child {
    margin-top: 20px;
}
.home-business {
    padding: 20px 0;
}
.home-devoted {
    padding: 0px 0 20px;
}
.home-devoted .col-md-4 {
    padding-top: 20px;
    padding-bottom: 0px;
}
.home-testimonial .container .testimonial-inner .prev-t {
    top: 70%;
    left: 15px;
}
.home-testimonial .container .testimonial-inner .next-t {
    top: 70%;
    right: 15px;
} 
.home-testimonial .testimonial-inner .testimonial p {
    margin: 20px 40px 60px;
}
.main-title {
    padding: 60px 15px 50px;
}
.ai-cont {
    margin-bottom: 20px;
}
.about-idea {
    padding: 10px 0 20px;
}
.about-services {
    padding: 5px 0;
}
.about-remark {
    padding: 0;
}
.about-video {
    padding: 20px 0;
}
h1 {
    font-size: 28px;
}
.services-deserve {
    padding: 20px 0 0px;
}
.services-devoted p {
    min-height: auto;
}
.services-devoted .col-md-4 {
    padding-bottom: 0;
}
.account-good h2 {
    font-size: 28px;
}
.account-good {
    padding: 20px 0 0px;
}
.account-report {
    text-align: center;
    padding: 20px 0 20px;
}
.account-report .col-md-6 {
    padding: 20px;
}
.portal-secure {
    padding: 20px 0 0px;
}
.blogpage_container {
    padding: 20px 0px;
}
.tax-best {
    padding: 30px 0 0px;
}
.cc-item-2-cont {
    top: 20px;
}
.contact-content {
    padding: 20px 0 40px;
}
.privacy-type {
    padding-top: 20px;
    padding-bottom: 20px;
}
.privacy-deserve {
    padding: 30px 0 0px;
}
.main-title {
    background-position: center;
}

.staff-main .staff-main-item .card {
    min-height: 290px;
}


}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
 
header .navbar-light .navbar-nav .nav-link.dropdown-toggle {
    background: url(../images/icons/down-w.png) no-repeat;
    background-position: 92% 17px;
    padding-right: 15px;
}

header .navbar-light .navbar-nav .nav-link.dropdown-toggle:hover {
    background: url(../images/icons/down-w.png) no-repeat;
    background-position: 92% 17px;
}
.main-slider .main-slide {
    height: 190px;
}
.footer-bottom p {
    margin: 6px 0px;
} 
.slick-next {
    top: 85%;
}
.slick-prev {
    top: 85%;
}   

.home-testimonial .testimonial-inner .testimonial p::before {
    position: absolute;
    top: -10px;
    transform: translateY(-50%);
    left: -10px;
    content: "";
    background: url(../images/icons/quot-left.png) no-repeat;
    width: 40px;
    height: 50px;
    z-index: 9999;
}

.home-testimonial .testimonial-inner .testimonial p::after {
    position: absolute;
    bottom: -62%;
    transform: translateY(-50%);
    right: 0px;
    content: "";
    background: url(../images/icons/quot-right.png) no-repeat;
    width: 40px;
    height: 40px;
}


.main-slide {
    min-height: 350px;
}
.main-slider .slider-caption {
    top: 30%;
}
.home-testimonial .testimonial-inner {
    padding: 0px 0px 0px;
}

.main-title h1 {
    font-size: 26px;
}

.text-36 {
    font-size: 26px;
}
.services-business h2:first-child {
    font-size: 36px;
}
.services-business h2 {
    font-size: 30px;
}

}

@media (max-width: 534px){
ul.comments li img.avatar {    max-width: 100%;height: auto;}
.comment-block .pull-right{float: none;}
ul.comments li .img-thumbnail {margin: 15px 0 0 15px; position: absolute; z-index: 99;}
ul.comments li {    padding: 10px 0 0 0px;}
ul.comments .comment-arrow{display: none;}
.reply{margin-left: 10px !important;}
.comment-block p {
    font-size: 13px;
    margin-top: 70px;
}
footer ul li {
    font-size: 12px;
}
}


@media (max-width: 370px) {

.header-top-mobile .col-12:first-child {
    padding-right: 0px;
    padding-left: 7px;
}
.header-top-mobile .col-12:last-child {
    padding-right: 7px;
    padding-left: 7px;
}
.header-top-mobile .col-12:first-child p {
    margin: 0 7px 0 0px;
}
.header-top-mobile .col-12:last-child img {
    margin: 0px 0px 0 9px;
}
.home-testimonial .testimonial-inner .testimonial p::after {
    bottom: -32%;
}

}

