/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Divi Child Theme
 Author:         Smode Webbyrå
 Author URI:     http://www.smode.se
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");

/* FONTS */
@font-face {
  font-family: 'BrownStd-Regular';
  src: url('webfonts/BrownStd-Regular.eot'); /* IE9 Compat Modes */
  src: url('webfonts/BrownStd-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('webfonts/BrownStd-Regular.otf') format('opentype'), /* Open Type */
       url('webfonts/BrownStd-Regular.woff') format('woff'), /* Pretty Modern Browsers */
       url('webfonts/BrownStd-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('webfonts/BrownStd-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */
}
@font-face {
  font-family: 'BrownStd-Bold';
  src: url('webfonts/BrownStd-Bold.eot'); /* IE9 Compat Modes */
  src: url('webfonts/BrownStd-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('webfonts/BrownStd-Bold.otf') format('opentype'), /* Open Type */
       url('webfonts/BrownStd-Bold.woff') format('woff'), /* Pretty Modern Browsers */
       url('webfonts/BrownStd-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('webfonts/BrownStd-Bold.svg#svgFontName') format('svg'); /* Legacy iOS */
}

h1, h2, h3, h4, h5, h6, p, li, td {
	-text-shadow: 0 0 1px rgba(0,0,0,0.3);
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
}
 
/* =Theme customization starts here
------------------------------------------------------- */
body {
	font-family: 'BrownStd-Regular', sans-serif;
	line-height: normal;
	background-color: #ffffff;
}

strong {
	font-family: 'BrownStd-Bold', sans-serif;
}
span:hover {
	/* text-decoration: none !important; */
}
a {
	/* text-decoration: none; */
	/* color: #777777 !important; */
}
a:hover {
	/* text-decoration: none; */
	/* color: #666666 !important; */
	-webkit-transition: 300ms;
    -moz-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
}

/* #et_search_icon:hover, .mobile_menu_bar:before, .mobile_menu_bar:after, .et-social-icon a:hover, .comment-reply-link, .form-submit input, .entry-summary p.price ins, .woocommerce div.product span.price, .woocommerce-page div.product span.price, .woocommerce #content div.product span.price, .woocommerce-page #content div.product span.price, .woocommerce div.product p.price, .woocommerce-page div.product p.price, .woocommerce #content div.product p.price, .woocommerce-page #content div.product p.price, .woocommerce .star-rating span:before, .woocommerce-page .star-rating span:before, .woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce button.button.alt, .woocommerce-page button.button.alt, .woocommerce input.button.alt, .woocommerce-page input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce-page #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce a.button, .woocommerce-page a.button, .woocommerce button.button, .woocommerce-page button.button, .woocommerce input.button, .woocommerce-page input.button, .woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce #content input.button, .woocommerce-page #content input.button, .woocommerce a.button.alt:hover, .woocommerce-page a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce-page button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce-page input.button.alt:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce-page #respond input#submit.alt:hover, .woocommerce #content input.button.alt:hover, .woocommerce-page #content input.button.alt:hover, .woocommerce a.button:hover, .woocommerce-page a.button:hover, .woocommerce button.button, .woocommerce-page button.button:hover, .woocommerce input.button:hover, .woocommerce-page input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce-page #respond input#submit:hover, .woocommerce #content input.button:hover, .wp-pagenavi span.current, .wp-pagenavi a:hover, .et_password_protected_form .et_submit_button, .nav-single a, .posted_in a, #top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a, .bottom-nav li.current-menu-item > a, .footer-widget h4 {
    color: #E2D3DF;
} */


#logo {
	max-height: 100%;
}
/* 
p {
	line-height: 1.5em;
}
p:last-of-type {
    padding-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'BrownStd-Regular', sans-serif;
	text-decoration: none !important;
	font-weight: normal;
    line-height: normal;
    margin-bottom: 3%;
}
 */
h1 {
	/* font-size: 34px !important; */
}
h2 {
	/* font-size: 28px !important; */
}
h3 {
	/* font-size: 20px !important; */
}
h4 {
	/* font-size: 14px !important; */
}

nav, .callbacks, .disable-destroy, .show-hide, .dialog, .all-themes-switch, .scrollTo {
    background: #fff;
}
footer {
    margin-top: 0;
    margin-bottom: 0;
    color: #bbb;
    font-size: 12px;
}
nav ul li {
	margin: 0;
}
.site-width {
	max-width: 1080px;
	width: 100%;
	margin: auto;
	position: relative;
}
.editlink {
	text-decoration: none;
}
.et_pb_button {
	text-decoration: none;
}
.widget_recent_entries li {
	padding: 15px 0px;
}
.widget_recent_entries .post-date {
	font-size: 12px;
	color: #B58EAD;
	display: block;
}
.button,
.alm-load-more-btn {
    font-size: 15px;
    background: transparent;
    border-radius: 0px;
    font-weight: bold;
	padding: 2%;
	border: 0;
    font-style: normal;
	color: #222;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	font-family: 'BrownStd-Regular', sans-serif;
}
.button:hover,
.alm-load-more-btn:hover {
    background: transparent;
	text-decoration: none;
}
.alm-btn-wrap {
	clear: both;
	position: relative;
	text-align: center;
	padding: 10px 0;
	text-decoration: none;
}
#top-menu {
	font-weight: normal;
}
	.nav li ul {
		border-top: 3px solid #E2D3DF !important;
	}
	.nav ul li a:hover, .et_mobile_menu li a:hover {
		background-color: #ece2ea;
	}
.language-switcher-divi {
	right: 0;
	z-index: 100;
	position: absolute;
    padding: 10px 30px;
}
.language-switcher-divi li {
	float: left !important;
}
.language-switcher-divi a {
	text-decoration: none;
}
.language-switcher-divi a:hover {
	color: #222 !important;
}
#main-header {
	-webkit-box-shadow: 0 0px 0 rgba(0, 0, 0, 0.0);
	-moz-box-shadow: 0 0px 0 rgba(0, 0, 0, 0.0);
	box-shadow: 0 0px 0 rgba(0, 0, 0, 0.0);
}
#smode-page-circles .page-circle {
	border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 200px;
    max-height: 200px;
}
#smode-page-circles .circle-profile {
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 200px;
    max-height: 200px;
}
	#smode-page-circles .circle-profile img {
		width: 100%;
		height: 100%;
	}	
