/*============================ M E D I A  Q U I R Y ===============================*/


@media only screen and (max-width: 1199px){
    .logo img {
        width: 110px;
    }
    .header-topinfo {
        margin-bottom: 0;
    }
    #header {
        padding: 10px 0;
    }
    .homebannertxt h2 {
        font-size: 59px;
    }
    .homebannertxt h3 {
        font-size: 35px !important;
        margin-bottom: 35px;
    }
    #scrollbottom {
        bottom: 75px;
        left: 26px;
    }
    .bannertitle{
        font-size: 60px;
    }

}
/*==========================================================*/
@media screen and (min-width:992px) and (max-width:1199px){
    .nav > li > a {padding: 15px;}
    .navbar-nav li a { font-size: 16px;}
}
/*==========================================================*/
@media only screen and (min-width:768px) and (max-width:991px){
    .inner-middle{ margin-bottom: -85px;}
    #header ul.navbar-nav {
        padding-top: 0px;
    }
    .navbar-nav li a { font-size: 14px; padding: 15px 10px;}
    .logo img {
        width: 90px;
    }

    .pagebanner > img, .home-banner > img {
        height: 500px;
        object-fit: cover;
        background-position: center center;
    }
    .dagmiddle ul{ padding: 10px;}
    .dagmiddle .col-lg-6.col-md-6.col-xs-12.col-sm-6:last-of-type{ margin-left: 0px;}
    .pension-topinfo div{ display: block; width: 100%;}

    .pmiddle-main{ width: 90%;}
    .inner-middle > div{ display: table-cell;}

}
/*==========================================================*/
@media only screen and (min-width:1200px) and (max-width:1600px){
    .catcontact {  top: -50px;  width: 100px; } 
}


@media only screen and (max-width:1199px){
    .list-group-item img{ float: left;}
    .contact-top{ margin: 0px;}
    .contact-top .col-lg-5 {   padding-left: 25px; }
    .contactinfo{ padding-bottom: 10px; padding-top: 10px;}
    .catcontact {  top: -50px;  width: 100px; }
    .punchcontact{ display: none;}
}
/*==========================================================*/
@media only screen and (max-width:991px){
    .pbottom-left{ margin-bottom: 30px; text-align: center;}
    .pbottom-main > div{ display: block; width: 100%;}
    .pension-bottom{ padding-top: 160px;}
    .pbottom-main, .pension-topinfo{ display: block;}
    .pensiontop-right{ margin-top: 40px; text-align: center;}
    .tmiddle-main{ display: block;}
    .tmiddle-main:last-of-type {
        display: flex;
        flex-flow: column-reverse nowrap;
    }
    .tmiddle-main div{ width: 100%; display: block;}
    .tmiddle-bg{ height: 400px;}
    .midcontent{ max-width: 90%;}    
    .homebannertxt h3 {
        font-size: 28px !important;
        margin-bottom: 29px;
    }
    .homebannertxt h2 {
        font-size: 50px;
    }
    .featureli.leftli, .list-group.featureli {
        padding-left: 70px;
    }

    .footer2, .footer3 {
        padding-left: 15px !important;
    }
    #footer a {
        display: inline-block;
    }
    .bannertitle {
        font-size: 50px;
    }
    .page-gallery .gallery-block{
        width: calc(100% / 2) !important;
    }

    .gallery-block .gallery-single {
        height: 244px;
    }
    #scrollbottom,#innerpagescroll{ display: none;}
    .catcontact { top: 0;  width: 70px; }
}



/*==========================================================*/
@media screen and (min-width:992px) {
    .featuresection{ max-width: 95%; margin: auto !important;}  
    .contact-bottom .row{ margin: auto !important; width: 75%;}
}

