/* *{-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;-o-user-select: none;user-select: none; } */
.body-bg-1{background-color: #f1f1f1 !important;}
.body-bg-2{background-color: #f3e8cc !important;}
.body-bg-3{background-color: #d7cbac !important;}
#top-header {background-image: url('../images/BG-1.jpg');/* font-family: 'Merienda', cursive; */}
#top-header .logo{-webkit-transition: all .2s ease-in-out;-o-transition: all .2s ease-in-out;transition: all .2s ease-in-out;}
.navbar {/* font-family: 'Merienda', cursive; */}
.navbar-bg{background: maroon;background-image: url(../images/BG-2.jpg);}
.b-divider {height: 3rem;border: solid rgba(0, 0, 0, .15);border-width: 1px 0;box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);/* background-color: rgba(0, 0, 0, .1); */}
.b-title {font-size: 40px;font-weight: bold;text-transform: uppercase;color: #2d4574;text-align: center;padding-top: 30px;padding-bottom: 78px;margin-bottom: -30px;}
.b-title:after{content: "";width: 100%;height: 38px;float: left;background-image: url(../images/sprite.png);background-size: auto;background-position: top -50px center;}
.b-sub-title{font-size: 14px;font-weight: bold;color: #2d4574;}
#gotoTop {display: none;position: fixed;bottom: 20px;right: 30px;z-index: 1030;font-size: 18px;border: none;outline: none;/* background-color: #2d4574; */background-color: maroon;border: 1px solid #e6af1c;color: white;cursor: pointer;padding: 15px;border-radius: 4px;    }
#gotoTop:hover {background-color: #555;}
.b-bottom{width: 100%;height: 30px;}
/* .b-bottom::after{
    content: "";
    padding-bottom: 30px;
} */
#about, #related {}
#related ul > li{list-style: none;}
#related ul > li a{color: #2d4574;text-decoration: none;}
#social{padding-top: 10px;}
#social ul {display: block;text-align: center;margin: 0;padding: 0;}
#social ul li {display: inline-block;list-style: none;}
#social a {font-size: 10px;text-decoration: none;color: white;font-family: Roboto, sans-serif;}
#social a:hover,#social a:focus {
    /* border: 1px solid #999; */
    -webkit-box-shadow: 0 5px 5px -5px #999;
       -moz-box-shadow: 0 5px 5px -5px #999;
            box-shadow: 0 5px 5px -5px #999;
}
#social a.facebook {background-color: #3b5998;}
#social a.twitter {background-color: #55acee;}
#social a.linkedin {background-color: #007bb6;}
#social a.whatsapp {background-color: #34af23;}
#location a:hover,#location a:focus {    
    -webkit-box-shadow: 0 5px 5px -5px #999;
       -moz-box-shadow: 0 5px 5px -5px #999;
            box-shadow: 0 5px 5px -5px #999;
}
#footer {background: maroon;background-image: url(../images/BG-2.jpg);   font-size: 14px;color: #fff;padding: 20px 0px;border-bottom: 10px solid #e6af1c;}
#gallery {}
#gallery .filter-button {background-color: maroon;color: white;}
#gallery .active {background-color: #2d4574;} 
#gallery .card {/*max-height: 200px;overflow: hidden;*/}
.fancybox__caption{font-family: 'Merienda', cursive;color: white; max-width: 980px;}
.fancybox__caption .social-fix  {padding: 0px !important;text-decoration: none;}
.tree {}
.tree>li:first-child {background-position: 0px 0px;}
.tree li{margin: 0;margin-left: -10px;list-style: none;list-style-image: none;padding: 6px 0 3px 35px;background: url("../images/branch_main.png") 0px 0px no-repeat;background-position: 0px -15000px; font-weight: 600;}
.tree li p {margin-bottom: 1px; font-weight: 100;}
.tree li p:last-child {margin-bottom: 5px;}
.person {color: #800000;font-weight: 700;}
.old_map_left {
    margin-top: 88px;
    margin-right: 50px;
}
.old_map_left img {
    float: right;
}
.old_map_left_text{
    text-align: right;padding-right: 65px;
}
.old_map_right {
    margin-top: 88px;
    margin-left: 50px;
}
.old_map_right img{
    float: left;
}
.old_map_right_text{
    text-align: left;padding-left: 85px;
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    #social ul li {
        display: block;
        list-style: none;
    } 
    #social a {    
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }
    .tag-line{
        font-size: 10px;
    }
    .old_map, .img_fix_small{
        max-width: 500px;
        width: 100%;
    }

    p.px-4.text-center.h3{font-size: 14px;}
    h1.b-title {font-size: 14px;}
}


/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
}

/*Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
   
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
}

/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    .old_map_left {
        margin: 0 auto;
        margin-top: 0;
        text-align: center;
    }
    .old_map_left_text{
        text-align:center;padding-right: 0;
    }
    .old_map_right {
        margin: 0 auto;
        margin-top: 0;
        text-align: center;
    }
    .old_map_right_text{
        text-align: center;padding-left: 0;
    }
    .old_map_right img,  .old_map_left img{ 
        float: none;
    }
    .hidden-sm ,.hidden-md {
        display: none;
    }
    .tree{
        padding-left:0px;
        font-size: 10px;
    }

    .tree ul{
        padding-left:0px;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
}


/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
}

/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
}

.img-dic {
    max-height: 400px;
    overflow: hidden;
}

/* .y-fix{
    max-height: 500px;
    overflow: hidden;
}

.card-img-overlay{
    background-color: white;
    color: black;
    position: absolute;
    bottom: 0;
}

.row.g-0 .card-overlay {
    position: absolute;
    bottom: 0;
    background-color: white;
    color: black;
    font-size: small;
    max-height: 125px;
    overflow: hidden;
} */

.img-b-fix{
    max-height: 300px;
    overflow: hidden;
    height: 300px;
    /* background-image: url(../images/gallery/10001.jpeg);
    background-position: center;
    background-size: cover;
    z-index: 1; */
}

#gallery .card  .card-text{
    /* overflow: hidden; */
    /* height: 30px; */
}

.ce-text {
    font-size: 10px;
    font-weight: 100;
}

a.nav-link, a.nav-link:hover{
    text-decoration: none;
    color: white;
}