
.nav-profil{
   position: relative;
   
}

body{
    min-height: 100vh;
    justify-content: space-between;
}

.nav-profil-block{
    box-shadow: 0px 0px 15px 0px rgba(50, 53, 85, 0.2);
    background: rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: 20px 0;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transition: top 0.05s ease-out;
}

#titlecompany{
    position: relative;
}

#titlecompany{
    top: 0!important;
}

.carousel-control-next-icon{
    width: 50px;
    height: 50px;
}

.carousel-control-prev-icon{
    width: 50px;
    height: 50px;
}

.element-nav-profil{
    padding: 7px 20px;
    color: rgba(24, 56, 98, 1);
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
}

@media(max-width:991px){
    .carousel-control-next, .carousel-control-prev {
        width: 55px;
    }
    .carousel-control-next-icon{
        width: 33px;
        height: 33px;
    }

    .carousel-control-prev-icon{
        width: 33px;
        height: 33px;
    }
}

@media (min-width: 992px) and (max-width: 1500px) {
    .element-nav-profil{
        padding: 0.5vw 20px;
        font-size: 1vw;
    }
    .element-nav-profil object{
        height: 1.5vw;
    }
}

.element-nav-profil object{
    max-width: 30px;
}

.element-nav-profil:hover{
    background: linear-gradient(84.12deg, #153D8A 1.59%, #164194 50.91%, #13A538 116.75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profil-block{
    align-items: center;
    gap: 10px;
    box-shadow: 0px 0px 15px 0px #32355533;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    display: flex;
}

.company-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 3%;
}
.item-company-name{
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.company-ava{
    height: 300px;
    width: 300px;
    min-width: 300px;
}

.areatext{
    white-space: pre-line;
}

.num{
    background: linear-gradient(84.12deg, #153D8A 1.59%, #164194 50.91%, #13A538 116.75%);
    color: white;
    padding: 0 10px;
    border-radius: 5px;
}

.descriptioncompany{
    font-size: 18px;
    line-height: 18px;
}

.sliderblock{

    transition: all 1s ease;
    overflow: auto;
    -ms-overflow-style: none; 
    display: flex;
    scroll-behavior: smooth;
}
.sliderblock::-webkit-scrollbar { width: 0; }

.carousel-item{
    cursor: pointer;
}

.item-block, .item-image-block{
    min-width: 240px;
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    -webkit-user-drag: none;
    user-drag: none;       
    -webkit-user-select: none;
    -moz-user-select: none;  
    -ms-user-select: none;   
    user-select: none; 
    border-radius: 20px;
}
.item-block-img{
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    height: 211px;
    border-radius: 20px;
    overflow: hidden;
    background-position: center;
}

#photosee .modal-content{
    overflow: hidden;
    border-radius: 20px;
    background: none;
}
.item-block-img-help{
    -webkit-line-clamp: 8; 
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    overflow: hidden;
    white-space: wrap;
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    padding: 15px;
    background: linear-gradient(84.12deg, #153D8A 1.59%, #164194 50.91%, #13A538 116.75%);
    color: white;
    transition: opacity 1s ease;
}

.item-block-img:hover .item-block-img-help{
    opacity: 0.8;
}

.item-block-name{
    -webkit-line-clamp: 2; 
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    overflow: hidden;
    white-space: wrap;
}

.slider-next, .slider-back{
height: 20px;
cursor: pointer;
}

.slider-next{
    transform: rotate(180deg);
}



.slider-nav-noactive{
    cursor:default;
}
.slider-nav-noactive path{
    fill:    rgba(204, 204, 204, 1) ;
}


.slider-menu-open, .slider-menu-close{
    display: none;
    cursor: pointer;
    color: black;
    text-wrap: nowrap;
    user-select: none;
}

.slider-menu-open:hover, .slider-menu-close:hover{
    background: linear-gradient(84.12deg, #153D8A 1.59%, #164194 50.91%, #13A538 116.75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider-menu-open svg{
    rotate: -90deg;
}

.slider-menu-close svg{
    rotate: 90deg;
}


.slider-menu-container svg{
    height: 20px;
}

.openslider{
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.openslider .item-block, .openslider .item-image-block{
    width: 288px;
}

.item-image-block:hover{
    background: linear-gradient(84.12deg, #153D8A 1.59%, #164194 50.91%, #13A538 116.75%);
    color: white;
}
.item-image-block:hover .item-block-img{
    background-color: white;
}

.modal-content{
    border-radius: 20px;
}

.back{
    width: 24px ;
    position: absolute;
    cursor: pointer;
    right: 0;
    top: 0;
}

.back object{
    width:  100%;
    pointer-events: none;
}

.font28{
    font-size: 28px;
}

.font20{
    font-size: 20px;
}
.font18{
    font-size: 18px;
}


.modal-product-img{
    height: 230px;
    width: 240px;
    min-width: 240px;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.modal-product-category{
    overflow: hidden;
    position: relative;
    padding: 5px 10px;
    border-radius: 10px;
    width: fit-content;
}
.modal-product-category div{
    background: linear-gradient(84.12deg, #153D8A 1.59%, #164194 50.91%, #13A538 116.75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.modal-product-category::before{
    content: "";
    background: linear-gradient(84.12deg, #153D8A 1.59%, #164194 50.91%, #13A538 116.75%);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.modal-product-category::after{
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: 9px;
    z-index: 1;
    background: rgba(255, 255, 255, 1);
}

.modal-product-price{
    font-size: 28px;
    background: linear-gradient(110.88deg, #23CFDA -5.44%, #594BEE 99.29%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.image-photo{
    height: 35rem;
    border-radius: 20px;
}

.item-image-block div{
    z-index: 1;
}

.image-photo{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.item-video-block{
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 270px;
}

.item-block-video{
    height: 150px;
    width: fit-content;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.item-block-video video{
    height: 100%;
}

.helptext{
    font-size: 14px;
}

#info-org{
    gap: 10px;
} 

.atitle{
    -webkit-line-clamp: 1; 
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    overflow: hidden;
    white-space: wrap;
    margin-top: 10px;
}

.h20{
    height: 20px;
}

.project-image{
    height: 350px;
    width: 400px;

    border-radius: 20px;
}

.project-image .carousel-inner{
    height: 100%;
}

.project-image-item{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.project-image .project-image-nav{
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 1);
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 1;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);

}

#photosee img{
    width: 100%;
    height: auto;
}

.project-image .project-image-nav a{
    position: relative;
    width: auto;
    height: 30px;
    cursor: pointer;
}

.project-image .project-image-nav a object{
    pointer-events: none;
}

.nextarrow{
    transform: rotate(180deg);
}

.project-image .carousel-indicators{
    margin-bottom: 10px;
}

.block-creater-project:hover{
    box-shadow: 0px 0px 5px 0px rgba(69, 168, 52, 1);

}

.menu-company{
    display: none;
}

.namecomp{
    padding: 3px 10px;
    -webkit-line-clamp: 1; 
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    overflow: hidden;
    white-space: wrap;
}

.coreokved .buttonokved{
    position: relative;
    width: 230px;
}

.closeallmodal{
    display: none;
}

.banner{
    background-size: 100%;
    background-position: center;
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 3.7/1;
    background-repeat: no-repeat;
}

.modal-photo{
    justify-content: center;
}

.modal-photo .modal-content{
    width: fit-content;
}

.modal-photo-img{
    width: 100%;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 20px;
}

@media (min-width:992px){
    .nameokved{
        width: calc(84% - 230px);
    }
}


@media (max-width:991px){


    .company-ava{
        width: 30%;
        min-width: 30%;
        height: 25vw;
    }
    .company-container{
        padding-right:0;
    }

    .item-company-name{
        font-size: 16px;
        padding: 15px;
    }
    .descriptioncompany{
        font-size: 14px;
        line-height: 15px;
    }

    .titlecompany{
        font-size: 14px;
    }

    .contact{
        font-size: 14px;
    }

    .coreokved{
        position: relative;
        padding-bottom: 30px;
    }
    .coreokved .buttonokved{
        position: absolute;
        width: 100%;
        height: 25px;
        text-align: center;
        bottom: 5px;
        left: 0;
    }

    .image-photo{
        height: 50vw;
    }

    .nav-profil{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }
    .nav-profil-bg{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 6;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
    }

    .nav-profil-block{
        position: fixed;
        top: 50%!important;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 350px;
        max-width: 90vw;
        z-index: 8;
    }
    .menu-company{
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
    }

    .company-nav{
        transition: top 1s ease;
        border-radius: 0 0 10px 10px;
        position: fixed!important;
        background: white;
        z-index: 3;
        padding: 10px 20px;
        top: 0px;
        box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
        z-index: 1100;
        align-items: center;
    }
    .company-nav .company-ava{
        width: 20%;
        min-width:20%;
        height: 12.5vw;
    }

    .company-nav  .item-company-name{
        padding: 0;
        padding-right: 25px;
        padding-left: 15px;
        text-align: center;
    }
    .company-nav .menu-company{
        top: 10px;
        right: 20px;
    }
    
    .modal-product-price{
        font-size: 20px;
    }
    .modal-product-img{
        width: 100%;
        height: 60vw;
    }

    .modal-product{
        padding: 5px;
        background: rgba(237, 238, 240, 1);
        padding-bottom: 9%;
        padding-top: 22%;
        overflow: auto;
    
    }

    .modal-product-info{
        box-shadow: 0px 0px 15px 0px rgba(50, 53, 85, 0.2);
        border-radius: 20px;
        padding: 20px;
        background: rgba(255, 255, 255, 1);
    }

    .modal-product-name{
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 0px 0px 15px 0px rgba(50, 53, 85, 0.2);
        border-radius: 20px;
        padding: 20px;
    }
    .menu-company{
        display: flex;
    }

    .modal-company-nav .menu-company{
        display: none;
    }

    .modal-company-nav .company-ava{
        order: 3;
    }

    .modal-company-nav .closeallmodal{
        display: flex;
    }
    .atitle{
        display: none;
    }

    .project-image{
        width: 100%;
    }

    .block-creater-project{
        display: none;
    }

    .topmb{
        margin-top: 15vw;
    }

    .profil-block{
        gap: 10px;
    }

    .modal-photo .modal-content{
        max-height: calc(70vh - 60px);
        margin-top: 60px;
        overflow-y: auto;
    }

}

@media (max-width:550px){
    .modal-product{
        padding-bottom: 85px;
        padding-top: 150px;
        overflow: auto;
    }
    .image-photo{
        height: 80vw;
    }


}