.about-block p {
	background-color: rgba(255, 255, 255, 0.8);
	padding: 30px 15px !important;
	margin-bottom: 10px;
}
.ecs-event-list {
    padding: 0;
	margin: 0;
	text-align: center;
}
.ecs-event-list .ecs-event {
    padding-left: 40px;
    background-image: url('img/logo-big-grey.png');
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: top left;
    list-style-type: none;
    text-align: left;
    min-height: 80px;
    margin-right: 30px;
}
	.ecs-event-list p {
		padding-bottom: 1.5em;
		line-height: 15px;
	}
	.ecs-event-list .ecs-event a {
		font-weight: bold;
		font-size: 13px;
		text-decoration: none;
	}
		.ecs-event-list .ecs-event a:hover {
			text-decoration: underline;
		}

.publications-filter .et_pb_portfolio_item {
	min-height: 200px;
	margin-right: 10px;
	padding: 15px;
	background-color: #E2D3DF;
}
.publications-filter .et_pb_portfolio_item a {
	text-decoration: none;
}

#publications .button {
	font-size: 12px;
	background: #000000;
	border-radius: 0px;
	font-weight: normal;
	padding: 10px;
	margin-left: 5px;
	border: 0;
	height: 37px;
	font-style: normal;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
	float: left;
	display: inline-block;
	line-height: 21px;
}
	.public-table {
		width: 100%;
		text-align: left;
		border-top: 0;
		margin-bottom: 30px;
		border: 1px solid #ddd;
	}
		.public-table th,
		.public-table td {
			padding: 2%;
			border: 1px solid #ddd;
		}
		.public-subheader {
			background-color: #EFEAEE;
			padding: 2%;
		}
		.public-editlink {
			font-size: 11px;
		}
		.public-btn {
			text-align: center;
			font-size: 13px;
			color: #000;
			display: block;
			text-decoration: underline;
			-webkit-transition: 200ms;
			-moz-transition: 200ms;
			-o-transition: 200ms;
			transition: 200ms;
		}
		.public-btn:hover {
			color: #333;
			font-weight: normal;
		}
		.public-filter {
			position: relative;
			margin: 15px 0;
		}
		.public-search {
			float: left;
		}
		.public-search-label {
			
		}
		.public-search-field {
			padding: 10px;
			border: 1px solid #d7d7d7;
		}

