/*
Theme Name: opleht.ee
Author:     Sven Tiirusson
*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans:700,400,300,italic);

@import url(http://fonts.googleapis.com/css?family=Vollkorn);

/* HTML5 Boilerplate Reset */
/* Mina muudan seda */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
}

[hidden] {
    display: none;
}

html {
    font-size: 110%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
    color: #222;
}

body {
    margin: 0;
    font-size: 1em;
    line-height: 1;
}

p {
    padding: 7px 0 0 0;
}

h1, h2, h3, h4, h5, h6 {
    text-decoration: none;
    padding: 0;
    color: #444;
    margin: 0;
    font-weight: 700;
}

/* J├ñrgnev rida Antsu lisatud */
h3.western {
    clear: both;
}

a {
    color: #D31145;
    text-decoration: none;
}

a:hover {
    color: #0B5FA5;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

.clear {
    clear: both;
}

dfn {
    font-style: italic;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #CCC;
    margin: 1em 0;
    padding: 0;
}

ins {
    background: #FF9;
    color: #000;
    text-decoration: none;
}

mark {
    background: #FF0;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

pre, code, kbd, samp {
    font-family: monospace,serif;
    _font-family: 'courier new',monospace;
    font-size: 1em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: none;
}

q:before, q:after {
    content: "";
    content: none;
}

small {
    font-size: 90%;
}

blockquote {
    background-color: #EEE;
    border: 1px solid #DDD;
    margin: 10px 0;
    padding: 10px 30px;
    border-radius: 3px;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol {
    margin: 15px;
}

dd {
    margin: 0 0 0 40px;
}

nav ul, nav ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

label {
    cursor: pointer;
}

legend {
    border: 0;
    *margin-left: -7px;
    padding: 0;
    white-space: normal;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

button, input {
    line-height: normal;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: none;
    *overflow: visible;
}

button[disabled], input[disabled] {
    cursor: default;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *width: 13px;
    *height: 13px;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

input:valid, textarea:valid {}

input:invalid, textarea:invalid {
    background-color: #F0DDDD;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: top;
}

/* =============================================================================
   General Styles
   ========================================================================== */

/* Custom Selection Styles */
::selection {
    background: #D31245;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #D31245;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #D31245;
    color: #FFF;
    text-shadow: none;
}

/* Input focus styles */

body {
    font-size: 14px;
    font-weight: 400;

    /* 300 and below looks strangely thin with webkit and antialiased */

    -webkit-font-smoothing: antialiased;

    /* Antialiased font for great smoothing */
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    /* Optimise legibility for some CSS3 kerning */
    color: #444;

    /* Lighter on the eyes than #000 Black */
}

/* =============================================================================
   Structure
   ========================================================================== */

.wrapper {
    position: relative;
    width: 990px;
    margin: 0 auto;
    margin-bottom: 15px;
}

header {
    border-bottom: 1px solid #c03;
    margin: 0 0 25px 0;
}

#logo {
    padding: 6px 0 15px 0;
}

header nav ul {
    position: absolute;
    right: 0;
    bottom: -15px;
}

header nav ul li {
    float: left;
    margin: 0 0 0 1px;
}

/*header nav ul li a {display: block; padding: 5px 8px; border-radius: 5px 5px 0px 0px / 5px 5px 0px 0px;
background-color: #c03; color: #fff; text-decoration: none;}*/
header nav ul li a {
    display: block;
    padding: 5px 8px;
    border-radius: 5px 5px 0px 0px / 5px 5px 0px 0px;
    background-color: #E1E1E1;
    color: #000;
    text-decoration: none;
}

/*header nav ul li a:hover, header nav ul li.current-menu-item a{color: #fff; background-color: #0B5FA5;}*/
header nav ul li a:hover {
    color: #000;
    background-color: #CECECE;
}

header nav ul li.current-menu-item a {
    color: #fff;
    background-color: #c03;
}

#menu-pais li.icon {
    display: none;
}

@media screen and (max-width: 680px) {
    #menu-pais li:not(:first-child) {
        display: none;
    }

    #menu-pais li.icon {
        float: right;
        display: inline-block;
    }
}

@media screen and (max-width: 680px) {
    #menu-pais.responsive {
        position: relative;
    }

    #menu-pais.responsive li.icon {
        position: absolute;
        right: 0;
        top: -23px;
    }

    #menu-pais.responsive li {
        float: none;
        display: inline;
    }

    #menu-pais.responsive li a {
        display: block;
        text-align: left;
    }
}

#linkbar {
    width: 100%;
    margin: 0 auto 4px auto;
    text-align: center;
    padding: 2px 0 4px;
    background-color: #f1f1f1;
}

