/*******************************************************************************
 Add your custom css styles here
 *******************************************************************************/

/* Обычный */

@font-face {
  font-family: 'Inter Light';
  font-style: normal;
  font-weight: normal;
  src: local('Inter Light'),
    url('../fonts/interlight.ttf') format('woff2'), 
    url('../fonts/interlight.woff') format('woff'),
    url('../fonts/interlight.ttf') format('ttf'),
    url('../fonts/interlight.eot') format('eot');
}
html, body, a, h1,  h2, h3, h4, h5, h6, p, span, .fixed-info-container h3, .fixed-info-container h4, .fw-info-container h3, .fw-info-container h4 {
    /*font-family: "Inter Light";*/
    font-family: 'Exo 2', sans-serif;
}
.blog-text h3, .comment-form-holder h3, .comments-holder h3, .project-details h3 {
    font-family: 'Exo 2', sans-serif;
}
#main{
    opacity:1;
}
.ms2_product form {
	background-color: #fff;
	height: 100%;
	border: 1px solid #eee;
	padding: 1rem;
	font-size:1rem;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	
}
.mt-2{
    margin-top:0.5rem;
}
.mt-4{
    margin-top:1rem;
}
.h-30{
    height: 30%;
}
.h-40{
    height: 40%;
}
.h-50{
    height: 50%;
}
.h-60{
    height: 60%;
}
.h-70{
    height: 70%;
}
.d-flex{
    display:flex;
    flex-wrap:wrap;
}
.btn{
    border-radius:0;
    border: 1px solid #000;
}
a{
    color:#000;
    text-decoration:none;
}
a:hover{
    text-decoration:none;
    color:#353535;
}
#mse2_filters, #mse2_limit{
    font-size: 1rem;
}
h3 {
	text-align: left;
	font-size: 1.2rem;
	font-weight: bold;
}
.prodtitle, #mse2_sort, .ms2_form{
    font-size:1rem;
}
.ms2_form{
    width: 100%;
}
.ms2_form .btn{
    padding:1rem 1.2rem;
}
#mse2_mfilter{
  width:100%;  
}
#mse2_selected {
	padding: 5px 0;
	border-radius: 0;
	font-size: 1rem;
	text-align: left;
}
.filter_title{
	padding-top: 1rem;
	font-weight: bold;
	font-size: 1rem;
}
.row{
    width: 100%;
}
.heart {
    display: none;
}
h1 {
    font-size: 3rem;
}
.inline-facts h6 {
	font-family: 'Exo 2', sans-serif;;
}
#sec1 h1 {
    font-size: 2rem;
}
#msCart{
    width: 100%;
    font-size: 1rem;
}





#calend {
	background-color: #fff;
	width: auto;
	margin: 0 auto;
	display: block;
	text-align: center;
	padding: 1rem;
	position: fixed;
	top: 85px;
	right: 15px;
	max-width: 20%;
	border: 1px solid #000;
	z-index: 50;
}
#calend:hover{
  background-color: #eee;
}


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 30; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


.modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    border: 1px solid #d2d2d2;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}


@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}


.close {
	color: #000;
	right: 1rem;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #fff;
    color: #000;
}

.modal-body {padding: 2px 16px;}

/*.maincat{
    display: flex;
    justify-content: center;
    color: #fff;
    flex-direction: column;
}*/
.maincat {
	display: flex;
	color: #fff;
	flex-direction: row;
	justify-content: center;
	margin-top: 2rem;
	align-items: center;
}
.mainpage .grid-item h1{
    color: #fff;
}
.maincat h2{
    font-size: 1.4rem;
}
.port-desc {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start; /*center*/
}
.mainpage .grid-item {
    position: relative;
    width: 100%;
    z-index: 3;
    top: 100px;
    left: 0;
}
.port-desc .secondtext{
    display: none;
    width: 60%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}
