/*
Theme Name: AFM
Author: Melinda Mittens Evrell
Description: ett specifikt tema för AFM
Version: 0.0.2
Tags: AFM
*/
/*Responsive settings*/
* {
	box-sizing: border-box;
}
/* For mobile phones: */
[class*="col-"] {
	width: 100%;
	padding:0.5em;
	margin:0px;
	float: left;
}
	.col-m-1 {width: 8.33%;}
	.col-m-2 {width: 16.66%;}
	.col-m-3 {width: 25%;}
	.col-m-4 {width: 33.33% ;}
	.col-m-5 {width: 41.66%;}
	.col-m-6 {width: 50%;}
	.col-m-7 {width: 58.33%;}
	.col-m-8 {width: 66.66% ;}
	.col-m-9 {width: 75%;}
	.col-m-10 {width: 83.33%;}
	.col-m-11 {width: 91.66%;}
	.col-m-12 {width: 100%;}

.row {
	clear:both;
}
.float-right {
    float:right;
}
.float-left {
    float:left;
}
.hidden {
    display:none;
}
.clearfix:after {
    clear:both;
    content:"";
    height:0;
    display:block;
}
figure{
    margin-top:0;
}

/*end of responsive settings*/			
	
body {
	background-color:#e4e1d3;
    font-family: "futura-pt-n4", "futura-pt", Futura, Futura-Medium, "Futura Medium", 'Century Gothic', Arial, sans-serif;
    font-size:0.9em;
	color:#000000;
	margin:0;
	padding:0;
}

h1 {
	font-family: "futura-pt-n4", "futura-pt", Futura, Futura-Medium, "Futura Medium", 'Century Gothic', Arial, sans-serif;
	font-weight:400;
	font-size:2em;
	margin:0;
}
h2 {
	font-family: "futura-pt-n4", "futura-pt", Futura, Futura-Medium, "Futura Medium", 'Century Gothic', Arial, sans-serif;
	font-weight:400;
	font-size:2em;
	text-align:center;
}
h3 {
	font-family: "futura-pt-n4", "futura-pt", Futura, Futura-Medium, "Futura Medium", 'Century Gothic', Arial, sans-serif;
	font-weight:400;
	font-size:1.5em;
}
h4 {
	font-family: "futura-pt-n4", "futura-pt", Futura, Futura-Medium, "Futura Medium", 'Century Gothic', Arial, sans-serif;
	font-weight:400;
	text-align:center;
	font-size:1.5em;
}
h5 {
	font-weight:bold;
	font-size:1.1em;
	text-transform:uppercase;
	margin:0px;
	padding:0px;
}
h6 {
	font-weight:bold;
	text-align:center;
	font-size:1.1em;
	text-transform:uppercase;
	margin:0px;
	padding:0px;
}

