﻿/*Общие стили*/
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html{
    height:100%;
}

body {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    font-size: 24px;
    color: #3C3C3B;
    height:100%;
}

h1{
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 42px;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

h2{
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

h3{
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

header{
    flex:0 0 auto;
}

main{
    min-height:calc(100% - 267px - 132px);
}

footer{
    flex:0 0 auto;
}

a{
    text-decoration: none;
    width: fit-content;
}

button{
    border: none;
}

.wrap-container{
    margin: 0 auto;
    max-width: 1200px;
}

.breadcrumbs ul,.breadcrumbs-cat ul{
    display: flex;
    align-items: center;
    padding: 0;
    margin: 25px 0;
}

.breadcrumbs ul li,.breadcrumbs-cat ul li{
    list-style-type: none;
    display: flex;
    align-items: center;
}


.breadcrumbs ul li .br-arrow,.breadcrumbs-cat ul li .br-arrow{
    margin: 0 5px;
}

.breadcrumbs ul li a,.breadcrumbs span,.breadcrumbs-cat ul li a,.breadcrumbs-cat span{
    font-size: 16px;
}

.breadcrumbs ul li .link:hover,.breadcrumbs-cat ul li .link:hover{
    text-decoration: underline;

}

.cat-back{
    display: none;
}

.cat-back ul{
    list-style-type: none;
    font-size: 16px;
    margin: 10px 0;
    padding: 0;
}

.cat-back .link{
    display: flex;
    align-items: center;
    width: fit-content;
}

.cat-back_arrow{
    background: url("/templates/pl-pak/images/icons/cat-back_arrow.svg");
    width: 16px;
    height: 16px;
    margin-right: 7px;
}

.cat-back .link:hover{
    color: #206092;
}
.cat-back .link:hover .cat-back_arrow{
    background: url("/templates/pl-pak/images/icons/cat-back_arrow-hover.svg");
    width: 16px;
    height: 16px;
}

.btn-up {
    /* фиксированное позиционирование */
    position: fixed;
    /* цвет фона */
    background-color: #0289CD;
    /* расстояние от правого края окна браузера */
    right: 50px;
    /* расстояние от нижнего края окна браузера */
    bottom: 50px;
    border-radius: 2px;
    /* вид курсора */
    cursor: pointer;
    /* отображение элемента как flex */
    display: flex;
    /* выравниваем элементы внутри элемента по центру вдоль поперечной оси */
    align-items: center;
    /* выравниваем элементы внутри элемента по центру вдоль главной оси */
    justify-content: center;
    /* ширина элемента */
    width: 50px;
    /* высота элемента */
    height: 50px;
    border: 1px solid rgba(167, 214, 242, 1);
    -webkit-box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
    -moz-box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
    box-shadow: 5px 5px 0px 0px rgba(167, 214, 242, 1);
}

.btn-up::before {
    content: "";
    width: 30px;
    height: 30px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
    background-image: url("/templates/pl-pak/images/icons/btn-up.svg");
}
  
.btn-up_hide {
    display: none;
}

.fancybox__backdrop {
    background:  rgb(2, 39, 68,0.8);
}

.first-level-heading{
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 42px;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}
  
@media (hover: hover) and (pointer: fine) {
    .btn-up:hover {
        background-color: #206092; /* цвет заднего фона при наведении */
    }
}

@media (max-width: 1260px){
    .wrap-container{
        margin: 0 30px;
        max-width: none;
    }
}

@media (max-width: 1024px){

    h1{
        font-size: 30px;
    }
    
    h2{
        font-size: 24px;
    }

    h3{
        font-size:20px;
    }

    body {
        font-size: 18px;
    }

    .wrap-container{
        margin: 0 20px;
        max-width: none;
    }

    .breadcrumbs ul,  .breadcrumbs-cat ul{
        margin: 10px 0;
    }

    .breadcrumbs-cat{
        display: none;
    }

    .cat-back{
        display: block;
    }

    .first-level-heading{
        font-size: 30px;
    }

}

@media (max-width: 768px){
    h1{
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    h2{
        font-size: 20px;
        margin-bottom: 15px;
    }

    h3{
        font-size:18px;
        margin-bottom: 10px;
    }

    body {
        font-size: 16px;
    }

    .wrap-container{
        margin: 0 15px;
        max-width: none;
    }

    .btn-up {
        right: 10px;
        /* расстояние от нижнего края окна браузера */
        bottom: 10px;
        /* ширина элемента */
        width: 35px;
        /* высота элемента */
        height: 35px;
        }
        
        .btn-up::before {
        content: "";
        width: 24px;
        height: 24px;
    }

    .first-level-heading{
        font-size: 24px;
        margin-bottom: 15px;
    }

}
