body {
    font-family: 'Open Sans', sans-serif;
    color: #222222;
    height: 100%;
    min-height: 100%;
    height: auto !important;
    background: #eee;
    position: relative;
    overflow-x: hidden;
}

p {
    margin: 0;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: #d1222a
}

h1,
h2,
h3 {
    margin: 0;
    font-family: 'Thasadith', sans-serif;
    font-weight: 700;

}

h1 {
    font-size: 4vw;
}

h2 {
    font-size: 60px;
}

hr {
    border-top: 1px solid #0088bc;
}
#top {
    position: relative;
    z-index: 666;
}
#top img {
    margin: 5px;
}

#header {
    position: absolute;
    z-index: 666;
    width: 100%;
}

#preheader {
	color: #d1222a;
	text-align: right;
	font-weight: 700;
	font-size: 15px;
	margin-top: 10px;
	margin-right: 10px;
}

#header .brand {
    display: inline-block;
    width: 300px;
    height: 119px;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -150px;
    z-index: 4
}

.menu-main,
.menu-main ul {
    margin: 0;
    padding: 0;
}

.menu-main {
    display: block;
}

.menu-main li {
    display: inline-block;
    position: relative;
    min-height: 20px;
    line-height: 20px;
    padding: 2px;
}

.menu-main li>ul {
    display: none;
    position: absolute;
    left: 0;
    top: 54px;
    /*white-space: nowrap;*/
    /*width: auto;*/
    width: 400px;
    /*padding-top: 25px;*/
}

.menu-main li:hover>ul {
    display: block;
}

.menu-main li>a {
    font-family: 'Thasadith', sans-serif;
    font-weight: 700;
    font-size: 26px;
    margin: 0 30px;
    position: relative;
    color: #fff!important;
    line-height: 50px;
}
.menu-main li>a:hover {
	color: #d1222a !important
}

/*.menu-main li:last-child a{margin-right:0;}*/

.menu-main .menu-main-sub li {
    display: block;
    padding: 0 10px;
}

.menu-main .menu-main-sub li a {
    line-height: 25px !important;
    text-transform: none;
	margin-bottom: 15px;
}

.menu-main li li a {
    display: block;
    font-family: 'Thasadith', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.menu-main li li a:hover {
    font-size: 16px;
    color: #d1222a !important
        /*padding-left: 40px;*/
        /*color: #0088bc!important*/
}

.menu-main li li li a {
    font-family: 'Source Sans Pro', serif;
    font-size: 11px;
    font-weight: 100;
    text-transform: none;
    letter-spacing: 0.2px;
}


/*.menu-main a:before{display:block;position:absolute;content:'';width:25%;height:1px;bottom:-1px;right:0;transition:ease-in-out all .25s;opacity:0;}
.menu-main a:hover:before{width:100%;opacity:1;}*/

.black .menu-main a {
    color: #000;
}

.black .menu-main a:before {
    background: #000;
}

.white .menu-main a {
    color: #fff;
}

.white .menu-main a:before {
    background: #fff;
}

.menu-left,
.menu-right {
}
.menu-left {
    background: #11406a;
}
.menu-right {
    background: #11406a;
}
.menu-left .menu-main-sub {
    background: rgba(48, 48, 48, 0.8);
}
.menu-right .menu-main-sub {
    background: rgba(1, 75, 124, 0.8);
}


/*.menu-left .menu-main > li:nth-child(4),
.menu-left .menu-main > li:nth-child(5),
.menu-left .menu-main > li:nth-child(6),
.menu-left .menu-main > li:nth-child(7) {
    display: none;
}
.menu-right .menu-main li:nth-child(1),
.menu-right .menu-main li:nth-child(2),
.menu-right .menu-main li:nth-child(3) {
    display: none;
}*/

#header .brand {
    background-image: url('../img/logo-5.png');
}

.black #header .brand {
    background-image: url('../img/logo-5.png');
}

.white #header .brand {
    background-image: url('../img/logo-5.png');
}

#menu-affix {
    width: 100%;
    top: 0;
    min-height: 32px;
}

#menu-affix.affix .menu-left,
#menu-affix.affix .menu-right {
    border: 0
}

#menu-affix.affix .brand {
    height: 44px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center
}

#menu-affix.affix .sm-top {
    margin-top: -5px;
}

.black #menu-affix.affix {
    background: rgba(255, 255, 255, 0.7);
}

.white #menu-affix.affix {
    background: rgba(0, 0, 0, 0.7);
}

