.chapter-title{
   /*  font-family: var(--font-sans-bellota);
    font-size: var(--font-sezi-fc); */
    margin-top: 5px;
    margin-bottom: 0;
    
}
/* #piu{
    height: 380px;
} */
#rumba{
     font-size: var(--font-sezi-fc);
}
.chapter-body{
	display: grid;
	align-conten: flex-start;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: auto;
	grid-gap: 5px;
}
.chapter-a{
    grid-area: 1/1/2/6;
}
.chapter-b{
    grid-area: 2/1/3/6;
}
.chapter-min {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 9px;
    /* grid-gap: 10px; */
}
.chapter-card {
    padding: .5rem;
    /* border: solid 1px var(--black); */
    border-radius: 3px;
    height: auto;
}
.card {
    margin-bottom: 0.75rem; 
}
/* 576 */
.card {
    display: inline-block;
    width: 100%; } 

.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem; 
}
.card {
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 30px;
    padding-left: 0;
    padding-right: 0;
    text-decoration: none;
    height: 475px;
}
.project-entry {
    overflow: hidden;
    position: relative;
    display: block; 
}
.project-entry {
    overflow: hidden;
    margin-bottom: 20px; 
}
.project-entry h3 {
    font-size: 18px;
    line-height: 1.3; 
}
.project-entry h3 a {
    color: #000; 
}
.project-entry img {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
.project-entry:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
.d-block {
    display: block !important;
}
.figure {
    display: inline-block; 
}
.img-fluid {
    max-width: 100%;
    height: auto; 
}
.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0.25rem 1.25rem 1.25rem;
    /* width: 278px; */
}
.card-title {
    margin-bottom: 0.75rem; 
}
.card-text {
    padding: 0 20px;
}
.card-text:last-child {
    margin-bottom: 0; 
}
.text-muted {
    color: #adb5bd !important; 
}
.mb-2{
  margin-bottom: 0.5rem !important;
  position: absolute;
  bottom: 0px;
  justify-content: center;
  width: 100%;
}

/* нумерация страниц */
.w3-bar{
    margin-bottom: 20px;
    text-align: center;
}
.w3-bar .pagination {
    display: inline-block;
  }
  
.w3-bar .pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    font-size: 20px;
    font-family: var(--font-sans-bellota);
}
.w3-bar .pagination a:last-of-type{
    padding: 6px 0 0 0;
}
.w3-bar .pagination a:first-of-type{
    padding: 6px 0 0 0;
}
  
.w3-bar .pagination a.active {
    background-color: #24aed8;
    border-radius: 5px;
    color: white;
  }
  
.w3-bar .pagination a:hover:not(.active) {
      background-color: #ddd;
      border-radius: 5px;
}
.icons{
    width: 13px;
     
}
@media (max-width: 1024px){
    .chapter-body{
        display: grid;
        align-conten: flex-start;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        grid-gap: 5px;
    }
    .chapter-min {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 3px;
        /* grid-gap: 10px; */
    }
    .chapter-a{
        grid-area: 1/1/2/4;
    }
    .chapter-b{
        grid-area: 2/1/3/4;
    }
    .chapter-min {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 4px;
        /* grid-gap: 10px; */
    }
}
@media (max-width: 768px){
    .chapter-body{
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2px;
    }
    .chapter-a{
        grid-area: 1/1/2/3;
    }
    .chapter-b{
        grid-area: 2/1/3/3;
    }
    .chapter-min {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 4px;
        /* grid-gap: 10px; */
    }
}
@media (max-width: 450px){
    .chapter-body{
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 2px;
    }
    .chapter-a{
        grid-area: 1/1/2/2;
    }
    .chapter-b{
        grid-area: 2/1/3/2;
    }
    .chapter-min {
        grid-template-columns: repeat(1, 1fr);
        padding: 4px;
        /* grid-gap: 10px; */
    }
}
@media (max-width: 425px){
    .w3-bar .pagination a {
        padding: 4px 12px;
        font-size: 16px;
    }
    .icons{
        width: 20px;
        height: 20px;
    }
    .w3-bar .pagination a:last-of-type{
        padding: 4px 4px 0 0;
    }
    .w3-bar .pagination a:first-of-type{
        padding: 4px 0 0 4px;
    }
}
  
/* pagination */
.mt-3{
	/* margin-top:1rem!important; */
}
.pagination{
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	padding-left: 5px;
	list-style:none;
	border-radius:.25rem
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
  	background-color: #1a7fd3;
	border-color: #1a7fd3;
}
.page-link{border-top-left-radius:5px;border-bottom-left-radius:px}
.disabled .page-link{color:#6c757d;pointer-events:none;cursor:auto;background-color:#fff;border-color:#dee2e6}
.page-link{
	border-top-right-radius:5px;
	border-bottom-right-radius:5px;
}
.pagination .mt-3 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 8vh;
}
.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
  	background-color: #1a7fd3;
	border-color: #1a7fd3;
}

.page-link:hover {
    color:#12568d;;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}	
/* @media (min-width:1200px){.container{max-width:1140px}}
.feet{
	margin-bottom: 20px;
} */
#overlay {background-color: rgba(0, 0, 0, 0.6);z-index: 999;position: fixed;left: 0;top: 0;width: 100%;height: 100%; display: none;}
#overlay div {position:fixed;left:45%;top:45%;margin-top:-32px;margin-left:-32px;}

.img-fluid{
	max-width:100%;
}

.link {padding: 10px 15px;background: transparent;border:#bccfd8 1px solid;border-radius: 5px;border-left:0px;cursor:pointer;color:#607d8bmargin-left:5px; margin-right:5px;border-radius:4px;cursor:pointer;padding:5px 10px;}
.link:hover {background: #dcdcdc linear-gradient(#fff, #dcdcdc);
	box-shadow: 0 0 0 1px #aaa inset, 0 1px 1px #aaa;}
    .link:active {
	background: none;
	  box-shadow: 0 0 0 1px #bbb inset, 0 1px 3px rgba(0,0,0,.5) inset, 0 1px 2px #fff;
  }
.disabled {cursor:not-allowed;color: #bccfd8;}
.current {background: #bccfd8;}
.first{border-left:#bccfd8 1px solid;}
.question {font-weight:bold;}
.answer{padding-top: 10px;}
#pagination{display: flex; padding-left: 5px; padding-bottom: 30px; border-top: #F0F0F0 1px solid;}
.dot {padding: 2px 15px;background: transparent;
/* border-right: #bccfd8 1px solid; */
}
#overlay {background-color: rgba(0, 0, 0, 0.6);z-index: 999;position: absolute;left: 0;top: 0;width: 100%;height: 100%;display: none;}
#overlay div {position:absolute;left:50%;top:50%;margin-top:-32px;margin-left:-32px;}
.page-content {padding: 20px;margin: 0 auto;}
.pagination-setting {padding:10px; margin:5px 0px 10px;border:#bccfd8  1px solid;color:#607d8b;}