/*
 Theme Name: Rams-Child
 Theme URI:
 Description: Rams Name Child Theme
 Author: Your Name
 Author URI: http://www.yourdomain.com/
 Template: rams
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: Theme Name Child Theme
*/


/*
You can start adding your own styles here. Use !important to overwrite styles if needed. */

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

html {
    margin-top: 0px !important;
}

body {
	background-image: url("../rams-child/images/psychosoziale-beratung-wetzikon.jpg") !important;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;	
}
	
#logo {
	min-width: 150px;
	width: 60%;
	height: auto;
	padding: 10px 0 0 0;
}

#logo-desktop {
	display: none;
}

.home #logo-desktop-sidebar {
	display: none;
}

.bg-mint {
	background: transparent !important;
}

.post.single.post-22.page.type-page.status-publish.hentry.no-featured-image {
	background-color: #7f2726;	
}

.home .post-inner p {
	color: #f2f2f2 !important;
}	

.post-inner p, .post-inner li {
	font-family: "Hind", Helvetica, sans-serif;
	font-weight: 300 !important;
	font-size: 0.9em;
	line-height: 1.3em;
}	

.post-inner {
	background: rgba(253, 255, 240, 0.3);
	padding:10% 6% 10% 6%; 
}

.home .post-inner {
	/* background:#9E312F; */
	background: #AD2F36;
}

.post-content a {
    border-bottom: 0px;
    color: #D64240 !important;
    text-decoration: none;  
    font-weight: 500;
}

.post-content a:hover {
	 color: #7f2726 !important;
}

.post-content h2 {
   /*color: #C73D3C;*/
   color: #8f2e2d;
   font-size: 1.3em;
}

.post-content h2.h2-color-black {
	color: #444;
	font-size: 1.0em;
 } 

.post-content h1 {
	color: #C73D3C;
	margin:0px 0 20px !important;
 }

.post-content h4 {
    font-size: 1.0em;
    color: #8f2e2d;
    margin: 50px 0 15px;
    font-weight: 700;
 }

 .post-content h3 {
    font-size: 1.0em;
    color: #8f2e2d;
    margin: 50px 0 15px;
    font-weight: 700;
 }

span.menu, span.close {
    color: black;
}

.nav-toggle .bar {
	background: black;
}

.bg-dark {
    background: rgba(204, 185, 172, 0.3);
}

.home h1.post-title {
	display: none;
}

.home .intro-round {
	display: block;
}

.intro-round {
	margin: 0 auto;
	-moz-border-radius:200px;
	-webkit-border-radius:200px;
	border-radius: 200px;
	width: 340px;
	height: 340px;
	/* background-color: #7f2726; */
	background-color: #8C272B;
	text-align: center;
	margin-bottom: 30px;
	margin-top: 10px;
}

.intro-round {
	display: none;
}

.intro-round p {
	font-family: "Hind", Helvetica, sans-serif;
	text-align: center;
	font-weight: 300;
	font-size: 1.32em;
	line-height: 1.3em;
	color: #f2f2f2;
	padding: 20% 18% 0% 18% !important;
}

.bold {
	font-weight: 700;
}

.mobile-menu a {
	color: black;
}

ul.mobile-menu.bg-dark.hidden {
    margin-bottom: 25px !important;
}

.home .post-content {
	float: none;
}

.home .post-content a {
	color: #f2f2f2 !important;
	text-shadow: 1px 1px 3px #650000;
}

.home .post-content a:hover{
	color: #cab7aa !important;
}

.home .post-inner {
	float: none;
}

.main-menu .current_page_item > a {
    font-weight: 700;
}

ul.main-menu {
	    font-family: "Montserrat", Helvetica, sans-serif;
}

.post-content {
	font-family: "Hind", Helvetica, sans-serif;
}


#sidebar-footer {
    background: #cab7aa;
    padding: 15px;    
}

.textwidget {
	color: #343434;
	font-size: 0.8em;
	line-height: 1.5em;
}

.textwidget a {
	color: #f3f3f3;
	font-weight:400;
	margin-left: 12px;
}

.textwidget a:first-child {
	margin-left: 0px;
}

.textwidget a:hover {
	color: #3b3b3b;
}

.textwidget a:active {
	font-weight: 700 !important;
}

.textwidget .right {
	float: none;
}

.post-content input[type="submit"], .post-content input[type="reset"], .post-content input[type="button"] {
		background: #9E312F !important;
}

