/*   

Theme Name: Merekultuur
Theme URI: http://www.reaktiiv.ee
Description: Custom Template made for Merekultuur
Author: Reaktiiv grupp OÜ
Author URI: http://www.reaktiiv.ee
Version: 1

*/
@import url("reset.css");

@media screen {
    * {
        box-sizing: border-box;
        margin: 0;
    }

    body {
        font-size: 14px;
        font-family: 'Open Sans', Helvetica, Arial;
    }

    #page-wrap {
        margin: 20px auto;
    }

    h1, h2, h3 {
        font-weight: normal;
        margin: 0 0 10px 0;
        font-family: 'tt_firsbold', Helvetica, Arial;
        line-height: 1.2;
    }

    h1 {
    }

    h2 {
        font-size: 192%;
    }

    h3 {
        font-size: 171%;
    }

    h4 {
        font-size: 120%;
    }

    p {
        margin: 0 0 10px 0;
        line-height: 1.25
    }

    a {
        text-decoration: none;
        transition: all 0.3s ease;
    }

    a:hover {
        opacity: 0.8;
    }

    blockquote {
        line-height: 1.25
    }

    blockquote p {
    }

    ul, ol {
        margin: 0 0 10px 0;
    }

    strong.semi {
        font-weight: 600;
    }

    .fullblock {
        width: 100%;
        float: left;
        position: relative;
    }

    .container {
        margin: 0 auto;
        width: 1250px !important;
    }

    .w100 {
        width: 100%;
    }

    .w80 {
        width: 80%;
    }

    .w75 {
        width: 75%;
    }

    .w60 {
        width: 60%;
    }

    .w50 {
        width: 50%;
    }

    .w40 {
        width: 40%;
    }

    .w25 {
        width: 25%;
    }

    .w20 {
        width: 20%;
    }

    .f_left {
        float: left;
    }

    .f_right {
        float: right;
    }

    .pos_r {
        position: relative;
    }

    .pos_a {
        position: absolute;
    }

    .pos_def {
        position: static;
    }

    /** WRAP **/
    header {
        background-color: #000056;
        height: 318px;
        padding-top: 20px;
    }

    #logo {
        width: 50% !important;
    }

    .sitename {
        margin-top: 25px;
        margin-left: 2.8%;
    }

    #logo span {
        font-family: 'tt_firsbold', Helvetica, Arial;
        margin-top: 15px;
        margin-left: 2.8%;
        color: #ccedea;
        font-size: 171%;
    }

    #slider {
        height: 400px;
    }

    #slider ul {
        width: 100%;
        float: left;
    }

    #slider ul li {
        height: 400px;
    }

    #slider ul li h2 {
        color: #000;
        font-size: 150%;
    }

    #slider ul li blockquote {
        font-size: 114%;
        color: #6a8a7f;
        font-weight: 300;
        position: relative;
        top: -10px;
    }

    #slider ul li p {
    }

    #slider .slide-img {
        left: 0px;
        top: 0;
    }

    /*edge case*/
    #slider .slide-2 .slide-img {
        left: -50px;
    }

    #slider .imgbg_block {
    }

    #slider .imgbg_block1 {
        background-color: #bac696;
    }

    #slider .imgbg_block2 {
        background-color: #6a8a7f;
    }

    #slider .imgbg_block3 {
        background-color: #bac696;
    }

    #slider .imgbg_block4 {
        background-color: #dae5cd;
        padding: 50px 9.4% 0;
    }

    section {
        background-color: #f2f2f2;
    }

    #content {
        top: -150px;
        background-color: #fff;
    }

    .home #content {
        background-color: transparent;
    }

    #post_content {
        background-color: #fff;
        padding: 20px 0 50px 6.88%;
    }

    nav {
    }

    nav ul {
        width: 100%;
        position: relative;
        margin-bottom: 0;
    }

    nav ul li {


        text-align: center;
        height: 70px;
        display: inline-block;
    }

    .home nav ul li {
        height: 60px;
    }

    nav ul li a {
        border-right: 1px solid #e6e5ed;
        width: 100%;
        color: #000056;
        background-color: #ffffff;
        display: table-cell;
        vertical-align: middle;
        transition: all 0.4s ease;
        text-decoration: none;
        font-size: 114%;
        height: 100%;
        padding: 15px 25px 15px 25px;
        font-weight: 700;
        line-height: 1.2;
        border-bottom: 5px solid #000056;
    }

    nav ul li:last-child a {
        border-right: none;
    }

    .home nav ul li a {
        border: none;
    }

    nav ul li.current-menu-item {
        color: #fff;
        background-color: #000056;
        opacity: 1;
    }

    nav ul li.current-page-item a, nav ul li:hover a {
        color: #fff;
        background-color: #000056;
        opacity: 1;
    }

    .home nav {
        margin-bottom: 18px;
    }

    #agenda_posts {
        margin-top: 18px;
    }

    #agenda_posts .agenda_post {
        /* height: 305px; */
        background-color: #fff;
    }

    #agenda_posts .agenda_post .agenda_img_captions {
        background-color: #e5f6f4;
        height: 100%;
        padding: 20px 2% 0;
    }

    #agenda_posts .agenda_post .agenda_img_captions p {
        font-size: 121%;
        font-family: 'tt_firsbold', Helvetica, Arial;
        color: #006983;
        line-height: 1.1;
    }

    #agenda_posts .agenda_post .agenda_img_captions span {
        font-size: 85%;
        color: #57a2b1;
        margin-top: 25px;
        line-height: 1.5;
    }

    #agenda_posts .agenda_post .agenda_content {
        padding: 20px 1.4% 25px 2.8%;
        height: 100%;
    }

    #agenda_posts .agenda_post .agenda_content a {
        color: #57a2b1;
        font-size: 92%;
        left: 6.8%;
        bottom: 25px;
    }

    #agenda_posts .agenda_img_container {
        height: 100%;
    }

    #agenda_posts .agenda_img_overlay {
        top: 0;
        left: 0;
        background-color: rgba(0, 105, 131, 0.8);
        min-height: 120px;
        padding: 16px 3.4% 0;
    }

    #agenda_posts .agenda_img_overlay p {
        color: #fff;
        font-size: 85%;
        margin-bottom: 4px;
    }

    #agenda_posts .agenda_img_overlay h3 {
        color: #fff;
    }

    #agenda_posts .agenda_img {
    }

    #agenda_posts .agenda_img img {
    }

    #agenda_posts .agenda_post:nth-of-type(even) {
        background-color: #edf2e6;
    }

    #agenda_posts .agenda_post:nth-of-type(even) .agenda_img_overlay {
        background-color: rgba(106, 138, 127, 0.5);
    }

    #agenda_posts .agenda_post:nth-of-type(even) .agenda_img_captions {
        background-color: #fff;
    }

    #agenda_posts .agenda_post:nth-of-type(even) .agenda_img_captions p {
        color: #6a8a7f;
    }

    #agenda_posts .agenda_post:nth-of-type(even) .agenda_img_captions span {
        color: #6a8a7f;
    }

    #agenda_posts .agenda_post:nth-of-type(even) .agenda_content a {
        color: #6a8a7f;
    }

    #post {
        width: 67.4%;
    }

    .breadcrumbs {
        margin-bottom: 25px;
    }

    .breadcrumbs > * {
        font-size: 85%;
        color: #585858;
    }

    #post h2 {
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .tiny_content_block_container {
        margin-top: 50px;
    }

    .tiny_content_block {
        width: 32%;
        margin-right: 1.6%;
        height: 285px;
        margin-bottom: 18px;
    }

    .tiny_content_block:nth-child(3n) {
        margin-right: 0;
    }

    .tiny_content_block .tiny_content_heading {
        padding: 7px 7.5% 0;
    }

    .tiny_content_block .tiny_content_heading h3 {
        color: #000056;
    }

    .tiny_content_block .tiny_content_content img {
        width: 100%;
    }

    .tiny_content_block_id-0 .tiny_content_heading {
        background-color: #fff2b3
    }

    .tiny_content_block_id-1 .tiny_content_heading {
        background-color: #d9e5f3
    }

    .tiny_content_block_id-2 .tiny_content_heading {
        background-color: #dcdacd
    }

    .tiny_content_block_id-3 .tiny_content_heading {
        background-color: #b29e85
    }

    .tiny_content_block_id-4 .tiny_content_heading {
        background-color: #ababab
    }

    .tiny_content_block_id-5 .tiny_content_heading {
        background-color: #bad8e3
    }

    #sidebar {
        width: 26.6%;
        margin: 0 0 0 6%;
        overflow: hidden
    }

    .sidebar_events {
    }

    .calendar_agenda_post {
        margin-bottom: 4px;
    }

    .calendar_agenda_img_container {
    }

    .calendar_agenda_img {
        background-size: cover;
        background-position: 50%
    }

    .calendar_agenda_captions {
        background-color: #e7edeb;
        padding: 15px 4.8% 0;
    }

    .calendar_agenda_captions p {
        color: #000;
        opacity: 0.83;
        font-size: 85%;
    }

    .sidebar_agenda .agenda_post {
        margin-bottom: 10px;
    }

    .sidebar_agenda .agenda_img_container {
        width: 100%;
    }

    .sidebar_agenda .agenda_img {
    }

    .sidebar_agenda .agenda_img img {
    }

    .sidebar_agenda .agenda_img_captions {
        display: none;
    }

    .sidebar_agenda .agenda_content {
        display: none;
    }

    footer {
        margin-bottom: 100px;
    }

    .footer_logos {
        margin-top: 80px;
    }

    .footer_logos > div > div {
        /*width:20%;display: table-cell;vertical-align: middle;*/
    }

    .footer_logos div.footer_logo_row2 {
    }

    .footer_logos > div > div {
        float: left;
        width: 18%;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        padding-right: 2%;
    }

    .footer_logos > div > div img {
        max-width: 100%;
    }

    .footer_logos > div > div#text-9 {
        width: 10%;
    }

    .footer_logos #text-7 {
        width: 10%;
    }

    .footer_logos #text-8 {
        width: 14%;
    }

    .footer_logos #text-22 {
        width: 14%;
    }


    .footer_contacts {
    }

    .footer_contacts > div {
        display: inline-block;
        float: left;
        padding-right: 6.4%;
    }

    .footer_contacts > div p {
        margin: 0;
    }

    .footer_contacts > div a {
        font-size: 100%;
        color: #000;
        text-decoration: none;
    }

    .footer_contacts span {
        color: #006983;
    }

    .footer_contacts #text-2 {
        padding-right: 6%;
    }

    .footer_contacts #text-2 span {
        color: #006983;
        font-size: 128%;
        font-family: 'tt_firsbold', helvetica, arial;
    }

    .footer_contacts #text-11 {
        padding-right: 0;
    }

    .footer_contacts #text-11 img {
        position: relative;
        top: -20px;
    }

    footer::before {
        width: 100%;
        height: 55px;
        background-image: url("images/footerwave-repeatable.png");
        float: left;
        content: " ";
        position: relative;
        top: -55px;
    }

    .post {
    }

    .entry {
    }

    .entry a {
    }

    .entry a:hover {
    }

    pre {
    }

    code, tt {
    }

    #meta {
    }

    .postmetadata {
    }

    #sidebar {
    }

    .navgation {
    }

    .next-posts {
    }

    .prev-posts {
    }

    #searchform {
    }

    #s {
    }

    #searchsubmt {
    }

    form {
    }

    input[type=text] {
    }

    textarea {
    }

}

