/*
	Theme Name: MYDEL
	Theme URI: https://lwegatech.com
	Description: NGO Custom WordPress Theme Built for Mengo Youth Development Link (MYDEL)
	Version: 1.4.3
	Author: Lwegatech
	Author URI: http://lwegatech.com
	Tags: Blank, HTML5, CSS3, wordpress
	Text-domain: mydel

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 15px/1.5 'Rubik', sans-serif;
	color:#444;
	overflow-x: hidden;
}
p{
    font-size: 16px;
    color: #777;
}
p strong {
    font-weight:400;
}
.sogrid__entry__excerpt {
    font-size: 0.8em!important;
}
.sogrid__entry__meta {
    margin: 0 0 0.5em!important; 
}
#poststuff .rt-tpg-container .layout2 .rt-holder .rt-detail h2, #poststuff .rt-tpg-container .layout2 .rt-holder .rt-detail h3, #poststuff .rt-tpg-container .layout2 .rt-holder .rt-detail h4, .rt-tpg-container .layout2 .rt-holder .rt-detail h2, .rt-tpg-container .layout2 .rt-holder .rt-detail h3, .rt-tpg-container .layout2 .rt-holder .rt-detail h4 {
    font-size:1.5rem!important;
}
#wpdmmydls-494353558b601a44428fc9cc0350bba8 .small-txt, #wpdmmydls-494353558b601a44428fc9cc0350bba8 small {
    display: none!important;}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	text-decoration:none;
	color:#d60001;
}
a:hover {
	color:#444;
	text-decoration:none;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1 h2 h3 h4 h5 h6{
    color: #2c4143;
    font-family: 'Fira Sans', sans-serif;
}
li{
    
}
.section-pad{
    padding: 60px 0;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {

}
.header {
    box-shadow: 10px 1px 20px #00000012;

}

/* header */
.top-header{
    background:#060eb7;
    padding:8px 0;
}
.head-text a{
    font-size:14px;
    color:#fff;
    font-weight:700;
}
.head-text-right p{
    margin-right:15px;
}
.head-icons{
    color: #fb0001;
    padding: 0 5px;
    font-size: 24px;
}
.header-btn a {
    background: #ffffff;
    padding: 12px 15px;
    color: #f50000;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}
.about-menu ul {
    list-style:none!important;
    padding-left: 0px!important;
}
.about-menu ul li {
    text-transform: none;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 17px;
    border-left: 4px solid #f50000;
    padding: 5px 15px;    
}
.about-menu ul li a {
    color:#595959;
}
.about-menu ul li a:hover {
    color:#f5f5f5;
}
.about-menu ul li:hover {
    color:#f5f5f5;
    background:#000066;
}
.widget_text {
    margin-bottom:40px;
}
.widget-title h3 {
    font-size: 26px;
    margin-bottom: 15px;
    line-height: 42px;
    color: #000066;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}
.breadcrumb {
    background: rgba(246,244,243,.8);
    color: #484848;
    float: left;
    font-size: 12px;
    height: 32px;
    line-height: 34px;
    width: 100%;
}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item {
    font-family: 'Raleway',sans-serif;
}
.page-title{
    background: linear-gradient(to bottom, rgba(0, 2, 48, 0.5), rgba(0, 2, 48, 0.2)), url(https://mydelink.org/wp-content/uploads/2020/08/mcquilton_academy_1_20170827_1005902229.jpg) center;
    background-size: cover;
    padding: 80px 0 0 0;
    color: #fff;
    position: relative;
}
.page-title h1 {
	font-size: 46px;
	font-weight: 500;
	text-shadow: 4px 4px 4px #000;
}
.post-title {
	background: linear-gradient(to bottom, rgba(0, 2, 48, 0.5), rgba(0, 2, 48, 0.2)), url(https://mydelink.org/wp-content/uploads/2020/08/mcquilton_academy_1_20170827_1005902229.jpg) center;
    background-size: cover;
    color: #fff;
	padding: 40px 0 50px 0;
	position: relative;
}
.post-title h1 {
	font-size: 36px;
	font-weight: 500;
}
.overlay2 {
	position: absolute;
	z-index: 0;
	background: rgba(44,65,67,0.8);
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}

/* Front-Page CTA Section */
.cta-section {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 60px;
    padding-bottom: 50px;
    background-image: linear-gradient(to bottom, rgba(0, 2, 48, 0.5), rgba(0, 2, 48, 0.5)), url(https://mydelink.org/wp-content/uploads/2020/08/Youth-Activists.jpg) !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.cta-section h2 {
    color: #fff;
    font-size: 2em;
    text-shadow: 1px 1px 0 #000;
}
.cta-section h2 span {
    font-size:42px;
    font-weight:700;
}
.wpsm_counterbox .wpsm_count-icon i {
    text-shadow: 0.5px 0.5px 0 #fff!important;
}
.wpsm_counterbox {
    margin:0!important;
}
.wpsm_counterbox .wpsm_count-title {
    margin-top: 10px!important;
    font-family:'Fira sans',sans-serif!important;
    letter-spacing:0px!important;
}
.wpsm_number {
    font-family:'Fira sans',sans-serif!important;
    letter-spacing:0px!important;
    font-weight:700!important;
    font-size:34px!important;
    margin-top:15px!important;
}

/* Frontpage Partners */
.partners{
    padding:40px 0;
}
.lswss-logo-showcase button.slick-arrow {
    width: 25px;
    height: 25px;
    padding: 5px!important;
    position: absolute;
    z-index: 9;
    border: 0px !important;
    border-radius: 0% !important;
    color: #fff;
}
.lswss-logo-showcase button.slick-next{
    background-size: 10px 20px !important;
    box-shadow: none !important;
}
.lswss-logo-showcase button.slick-prev{
    background-size: 10px 20px !important;
    box-shadow: none !important;
}
.slick-list draggable {
    margin:0 15px;
}
.subscribe {
    background-color: #ffffff;
    border-color: #f7f7f7;
    border-width: 0.5px 0.5px 0.5px 0.5px;
    border-radius: 8px 8px 8px 8px;
    color: #efefef;
    min-height: 47px;
    padding: 6px 25px;
    border: 1px solid #efefef;
    vertical-align: middle;
    margin-right: 5px;
}
.subscribe-btn {
    font-weight: 500;
    text-transform: none;
    border-radius: 11px 11px 11px 11px;
    background: #00538a;
    color: #fff;
    width:12%;
}
.subscribe-btn:hover {
    font-weight: 500;
    text-transform: none;
    border-radius: 11px 11px 11px 11px;
    background: rgba(0, 2, 48, 1.0);
    color: #fff;
}
.subscribe-mail {
    width:25%;
}
.subscribe-name {
    width:20%;
}
.tmm .tmm_theme_f .tmm_names {
    font-weight: 500!important;
}
.tmm .tmm_names span, .tmm .tmm_names span.tmm_fname, .tmm .tmm_names span.tmm_lname, .tmm .tmm_names {
    color: #00416a!important;
}
.sogrid__entry__thumbnail img {
    width: 100%;
    height: 160px;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* Global elements */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}
.entry-meta > .holder {
    margin-top: 25px;
}
.p-title h1 {
    color:#000066;
    font-size:28px;
    font-weight:700;
    margin-bottom:-15px;
}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
}
.entry-meta > .holder > .author-image {
    position: absolute;
    top: 7px;
    left: 0;
    z-index: 1;
    width: 70px;
    height: auto;
    text-align: center;
    margin-top: -30px;
    background:#f8f8f6;
}
.entry-meta > .holder > .author-image img {
}
.entry-meta > .holder > .data .published-on {
    margin-bottom: 5px;
    font-weight: 500;
}
.entry-meta > .holder > .data .published-on a {
    color: inherit;
}
.entry-meta > .holder > .data .meta {
    margin-bottom: 7px;
}
.entry-meta > .holder > .data .meta > span {
    margin-right: 15px;
}
.post.single-post .entry-header .entry-meta > .holder > .data .meta > span i {
    color:inherit;
}
.entry-meta > .holder > .data .meta > span a {
    color: inherit;
}
.entry-meta {
    color: #9F4624;
    font-weight: 500;
}
.crop {
    width: 100%;
    height: 380px;
    overflow: hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
    }

.crop img {
        width: 100%;
        display:block;
        margin-left: auto;
        margin-right: auto;
        vertical-align: middle;
    }

/* Frontpage section */

.intro-section {
    padding: 60px 0;
}
.intro-section h2{
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2em;
    margin: 0 0 0.46em;
    text-align: center;
    text-shadow:1px 1px 0 #2d2d2d;
}

.intro-hr {
    border: solid #f50000 4px;
    width: 150px;
    display: inline-block;
    box-shadow: 1px 1px 0px #2d2d2d;
}
.our-prog h2 {
	font-size: 36px;
	font-weight: 700;
	color:#f50000;
	margin-bottom:10px;
}
.our-prog p{
    margin-bottom:15px;
}
.our-prog h2 span{
    /* color:#060eb7; */
}
.support-cta {
    background:#F6F6F6;
    padding:40px 0;
}
.support-cta h2 {
    font-size: 36px;
	font-weight: 700;
	color:#333;
	margin-bottom:10px;
}
.support-cta p{
    margin-bottom:30px;
}
.support-cta h3{
    font-size: 2.5rem;
    font-weight: 700;
    /* color: #060eb7; */
    letter-spacing: .5px;
}
.cta-icon {
    font-size: 2.450em;
    display: block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    margin: 0 auto;
    text-align: center;
    color: #f50000;
    border-radius: 50%;
    border: 3px solid;
    transition: all ease .3s;
    margin-bottom:20px;
}
.cta-icon:hover{
    color: #ffffff;
    background-color: #f50000;
    display: block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    margin: 0 auto;
    text-align: center;
    border-radius: 50%;
    border: 3px solid #f50000;
    transition: all ease .3s;
    margin-bottom:20px;
}
.catchSticky {
    box-shadow: 10px 1px 20px #00000012;
}

/*------------------------------------*\
    ABOUT PAGES
\*------------------------------------*/
   
.inner-content{
    padding-right: 15px;
    padding-left: 25px;
    /* box-shadow: 0 3px 10px 1px rgba(0,0,0,.1); */
    /* padding: 60px 35px 40px;*/
    position: relative;
}
.inner-content h2 {
    font-size: 26px;
    margin-bottom: 15px;
    line-height: 42px;
    color: #000066;
}


/*------------------------------------*\
    FOOTER SECTION
\*------------------------------------*/

/* Footer area */
.footer {
	background: #0c0c0c;
	color: #fff;
}
.footer p{
    color: #fff;
    font-size:14px;
    font-family: 'Rubik', sans-serif ;
    font-weight: 300;
}
.footer ul {
    list-style: none;
}
.footer ul li a {
    color:#eee!important;
    font-family: 'Rubik', sans-serif ;
    font-weight: 300;
}
.footer ul li a:hover {
    text-decoration:underline;
}
.footer .ptitle span{
    display: none;
}
.footer h3{
    color:#444;
    margin-bottom:10px;
}
    
.footer h2{
    color:#eee;
    margin-bottom:10px;
    font-size:18px;
    text-transform:uppercase;
}
.copyright p {
	font-size: 13px;
    font-family: 'Rubik', sans-serif ;
    font-weight: 300;
    text-align:right;
}
.copyright a{
    color: #fafafa;
}
.site-info p {
	font-size: 13px;
    font-family: 'Rubik', sans-serif ;
    font-weight: 300;
    text-align:left;
}
.copyright-section{
    padding-top:10px;
    border-style: solid;
    border-width: 1px 0px 0px 0px;
    border-color: rgb(255 255 255 / 29%);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}
.footer-icon {
    padding: 0 5px;
    font-size: 18px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:320px) {

}
@media only screen and (max-width:480px) {

}


@media screen and (max-width: 576px) { 
    
    .section-title {
    font-size: 30px;
    font-weight: 600;
}
.top-header{
    background: #fff;
}
.head-text{
    display: none;
}
.logo img{
    width: 100%;
    height: auto;
}
.intro-section h2 {
    font-size: 40px;
}
.intro-hr {
    margin-left: 30%;
}
.fp-list-2 .fp-title, .fp-list-3 .fp-main .fp-title, .fp-list-4 .fp-title {
    font-size: 0.8em;
    font-weight: 500;
}
.fp-post .fp-title {
    font-size: 0.5em;
    line-height: 1.5;
    font-weight: 400;
}
.fp-meta {
    font-size: 0.5em;
    margin-top: 0.2em;
}
.fp-excerpt {
    margin-top: 0.4em;
    opacity: 0.8;
    font-size: 14px;
    font-weight: normal;
}
.subscribe-mail, .subscribe-name,.subscribe-btn {
    width: 90%;
}
.copyright p {
    text-align: left;
}
.footer ul {
    list-style: none;
    padding-left: 0;
}
    
}
 
@media only screen and (max-device-width:812px){
    
 
}

@media only screen and (max-width:820px) {

 
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){
   .section-title {
    font-size: 25px;
    font-weight: 700;
}
.fp-list-2 .fp-title, .fp-list-3 .fp-main .fp-title, .fp-list-4 .fp-title {
    font-size: 0.8em;
    font-weight: 500;
}
.fp-post .fp-title {
    font-size: 0.5em;
    line-height: 1.5;
    font-weight: 400;
}
.fp-meta {
    font-size: 0.5em;
    margin-top: 0.2em;
}
.fp-excerpt {
    margin-top: 0.4em;
    opacity: 0.8;
    font-size: 14px;
    font-weight: normal;
}
.wpsm_col-sm-6 {
    width: 33.33333333%;
}
.subscribe-btn {
    width: 15%;
}

p{
    font-size: 13px;
}
.logo img{
    width: 100%;
    height: auto;
}
.header-text{
    display: none;
}
}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#060eb7;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#060eb7;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#060eb7;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.logo{
    position: absolute;
    background: #fff;
    z-index: 1;
    padding: 0 10px;
    margin-top: -10px;
	box-shadow:0 4px 2px -2px #80808029;
}
.custom-logo{
    width: auto;
    max-height: 130px;
    max-width: none;
}
h1,h2,h3,h4,h5,h6 {
	font-family:'Fira Sans', sans-serif;
}
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