a:link {
	color:#660088;
	text-decoration:none;
}
a:visited {
	color:#660088;
	text-decoration:none;
}
a:hover{
	color:#ff0090;
	text-decoration:none;
}
a.mm_button {
	background-color: rgba(0,0,0,0.1);
	color:#000;
	text-transform:uppercase;
	font-size: 0.8em;
	font-weight:bold;
	white-space:nowrap;
	border-radius:0.5em;
	padding:0.5em;
}
a.mm_button:hover {
	background-color: rgba(0,0,0,0.3);
	color:#e4e1d3;
}
a.mm_button_active {
    background-color:#005234 !important;
    color:#e4e1d3 !important;
}
a.mm_footer_button {
	background-color: rgba(0,0,0,0.3);
	color:#fffbdb;
	text-transform:uppercase;
	font-size: 1em;
	white-space:nowrap;
	border-radius:0.5em;
	padding:0.5em;
}
a.mm_footer_button:hover {
	background-color: rgba(255,255,255,0.1);
}
p {
padding-bottom:0.5em;
}
.sp-buttons {
    display:none;
	margin-top:-30px;
	opacity: 0.3;
}
.wpcf7 label {
	font-size:1em;
    padding: 0.5em;
    text-decoration: none;
    color: #fffbdb;
    font-weight: bold;
    display: inline-block;
    background-color:#005234;
    border-radius:0 0.5em 0 0;
    border: 1px solid #005234; 
}
.wpcf7 input:focus {
	background:#fff;
}
.wpcf7 input {
	background:white;
	border: 1px solid transparent;
	max-width:100%;
	padding: 0.5em;
	font-size:1em;
}
.wpcf7 textarea:focus {
	background:#fff;
}
.wpcf7 textarea {
	background:white;
	border: 1px solid transparent;
	width:600px;
	max-width:100%;
	height:200px;
	padding: 0.5em;
	font-size:1.3em;
}
input.wpcf7-submit {
	background-color: #005234;
	color:#fffbdb;
	border-radius:0.5em;
	font-weight:bold;
	font-family:'Times New Roman', Times, Georgia, serif;
	cursor:pointer;
}
.map {
	width:100%;
	height:250px;
	border-radius:0.5em;
	overflow:hidden;
}
.mm_small {
	font-size:0.7em;
}
.mm_wrapper {
	max-width:960px;
	margin-right: auto;
	margin-left: auto;
	padding:1em;
}
.mm_headwrap {
	background-color:#005234;
}
.mm_header {
	position: relative;
	text-align:center;
}
.mm_logo {
		display:inline-block;
		float:left;
		max-width:80%;
}
.mm_logo img {
	width:100%;
	min-width:120px;
}
.mm_train {
    width:120px;
    float:right;
}
.mm_train path{
	fill:#fffbdb;
}
/*new menu*/
/*Hide checkbox*/
input.mm_showmenu_chk[type=checkbox]{
    display: none;
}
/*Show menu when invisible checkbox is checked*/
input.mm_showmenu_chk[type=checkbox]:checked ~ .mm_menu{
    display: block;
}
.mm_showmenu{
	cursor:pointer;
}
.mm_hamburger {
	position:absolute;
	background:#005234;
	border-radius:0.5em;
	padding:0 0.3em;
	display:block;
	bottom:1em; 
	right:1em;
}
.mm_hamburger span {
	display:block;
	width: 35px;
	height: 5px;
	border-radius:2px;
	background-color: #fffbdb;
	margin: 6px 0;
}
/* old menu*/
.mm_menu {
 z-index:100;
 background-color:#005234;
 border:1px solid rgba(0,0,0,0.1);
 border-radius:0.5em;
 display:none;
 text-align:right;
}
.mm_menu ul {
	display:block;
	list-style-type:none;
	margin:0;
	padding:0;
}
.mm_menu ul li {

	float:left;
	width:100%;
}
.mm_menu ul li a {
	padding:0.3em;
	display:block;
	text-align:right;
	text-decoration:none;
	color:#fffbdb;

}
.mm_menu ul li a:hover {
	background:rgba(240,240,230,0.1);
	color:#908d7c;
}
.mm_menu ul li.current_page_item a {
	color:#c4c1b3;
	
}
.mm_menu ul li ul {
	z-index:100;
	visibility:hidden;
	position:static;
	transition: all 0.5s ease;
	margin-top:0.3em;
	left:0;
	display:none;
}
.mm_menu ul li:hover > ul, .mm_menu ul li ul:hover {
	visibility:visible;
	opacity:1;
	display:block;
}
.mm_menu ul li ul li a{
	display:block;
	background:rgba(240,240,230,0.1);
	padding-bottom:0.3em;
	width:100%;
	clear: both;
}
.mm_menu ul li ul li a:hover {
    background:rgba(245,245,245,.6);
}
.mm_menu_img {
	height:1.5em;
}
.mm_spacer {
	clear:both;
	height:2em;
}
.mm_divider {
	background: transparent url("images/divider.png") 50% 50% no-repeat;
    height: 1em;
    display: block;
    margin: 0.5em auto;
	clear:both;
}
.mm_component {
	padding:5px 5px 500px;
	margin-bottom:-500px;
}
.post {
	clear:both;
}
.mm_postimg{
	text-align:center;
}
.mm_post_entry {
	padding:.5em;
}
.mm_entry{
	margin-left:1em;
}
.mm_blog img {
	max-width:100%;
	height:auto;
}
.mm_blog a {
	color:#000;
}

.blog_right {
	padding-left:1em;
}

