/*
Theme Name: MIMOSA Theme
Description: Theme used by MIMOSA.org---child theme of Baskerville 2
Version: 2.0
Author: Andreas Jordan, Matt Selway
Author URI: http://people.unisa.edu.au/Andreas.Jordan
Template: baskerville-2-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baskerville
*/

/* Primary colours used in website */
/* Dark green (background colour) - rgb(0,100,59) or #00643B */
/* Light green (links, highlight color, etc.) - #009c06 */
/* */
/* Dark blue (link hover) - #005580 */
/* Light blue (unused) - #0066FF */

body {
    font-size: 14px;
}

body a,
.credits a {
    color: #009c06;
    text-decoration: none;
}

body a:hover,
body a:focus,
.credits a:hover,
.credits a:focus {
    color: #005580;
    text-decoration: underline;
}

.widget-content ul li::before {
   color: #00643B; 
}

/* Header modifications/overrides */
/* Modify padding here to adjust height of top green bar in header */
.header {
    background-color: rgb(0,100,59);
    padding-top: 30px;
    padding-bottom: 20px;
    font-size: 16px;
}

@media (min-width: 992px) {
	/* Medium screens and above */
    .header-inner {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.header-other {
    font-size: 16px;
}

.header .site-logo,
.header .custom-logo-link {
    margin-bottom: 0;
}

/* Override the maximum width of the (custom) logo */
.header .site-logo img,
.header .custom-logo-link img {
    max-width: 200px;
}

.header-other .site-logo img,
.header-other .custom-logo-link img {
    max-width: 200px;
    vertical-align: middle;
}

.other-title {
    font-family: "Pacifico", sans-serif;
    font-size: 2.25em;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,.25);
    background-image: url(images/uc.gif);
    background-repeat: no-repeat; 
    padding-top:68px;
    background-position: center;
    width: 300px;
    min-height: 78px;
}

.site-title {
    font-family: "Pacifico", sans-serif;
    font-size: 2.25em;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,.25);
 /*   background-image: url(images/MIMOSA-Logo.png);
    background-repeat: no-repeat;*/
    padding-top:68px;
    background-position: center;
    width: 300px;
    min-height: 78px;
}

.custom-post-header, .custom-post-content {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
 /*   padding-top: 15px;
    padding-bottom: 5px; */
}

.custom-post-content {
    line-height: 1.5em;
}


.header-post-content .display-posts-listing > .listing-item > .title,
.display-posts-single > .listing-item > span.title {
    font-family: 'Roboto Slab',sans-serif;
    color: #333;
    font-size: 25px; 
    font-weight: 700;
    display: block;
    margin-bottom: 2%;
}

.header-post-content .listing-item {
    border: none;
}

#header-buttons {
    float: right;
    margin-bottom: 20px;
    margin-right: 20px;
    margin-top: 20px;
}

/* */
.header-post-content {
    min-height: 230px;
    border-radius: 10px;
    border: 2px solid #FFF;
    background-color: #F5F5F5;
    box-shadow: 0px 0px 25px grey; 
    color: #444;
    text-align: left;
}

.post-header {
    padding: 2% 4%;
}

.site-title a {
    color: #fff;
}

.site-title a:hover,
.site-title a:focus {
    color: #13c4a5;
}

.site-description {
    color: #fff;
    font-size: 1.1em;
    font-weight: 400;
    line-height: 160%;
    text-align: center;
    margin: 0.4em 0 0.6em 0;
/*
    width: 300px;
    max-width: 300px;
*/
}

/** 
 * The 200px comes from the max-width of the custom-logo.
 * The 210px is to ensure wrapping doesn't occur on different renderers.
 */
.header-other .site-description {
    display: inline-block;
    max-width: calc(100% - 200px);
    width: calc(100% - 210px);
    text-align: center;
    margin-left: 0px;
    font-size: 1.3em;
}

#half-background {
    padding-bottom: 250px;
}

.front-page-wrapper {
    margin-top: -250px;
    padding-top: 0;
}

@media (max-width: 1440px) {
    .front-page-wrapper.wrapper.section {
        padding-top: 0;
    }
}

