/* CSS lapai */

/*@font-face {
    font-family: FedraSansBold;
    src: url('../fonts/fedra/FedraSansPro-Bold.otf');
}
@font-face {
    font-family: FedraSansBook;
    src: url('../fonts/fedra/FedraSansPro-Book.otf');
}
@font-face {
    font-family: FedraSansDemi;
    src: url('../fonts/fedra/FedraSansPro-Demi.otf');
}
@font-face {
    font-family: FedraSansLight;
    src: url('../fonts/fedra/FedraSansPro-Light.otf');
}
@font-face {
    font-family: FedraSansMedium;
    src: url('../fonts/fedra/FedraSansPro-Medium.otf');
}*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,400italic,600,700&subset=latin,cyrillic,cyrillic-ext,latin-ext);

* {
    padding: 0;
    margin: 0;
    font-family: "Open Sans", "sans-serif";
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 { font-family: "Open Sans", "sans-serif"; }

h1 { font-size: 26px; margin: 14px 0 30px 0; }
h2 { font-size: 24px; margin: 4px 0; }
h3 { font-size: 22px; margin: 2px 0; }
h4 { font-size: 20px; margin: 2px 0; }
h5 { font-size: 18px; margin: 2px 0; }
h6 { font-size: 16px; margin: 2px 0; }

p {
    margin: 6px 0;
    padding: 4px 0;
}

table {
    padding: 0;
    margin: 0;
    border: 0;
    border-spacing: 0;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    background: #ffffff;
}

a {
    color: #222;
    text-decoration: none;
    font-family: "Open Sans", "sans-serif";
}

strong {
    font-weight: normal;
    font-family: "Open Sans", Arial, Sans-Serif;
}

a:hover {
    text-decoration: underline;
}

.table { display: table; width: 100%; }
.table > div { display: table-row; }
.table > div:nth-child(2n-1) { background: #f6f9ff }
.table > div > div { display: table-cell; vertical-align: middle; padding: 10px; }

.table > div.thead > div { font-weight: normal; color: #fff; background: steelblue; border-color: #38678f !important }

.uppercase { text-transform: uppercase; }
.center-content { text-align: center; }
.relative { position: relative; }

#background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 700px;
    background-image: url('../images/bg_opt.jpg');
    background-size: cover;
    background-position: center;
}

#globalWrapper {
    /*position: relative;*/
    max-width: 96%;
    width: 1000px;
    margin: 0 auto;
}

#globalLeft {
    width: 100%;
}

#globalRightBack {
    width: 30%;
    height: 100%;
    background: #fbc727;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

#globalRight {
    width: 30%;
    height: auto;
    float: right;
}

#globalRight li {
    list-style: none;
    width: 80%;
    margin: 0 10% 40px 10%;
}

#globalRight li h3, #labais h3 {
    font-family: "Open Sans", "sans-serif";
    font-weight: normal;
    font-size: 20px;
    margin: 20px 0 30px 0;
    border-bottom: 1px solid #ff5454;
}

#globalRight #overflowed {
    overflow: auto;
}

#globalHeader, #globalFooter {
    width: 100%;
    position: relative;
}

#globalContent {
    margin: 40px auto;
}

#globalContent article.postContent, #globalContent article.postContent img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

#globalContent article.postContent footer {
    margin-top: 30px;
    border-top: 1px solid #f2f2f2;
    padding-top: 10px;
}

#globalNavigation {
    background: none repeat scroll 0 0 rgba(255,255,255,0.5);
    border-radius: 10px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    height: 80px;
    line-height: 80px;
    margin: 40px auto;
    overflow: hidden;
    width: 1000px;
    max-width: 96%;
}

#globalNavigation #headerLogotype {
    height: 80px;
    margin: 0;
    float: left;
    padding: 0 20px;
}

#globalNavigation #headerLogotype img {
    height: 100%;
    width: auto;
}

#globalNavigation > ul {
    width: auto;
    float: left;
    list-style: none;
}

#globalNavigation > ul > li {
    float: left;
}

#globalNavigation > ul > li a {
    color: #202020;
    display: block;
    padding: 0 20px;
    text-transform: uppercase;
    font-size: 12px;
}

