
/*Layout section*/
.ttm-thumb-box  {
    padding: 0;
    margin: 0 auto;
    display: block;
    margin: 15px 0;
    position: relative;
    text-align: center;
}
.ttm-thumb-box .ttm-thumb-box-inner{
    position: relative;
    margin-bottom: 30px;
    padding: 7px ;
    background-color: #fff;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    -moz-transition: 0.4s;
    transition: 0.4s;
    border-radius: 3px;
    -webkit-box-shadow: 3px 5px 15px 0 rgba(0,0,0,.05) !important;
    -moz-box-shadow: 3px 5px 15px 0 rgba(0,0,0,.05) !important;
    box-shadow: 3px 5px 15px 0 rgba(0,0,0,.10) !important;
}
.ttm-thumb-box-inner img { width: 100%; }

.ttm-thumb-box .ttm-thumb-box-inner:before {
    content: '';
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    border-radius: 3px;
    background: rgb(52, 60, 92, 0.87);
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
}
.ttm-thumb-box:hover .ttm-thumb-box-inner:before {
    opacity: 1;
}
.ttm-thumb-box .ttm-thumb-box-inner:hover {
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    transform: translateY(-3px);
}
.ttm-thumb-box-title{
    font-family: "Amiri",Arial,Helvetica,sans-serif;
    font-weight: 700;
    font-size: 21px;
    margin-top: 25px;
    line-height: 30px;
    color: #223645;
}
.ttm-thumb-box .inside{
    color: #fff;
    width: 100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: all 0.3s ease 0.1s;
}
.ttm-thumb-box:hover .inside {
    opacity: 1;
    filter: blur(0);
}
.ttm-thumb-box .button {
    background-color: #e12454;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    margin: 0;
    list-style: none;
    opacity: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    transition: all 0.4s ease;
}
.ttm-thumb-box:hover .button{ opacity: 1; }
.ttm-thumb-box .button:hover{
    background-color: #000;
    color: #fff; 
}
.ttm-thumb-box .ttm-thumb-box-inner h3 {
    text-align: center;
    font-size: 20px;
    line-height: 1;
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
    margin: 0;
}
.ttm-thumb-box .ttm-thumb-box-inner h3 span {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}
.ttm-thumb-box .ttm-thumb-box-inner h3 a {
    padding: 10px 25px;
    border-radius: 3px;
    border: solid 1px #e12454;
    border-radius: 3px;
    background: #e12454;
    font-weight: 600;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    text-transform: uppercase;
}
.ttm-thumb-box h3 a:hover {
    background: #fff;
    color: #223645;
    border-color: #fff;
}

.ttm-list.ttm-list-style-icon.ttm-liststyle-two li {
    font-weight: 600;
    font-size: 19px;
    padding-bottom: 12px;
}
.ttm-list.ttm-list-style-icon.ttm-liststyle-two .ttm-list-li-content {
    padding-left: 30px;
}

.site-content .ttm-col-bgcolor-darkgrey.ttm-col-bgimage-yes .ttm-bg-layer-inner,
.site-content .ttm-bgcolor-darkgrey.ttm-bg.ttm-bgimage-yes>.ttm-bg-layer {
    opacity: .80;
}
.margin-overlay { margin-top: -550px; margin-bottom: -50px; }

@media (max-width: 1130px)  {

    .margin-overlay { margin-top: -340px; }
}
@media (max-width: 1024px)  {

    .margin-overlay { margin-top: -300px; }
}
@media (max-width: 900px)  {

    .margin-overlay { margin-top: -280px; }
}
@media (max-width: 777px)  {

    .margin-overlay { margin-top: 50px; }
}
