/*
	Theme Name: UHRC
	Theme URI: https://uhrc.ug/
	Description: This Theme was developed customarily for UHRC Website
	Version: 1.4.3
	Author: Lwegatech
	Author URI: http://lwegatech.com
	Tags: Blank, HTML5, CSS3, wordpress

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

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

/* global box-sizing */thum
*,
*: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%;
	overflow-x: hidden !important;
}
body {
	font:400 14px/1.5 'Roboto', sans-serif;
	color:#444;
	overflow-x: hidden;
}

/* 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;
}
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;
}

.section-pad{
    padding: 40px 0;
}
.sogrid__one .sogrid__entry__thumbnail img {
	height:250px;
	object-fit:cover;
}
.bid-image img {
	border-radius:50px;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {

}
/* header */

.w3eden p {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 13px;
}
.w3eden .card h3 {
	font-size: 10pt !important;
	font-weight: 500 !important;
}
.w3eden .row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
	width: 100%;
}


.header-top {
	background: #223F7B;
	color: #fff!important;
	padding: 5px 0 0 0;
	font-size: 11.5px;
}
.header-top i{
    font-size: 20px;
}
.header-top a{
    color: #fff;
}
.header-top p {
	font-size: 16px;
	font-weight: 500;
}
.header-list{
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.header-list li {
	list-style: none;
	margin-left: 10px;
	margin-top: 2px;
	align-self: baseline;
}
.border-left {
	border: 2px solid #139DCE;
	background: #139DCE;
}
.border-right{
    border: 2px solid #C38E30;
    background: #C38E30;
}
.header-main{
    background:#F5F6F8;
}
.menu{
    padding-top: 10px;
    padding-bottom: 10px;
}

.section-title {
	font-size: 27px;
	font-weight: 600;
	color: #253d7b;
	margin-bottom: 30px;
}
.page-title{
    background:#fafafa;
    background-size: cover;
    padding: 15px 0 15px 0;
    color: #333;
    position: relative;
}
.page-title h1 {
	font-size: 22px;
    line-height: 35px;
    font-weight: 600;
    float: left;
}
.post-title{
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: inherit;
    padding: 70px 0;
    background-image: url(https://www.uhrc.ug/wp-content/themes/uhrc/img/blog-header.jpg);
}
.post-title h2 {
    margin-top: 20px;
    color: #f5f6f8;
    text-shadow: 1px 1px 1px #000000b0;
    font-weight: 600;
}
.post-title h2 span {
    font-weight: 400;
    font-size:17px;
}

.published-on {
    margin: 15px 0 5px 0;
    font-weight: 600;
}
.single-post-title h1 {
	font-size: 220%;
	line-height: 40px;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 20px;
    color: #223f7b;
}
.post-thumb img{
    height: auto;
    width: 100%;
}
.relpost-thumb-wrapper {
   border-top: 1px solid #eee;
}
.relpost-thumb-container {
    margin-top: 20px;
}
.cpage-title{
    background-image: url("https://www.uhrc.ug/wp-content/uploads/2020/07/call-us.jpg");
    background-size: cover;
    padding: 25px 0 25px 0;
    color: #333;
    position: relative;
}
.cpage-title h1 {
    color: #fafafa;
	font-size: 22px;
    line-height: 35px;
    font-weight: 600;
}
.cpage-title span {
    color: #f5f6f8;
    font-size: 16px;
    font-weight: 300;
}
.overlay {
    background-color: rgba(0,0,0,0.5);
  background-position: inherit;
  background-size: cover;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}
.yotu-videos {
	float:none!important;
}
.wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th {
    padding: 20px!important;
}

/*------------------------------------*\
    ABOUT SIDEBAR
\*------------------------------------*/
.sidebar {
    margin-bottom: 20px;
    padding-bottom: 20px;
    margin-left: 20px;
    border-bottom: 1px solid #ededed;
    background: #223F7B;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
}
.sidebar .content {
    font-size: 18px;
    display: block;
    font-weight: 300;
    line-height: 21px;
}
.sidebar-icons {
    font-size: 55px;
    color: #f9f9f9;
}
.sidebar h1 {
    border-bottom: 1px solid #c38e30;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.tb-one{
    background: rgb(247 247 247);
    padding: 20px;
}

.tb-two{
    padding: 20px;
}

.directories h2 {
    color: #223f7b;
    border-bottom: 1px solid #c38e30;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 15px;
}

.dir-icon {
    font-size: 55px;
    float: left;
    line-height: normal;
    color: #c38e30;
}

.directories-col{
    background: #EBEBEB;
    border-radius:10px;
    margin-bottom: 30px;
    padding:15px;
}

.dir-rm a{
    color: #223f7b;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: underline;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* Global elements */
.slider-btn a::after {
	content: "";
	float: right;
	color: #fff;
	display: inline !important;
	width: 30px;
	background: #fff;
	border: 2px solid;
	margin-top: 22px;
}
.slider-btn a::before {
	content: "";
	border-top: 4px solid;
	border-right: 4px solid;
	width: 15px;
	height: 15px;
	float: right;
	display: inline !important;
	transform: rotate(45deg);
	margin-top: 14.3px;
	margin-left: -20px;
	border-radius: 2px;
}
.is-menu {
	position: relative;
	float: right;
	margin-top: 7px;
}
.is-menu path {
	fill: #000 !important;
}
.search-icon{
    width: 30px;
    height: 30px;
}
/* News & Events homepage section */
.latest-news{
    background: #eee;
}
   
.rt-tpg-container .rt-equal-height {
	margin-bottom: 0 !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: 15px !important;
	margin: 0 0 14px 0;
	padding: 0px;
	font-weight: 500 !important;
	line-height: 1.25;
}
#poststuff .rt-tpg-container .layout1 .rt-holder .rt-detail h2, #poststuff .rt-tpg-container .layout1 .rt-holder .rt-detail h3, #poststuff .rt-tpg-container .layout1 .rt-holder .rt-detail h4, .rt-tpg-container .layout1 .rt-holder .rt-detail h2, .rt-tpg-container .layout1 .rt-holder .rt-detail h3, .rt-tpg-container .layout1 .rt-holder .rt-detail h4 {
	margin: 0 0 14px;
	padding: 0;
	font-size: 14px !important;
	line-height: 1.25;
}
.rt-tpg-container .layout1 .rt-holder .rt-detail {
	background: transparent !important;
	padding: 15px;
	border-bottom: none;
}
.latest-news .sogrid--oos1 .sogrid__posts {
	/* display: -webkit-box;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row-reverse; */
}
.latest-news .sogrid__entry__title {
	font-size: 1em !important;
	line-height: 1.5 !important;
	font-weight: 600;
	color: #5e35b1;
}
.latest-news .sogrid__entry__meta {
	font-size: .9em;
	color: #777;
	font-weight: 700;
}
.latest-news .rt-detail .post-content {
	margin-bottom: 10px;
	font-weight: 700;
	color: #000;
}
#sogrid-1594402742748.sogrid--oos1 .sogrid__others, #sogrid-1594402742748.sogrid--oos1 .sogrid__others .sogrid__entry, #sogrid-1594402742748.sogrid--oos1 .sogrid__one {
	border-color: transparent !important;
}
.sogrid__others img {
	height:90px;
	object-fit:cover;
}
.post-meta-user span, .post-meta-tags span {
	display: inline-block;
	padding-right: 5px;
	font-weight: 700;
	color: #139dce;
}
.default-btn a {
	border: 2px solid #253D7B;
	color: #253D7B;
	padding: 15px 25px;
}
.folder{
    background: #253D7B;
    color: #fff;
    padding: 40px 30px;
}
.folder .row{
    padding-top: 10px;
    padding-bottom: 20px;
}
.folder img{
    max-width: 50px !important;
}

.folder a{
    color: #fff;
}
.border-line {
	border-right: 1px solid #bdbdbd;
}
/* Social Media Section */
.box-shadow iframe{
    box-shadow: 2px 2px 2px 2px #eee;
    padding: 10px;
}

/* Footer area */
.footer {
	padding-top: 50px;
	background: #223F7B;
	color: #eee;
}

.footer h2{
   font-size: 18px;
   color: #fff;
   
}
.footer .header-list i{
    font-size: 20px;
}
.footer a{
    color: #eee;
    font-size: 12px;
    text-decoration:none!important;
}

.copyright {
	background: #0D1C31;
	font-size: 15px;
	color: #bbb;
	padding-top: 10px;
}

.copyright a{
    color: #aaa;
    margin: 0 5px;
    font-size: 12px;
    text-decoration:none!important;

}

.profile-img {
    box-shadow: 2px 0 2px 0 rgba(0,0,0,.1);
    border-radius: 30px!important;
/*     margin-top:-10px; */
    border: 5px solid #f5f5f5;
    float:left;
    margin-right:15px;
	width:auto;
	height:220px!important;
}

.dir-section {
    padding: 50px 20px;
}
.profile h2 {
    color: #223f7b;
    font-weight: 600;
}
.other-dir h1 {
    color: #223f7b;
    font-weight: 700; 
    font-size: 28px;
    margin-bottom: 20px;
}
.member-btn a {
    background-color: #0d1c31;
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 15px;
    border: none;
    box-shadow: none;
    color: #f9f9f9;
    cursor: pointer;
    display: inline-block;
    margin: 0;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
}

.member-btn a:hover {
    color:#ccc8c8;
}
/*------------------------------------*\
    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) { 
    .header-top{
        display: none;
    }
    .profile-img {
    box-shadow: 2px 0 2px 0 rgba(0,0,0,.1);
    border-radius: 60px!important;
    margin-top:-10px;
    border: 8px solid #f5f5f5;
    margin-right:20px;
    margin-left:20px;
    float: none;
    display: block;
}
 
    .slider-btn a::after {
    content: "";
    float: right;
    color: #fff;
    display: inline !important;
    width: 12px;
    background: #fff;
    border: 1px solid;
    margin-top: 12px;
}
.slider-btn a::before {
    content: "";
    border-top: 3px solid;
    border-right: 3px solid;
    width: 10px;
    height: 10px;
    float: right;
    display: inline !important;
    transform: rotate(45deg);
    margin-top: 6px;
    margin-left: -20px;
    border-radius: 2px;
}
.section-pad{
    padding: 30px 0;
}
.section-title{
    margin-bottom: 10px;
    margin-top: 10px;
}
.folder{
    padding: 20px 10px;
}
html{
    overflow-x: hidden !important;
}
}

@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) {
    .header-top{
        display: none;
    }

}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){
   
}
@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:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.custom-logo{
    width: 100%;
    height: auto;
}

.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;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

.wpdm-download-link.btn.btn-primary {
    background-color: #0d1c31;
    border-radius: 50px!important;
    padding: 5px 15px!important;
    color: #fff !important;
    font-family: inherit!important;
    border-color: #0d1c31 !important;
}
/*------------------------------------*\
    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;
	}
}