#globalNavigation > ul > li a:hover, .current-menu-item {
    background: rgba(0,0,0,0.2);
    text-decoration: none;
    box-shadow: #ff5454 0 -6px 0 0 inset;
}

#globalNavigation > ul > li a {
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

#globalFooter {
    overflow: auto;
    background: #202020;
    color: #f2f2f2;
    width: 100%;
    left: 0;
    position: absolute;
}

#globalFooter #footerCredits {
    overflow: auto;
    padding: 6px 20px;
}

#globalFooter #footerCredits .credits {
    font-size: 12px;
    line-height: 18px;
}

#globalFooter #footerCredits .credits a {
    color: #f4f4f4;
}

/* Komentāri */

#postComments {
    margin: 30px auto;
    overflow: auto;
    width: 98%;
}

#postComments h3 {
    font-family: "Open Sans", "sans-serif";
    font-weight: normal;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f0f0f0;
}

#postComments .comment-author, #postComments .comment-meta {
    height: 20px;
    line-height: 20px;
    border-bottom: 1px solid #a6cdb3;
    width: 48%;
    padding: 0 1% 2px 1%;
    float: left;
}

#postComments .comment-meta {
    text-align: right;
}

#postComments .comment-author .fn,
#postComments .comment-author .says,
#postComments .commentmetadata,
#postComments .comment-awaiting-moderation {
    font-style: normal;
    font-size: 12px;
    line-height: 20px;
    vertical-align: top;
}

#postComments .comment-awaiting-moderation {
    position: absolute;
}

#postComments .comment-meta a {
    font-size: 12px;
}

#postComments .commentlist .comment {
    background: #fcfcfc;
    padding: 6px;
    border: 1px solid #f4f4f4;
    box-shadow: rgba(0,0,0,0.2) 0 0 1px 0;
    overflow: auto;
}

#postComments .comment-body > br {
    display: none;
}

#postComments .commentlist .comment.odd {
    background: #f8f8f8;
    border-top: 0;
}

#postComments .commentlist .comment p {
    padding: 6px 1% 0 1%;
    margin: 0;
    clear: both;
}

#postComments .commentlist .comment .reply {
    padding: 0 1% 6px 1%;
    margin-top: 12px;
    text-align: right;
}

#postComments .commentlist .comment .reply a {
    font-size: 12px;
}

#postComments .subc {
    padding: 10px 1%;
}

#postComments .subc a {
    font-size: 12px;
}

#commentform {
    padding: 10px;
    background: #fafafa;
    border: 1px solid #f6f6f6;
}

#commentform #submit {
    background: #ff5454;
    color: #f2f2f2;
    text-transform: uppercase;
    font-size: 12px;
    padding: 0 20px;
    line-height: 30px;
    height: 30px;
    border: 0;
    box-shadow: rgba(0,0,0,0.2) 0 0 2px 0;
    cursor: pointer;
    outline: 0;
}

#commentform #submit:hover {
    background: #339555;
}

#commentform #submit:active {
    background: #337555;
}

#commentform p {
    margin: 0;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

#commentform p input, #commentform p textarea {
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    margin: 0;
    padding: 0 6px;
    border: 1px solid #e8e8e8;
    outline: 0;
}

#commentform p textarea {
    height: 100px;
    max-height: 100px;
    max-width: 90%;
    width: 300px;
    line-height: 18px;
}

#commentform label {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    width: 100px;
}

#globalRight li {
    width: 90%;
    margin: 0 5%;
}

#globalRight li h3.widget-title {
    margin: 0;
    height: 50px;
    line-height: 50px;
    border: 0;
    background: #f9f9f9;
    padding: 0 14px;
    font-size: 18px;
    cursor: pointer;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

#globalRight li h3.widget-title:after {
    content: ">";
    font-size: 20px;
    color: #ff5454;
    display: inline-block;
    font-family: Dotum, Sans-Serif;
    font-weight: bold;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    right: 10px;
}

#globalRight li h3.widget-title.open:after {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    margin-right: 5px;
    margin-top: -22px;
}

#globalRight li h3.widget-title:hover { background: #f6f6f6; }
#globalRight li h3.widget-title:active { background: #f0f0f0; }

