/*
	Theme Name: Crncec
	Theme URI: 
	Description: Tema za spletno stran Crncec
	Version: 1.0
	Author: Marko Zajko
	Author URI: marko.zajko@gmail.com
	Tags: les

	License: Private (do not copy)
	License URI: marko.zajko@gmail.com
*/


@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html{
	/*
	background: url(img/background.jpg) 
    -webkit-background-size: auto;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.background.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='background.jpg', sizingMethod='scale')";
    background-attachment: fixed;
	*/

}

h1, h2, h3, h4{
	margin-top: 0px;
	color: #A5A6A9;
	font-family: "Rubik", sans-serif;
	/*font-family: 'Open Sans', sans-serif;*/
}

h1{
	font-size:24px;
	color: #3D3A3A;
	/*text-transform: uppercase;*/
	margin:0;
	line-height: 40px;
	display: inline;
}

h2{
	font-size: 22px;
	text-align: left;
	color:#3D3A3A;
	line-height: 40px;
    padding-bottom: 0px;

}
h3{
	color: #E13917;
	font-size: 18px;
	text-align: center;
	padding-top:15px;
}


body{
	/*background-color:#E8E8E8;*/
	/*font-family: 'Open Sans', sans-serif;*/
	/*text-align: justify;*/
	font-family: "Rubik", sans-serif;
	color:#3D3A3A;
}

.red{
	color: #ed3237;
}

.normalLink{
	color:#3D3A3A;
}

.normalLink:visited{
	color:#A4CB3C;
}

.container {
    max-width:1000px;
	width:100%;
}

.whiteB{
	background: #FFF;
}

.img-responsive{
	margin:0 auto !important;
}

.centerText{
	text-align:center;
}

.containerLarge {
    max-width: 1050px;
}

.titleHolder, .galleryTitleHolder{
	position: relative; 
	margin:0 auto; 
	text-align:center;
	margin-top: 10px;
	margin-bottom: 10px;
}

.galleryTitleHolder{
	width: 100px; 
}

.subtitle{

	color: #E6C31F;
	font-size:30px;
	line-height: 50px;
	display: inline;
	text-transform: uppercase;
}


.crop {
        width: 100%;
        /*height: 70px;*/
        overflow: hidden;
        display: inline-block;
        text-align: center;
    }

.crop img {
    width: 100%;
    height: auto;
    /*margin: -75px 0 0 -100px;*/
}

#largeImage{
	width: 120%;
}



#toggle { 
  font-size: 24px; 
  color:#fff;
  width:10px;
}

#toggle:hover, #toggle:visited, #toggle:focus{ 
	text-decoration: none;
}


/*custom mobile menu*/
nav {
  background-color: #333;
  text-align: center;
}
nav ul { 
	display: none; 
}

nav ul li{ 
	padding-bottom:6px;
}

nav ul a{ 
	color:#fff;
	padding-bottom:8px;
}
	
nav ul a:hover{ 
	text-decoration:none;
	color:#A4CB3C;
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  display: none;
}

.scroll-top:hover {
  background-color: #0056b3;
}



.mobileMenu{
	display:none;
}

.headerHolder{
	/*position: fixed;*/
	z-index: 1000; 
	width: 100%
}
.languageHolder{
	height: 32px;
	background: #fff;
	padding-top: 5px;
	padding-bottom: 5px;
}

.topInfo{
	background: #fff;
}

.topInfoDiv{
	display: inline; 
	padding-right:5px;
	font-size: 12px;
}

.topHeadLink{
	padding-left: 10px;
	color: #3D3A3A;
}

.topHeadLink:hover{
	color: #A4CB3C;
	text-decoration: none;
}


/* Style The Dropdown Button */
.dropbtn {
    background-color: #89AC46;
    color: white;
    padding: 4px 8px;
    margin-top: -3px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    position: relative;
}


.topHead{
	background: #fff;
	z-index: 900000000;
	/*height:65px;*/
}

.logoHolder{
	margin-top: -10px;
	padding-bottom: 5px;
	display: inline-block;
}

.logoImg{
	max-width: 280px;
	margin-top: -10px;
}