/* Policies and Charters page */
#policies-and-charters  {
    border-collapse: collapse;

    
}

#policies-and-charters > tbody > tr > td {
    border: 2px solid grey;
    vertical-align: middle;
    height: 10px;
    padding-bottom: 1%;
    padding-top: 1%;
    line-height: 120%;
}

#policies-and-charters > tbody > tr > td > a{
    color: #00643B;
}


/* Contact Form */
.required {
    color: red;
}
/* End Contact Form*/



/* Custom CSS */
.single .post-content {
	padding-left: 2%; 
	padding-right: 2%;
	padding-top: 2%;
	padding-bottom: 2%;
}
    

.single .post-content h1 {
/*     padding: 0%; */
}
 
/* This sets the width of the panels */
.post-container,
.post-container-column {
	width: 100%;
	margin-top: 20px;
	float: left;
}
 
.post-container {
	position: relative; 
	padding: 0 1.5em 4.5em 1.5em; 
	border-radius: 10px;
	background-color: #F5F5F5;
	box-shadow: 0px 0px 25px grey;
}

.post-container-column .post-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0px;
    float: none;
    overflow: hidden;
}

/* Remove of the top margin if the 
   first-child in a post-container-column */
.post-container-column > .post-container:first-child {
    margin-top: 0px;
}

/*
 * Override the parent theme's removal of the top margin
 * in the case where the first-child is a post-container or
 * post-container column.
 */
.post-content > .post-container:first-child,
.post-content > .post-container-column:first-child {
	margin-top: 15px;
}
 
/** Display Posts Shortcode formatting */

h1.display-posts-title,
.display-posts-single > .listing-item > .title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 2em;
    line-height: 100%;
}

/* override the padding and border that usually separates .listing-items */
.display-posts-single > .listing-item:first-child {
    padding-top: 0;
    border-bottom: none;
}

.display-posts-listing {

}

/*
 General style for each item generated by Display Posts Shortcode.
 (excludes table listings)
 */
div.listing-item,
li.listing-item {
    padding: 0.5em 0;
    border-bottom: 1px solid gray;
    line-height: 180%;
}

div.listing-item .title,
li.listing-item .title {
    display: block;
    font-family: 'Roboto Slab',sans-serif;
/*    color: #00643B; */
    color: #009c06;
    line-height: 120%;
    font-size: 1.1em;
}

div.listing-item .display-posts-content p,
li.listing-item .display-posts-content p {
    line-height: 180%;
}

/* 
 * Supress the dash used to separate the excerpt from the title.
 */ 
.excerpt-dash {
    display: none
}

.excerpt {
    display: inline-block;
    margin-top: 0.5em;
}

/* Formatting of the 'Read More' links  */
.excerpt a,
.more-link {
    font-weight: bold;
}

/* Avoid float for edit link in display listings */
.listing-item .edit-link .post-edit-link {
    float: none;
}

/** display posts accordion styles */
.listing-item .title.ui-accordion-header {
    font-family: 'Roboto Slab', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1.1em;
    line-height: 120%;
/*    background-color: #E0E0E0; */
    padding: 0.5em;
    color: #444;
}
.listing-item .title.ui-accordion-header.ui-state-active {
    background-color: #00643B;
    color: white;
}
.listing-item .title.ui-accordion-header:hover {
    background-color: #005580;    
    color: white;
}

.listing-item .title.ui-accordion-header:before {
    font-family: FontAwesome;
    content: "\f105";
    display: inline-block;
    padding-right: 0.5em;
    /*vertical-align: middle;*/
    font-style: normal;
    font-weight: normal;;
    text-decoration: inherit;
}

.listing-item .title.ui-accordion-header.ui-state-active:before {
    content: "\f107";
    padding-right: 0.25em;
}


.event-excerpt-title.ui-accordion-header:after {
    font-family: FontAwesome;
    content: "\f0fe";
    display: inline-block;
    width: 1.5em;
    text-align: center;
    /*vertical-align: middle;*/
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 0.9em;
}