.post-content input[type="submit"], .post-content input[type="reset"], .post-content input[type="button"] {
	width: 100%;
	padding: 20px 16px;
}

.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 input[type="search"], .post-content textarea {
    border: 1px solid #eee;
	margin: 4px 0 4px 0;
	font-size: 0.9em;
}

.post-content input[type="submit"]:hover,
.post-content input[type="reset"]:hover,
.post-content input[type="button"]:hover {
	background: #D64240 !important;

}


.post-content input[type="text"]:focus,
.post-content input[type="email"]:focus,
.post-content input[type="tel"]:focus,
.post-content input[type="url"]:focus,
.post-content input[type="password"]:focus,
.post-content input[type="search"]:focus,
.post-content textarea:focus {
	background: #f9f9f9;
	color: #232323;
	outline: none;
}

.post-content label {
    font-weight: 500;
}

.profile {
	float: left;
	width: 100%;
}

.profile img{
	width: 250px;
}

.profile-text {
	float: left;
}

#sidebar-footer {
   position:fixed;
   left:0px;
   bottom:0px;
   width:100%;
}



.wrapper {
	padding-bottom: 90px;
}

.post-content.section-inner.thin {
    padding: 50px;
}

div.wpcf7-validation-errors {
    border: 1px solid #cab7aa;
    margin: 0 0 40px 0 !important;
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
	border: 1px solid #357524;
    margin: 0 0 40px 0 !important;
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors, .wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    font-size: 18px;
    line-height: 22px;
    padding: 10px;
    font-family: "Hind", Helvetica, sans-serif;
}

.post-content blockquote {
	background: white;
}

#menu-item-221 a {
	padding-top: 22px;
	line-height: 1.2em;
	border-top: 1px solid white;
}

.wp-block-media-text__content {
	padding:0 8% 0 0 !important;
}

.wp-block-media-text__content p.has-text-align-left {
    margin-left: 30px;
}

figure.wp-block-media-text__media img {
	width: 100%;
	max-width: 180px;
	padding-bottom: 32px;
}

.page-id-182 h1 {
	color: #00A5AE !important;
	margin: 10px 0px 0px !important;
}

.page-id-182 h2 {
	color: #C73D3C !important;
}

.page-id-182 h3 {
	color: #00A5AE !important;
}

.page-id-182 figure.wp-block-media-text__media img {
    max-width: 400px !important;
}	

@media (min-width: 459px){
	.wrapper {
		padding-bottom: 72px;
	}


}

@media only screen and (min-width: 569px) {
	#logo {
		width: 40%;
	}
	
	body {
		background-image: url("../rams-child/images/lebensberatung-seelsorge.jpg") !important;
	}
		
	.sidebar.bg-mint {
		padding: 5 0px !important;
	}	
	
	.post-inner p, .post-inner li{
		font-size: 0.8em !important;
		line-height: 1.4em;
	}	
	
	.intro-round {
		margin-top: 30px;
	}
	
	.intro-round p {		
		padding: 22% 17% 0% 17% !important;
		font-size: 1.3em !important;
		line-height: 1.3em !important;
	}

	.page-id-182 h1 {
		margin: 60px 0px 0px !important;
	}
	
}

@media only screen and (min-width: 601px) {
	.sidebar.bg-mint {
	    padding: 0px;
	}
	
	.intro-round p {
		padding: 21% 16% 0% 16% !important;
		font-size: 1.3em !important;
		line-height: 1.22em !important;
	}

	figure.wp-block-media-text__media img {
		max-width: 100%;
		padding-bottom: 0;
	}
}

@media (min-width: 640px){

	form.wpcf7-form {
	    width: 80%;
	}
}

@media (min-width: 701px){
	.home .wrapper {
	    margin: 0 !important;
	}	
	
	.home .post-inner {
	    padding: 7% 12% 7% 12%;
	}	
}

@media (min-width: 740px){ 
	.textwidget .right {
		float: right;
	}
	
	.wrapper {
		padding-bottom: 45px;
	}
}


