html body {
    min-width: 300px;
}

#gdlr-main-navigation {
    display: block;
}

#gdlr-responsive-navigation {
    display: none;
}

body .kaf-header-social {
    margin-top: 2px;
}

body .kaf-header-social strong i {
    padding: 1px 4px !important;
}

@media only screen and (max-width: 1300px) {
    body .footer-wrapper .kaf-logo {
        margin-left: 0;
    }
}
@media only screen and (max-width: 1023px) {

    /*Partners logos */
    .kaf-partners .container {
        max-width: none;
        overflow: auto;
        white-space: nowrap;
        width: 100%;
    }

    /*--- top bar ---*/
    .top-navigation-container {
        text-align: center;
        line-height: 1;
    }

    .top-navigation-left {
        float: none;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .top-navigation-right {
        float: none;
        line-height: 1.5;
    }

    .top-navigation-right-text {
        float: none;
        padding: 10px 0;
    }

    .top-social-wrapper {
        float: none;
        margin-left: 0;
        display: inline-block;
        padding: 0;
    }

    .gdlr-nav-search-form-button-wrapper {
        display: none;
    }

    .gdlr-item-title-wrapper.pos-left .gdlr-item-title {
        white-space: normal
    }

    /*--- logo ---*/
    body .gdlr-logo {
        float: none;
        display: block;
        margin: 0;
        /*padding-top: 30px;*/
        margin-top: -30px;
        padding-bottom: 30px;
        padding-right: 80px;

    }

    .gdlr-logo-right-text {
        float: none;
        text-align: center;
        margin: 0 10px 30px;
    }

    .gdlr-header-style-2.gdlr-centered .gdlr-logo {
        display: block;
    }

    .gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-left,
    .gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-right {
        float: none;
    }

    .gdlr-logo-right-text.gdlr-align-left,
    .gdlr-logo-right-text.gdlr-align-right {
        float: none;
        margin-bottom: 30px;
        margin-top: 0;
    }

    .gdlr-header-search {
        width: 100%;
    }

    /*#gdlr-main-navigation{ display: none; }*/
    /*
    #gdlr-main-navigation ul {
        display: none
    }
    */

/*    .kaf-header-logo {
        top: -94px;
    }*/

    #gdlr-responsive-navigation {
        display: block;
        height: 0;
        /*position: static;*/
        position: absolute;
        float: none;
        top: -20px;
    }

    #gdlr-responsive-navigation .dl-trigger {
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -20px;
    }

    .gdlr-logo.gdlr-align-left #gdlr-responsive-navigation .dl-trigger,
    .gdlr-logo.gdlr-align-right #gdlr-responsive-navigation .dl-trigger {
        top: 32px;
        margin-top: 0;
    }

    .dl-menuwrapper .dl-menu, .dl-menuwrapper > .dl-submenu {
        margin: 0 15px;
        /*  width: 390px;*/
        text-align: left;
        z-index: 999;
    }

    body .gdlr-header-style-2.gdlr-centered .gdlr-header-inner {
        display: table;
        height: auto;
        margin: 0 15px 90px;
        width: 100%;
    }

    .dl-menuwrapper .dl-menu {
        left: auto;
        margin-top: 20px;
        right: 5px;
        top: 51px;
        width: auto;
    }

    .gdlr-ux.column-service-ux {
        min-height: 260px;
    }

    body .small-width {
        width: 100%;
    }

}

/*--- tablet ---*/
@media only screen and (max-width: 959px) {
    body .container {
        max-width: 768px;
    }

    body .body-wrapper.gdlr-boxed-style {
        max-width: 808px;
    }

    .flex-direction-nav .flex-prev,
    .flex-direction-nav .flex-next {
        opacity: 1;
    }

    .gdlr-header-style-1 .gdlr-logo {
        float: none;
        margin: 35px auto 10px;
    }

    .gdlr-header-style-1 .gdlr-navigation {
        margin-top: 0;
        float: none !important;
        display: block;
        text-align: center;
        line-height: 0;
    }

    .gdlr-header-style-1 .gdlr-navigation > ul.sf-menu {
        display: inline-block;
        float: none;
        line-height: 1.7;
        text-align: left;
    }

    .gdlr-header-style-1 .gdlr-main-menu > li > a {
        padding-bottom: 20px;
    }

    .gdlr-navigation-wrapper .gdlr-main-menu > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .gdlr-navigation-wrapper .top-social-wrapper {
        padding-top: 0;
        position: absolute;
        margin-top: -30px;
        left: 0;
    }

    .gdlr-header-style-2.gdlr-centered .gdlr-navigation .sf-menu {
        float: left;
    }

    body .top-navigation-wrapper {
        min-height: 40px;
    }

}