.event-excerpt-title.ui-accordion-header.ui-state-active:after {
    content: "\f146";
}
/** end display posts accordion styles */

/** End Display Posts Shortcode formatting */

/* Unordered Lists */
.post-content .mimosa-std-page-body .mimosa-disc-style {
    list-style-type:disc;
    margin-left: 1.5em;
}
.post-content .mimosa-std-page-body .mimosa-disc-style ul {
    word-wrap: break-word;
}

.mimosa-std-page-body > ul > li > a, #alliances > tbody > tr > td > a, #friends > tbody > tr > td > a {
    color: #00643B;
}

.mimosa-std-page-body > ul > li > a:hover, #alliances > tbody > tr > td > a:hover, #friends > tbody > tr > td > a:hover {
    color: #13c4a5;
}

/* Buttons */
.post-content input[type="submit"] {
    background: #00643B;
}

.post-content .mimosa-post {
    float: left;
    padding: 0 1.5% 4.5% 1.5%;
    position: relative;
    width: 90%;
    margin-top: 30px;
    margin-left: 30px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    border-width: 100%; 
    box-shadow: 0px 0px 0px white;
    background-color: #fff;
}

/* Formatting for MIMOSA Pages (excluding Home Page)*/
.post-content .mimosa-std-page-body {
    float: left;
    padding: 0 1.5% 4.5% 1.5%;
    position: relative;
    width: 90%;
    margin-top: 30px;
    margin-left: 30px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    border-width: 100%; 
    box-shadow: 0px 0px 0px white;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

#events-summary > tbody > tr > th {
    
}

div.mimosa-std-page-body table#events-summary.mimosa-std-page-table  > tbody > tr > th {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 33%;
}
#events-summary > tbody > tr > td > div:nth-child(1) > div:nth-child(1) > span:nth-child(1) {
    text-align: center;
}

div.mimosa-std-page-body table#events-summary.mimosa-std-page-table  > tbody > tr > td {
    text-align: left;
    vertical-align: center;
    padding-top: 30px;
    padding-bottom: 10px;
}

#events-summary {
    width: 80%;
}



/* Hacking footer */
.mimosa-wrapper-section-medium-padding {
    background-color: #00643B;
}

.bg-dark {
    background-color: #00643B;
}

.bg-grey {
    background-color: #f5f5f5
}

.bg-darkgrey {
    background-color: #A9A9A9
}

/* Main Menu*/
/* We make the main menu narrower than the parent theme. */