#globalRight .widgetInner {
    padding: 40px 20px;
}

#globalRight .widgetInner h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

#globalRight .widgetInner label.calculatorLabel {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #173;
}

#globalRight .widgetInner label.calculatorLabel span.before {
    display: block;
    margin-bottom: 10px;
}

#globalRight .widgetInner label.calculatorLabel input, #globalRight .widgetInner label.calculatorLabel select {
    outline: 0;
    border: 1px solid #173;
    background: #fafafa;
    color: #444444;
    padding: 6px;
}
#globalRight .widgetInner label.calculatorLabel select {
    width: 174px;
}

button.sendForm {
    padding: 10px 20px;
    background: #e54747;
    color: #f2f2f2;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    outline: 0;
}

button.sendForm:hover { background: #df4747; }
button.sendForm:active { background: #c84747; }

#gplTitle {
    background: #ff5454;
    color: #f2f2f2;
    display: inline-block;
    margin: 0 !important;
    padding: 0 40px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: normal !important;
    font-family: "Open Sans", Sans-Serif;
    text-transform: uppercase;
}

#gplStats {
    width: 100%;
    background: rgba(255,255,255,0.5);
    color: #f2f2f2;
    height: 60px;
    overflow: hidden;
}

#gplStats .gplRow {
    width: 30%;
    margin: 10px 1.4%;
    height: 40px;
    line-height: 40px;
    border: 1px solid #eee;
    text-transform: uppercase;
    float: left;
    border-radius: 6px;
    overflow: hidden;
}

#gplStats .gplRow span {
    float: right;
    padding: 0 20px;
    width: 50%;
    background: rgba(255,255,255,0.5);
    color: #202020;
    text-align: right;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#gplStats .gplRow span.title {
    float: left;
    width: 50%;
    background: none;
    color: #2e2e2e;
    text-align: left;
    font-weight: bold;
    background: rgba(255,255,255,0.1);
}


article.post {
    width: 25%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: 260px;
    border: 1px solid #ffffff;
    overflow: hidden;
    float: left;
}

article.post img {
    height: 140px;
}

#footerWidgets li {
    list-style: none;
    width: 25%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    float: left;
    padding: 10px;
}

#footerWidgets li h3 {
    text-transform: uppercase;
    font-weight: normal;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
}

#footerWidgets li .lonerTop {
    box-shadow: rgba(0,0,0,0.3) 0 0 3px 0;
    -webkit-box-shadow: rgba(0,0,0,0.3) 0 0 3px 0;
    border-radius: 20px;
    overflow: hidden;
}

#footerWidgets li .lonerTop .loanerTopRow {
    border-bottom: 1px solid #f8f8f8;
}

#footerWidgets li .lonerTop .loanerTopRow:last-child {
    border: 0;
}

#footerWidgets li .lonerTop .loanerTopRow a {
    background: #395;
}

#footerWidgets li .lonerTop .loanerTopRow a:hover {
    background: #ffffff;
}

#footerWidgets li .lonerTop .loanerTopRow a:before {
    display: none;
}

article.site-post {
    padding: 40px;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    margin-bottom: 60px;
}

#globalContent > h1 {
    background: #ffffff;
    border-radius: 20px 20px 0 0 ;
    height: 50px;
    line-height: 50px;
    padding: 30px;
}

#globalContent > article.post {
    margin: 30px 0;
}

#mobilemenu {
    display: none;
    float: right;
    width: 30px;
    height: 30px;
    border-radius: 60px;
    background: url('../images/burger.png') no-repeat center;
    opacity: 0.6;
    margin: 25px;
    outline: 0;
}

#accordion {
    padding: 30px;
    padding-top: 460px;
}

#accordion ul { padding-left: 20px; }
#accordion h3 { cursor: pointer; padding-bottom: 4px; border-bottom: 1px solid #f0f0f0; margin-bottom: 10px; }
#accordion div { margin-bottom: 10px; }
.from-top { margin-top: 100px; }

.slider-container {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 20px;
}

.slider-container > .wic-slider {
    width: 100%;
}

/** NEW SLIDER */
