@font-face {
    font-family: 'CenturygothicBold';
    src: url(/fonts/centurygothic_bold.ttf);
}


@font-face {
    font-family: 'Centurygothic';
    src: url(/fonts/centurygothic.ttf); 
}

body {

    font-family: "Centurygothic";
}
main > .container {
    padding: 20px 15px 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.block-content{
    min-height: 50vh;

}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}



/* начало ШАПКА САЙТА начало */
#block-header{
    background-color: #424242;
    height: 100px;
    display: grid;
    grid-template-columns: 1fr 4fr;
    color: #fff;
    padding-bottom: 15px;
}

#block-top-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 50px;
    align-items: center;
    justify-items: center;
}

#block-bottom-menu{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 40px;
    align-items: end;
}

#block-bottom-menu a{
    text-decoration: none;
    font-weight: 600;
    color: #fff;
}

.phone-header{
    font-weight: 600;
    margin-top: 8px;
}

#block-categories-header{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items :center;
    align-items: end;
}

#block-categories-header > div > a{
    text-decoration: none;
    color: #fff;
    font-family: "CenturygothicBold";
}



#block-logo-header
{
    text-align: center;
}

#block-logo-header img
{
    margin-top: 15px;
}

#block-contact-header
{
    margin-top: 15px;
}

/* мобильная версия шапки --- начало */

.block-logo-header-sm img{
    margin-left: 15px;
}

#block-menu-header-sm{
    display: none;
}

#block-header-sm{
    background-color: #424242;
    padding-bottom: 12px;
    padding-top: 12px;

}

#block-burger{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 5px;
    cursor: pointer;
}

.fifty-fifty{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items :center;
    margin-top: 12px;
    color: #fff;
}

.link-menu {
    margin-top: 10px;
}

.link-menu a{
    margin-top: 10px;
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
}



.icon-burger{
    text-align: right;
    margin-top: 3px;
}

.icon-burger span{
    margin-right: 20px;
    color: #fff;
    border: 1px solid #fff;
    padding: 4px 5px 5px 7px;
    border-radius: 3px;
    font-weight: 700;
}



/* мобильная версия шапки --- конец */

/* конец ШАПКА САЙТА конец */



/* начало стр. ГОТОВЫЕ РЕШЕНИЯ начало */


.block-main-slider-2{
    min-height: 500px;
}

#block-info-about{
    margin-top: 50px;
    padding-bottom: 35px;
}

#block-ready-made-solutions{
    margin-top: 25px;
}

#items-ready-made-solutions{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 15px;
    justify-items :center;
    column-gap:  10px;
}

.name-ready-made-solutions {
    margin-left: 10px;
    font-size: 17px;
}


#block-nomenclature-product{
    border-bottom: 2px solid #c5c6c6;
    border-top: 2px solid #c5c6c6;
    padding-top: 25px;
    padding-bottom: 25px;
}

.ready-made-solutions-item{
    cursor: pointer;
    text-decoration: none;
    color: #333333; 
}

#product-line{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 35px;
    column-gap:  50px;
}

#product-details{
    margin-top: 30px;
}

.nomenclature-product{
    display: grid;
    grid-template-columns: 50px auto;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.product-features{
    display: grid;
    grid-template-columns: 25px auto;
    column-gap: 3px;
    align-items: center;
}

.features-not-active{
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #818281;
    margin-top: 5px;
    
}

.features-active{
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #f70800;
    margin-top: 5px;
}

.features-name{
    font-size: 18px;
}


#block-nomenclature-product h4, #block-product-features h4{
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 20px;
}

.features{
    margin-top: 25px;
}

#before-footer{
    margin-top: 50px;
}

#title-before-footer{
    text-align: center;
    height: 40px;
    font-size: 20px;
    font-weight: 600;
}

#background-before-footer{
    width: 100%;
    height: 40px;
    display: block;
    background-image: url(/images/poloska_nizhnego_kolontitula.png);
    background-repeat: repeat-x;
}

/* конец стр. ГОТОВЫЕ РЕШЕНИЯ конец */



/* начало стр. ПОРТФОЛИО начало */

.block-img-mini{
   margin-top: 15px;
}

.img-mini{
    width: 100px;
    height: 65px;
    cursor: pointer;
}

.img-mini-admin{
    width: 200px;
    height: 130px;
    cursor: pointer;
}


.img-mini:hover{
   border: 1px solid red;
}

.del-img-our-work{
    color: #dc3545;
    margin-left: -10px;
    margin-top: -13px;
    cursor: pointer;
}

/* конец стр. ПОРТФОЛИО конец */




/* начало ШАПКА ПОДВАЛА начало */
#footer {
    background-color: #424242;
    min-height: 200px;
    color: #9e9a91;
    padding-top: 15px;
    padding-bottom: 10px;
    line-height: 1;
}


/* конец ШАПКА ПОДВАЛА конец */


/* начало стр. ДЛЯ ДИЗАЙНЕРОВ начало */