#partners {
	background-color: #F7F7F7;
	text-align: center;
	padding: 4% 0;
}
	.partner-header {
		line-height: 1.9em;
		margin-bottom: 3%;
		padding-bottom: 27px;
		border-bottom: 1px solid #333;
	}
	.partner-list {
		padding: 0;
		margin: 0;
		text-align: center;
		position: relative;
	}
		.partners-carousel .partner-list-item {
			list-style-type: none;
			display: inline-block;
			position: relative;
			text-align: center;
		}
		.partners-carousel .partner-img {
			width: 180px;
			height: 180px;
			position: relative;
			background-size: 160px;
			background-repeat: no-repeat;
			background-position: center;
			clear: both;
			background-color: #fff;
			display: inline-block;
			margin: 5%;
		}
		.partners-carousel .partner-tooltip {
			background-color: rgba(255, 255, 255, 0.3);
			position: absolute;
			width: 100%;
			height: 100%;
			display: none;
		}
		
		/* big list */
		.partners-biglist {
			margin: 0 auto;
		}
		.partners-biglist-bg {
			background-size: cover;
			background-attachment: fixed;
		}
		.partners-biglist .partner-list-item {
			list-style-type: none;
			display: inline-block;
			margin-bottom: 15px;
		}
		.partners-biglist .partner-img {
			width: 200px;
			height: 180px;
			position: relative;
			background-size: 160px;
			background-repeat: no-repeat;
			background-position: center;
			clear: both;
			background-color: #fff;
			display: block;
		}
		.partners-biglist .partner-tooltip {
			background-color: rgba(255, 255, 255, 0.4);
			position: relative;
			display: block;
			padding: 15px;
			word-break: break-word;
		}
		.grid-list-item { 
			width: 200px;
		}

#news {
	text-align: center;
}
#news ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
	#news li {
		display: inline-block;
		background-color: #fff;
		width: 300px;
		height: 440px;
		text-align: left;
		position: relative;
		margin: 10px;
		vertical-align: top;
		overflow: hidden;
	}
	#news img {
		width: 100%;
		display: block;
	}
	#news .link-img {
		overflow: hidden;
		height: 170px;
		width: 300px;
		display: block;
		background-color: #E2D3DF;
		position: relative;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}
	#news a {
		text-decoration: none;
	}
	#news .read-more {
		display: none !important;
	}
	#news h3 {
		padding: 20px 10px 10px 20px;
		font-size: 14px;
	}
	#news p {
		padding: 20px;
	}
	#news .entry-meta {
		padding: 0 20px;
	}
	.single-post .type-post .et_post_meta_wrapper img{
		display: none !important;
	}
	.single .entry-date {
		padding-bottom: 20px;
		color: #B58EAD;
		display: block;
	}
		.single .post-meta .author,
		.single .post-meta a {
			display: none !important;
		}
		.single .post-meta .published {
			font-size: 14px;
			color: #333;
		}