div.navigation {
    background-image: -webkit-linear-gradient(top, #fff, #f0f0f0);
    background-image: -moz-linear-gradient(top, #fff, #f0f0f0);
    background-image: -ms-linear-gradient(top, #fff, #f0f0f0);
    background-image: -o-linear-gradient(top, #fff, #f0f0f0);
    background-image: linear-gradient(to bottom, #fff, #f0f0f0);
    border-bottom: 1px solid #d4d4d4;
}

.search-icon {
    height: 40px;
}

.search-icon::before {
    font-size: 20px;
    line-height: 40px;
}

/* This is new to handle (horizontal) menu separators */
.main-navigation ul ul a.menu-separator,
.main-navigation ul ul .menu-separator a {
    font-size: 0.9em;
    text-align: left;
    border-bottom: solid 1px silver;
    text-transform: uppercase;
    padding: 10px;
    font-weight: bold;
}

.main-navigation ul ul a.menu-separator:hover,
.main-navigation ul ul .menu-separator a:hover,
.main-navigation ul ul a.menu-separator:focus,
.main-navigation ul ul .menu-separator a:focus {
    color: unset;
    background-color: unset;
    cursor: unset;
    text-decoration: none;
}

/* The css below changes the text along the whole top menu */
.main-navigation li > a {
    color: #444;
    font-size: 14px;
    padding: 13px;
}

.main-navigation li > a:hover,
.main-navigation li > a:focus,
.main-navigation li:hover > a,
.main-navigation li:focus > a {
/*    color: #00643B;  */
    color: #009c06;
    text-decoration: none;
}

.main-navigation .has-children > a, 
.main-navigation .menu-item-has-children > a, 
.main-navigation .page_item_has_children > a {
	/* Reduce the padding after the little down arrow */
    padding-right: 32px;
}

.main-navigation .has-children > a::after, 
.main-navigation .menu-item-has-children > a::after, 
.main-navigation .page_item_has_children > a::after {
    right: 14px;
}

.main-navigation li::before {
	/* Flip the menu separator from the right to the left */
    right: 100%;
}

.main-navigation li:first-child::before {
    content: none;
}

.main-navigation > li:last-child > a::before {
	/* We add the last separator to the 'a' element to better
	   support the hiding of the shopping cart menu item */
    content: "\002F";
    color: #444;
    content: "\002F";
    display: block;
    font-size: 16px;
    font-weight: 300;
    margin-right: -3px;
    margin-top: -9px;
    position: absolute;
    right: 100%;
    top: 50%;
    z-index: 1000;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus {
    color: #fff;
    background-color: #00643B;
}

.main-navigation ul ul a {
    color: #444;
/*    font-size: 1.1em; */
	line-height: 130%;
    padding: 0.75em;
}

.main-navigation ul ul li {
	background-color: transparent;
}

.main-navigation ul ul {
	border-radius: 5px;
    background-color: #f5f5f5;
    border: 1px solid #d4d4d4;
   	-webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
   	-moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
   	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1000px) {

	.main-navigation ul ul ul {
	   	-webkit-box-shadow: none;
	   	-moz-box-shadow: none;
	   	box-shadow: none;
	   	border: none;
   	}
}

.main-navigation ul ul li:last-child {
    border-bottom: 1px solid #d4d4d4;
}

.main-navigation ul ul ul li:first-child {
    border-top: 1px solid #d4d4d4;
}

.main-navigation ul ul ul li {
    background-color: #f5f5f5;
}

.main-navigation ul li > ul {
    top: 21px; /* so the fade in doesn't move the menu */
}

.main-navigation ul ul li > ul::after {
    display: none;
}

@media (min-width: 1001px) {

	.main-navigation > ul > li:hover > ul,
	.main-navigation > ul > li.focus > ul {
		top: 21px;
		margin-top: 20px;
		padding-top: 0px;
	}

	.main-navigation ul li > ul::before,
	.main-navigation ul li > ul::after {
		border: 10px solid transparent;
		content: "";
		display: block;
		left: 50%;
		margin-left: -10px;
		position: absolute;
		z-index: 1000;
	}

	.main-navigation ul li > ul::before {
		border-bottom-color: #A9A9A9;
		top: -21px;
	}

	.main-navigation ul li > ul::after {
		border-bottom-color: #f5f5f5;
		top: -20px;
	}

}

.main-navigation ul ul ul {
    top: -2px;
}

.main-navigation ul ul li:hover > ul, 
.main-navigation ul ul li.focus > ul {
    left: 100%;
    margin-left: 0;
    top: -2px;
}


.main-navigation .menu-item-has-children > a::after {
    border-top-color: #444;
}

.main-navigation .has-children:hover > a::after,
.main-navigation .has-children:focus > a::after,
.main-navigation .menu-item-has-children:hover > a::after,
.main-navigation .menu-item-has-children:focus > a::after,
.main-navigation .page_item_has_children:hover > a::after,
.main-navigation .page_item_has_children:focus > a::after {
    border-top-color: #00643B;
}

.main-navigation ul ul .has-children::after, 
.main-navigation ul ul .menu-item-has-children::after, 
.main-navigation ul ul .page_item_has_children::after {
    border-left-color: #444;
}

/*Search toggle*/
.search-icon::before {
   color: #444;
}

#search-container {
    background-color: #00643B;
}

.credits-section.bg-dark {
    background-color: #f5f5f5;
    text-align: center;
}

.credits p {
    color: #767676;
    font-family: "Roboto Slab", sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.credits-logos center, #parent {

    padding: 0;
    padding-bottom: 0.5em;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer-image-neighbour-openoandm a img{
    width:128px;
    height: auto;
}

#mimosa-footer-img a img {
    width:200px;
    height: auto;
    padding-left: 1em;
    padding-right: 1em;
}

#footer-image-neighbour-SLC a img {
    width:127px;
    height: auto;
}

/* Tables */
.post-content th,
.post-content td {
    padding: 0.8em;
}
/* End tables */

/* Table format for Alliances page */
/*
.post-content table tbody > tr:nth-child(2n+1) > td, #alliances {
    background: #FFF;
    margin-left: 0;
}
*/
div.mimosa-std-page-table div.table1 h1, div.mimosa-std-page-table div.table2 h1 {
    margin-left: 0px;
}

div.mimosa-std-page-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
div.table1 {
    width: 30%;
    margin-right: 20px;
    min-width: 200px
}

div.table2 {
    width: 60%;
    margin-left: 20px;
    min-width: 400px
}

div.mimosa-std-page-table div.table1 table#bod tbody tr td, div.mimosa-std-page-table div.table2 table#officers tbody tr td {
    padding-bottom: 8px;
    padding-top: 8px;
    padding-left: 0px;
}

/*Setting width of table */
div.post-content.clear div.alliances table#alliances, div.post-content.clear div.alliances table#friends {
    width: 50%;
}



div.post-content.clear div.alliances table#alliances tbody tr td, div.post-content.clear div.alliances table#friends tbody tr td {
    border-bottom: none;
    padding-bottom: 1%;    
    text-align: left;
    width:50px;
    background-color: #ffffff;
    vertical-align: middle;
}

div.post-content.clear div.alliances table#alliances > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2){
    width: 100px;
}