.sm-top {
    margin-top: -8px;
}

.sm-top a {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-repeat: no-repeat
}

.sm-top a.ffo {
    background-image: url('../img/fa-facebook-official.png');
}

.sm-top a.fyp {
    background-image: url('../img/fa-youtube-play.png');
}

.sm-top a.fi {
    background-image: url('../img/fa-instagram.png');
}

.sm-top a.wosp {
    background-image: url('../img/_wosp.png');
}

.sm-top a.fe {
    background-image: url('../img/fa-envelope.png');
}

.white .sm-top a {
    color: #fff;
}

.black .sm-top a {
    background-position: bottom center;
}

@media (max-width:1450px) {
    .menu-main li a {
        font-size: 18px;
        margin: 0 10px;
    }
}

@media (max-width:992px) {
    /*.menu-main li a{font-size:12px;margin-right:10px;}*/
}

@media (max-width:992px) {
    .menu-left,
    .menu-right {
        border: 0;
        background: none;
    }
    .menu-right {
        /*display: none;*/
    }
    /*    .menu-left .menu-main li:nth-child(4),
        .menu-left .menu-main li:nth-child(5),
        .menu-left .menu-main li:nth-child(6),
        .menu-left .menu-main li:nth-child(7) {
            display: block;
        }*/
    .menu-main {
        display: none;
        width: 100%;
    }
    .menu-main ul {
        display: block;
        width: 100%;
        background: none;
    }
    .menu-main li,
    .menu-main li a {
        display: block;
        width: 100%;
        text-align: left;
        font-size: 15px !important;
        line-height: 30px;
    }
    .menu-main li {
        height: auto;
    }
    .menu-main li>ul {
        display: block;
        position: static;
        background: none!important;
    }
    .menu-main li>ul a {
        padding-left: 30px;
    }
    #cover.on {
        position: absolute;
        z-index: 665;
        width: 100%;
        height: 100%;
        min-height: 100%;
        height: auto !important;
    }
    .black #cover.on {
        background: rgba(255, 255, 255, 0.3);
    }
    .white #cover.on {
        background: rgba(0, 0, 0, 0.3);
    }
    .page-container.on {
        filter: blur(20px);
    }
    #header {
        /*padding-top: 20px;*/
    }
    .menu-trigger {
        position: absolute;
        top: 0px;
        right: 20px;
    }
    .menu-trigger .btn-kmn {
        margin: 0;
        font-size: 24px;
    }
}

.vertical-align {
    display: flex;
    flex-direction: row;
}

.vertical-align>[class^="col-"],
.vertical-align>[class*=" col-"] {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    box-direction: normal;
    -webkit-box-align: start;
    -moz-box-align: start;
    box-align: start;
}

.vertical-align.row {}

.btn-kmn {
    border: 0!important;
    display: inline-block;
    margin: 0;
    font-family: 'Thasadith', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 22px;
    user-select: none;
    /*color: #000;*/
    transition: ease-in-out all 0.25s;
    margin-top: 30px;
    text-transform: lowercase;
    /*background: #fff;*/
    text-align: center;
    padding: 20px;
    min-width: 200px;
}

.btn-kmn:hover {
    background: #000;
    color: #fff;
}

.segment {
    display: block;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.s-1 .container {
    padding-top: 100px;
}

.segment-backgrounds {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: inset 990px 0px 560px -100px rgba(0, 0, 0, 0.75);
}

.segment-backgrounds img {
    position: absolute;
    min-width: 100%;
    min-height: 150%;
    z-index: -1
}

.segment.bgp-left .segment-backgrounds img {
    right: 0;
}

.segment.bgp-right .segment-backgrounds img {
    left: 0;
}

.segment.bgp-center .segment-backgrounds img {}

.bgp-img-left .segment-backgrounds {
    width: 50%;
    margin-left: 50%;
}

.bgp-img-right .segment-backgrounds {
    width: 50%;
}

.bgp-img-left .segment-backgrounds img,
.bgp-img-right .segment-backgrounds img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    max-width: none !important;
}

.bgp-img-left .segment-backgrounds div,
.bgp-img-right .segment-backgrounds div {
    height: 100%;
}

.segment .col-content {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 28px;
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: 600px;
    letter-spacing: 1px;
}


.segment.bgp-img-left .col-content p {
    margin: 0 10%;
}

.segment.bgp-img-right .col-content p {
    margin: 0 10%;
}

.segment.black {
    color: #000;
}

.segment.black .btn-kmn {
    /*border: 1px solid #000;*/
    color: #000;
}

