a{
    color: #53D7FF;
}
a:hover{
    color:#4e8fa8;
}
.header-section{
    position: relative;
    padding:180px 0 20px 0; 
}
.primary-wrap figure{
    position: relative;
}
.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(4, 12, 15, 0.4);
}
.header-section .overlay,
.aboutVideo-wrap .overlay,
.primary-wrap figure .overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(4, 12, 15, 0.3);
}
.header-section .overlay{
    background: #040c0f; /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(4, 12, 15, 0.2) 0%, rgba(4, 12, 15, 0.6) 37%,rgba(4, 12, 15, 1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(4, 12, 15, 0.2) 0%, rgba(4, 12, 15, 0.6) 37%,rgba(4, 12, 15, 1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(4, 12, 15, 0.2) 0%, rgba(4, 12, 15, 0.6) 37%,rgba(4, 12, 15, 1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#040c0f', endColorstr='#040c0f',GradientType=0 ); /* IE6-9 */
}
.header-section h2,
.modal-body h2{
    margin-bottom: 0;
    padding-bottom: 20px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    /*border-bottom: 0.5px solid rgba(218, 226, 232,0.5);*/

}
@media(min-width: 1024px) {
    .header-section {
        padding: 300px 0 20px 0;
    }
}
@media (max-width: 767px) {
    .header-section {
        padding: 100px 0 20px 0;
    }
}
/*for the heading of inner page*/
/*====================starts the breadcrumb====================*/
.header-section .breadcrumb {
    padding: 0;
    background-color: transparent; 
    border-radius: 0;

}
.header-section .breadcrumb a{
    color: #dae2e8; 
}
.header-section .breadcrumb a:hover, .header-section .breadcrumb li.active a{
    color:#4e8fa8;
}
/*.header-section .breadcrumb>li+li a{
    color:#53D7FF;
}
.header-section .breadcrumb>li:nth-child(2) a{
    color:#dae2e8;
}*/
.header-section .breadcrumb>li+li:before {
    content:"»";
    color: rgba(218, 226, 232,0.5);
}
/*====================ends the breadcrumb====================*/
/*=====================starts the description text on every inner page=====================*/
.primary-wrap{
    padding: 50px 0;
    color: #dae2e8;
    font-size:14px;
}

.primary-wrap  a{
    display: inline-block;
    /*	margin: 30px 0 0 0;*/
    color:#53D7FF;

}
.primary-wrap  a:hover{
    color:#4e8fa8;
}
/*=====================ends the description text on every inner page=====================*/
.description{
    padding: 20px 25px;

}
.description h2{
    color:#dae2e8;
    font-size:20px;
    font-weight: 600;
}
/*=====================ends the description text on every inner page=====================*/

/*======================for the gallery view======================*/
.gallery-grid {
    /* height: 280px; */
    display: block !important;
    position: relative;
    margin: 0 0 30px 0;
    padding: 11px;
    overflow: hidden;
    border: 9px solid #ffffff;
    background-color: #f8f8f8;
    box-shadow: inset 0px 2px 9px 0 rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.gallery-grid.gallery-link-wrap{
    height: auto;
}
.gallery-grid:after {
    width: 100%;
    height: 0;
    position: absolute;
    display: none;
    bottom: 0;
    left: 0;
    content: "";
    background-color: #3eaac3;
    transition: all 300ms ease 0s;
}
.gallery-grid:hover:after {
    height: 10px;
}
.gallery-grid figure {
    width: 100%;
    height: 100%;
    background-size: cover;
    overflow: hidden;
}
.gallery-grid figure .overlay {
    transition: all 300ms ease 0s;
}
.gallery-grid:hover figure .overlay{
    background-color: rgba(0,0,0,0.65);
}

.gallery-grid figure img{
    width: 100%;
    transform: scale(1);
    transition: 1000ms ease all;
}
/*.gallery-grid figure:hover img {
    transform: scale(1.1);
}*/
.gallery-grid .description{
    position: absolute;
    bottom: 30px;
    left: 0;
    transition: all 300ms ease 0s;
}
.gallery-grid:hover .description{
    bottom: 0;
}
.gallery-grid .description h2{
    width: 75%;
    margin-bottom: 5px;
    transition:200ms ease all;
}
.gallery-grid:hover .description h2{
    /*width:100%;
    font-size:14px;
    white-space: no-wrap;*/
}
.gallery-grid span{
    color: #53D7FF;
    font-size: 12px;
} 

@media(max-width: 767px) {
    .gallery-grid {
        padding: 5px;
        border: 5px solid #ffffff;
    }
}
/*======================for the gallery view======================*/

/*======================for the masionary view======================*/
.massion-wrap {
    column-count: 1;
    column-gap: 0;
    margin: 0px;
}  

.masonary-grid{
    position: relative;
    margin: 0 0 30px 0;
    float: left;
}
.masonary-grid > * {
    display: inline-block;
}
.masonary-grid figure{
    position: relative;
    width:  100%;
}
.masonary-grid figure img{
    width: 100%;
}
.massion-wrap .masonary-grid img{
    display: inline-block;
    margin-bottom: 0px;
    width: 100%;
}
.masonary-grid .description{
    display: inline-block;
    /*display: block;*/
        width: 100%;
    background-color: #0a1c23;
    overflow: hidden;
}
.pagination-lg>li>a, .pagination-lg>li>span {
    padding: 6px 16px;
}
@media (min-width: 768px) {
    .massion-wrap {
        column-count: 2;
        column-gap: 20px;
    }   
}
@media (min-width: 1024px) {
    .massion-wrap {
        column-count: 3;
        column-gap: 30px;
        margin:  0 0 30px 0;
    }
}
/*======================for the masionary view======================*/
