/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode-child
*/

/* CSS DIRECTORY
	CH1 = GLOBAL (resets, scrollbars, etc.)
	CH2 = PRIMARY (body, primary divs)
	CH3 = SECONDARY (header, footer, sidebar)
	CH4 = TERTIARY (page regions, floats)
	CH5 = TEXT  (headings, paragraphs, lists)
	CH6 = IMG, LINKS  (pre, code)
	CH7 = STYLES (forms, tables, buttons, acronyms et al)
	CH8 = CLASSES  (.clear, .center, .right, .left, etc.)
	CH9 = MISC
*/

/* ===CH1=== */
/* ==MENU== */
/* Hide white bar */
.top-menu {
	display: none;
}
/* Remove menu padding */
.col-lg-0 .logo-container .middle{
    padding: 0;
}
#logo-container-mobile {
	padding: 0 !important;
}
/* Remove language selection from menu in mobile mode */
@media (max-width: 899px) {
    #menu-item-44671 {
		display: none;
    }
}

/* ===CH2=== */
/* Justify all body text, lazy way */
p {
	text-align: justify;
}

/* ===CH3=== */
/* ==FIXED FOOTER== */
	/* Remove standard footer */
.footer-last {
	display: none;
}
	/* Remove Margin from fixed footer */
.site-footer p, .site-footer li, .site-footer dt, .site-footer dd, .site-footer dl, .site-footer address, .site-footer label, .site-footer small, .site-footer pre, .site-footer code, aside p, aside li, aside dt, aside dd, aside dl, aside address, aside label, aside small, aside pre, aside code{
	margin: 0px;
}
/* Language switcher */
.qtranxs_widget ul li.active {
	display: none;
}
.qtranxs_widget ul li.active {
	display: none;
}
.widget-container {
    margin: 0px;
}
.qtranxs_widget img {
	margin-left: 10px;
}
/* =FOLLOW US= */
	/* Social icon hover colour */
.fa-facebook-square:hover{
	color: #0E3791;
}
.fa-twitter-square:hover{
	color: #0075db;
}
.fa-youtube-square:hover{
	color: #AA0018;
}
.fa-instagram:hover{
	color: #cc8800;
}

/* ==SECONDARY FOOTER== */
/* =DONATE= */
	/* General layout */
.rmagic .rmrow {
	text-align: left;
	padding-top: 0px;
}
.rmagic .buttonarea {
	margin-top: 0px;
}
.main-container .row-container .row-parent .half-internal-gutter .uncont > * {
	margin-top: 0px !important;
}
.rmagic .rmcontent form fieldset {
	padding: 0px;
	display: inline-block !important;
}
.rmagic .rmrow.rm_pricefield_row {
	padding-bottom: 0px !important;
}
	/* position drop down selection box */
.rmagic .rmrow.rm_pricefield_row .rminput select#id_rm_multisel_paypal_field, .rmagic .rmrow.rm_pricefield_row .rminput input[type="text"]{
	margin-bottom: -8px;
	width: 55%;
}
	/* button position */
/*.rmagic .rmagic-form.rmagic-form-btn-right .buttonarea {*/
/*.rmagic .buttonarea input[type='button'], .rmagic .buttonarea input[type='Submit']*/
#form_8_1-element-19 {
	position: absolute;
	min-width: 60px;
	top: 9.8em;
	left: 15em;	
	margin-bottom: 0px;
	height: 30px !important;
}
    /* resize and reformat credit card and 'pay' button */