.languageLink{
	font-size: 12px;
	font-weight: bold;
	color: #3D3A3A;
	padding: 5px;
	text-transform: uppercase;
}
.languageLink:hover{
	color: #ed3237;
	text-decoration: none;
	cursor: pointer;
}

.languageLinkDevider{
	font-size: 14px;
	font-weight: bold;
	color: #3D3A3A;
	display: inline;
}

.activeLanguage{
	color: #ed3237;
}

.topMenu{
	display: inline-block;
	padding-right: 50px;
	margin-top:-3px;
}

.topMenuLink{
	font-size: 18px;
	color: #3D3A3A;
	font-family: "Rubik", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}

.topMenuLink:hover{
	color: #ed3237;
	text-decoration: none;
	
}


/*main menu*/

.menuHolder{
	background: transparent;
	padding-bottom:6px;
}

.maxMenu{
	max-width: 100%;
	z-index: 999999;
	position: relative;
}

.max-mega-menu{
	text-align: center !important;
}
.mega-menu-wrap, .mega-menu-toggle{
	background: #fff !important; /* Old browsers */
}

.mega-menu-link{
	font-size: 20px !important;
	/*font-weight: bold !important;*/
	padding-right:10px !important;
	line-height: 26px !important;
	padding-top: 5px !important;
	padding-bottom:5px !important;
	color: #3D3A3A !important;
	background: #fff !important;
	
}

.mega-menu-link:hover{
	background: #ed3237 !important;
}

/* handle multi line menu - add "multi-line" to menu class in admin */
#{$wrap} #{$menu} li.mega-menu-item.mega-multi-line > a.mega-menu-link {
    @include desktop {
        line-height: inherit;
        display: flex;
        align-items: center;
    }
    @include mobile {
        br {
            display: none;
        }
    }
}



/* submenu*/
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
	background: #ed3237 !important;
}

#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
	background: #a02125!important;
}








/*home page*/

.categoryLink{
	color: #3D3A3A;
}

.categoryLink:hover{
	text-decoration: none;
}

.homeCategoryLink{
	color: #3D3A3A;
}

.homeCategoryLink:hover{
	text-decoration: none;
	color: #3D3A3A;
}


.horizontalText{
	position: absolute; 
	top: 0px;
	right: -20px; 
	font-size: 16px;
	font-style: italic;	
	writing-mode: vertical-rl;
	height: 100%; text-align: center;
	-webkit-transform: rotate(180deg);
   -moz-transform: rotate(180deg);
   -ms-transform: rotate(180deg);
   -o-transform: rotate(180deg);
   
}

.decorationSquare{
	position: absolute; 

	left: 15px; 
	right: 0px; 
	height: 40px; 
	width: 110%;
	z-index:0;

}

.categoryText{
	padding-top:50px;
}

.next{
	position:absolute; 
	right:20px; 
	bottom:10px; 
	max-width: 40px;
}


.categoryImgHolder, .categoryContentHolder{
	height: 220px;
	margin-bottom: 10px;
}


.categoryImgHolder:hover, .categoryContentHolder:hover{

}

.categoryImg{
	width:100%;
	height: 250px; 
	vertical-align: middle; 
	margin: 0 auto
}


.homeCategoryImg{
	width:680px;
	height:250px;
}

 .divider{
	background: url(img/divider.png);
	width: 400px;
	height: 10px;
	margin: 0 auto;
	margin-top:50px;
	margin-bottom: 20px
 }

.readMoreHolder{
	margin-left: -70px; 
	width: 100%; 
	margin-top: 50px;
}

.readMoreLink:hover{
	text-decoration: none;
}

.readMore{
	width:150px; 
	padding:10px 20px; 
	color:#fff; 
	margin:0 auto; 
	text-align: center;
}

.redUnderline{
	position: absolute;
	bottom: 0px;
	border-left: 0px;
	width: 40px;
	height: 3px;
	background: #C93327;
}

.underlineBlue{
	position: absolute;
	bottom: 0px;
	border-left: 0px;
	width: 40px;
	height: 3px;
	background: #0094D9;
}

.greenUnderline{
	bottom: 0px;
	border-left: 0px;
	width: 40px;
	height: 3px;
	background: #ed3237;
	text-align:center;
	margin: 0 auto;
}



