/* ------------ CATEGORY -------------- */

.category {
    width: 100%;
    padding: 15px 25px 15px 25px;
    background: #fff;
    box-sizing: border-box;
    margin-top: 10px;
    font-size: 14px;
    position: relative;
}

.category h3 {
    color: #023769;
    font-size: 18px;
}

.category__btn {
    font-size: 16px;
    line-height: 32px;
    padding: 0 15px;
    height: 32px;
    text-transform: uppercase;
    background: #d2681c;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform .2s;
    cursor: pointer;
}

.category__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 135%;
    height: 100%;
    background: #000;
    z-index: -1;
    transform-origin: 0 0;
    transform: translateX(-100%) skewX(-45deg);
    transition: transform .2s;
}

.category__btn:hover {
    text-decoration: none !important;
    color: #fff !important;
}

.category__btn:hover::before {
    transform: translateX(0) skewX(-45deg);
}

#product-list {
    margin-top: 10px;
    width: 100%;
}

.product_list {
    margin-bottom: 10px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#product-list li {
    height: 456px;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-sizing: border-box;
    border: 1px #d9d9d9 solid;
    text-align: left;
    overflow: hidden;
    padding: 15px;
    position: relative;
}

.product-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.left-block {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.product_img_link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.product_img_link img {
    max-height: 200px;
    max-width: 200px;
    display: block;
    margin-top: 15px;
}

.product-name {
    font-size: 14px;
    font-weight: bold;
    color: #004e98;
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
}

.product-name:hover {
    text-decoration: underline;
}

.description {
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 15px;
    flex-grow: 1;
}

#product-list .button {
    margin-top: auto;
    align-self: flex-end;
}

.label.button {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #4CAF50;
    padding: 3px 8px;
    font-size: 12px;
    z-index: 1;
}

.label.button.small {
    font-size: 11px;
}

@media (max-width: 1200px) {
 
    .product_list {
        grid-template-columns: repeat(2, 1fr);
    }

    #product-list li {
        text-align: center;
    }

    .product-name {
        text-align: center;
    }
}

@media (max-width: 800px) {
 
    .product_list {
        grid-template-columns: 1fr;
    }
 
    #product-list li {
        height: auto;
        min-height: 400px;
    }
 
    .product_img_link img {
        margin-top: 0;
    }
}

.intro {
	background: url(./img/cover.png) #004e98 left top repeat;
	max-width: 420px;
	color: #fff;
	padding: 20px;
	box-sizing: border-box;
	font-size: 14px;
	position: relative;
	margin-top: 15px;
}

.intro-block__wrapper {
    display: flex;
    column-gap: 15px;
}

.intro_img {
    max-width: 100%;
    margin: 20px 20px 0 0;
    width: 100%;
}

.intro ul {
    margin: 0 0 20px 0 !important;
}

.intro li {
    position: relative;
    padding-left: 18px;
    margin-top: 5px;
}

.intro li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #d2681c;
    background: none !important;
    margin: 0 !important;
    padding: 0;
}

@media (max-width: 1200px) {
    
    #description_block p:first-child {
        margin-top: 10px;
    }
    
    .intro_img img {
        max-width: 100%;
    }
    
    .intro-right {
        width: 50%;
        max-width: 520px;
        flex-shrink: 0;
    }
}

@media (max-width: 980px) {
    
    .intro-block__wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .intro_img {
        margin: 0;
    }
    
    .intro-right {
        width: 100%;
        text-align: center;
    }
    
    .intro {
    	margin: 0 auto;
    	text-align: left;
    }
    
    .category h1 {
        font-size: 18px;
    }
    
    .category h3 {
        font-size: 16px;
    }
}

/* ------------ /CATEGORY -------------- */

/* -------------- PAGE ---------------- */

.page {
	width: 100%;
	padding: 15px 25px 15px 25px;
	background: #fff;
	box-sizing: border-box;
	margin-bottom: 20px;
	font-size: 14px;
}

/* -------------- /PAGE ---------------- */

/* -------------- BUY FORM ---------------- */