/*==========================================================*/
@media screen and (min-width:768px) {
    .owl-carousel-2 .owl-item img{
        height: 350px;
        object-fit: cover; 
        object-position: center center;
    }
    .row.overonssection .col-sm-6.col-xs-12 > img {
        width: 95%;
    }
    .featuresection .list-group-item img{
        left: -67px;
    }
    .footer2{ padding-left: 25px;}
    .footer3{ padding-left: 80px;} 
    .homesubpage-top p{ max-width: 75%; margin: auto !important;}
    .subpage-info p{ max-width: 80%; margin: auto !important;}
    .pmiddle-main{ width: 80% !important; float: none !important; margin:auto !important;}
    .inv-recaptcha-holder {
        float: left; width: 50%;
        margin-top: 30px;
    }
    .formsubmit{ width: 50%; float: left;}
}
/*==========================================================*/
@media only screen and (max-width: 767px){
    .owl-carousel-2 .owl-item img{
        height: 350px;
        object-fit: cover; 
        object-position: center center;
    }
    .formsubmit{ text-align: center;}
    .overonssection > div {
        display: block;
        width: 100%;     
    }    
    .inv-recaptcha-holder {
        margin: 20px auto auto;
        width: 260px;
    }
    .punchbg{ background: none !important;}
    #footer .copyright{ float: left; width: 100%;}
    h2.widgettitle{ margin-top: 25px;}
    .phnicon i,.phnicon a,.topfb a{ color:#70AF00;}
    .phnicon i,.topfb i{
        border: 1px solid #70AF00;
    }
    .navbar-nav li a {
        color: #272727 !important;
    }
    .navbar-nav > li.current_page_item > a::after, .navbar-nav > li:hover > a::after,.navbar-nav > li.current-page-ancestor > a::after{
        background-color: #6bb200;
    }
    .phnicon i:hover,.phnicon a:hover,.topfb a:hover{color:#70AF00;}
    .contactmap {
        padding: 0px !important;
        width: 100% !important;
    }
    .contact-top .col-lg-5{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .contact-top h2{ text-align: center;}
    .contact-top h2::after {
        left: 0;
        right: 0;
    }
    .list-group-item img{ float: none;}
    .contactinfo{ margin-bottom: 40px;}
    .inner-middle > div,.contact-top > div,.contact-top{ float:left; width: 100% !important; display: block; text-align: center;}
    .pbottom-main > div, .pension-topinfo > div{ display: block; width: 100%;}
    .inner-middle > div{ display: block;}
    .pagebanner > img, .home-banner > img {
        height: 460px;
        object-fit: cover;
    }
    .pagebanner > img, .home-banner > img {
        height: 460px;
        object-fit: cover;
    }
    #header {
        position: relative !important;
        background: #fafafa;
    }
    .home #header.sticky {

        position: fixed !important;
    }
    #header.sticky {
     
        position: fixed!important;
    }
    button.navbar-toggle {
        border: 1px solid #73b005;
        margin: 0;
        margin-top: 24px;
    }
    button.navbar-toggle span {
        background:  #73b005;
    }
    .header-topinfo {
        margin-right: 20px;
        float: right;
        padding: 0;
        margin-top: 24px;
    }
    #header .navbar-collapse {
        clear: both;
    }
    #header .navbar-nav {
        float: none !important;
    }
    .logo img {
        width: 80px;
    }
    .homebannertxt {
        top: 50%;
    }
    .featuresection .list-group-item img {
        width: 50px;
        position: absolute;
        left: 0;
        height: auto;
        top: -7px;
    }
    .overonssection {
        display: block;
    }

    .featureli.leftli, .list-group.featureli {
        padding-left: 0;
    }
    .home-features .featuresection {
        display: block;
    }
    .home-features .featuresection > div {
        display: block;
    }
    .featuresection .featureli .list-group-item {
        min-height: 40px;
        width: 49%;
        display: inline-block;
        vertical-align: top;
        margin-bottom: 20px !important;
        position: relative;
        padding-left: 60px !important;
    }
    #footer {
        text-align: center;
    }
    #footer [class*="col"] {
        clear: both;
    }
    #footer .copyright {
        text-align: center;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    #footer h2.widgettitle:after {
        right: 0;
        margin: auto;
        left: 0;
    }
    .subpage-home > div {
        margin-bottom: 20px;
    }
    .bannertitle {
        font-size: 40px;
    }
    .dagmiddle .col-lg-6.col-md-6.col-xs-12.col-sm-6:first-of-type {
        padding-left: 0px;
        padding-right: 0;
    }
    .dagmiddle  .col-lg-6.col-md-6.col-xs-12.col-sm-6:last-of-type{
        width: 100% !important;
        margin-left: 0;
    }
}
/*==========================================================*/
@media only screen and (max-width: 667px){
    .mfp-image-holder .mfp-content{ max-width: 90% !important;}
}
/*==========================================================*/
@media only screen and (max-width: 600px){
    .homebannertxt h3 {
        font-size: 23px !important;
        margin-bottom: 22px;
    }
    .homebannertxt h2 {
        font-size: 40px;
    }
    .pagebanner > img, .home-banner > img {
        height: 360px;
    }
    .homebannertxt {
        top: 40%;
    }
}
/*==========================================================*/
@media only screen and (max-width: 568px){
    .page-main {
        padding-bottom: 30px;
        padding-top: 41px;
    }
    #scrollbottom {
        bottom: 35px;
    }
    .overonssection > div {
        width: 100%;
        display: block;
    }
    .overonssection {
        display: block;
    }
    .overonssection p {
        max-width: 100%;
    }
    .featuresection .featureli .list-group-item {
        min-height: initial;
        width: 100%;
        padding-left: 0px !important;
        text-align: center;
    }
    .featuresection {
        text-align: center;
    }
    .featuresection .featureli .list-group-item img {
        position: static;
        display: block;
        margin: auto !important;
    }
    .bannertitle {
        font-size: 30px;
    }
}
/*==========================================================*/
@media only screen and (max-width: 480px){
    .owl-carousel-2 .owl-item img{
        height: 275px;
        object-fit: cover; 
        object-position: center center;
    }
    .catcontact {
        position: absolute;
        right: 0;
        top: -13px;
        width: 71px;
    }
    .acf-map{ height: 380px;}
    .pagebanner > img, .home-banner > img {
        height: 230px;
    }
    .homebannertxt h3 {
        font-size: 17px !important;
        margin-bottom: 22px;
    }
    .homebannertxt h2 {
        font-size: 30px;
    }

    .btn.btn-lg, #formsbt {
        font-size: 16px;
        padding: 15px 35px;
    }
    section h2 {
        font-size: 32px;
    }
    .galryanchor h3 {
        position: relative;
        margin-bottom: 30px;
        font-size: 20px !important;
    }
    .page-gallery .gallery-block {
        width: 100% !important;
    }
    .dagmiddle ul{padding: 30px 6px;}
    .homebannertxt {
        top: 49%;
    }
}
/*==========================================================*/
@media only screen and (max-width: 384px){
    button.navbar-toggle {
        margin-top: 0px;
    }
    .header-topinfo {
        margin-right: 0px;
        margin-top: 10px;
    }
     .owl-carousel-2 .owl-item img{
        height: 220px;
        object-fit: cover; 
        object-position: center center;
    }
}
/*==========================================================*/
@media only screen and (max-width: 320px){
    .phnicon a {
        font-size: 16px;
    }
    .phnicon {
        padding-right: 2px;
        margin-right: 4px;
    }
    .phnicon i, .topfb i {
        height: 30px;
        line-height: 30px;
        margin-right: 2px;
        width: 30px;
    }
    .rc-anchor-normal .rc-anchor-pt {
        text-align: left !important;
        width: 81px !important;
    }
    .g-recaptcha {
        transform: scale(0.88);
        transform-origin: 4px 50% 0;
    }
}