.mm_right {
	padding:.5em .5em 500px;
	margin-bottom:-500px;
}
.mm_right h2 {
	font-size:1.1em;
	text-align:left;
	text-transform:uppercase;
	font-weight:bold;
	font-family:'Times New Roman', Times, Georgia, serif;
}
.mm_right ul{
	padding-top:0px;
	padding-left:0px;	
	list-style-position: inside;
}
.mm_right ul li{
	color:#777;
	list-style:none;
	margin-bottom:1em;
	font-size:.95em;
	letter-spacing:0px;
}
.mm_right ul li a{
	color:#777;
	display:block;
	padding:4px 2px 2px 0px;
	border:none;
	background:transparent;
	transition: padding .1s ease-in-out;
}
.mm_right ul li:hover{
	background:transparent url("images/stripes.png") bottom left repeat;
	border-left:4px solid #3b3834;
	border-top:none;
	padding-left:10px;
	color:#000;
}
.mm_footer {
	background-color:#005234;
	color:#fffbdb;
	text-align:left;
}
.mm_footer h2 {
	font-size:1.1em;
	text-align:left;
	text-transform:uppercase;
	font-weight:bold;
	font-family:'Times New Roman', Times, Georgia, serif;
}
.mm_copyright {
	background-color:#003c26;
	font-size: 0.75em;
	color: #e4e1d3;
	padding:0.5em 1em 1em;
}
.mm_copyright a {
	color: #ccc;
}
.mm_copyright a:hover {
	color: #fff;
}
.grecaptcha-badge {
    display:none !important;
}
.footer {
padding:0.5em;
}
.mm_table {
border-collapse:separate;
width:auto
}
.mm_table th {
background-color: rgba(0,0,0,0.3);
text-align:center;
border-radius:0.5em;
padding:0.3em;
}
.mm_table td {
padding:0.3em;
background-color: rgba(255,255,255,0.1);
/*border: 0.1em dashed black;*/
border-radius:0.5em;
}
/* For tablets: */
@media only screen and (min-width: 600px) {
	.wp-block-columns {flex-wrap:nowrap;}
	.col-s-1 {width: 8.33%;}
	.col-s-2 {width: 16.66%;}
	.col-s-3 {width: 25%;}
	.col-s-4 {width: 33.33%;}
	.col-s-5 {width: 41.66%;}
	.col-s-6 {width: 50%;}
	.col-s-7 {width: 58.33%;}
	.col-s-8 {width: 66.66%;}
	.col-s-9 {width: 75%;}
	.col-s-10 {width: 83.33%;}
	.col-s-11 {width: 91.66%;}
	.col-s-12 {width: 100%;}
}

/* For desktop: */
@media only screen and (min-width: 768px) {
	.col-1 {width: 8.33%;}
	.col-2 {width: 16.66%;}
	.col-3 {width: 25%;}
	.col-4 {width: 33.33%;}
	.col-5 {width: 41.66%;}
	.col-6 {width: 50%;}
	.col-7 {width: 58.33%;}
	.col-8 {width: 66.66%;}
	.col-9 {width: 75%;}
	.col-10 {width: 83.33%;}
	.col-11 {width: 91.66%;}
	.col-12 {width: 100%;}
	.mm_header {text-align:left;}
	.mm_showmenu {display:none;}
	.mm_menu {margin-top:-2.5em; float:right; display:block; font-weight:550; top:unset; background:unset; border:unset; text-align:left; }
	.mm_menu ul { float:right; white-space: nowrap; display:block; list-style-type:none; margin:0; padding:0;}
	.mm_menu ul li {float:left; padding:0; position:relative; background:#005234; border-radius:0.5em; width:auto;}
	.mm_menu ul li a {	text-align:center; text-decoration:none; color:#fffbdb;}
	.mm_menu ul li a:hover {color:#908d7c; border-radius:0.5em;}
	.mm_menu ul li.current_page_item a {color:#c4c1b3;}
	.mm_menu ul li ul { z-index:100; background:rgba(0,82,52,.6); visibility:hidden; position:absolute; border-radius:0.5em; transition: all 0.5s ease; margin-left:0.3em; margin-top:-0.2em; left:0; display:none;}
	.mm_menu ul li:hover > ul, .mm_menu ul li ul:hover {visibility:visible;	opacity:1; display:block;}
	.mm_menu ul li ul li {padding:0; clear:both; background:unset;}
	.mm_menu ul li ul li a {padding:0.3; background:unset;}
	.mm_menu ul li ul li a:hover {background:rgba(245,245,245,.6); border-radius:0.5em;}
}

.mm_gallery_menu {
	display:block;
	padding:.5em .5em 500px;
	margin-bottom:-500px;
}
.mm_gallery_menu h2 {
	font-size:1.1em;
	text-align:left;
	text-transform:uppercase;
	font-weight:bold;
	font-family:'Times New Roman', Times, Georgia, serif;
}
.mm_gallery_menu ul{
	padding-top:0px;
	padding-left:0px;	
	list-style-position: inside;
}
.mm_gallery_menu ul li{
	color:#777;
	list-style:none;
	margin-bottom:1em;
	font-size:.95em;
	letter-spacing:0px;
}
.mm_gallery_menu ul li a{
	color:#777;
	display:block;
	padding:4px 2px 2px 0px;
	border:none;
	background:transparent;
	transition: padding .1s ease-in-out;
}
.mm_gallery_menu ul li.current-cat{
	background:transparent url("images/stripes.png") bottom left repeat;
	border-left:4px solid #3b3834;
	border-top:none;
	padding-left:10px;
	color:#000;
}
.mm_gallery_menu ul li:hover{
	background:transparent url("images/stripes.png") bottom left repeat;
	border-left:4px solid #3b3834;
	border-top:none;
	padding-left:10px;
	color:#000;
}
.uris-title {
    display:none;
}