.specialOfferLink{
	color:#3D3A3A;
	width: 33%;
}


.specialOfferLink:hover{
	color:#3D3A3A;
	text-decoration: none;
}




.categoryTextHolder{
	width:115%; 
	text-align:center; 
	padding: 20px; 
	padding-top: 10px;
	z-index: 3; 
	background: #fff; 
	position: relative; 
	margin-top: 60px; 
	margin-left:-70px;
}


.category130width{
	width:130%; 
}

.readMoreHolderCategory{
	margin-left: -30px; 
	width: 100%; 
	margin-top: 20px;
}

.readMoreLinkCategory:hover{
	text-decoration: none;
}

.readMoreCategory{
	width:150px; 
	padding:10px 20px; 
	color:#fff; 
	margin:0 auto; 
	text-align: center;
}

.categoryTitleHolder{
    width: 240px;
    position: relative;
    margin: 0 auto;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 10px;
}


.zeroPaddingRight{
	padding-right: 0px;
}

/*slider*/


.sliderCard{
	background-color:rgba(255,255,255,0.85);
	color:#3D3A3A;
	padding: 15px;
	font-size: 35px !important;
	line-height: 50px !important;
	border-left:10px solid #A5CE37;
	text-align: left;
}
/*
.sliderGrayCard{
	background-color:rgba(85,85,85,0.8);
	color:#fff;
	padding: 15px;
	font-size: 30px;
	line-height: 40px;
}

.sliderGreenCard{
	background-color:rgba(0,168,89,0.8);
	color:#000;
	padding: 15px;
	font-size: 18px;
	line-height: 28px;
}


.sliderText{
	font-size:20px;
	padding-bottom:15px;
	line-height: 25px;
}
*/


/*gallery*/
.galleryImg{
	padding-bottom: 20px;
}


.smallImage{
	margin-top:15px !important;
	cursor:pointer;
	width:100%;
	height:100%;
}

.gallery-caption {
    margin-left: 0;
    padding: 10px;
    font-weight: bold;
}

.pdfLink{
	color: #E13917;
	font-size: 18px;
}

.pdfLink:hover{
	text-decoration: none;
}

/*recommended products*/
.productHolder{
	border: 2px solid #FAF376;
	background: white;
	padding: 10px;
}
.productTitle{
	text-align: center;
	font-weight: bold;
}

.productImg{
	width:100%;
}

.sendMsg{
	border: 2px solid #FAF376;
	background: white;
	padding: 7px;
	text-align: center;
	width: 350px;
	margin:0 auto;
	font-size: 20px;
	font-weight: bold;
}

.sendMsg:hover{
	background: #F1F0F0;
	cursor: pointer;
}


.iphorm-fancybox-link{
	color:#FFF;
}

.iphorm-fancybox-link:hover{
	color:#3B3C3C;
	text-decoration: none;
}



.smallButton{
	border: 2px solid #FAF376;
	background: white;
	padding: 5px;
	text-align: center;
	width: 150px;
	margin:0 auto;
}

.smallButton:hover{
	background: #F1F0F0;
}


/*footer*/

.footerMenuText{
	font-weight:bold; 
	padding-bottom:15px; 
	padding-left:120px;
}

.footer{
	/*background: url(img/footerBackground.jpg);*/
	background: #e6e6e6;
	color:#fff;
	    -webkit-background-size: auto;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.background.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='background.jpg', sizingMethod='scale')";
    background-attachment: fixed;
	padding-top:10px;
	margin-top:30px;
	/*background-size: 100% auto;*/
}

.footerTitle{
	font-size:18px; 
	font-weight:bold;
	padding-bottom: 10px; 
	padding-bottom: 20px;
	color: #fff;
}

.footerLink{
	color:#fff;
	font-size: 14px;
	display: block;
	padding-bottom: 6px;
}

.footerLink:hover{
	color: #ed3237;
	text-decoration: none;
}


.showOnTablet{
	display:none;
}


.footerLogo{
	width:250px; 
	margin:0 auto;
}





@media (max-width: 1092px) {
	.showOnTablet{
		display:block;
	}

}


