.logo a img {
    height: 82px;
    -o-object-fit: contain;
       object-fit: contain;
}
.logo a.navbar-brand.logo-black {
    padding: 0;
    display: block;
    margin: 0;
}
.second-menu .logo {
    padding: 24px 0;
    background: #ffffff;
    height: 121px;
}

/** Banner Css **/


/*
PURE RESPONSIVE CSS3 SLIDESHOW GALLERY by Roko C. buljan
http://stackoverflow.com/a/34696029/383904
*/

.CSSgal {
    position: relative;
    overflow: hidden;
    height: 100%; /* Or set a fixed height */
}

/* SLIDER */

.CSSgal .slider {
    height: 100%;
    white-space: nowrap;
    font-size: 0;
    -webkit-transition: 0.8s;
    transition: 0.8s;
}

/* SLIDES */

.CSSgal .slider > * {
    font-size: 1rem;
    display: inline-block;
    white-space: normal;
    vertical-align: top;
    height: 100%;
    width: 100%;
    background: none 50% no-repeat;
    background-size: cover;
}

/* PREV/NEXT, CONTAINERS & ANCHORS */

.CSSgal .prevNext {
    position: absolute;
    z-index: 1;
    top: 50%;
    width: 100%;
    height: 0;
}

.CSSgal .prevNext > div+div {
    visibility: hidden; /* Hide all but first P/N container */
}

.CSSgal .prevNext a {
    background: #fff;
    position: absolute;
    width:       60px;
    height:      60px;
    line-height: 60px; /* If you want to place numbers */
    text-align: center;
    opacity: 0.7;
    -webkit-transition: 0.3s;
                    transition: 0.3s;
    -webkit-transform: translateY(-50%);
                    transform: translateY(-50%);
    left: 0;
}
.CSSgal .prevNext a:hover {
    opacity: 1;
}
.CSSgal .prevNext a+a {
    left: auto;
    right: 0;
}

/* NAVIGATION */

.CSSgal .bullets {
    position: absolute;
    z-index: 2;
    bottom: 0;
    padding: 10px 0;
    width: 100%;
    text-align: center;
}
.CSSgal .bullets > a {
    display: inline-block;
    width:       30px;
    height:      30px;
    line-height: 30px;
    text-decoration: none;
    text-align: center;
    background: rgba(255, 255, 255, 1);
    -webkit-transition: 0.3s;
                    transition: 0.3s;
}
.CSSgal .bullets > a+a {
    background: rgba(255, 255, 255, 0.5); /* Dim all but first */
}
.CSSgal .bullets > a:hover {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* NAVIGATION BUTTONS */
/* ALL: */
.CSSgal >s:target ~ .bullets >* {      background: rgba(255, 255, 255, 0.5);}
/* ACTIVE */
#s1:target ~ .bullets >*:nth-child(1) {background: rgba(255, 255, 255,   1);}
#s2:target ~ .bullets >*:nth-child(2) {background: rgba(255, 255, 255,   1);}
#s3:target ~ .bullets >*:nth-child(3) {background: rgba(255, 255, 255,   1);}
#s4:target ~ .bullets >*:nth-child(4) {background: rgba(255, 255, 255,   1);}
/* More slides? Add here more rules */

/* PREV/NEXT CONTAINERS VISIBILITY */
/* ALL: */
.CSSgal >s:target ~ .prevNext >* {      visibility: hidden;}
/* ACTIVE: */
#s1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#s2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}
#s3:target ~ .prevNext >*:nth-child(3) {visibility: visible;}
#s4:target ~ .prevNext >*:nth-child(4) {visibility: visible;}
/* More slides? Add here more rules */

/* SLIDER ANIMATION POSITIONS */

#s1:target ~ .slider {transform: translateX(   0%); -webkit-transform: translateX(   0%);}
#s2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
#s3:target ~ .slider {transform: translateX(-200%); -webkit-transform: translateX(-200%);}
#s4:target ~ .slider {transform: translateX(-300%); -webkit-transform: translateX(-300%);}
/* More slides? Add here more rules */


/* YOU'RE THE DESIGNER! 
   ____________________
   All above was mainly to get it working :)
   CSSgal CUSTOM STYLES / OVERRIDES HERE: */

.CSSgal{
    color: #fff;    
    text-align: center;
}
.CSSgal .slider h2 {
    margin-top: 40vh;
    font-weight: 200;
    letter-spacing: -0.06em;
    word-spacing: 0.2em;
    font-size: 3em;
}
.CSSgal a {
    border-radius: 50%;
    margin: 0 3px;
    color: rgba(0,0,0,0.8);
    text-decoration: none;
}



/********************** 
 * 
 * custom css 
 * 
 * ********************/

.macs-farm {
    margin-top: 60px;
}

 .macs-farm table {
    border: 1px solid #b0b0b0;
    width: 100%;
}

.macs-farm table thead tr {
    border-bottom: 1px solid #b0b0b0;
}

.macs-farm table thead tr td {
    padding: 10px;
}

.macs-farm table thead tr td:not(:last-child) {
    border-right: 1px solid #b0b0b0;
    font-weight: 600;
    color: #001659;
}


.fotorama__nav.fotorama__nav--thumbs {
    margin-top: 15px !important;
}

.services-our .elementor-widget-container {
    padding: 15px;
    border: 5px solid rgb(247, 249, 255);
    border-radius: 10px;
}
.wht-do .elementor-widget-wrap {
    border: 5px solid rgb(247, 249, 255);
    border-radius: 10px;
}

.header-top .top-btn a {
    padding: 12px 30px;
}

.main-menu ul li a {
    color: #fff;
    padding: 15px 0 !important;
}

.header-cta {
    padding: 10px 0;
}
.page-id-14 .s-single-services .services-content2 p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    height: 125px;
}

