*{
    margin: 0;
    padding: 0;
}
a:hover{
    text-decoration: none;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 20px 80px;
    background: #f4edf8;
}
header .logo{
    display: flex;
    align-items: center;
}
.breadcrumb_block{
    padding-left: 50px;
    background-color: #e9ecef;
}
.breadcrumb li{
    margin-right: 20px;
    position: relative;
}
.breadcrumb li::after{
    content: '>';
    position: absolute;
    right: -15px;
    top: 0px;
    font-weight: bold;
}
.breadcrumb li a span{
    color: #2b2b64;
    font-weight: bold;
}
.breadcrumb li span{
    font-weight: bold;
    color: #a29e9e;
}
.card-img-top{
    height: 200px;
    object-fit: cover;
}

.breadcrumb li:last-child::after{
    display: none;
}
.page-title{
    text-align: center;
    color: #2b2b64;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 26px;
}
.publications.grid{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}
.publications.grid .card{
    width: calc(100% / 5 - 30px);
    margin-right: 30px;
}
.publications.grid .card:first-child{
    margin-left: 15px;
}
.publications.grid .card:nth-child(5n){
    margin-right: 0;
}
header .logo h2{
    font-size: 18px;
    font-weight: bold;
    width: 250px;
    margin-left: 10px;
    text-align: center;
    margin-bottom: 0;
    color: #000;
}
header .logo img{
    width: 100px;
}
address{
    margin-bottom: 0;
    text-align: center;
}
address p{
    color: #000;
}
header .contact{
    padding: 5px 30px;
    background-image: url(../img/iconMic.png);
    background-repeat: no-repeat;
    background-position: left center;
    color: #000;
    font-weight: bold;
}
.helpline{
    padding: 5px 40px;
    background-image: url(../img/iconPhone.png);
    background-repeat: no-repeat;
    background-position: left center;
    color: #000;
    display: flex;
    background-size: 30px;
    flex-direction: column;
    align-items: center;
}
.helpline a{
    color: #000;
    font-weight: bold;
    font-size: 20px;
}
.mailHeaderBlock{
    padding: 5px 40px;
    background-image: url(../img/mailblack.png);
    background-position: left 15px;
    background-repeat: no-repeat;
}
.addressHeaderBlock{
    padding: 5px 40px;
    background-image: url(../img/location-pin.png);
    background-position: left center;
    background-repeat: no-repeat;
}
.main-content{
    min-height: 400px;
}
nav.nav{
    background-color: #606094;
    padding: 0 0 0 30px;
}
nav.nav > ul{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
}
nav.nav ul li .dropdown-menu li a{
    color: #606094;
}
nav.nav ul li .dropdown-menu li a:hover{
    color: #fff;
}
.dropdown-menu{
    padding: 0;
    width: 130%;
}
nav.nav ul li {
    list-style: none;
}
nav.nav ul li a{
    color: #fff;
    font-weight: bold;
    padding: 15px 20px;
    display: block;
}
nav.nav ul li a:hover{
    background-color: #2b2b64;
    text-decoration: none;
}
nav.nav ul li.search{
    width: 50px;
    height: 100%;
    margin-left: auto;
    background-image: url(../img/spritesheet.png);
    background-position: -22px -4358px;
    cursor: pointer;
    background-color: #2b2b64;
}
.newsBlock{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 30px;
}
.newsBlock .card{
    width: calc(100% / 5 - 30px);
    margin-right: 15px;
    margin-left: 15px;
    transition: .5s;
}
.newsBlock .card:hover{
    box-shadow: 0px 2px 6px rgba(0,0,0,0.6);
}
.carousel-fade .carousel-item,
.carousel-inner{
    max-height: 450px;
}
.title{
    text-align: center;
    font-weight: bold;
    margin-top: 30px;
    text-transform: uppercase;
    position: relative;
    padding: 0 30px;
}
.title a{
    position: absolute;
    right: 80px;
    top: 10px;
    color: #606094;
    text-transform: none;
    font-size: 20px;
}
footer{
    background-color: #606094;
    padding: 40px;
    color: #fff; 
    margin-top: 30px; 
}
.btn-primary{
    border-radius: 0;
    border-color: #5f6093;
    background-color: #5f6093;
}
.form-control:focus{
    border-color: #606094;
    outline: none;
    box-shadow: none;
}
.btn-group.send{
    width: 100%;
    padding: 0 15px;
}
.footer_block{
    background-position: left top;
    background-size: 60px;
    background-repeat: no-repeat;
    border-right: 1px solid #fff;
}
.footer_block:last-child{
    border: none;
}
.footer_block.resurs{
    position: relative;
}
.footer_block.resurs::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(../img/gerb.png);
    background-repeat: no-repeat;
    background-size: 170px;
    background-position: center;
    z-index: 0;
    opacity: .2;
}
.carousel-item:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, 0.2);
}
.ui.green.inverted.segment{
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}
.footer_block.maps li{
    background-repeat: no-repeat;
    background-position: left center;
    list-style: none;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer_block.maps li:nth-child(1){
    background-image: url(../img/mappin.png);
    background-size: 25px;
}
.footer_block.maps li:nth-child(2),
.footer_block.maps li:nth-child(3){
    background-image: url(../img/iconCall.png);
    background-size: 18px;
}
.footer_block.maps li:nth-child(4){
    background-image: url(../img/mail.png);
    background-size: 15px;
}
.footer_block.resurs h5{
    text-align: left;
    padding-left: 60px;
}
.footer_block h5{
    text-align: center;
}
.footer_block ul{
    padding-left: 60px;
    position: relative;
    z-index: 1;
}
.footer_block ul li{
    list-style: none;
}
.footer_block ul li a{
    color: #fff;
}
.tab_content{
    display: flex;
    align-items: center;
}
.errorText{
    border: 1px solid #fff;
    padding: 10px 15px;
    margin-bottom: 15px;
    margin-top: 15px;
    border-radius: 2px; 
}
.errorText .text-danger{
    color: #11356d !important;
}
.tab_content_img{
    width: 201px;
    height: 201px;
    margin-right: 30px;
}
.tab_list li{
    list-style: none;
    width: 50%;
}
.tab_list{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    border: 1px solid #f4f4f4;
    border-top: 3px solid #115185;
    border-bottom-color: transparent;
    background-color: #fff !important;
    color: #2b2b64;
}
.nav-pills .nav-link{
    border: 1px solid #f4f4f4;
    background-color: #f4f4f4;
    border-bottom-color: transparent;
    color: #115185;
}
.tab-content{
    padding: 15px;
    overflow: hidden;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
    background-color: #FFF;
    border: 1px solid #EEE;
    border-top: 0
}
.date{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.date img{
    margin-right: 5px;
}
.image.inner img{
    width: 100%;
    min-height: 400px;
    height: auto;
    margin-bottom: 30px;
    margin-top: 30px;
}
@media (max-width: 1400px){

    .publications.grid .card,
    .newsBlock .card{
        width: calc(100% / 3 - 30px );
        margin-bottom: 30px;
    }
    .newsBlock{
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}
@media (max-width: 1000px){
    .publications.grid .card,
    .newsBlock .card{
        width: calc(100% / 2 - 30px );
        margin-bottom: 30px;
    }
}
@media (max-width: 1000px){
    .footer_block:last-child,
    .footer_block{
        border-right: 1px solid #fff;
        border-left: 1px solid #fff;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer_block.resurs h5{
        text-align: center;
    }
    address{
        display: none;
    }
}
@media (max-width: 780px){
    .contact{
        display: none;
    }
}
@media (max-width: 767px){
    .title a{
        position: relative;
        right: unset;
        top: 5px;
    }
    .title{
        display: flex;
        justify-content: space-between;
    }
}
@media (max-width: 600px){
    header{
        flex-direction: column;
    }
    .publications.grid .card:nth-child(5n),
    .publications.grid .card{
        width: 100%;
        margin-left: 15px;
        margin-right: 15px;
    }
    .newsBlock .card{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    nav.nav{
        padding: 0;
    }
    .carousel-caption{
        display: none;
    }
}
@media (max-width: 550px){
    .table.table-bordred.table-hover{
        display: none;
    }
}
@media (max-width: 500px){
    nav.nav ul li a{
        padding: 15px 5px;
        font-size: 12px;
    }
}
@media (max-width: 480px){
    .title a{
        display: none;
    }
}
@media (max-width: 450px){
    header .logo img{
        width: 60px;
    }
    header .logo h2{
        font-size: 14px;
        width: auto;
    }
    .helpline{
        padding: 0;
        padding-left: 25px;
        background: none;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .helpline a{
         margin-left: 5px;
    }
    .title{
        justify-content: center;
    }
    .newsBlock{
        padding: 15px;
    }

}