/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
.btn-primary{
	border: 0 !important;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


form .raiting-star{
	padding-top: 13px;
}
form .raiting-star input{
	position: absolute;
	left: -10000px;
}
form .raiting-star .radio{
	display: inline-block;	
}
form .raiting-star span{
	font-weight: 600;
	vertical-align: middle;
	display: inline-block;
	margin: -8px 5px 0 15px;
	font-size: 16px;
}
form .raiting-star .radio label{
	font-size: 0;
	padding-left: 0;
}
form .raiting-star .radio label .fa-star{
	font-size: 26px;
	color: #dadada;
	margin-right: 4px;
	cursor: pointer;
}
form .raiting-star .radio label .fa-star.active{
	color:#E0B454;
}

.product-item .review-item{
    margin-bottom: 20px;
}
.product-item .review-item .user{
    font-weight: 600;

}
.product-item .review-item .date{
    margin: -5px 0 0;
    font-size: 13px;
}

.product-item .review-item .rating .fa{
    font-size: 20px;
}
.product-item .review-item .text{
    padding: 20px 20px;
    background: #FCF8EF;
    position: relative;
    border-radius: 5px;
}
.product-item .review-item .text::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-width: 16px;
    border-style: solid;
    border-color:   transparent #FCF8EF transparent transparent;
    top: 10px;
    left: -28px;
    display: block;
    z-index: 1000;
}
.fa-star.raiting{
    color:#dadada;
}
.fa-star.raiting-up{
    color:#E0B455;
}
.main-reviews .fa-star{
    font-size: 24px;
    margin: 0 3px;
}




.product-reviews-form input[type=text]{
    max-width: 360px;
}
.product-reviews-form textarea{
    min-height: 120px;
}



/* =============
   Alerts
============= */

.alert-void{
	position: fixed; 
	right: 30px;
  /*  width: 600px;*/
	top: 10%;
	height: auto; 
	z-index: 1100; 
	max-width: 360px;
 } 
.alert-void .alert{
	  box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
	  /*min-width: 420px;*/
	  opacity: none !important;
	 
}
.alert {
	position: relative; 
}

.alert.fade {			
	opacity: 1;	
}

.has-error .checkbox, .has-error .checkbox-inline,
.has-error .control-label, .has-error .help-block,
.has-error .radio, .has-error .radio-inline,
.has-error.checkbox label, .has-error.checkbox-inline label,
.has-error.radio label, .has-error.radio-inline label,
.has-error .form-control-feedback {
	color: #d57171; }

.has-success .form-control {
	border-color: #4fc55b;
	box-shadow: none !important; }

.has-warning .form-control {
	border-color: #e2ab3b;
	box-shadow: none !important; }

.has-error .form-control {
	border-color: #d57171;
	box-shadow: none !important; 
}  




.testimonial-rating {
	height: 24px;
	line-height: 24px;
	float: right;
	margin-right: 20px
}

.testimonial-rating-stars {
	background: url("../img/star_empty.png") repeat-x;
	width: 120px;
	/* Ширина звезды * желаемое число звезд */
	height: 24px;
	/* Высота звезды */
	float: left;
}

.testimonial-realrating {
	background: url("../img/star.png") repeat-x;
	height: 24px;
	/* Высота звезды */
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
a.animation{
	display: inline-block;
	margin: 0 0 15px;
}
a.animation .fa-angle-up,
a.animation .fa-angle-down
{
	padding: 2px 5px;
	background: #7B657C;
	color: #fff;
}

.container .cantainer{
	width: auto;
}

.order-delivery-chose{
	cursor: pointer;
}



.pay-robokassa{
	width: 170px;
	height: 75px;
	background: #fff url(/images/pay/robokassa-icon.png) no-repeat center center;
	display: inline-block;
	vertical-align: top;	
	border-radius: 5px; 
	margin: 0 5px 10px 0; 
}
.pay-sber{
	width: 170px;
	height: 75px;
	background: #fff url(/images/pay/sber-icon.png) no-repeat center center;
	display: inline-block;
	vertical-align: top;	
	border-radius: 5px; 
	margin: 0 5px 10px 0; 
}
.pay-yookassa{
	width: 170px;
	height: 75px;
	background: #fff url(/images/pay/ykassa-icon.png) no-repeat center center;
	display: inline-block;
	vertical-align: top;	
	border-radius: 5px;
	margin: 0 5px 10px 0;  
}

.pay-robokassa:hover,
.pay-yookassa:hover,
.pay-sber:hover{
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}


.pay-sis-list .pay-robokassa{
	width: 90px;
	height: 30px;	
	background-size: 60px;
	display: block;	
}
.pay-sis-list .pay-sber{
	width: 90px;
	height: 30px;	
	background-size: 60px;
	display: block;	
}
.pay-sis-list .pay-yookassa{
	width: 90px;
	height: 30px;	
	background-size: 60px;
	display: block;	
}



/*
pay-sber

pay-yookassa*/




.whatsapp-fixed {
	width: 90px;
	height: 90px;
	position: fixed;
	right: 15px;
	bottom: 8%;
	border-radius: 50%;
	text-decoration: none;
	background: url(/images/whatsapp-bg.png) no-repeat center center;
	background-size: 90px;
	display: block;
	padding: 14px 0 0 20px;
}
.whatsapp-fixed .fa{
	color:#519d0b;
	font-size: 60px;
}

.hot-discount-percent{
	position: absolute;
	bottom: 0;
	left: 0;
	background: #ce0000;
	color: #fff;
	padding: 3px 5px;
	font-size: 12px;
}

.loyut-fixed{
	text-align: center;
	color: #fff;
	background: #ff9300;
	padding: 8px 20px;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}
.loyut-fixed a{
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.alert-void .alert{
		min-width: 100% !important;
		max-width: 100% !important;
	}	
}


@media (max-width: 576px) {	
	.pay-sis a{
		width: 100% !important;
	}
}


@media (min-width: 768px) {
	.header-area-style1.stick .col-lg-3, 
	.header-area-style1.stick .col-md-3,
	.header-area-style1.stick .col-sm-4,
	.header-area-style1.stick .col-lg-9,
	.header-area-style1.stick .col-md-9,
	.header-area-style1.stick .col-sm-8{
		width: auto !important;
		display: inline-block;
	}
	
	
	
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