#contacts .contact-bg02 .section-title.mb-50 {
    display: none;
}
/*********** homepage ***************/

.slider-btn .btn.ss-btn {
    display: none;
}
.slider-btn .btn.ss-btn.active {
    display: block;
}


#team .flip-card-front img {
    width: 100% !important;
}

.testimonial-area .single-testimonial .row  .col-lg-5.col-md-5 {
    display: none;
}

.testimonial-area .single-testimonial .row  .col-lg-7.col-md-7 {
    max-width: 100% !important;
    width: 100%;
}

.testimonial-area .single-testimonial .row {
    width: 100%;
    display: block;
}

.testimonial-area .slick-list.draggable .qt-img {
    left: 30px;
}

.history-build .about-content.s-about-content a.btn.ss-btn {
    display: none;
}

.his-cont {
    margin-top: -124px;
}

.footer-top .row.justify-content-between .header-btn {
    right: 10px;
    top: 10px;
    bottom: 10px;
    line-height: 0 !important;
    padding: 18px 23px;
    height: 50px !important;
}
.second-menu .main-menu ul li:last-child::after{
    display: none !important;
}

.fotorama__nav__shaft .fotorama__thumb-border {
    border-color: #ff5e14 !important;
}
.s-single-services .services-content2 h5 {
    height: 62px;
    overflow: hidden;
}
.second-menu .row .col-lg-3.col-sm-3 {
    max-width: 22%;
}

#feature-top .second-services-content p, #services .services-content2 p  {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 50px;
}



.slider-four .slider-bg::before {
    background: rgba(0,0,0,.2) !important;
}



.home-team-section a,
.home-portfolio a  {
    border-radius: 5px;
    color: #FFF;
    padding: 20px 40px;
    background: #001659;
    margin-top: 30px;
    display: inline-block;
}

.home-team-section a:hover, .home-portfolio a:hover{
    background: #ff5e14;
    color: #fff;
}


.home-team-section, .home-portfolio {
    text-align: center;
}
section#servicestwo .s-single-services:hover {
    background: transparent;
}

.fotorama__stage.fotorama__pointer .fotorama__fullscreen-icon {
    opacity: 1 !important;
    -webkit-transform: translate3d(0,0,0) !important;
            transform: translate3d(0,0,0) !important;
    z-index: 100;

}
.fotorama__fullscreen-icon {
    background: url(https://www.gkinteriors.co.uk/wp-content/themes/konstro-child/assets/fotorama/css/fotorama.png) no-repeat !important;
    background-position: 0 -32px !important;
}


#contacts .services-box.contact-box {
    min-height: 271px;
}

/****************responsive ***********************/


@media (min-width: 991px){
.menu-area .second-menu .col-xl-6.col-lg-6 {
    max-width: 75% !important;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
            flex: 0 0 75%;
}
}

@media (max-width: 1499px){
.second-menu .main-menu ul li {
    margin-left: 22px !important;
}
.second-menu .main-menu ul li a {
    font-size: 15px !important;
     padding: 15px 0 !important;
}
.second-menu .main-menu ul li::after {
    right: -13px !important;
}
.second-menu .logo {
    padding: 25px 0 !important;
}
.footer-top-heiding .f-contact h3 {
    font-size: 20px !important;
}
.header-btn {
    padding: 18px 19px !important;
}
.header-top .top-btn a {
    padding: 12px 22px;
}
}


@media (max-width: 1199px){
.second-menu .main-menu ul li a {
    font-size: 13px !important;
}
.second-menu .main-menu ul li {
    margin-left: 20px !important;
}
.second-menu .logo {
    padding: 33px 0 !important;
}
.logo a img {
    height: 66px;
}
#feature-top .second-services-content p {
    height: auto;
}
.s-single-services .services-content2 p {
    height: auto;
}
#contacts .services-box .services-content2 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}
#contacts .services-content2 h5 {
    font-size: 20px;
}
}


