@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,400i&display=swap&subset=cyrillic');

@media (max-width: 1024px){
    #tf-menu .container {
        width: 100%;
        justify-content: center !important;
    }
}

@media (min-width: 768px){
    #tf-menu .container:before, #tf-menu .container:after {
        content: none;
    }
    #tf-menu .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 5px;
    }
    #tf-menu .container .navbar-header {
        float: none;
    }
    #tf-menu .container .navbar-collapse {
        display: flex !important;
        align-items: center;
    }
    #tf-menu .container ul.nav {
        display: flex;
        gap: 8px;
    }
    #tf-menu .container ul.nav li a {
        padding: 2px;
    }
	#lf-lang-mobile {
		display: none;
	}
	.lf-nomodal #bs-example-navbar-collapse-1.in ul.nav {padding-left: 180px;}
	.lf-nomodal li.lang.lf-information {right: 80px;}
	.lf-nomodal li.lang {position: absolute; right: 120px;}
	.lf-nomodal li.lang.currentlang {right: 160px;}
	.lf-nomodal #bs-example-navbar-collapse-1.in ul.nav li:first-child a::after {
	content: '';
	width: 200px;
	height: 50px;
	background-image: url(/img/brand.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 5px solid #ffbe34;
	position: absolute;
	top: 0;
	right: -900px;
	}
	.lf-nomodal.lf-en #bs-example-navbar-collapse-1.in ul.nav li:first-child a::after {right: -840px;}
	.lf-nomodal #bs-example-navbar-collapse-1.in ul.nav li:nth-child(7) a::after {
	content: '';
	width: 150px;
	height: 50px;
	background-image: url(/img/lf-altar-light-white.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 5px solid #ffbe34;
	position: absolute;
	bottom: 0;
	left: -800px;
	}
	.lf-nomodal.lf-en #bs-example-navbar-collapse-1.in ul.nav li:nth-child(7) a::after {left: -700px;}
}

@media (max-width: 768px){
    .productList .option span {
        display: block;
        float: none;
        max-width: 100%;
        text-align: center;
        padding: 2px 0;
        margin: 0;
    }

    .productList .option .productID {
        border-top: 1px solid lightgray;
        height: 1px;
        overflow: hidden;
    }

    .modal .modal-body .justified {
        padding: 0;
    }

    .modal .modal-body img {
        width: 100%;
    }

    .checkoutcart {
        width: 98%;
    }

    #tf-home {
        background: #35b3be;
        height: 100vh;
    }

    #tf-about {
        padding: 20px 0;
    }

    #tf-menu.navbar-default {
        background-color: rgba(0, 0, 0, 0.79);
    }

    #tf-works {
        background: #f1ac39;
        color: #fff;
        text-align: center;
    }

    #tf-works li.pull-right, #tf-works li.pull-left {
        margin-top: 10px;
        float: none !important;
        text-align: center;
        display: block;
    }

    #tf-works .container #lightbox {
        text-align: center;
    }

    .section-title h2 {
        line-height: normal;
    }

    #tf-services {
        background: #bf6f14;
    }

    #tf-team {
        background: #a56237;
    }

    #tf-team .overlay {
        padding: 20px 0;
    }

    #tf-team .item {
        margin: 0;
    }

    #tf-team .thumbnail .caption {
        padding: 0;
    }

    #tf-contact {
        background: #8d4b6a;
        padding: 20px 0;
        color: #fff;
    }

    #cart {
        max-width: 96%;
    }

    label{
        float: none !important
    }

    .pull-left.fnav,
    .pull-right.fnav {
        float: none !important;
        text-align: center;
    }

    .hover-bg .hover-text {
        padding: 0;
        height: auto;
        opacity: 1;
        background: none;
    }

    .hover-bg .hover-text > h4 {
        opacity: 1;
        transform: none;
        text-transform: none;
        font-family: 'PT Serif', serif;
        font-style: italic;
        font-weight: bold;
        color: #7e3803;
        /* -webkit-text-stroke-width: medium; */
        text-shadow: 0px 1px 0px white;
    }

    .hover-bg .hover-text small {
        display: none;
    }

    .hover-bg .hover-text > i {
        display: none;
    }

    #tf-home .overlay{
        background: none;
    }

    #tf-home div.content {
        padding-top: 10%;
    }

    #tf-home .overlay .content .container {
        display: flex;
        flex-direction: column-reverse;
    }

    #lf-title-home{
        font-size: 25px;
        text-align: center;
    }

    a.lf-button {
        display: none;
        font-size: 18px;
        margin-top: 20px;
        position: relative;
        z-index: 1;
    }

    #lf-utp-home {
        display: none;
    }

    #tf-home .overlay .content .container .col-md-7 {
        padding: 0;
    }

    .content .img-responsive {
        height: 45vh !important;
        padding-left: 40px;
        clear: both;
        position: relative;
        top: 70px;
    }

    a.fa.fa-angle-down {
        margin: 20px;
    }

    .col-md-6 {
        padding: 0 !important;
        width: 100% !important;
    }

    .col-sm-6.col-md-3.col-lg-3 {
        width: 100%;
        display: inline-block;
        padding: 0;
    }

    .portfolio-item {
        margin: 10px;
    }

    button.btn.tf-btn.btn-default {
        float: none;
    }

    .lightslidermodalwrapper {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .formhead h2 {
        line-height: 30px;
    }

    .lf-nomodal #tf-home .content img#lf-logo {
        max-width: 44%;
    }

    .lf-nomodal #tf-home .content img#lf-altar-light {
        max-width: 88%;
    }

    .lf-nomodal h1#lf-utp {
        font-size: 20px;
    }

    .lf-nomodal h2#lf-utp-2 {
        font-size: 12px;
    }

    .lf-nomodal #bs-example-navbar-collapse-1.in ul.nav::before, .lf-nomodal #bs-example-navbar-collapse-1.in ul.nav::after {
        content: '';
        width: 100%;
        height: 50px;
    }

    .lf-nomodal #bs-example-navbar-collapse-1.in ul.nav::before {
        height: 75px;
    }

    .lf-nomodal #bs-example-navbar-collapse-1.in ul.nav li:first-child a::after {
        content: '';
        width: 100%;
        height: 50px;
        background-image: url(/img/brand.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        border-bottom: 5px solid #ffbe34;
        position: absolute;
        top: 370px;
        left: 0;
    }

    .lf-nomodal #bs-example-navbar-collapse-1.in ul.nav li:nth-child(7) a::after {
        content: '';
        width: 100%;
        height: 75px;
        background-image: url(/img/lf-altar-light-white.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        border-top: 5px solid #ffbe34;
        position: absolute;
        bottom: 280px;
        left: 0;
    }

}

@media (max-width: 359px){
    /*
    .hover-bg .hover-text {
        padding: 22% 10%;
        display: none;
    }
    */

    #lf-title-home{
        font-size: 20px;
    }

    a.lf-button {
        font-size: 16px;
    }

    .content .img-responsive {
        /*height: 30vh !important;*/
    }

}