div.post-content.clear div.alliances table#alliances tbody tr td img {
    width: 80%;
    max-width: 90%
    height: auto;
    margin-bottom: 0px;
}

/* Margins */
/* we shouldn't need these */
.single .post-content h1, .post-content h2, .post-content h3, .post-content p {
/*
    margin-left: 40px;
    margin-right: 40px;
*/
}

/* Lists (currently in OpenO&MInitiative)*/
.mimosa-std-page-body li {
    margin-left:5%;
}

/* Membership specific CSS */
.membership-types {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    padding: 4px;
    line-height: 20px;
    /*border: 1px solid #ddd;*/
    box-shadow: 0 1px 3px rgba(0,0,0,0.055);
    transition: all .2s ease-in-out;
    justify-content: center;
}



.membership {
    display: block;
    padding: 4px;
    line-height: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.055);
    transition: all .2s ease-in-out;
    border-radius: 15px;
    min-width: 400px;
    max-width:30%;
    text-align: center;
    margin-right: 1.5em;

}

.logo p {
    margin-left: auto;
    margin-right: auto;
}

.membership h2 {
    margin-top: 1em;
}

.membership :first-child {
    margin-top: 1em;
}

.membership :last-child {
    margin-bottom: 1em;
}

.membership p {
    font-size: 80%;
    margin-left: 0.5em;
    margin-right:0.5em;
    margin-bottom: 1em;
}
.gold {
    background-color: #b8860b;
}

.silver {
    background-color: #c4c7ce
}

.platinum {
    background-color: #a5a083;
    margin-right: 0;
}

img.no-border {
    border: none;
}

ul.thumbnails li.span1, ul.thumbnails li.span2, ul.thumbnails li.span3 {
    float: left;
    width: 32%;
}

/** Start custom field styles */
/*
 * The fields are wrapped in a <div> with a class 'wpcf-field-<field type>', 
 * as well as a class specific to the custom field, 'wpcf-field-<field slug>'.
 *
 * The name of the field (if present) is in a <span> with the class 'wpcf-field-name'
 * along with classes for the field type (as for the div) and a class for the specific
 * field 'wpcf-field-<field slug>-name'.
 * 
 * The value of the field is in <span> with the class 'wpcf-field-value', the field type
 * 'wpcf-field-<field type>-value', and a field specific class 'wpcf-field-<field slug>-value'.
 *
 * ===
 * These styles are also applied to the fields generated by the Events Maker plugin
 * for event listings.
 */