#linkbar a {
    font-size: 14px;
    text-decoration: none;
    margin: 0 4px;
    color: #666;
}

#linkbar a:hover {
    color: #000;
}

#searchform {
    position: absolute;
    right: 0;
    bottom: 22px;
}

#searchform input {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 14px;
}

#searchform input:focus {
    border-color: #c03;
}

#searchform .searchinput {
    width: 235px;
}

@media screen and (max-width: 680px) {
    #searchform {
        bottom: 12px;
    }

    form.responsive {
        bottom: 290px !important;
    }

    #searchform .searchinput {
        width: 100px;
    }
}

#searchform #searchsubmit {
    background-color: #c03;
    color: #fff;
    border: 1px  solid #c03;
    padding: 5px 10px;
}

#e404 {
    text-align: center;
}

#e404 h1 {
    font-size: 40px;
}

.tervikart {
    padding: 20px;
}

.p_taandeta {
    margin: 0 0 0 0.5cm;
    text-indent: -0.5cm;
}

.leitud_id {
    background-color: #B4D8E7;
}

.etvw_m, .etvw_mm {
    font-weight: bold;
}

.etvw_gki, .etvw_vk, .etvw_sl, .etvw_rk {
    font-family: 'Arial Narrow';
    font-size: smaller;
}

.etvw_ld, .etvw_n, .etvw_c {
    font-style: italic;
}

#content {
    float: right;
}

section {
    position: relative;
    font-family: 'Open Sans',sans-serif;
    line-height: 1.5;
    padding: 0px 0 0 0;
    margin: 0px 0 30px 0;
    border: 1px solid #D0D0D0;
    background-color: #fff;
    box-shadow: #EAEAEA 3px 3px 0px;
}

section.topcat {
    background: #ffffff;

    /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #feffef 100%);

    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #feffef));

    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #feffef 100%);

    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #feffef 100%);

    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #feffef 100%);

    /* IE10+ */
    background: linear-gradient(to bottom, #ffffff 0%, #feffef 100%);

    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#feffef',GradientType=0 );

    /* IE6-9 */
}

div.category {
    position: absolute;
    display: inline-block;
    color: #000;
    background-color: #fff;
    padding: 0px 5px 2px 5px;
    margin: -19px 0px 0 0;
    font-size: 1.6em;
}

div.category a {
    color: #000;
}

div.category .bigger {
    text-transform: uppercase;
}

span.catdesc {
    display: block;
    font-size: 12px;
    padding: 13px 15px 0px 15px;
    margin: 0 0 -8px 0;
}

span.catdesc p {
    margin: 0;
    padding: 0;
}

.lead {
    padding: 14px 15px;
    margin: 0px;
    border-bottom: dotted 1px #ccc;
}

span.leadcat a {
    color: #666;
}

.category-container {
    text-align: right;
}

article ul {
    list-style: none;
    margin: 0 0 0 20px;
}

article ul li:before {
    content: '';
    display: inline-block;
    position: relative;
    left: -7px;
    top: -2.5px;
    margin-left: -5px;
    padding: 2.5px;
    border-radius: 50%;
    background-color: #444;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

img.alignright {
    float: right;
}

.more {
    background-color: #efefef;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #efefef;

    /* Old browsers */
    background: -moz-linear-gradient(top, #efefef 40%, #fafafa 100%);

    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(40%, #efefef), color-stop(100%, #fafafa));

    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #efefef 40%, #fafafa 100%);

    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #efefef 40%, #fafafa 100%);

    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #efefef 40%, #fafafa 100%);

    /* IE10+ */
    background: linear-gradient(to bottom, #efefef 40%, #fafafa 100%);

    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#fafafa',GradientType=0 );

    /* IE6-9 */
}

.lead:last-child {
    border: none;
}

.lead p {
    margin: 0 0 10px 0;
}

.size-medium {
    float: left;
    display: block;
    margin: 10px 20px 10px 0;
    border: 1px solid #F1F1F1;
    padding: 1px;
}

.lead .wp-caption.alignleft {
    margin-right: 20px;
}

.lead .wp-caption.alignright {
    margin-left: 20px;
}

img.alignleft {
    margin-right: 20px;
}

img.alignright {
    margin-left: 20px;
}

.lead .article_thumb {
    float: left;

    /*width: 350px;*/

    max-width: 350px;
    display: block;
    margin: 10px 20px 10px 0;
    border: 1px solid #F1F1F1;
    padding: 1px;
}

.wp-caption {
    display: block;
    border: 1px solid #F1F1F1;
    padding: 1px;
}

wp-caption
.article_thumb p, p.wp-caption-text {
    font-size: 14px;
    padding: 5px;
    margin: 0;
}

span.meta {
    font-size: 12px;
    color: #494949;
    margin-top: 0px;
    display: block;
    padding-bottom: 6px;
    margin-top: 0px;
}

p.metalinks {
    padding: 0;
}

span.author {
    font-size: 14px;
    color: #0E3673;
}

span.title {
    font-style: italic;
}

h2 {
    font-size: 28px;
    font-weight: normal;
}

h3 {
    font-size: 20px;
    padding: 0;
    margin: 0;
    font-weight: normal;
}

h4 {
    font-weight: 700;
    margin: 0 0 5px 0;
}

h3 a {
    color: #CB0000;
    text-decoration: none;
}

h3 a:hover {}

h3 a span {
    display: none;
    color: #000;
    margin: 0 0 0 10px;
}

h3 a:hover span {
    display: inline;
}

ul#sidemenu {
    background-color: #E1E1E1;
    margin: 0 0 1px;
    padding: 10px;
}

ul#sidemenu li a:hover,
ul#sidemenu li.current-cat > a,
ul#sidemenu li.current-menu-item > a {
    color: #CC0033;
}

ul#sidemenu ul.children,
ul#sidemenu ul.sub-menu {
    display: none;
    padding-left: 14px;
}

ul#sidemenu li.current-category-parent > ul.sub-menu,
ul#sidemenu li.current-menu-item > ul.sub-menu,
ul#sidemenu li.current-cat-parent > ul.children,
ul#sidemenu li.current-cat > ul.children {
    display: block;
}

ul#sidemenu li a {
    display: block;
    font-family: 'Vollkorn',serif;
    font-size: 16px;
    padding: 5px 0;
    color: #000;
    text-decoration: none;
}