.blocl-advantages-for-designers{
    margin-top: 25px;
    border-bottom: 1px solid #c79a70;
    padding-bottom: 30px;
}

.welcome-banner{
  background-attachment: fixed;
  background-size: cover;
  color: white;
  height: 450px;
  display: grid;

  align-items: center;
}

.block-separator{
    background-color: #424242;
    color: #fff;
    text-align: center;
    padding-top: 7px;
    font-size: 25px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-family: "CenturygothicBold";
}

.description-block{
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.title-description-block{
    background-color: #c79a70;
    padding: 0px 7px 1px 7px;
}


.baner-text{
    background-color: #fff;
    color: black;
    opacity: 0.8;
    height: 65px;
    text-align: center;
    padding-top: 10px;
    font-weight: 600

}

.project{
    text-decoration: none;
    position: relative;
}


.project:hover .project-hover{
    transform: translateX(0);
    opacity: 1;
}


.project_content{
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  max-height: 350px;

}

.project-hover {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    gap: 20px;
    background-color: #fff;
    width: 100%;
    transform: translateY(100%);
    transition: .8s;
    opacity: 0;
    border-radius: 5px;
  }



.project-hover-container{
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-hover-top{
    display: flex;
  gap: 20px;
}

.project-hover-middle {
    display: flex;
    gap: 48px;
}

.project-hover-bottom span{
    font-size: 15px;
    line-height: 142%;

}

.link-our-works-details{
    color: #263238;
    text-decoration: none;

}

/* конец стр. ДЛЯ ДИЗАЙНЕРОВ конец */




.input-file {
	position: relative;
	display: inline-block;

}

.input-file-btn {
	position: relative;
	display: inline-block;
	cursor: pointer;
	outline: none;
	text-decoration: none;
	font-size: 14px;
	vertical-align: middle;
	color: rgb(255 255 255);
	text-align: center;
	border-radius: 4px;
	background-color: #c79a70;
	line-height: 22px;
	height: 40px;
	padding: 10px 20px;
	box-sizing: border-box;
	border: none;
	margin: 0;
	transition: background-color 0.2s;

}

.input-file-text {
	padding: 0 10px;
	line-height: 40px;
	display: inline-block;

}

.input-file input[type=file] {
	position: absolute;
	z-index: -1;
	opacity: 0;
	display: block;
	width: 0;
	height: 0;

}


/*---СЛАЙДЕР НАЧАЛО---*/

.slider {
    position: relative;
    padding: 0px 0px;
   
}

/* стрелки */
.slider .slick-arrow{
    position: absolute;
    top:50%;
    z-index: 10;
    font-size: 0;
    width: 40px;
    height: 40px;
    margin-top: -50px;
    padding: 0;
    border: none;
}

/* Не активная стрелка (слайдер дошел до  конца и нет бесконечности)*/
.slider .slick-arrow.slick-disabled{
    opacity: 0.2 ;
}

.slider .slick-arrow.slick-prev{
    left: 0;
    background: url('/images/left-arrow.png') 0 0 / 100% no-repeat;
}

.slider .slick-arrow.slick-next{
    right: 0;
    background: url('/images/right-arrow.png') 0 0 / 100% no-repeat;
}

/* кнопки */
.slider .slick-dots{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.slider .slick-dots li{
    list-style: none;
    margin: 0px 10px;
}


.slider .slick-dots button{
    font-size: 0;
    width: 15px;
    height: 15px;
  //  background-color: #bbb6b6;
    margin: 0px 10px;
    padding: 0;
    border-radius: 50%;

}


.slider .slick-dots li.slick-active button{
    background-color: #c79e6e;
}




.background-dark{
    position: absolute;
    width:100%;
    height:100%;
}

.about-description{
    position: absolute;
    color: #fff;
    z-index: 11;
    width: 250px;
    top: 20%;
    margin-left: 25rem;

    padding: 6px;
    

}


.slick-active{
    z-index: 999;
}

.slick-active img{

}


.slick-track{
    display: flex;
    align-items: flex-start;
}

.slick-list{
   overflow: hidden;
}


.slider_item{
    text-align: center;
}

.slider_item.slick-center{
    height: 120%;
}


/*----СЛАЙДЕР КОНЕЦ---*/

.p-2{
    border-bottom: 2px solid red;
}

 

/* Focus */

.input-file input[type=file]:focus + .input-file-btn {

	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);

}

 

/* Hover/active */

.input-file:hover .input-file-btn {

	background-color: #dfb690;

}

.input-file:active .input-file-btn {

	background-color: #be8a5a;

}

 

/* Disabled */

.input-file input[type=file]:disabled + .input-file-btn {

	background-color: #eee;

}

@media(max-width: 920px) {
   
    .block-main-slider-2{
        min-height: 400px;
    }
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }

    .block-main-slider-2{
        min-height: 300px;
    }
}


@media screen and (max-width: 580px) {
    .block-main-slider-2{
        min-height: 200px;
    }

    #title-before-footer{
        height: 60px;
        padding: 5px;
    }

    #footer {
        padding-left: 20px;
    }
}


.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}