/*
-----------------------------------------------
Styles
----------------------------------------------- */

/* Reset
----------------------------------------------- */

/* general reset */
html {
	color:#323232;
	background:#fff;
	overflow-y: scroll;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym {border:0;font-variant:normal;}
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
input,textarea,select{*font-size:100%;}
legend{color:#000;}
table {font-size:inherit;font:100%;}
pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
strong {font-weight: bold;}
i,em {font-style: italic;}

/* apply a natural box layout model to all elements */
* { 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
}

/* stops ie 7 badly scaling images */
img { -ms-interpolation-mode: bicubic; }

/* selection highlight */
::selection { 
	background: #30788C; 
	color: #fff; 
	text-shadow: none;
}
::-moz-selection { 
	background: #30788C; 
	color: #fff; 
	text-shadow: none;
}

body {
	text-align:center;
	color:#323232;
	font: 100% Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
}
p {
	margin: 1em 0;
	line-height: 160%;
}
blockquote {
	font-style: italic;
	color: #666;
	padding: 0 20px;
	
}
article blockquote p:first-child {
	font-size: 1em;
}
article ol {
	list-style: decimal;
}
article ol li {
	list-style: decimal;
	margin: 0.3em 0;
	line-height: 160%;
}
article ul {
	list-style: disc;
}
article ul li {
	margin: 0.3em 0;
	line-height: 160%;
	list-style: disc;
}
article img {
	max-width: 100%;
	height: auto;
}
article iframe {
	width: 100%;
}
article .wp-caption {
	max-width: 100%;
}
article .wp-caption-text {
	font-style: italic;
	margin: 0;
	text-align: center;
}

/* Links
----------------------------------------------- */
a { color: #30788C; text-decoration: none; }
a:link { color: #30788C; text-decoration: none;}
a:visited { color: #30788C; }
a:hover { color: #30788C; text-decoration: underline;}
a:active { color: #30788C; text-decoration: none;}



/* Headings
----------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	
}
h1 {
	font-size: 2.063em;
	margin: 20px 0 0 0;
	line-height: 120%;
}
h2 {
	font-size: 1.375em;
	margin: 2em 0 0 0;
	line-height: 130%;
}


/* Layout
----------------------------------------------- */

html, body {
	background-size: 100%;
	background-attachment: fixed;
	background-position: top center;
	background-repeat: no-repeat;
}
html.home, body.home, body.page-id-943 {
	background-image: url(../images/header/header_01.jpg);
}
html.archive, body.archive {
	background-image: url(../images/header/header_03.jpg);
}
body.category {
	background-image: none;
}
html.search-results, body.search-results, 
html.search-no-results, body.search-no-results {
	background-image: url(../images/header/header_04.jpg);
}
html.archive.author-krista , body.archive.author-krista {
	background-image: url(../images/header/header_krista.jpg);
}

body.page-id-1015 .head-space, body.page-id-1018 .head-space {
	height: 8em;
}

#header {
	max-width: 1130px;
	width: 95%;
	margin: 0 auto;
	text-align: left;
	padding-left: 110px;
	color: #fff;
}
#rest {
	background: #fff;
	float: left;
	clear: both;
	width: 100%;
	padding-bottom: 50px;
}
#rest #content {
	max-width: 1130px;
	width: 95%;
	margin: 0 auto;
	text-align: left;
	padding-left: 110px;
}



/* Header
----------------------------------------------- */

#badge {
	width: 74px;
	height: 75px;
	position: fixed;
	display: block;
	margin-top: 40px;
	margin-left: -100px;
}
#badge img {
	width: 100%;
	height: auto;
}
h1#home {
	width: 232px;
	height: 171px;
	float: left;
	clear: both;
	background: url(../images/page/life-in-riga-big.png) 0 0 no-repeat;
	background-size: 100%;
	text-indent: -9999px;
	font-size: 1em;
	margin-top: 20.625em;
	margin-bottom: 0;
}
p#tagline {
	font-size: 1.375em;
	font-style: italic;
	float: left;
	clear: left;
	line-height: 120%;
	margin: 10px 0 70px 0;
}
p.head-space {
	height: 28em;
	margin: 0;
}