ul#menu-punane-menuu li a {
    display: block;
    padding: 9px;
    margin: 0 0 1px 0;
    background-color: #c03;
    color: #fff;
    text-decoration: none;
}

#menu-punane-menuu li ul {
    background-color: #E1E1E1;
}

#menu-punane-menuu > li > ul li:first-child {
    padding: 9px 0;
}

#menu-punane-menuu > li > ul li {
    display: list-item;
    text-align: -webkit-match-parent;
    padding: 5px 0;
}

#menu-punane-menuu > li > ul li a {
    background-color: transparent !important;
    display: block;
    font-family: 'Vollkorn',serif;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    padding: 0px 9px !important;
}

.widget_rss {
    margin: 15px 0;
}

.widget_rss h3 {
    padding: 0 0 3px 0;
}

.widget_rss ul li {
    padding: 0 0 2px 0;
}

.widget_rss ul li a {
    font-size: 15px;
    display: block;
    margin: 4px 0 2px;
}

.rssSummary {
    font-size: 15px;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

ul.article-list {
    font-size: 0.9em;
    list-style: disc outside none;
    margin-left: 15px;
    padding-bottom: 0px;
}

ul.article-list li p {
    margin: 0 0 5px 0;
}

li.nostyle {
    list-style: none;
}

.textright {
    text-align: right;
}

#respond {
    width: 696px;
}

#respond h3 {
    color: #cb0000;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.size25 {
    width: 30%;
}

.size75 {
    width: 65%;
}

#ametid {
    margin: 0 20px 0 0;
    padding: 0px 5px 10px 10px;
}

#ametid ul {
    margin: 16px 0 0 10px;
}

#ametid ul li {
    line-height: 1.5;
    margin: 0 0 7px 0;
}

#pagination {
    text-align: center;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.wp_bannerize div {
    margin: 0 0 1px 0;
}

.condensecol {
    width: 581px;
}

.narrowcol {
    width: 200px;
}

.widecol {}

.colmargin {
    margin: 0 15px 25px 0;
}

.footer {
    text-align: center;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

textarea {
    width: 600px;
}

.commentlist li.comment {
    padding: 15px;
    clear: both;
    list-style: none outside none;
    border: 1px solid #d0d0d0;
    margin: 0 0 20px 0;
    box-shadow: #eaeaea 3px 3px 0px;
}

.commentlist .avatar {
    position: relative;
}

.says {
    display: none;
}

.comment-author {
    width: 100px;
    float: left;
    margin: 0 0 10px 0;
}

.comment-author img {
    border: 3px solid #868686;
    margin: 0px 10px 5px 0;
}

.commentlist .fn {
    margin: 0;
    text-transform: capitalize;
    color: #0e3673;
    font-weight: bold;
    font-size: 12px;
}

.commentmetadata {
    display: block;
    margin: 0 0 15px;
    font-size: 12px;
}

.commentmetadata a {
    color: #666;
}

.commentlist li.comment p {
    clear: none;
    overflow: visible;
    padding: 5px 0 0;
    margin: 0 50px 0 0;
    width: auto;
}

#submit {
    background-color: #cb0000;
    padding: 5px 15px;
    font-size: 16px;
    color: #fff;
    border: none;
}