.segment.black .btn-kmn:hover {
    background: #000;
    color: #fff;
}

.segment.white {
    color: #fff;
}

.segment.white .btn-kmn {
    /*border: 1px solid #fff;*/
    color: #000;
    background: #fff;
}

.segment.white .btn-kmn:hover {
    background: #000;
    color: #fff;
}

.segment.bgp-left .col-content {
    text-align: left;
}

.segment.bgp-right .col-content {
    text-align: right;
}

.segment.bgp-center .col-content {
    text-align: center;
}

.segment.bgp-right .vertical-align>[class^="col-"],
.segment.bgp-right .vertical-align>[class*=" col-"] {
    -webkit-box-align: end;
    -moz-box-align: end;
    box-align: end;
}

.segment.bgp-center .vertical-align>[class^="col-"],
.segment.bgp-center .vertical-align>[class*=" col-"] {
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
}

.bgp-img-left .vertical-align>[class^="col-"],
.bgp-img-left .vertical-align>[class*=" col-"] {
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    text-align: center;
}

.segment.bgp-right.bgp-img-right .vertical-align>[class^="col-"],
.segment.bgp-right.bgp-img-right .vertical-align>[class*=" col-"] {
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    text-align: center;
}
.subsegment.black {
	color: #000000;
}

.subsegment.white {
	color: #d2d2d2;
}

@media (max-width:767px) {
    .segment-backgrounds {
        position: relative;
        width: 100%;
        height: auto;
        bottom: 0;
        overflow: visible;
    }
    .segment-backgrounds img {
        position: relative;
        width: 100%;
        min-height: 256px;
        left: 0;
        right: inherit;
        margin-left: 0;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .segment-backgrounds img {
        min-height: 130%;
    }
    .segment.bgp-center .segment-backgrounds {
        width: 200%;
        left: -50%;
    }
    .segment.bgp-center .segment-backgrounds img {
        min-width: 50%;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: -10%;
        min-height: 130%;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .segment-backgrounds img {
        min-height: 130%;
    }
    .segment.bgp-center .segment-backgrounds img {
        min-width: 50%;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: -10%;
        min-height: 130%;
    }
    .segment.bgp-center .segment-backgrounds {
        width: 200%;
        left: -50%;
    }
}

@media (min-width:1200px) {
    .segment.bgp-center .segment-backgrounds {
        width: 200%;
        left: -50%;
    }
    .segment.bgp-center .segment-backgrounds img {
        min-width: 50%;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}

.issuuembed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.segment-video {
    padding-top: 56.25%;
    position: relative;
}

.segment-video .video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.segment-video .video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

.segment-video .video-cover span {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -22px;
    cursor: pointer;
}

.segment-video .video-cover span i {
    display: none;
}

.segment-video .btn-kmn {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.segment-video .btn-kmn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.bgp-products {
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
}

.bgp-products h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 52px;
}

.item-product {
    transition: all 1s;
    padding-bottom: 30px;
}

.item-product h3 {
    display: block;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    margin-bottom: 0px;
}

.item-product img {
    cursor: pointer
}

.btn-cont {
    height: 45px;
}

.item-desc {
    height: 90px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 1px;
}

.product-desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 1px;
}

.item-thumb {
    display: block;
    margin-left: 15%;
    max-width: 70%;
    overflow: hidden;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 100%;
    background: white;
}

.black .item-product .btn-kmn:focus {
    background: #000;
    color: #fff;
}

.description {
    background: #929292;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
    margin-top: 20px;
    margin-bottom: 50px;
    display: none;
    color: #fff;
}

.description:before {
    content: " ";
    position: absolute;
    display: block;
    width: 1000px;
    height: 100%;
    background: #929292;
    top: 0;
    left: -1000px;
}

.description:after {
    content: " ";
    position: absolute;
    display: block;
    width: 1000px;
    height: 100%;
    background: #929292;
    top: 0;
    right: -1000px;
}

.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 60px;
    border-color: transparent transparent #929292 transparent;
    position: absolute;
    top: -60px;
    left: -25%;
    margin-left: -60px;
    transition: all 1s;
}

.triangle i {
    position: absolute;
    left: -5px;
    top: 45px;
    cursor: pointer;
}

.item-product {
    text-align: center;
}

.segment-gallery {
    height: 720px;
    overflow: hidden;
}

.segment-gallery a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.segment-gallery a span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.25s;
}

.segment-gallery a:hover span {
    opacity: 0;
}