/** Style the all of the wpcf-field divs, regardless of type. */
div[class|="wpcf-field"],
div.entry-meta {
    margin-bottom: 1.1em;
}

/* When we have a repeated field, don't include a bottom margin. */
div[class|="wpcf-field"] div[class|="wpcf-field"] {
    margin-bottom: 0em;
}

.wpcf-field-name,
.entry-meta-label
{
    display: block;
    font-weight: bold;
}

.wpcf-field-value,
.single-date,
.single-location,
.single-organizer,
.event-ticket {
    line-height: 180%;
}

div > .wpcf-field-value,
.single-date,
.single-location,
.single-organizer,
.event-ticket {
    display: block;
}

span > .wpcf-field-value {
    display: inline-block;
}

.wpcf-field-value.dashicons-before:before {
    vertical-align: text-bottom;
}

/* different styling when appearing in display-posts listings */
.listing-item div[class|="wpcf-field"],
.listing-item .entry-meta {
    margin-bottom: 0em;
    line-height: 140%;
}

.listing-item .wpcf-field-name,
.listing-item .entry-meta-label {
    display: unset;
    line-height: 140%;
}

.listing-item .wpcf-field-value,
.listing-item .entry-date {
    display: unset;
    line-height: 140%;
}

.listing-item .fields {
    margin-top: 0.5em;
}

/** End custom field styles */

/* When including an extra meta box above the content, below the header. */
.single .post-meta-top {
	padding-top: 2%;
    padding-bottom: 0;
    padding-left: 2%;
    padding-right: 2%;
}

.posts .post-meta-top {
	padding-top: 6%;
    padding-bottom: 0;
    padding-left: 6%;
    padding-right: 6%;
}

.posts .post-content {
	padding: 6%;
}

.post-meta-top div[class|="wpcf-field"]:last-child,
.post-meta-top .entry-meta:last-child {
    margin-bottom: 0;
}

/* post-meta below post */
.single .post-meta.fleft {
	background: transparent;
}

.post-navigation {
	border-top: none;
	padding-top: 0;
}

/** Events Maker **/

.breadcrumb-navigation {
	padding: 1em 1em 0em 1em;
}

.event-buttons {
	margin-left: 0.5em;
}

.event-buttons .btn-group-vertical {
	display: block;
	margin-bottom: 1em;
}

.event-buttons .btn {
	text-align: left;
}

.event-buttons .hidden-xs {
	margin-left: 0.2em;
}

#event-google-map {
	margin: 0;
}

.event-info .event-fields {
	overflow: hidden;
}

.posts .event-buttons .hidden-xs {
	/* Hide button names in archive view */
	display: none;
}

.events-maker-result-count,
.events-maker-orderby {
    text-align: center;
    float: none;
}

@media (min-width: 768px) {
	/* Smalls screens and above */
	
	.entry-meta-label {
		line-height: 180%;
	}
	
	.events-maker-result-count {
        margin-left: 30px;
        float: left;
	}

	.events-maker-orderby {
    	margin-right: 30px;
    	float: right;
	}
}

@media (min-width: 992px) {
	/* Medium screens and above */
	
	.event-info {
		overflow: hidden;
	}
	
}

/** End Events Maker **/

/* Avoid issues with Boostrap's .hidden/.hide */
.wp-hide {
    display: none;
}

/** Begin Bootstrap overrides **/
.btn {
/*  -webkit-border-radius: 6;
  -moz-border-radius: 6;
  border-radius: 6px;
  font-size: 12px;
  padding: 10px 10px 10px 10px; */
}