/* Main
----------------------------------------------- */

#primary {
	width: 75%;
	float: left;
	padding-top: 20px;
	min-height: 500px;
}
#sidebar {
	width: 25%;
	float: left;
	padding: 90px 20px 20px 20px;
	font-size: 0.875em;
}




/* Listing & Articles
----------------------------------------------- */

.listing {
	width: 100%;
	float: left;
	clear: left;
	padding: 20px 0;
	border-bottom: 1px solid #ccc;
}
.listing h2 {
	font-size: 2.063em;
	margin: 0;
	text-transform: capitalize;
}
.listing img {
	float: right;
	width: 25%;
	height: auto;
	margin-top: 10px;
}
.listing .text {
	float: left;
	width: 75%;
	padding-right: 20px;
}
ul.meta {
	font-size: 0.750em;
	margin: 10px 0 0 0;
}
ul.meta li {
	float: left;
	margin-right: 20px;
}
.listing p {
	margin: 10px 0 0 0;
	float: left;
	clear: left;
}

article {
	width: 100%;
	float: left;
	clear: left;
	margin: 10px 0 0 0;
	padding-bottom: 1em;
	border-bottom: 1px solid #ccc;
}
article p:first-child {
	font-size: 1.125em;
}

.share {
	width: 100%;
	float: left;
	clear: both;
	padding: 1em 0;
	border-bottom: 1px solid #ccc;
}

.shareunit {
	width: auto;
	float: left;
	margin-right: 1em;
	
}
.comments {
	width: 100%;
	float: left;
	clear: both;
	padding: 1em 0;
}

.section {
	width: 100%;
	float: left;
	clear: left;
}
.section h2 {
	margin-top: 20px;
}

.listing-small {
	width: 33%;
	float: left;
	margin-top: 10px;
	padding: 0 20px 0 0;
}
.listing-small img {
	width: 100%;
	height: auto;
}
.listing-small h2 {
	margin-top: 10px;
	line-height: 110%;
}
.listing-small ul.meta li {
	margin-right: 10px;
}

nav.post-navigation {
	width: 100%;
	float: left;
	clear: both;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #ccc;
}
.post-navigation .nav-links a[rel="prev"]{
	float: left;
}
.post-navigation .nav-links a[rel="next"]{
	float: right;
}
.screen-reader-text {
	display: none;
}

p.guest {
	padding: 10px;
	background: #cce6f1;
	border: 1px solid #99b5c2;
	margin-top: 3em;
}
p.guest a {
	color: #167fc9;
}

/* Sidebar
----------------------------------------------- */

.widget-area {
	border-top: 1px solid #ccc;
}
.widget-area aside {
	width: 100%;
	float: left;
	clear: left;
	border-bottom: 1px solid #ccc;
	padding: 20px 0;
}

aside .widget-title {
	display: none;
}
form.search-form {
	
}
.search-form .screen-reader-text {
	display: none;
}
input.search-field {
	width: 100%;
	padding: 5px;
	background: #fff;
	border: 1px solid #ccc;
}
input.search-submit {
	display: none;
}
#sidebar ul li {
	margin: 0.2em 0;
}
li#menu-item-53 a {
	padding-left: 1.5em;
	background: url(../images/page/facebook.png) left center no-repeat;
}
li#menu-item-54 a {
	padding-left: 1.5em;
	background: url(../images/page/twitter.png) left center no-repeat;
}
li#menu-item-510 a {
	padding-left: 1.5em;
	background: url(../images/page/instagram.png) left center no-repeat;
}
li#menu-item-101 a {
	padding-left: 1.5em;
	background: url(../images/page/email.png) left center no-repeat;
}
li#menu-item-102 a {
	padding-left: 1.5em;
	background: url(../images/page/feed.png) left center no-repeat;
}

/* Add padding to bottom of page when cookie banner is visible */
.gdpr-infobar-visible #rest {
	padding-bottom: 80px;
}




