/*
	Theme Name: CfDS Wordpress Theme
	Theme URI: https://gitlab.com/digital-intelligence-lab/cfds-wp-theme
	Description: CfDS Wordpress Theme based on CfDS website Laravel 4 implementation
	Version: 1.1.5
	Author: Digital Intelligence Lab CfDS
	Author URI: https://gitlab.com/digital-intelligence-lab
	Tags: Blank

	License: NaN
	License URI: NaN
*/

/* ==================================================== */
.cke_button__buttonlink_label.cke_button_label{
    display:inline !important;
}

.active .nav-link {
    color: #db214c !important;
    font-weight: bold;
}

.nav-link:hover {
    color: #db214c !important;
}

.wrapper {
    margin-bottom: 3rem;
}
/* Carousel */
#carouselNews .carousel-item {
    height: 375px;
    max-height: 450px;
    background: no-repeat center;
    background-size: cover;
}

/* Article */

.content .news-date {
    color: #666666;
    font-weight: 100;
    font-size: 0.8rem;
}

.content .news-desc {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.news-photo-content {
    height: 350px;
    margin-bottom: 1rem;
}

.news-content {
    margin-top: 2rem;
}



/* Card news */
.card .card-text, p {
    font-size: 0.8rem;
}

.card .card-title {
    margin-bottom: 0;
}

.card .card-text-small {
    font-size: 0.8rem;
}

.card-block {
    margin: 0.5rem 1rem;
}

.card {
    box-sizing: content-box;
    margin-left: 0.7rem !important;
    margin-right: 0.7rem !important;
}

.news-card {
    margin-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
}

.full-height {
    min-height: 80vh;
}

/* Recent News */
.recent-news-header {
    background: #0F93CE;
    font-size: 1.4rem;
    color: #FFFFFF;
    border: none;
}

.recent-news-item {
    display: flex;
    font-size: 0.8rem;
    align-items: center;
}

.recent-number {
    font-size: 1.5rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    text-align: center;
    border-radius: 100%;
}

.recent-title {
    padding-left: 1rem;
}

.search-sidebar {
    margin-top: 1rem;
}

/* Small Dvc */
@media (max-width: 768px) {
    .video iframe {
        height: auto;
        width: 100%;
    }

    .video {
        background-color: #000;
    }

    .team-label, .whatdo-header {
        border: none;
    }

    .row > .news-desc, .row > .news-title {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .news-item + .news-item {
        margin-top: 2rem;
    }

    .nav-item {
        margin-top: 2px;
    }

    .search-header {
        margin-left: 0;
    }
	
    .stat-content{
        display:flex;
        padding: 0 5rem;
        justify-content: center;
        width: 50%;
    } 
    .stat-value li {
        padding-top: 1.5rem;
        display: grid;
    }

    #menu-social-media{
        display: contents;
    }

    #menu-social-media > li{
        margin: 0.5rem;
    }
    #carouselNews .carousel-item {
    	height: 200px;
	}

	.carousel-item > a > img {
		height: 175px;
  		max-height: 200px;
  		object-fit: fill;
	}
}

/* Pagination */
.navigation {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-around;
}
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff;
    text-decoration:none;
}
 
.navigation li {
    display: inline;
}
 
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: #0F93CE;
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}
 
.navigation li a:hover,
.navigation li.active a {
    background-color: #0F93CE;
}

/* Footer */
.contact {
	font-size: 0;
}

.contact i {
	font-size: initial;
}

.bg-blue {
    background-color: #0F93CE;
}

.bg-darkblue {
    background-color: #007CC3;
}

.bg-grey {
	background-color: #e9ecef;
}

div .justify {
	text-align: justify;
	text-justify: inter-word;
}

/* Parallax */

.parallax {
	height: 20em;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.parallax-news {
    background-image: url('img/news.jpg');
	height: 5em;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.parallax-whatwedo {
	background-image: url('img/whatwedo.jpg');

	height: 20em;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.parallax-time {
	background-image: url('img/time.jpg');
    
	height: 20em;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.stat-counter {
	background-image: url('img/whatwedo.jpg');
    
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
}

.event-timeline {
    background-image: url('img/time.jpg');
	height: 5em;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
}

/* Team */
.card-catalog {
    cursor: pointer;
}

.card-catalog-group {
    margin-bottom: 1rem;
}

.card{
    border:1px solid #CCCCCC !important;
    border-radius:0.5rem !important;
}

.team {
    margin: 0;
    min-height: 18rem;
}

/* Subscription box */

.ig_es_form_field_name{
    width: 20em;
    border: 2px #0F93CE;
}

.ig_es_form_field_email{
    width: 20em;
    border: 2px #0F93CE;
}

.es_submit_button{
    border: 2px #0F93CE;
    background-color:#dae0e5;
    border-radius: 0.2em;
    color: #212529;
    font-weight: lighter;
    
    
}

/* Utilities */

/* Stat Counter */

.stat-header {
    border-right: 1px #fff solid;
    font-weight: bolder;
    align-items: center;
    justify-content: center;
}

.stat-image{
    text-align: center;
}

.stat-image > img {
    width: 6rem;
    height: 6rem;
}

.stat-label {
    font-size: 1rem;
    text-align: center;
    color: #FFFFFF;
}

.stat-value {
    list-style-type: none;
    justify-content: space-around;
}

.stat-value li a {
    color: #FFFFFF;
}

.stat-partner {
	margin-left: 0.65rem;
}

.stat-events {
	margin-left: 1rem;
}

/* What We Do */
.what-we-do {
    border-bottom: #007cc3 9px solid;
}

.wwd {
    width: 6rem; 
    height: 6rem;
	font-size: 1rem;
    text-align: center;
    display:inline-block;
}

.wwd-header {
    border-left: 1px #fff solid;
    font-weight: bolder;
    align-items: center;
    justify-content: center;
}

.wwd-image{
    text-align: center;
}

.wwd-image img {
    width: 6rem;
    
}

.wwd-value {
    list-style-type: none;
    justify-content: space-around;
}

.wwd-value li a{
    color: #FFFFFF;
}

.wwd-research {
    background-image: url('img/research.svg');
    background-repeat: no-repeat;
    padding-top: 6rem;
}

.wwd-event {
    background-image: url('img/event.svg');
    background-repeat: no-repeat;
    padding-top: 6rem;
}

.wwd-partnership {
    background-image: url('img/partnership.svg');
    background-repeat: no-repeat;
    padding-top: 6rem;
}

.post-image > img {
    display: block;
    margin: 0 auto;
    object-fit: cover;
    width: 100%;
    max-height: 450px;
}

.thumbnail-category > img{
    object-fit: cover;
    height: 300px;
    max-width: 100%;
    margin: 0 auto;
}

.latest-news{
    margin: auto 0;
}

.latest-news > img {
    object-fit: cover;
    height: 100px;
    width: 100%;
}

.latest-news-first > img {
    object-fit: cover;
    height: 300px;
    width: 100%;
}

.logo-2 {
    align-self: center;
}