#buy-form {
	max-width: 500px;
	padding: 30px;	
}

#buy-form .form-intro {
	font-size: 14px;
	text-align: center;
	font-weight: bold;	
}

#buy-form a {
    color: #004e98;
}

#buy-form a:hover {
	text-decoration: underline;
}

/* -------------- /BUY FORM ---------------- */

/* ---------------- NEWS ------------------ */

.news-list {
	width: 100%;
	padding: 15px 25px 20px 25px;
	background: #fff;
	box-sizing: border-box;
	margin-top: 40px;
	margin-bottom: 10px;
	font-size: 14px;
	clear: both;
}

.news-block{
	width: 100%;
	padding: 15px 25px 35px 25px;
	background: #fff;
	box-sizing: border-box;
	margin-bottom: 10px;
	font-size: 14px;
	clear: both;
}

.news-block .news{
	display: flex;
	flex-wrap: wrap;
}

.news-block .news li {
	width: 50%;
}

.news-latest {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.news-latest li {
	max-width: 307px;
    height: 490px;
    display: block;
    background: #fff;
    margin: 10px 10px 10px 0;
    box-sizing: border-box;
    border: 1px #d9d9d9 solid;
    text-align: left;
	padding: 10px;
	position: relative;
}

.news-latest li:nth-child(4n) {
	margin: 10px 0 10px 2px;
}

.news-latest .img {
	width: 290px;
	height: 290px;
	background: #d2681c;
	margin: -20px 0 25px -10px;
	position: relative;
    z-index: 3;
}

.news-latest .img:after {
    content: '';
    position: absolute;
    width: 295px;
    height: 295px;
    background: #eeeeee;
    margin: 6px 0 0 -286px;
    z-index: -11;
}
.news-latest .img img.active {
	width: 290px;
	height: 290px;
}

.news-latest .img .user {
	position: absolute;
	text-align: right;
	right: 10px;
	bottom: 10px;
	color: #868686;
}

.news-latest .img .user span {
    display: inline-block;
    vertical-align: middle;
    padding-left: 0;
}

.news-latest .img .date {
	position: absolute;
	top: 10px;	
}

@media (max-width: 620px) {
    
    .news-block .news{
    	flex-direction: column;
    }
    
    .news-block .news li {
    	width: 100%;
    }
}

@media (max-width: 420px) {
    
    .news-block .news{
    	flex-direction: column;
    }
    
    .news-block .news li {
    	width: 100%;
    }
    
    .news .text {
        padding: 0;
        margin-top: 25px;
    }
    
    .news .img img {
        position: relative;
    }
    
    .news .img:after {
        left: 40px;
    }
    
     .news-latest li {
        width: 100%;
        max-width: 100%;
        margin: 10px 0 !important;
    }
    
    .news-latest li:nth-child(4n) {
        margin: 10px 0 !important;
    }
    
    .news-latest .img {
        width: 100%;
        margin: -20px 0 25px 0;
    }
    
    .news-latest .img:after {
        width: 255px;
        margin: 6px 0 0 -246px;
    }
    
    .news-latest .img img.active {
        width: 100%;
    }
}

.credentials span {
	color: #868686;
}

.news-latest .text a.title {
    color: #023769;
    font-weight: bold;
    text-transform: uppercase;
}

.news-latest .text a.title:hover {
    color: #d2681c;
}

.col_left .news-latest li {
	width: 270px;
	height: 450px;
	margin-left: 0px;
}

.col_left .news-latest .img {
	width: 250px;
	height: 250px;
	margin: -20px 0 25px -11px;
}

.col_left .news-latest .img:after {
    width: 251px;
    height: 256px;
    margin: 6px 0 0 -240px;
}

.col_left .news-latest .img img.active {
	width: 250px;
	height: 250px;
}

/* ---------------- /NEWS ------------------ */

.company-img {
    float: left; 
    margin: 0px 10px 10px 0px;  
}

a.gallery img {
    margin-top: 5px;
}

@media (max-width: 800px) {
    
    .company-img {
        float: none;
        width: 100%;
    }
}