﻿
body {
    background: #F5F5F5;
}

.blue-font {
    color: #0d467d;
}

.deep-gray {
    color: #676767;
}

.fw-bold{
    font-weight:bold;
}

.bg-white {
    background: white;
}

.border-0 {
    border: 0;
}

.owl-carousel {
    padding-left: 50px;
    padding-right: 50px;
    background: #F5F5F5;
}

    .owl-carousel h1 {
        font-weight:bold;
        font-size:28px;
    }
    .owl-carousel p {
        font-size: 16px;
        line-height: 25px;
        letter-spacing: 1px;
    }
    .owl-stage-outer {
        margin-bottom: 10px;
    }

.owl-nav {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
}

.owl-prev, .owl-next {
    position: absolute;
    height: 100px;
    color: inherit;
    background: none;
    border: none;
    z-index: 100;
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

.carousel-image {    
    max-height: 350px;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    background-repeat: no-repeat;
}

.p-main .fa {
    vertical-align: unset;
}

.p-main {
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    background: white;
    padding: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.hr {
    height: 1px;
    background-color: #D6D6D6;
    width: 85%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
}

.search-p{
    padding-left: 20px;
    margin-bottom: 10px;
}

.side-title {
    display: flex;
    justify-content: space-between;
    list-style: none;
    align-items: center;
    padding-right: 40px;
    padding-left: 20px;
}

    .side-title h4 {
        font-weight: bold;
    }

    .side-title i {
        cursor: pointer;
    }


.c-active {
    background: #ECECEC;  
}

.flex-section {
    display: flex;
    flex-wrap: wrap;
}

.h-100 {
    height: 100%;
}

.card-img {
    height: 150px;    
    display: block;
    position:relative;    
}

.card-img img {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    max-height:100%;
    width:auto;
}

.no-img {
    background: #364457;      
    color:white;
    transition:all .2s;
}
    .no-img:hover {
        font-weight: bold;
        color:white;
        font-size:15px;
    }
    .no-img p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);       
        letter-spacing:1px;
    }

     

        .card-img > i {
            position: absolute;
            opacity: 0.7;
            color: white;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: opacity 0.3s;
        } 
        .card-i {
            position: absolute;
            opacity: 0.7;
            color: white;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: opacity 0.3s;
        } 

.card-img:hover > i {
    opacity: 1;    
}
.card-i:hover {
    opacity: 1;    
}

.carousel-height {
    height: 40vh;
}


    .list-style-none {
        list-style: none;
    }

.tag-menu  a {
    display: block;
    padding: 7px;
    background: #ECECEC;
    text-align: center;
    color: black;
    cursor: pointer;
}

    .tag-menu a:hover {
        background-color: #5FA2DB;
        color: white;
    }

    .tag-menu a.t-active {
        background-color: #5FA2DB;
        color: white;
    }

.card-tags li a {
    width: 90px;
    font-size: 13px;
}

.sticky-menu {
    position: sticky;
    top: 25px;
}

@media (max-width : 767px) {
    .owl-carousel h1 {
        font-size: 20px;
    }
    
   
        .topic-section a, .fa {
            font-size: 14px;
        }  

    .carousel-height {
        height: 30vh;
    }

    .side-title, .search-p{
        padding-left:25px;
    }

    .side-title h3{
        font-size:20px;
    }

    .p-main{
        margin-top:25px;
        padding:unset;
    }

    .p-list-card{
        margin:auto;
    }   
}

@media (min-width:768px) and (max-width:1024px){
    .card-img {
        height: 200px;
    }

    .carousel-height {
        height: 24vh;
    }

    .carousel-intro{
        padding:60px !important;
    }   
}