.btn-primary {
  background: #00643B !important;
  background-image: -webkit-linear-gradient(top, #00643B, #00804b) !important;
  background-image: -moz-linear-gradient(top, #00643B, #00804b) !important;
  background-image: -ms-linear-gradient(top, #00643B, #00804b) !important;
  background-image: -o-linear-gradient(top, #00643B, #00804b) !important;
  background-image: linear-gradient(to bottom, #00643B, #00804b) !important;
  text-decoration: none !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  font-family: inherit !important;
}

.btn:hover,
.btn:focus {
  background: #3cb0fd !important;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db) !important;
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db) !important;
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db) !important;
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db) !important;
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db) !important;
  text-decoration: none !important;
  color: #ffffff !important;
}

.label {
	vertical-align: middle !important;
}

/*
 The negations make the selector more specific
 so we don't have to resort to !important, which 
 causes issues.
 The 2 rules for badge are to cover Bootstrap 3
 and 4, as we will upgrade at some point.
*/
.badge-default:not(.nosuchclass),
.badge:not([class*=' badge-']),
.label-default:not(.nosuchclass) {
	background-color: #00643B;
}

/* The rest of the colours for badges. */
.badge-primary:not(.nosuchclass) {
  background-color: #337ab7;
}
.badge-success:not(.nosuchclass) {
  background-color: #5cb85c;
}
.badge-info:not(.nosuchclass) {
  background-color: #5bc0de;
}
.badge-warning:not(.nosuchclass) {
  background-color: #f0ad4e;
}
.badge-danger:not(.nosuchclass) {
  background-color: #d9534f;
}

.post-content input[type="text"], 
.post-content input[type="email"], 
.post-content input[type="tel"], 
.post-content input[type="url"], 
.post-content input[type="password"], 
.post-content textarea, 
.widget-content input[type="text"], 
.widget-content input[type="email"], 
.widget-content input[type="tel"], 
.widget-content input[type="url"], 
.widget-content input[type="password"], 
.widget-content textarea {
    padding: 6px 12px;
    border: 1px solid #cccccc;
}

/** End Bootstrap overrides **/

/** Rules for different screen sizes (non-Bootstrap) **/

@media (max-width: 1000px) {

	.nav-toggle {
		color: #444;
		padding-top: 12px;
		padding-bottom: 12px;			
	}
	
	.nav-toggle::before {
		color: #444;
		font-size: 20px;
	}

	.header-other .custom-logo-link {
		display: block;
		text-align: center;
	}
	
	.header-other .custom-logo-link img {
	    max-width: 150px;
    }

	.header-other .site-description {
		display: block;
		max-width: 100%;
		width: 100%;
		text-align: center;
		font-size: 1.2em;
	}

}

/** Rules for different screen sizes: Bootstrap-based, i.e. mobile first.
	Default: screen sizes < 576px
	Small: 576px -- 767px
	Medium: 768px -- 991px
	Large: 992px -- 1199px
	Extra large: 1200px >=
**/

/* this is to override parent themem styles */
@media (max-width: 575px) {

	.post-container {
		padding: 0 1em 2.5em 1em;
		border-radius: 0px;
		box-shadow: 0px 0px 15px grey;
	}

	.section.header {
		padding: 20px 0;
	}
	
	.front-page-wrapper .section-inner {
		max-width: 100%;
	}
}

@media (min-width: 576px) {

	.post-container,
	.post-container-column {
		width: 100%;
		margin-top: 20px;
	}
	
	.post-content > .post-container:first-child,
	.post-content > .post-container-column:first-child {
    	margin-top: 20px;
	}
	
	.section.header {
		padding: 20px 0;
	}

}

@media (min-width: 768px) {

	.post-container,
	.post-container-column {
		width: 100%;
		margin-top: 20px;
	}
	
	.post-content > .post-container:first-child,
	.post-content > .post-container-column:first-child {
    	margin-top: 20px;
	}

}

@media (min-width: 992px) {

	.post-container,
	.post-container-column {
		float: left;
		max-width: calc(33% - 38px);
		width: calc(33% - 38px);
		min-width: 230px;
		margin-left: 30px;
		margin-top: 30px;
	}

	.post-content > .post-container:first-child,
	.post-content > .post-container-column:first-child {
    	margin-top: 30px;
	}
}

@media (min-width: 1200px) {

	.post-container,
	.post-container-column {
		float: left;
		max-width: calc(25% - 38px);
		width: calc(25% - 38px);
		min-width: 230px;
		margin-left: 30px;
		margin-top: 30px;
	}
	
	.post-content > .post-container:first-child,
	.post-content > .post-container-column:first-child {
    	margin-top: 30px;
	}

}

