section h2{
    border-bottom: solid 2px #1A2236;
    color: #1A2236;
    clear: both;
    display: table;
    font-size: 40px;
    font-weight: 700;
    float: left;
    line-height: 60px;
    padding-bottom: 5px;
    margin-left: 15px;
    margin-bottom: 25px;
}

.innerBlock{
    background: #fff;
    border: solid 1px #EDF1F6;
    border-radius: 0px 0px 10px 10px;
    -webkit-border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    -ms-border-radius: 0px 0px 10px 10px;
    -o-border-radius: 0px 0px 10px 10px;
    height: 300px;
    margin-bottom: 40px;
}

.allBlock header{
    border-radius: 7px 7px 0px 0px;
    padding: 0;
    -webkit-border-radius: 7px 7px 0px 0px;
    -moz-border-radius: 7px 7px 0px 0px;
    -ms-border-radius: 7px 7px 0px 0px;
    -o-border-radius: 7px 7px 0px 0px;
}

.allBlock:nth-child(1n+1) header{
    border-top: solid 5px #FAC842;
}

.allBlock:nth-child(2n+1) header{
    border-top: solid 5px #FE8C35;
}

.allBlock:nth-child(3n+1) header{
    border-top: solid 5px #F14A85;
}

.allBlock:nth-child(4n+1) header{
    border-top: solid 5px #89BC37;
}
.allBlock:nth-child(5n+1) header{
    border-top: solid 5px #B538E7;
}
.allBlock:nth-child(6n+1) header{
    border-top: solid 5px #F31B1B;
}
.allBlock:nth-child(7n+1) header{
    border-top: solid 5px #FF3F3F;
}
.allBlock:nth-child(8n+1) header{
    border-top: solid 5px #31F7ED;
}

.allBlock .blockImage{
    background: #EDF1F6;
    clear: both;
    padding: 10px;
    height: 200px;
    width: 100%;
}

.allBlock .blockImage img{
    background: #fff;
    display: block;
    margin: 0 auto;
    height: 100%;
}

.allBlock a .nameBlock{
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    height: 50px;
}

.allBlock a{
    color: #1A2236 !important;
    display: block;
    text-decoration: none !important;
    outline: none !important;
    opacity: 0.8;
    padding:10px 20px 0px 20px;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.allBlock a:hover{
    opacity: 1 !important;
}