.rm_stripe_fields {
	padding: 0px 10px 0px 0px;
}
.rm-stripe-card-element {
	min-width: 250px;
	margin-left: 15px;
}
.rm_stripe_fields button.rm_stripe_pay_btn {
	margin-left: -8em;
    margin-top: 5em;
	background: #88aa80;
	color: white;
	width: 100px;
	height: 40px;
	font-weight: 600;
	font-size: 12px;
    font-family: Poppins;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.rmagic .rmrow .rminput input[type="number"] {
	width: 10em;
}
	/* Correct background colour on 2nd stripe page */
.rm_stripe_fields {
	background-color: #eaeaea;
}
	/* Fix background over drop-down buttons */
.rmagic .rmrow .rminput select {
    border: 1px solid rgba(150, 150, 150, 0.4) !important;
	background-color: #ffffff !important;
}
.rmagic .rm_pricefield_checkbox .rminput .rmradio span {
	position: absolute;
}	
	/* remove 'page' text */
.rmcontent form.rmagic-form fieldset.rmfieldset legend {
	display: none;
}

/* =RECENT PUBLICATIONS= */
	/* Change font size */
p.recent-publications {
	line-height: 15px;
	font-size: 11px;
}


/* ===CH4=== */
/* == HOME == */
/* Reduce top padding on homepage post carousel */
	/* FIXABLE */
.tmb-no-bg.tmb .t-entry-text .t-entry-text-tc {
	padding-top: 10px !important;
}
.owl-carousel-wrapper {
	margin-top: 0px !important;
}

/* Remove date on posts*/
.t-entry p.t-entry-meta {
	display: none;
}

/* == ABOUT US == */
/* Round corners of header-background */
.about-us-section {
	padding-left: 35px !important;
}

/* == NEWS == */
	/* Remove author information from blog and search*/
.author-info{
	display: none !important;
}
.t-entry-author{
	display: none !important;	
}

/* == PROJECTS == */
	/* Remove small white border between black border and project maps */
.iwm_map_canvas {
	display: flex !important;
}

/* == PUBLICATIONS == */
/* =LANDING PAGE= */
	/* Remove top margin and left padding from section text in mobile mode */
.main-container .row-container .row-parent .column_child.single-internal-gutter .uncont > *:not(:first-child) {
  margin-top: 0px !important;
}

/* == BINCO WORKFLOW == */
/* =TITLES= */
	/* Custom margin below main title text */
.overview-pillars {
	margin-bottom: 10px;
}
	/* remove margin above individual pillar titles */
.pillar-title h4 {
	margin-top: 0px;
}
/* =ACCORDIONS= */
	/* lay-out of clickable "boxes" */
.panel-title {
    background: #cccccc;
    border-radius: 10px;
    border: 10px;
	padding: 0px 20px 0px 20px;
	/* text lay-out */
	text-align: center;
    margin: 0px 1px 3px 0px;
}
.panel-title > a span {
	 color: black;
}
.panel-default {
	border: 0px;
	margin-bottom: 5px;
}
/* =PANELS= */
	/* reduce padding of panel */
.uncell[class*="unradius-"] {
    border-bottom: groove #c1c1c1 !important;
    border-right: groove #c1c1c1 !important;
	padding: 25px 15px 25px 15px;
}
	/* reduce margin below title */
.main-container .row-container .row-parent .single-internal-gutter .uncont>* {
    margin-top: 20px;
}
	/* recolour the background behind text to increase readability */
.panel-body {
	padding: 15px 10px 15px 10px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
}

/* == WORK GROUP ACCORDEONS == */
/* =TITLES= */
    /* animations */
@keyframes panelcoloropen {
	from {background-color: #e5e5e5;}
  	to {background-color: #f7f7f7;}
}
@keyframes panelcolorclose {
	from {background-color: #f7f7f7;}
  	to {background-color:  #e5e5e5;}
}
	/* lay-out of clickable "boxes" */
.workgroup .panel-title {
    background: #e5e5e5;
	animation-name: panelcolorclose;
	animation-duration: 0.8s;
    border-radius: 8px;
}
.workgroup .panel-title > a > span {
	font-size: 17px;
	color: #303133;
	font-weight: 700;
}
.workgroup .panel-title.active {
	background-color: #f7f7f7;
	animation-name: panelcoloropen;
	animation-duration: 0.8s;
	border-radius: 8px 8px 0px 0px;
	}

/* =PANELS= */
	/* reconfigure panels specific for the work group pages */
.workgroup .panel-body {
	background: #f7f7f7;
	border-radius: 0px;
	padding: 0px;
	margin: 0px;
}
	/* remove small grey line above panel when opened */
.workgroup .panel-group .panel-heading + .panel-collapse .panel-body {
	border-top-width: 0px;
}
/* ===CH5=== */

/* ===CH6=== */
	/* Change colour of urls */
.style-light .link, .style-light.style-override .link, .style-dark .style-light .link, .style-light a, .style-light.style-override a, .style-dark .style-light a, .style-light input[type=checkbox]:checked:before, .style-light.style-override input[type=checkbox]:checked:before, .style-dark .style-light input[type=checkbox]:checked:before {
	color: #36941f;
}

/* ===CH7=== */
	/* Add border to specific layer sliders on project pages */ 
.layerslider-malawi {
	border: 2px;
}

/* ===CH9=== */
	/* PLATFORM PAGE breakpoints override */
