/*

Theme Name: DerRechteRand
Version: 2.0
Author: Christian Merlau

*/


/*********************************************************

   HTML Elements

 *********************************************************/

html,
body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	text-align: left;
	background-color: #ffffff;
	font-size: 16px;
    font-family:  "tablet-gothic", sans-serif;
    line-height: 2.2em;
	color: #222222;
}

/* Headers */

h1, h2, h3, h4, h5, h6 {
    font-family:  "tablet-gothic", sans-serif;
	margin: 0 0 10px 0;
	padding: 0;
    font-weight: 300 !important;
    line-height: 1.6em;
}

h1 {
	padding: 10px 0 0 0;
	text-transform: uppercase;
	font-size: 2.2em;
	color: #536C71;
}

h2 {
	font-size: 1.8em;
    text-transform: uppercase;
	color: #536C71;
	padding: 20px 0 0 0;
}

h3 {
	font-size: 1.4em;
    text-transform: uppercase;
	color: #5D6F73;
	padding: 0;
}

h4 {
  	font-size: 1.2em;
}

h5 {
	font-size: 1.1em;
}

h6 {
    font-size: 0.85em;
}

.bold {
    font-weight: 700;
}

.smaller {
    font-size: 0.8em;
    line-height: 1.4em;
}

/* Links */
a, i {
  color: #3B5D77;
    -webkit-transition: color 0.4s; /* Safari */
    transition: color 0.4s;
    text-decoration: none;
}

a, button, i {
    outline:0;
    border: 0;
}

#menu a, .more a {
  text-decoration: none;
}

a:hover {
  color: #668FA3;
}

a img {
  border: 0;
}

a img.border {
  border: 1px solid #FC3307;
}

a:hover img.border {
  /* Fixes IE bug - IE doesn't correctly apply the style on a:hover so need to mask it */
  border: 1px solid #668FA3 !important;
  border: 1px solid #FC3307;
}

/* Images */

img.floatRight {
  margin: 5px 0 10px 10px;
}

img.floatLeft {
  margin: 5px 10px 10px 0;
}


.shadow {
	border-right: 5px solid #666666;
	border-left: 1px solid #aaaaaa;
	border-top: 1px solid #aaaaaa;
	border-bottom: 5px solid #444444;
  -webkit-box-shadow: 4px 4px 8px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 4px 4px 8px 0px rgba(0,0,0,0.4);
  box-shadow: 4px 4px 8px 0px rgba(0,0,0,0.4);
}

/* Lists */

ul li {
  line-height: 1.4em;
}

ol li {
  font-weight: bold;
}

ol li span {
  font-weight: normal;
}

.linkcat {
	list-style-type: none;
}


/* Blockquote */

blockquote {
  margin: 0;
  padding: 0 20px;
  background: #E7F1F3;
  border-top: 1px solid #AAD3DB;
  border-bottom: 1px solid #AAD3DB;
}


/**************************************************************

   Form Elements

 **************************************************************/


form {
  padding: 0;
  margin: 0;
}


/* If you're finding the input elements get pushed down, increase the width */

label {
  width: 100%;
  vertical-align: top;
  display: block;
}

div#search{
	border: 0;
    padding: 20px 40px 20px 0;
}

#searchopts {
    margin: 10px 0 10px 10px;
}

#searchopts input {
    float: left;
    margin-top: 0.5em;
    margin-right: 0.8em;
}

#searchopts label {
    font-size: 0.8em;
}

input#s{
	width: 90%;
    height: 40px;
  	padding: 4px 0 0 8px;
  	color: #999;
}

input,
textarea,
select {
  padding: 1px;
  font: 400 1em verdana, sans-serif;
  color: #999;
  background-color: #f3f8fa;
  border: 1px solid #e2e6e8;
}


input.noBorder,
input:focus.noBorder,
input:hover.noBorder {
  padding: 0;
  border: 0;
}


input.button, input#searchsubmit {
  cursor: pointer;
  background-color: transparent;
  border: 0;
}

