.h1, h1 {
    font-size: 1.5rem;
}

body{
    background: url(/assets/body_pattern_gray.jpg);
    background-attachment: fixed;
}
.navbar{
    padding-top: 0;
    padding-bottom: 0;
}

.mt-nav{
    margin-top: 80px;
}

.navbar-brand{
    /* font-weight: bold; */
    font-size: 30px;
    font-family: 'Pacifico', cursive;
}

.navbar-brand img{
    width: 50px;
    margin: 0 3px 0 -20px;
}

#searchsubmit{
    /* background: url(/upgrade_26-05-18/webpage/img/search2.png) center center no-repeat; */
    background-image: url(/upgrade_26-05-18/webpage/img/search2.png);
    background-repeat: no-repeat;
    background-position: center center;
    width:40px;
}

.itemcard{
    margin:10px 0 10px 10px;
    box-shadow: rgba(0,0,0,0.1) 3px 3px 5px;
    width: 260px;
    position: relative;
}

.itemname{
    height: 80px;
}

.itemname h5{
    font-size: 16px;
}

.itemprice, .itempricebig{
    display: block;
    padding: 0;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    /* background-size: 15%; */
}

.itempricebig{
    font-size:36px;
}

.itemcupon{
    padding: 2px 0 0 0;
    height: 40px;
    font-size: 18px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: center;
    border-style: dashed;
    overflow: hidden;
}

.bigcupon {
    /* height: 60px; */
    font-size: inherit;
    font-family: inherit;
    padding: 7px 0;
}

.bigcupon .couponfeather{
    margin-top:0;
}

.itemimagelink{
    overflow: hidden;
    height:216px;
    display:flex; 
    align-items: center;
    justify-content: center;
}

/* .card-img-top{} */

.itemcard .itemimagelink img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.itemcard .itemimagelink:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}

.emptycoupon{
    padding: 0;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 22px;
}

.couponfeather{
    width: 24px;
    height: 24px;
    stroke: #dc3545;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    float: left;
    margin: 0 0 0 10px;
}

#calblock{
    position: relative;
}

#calblock button{
    margin: 0 10px 0 0;
}

#calblock input{
    position: absolute;
    bottom:0;
    left:0;
    visibility: hidden;
}

.calendarfeather{
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    float: left;
    margin: 0;
}

.picpack{
    position: relative;
}

.itemdate{
    font-size:14px;
    font-weight: bold;
    position: absolute;
    top: 3px;
    right: 5px;
    color: black;
    text-shadow: 2px 2px 3px white, 2px -2px 3px white, -2px 2px 3px white, -2px -2px 3px white;
}

.itemdate2{
    display:block;
    position: absolute;
    bottom: 4px;
    left: 5px;
    color: black;
    text-shadow: 2px 2px 3px white, 2px -2px 3px white, -2px 2px 3px white, -2px -2px 3px white;
}

.telegram_moving_icon_block {
	position: fixed;
	bottom: 10px;
	right: 10px;
    display: block;
    width: 75px;
    height: 75px;
    background-image: url(/upgrade_26-05-18/webpage/img/icon-telegram.png);
    -webkit-animation: shake 6s infinite alternate;
    animation: shake 6s infinite alternate;
    background-size: cover;
    -webkit-animation: shake 6s infinite alternate;
    animation: shake 6s infinite alternate;
}

#cookiesdialog{
    position: absolute;
    top: 100px;
    left:0;
    width: 100%;
}

@-webkit-keyframes shake {
		5%, 45% {
				-webkit-transform: translate3d(0, -1px, 0);
				transform: translate3d(0, -1px, 0);
		}
		10%, 40% {
				-webkit-transform: translate3d(0, 2px, 0);
				transform: translate3d(0, 2px, 0);
		}
		15%, 25%, 35% {
				-webkit-transform: translate3d(0, -4px, 0);
				transform: translate3d(0, -4px, 0);
		}
		20%, 30% {
				-webkit-transform: translate3d(0, 4px, 0);
				transform: translate3d(0, 4px, 0);
		}
}
@keyframes shake {
		5%, 45% {
				-webkit-transform: translate3d(0, -1px, 0);
				transform: translate3d(0, -1px, 0);
		}
		10%, 40% {
				-webkit-transform: translate3d(0, 2px, 0);
				transform: translate3d(0, 2px, 0);
		}
		15%, 25%, 35% {
				-webkit-transform: translate3d(0, -4px, 0);
				transform: translate3d(0, -4px, 0);
		}
		20%, 30% {
				-webkit-transform: translate3d(0, 4px, 0);
				transform: translate3d(0, 4px, 0);
		}
}

#wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    /* Prevent native touch events on Windows */
    -ms-touch-action: none;

    /* Prevent the callout on tap-hold and text selection */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* Prevent text resize on orientation change, useful for web-apps */
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none;
}

#scroller {
    position: absolute;

    /* Prevent elements to be highlighted on tap */
    -webkit-tap-highlight-color: rgba(0,0,0,0);

    /* Put the scroller into the HW Compositing layer right from the start */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

@media (max-width: 575px) {
    .itemimagelink{
        height: auto;
    }
    .itemcard{
        /* width:260px; */
        width:100%;
        min-width: 100%;
        margin:10px 10px 10px 0;
    }
    .navbar-toggler{
        margin-right: 5px;
    }
}

@media (min-width: 576px) {
    .itemcard{
        width:260px;
        margin:10px 10px 10px 0;
    }
    .navbar-toggler{
        margin-right: 5px;
    }
}

@media (min-width: 768px) {
    .itemcard{
        width:230px;
        margin:10px 10px 10px 0;
    }
    .navbar-toggler{
        margin-right: 10px;
    }
}

@media (min-width: 992px) {
    .itemcard{
        width:230px;
        margin:10px 10px 10px 0;
    }    
    .search{
        margin-right: -9px;
    }
}

@media (min-width: 1200px) {
    .itemcard{
        width:218px;
        margin:10px 10px 10px 0;
    }
    .search{
        margin-right: -9px;
    }
}