@media (max-width: 991px){
    .counter .text span {
    font-size: 30px;
}
.second-menu .logo {
    padding: 5px 0 !important;
    height: auto;
    margin-left: -15px;
}
.header-area .menu-area {
    padding: 0;
}
.mean-container a.meanmenu-reveal {
    margin-top: -59px !important;
    margin-right: 0px !important;
}
.mean-container a.meanmenu-reveal span {
    margin-top: 2px !important;
}
.portfolio .my-masonry .button-group {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 222px 118px 200px;
        grid-template-columns: 1fr 1fr 222px 118px 200px;
}
.portfolio .my-masonry .button-group button {
    margin: 0 4px;
    padding: 0 18px;
    height: 41px;
}
.map-cnt .contact-form.mt-30 iframe {
    height: 400px;
}
}


@media (max-width: 767px){
    .mean-container a.meanmenu-reveal {
    margin-top: -59px !important;
    margin-right: -15px !important;
}
    .logo a img {
    height: 53px;
}
.second-menu .logo {
    padding: 12px 0;
    width: 25%;
}
.single-counter .counter {
    display: -ms-grid !important;
    display: grid !important;
    -ms-grid-columns: 50px 1fr;
        grid-template-columns: 50px 1fr;
    -webkit-column-gap: 15px;
       -moz-column-gap: 15px;
            column-gap: 15px;
}
#team .flip-card-front img {
    width: 100% !important;
    -o-object-fit: cover;
       object-fit: cover;
    height: 315px;
}
.footer-top-heiding .f-contact h3 {
    color: #fff;
    font-size: 20px;
}
.footer-top .f-widget-title img {
    width: auto;
}
.testimonial-area .single-testimonial p {
    margin-top: 0;
}
.second-menu .logo {
    padding: 12px 0;
    width: 75% !important;
}
.portfolio .col3 .grid-item .box20 img {
    margin-left: 0 !important;
}
#graph .section-title h2 {
    font-size: 28px;
}
.counter .text span {
    font-size: 22px;
}
.counter.p-relative .icon img {
    max-width: 47px;
}
.single-counter .counter .icon {
    margin-right: 0 !important;
    width: auto;
}
.testimonial-area .slick-list.draggable .qt-img {
    top: 30px !important;
}

.testimonial-area .slick-list.draggable img {
    width: 70%;
}

.testimonial-area .testimonial-active .single-testimonial {
    padding: 30px 10px;
}
footer.footer-bg.footer-p .row.align-items-center .f-contact {
    margin-bottom: 20px;
}
.footer-top-heiding .f-contact h3 {
    font-size: 18px !important;
}
.footer-top .row.justify-content-between .header-btn {
    font-size: 13px;
}
.macs-farm h2 {
    font-size: 30px;
    margin-bottom: 15px;
}
.macs-farm table thead tr td {
    padding: 7px 8px;
    font-size: 13px;
}
.single-portfolio .project-detail {
    padding: 50px  0 105px;
}
.s-single-services .services-content2 h5 {
    height: auto;
}
.page-id-14 .s-single-services .services-content2 p, #services .services-content2 p {
    height: auto;
}

.mean-container a.meanmenu-reveal {
    margin-top: -53px !important;
}
.home-team-section a, .home-portfolio a {
    padding: 12px 40px;
}
.second-menu .row .col-lg-3.col-sm-3 {
    max-width: 31%;
}
.about-area.about-p .about-content.s-about-content a {
    padding: 13px 30px;
    font-size: 14px;
}
.home .pt-120.pb-90.fix {
    padding-top: 50px;
}
 #graph a.btn.ss-btn.active.mr-15 {
    text-align: left;
    float: left;
    padding: 16px 26px;
}
 #graph .section-title h2 {
    font-size: 23px;
}
.home .testimonial-area.pb-120 {
    padding-bottom: 85px;

}
.core-values section#faqs {
    padding-top: 30px;
    padding-bottom: 30px;
}
.core-values {
    margin-top: 40px;
}
.map-cnt .contact-form.mt-30 iframe {
    height: 300px;
}
.fotorama__stage.fotorama__pointer .fotorama__fullscreen-icon {
        right: 59px !important;
}
}
/*767px*/

@media (max-width: 575px){
.second-menu .logo {
    padding: 12px 0;
    width: 100% !important;
}
.logo img {
    width: 100%;
}
}

@media (max-width: 375px){
.second-menu .row .col-lg-3.col-sm-3 {
    max-width: 34%;
}

}