input#abosend {
    padding: 20px;
    text-transform: uppercase;
    -webkit-transition: background-color 0.4s, color 0.4s; /* Safari */
    transition: background-color 0.4s, color 0.4s;
}

input#abosend:enabled:hover {
    color: #ffffff;
    background-color: #3B5D77;
}


input.radio {
  background: none;
  border: 0px;
}


label.btn {
    width: 24px;
    height: 24px;
    margin: 12px 0 0 -30px;
    display: inline;
}

.s_result_wrap {
    clear: both;
    border-top: 1px solid #eeeeee;
}

.s_result_img {
    margin: 20px 20px 20px 0;
    float: left;
}

.s_result_desc {
    margin-left: 200px;
}

/**************************************************************

   All page content except for footer

 **************************************************************/

.content-wrap {
}

.content, #content {
    margin: 20px 0;
  width: 100%;
  position: relative;
  height: auto !important;
  text-align: center;

}


/**************************************************************

   Top menu and logo

 **************************************************************/


#header {
    font-family:  "tablet-gothic", sans-serif;
    font-size: 0.8em;
    width: 100%;
	clear: both;
	position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
	height: 60px;
	margin: 0 auto;
	background-color: #f2f8f8;
    border-bottom: 1px solid #e9eded;
    text-align: left;
}


/**************************************************************

   Header Logo

 **************************************************************/


#headerlogo {
  margin: 0;
  width: auto;
  height: 60px;
  float: left;
  cursor: pointer;
}

#headerlogo h1 {
    text-transform: lowercase !important;
    font-size: 2.2em;
    margin: -4px 10px 0 10px;
}


/**************************************************************

   Top Block Menu

 **************************************************************/

.menu-wrap {
    font-size: 0.8em;
}

#menublock {
  margin: 0 auto;
  padding: 0;
  width: 960px;
  height: 60px;
  text-align: right;
}

#menu {
  margin: 0;
  padding: 10px 0 0 40px;
  width: auto;
  height: 50px;
  float: left;
}


#socialmenu {
  margin: 0;
  padding: 0;
}

#socialmenu i {
    color: #2ea9b6;
	padding: 20px 10px 0 0;
}

#menu ul, #metamenu ul {
  float: left;
  margin: 0;
  padding: 0;
  text-align: left;
}


#menu ul li, #metamenu ul li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}


#menu ul li a, #metamenu ul li a {
  float: left;
  overflow: hidden;
  display: block;
  padding: 16px;
  color: #2ea9b6;
}

#menu ul li a{
  font-size: 1.1em;
  letter-spacing: 0.1em;
}

#metamenu ul li a{
  font-size: 1.1em;
  letter-spacing: 0.1em;
}

#menu ul li a:hover,
#menu ul li a.here,
#metamenu ul li a:hover,
#metamenu ul li a.here,
#socialmenu a:hover i {
  color: #d32429;
}


/**************************************************************

   Sidebar

 **************************************************************/

#sidebar {
    padding: 20px 10px 10px 20px;
}

#sidebar ul {
    display: inline;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget_nav_menu {
    margin: 20px 0;

}

.icon-list a i {
    color: #2ea9b6 !important;
}


/**************************************************************

   Page Content

 **************************************************************/

#page {
  clear: both;
  margin: 0 auto;
  padding-bottom: 0;
  padding-top: 0;
  text-align: left;
}


#columns {
    margin: 20px;
    clear: both;
    display: block;
    background-color: #ffffff;
}



.postcontent img {
    max-width: 100%;
    height: auto;
}

/* Column widths */

.width {
  width: 960px;
}

.widthPad {
  width: 746px;
}


.width25 {
  width: 25%;
}


.width50 {
  width: 50%;
}


.width75 {
  width: 75%;
}


.width100 {
  width: 100%;
}

.media {
	float: left;
	padding: 10px 15px;
	width: 250px;
}


/**************************************************************

   Footer

 **************************************************************/


#footer {
  clear: both;
  width: 90%;
  background-color: #ffffff;
  text-align: left;
  border-top: 1px solid #e9eded;
  margin: 0 5%;
  padding: 0 0 20px 0;
}