.owl-item.active2 span {
    opacity: 0;
}

.owl-item div {
    width: 800px;
    height: auto;
}

.segment-form {
    padding-top: 100px;
    padding-bottom: 100px;
}

.form-kmn {
    margin-top: 30px;
}

.form-kmn .form-control {
    border-color: #000;
    border-radius: 0;
}

.form-kmn textarea.form-control {
    height: 150px;
    margin-bottom: 10px;
}

.form-kmn .btn-kmn {
    margin-top: 10px;
}

.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
}

@media all and (transform-3d),
(-webkit-transform-3d) {
    .carousel-fade .carousel-inner>.item.next,
    .carousel-fade .carousel-inner>.item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner>.item.prev,
    .carousel-fade .carousel-inner>.item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner>.item.next.left,
    .carousel-fade .carousel-inner>.item.prev.right,
    .carousel-fade .carousel-inner>.item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

footer {
    display: block;
    padding-top: 80px;
    background: #222;
    position: relative;
    z-index: 3
}

#copy {
    padding: 40px;
}

.sm-icons {
    padding-top: 30px;
    display: none;
}

.s-1 .sm-icons {
    display: block;
}

.sm-icons a span {
    display: block;
    width: 26px;
    height: 26px;
    margin: 2px;
}

.sm-icons a.ff span {
    background-image: url('../img/fa-facebook.png');
}

.sm-icons a.fyp span {
    background-image: url('../img/fa-youtube-play.png');
}

.sm-icons a.fi span {
    background-image: url('../img/fa-instagram.png');
}

.black .sm-icons a,
.white .sm-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background-color: #000;
    color: #fff;
    transition: all 0.2s;
    border-bottom: 1px solid transparent;
}

.black .sm-icons a:hover {
    background-color: transparent;
    color: #000;
    border-bottom: 1px solid #000;
}

.black .sm-icons a:hover span {
    background-position: bottom center;
}

.white .sm-icons a {
    background-color: #fff;
    color: #000;
}

.white .sm-icons a span {
    background-position: bottom center;
}

.white .sm-icons a:hover {
    background-color: transparent;
    color: #fff;
    border-bottom: 1px solid #fff;
}

.white .sm-icons a:hover span {
    background-position: top center;
}

.bgp-left-img {
    position: relative;
}

.bgp-left-img:before,
.bgp-left-img:after {
    content: '';
    display: block;
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0;
    margin-top: 0;
    border-color: transparent;
    z-index: 10;
}

.bgp-left-img:before {
    border-top-color: #929292;
    border-width: 112px 2560px 0 0;
    margin-top: 0;
    top: -0.5px;
    right: 0;
}

.bgp-left-img:after {
    border-bottom-color: #929292;
    border-width: 0 0 112px 2560px;
    margin-top: -112px;
    bottom: -0.5px;
}

.map-places {
    height: 600px;
    width: 100%;
}

.map-map {
    height: 600px;
    width: 100%;
    color: #000
}

.segment-location h2 {
    margin-bottom: 20px;
    margin-top: 10px;
}

.col-location p {
    font-size: 17px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 1px;
}

.col-location {
    padding-bottom: 20px;
}

.col-location a {
    color: #777;
}

.col-location a:hover {
    color: #000;
}

.col-location img {
    vertical-align: bottom;
}

.segment-location h1 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.segment-location form {
    margin-bottom: 50px;
}

.segment-location .form-control {
    border-radius: 0;
    border-color: #000;
}

.segment-location select.form-control {}

.segment-location .btn-default {
    border-radius: 0;
    border-color: #000;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.segment-location .btn-default:hover {
    background: #fff;
    color: #000;
}

.container-gallery {
    display: none;
}

.col-gal {
    padding-left: 0;
    padding-right: 0;
    width: 25%;
    padding-bottom: 25%;
    position: relative;
}

.col-gal a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 105%;
    background-position: center center;
    z-index: 1;
    transition: all 0.45s;
}

.col-gal a:hover {
    background-size: 115%;
}

.col-gal a span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.25s;
}

.col-gal a:hover span {
    opacity: 0;
}

.segment-people .col-content {
    min-height: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.segment-people {
    padding-bottom: 50px;
}

#agents p {
    font-size: 17px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 1px;
}

#agents li {
    display: none;
}

#agents li div {
    padding-top: 20px;
}

#agents a {
    color: #777;
}

#agents a:hover {
    color: #000;
}

#agents h2 {}

