/*
Theme Name: Tipikate Rattamatkaklubi
Theme URI: http://rattamatkaklubi.ee
Description: Rattamatkaklubi enda kujundus
Version: 1.0
Author: Hillar Saare
Author URI: http://sopso.com
Tags: 

*/

/* Begin Typography & Colors */

/* Begin reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

:focus {
  outline: 0;
}

ins {
  text-decoration: none;
}
del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* End reset */
.separator {margin:0 0.6em}
.clear {clear:both}
.b,strong {font-weight:bold}
.i {font-style:italic}
.blue {color:#00aeef}
.green {color:#41ad49}
.yellow {color:#ffd400}
.red {color:#d2232a}

body {
  background: #fff url(assets/images/body.jpg) repeat-x 0 0;
  font-size: 62.5%; /* Resets 1em to 10px */
  font-family: sans-serif;
  color: #000;
}

a {
  color:#00aeef;
}

#wrapper {
  background: #fff url(assets/images/wrapper.jpg) no-repeat 0 0;
  margin:0 auto;
  max-width:980px;
}

/* Header styles */
#header {
  font-size: 1.1em;
  position:relative;
}

.colmask {
  position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
  clear:both;
  width:100%;			/* width of whole page */
  overflow:hidden;	/* This chops off any overhanging divs */
}

.colright {
  float:right;
}

.colwrap {
  float:right;
  position:relative;
}

.content-wrapper {
  font-size: 1.2em;
  max-width:650px;
}

.content {
  margin-top:76px;
  padding-left:44px;
  padding-right:87px;
}

.colleft {
  float:left;
  position:relative;
  padding:73px 29px 0 72px;
  min-height: 40em;
  width:229px;
  text-align: center;
}

/* Footer styles */
#footer {
  font-size: 1.1em;
  line-height: 24px;
  height: 31px;
  margin:16px 0 0 0;
  padding: 16px;
  position: relative;
  text-align: center;
}

.line-horizontal-long {
  background: transparent url("assets/images/horizontalLineLong.jpg") no-repeat 50% 50%;
  height: 64px;
}

.line-horizontal {
  background: transparent url("assets/images/horizontalLine.jpg") no-repeat 50% 50%;
  height: 32px;
}

#logo-top {
  display: none;
}
#logo-left {
  display: block;
  margin-bottom: 21px;
}

h1 {
  color: #41ad49;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 0 1em 0;
  text-shadow: rgba(64, 64, 64, 0.199219) 1px 1px 0px;
}

h1 a {
  /*color: #2ace00;*/
  color: #209e00;
}

h2 {
  color: #41ad49;
  font-size: 20px;
  margin: 0 0 1em 0;
}

h3 {
  color: #41ad49;
  font-size: 12px;
  margin: 0 0 1em 0;
}

p {
  line-height:1.6em;
  margin: 0 0 1em 0;
}

ol {
  list-style: decimal;
  margin-bottom:1em;
}

ul {
  list-style: circle;
  margin-bottom:1em;
}

ul li {
  margin-bottom: 0.4em;
}

.colleft ul {
  list-style: none;
  margin:1em auto;
  width:229px;
}

.colleft li {
  height:33px;
  line-height:33px;
}

.colleft li.active {
  background: transparent url(assets/images/link-back.gif) no-repeat 50% 0;
}

.colleft li a {
  color: #000;
  font-size:1.4em;
  font-weight:bold;
  text-decoration:none;
}

.colleft .bottom li {
  height:27px;
  line-height:27px;
}

.colleft .bottom li a {
  color: #000;
  font-size:1.2em;
  font-weight:bold;
  text-decoration:none;
}

.colleft .bottom li.active {
  background: transparent url(assets/images/link-back2.gif) no-repeat 50% 0;
}

#posts li {
  line-height:1.2em;
}

#posts a {
  font-size: 1em;
}

/* Begin Images */
p img {
  padding: 0;
  max-width: 100%;
  object-fit: contain;
}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}

.alignright {
  float: right;
}

.alignleft {
  float: left;
}
/* End Images */

/* Captions */
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
/* End captions */

/* Begin tables */
table {
  margin: 1em 0;
}
td {
  padding:0.2em 0.2em 0.2em 0;
}
#people {
  width:100%;
}
#people td {
  border-bottom: 1px solid #ccc;
  padding:0.5em 0.5em 0.5em 0;
}
/* End tables */


.commentlist li, #commentform input, #commentform textarea {
  font-size: 0.9em ;
}
.commentlist li ul li {
  font-size: 1em;
}

.commentlist li {
  font-weight: bold;
}

.commentlist li .avatar {
  float: right;
  border: 1px solid #eee;
  padding: 2px;
  background: #fff;
}

.commentlist cite, .commentlist cite a {
  font-style: normal;
  font-size: 1.1em;
}

.commentlist p {
  font-weight: normal;
  line-height: 1.5em;
  text-transform: none;
}

#commentform p {
}

.commentmetadata {
  margin:0.5em 0;
  font-weight: normal;
}

@media only screen and (max-width:1000px) {
  .colleft {
    background: #fff;
    visibility: hidden;
    display: block;
    position: absolute;
    max-width: 330px;
    height: 100%;
    right: auto;
    z-index: 3;
    left: -100%;
    transition: 0.3s;
    box-shadow: 1px 0px 10px #888;
  }
  #menubtn-toggle:checked ~ .colleft {
    visibility: visible;
    left: 0;
  }
  
  .colright {
    float:none;
  }
  .colwrap {
    float:none;
  }
  .content-wrapper {
    margin:0 auto;
  }
  .content {
    margin-top:25px;
    padding-right:44px;
  }
  #logo-top {
    display: block !important;
    margin-top:60px;
    margin-left: 60px;
    margin-bottom: 0px;
    padding-left:44px;
    padding-right:87px;
  }
  #logo-top a img {
    max-width: 100%;
    object-fit: contain;
  }
  #logo-left {
    display: none;
  }
  

#menubtn-label {
  display: block;
  position: absolute;
  z-index: 10;
  padding: 2px;
  cursor: pointer;
  width: 25px;
  height: 25px;
  left: 45px;
  top: 80px;
  box-sizing: content-box;
  transition: transform 0.2s ease;
}
#menubtn-label .bar {
  --slice-height: 2px;
  display: block;
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  transition: all 0.2s ease;
  background-color: #000;
  opacity: 90%;
}
#menubtn-label .bar {
  margin-top: 22%; /* Fallback to produce something hamburger-ish if calc is not available */
  margin-top: calc(33% - 2px);
  top: calc((33% - 2px) / -2);
}
#menubtn-toggle:checked ~ #menubtn-label .bar:nth-child(1) {
  top: calc(50% - 33% + 2px / 2);
  transform: rotate(45deg);
}
#menubtn-toggle:checked ~ #menubtn-label .bar:nth-child(2) {
  opacity: 0;
}
#menubtn-toggle:checked ~ #menubtn-label .bar:nth-child(3) {
  top: calc(-50% + 2px / 2);
  transform: rotate(-45deg);
}


}