#twitter-widget-0 {
	max-height: 425px;
}
.twitter-box p {
	background-image: url(img/twitter-logo.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: left;
    display: inline-block;
    padding-left: 35px;
}
.recent-happenings {
	padding-left: 5.5% !important;
}
.recent-happenings .et_pb_column {
	border-right: 1px solid #222;
	padding-right: 5.5%;
	max-height: 535px;
}
	.recent-happenings .et_pb_column:last-child {
		border-right: 0px !important;
		padding-right: 5.5%;
	}
	.recent-happenings .et_pb_image_container {
		margin: 0px;
	}
	.news-feed-frontpage {
		max-height: 425px;
		overflow: auto;
	}
	.news-feed-frontpage article {
		border-bottom: 1px solid #ddd;
		margin-bottom: 20px;
		padding: 12px 0px 10px 0px;
		line-height: 1.5em;
	}
	.news-feed-frontpage p {
		color: #000 !important;
		font-size: 12px !important;
	}
	.news-feed-frontpage .post-meta {
		display: block;
		clear: both;
		margin: 0;
		padding: 5px 0;
		color: #000 !important;
		font-size: 12px !important;
	}
	.news-feed-frontpage .et_pb_post h2 {
		margin-top: 10px;
		padding: 0;
	}
	.news-feed-frontpage .et_pb_post .entry-title {
		width: 100%;
		display: block;
		word-break: normal;
		margin: 10px 0 0 0;
		color: #000 !important;
		font-size: 12px !important;
	}
	.news-feed-frontpage .et_pb_post .entry-featured-image-url {
		height: auto;
		width: 140px;
		left: 0;
		padding-right: 14px;
		display: block;
	}
	.news-feed-frontpage .et_pb_post a img {
		width: 100%;
	}
	@media only screen and (max-width: 980px) {
		.news-feed-frontpage .et_pb_post .entry-featured-image-url {
			float:none;
			width:100%;
			height: 300px;
		}
	}
	.news-feed-frontpage .entry-featured-image-url {
		overflow: hidden;
		display: block;
		height: 100px;
	}
	.event-class {
		padding: 12px 0px 10px 0px;
	}

.media-header {
	font-weight: bold;
	text-align: center;
	font-size: 30px;
	color: #222;
	line-height: 1.9em;
	margin-bottom: 3%;
}
#media ul {
	padding: 0;
	margin: 0;
	text-align: center;
}
	#media a:hover {
		color: #111;
	}
	#media li {
		text-align: center;
		list-style-type: none;
		display: inline-block;
		padding: 5%;
		margin: 2%;
		background-color: #fff;
		width: 300px;
		height: 300px;
		vertical-align: top;
	}
	#media .media-list-title {
		font-size: 20px;
	}
	#media .media-list-date {
		font-size: 15px;
	}
.et_pb_post .entry-content {
    padding-top: 0px;
}		
#footer-bottom .container {
	max-width: 180px;
}		
#footer-info {
    float: left;
	margin-top: 10px;
    padding-bottom: 0px;
	font-size: 12px;
    text-align: center;
	display: none;
}
#footer-bottom .et-social-icon a {
    color: #ffffff;
    border: 1px solid #E2D3DF;
    border-radius: 25px;
    width: 50px;
    height: 50px;
    line-height: 60px;
}
#footer-bottom .et-social-icon a:hover {
	opacity: 1;
	background-color: #E2D3DF;
}
.et-social-icons {
    float: none;
}
#main-footer {}
	#main-footer input,
	#main-footer textarea {
		padding: 12px;
   		border: 0;
    	font-family: inherit;
    	max-width: 100%;
    	font-size: 13px;
	}
	#main-footer input[type="submit"] {
		background-color: #fff;
		color: #BBB4AE;
		padding: 12px;
		float: right;
		cursor: pointer;
		font-size: 13px;
	}
	::-webkit-input-placeholder {
	   color: #BBB4AE;
	}

	:-moz-placeholder { /* Firefox 18- */
	   color: #BBB4AE;  
	}

	::-moz-placeholder {  /* Firefox 19+ */
	   color: #BBB4AE;  
	}

	:-ms-input-placeholder {  
	   color: #BBB4AE;  
	}
	#main-footer .widget_sp_image .title {
		display: none;
	}
		#main-footer .widget_sp_image img {
			margin-top: 32px;
		}
.footer-widget .widget_sp_image {
	float: left;
	margin: 0 !important;
	padding-bottom: 5%;
}		
.tribe-events-page-template {
}
.white-box80 {
	background-color: rgba(255, 255, 255, 0.8);
	padding: 2%;
}