/* END screen media */

@media print {

    .do-not-print {
        display: none;
    }

    #comments {
        page-break-before: always;
    }

    body {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.4;
        word-spacing: 1.1pt;
        letter-spacing: 0.2pt;
        font-family: Garamond, "Times New Roman", serif;
        color: #000;
        background: none;
        font-size: 12pt;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: Helvetica, Arial, sans-serif;
    }

    h1 {
        font-size: 19pt;
    }

    h2 {
        font-size: 17pt;
    }

    h3 {
        font-size: 15pt;
    }

    h4, h5, h6 {
        font-size: 12pt;
    }

    code {
        font: 10pt Courier, monospace;
    }

    blockquote {
        margin: 1.3em;
        padding: 1em;
    }

    img {
        display: block;
        margin: 1em 0;
    }

    a img {
        border: none;
    }

    table {
        margin: 1px;
        text-align: left;
    }

    th {
        border-bottom: 1px solid #333;
        font-weight: bold;
    }

    td {
        border-bottom: 1px solid #333;
    }

    th, td {
        padding: 4px 10px 4px 0;
    }

    caption {
        background: #fff;
        margin-bottom: 2em;
        text-align: left;
    }

    thead {
        display: table-header-group;
    }

    tr {
        page-break-inside: avoid;
    }

    a {
        text-decoration: none;
        color: black;
    }

}

/* END print media */