.port-desc:hover .secondtext{
    display: block;
    transition: 0.5s;
}
.port-desc:hover .maincat{
    display: none;
    transition: 0.5s;
}
.secondtext h2 {
    font-size: 1.4rem; /*2.4rem*/
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.secondtext h4{
    font-size:1.4rem;
}
.fixed-title {
    width: 220px;
    top: calc(50% - 110px);
}
.show-share {
    background: #f1f1f1;
    transition: all .3s ease-out;
    height: 40px;
    display: flex;
    align-items: center;
    top: 5px;
}
.show-share:before, .show-share:after {
    top: 5px;
}
.zoomimage {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 15;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
}
.zoomimage i{
    line-height: 60px;
}
.ms2_form button{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.project-details li .ms2_form button i {
    position: relative;
    top:0;
}
.ms2_form button > i, .ms2_form button > div{
    display:flex;
    align-items: center;
    justify-content: flex-start;
    
}
.ms2_form .pd-holder {
	padding-left: 0;
}
.contact-list li a:hover {
	text-decoration: none;
}
.project-details li a:hover {
	text-decoration: none;
}

@media screen and (max-width: 767px) {
    h1 {
    	font-size: 3em;
    }
    .column-container>.row{
        margin-left: 0;
    }
    .show-share {
    	margin-left: 0;
    }
    .heart {
    	width: 60px;
    	display: block;
    	position: relative;
    	top: -10px;
    	float: right;
    	cursor: pointer;
    }
    .heart>a{
        width: 100%;
        height: 100%;
        display: block;
    }
    .show-share::before, .show-share::after {
    	content: initial;
    	position: absolute;
    	top: 20px;
    	left: -14px;
    	width: 2px;
    	height: 30px;
    }
    .port-desc .secondtext{
        width: 80%;
    }
}
nav li a:hover, nav li a.act-link:hover{
    color:#f5f5f5;
    background-color:#000 !important;
}
.subtitle {
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-family: inherit;
    padding-top: 12px;
    opacity: 0.8;
    text-align:center;
    font-weight: 400;
}
.footer-social li a {
	font-size: 17px;
}
.resize-carousel-holder{
    width: calc(100vw - 100px); /*100vw*/
    float: none;
    display: flex;
}
.resize-carousel-holder .portfolio_item {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
    position:relative;
    overflow: hidden;
    
}
.resize-carousel-holder .portfolio_item img{
    max-width: 100%;
    height: auto;
    
}
.count-folio{
    display: none;
}
.grid-item h3 a {
	color: #fff;
	width: 100%;
	display: block;
	text-align: center;
}
.port-desc-holder {
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh !important;
	padding: 0;
}
nav li a {
	color: #000;
}
nav li a:hover, nav li a.act-link:hover {
	color: #f5f5f5;
	background-color: #292929 !important; /*#666*/
}
.portfolio_item, .horizontal_item, .swiper-slide {
	cursor: pointer;
}
.breadcrumb {
	background-color: #f9f9f9;
}
.pricebut{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    height: 30%;
}
.pricebut > div:last-child{
    display: flex;
    align-items: end;
}


#mse2_results div[class^="col-"] {
	position: relative;
	width: 100%;
	padding-right: 2px;
	padding-left: 2px;
}
.column-container {
	max-width: 100%;
}
.container {
	width: 100%;
}
.grid-big-pad  .grid-item-holder {
    padding: 10px;
}
.grid-item h3 {
    font-size: 16px;
    font-weight: 400;
}
.widget h3, .widget-posts-date, .widget-posts-descr a, .pd-holder h5 {
    font-family: 'Exo 2', sans-serif;
    font-style: normal;
}
.widget-posts-descr a {
    font-weight: 600;
    font-size: 1.1rem;
}
.parallax-section h2 {
    font-weight: bold;
}
h4 {
    font-size: 1.2em;
    font-weight: 400;
    text-align: left;
}
.grid-big-pad .grid-item-holder {
	padding: 1px;
	background: #fff;
}
.port-desc-holder .grid-item span {
	width: 3rem;
	display: block;
}
.section-columns-text {
	width: 100%;
}
.aboutus .section-columns-text {
	width: 60%;
}
.section-columns-img {
	width: 100%;
}
.aboutus .section-columns-img {
	width: 40%;
}
.blog-title, .blog-text {
	padding: 4px 0;
}
#contactdan{
    padding-right: 0;
    padding-left: 0;
}
.project-details li i {
	position: relative;
	top: 0;
	left: 0;
	width: auto;
	font-size: 14px;
	color: #000;
}
.separator {
	height: 1px;
}
nav li:hover > ul {
	background: #292929; /*#292929*/
}
nav li:hover > ul a {
	color: #fff;
}
nav li:hover > ul > li:hover {
	background: #fff !important;
}
nav li:hover > ul > li:hover a {
	color: #000;
	background: #fff !important;
}
.pd-holder h5 {
	padding-top: 6px;
}
@media (max-width:1036px){
    .nav-holder {
        height: 480px;
    }
    .aboutus .section-columns-img {
        width: 100%;
    }
    .aboutus .section-columns-text {
        width: 100%;
    }
    .tabs>label {
        padding: 0.5rem;
        font-size: 14px;
        line-height: 1.4;
    }
    .project-details li i {
        font-size: 23px;
    }
    .pd-holder {
        float: right;
        width: calc(100% - 44px);
        padding-left: 0;
    }
    .ms2_form .btn {
        padding: 0.5rem;
    }
    .btn .pd-holder {
        float: left;
        width: calc(100% - 20px);
        padding-left: 1rem;
    }
    .grid-item h3, .grid-item span {
        opacity: 1;
    }
    nav li ul {
        opacity: 1;
        visibility: visible;
        display: block;
    }
}
@media (max-width:800px){  /*756px*/
    #portfolio_horizontal_container .portfolio_item {
    	width: 100% !important;
    	position: relative !important;
    	top: 0 !important;
    }
    .resize-carousel-holder {
        width: 100vw;
        height: 100%;
        object-fit: cover;
    }
    .resize-carousel-holder .portfolio_item img {
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }
    .portfolio_item .port-desc-holder {
        display: block;
    }
    nav li:hover > ul a {
        color: #000;
    }
    nav > ul > li > a {
        width:calc(100% - 60px);
    }
    nav > ul > li > ul {
        background-color:#eee;
    }
    .port-desc .secondtext {
        width: 92%;
    }
    .port-desc:hover .grid-item {
        top: 60px;
    }
    .port-desc-holder:hover .grid-item:after, .port-desc-holder:hover .grid-item:before{
        display: none;
    }
    .maincat {
        padding: 0;
        flex-wrap:wrap;
        justify-content:center;
    }
    .maincat h2 {
        font-size: 1.3rem;
        display:flex;
        width:calc(100% - 40px); /*49%*/
        margin-bottom:2rem;
        font-size: 1.4rem;
        justify-content: center;
        align-items: center;
    }
    .maincat h2::before, .maincat h2::after {
    	content: "\25CF"; /*\2022*/
    	/*color:red;*/
    	width: 6px;
    	height: 6px;
    	display: flex;
    	justify-content: center;
    	align-items: center;
    	/*border: 1px solid #fff;*/
    	/*background: #fff;*/
    	border-radius: 50%;
    	/*margin-top: calc(1rem - 3px);*/
    	margin-right: 0.5rem;
    	margin-left: 0.5rem;
    	height: 100%;
    }
    /*
    .maincat h2::before{
        left:20px;
    }
    .maincat h2::after{
        right:20px;
    }*/
    .maincat h2:nth-child(2), .maincat h2:nth-child(4){
        display:none;
    }
    h1 {
        font-size: 2rem;
    }
    #sec3 .container-fluid > .row {
        margin: 0 auto;
    }
    #sec3 .container-fluid > .row .col-12{
        padding: 0;
    }
    .flat-form #contact-form {
        margin: 25px auto;
    }
    #contform h2{
        margin-top:2rem;
    }
    .fixed-title{
        display:none;
    }
    .grid-item {
        top: 15%;
        padding:1rem;
    }
    .box-item {
        filter: brightness(0.5);
    }
}
@media(max-width: 540px){
    .grid-small-pad .grid-item-holder, .grid-big-pad .grid-item-holder {
    	padding: 0 !important;
    }
}
@media(max-width: 440px){
    .port-desc:hover .grid-item {
        top: 20px;
    }
    .maincat h2::before, .maincat h2::after {
    	content: "\25CF"; /*\2022*/
    	/*color:red;*/
    	width: 6px;
    	height: 6px;
    	display: flex;
    	justify-content: center;
    	align-items: center;
    	/*border: 1px solid #fff;*/
    	background: none;
    	border-radius: 50%;
    	margin-top: calc(1rem - 3px);
    	margin-right: 0.5rem;
    	margin-left: 0.5rem;
    	height: 100%;
    }
    /*
    .maincat h2 {
        width: calc(80% - 40px);
    }
    */
    /*
    .maincat h2::before{
        left:20px;
    }
    .maincat h2::after{
        right:20px;
    }*/
}
@media(max-height: 400px){ 
    header {
    	height: 60px;
    	line-height: 60px;
    }
    nav {
    	display: block;
    	overflow: scroll;
    }
    .nav-holder {
    	padding: 2px 0;
    	height: 300px;
    	overflow: scroll;
    }
    .grid-item {
    	padding: 0.5rem;
    }
    .gallery-item {
    	width: 49% !important;
    	margin-right: 1% !important;
    }
    .gallery-items {
    	float: initial;
    	width: 100%;
    	padding-bottom: 50px;
    	display: flex;
    	flex-wrap:wrap;
    }
    .logo-holder {
    	width: calc(100% - 100px);
    }
    .logo-holder > a{
    	display: block;
    	max-height: calc(100% - 10px);
    	height: 100%;
    }
    .header-inner {
    	padding-top: 6px;
    }
    .port-desc:hover .grid-item {
        top: 0;
    }
    .mainpage .grid-item {
    	position: relative;
    	top: 0;
    }
    .maincat h2 {
        margin-bottom: 1rem;
    }
    .secondtext h2 {
        font-size: 1.4rem;
        margin-top: 0.7rem;
        margin-bottom: 0.7rem;
    }
    .content-holder {
    	padding: 60px 0 50px;
    }
    .port-desc .secondtext {
    	width: 98%;
    }
    .parallax-section {
    	padding: 50px 0;
    }
    .section-columns-text .custom-inner {
    	padding: 10px 0;
    }
    .sect-scroll::before {
    	/*content: '';
    	position: absolute;
    	top: -10px;
    	left: 50%;
    	margin-left: -30px;
    	width: 60px;
    	background: #fff;
    	height: 1px;
    	opacity: 0.6;*/
    	display: none;
    }
    .inline-facts-holder{
        display: flex;
    }
    .flat-form {
    	border-top: none;
    }
    .section-columns-text {
    	padding: 30px 0;
    }
    .section-columns-text {
    	padding: 0;
    }
    #contactdan > .section-columns-text {
    	align-items: self-start !important;
    }
    #contform h2 {
    	margin-top: 0.5rem;
    }
    .contact-list {
    	margin-top: 0;
    }
    h2 {
    	font-size: 2.2em;
    }
    .flat-form {
    	padding: 0;
    	height: auto !important;
    	min-height: 100% !important;
    }
    /*
    .section-columns-img {
    	top: 60px;
    }*/
}