@media only screen and (max-width: 799px) {
    body .container {
        max-width: 743px;
    }
    /*body .kaf-header-logo .kaf-logo-tagline {*/
        /*margin: 3px 0 0 100px*/
    /*}*/
}

/*--- mobile landscape style ---*/
@media only screen and (max-width: 767px) {

    .not-767 {
        display: none
    }

    .kaf-header-logo img {
        max-width: 300px;
    }

    .home .gdlr-full-size-wrapper {
        padding-top: 0
    }

    body .kaf-header-logo .kaf-logo-tagline {
        display: inline-block;
        background: #A3958A;
        color: #FFF;
        line-height: 1.42;
        opacity: 1;
        transition: all 800ms;
    }

    .personnel-item, .foundation-team-members .gdlr-personnel-item .personnel-info {
        text-align: center;
    }

    .gdlr-navigation-wrapper .top-social-wrapper {
        margin-top: -7px;
    }

    body #gdlr-responsive-navigation {
        top: 10px
    }

    .dl-menuwrapper .dl-menu {
        right: 20px;
        top: 49px;
    }

    /*Header bottom margin*/
    /*  body .gdlr-color-wrapper, body .gdlr-parallax-wrapper, body .gdlr-full-size-wrapper {
              padding-top: 0;
      }
      header {
          margin: 0 0 20px;
      }*/
    /*Burger Menu*/
    .dl-menuwrapper .dl-menu {
        margin: 0
    }

    /*Copyright alignment*/
    body .copyright-left, body .copyright-right {
        float: none;
        text-align: center;
        margin: 0;
        width: 100%;
    }

    .current-projects .column-service-image, .current-projects .column-service-content {
        text-align: center;
    }

    .gdlr-ux.column-service-ux {
        min-height: 0;
    }

    .home-content-boxes .gdlr-ux.column-service-ux {
        width: 46%;
        margin: 0 2%;
        display: block;
        float: left;
    }

    .four.columns .gdlr-column-service-item {
        display: table;
        float: left;
        height: 170px;
        margin: 0 2%;
        width: 45%;
    }

    .four.columns .gdlr-ux .gdlr-column-service-item {
        width: 100%;
        float: none;
        height: auto;
        margin: 0;
    }

    body .container {
        max-width: 95%;
    }

    body .body-wrapper.gdlr-boxed-style {
        max-width: 460px;
    }

    body .body-wrapper {
        overflow: hidden;
    }

    .one-ninth, .one-eighth, .one-seventh, .one-fifth,
    .two-fifth, .three-fifth, .four-fifth,
    .one, .two, .three, .four, .five, .six, .seven,
    .eight, .nine, .ten, .eleven, .twelve {
        width: 100%;
    }

    /*--- stunning-text ---*/
    .gdlr-stunning-text-item {
        text-align: center;
    }

    .gdlr-stunning-text-item.type-normal.gdlr-button-on {
        padding-right: 0;
    }

    .gdlr-stunning-text-item.type-normal .stunning-text-button {
        position: static;
        margin-top: 0;
    }

    .gdlr-stunning-text-item.with-padding.gdlr-button-on {
        padding-right: 35px;
    }

    .gdlr-feature-media-item.gdlr-left .feature-media-thumbnail {
        float: none;
        width: auto;
        margin-right: 0;
    }

    .gdlr-feature-media-item .feature-media-icon {
        display: none;
    }

    html .woocommerce ul.products li.product, html .woocommerce-page ul.products li.product {
        width: 99% !important;
    }

    /*--- single page ---*/
    .gdlr-portfolio-style1 .gdlr-portfolio-description {
        float: none;
        margin-right: 0;
        width: auto;
    }

    .gdlr-portfolio-style1 .gdlr-portfolio-info {
        width: auto;
        float: none;
        margin-bottom: 30px;
    }

    .gdlr-portfolio-style2 .gdlr-portfolio-thumbnail {
        max-width: 100%;
        float: none;
        margin-right: 0;
        margin-left: 0;
        width: auto !important;
    }

    .gdlr-blog-medium .gdlr-blog-thumbnail {
        margin-right: 0;
        float: none;
        margin-bottom: 20px;
        width: auto;
    }

    .gdlr-post-slider-item.style-post-right .flexslider .slides img {
        width: auto;
    }

    .gdlr-caption-wrapper.position-post-right {
        display: none;
    }

    /*--- causeu ---*/
    .gdlr-cause-medium .gdlr-cause-thumbnail-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
        float: none;
        width: auto;
    }

    .gdlr-cause-full .gdlr-cause-info-wrapper {
        float: none;
        margin-bottom: 20px;
        width: auto;
    }

    .single-cause .gdlr-donate-button {
        position: relative;
        margin-top: 20px;
    }

    .single-cause .cause-info.cause-pdf {
        float: none;
        margin-top: 10px;
    }

    .single-cause .gdlr-donation-goal-text {
        float: none;
    }

    .urgent-cause-wrapper .urgent-cause-info .gdlr-donate-button {
        float: none;
        margin-left: 0;
        margin-bottom: 30px;
    }

    .gdlr-cause-search-wrapper input[type="text"] {
        width: 95%;
        margin-bottom: 10px;
        float: none;
    }

    .gdlr-cause-search-wrapper .gdlr-combobox {
        width: 100%;
        margin-bottom: 10px;
        float: none;
    }

    /*--- slider ---*/
    .gdlr-caption-wrapper .gdlr-caption .gdlr-caption-text {
        display: none;
    }

    .gdlr-caption-wrapper .gdlr-caption .gdlr-caption-title {
        margin-bottom: 0;
        font-size: 15px;
    }

    .gdlr-caption-wrapper .gdlr-caption {
        max-width: 100%;
        padding: 13px 12px;
    }

    .gdlr-item-title .gdlr-flex-prev {
        margin: 0;
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -20px;
    }

    .gdlr-item-title .gdlr-flex-next {
        margin: 0;
        position: absolute;
        right: 0;
        top: 50%;
        margin-top: -20px;
    }

    /*--- title item ---*/
    .gdlr-item-title-wrapper.pos-center .gdlr-item-title-gimmick {
        display: none;
    }

    .gdlr-item-title-wrapper.pos-icon.gdlr-right-text,
    .gdlr-item-title-wrapper.pos-center.gdlr-right-text {
        padding: 0;
    }

    .gdlr-item-title-wrapper > .nav-container {
        position: static;
        text-align: center;
        margin-top: 10px;
    }

    .gdlr-item-title-wrapper > .nav-container > .gdlr-right-text-link {
        float: none;
        margin: 0;
    }

    .gdlr-service-with-image-item.gdlr-left .service-with-image-thumbnail,
    .gdlr-service-with-image-item.gdlr-right .service-with-image-thumbnail {
        float: none;
        margin-right: 0;
        margin: 0 auto;
    }
}