.news {
    padding-top: 30px;
    padding-bottom: 30px;
}

.news:nth-child(odd) {
    background: rgba(0, 0, 0, 0.03);
}

.news:nth-of-type(2) {
    padding-top: 60px;
}

.news-image {
    padding-top: 75%;
    width: 100%;
    background-size: cover;
    background-position: top center;
}

.news-date {
    display: block;
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
}

.news-content p {
    font-size: 17px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 1px;
}

.row-gallery {
    padding-top: 30px;
    padding-bottom: 60px;
}

.row-gallery div {
    padding-top: 30px;
}

@media (max-width:1199px) {
    .btn-cont .btn-kmn {
        width: 100%;
        padding: 10px;
        font-size: 18px;
    }
}

@media (max-width:992px) {
    .bgp-left-img .col-2 {
        padding-top: 60px;
    }
    .btn-cont .btn-kmn {
        font-size: 30px;
        padding: 10px 5px;
    }
}

@media (max-width:768px) {

	
	.segment {
        min-height: 100px;
    }
    .segment .col-content {
        padding-top: 50px;
        padding-bottom: 50px;
        height: auto;
        min-height: 100px;
    }
    .s-1 .container {
        padding-top: 0px;
    }
    .segment.bgp-left .col-content,
    .segment.bgp-right .col-content,
    .segment.bgp-center .col-content {
        text-align: center;
    }
    .segment.bgp-right .vertical-align>[class^="col-"],
    .segment.bgp-right .vertical-align>[class*=" col-"],
    .segment.bgp-left .vertical-align>[class^="col-"],
    .segment.bgp-left .vertical-align>[class*=" col-"],
    .segment.bgp-center .vertical-align>[class^="col-"],
    .segment.bgp-center .vertical-align>[class*=" col-"] {
        -webkit-box-align: center;
        -moz-box-align: center;
        box-align: center;
    }
    .bgp-img-left .segment-backgrounds {
        width: 100%;
        margin-left: 0;
    }
    .bgp-img-right .segment-backgrounds {
        width: 100%;
    }
    .bgp-img-left .segment-backgrounds img,
    .bgp-img-right .segment-backgrounds img {
        position: relative;
        width: 100%;
        min-width: 0;
        min-height: 0;
    }
    .bgp-img-left .segment-backgrounds div,
    .bgp-img-right .segment-backgrounds div {
        height: auto;
    }
    .bgp-left-img img {
        margin: 0 auto;
    }
    .bgp-left-img .col-2 {
        padding-top: 60px;
    }
    .segment-gallery {
        height: auto;
    }
    .owl-carousel .owl-item img {
        width: 400px;
        height: auto;
    }
    .inne_txt_kol .vertical-align {
        display: block;
    }
}

@media (max-width:992px) {
    .menu-main li>ul {
        padding-top: 0px;
    }
    .white .menu-trigger .btn-kmn {
        border: 0;
        color: #fff;
    }
    .white .menu-trigger .btn-kmn:hover {
        background: none;
        color: #fff;
    }
    .black .menu-trigger .btn-kmn {
        border: 0;
        color: #fff;
    }
    .black .menu-trigger .btn-kmn:hover {
        background: none;
        color: #fff;
    }
    #menu-affix.affix {
        background: none !important;
        padding-top: 20px
    }
    #menu-affix.affix .brand {
        display: none!important;
    }
    #menu-affix.affix .menu-main {
        /*margin-top: 50px;*/
    }
    .black #menu-affix.affix .menu-trigger .btn-kmn {
        background: rgba(255, 255, 255, 0.8);
    }
    .black #menu-affix.affix .menu-trigger .btn-kmn:hover {
        color: #000;
    }
    .white #menu-affix.affix .menu-trigger .btn-kmn {
        background: rgba(0, 0, 0, 0.8);
    }
    .white #menu-affix.affix .menu-trigger .btn-kmn:hover {
        color: #fff;
    }
}

#backtotop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    z-index: 10;
    display: none
}

.bgp-btn {
    min-height: 10px
}

.bgp-btn .btn-kmn {
    margin-top: 50px;
    margin-bottom: 50px
}

.segment.inne_opinie {
    min-height: 350px;
}

.carousel .item {
    padding-left: 16%;
    padding-right: 16%;
    color: #d2d2d2;
}

.carousel .item div {
    min-height: 350px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    font-family: 'Thasadith', sans-serif;
    font-size: 20px;
}

