/*
 Theme Name:   Calenda
 Theme URI:    
 Description:  Child Theme Calenda
 Author:       Calenda
 Author URI:   http://example.com
 Template:     rams
 Version:      1.0.0
 Text Domain:  rams-child
*/

@import url("../rams/style.css");
@import url("../../../css/gemensam.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/* Ändring av rams theme */

.blog-title:after {
	margin: 22px 0;
}



.post-content {
	font-family: 'Open Sans', sans serif;
}

/* Grundlayout */

#login form p {
	color: #50575e;
}

body {
	font-size: 0.9em;
}

#sidebarlogo {
/*    background-color: #fff;
    margin-bottom: 30px; */
}

.sidebar {
	padding-top: 2.5%;
}

.toplink {
	margin-left: 250px;
	background-color: #FFFFFF;
	background-image: url("../../../images/logo_calenda.png");
	background-position: center 23px;
	background-repeat: no-repeat;
}

.toplink-inner {
    margin: 0 auto;
    max-width: 84%;
    width: 800px;
    text-align: right;
    padding-top: 3px;
}

a.calendalink {
    padding-bottom: 3px;
    display: inline-block;
    margin-bottom: 100px;
    color: #0833D6;
    border-bottom: 1px solid #FFFFFF;
}

a.calendalink:hover {
    border-bottom: 1px solid #0833D6;
}

/* meny  */

.menu-item-has-children > a {
    font-size: large;
    margin-top: 40px;
}

.main-menu .sub-menu {
    margin-right: 0px;
}

.main-menu .sub-menu a {
    font-weight: normal;
}

.main-menu li {
    margin-top: 10px;	
}

.sub-menu li {
    margin-top: 10px;
}

/* Sökfält i vänstermarginalen */

#leftsearch {
    color: #fff;
    margin-top: 10%;
    text-align: right;
}

#leftsearch .search-form input {
    background-color: #fff;
    width: 100%;
}

.post-title a {
	color: #062595;
}

.post-content h2 {
	color: #0833d6;
	font-weight: normal;
	clear: both;
}

.posts .post, .posts .page {
	border: 1px solid #c2cffe;
	
}

/* Sidlayout */

.tag-meta > p {
    font-size: 1.2em;
    line-height: 1.5em;
    text-align: center;
}

.page-title h4 {
    color: #666;
    font-size: 2em;
    margin-bottom: 2em;
}


/*  Startsidan  */

.cagegorytitles {
    background-color: #FFFFFF;
    float: left;
    height: 14em;
    margin-top: 30px;
    width: 49%;
}

.nyheter, .support {
	margin-right: 2%;
}

.cagegorytitles > h2 {
    font-size: 1.4em;
    padding: 15px;
    padding-left: 60px;
    background-color: #0833D6;
    color: #ffffff;
	margin-bottom: 25px;
	margin-top: 0;

}

.cagegorytitles > ul {
}

.cagegorytitles > ul > li {
    padding-bottom: 10px;
}

.cagegorytitles > p {
	padding-left: 20px;
	line-height: 1.5em;
}

.cagegorytitles > ul > li a {
    color: #ff5423;
    padding: 20px;
}

.cagegorytitles > p > a {
    color: #ff5423;
}

.onlinehjalp h2 {
	background-image: url("../../../images/knapp-hjalp.png");
	background-repeat: no-repeat;
	background-position: 12px center;
}

.drift h2 {
	background-image: url("../../../images/knapp-drift.png");
	background-repeat: no-repeat;
	background-position: 12px center;
}

.nyheter h2 {
	background-image: url("../../../images/knapp-nyheter.png");
	background-repeat: no-repeat;
	background-position: 12px center;
}

.support h2 {
	background-image: url("../../../images/knapp-support.png");
	background-repeat: no-repeat;
	background-position: 12px center;
}

.post-content .alignleft, .post-content .alignright {
	margin-bottom: 0.1em;
}

.post-content ul, .post-content ol {
	padding-left: 2em;
}

.post-content dd + dt {
    margin-top: 4em;
    border-bottom: 1px solid #c2cffe;
}

@media screen and (max-width: 930px) {  
#leftsearch {
	text-align: left;
}

.toplink {
	margin-left: 7%;
	margin-right: 7%;
	margin-bottom: 7%;

}
}

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

#leftsearch .search-form input {
	padding: 10px;
}



}

@media screen and (max-width: 600px) {  
  
.toplink {
	background-size: 9	0%;
	background-position: center center;
}

#sidebarlogo {
	padding-top: 30px;
	}
	
.cagegorytitles {
    width: 100%;
    margin-top: 15px;
    height: 11em;
}  

.cagegorytitles > h2 {
	margin-bottom: 10px;
}
  }