.reply {
    text-align: right;
    margin: 0px 0 5px 0;
    clear: both;
}

.comment-reply-link {
    background-color: #cb0000;
    padding: 2px 5px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
}

p.smalltext {
    padding: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
    font-size: 12px;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

/* 320px and greater */
@media only screen and (min-width: 320px) {
    .wrapper {
        width: 320px;
    }

    #linkbar {
        display: none;
    }

    #logo {
        font-size: 1.5em;
    }

    #sidebar {
        width: 100%;
    }

    #content {
        width: 100%;
        background-color: white;
    }

    div.category {
        position: relative;
        top: -8px;
        margin: -14px 50% -5px 2%;
        font-size: 1.3em;
    }

    .lead img.attachment-thumbnail {
        display: block;
        float: none;
        margin: 0 auto;
    }
}

/* 480px and greater */
@media only screen and (min-width: 480px) {
    .wrapper {
        width: 480px;
    }

    #linkbar {
        display: none;
    }

    #logo {
        font-size: 1.8em;
    }

    #content {
        background-color: white;
    }

    header ul li a {
        font-size: 12px;
    }

    .lead img.attachment-thumbnail {
        float: left;
        display: block;
        margin: 10px 20px 10px 0;
        border: 1px solid #F1F1F1;
        padding: 1px;
    }
}

/* 768px and greater */
@media only screen and (min-width: 768px) {
    .wrapper {
        width: 768px;
    }

    #linkbar {
        display: block;
    }

    #logo {
        font-size: 3em;
    }

    header ul li a {
        font-size: 14px;
    }

    #sidebar {
        float: left;
        width: 17%;
    }

    #content {
        width: 81%;
        background-color: white;
    }

    div.category {}
}

@media only screen and (max-width: 768px) {
    .gallery dl.gallery-item {
        display: block;
        clear: both !important;
    }

    img.size-medium {
        margin-right: 5px !important;
    }

    .paises div a img {
        width: 100% !important;
        height: 100% !important;
    }

    .condensecol {
        width: 100% !important;
    }

    .comments-disclaimer {
        width: 90% !important;
    }

    #respond {
        width: 100% !important;
    }

    #comment, .wp-caption-text {
        width: 95% !important;
        text-align: justify;
    }

    .gallery dl.gallery-item, .gallery dl.gallery-item dt, .gallery dl.gallery-item dt a, .gallery dl.gallery-item dt a img {
        width: 100% !important;
        height: 100% !important;
    }

    article.lead .wp-caption a img, article.lead .wp-caption {
        width: 100% !important;
        height: 100% !important;
    }

    #ametid, #jobsAdsCaption, #jobsMostRecent {
        width: 100% !important;
        margin-bottom: 30px !important;
        margin: 0 0 0 0;
        padding: 0px 10px 10px 10px;
    }

    article h3 {
        clear: both !important;
    }
}

/* 1024px and greater */
@media only screen and (min-width: 1024px) {
    .wrapper {
        width: 1024px;
    }

    #logo {
        font-size: 3.5em;
    }

    #linkbar {
        display: block;
    }

    header ul li a {
        font-size: 14px;
    }

    #sidebar {
        float: left;
        width: 200px;
    }

    #content {
        width: 800px;
    }

    div.category {}

    .gallery dl.gallery-item dt a img, article.lead .wp-caption a img {
        width: 100% !important;
        height: 100% !important;
    }

    .narrowcol {
        width: 100% !important;
    }
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr, img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
        clear: both;
    }
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lead h1 {
    font-size: 28px;
    font-weight: normal;
}

div.wpx_bannerize_banner_box {
    margin: 50px 0 0 0;
}

.wpx_bannerize img {
    width: 100%;
    height: auto;
}

div.advads-edit-bar {
    width: 100%;
    height: auto;
}

div.advads-edit-bar img {
    width: 100%;
    height: auto;
}

[title="border-top"] {
    border-top: 2px solid #a8a8a8;
    margin-top: 5px;
    padding-top: 15px !important;
}

.lead-link {
    position: relative;
    padding: 0 15px 14px;
    font-size: 14px;
}

.lead-link::before {
    position: absolute;
    content: '';
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #fff;
}

.lead.more .lead-link,
.nostyle.lead-link {
    padding: 0;
}
.lead.more .lead-link::before {
    content: none;
}