@media only screen and (min-width: 931px) {
	#logo {
		display: none;
	}

	.home #logo-desktop {
		display: block;
		float: right;
		width: 25%;
		height: auto;
		margin: 1% 5% 0 5%;
		margin-top: -100px;
	}	
	
	#logo-desktop-sidebar {
    	margin-left: 5%;
	}	
	
	.sidebar {
		width: 290px;
	}
	
	.intro-round {
		margin-bottom: 90px;
		margin-top: 140px;
	}	
		
	.home .post-content {
		float: none;
	}
	
	.home .post-inner {
		float: none;
	}
	
	.sidebar.bg-mint {
	    background: transparent !important;
	}
	
	.main-menu li {
	    text-align: left;
	    padding-left: 20%;
	    line-height: 0.5em;
	}
	
	.sub-menu li {
		padding-left: 7%;
		line-height: 1.15em;
		margin-top: 10px;
		text-transform: none !important;
		letter-spacing: none !important;
	}
	
	.main-menu a {
		color: #f7f7f7; 
		text-transform: uppercase;
		font-weight: 600;
		letter-spacing: 2px !important;
		font-size: 0.8em !important;
		text-shadow: 2px 2px 9px #8cb599;
	}
	
	.sub-menu a {
		text-transform: none !important;
		letter-spacing: 0px !important;
	}
	
	.home ul.main-menu {
	    margin-top: 80px;
	    margin-left: 17%;
	}
	
	ul.main-menu {
	    margin-top: 90px;
	    margin-left: 15px;
	    width: 250px;
	}	
	
	/*
	.section-inner.wrapper-inner {
	    margin:0 !important;
	}
	*/
	
	.home .wrapper-inner {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
	}
	
	.home .post-inner {
	    padding: 3% 20% 5% 20%;
	}			
}

@media only screen and (max-width: 931px) and (min-width: 701px){
   .wrapper {
	    margin: 2% 7% 7% 7% !important;
	}	
}

@media (min-width: 1150px){
	.home ul.main-menu {
	    margin-left: 30%;
	}
}

@media only screen and (min-width: 1200px) {
		
	ul.main-menu {
		margin-left: 70px !important;
	}
	
	.home ul.main-menu {
		margin-left: 30% !important;
	}	
	
	home.sidebar {
		width: 0px;
	}
}

@media (min-width: 1250px){
	.home .post-inner {
		padding: 3% 25% 5% 25%;
	}		
}

@media (min-width: 1300px){
	.intro-round p {
		padding: 23% 16% 0% 16% !important;
		font-size: 1.4em !important;
		line-height: 1.3em !important;
	}
	
	.intro-round {
		-moz-border-radius:200px;
		-webkit-border-radius:200px;
		border-radius: 200px;
		width: 370px;
		height: 370px;
	}
	
	ul.main-menu ul.sub-menu{
		font-size: 1em;
		line-height: 1.2em !important;
		font-weight: 700;
	}
}

@media (min-width: 1400px){
	ul.main-menu {
	    width: 330px;
	}
}



@media only screen and (min-width: 1600px){
	.home #logo-desktop {
	   width: 22%;
	   margin-right: 7%;
	   margin-top: -80px;
	}
	
	.sub-menu li {
		line-height: 1.3em !important;
		padding-left: 15px !important;
		margin-top: 10px;
	}
	
	.main-menu li {
	    line-height: 0.9em;
	}
	
	.main-menu a {
		font-size:1em !important;
	}
	
	ul.main-menu {
		margin-top: 80px !important;
		width: 280px;
	}
	
	.sidebar.bg-mint {
	    margin-left: 5%;
	}	
		
	.home ul.main-menu {
		margin-top: 100px !important;
	}
	
	.wrapper-inner {
	    width: 950px !important;
	    max-width: 100% !important;
	}
	
	.home .wrapper-inner {
		width: auto !important;
		max-width: 100% !important;
	}		
}

@media screen and (min-height: 830px ){
	.intro-round {
	    margin-top: 240px;
	}	
	
	.home #logo-desktop {
    	margin-top: -160px;
    }
}


.cookies-not-accepted #sidebar-footer {
	padding-bottom: 60px !important;
}

#cn-notice-text, #cn-accept-cookie, #cn-more-info {
	font-size: 14px;
	font-weight: bold;
}

.cookie-notice-container {
	background-color: white !important;
    color: black !important;
}











.news-container ul {
	margin-left: 0;
}
.news-container ul li {
	display: block;
	margin-bottom: 50px;
}
.news-container h3 {
	margin-top: 0;
	font-size: 1.3em;
}
.news-container .post {
	background-color: inherit;
}

.single-post .featured-media img {
	width: 100%;
	max-width: 700px;
	aspect-ratio: auto;
	padding-left: 6%;
	padding-right: 6%;
	padding-top: 6%;
}

.single-post .post-inner {
	padding-top: 40px;
}

h2#news {
	color: white;
}