.carousel-control.left,
.carousel-control.right {
    background: none;
    opacity: 1;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
    background: #0088bc;
    color: #fff;
    width: 88px;
    height: 88px;
    line-height: 88px;
    margin-top: -44px;
    font-size: 42px;
}

.carousel-control .glyphicon-chevron-right {
    right: 44px;
}

.carousel-control .glyphicon-chevron-left {
    left: 44px;
}

@media (max-width:992px) {
    .carousel .item div {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        align-content: center;
        padding: 40px;
    }
}

.portfolio .col {
    padding-right: 5px;
    padding-left: 5px;
}

.portfolio .col a {
    position: relative;
    display: block;
    background-size: cover;
    background-position: center center;
    margin-bottom: 10px;
}

.portfolio .col a:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 56.25%;
}

.portfolio .col a div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 34, 34, 0.7);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
}

.portfolio .col a:hover div {
    background: rgba(34, 34, 34, 0);
}

.portfolio-select {
    margin-top: 80px;
    margin-bottom: 50px;
}

.portfolio-select .checkbox {
    margin: 0;
    margin-right: 50px;
    margin-bottom: 30px;
    font-size: 22px;
}

.portfolio-text {
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 20px;
}

.checkbox label::before {
    width: 20px;
    height: 20px;
    border: 2px solid #d2cecf;
    border-radius: 0px;
    background: none;
    top: 5px;
}

.checkbox label::after {
    font-size: 14px;
    color: #d2cecf;
    top: 5px;
}

.full-height {
    background-size: cover;
    background-position: center center;
    box-shadow: inset 0px 0px 250px 150px rgba(0, 0, 0, 0.75);
    /*    position:fixed !important;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;*/
}

.inne_full,
.pelny_ekran_grafika,
.pelny_ekran_wideo {
    background-size: cover;
    background-position: bottom center;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.inne_full.s-1 .container,
.pelny_ekran_grafika.s-1 .container {
    padding-top: 0px;
}

.inne_full .col-content,
.pelny_ekran_grafika .col-content {
    padding-top: 0px;
    padding-bottom: 0px;
    min-height: 100px;
}

.segment-pricelist {
    padding-top: 50px;
    /*padding-bottom: 30px;*/
    height: auto;
    min-height: 100px;
}

.segment-pricelist h2 {
    margin-bottom: 25px;
}

.table-wrap th {
    background: #0088bc;
    border: 0 !important;
}

.table-wrap td,
.table-wrap th {
    text-align: center;
}

.table-wrap td:first-child,
.table-wrap th:first-child {
    text-align: left;
}

#bgvid {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translate(-50%, -50%);
}

.down-arrow {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    bottom: 25px;
    margin-left: -30px;
    background-image: url('../img/down-arrow.gif');
    background-size: 100%;
}

@media (max-width: 767px) {
    .table-wrap table,
    .table-wrap thead,
    .table-wrap tbody,
    .table-wrap th,
    .table-wrap td,
    .table-wrap tr {
        display: block;
    }
    .table-wrap thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .table-wrap td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%!important;
        white-space: normal;
        text-align: left;
    }
    .table-wrap td:before {
        position: absolute;
        top: 8px;
        left: 15px;
        width: 45%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    .table-wrap td:first-child {
        padding-top: 17px;
        background: #0088bc;
        border-bottom: 1px solid #ddd !important;
    }
    .table-wrap td:last-child {
        padding-bottom: 16px;
    }
    .table-wrap td:first-child:before {
        top: 17px;
    }
    .table-wrap td:before {
        content: attr(data-title);
    }
    .table-wrap .table tbody tr {
        border-top: 1px solid #ddd;
    }
    .table-wrap .table tbody tr td {
        border: none;
    }
    h1 {
        font-size: 12vw;
    }
    .carousel .item {
        padding-left: 0;
        padding-right: 0;
    }
    .segment .col-content {
        font-size: 16px;
        line-height: 22px;
    }
    .segment-backgrounds {
        box-shadow: none;
    }
    #header .brand {
        width: 100px;
        height: 40px;
        position: absolute;
        top: -12px;
        left: 10px;
        margin-left: 0px;
        background-size: 100%;
        background-repeat: no-repeat;
    }
    .menu-main {
        /*margin-top: 40px;*/
    }
    .inne_opinie .item img {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    .inne_opinie .carousel {
        padding-bottom: 128px;
    }
    .inne_opinie .carousel-control .glyphicon-chevron-left,
    .inne_opinie .carousel-control .glyphicon-chevron-right {
        top: auto;
        bottom: 40px;
    }
}