#footer p, #footer ul {
	line-height: 1.5em;
}


#footer #bg {
  position: relative;
  overflow: auto;
  margin: 0 auto;
}


#totop i {
    position: fixed;
    z-index: 40000;
    bottom: 20px;
    right: 40px;
    color: #2ea9b6;
    cursor: pointer;
    display: block;
}

#totop i:hover {
    color: #75797b;
    background-color: transparent;
}

#toshare i {
    position: absolute;
    z-index: 40000;
    right: 40px;
    color: #2ea9b6;
    cursor: pointer;
    display: block;
}

#toshare i:hover {
    color: #75797b;
    background-color: transparent;
}

/**************************************************************

   Home

 **************************************************************/


.claim {
    font-family:  "tablet-gothic", sans-serif;
    font-size: 1.5em;
}

.ausg_date {
    color: #ffffff;
    font-size: 1.1em;
}

.twembed .timeline-Header-title {
    text-transform: uppercase;
}

.aktuell_grid_exc h4 *, .aktuell_grid_exc h5 * {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px #000000;
}

#welcome {
    background-color: #ffe5dd;
}


.allausg .flexslider .slides img {
    width: 100%;
    height: auto;
}


.menu-schwerpunkte ul {
    display: inline;
    margin: 0;
    padding: 0;
    list-style: none;
}
/**************************************************************

   Posts

 **************************************************************/

.post {
  float: left;
  width: 100% !important;
  width: 99%;
  position: relative;
  padding: 40px 0 0 0;
  font-size: 1.2em;
}

.post p {
	padding: 10px 0 20px 0;
}

.post .more {
	clear: both;
	margin:0;
	width: 100%;
	height: 93px;
	border-top: 1px solid #e6e6fa;
}

.post .more p{
	padding: 10px 10px 5px 10px;
	font-size: 1.2em;
	line-height: 1.6em;
}


.default, .singlepost, .page, .searchresult {
  clear: both;
    margin: 0;
  padding: 40px 10px 60px 10px;
  margin-bottom: 60px !important;
}


.postcontent{
    width: 90%;
    padding: 0;
    margin: 0 auto;
}

.entry-content {
    font-family:  "expo-serif-pro", serif;
}

.entry-content div.aligncenter {
    width: 100% !important;
}

.entry-content img {
    position: relative;
    width: 100%;
    margin: 0;
}

.post_excerpt p {
    font-weight: 700;
}

.wp-caption-text {
    text-indent: 2em;
    font-size: 0.8em;
    font-style: italic;
}

.entry-footer {
    clear: left;
    background-color: #f2f8f8;
    padding: 0 30px 30px 30px;
    margin-bottom: 40px;
}

.entry-footer .fowrap {
    clear: both;
    height: auto;
}

.entry-footer div.foleft {
    float: left;
    width: 45%;
    margin-right: 5%;
    padding: 0;
}

.entry-footer div.foright {
    width: 45%;
    margin-left: 50%;
    padding: 20px 0 0 0;
}

.entry-footer .post-title {
    font-weight: 700;
}

.meta-nav {
    font-style: italic;
}

.page-links {
    background-color: #f2f8f8;
    padding: 20px;
    width: 30%;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.2em;
}


/**************************************************************

   Thumbnail Lists

 **************************************************************/

#thumbsmenu {
	float: left;
	width: 1024px;
	background-color: #eff7f6;
	border-bottom: 1px solid #d7e1e6;
}

#scroll_left {
	float: left;
}

#scroll_right {
	float: right;
}

#thumbswrapper {
	float: left;
	width: 904px;
	height: 104px;
	padding: 10px;
	position: relative;
	overflow: hidden;
}

#thumbs {
	overflow: auto;
	position: relative;
}

#thumbs img {
  	width: 70px;
	height: 99px;
	padding: 2px;
  	border: 1px solid #ccc;
	margin-right: 18px;
}