@media (max-width: 1080px) {
	.footerMenuText{
		display:none;
	}

	.hideOnTablet{
		display: none;
	}

	.categoryLeftContent, .categoryRightContent{
		display: none;
	}
}

/* menu goes to mobile */
@media (max-width: 1000) {
	#mega-menu-header-menu > li.mega-menu-item{
		margin-top: -22px !important;
	}

}





@media (max-width: 992px) {
	.mobileMenu{
		display:block
	}
	
	.desktopMenu{
		/*display:none;*/
	}

	.decorationSquare{
		display: none;
	}
	.homeSubTitleHolder{
		position:relative; 
		padding:10px; 
		width: 100%; 
		border: 0px solid #000; 
		font-size: 30px;
			z-index: 2;
		background: #fff;
		text-align: center;
	}
	
	.homeCategoryImg{
		width:100%;
		height:auto;
		margin-bottom: 20px;
	}

	.next{
		display: none;
	}

	.homeTextHolder, .categoryTextHolder{
	    padding-top: 20px;
	    text-align: center;
	    margin-left: 0px;
	    width: 100%;
		margin-top:0px;
	}

	.zeroPaddingRight{
		padding-right: 10px;
	}

	h2{
		text-align: center;
	}

	.readMoreHolder{
		margin-left: 0px;
	}
	
	.readMoreHolderCategory{
		margin-left: 0px;
	}

	.homeImgHolder{
		padding-left:0px;
	}

	.img-responsive{
		margin: 0 auto;
		margin-bottom:20px !important;
	}

	.service{
		text-align: center;
	}

	.redUnderline{
		display: none;
	}

	.topHead{
		height: auto;
	}

	.logoContainer{
		text-align: center;
	}
	
	.logoImg{
		margin-top: 15px;
		width: 150px;
		text-align: center;
		padding-bottom:10px;
	}
	
	.textCenterMobile{
		text-align: center;
	}

	.hideFooterIcon{
		display: none;
	}
	
}



@media (max-width:845px) {

	.topInfoDiv{
		/*display: none;*/
	}

	.logoContainer{
		text-align: center;
	}

	.logoHolder{
		text-align: center;
	}

	.menuHolder{
		text-align: center;
	}



	.gallery-item{
		width:50% !important;
	}
	
	
	.horizontalText{
		display: none;
	}
	
	.categoryText{
		padding-top:0px;
		padding-bottom:10px;
		text-align: center;
	}
	
	.divider{
		padding: 0px; 
		padding-top: 0px;
	}



}


@media (max-width: 768px) {
	.shadow{
		-webkit-box-shadow: 0px -1px 10px 0px rgba(0,0,0,0);
		-moz-box-shadow: 0px -1px 10px 0px rgba(0,0,0,0);
		box-shadow: 0px -1px 10px 0px rgba(0,0,0,0);
		text-align:center;
	}
	.hideMobile{
		display: none;
	}

	.mobileFix{
		width:100%;
		display: block;
		height: 100px
	}
	.topInfo{
		/*display: none;*/
	}
	
	.mega-menu-link{
		text-align: center !important;
	}
	
	.headerHolder{
		max-height: 120px;
	}
}


@media (max-width: 720px) {
	.categoryContentHolder{
		height:auto;
	}
}

@media (max-width: 600px) {
	.mega-menu-link {
	    /*color: #fff !important;*/
	}

	.mega-sub-menu 	.mega-menu-link {
	    /*color: #000 !important;*/
	}
}


@media (max-width: 530px) {

	.mega-menu-header-menu{
		z-index:10000;
	}
	
	.subMenu{
		margin-top:0px;
	}

	.divider{
		display: none;
	}

	.gallery-item{
		width:100% !important;
	}
}

@media (max-width: 360px) {
	.logoImg{
		margin-top: 15px;
		width: 150px;
	}
	.categoryImg{
		width: 100%;
		height: auto;
	}

	.productImgHolder{
		width:200px;
		margin: 0 auto; 
		height:auto; 
		padding:10px; 
		position: relative;
	}
	
	.footerLogo{
		width:100%;
		margin:0 auto;
	}


}