@media screen and (max-width: 599px) {
    body .container {
        max-width: 420px;
    }

    .four.columns .gdlr-column-service-item {
        float: none;
        height: auto;
        margin: auto;
        width: 100%;
    }

}

/*--- mobile portrait style ---*/
@media only screen and (max-width: 419px) {

    .home-content-boxes .gdlr-ux.column-service-ux {
        width: 96%;
    }

    .annan-image-circles .gdlr-styled-box-body.kaf-styled-box-body-no-bg {
        padding: 80px;
    }

    body .home-slider {
        padding-top: 0
    }

    body .container {
        max-width: 95%;
    }

    body .body-wrapper.gdlr-boxed-style {
        max-width: 340px;
    }

    .dl-menuwrapper .dl-menu, .dl-menuwrapper > .dl-submenu {
        width: 270px;
    }

    .dl-menuwrapper .dl-menu, .dl-menuwrapper > .dl-submenu {
        width: auto;
    }

    .gdlr-column-service-item.gdlr-type-image .column-service-image {
        margin-right: 0
    }
}

@media only screen and (max-width: 360px) {

    body .kaf-header-logo img {
        /*width: 220px;*/
        /*margin: 5px 0 0 10px;*/
    }

    body .kaf-header-logo .kaf-logo-tagline {
        /*margin: 3px 0 0 87px*/
    }

    body .kaf-article-slider-with-image .gdlr-caption-wrapper.post-slider .gdlr-caption {
        margin-left: 10px;
    }

    body .kaf-article-slider-with-image .gdlr-caption-wrapper .gdlr-caption {
        padding-top: 24px;
    }

    body .biography-wrapper {
        padding-top: 19px;
    }

}