.media img, #thumbs img {
	padding: 2px;
  	border: 1px solid #ccc;
	margin-right: 18px;
}

.media a:hover img, #thumbs a:hover img {
  background: #8EB4C6;
  border: 1px solid #ccc;
}



/**************************************************************

   Photo captions

 **************************************************************/

.largecaptionleft {
  float: left;
  width: 500px;
  margin: 5px;
  padding: 5px;
  border: solid 1px #ddd;
  background: #E5F2FF;
  font-size:90%;
  line-height: 100%;
  font-style: italic;
  color: black;
}


.largecaptionright {
  float: left;
  width: 500px;
  margin: 5px;
  padding: 5px;
  border: solid 1px #ddd;
  background: #E5F2FF;
  font-size:80%;
  line-height: 100%;
  font-style: italic;
  color: black;
}


.smallcaptionleft {
  float: left;
  width: 250px;
  margin: 5px;
  padding: 5px;
  border: solid 1px #ddd;
  background: #E5F2FF;
  font-size:80%;
  line-height: 100%;
  font-style: italic;
  color: black;
}


.smallcaptionright {
  float: right;
  margin: 5px;
  padding: 5px;
  width: 250px;
  border: solid 1px #ddd;
  background: #E5F2FF;
  font-size:80%;
  line-height: 100%;
  font-style: italic;
  color: black;
}



/**************************************************************

   Generic Display

 **************************************************************/

#printhead {
    display: none;
}

.block {
  display: block;
}


.clear {
  clear: both;
}


.marginRight {
  margin-right: 15px;
}


.paddingLeft {
  padding-left: 5px;
}


.paddingRight {
  padding-right: 5px;
}


.floatLeft {
  float: left;
}


.floatRight {
  float: right;
}


.alignleft {
  text-align: left;
}


.alignright {
  text-align: right;
}


.alignTop {
  vertical-align: top;
}


.alignMiddle {
  vertical-align: middle;
}


.alignBottom {
  vertical-align: bottom;
}


.lightBlueBg {
  	border: 1px solid #d7e1e6;
	background-color: #f8faf9;
	padding: 5px;
}


.dark {
  color: #353E47;
}

.dlbox {
  border: 1px solid #e6e6fa;
  border-radius: 3px;
  padding: 10px;
  margin: 20px 0;
  width: 100%;
  clear: left;
}

th {
	padding: 20px;
	border-right: 1px solid #e6e6fa;
	border-bottom: 1px solid #e6e6fa;
}

.left {
  float: left;
}

.right {
  float: right;
}



/**************************************************************

   Media Queries

 **************************************************************/


@media only screen and (min-width: 1201px) {
    body {
        font-size: 16px;
    }
    #page, #footer #bg {
        width: 960px;
    }
}
@media only screen and (min-width: 950px) and (max-width: 1200px) {
    body {
        font-size: 15px;
    }
    #headerlogo {
        margin-left: 60px;
    }
    #page, #footer #bg  {
        width: 800px;
    }
}
@media only screen and (min-width: 721px) and (max-width: 949px) {
    body {
        font-size: 14px;
    }
    #headerlogo {
        margin-left: 60px;
    }
    #menu, #socialmenu {
        display: none;
    }

    #page, #footer #bg  {
      width: 90%;
  }
}
@media only screen and (min-width: 480px) and (max-width: 720px) {
    body {
        font-size: 16px;
    }
    #headerlogo {
        margin-left: 60px;
    }
    #menu, #socialmenu {
        display: none;
    }
    .entry-footer div.foleft {
        width: 90%;
        margin: 5%;
    }

    .entry-footer div.foright {
        width: 90%;
        margin: 5%;
    }
}
@media only screen and (max-width: 479px) {
    body {
        font-size: 16px;
    }
    #headerlogo {
        margin-left: 60px;
    }
    #menu, #socialmenu {
        display: none;
    }
    .entry-footer div.foleft {
        width: 90%;
        margin: 5%;
    }

    .entry-footer div.foright {
        width: 90%;
        margin: 5%;
    }
}