.stream {
    width: 277px !important;
}
	
.textblock-white1 {
	background-color: rgba(255, 255, 255, 0.1);
	display: inline-block;
	padding: 2%;
}
.textblock-white2 {
	background-color: rgba(255, 255, 255, 0.2);
	display: inline-block;
	padding: 2%;
}
.textblock-white3 {
	background-color: rgba(255, 255, 255, 0.3);
	display: inline-block;
	padding: 2%;
}
.textblock-white4 {
	background-color: rgba(255, 255, 255, 0.4);
	display: inline-block;
	padding: 2%;
}
.textblock-white5 {
	background-color: rgba(255, 255, 255, 0.5);
	display: inline-block;
	padding: 2%;
}
.textblock-white6 {
	background-color: rgba(255, 255, 255, 0.6);
	display: inline-block;
	padding: 2%;
}
.textblock-white7 {
	background-color: rgba(255, 255, 255, 0.7);
	display: inline-block;
	padding: 2%;
}
.textblock-white8 {
	background-color: rgba(255, 255, 255, 0.8);
	display: inline-block;
	padding: 2%;
}
.textblock-white9 {
	background-color: rgba(255, 255, 255, 0.9);
	display: inline-block;
	padding: 2%;
}
.textblock-white10 {
	background-color: white;
	display: inline-block;
	padding: 2%;
}
.block-pink {
	background-color: #E2D3DF;
	padding: 5%;
	min-height: 220px;
}

.lang-item a {
	font-size: 13px !important;
	color: #757373 !important;
}
.lang-item {
	padding-right: 5px !important;
}

.addtoany_shortcode img,
.addtoany_share_save_container img {
	width: 40px !important;
	padding-right: 5px!important;
}
@media only screen and (max-width: 1230px) {

}
@media only screen and (max-width: 980px) {
	.et_pb_row, .et_pb_column .et_pb_row_inner {
		padding: 0;
	}
	.recent-happenings .et_pb_column {
		border-right: 0px solid #fff;
	}
	.language-switcher-divi {
		float: right;
		z-index: 100;
		position: relative;
		padding: 29px 20px;
	}
	#et-top-navigation {
		padding-left: 0px !important;
	}
}
@media only screen and (max-width: 779px) {
	.footer-widget {
		float: none!important;
	}
	.et_pb_widget {
		float: none !important;
	}
	#main-footer input, 
	#main-footer textarea {
		width: 100%;
	}
	.et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
		width: 100%;
	}
	#et-top-navigation {
		padding-left: 0px !important;
	}
}
@media only screen and (max-width: 700px) {
	.recent-happenings .et_pb_column {
		border-right: 0px solid #fff;
	}
	#main-footer input, 
	#main-footer textarea {
		width: 100%;
	}
	.et_pb_widget {
		float: none !important;
	}
	.footer-widget {
		float: none!important;
	}
	.et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
		width: 100%;
	}
	#et-top-navigation {
		padding-left: 0px !important;
	}
	.news-feed-frontpage .et_pb_post .entry-featured-image-url {
		height: auto;
	}
}
@media only screen and (max-width: 480px) {
	#news li {
		width: 200px;
		height: auto;
	}	
	.news > a {
		height: 120px;
	}
	.recent-happenings .et_pb_column {
		border-right: 0px solid #fff;
	}
	#smode-page-circles .et_pb_image_3,
	#smode-page-circles .et_pb_image_4,
	#smode-page-circles .et_pb_image_5 {
		width: 250px !important;
		height: 250px !important;
	}
	.et_pb_widget {
		float: none !important;
	}
	#main-footer input, 
	#main-footer textarea {
		width: 100%;
	}
	.footer-widget {
		float: none!important;
	}
	.et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
		width: 100%;
	}
	#et-top-navigation {
		padding-left: 0px !important;
	}
	.news-feed-frontpage .et_pb_post .entry-featured-image-url {
		height: auto;
	}
}
