/*
Theme Name: Tranio.Travel
Author: marvell
Author URI: mailto: alex@ndr.su
Version: 1.0
*/

/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
}

[hidden] {
    display: none;
}


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #666;
}

body {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/* =============================================================================
   Links
   ========================================================================== */

a {
    color: #000;
}

a:visited {
    color: #000;
}

a:hover {
    color: #000;
    text-decoration: none;
}

a:focus {
    outline: thin dotted;
}

/*
 * Improve readability when focused and hovered in all browsers: h5bp.com/h
 */

a:hover,
a:active {
    outline: 0;
}


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

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;
}

/*
 * Redeclare monospace font family: h5bp.com/j
 */

pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

/*
 * Improve readability of pre-formatted text
 */

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: 85%;
}

/*
 * Position subscript and superscript content without affecting line-height: h5bp.com/k
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}


/* =============================================================================
   Lists
   ========================================================================== */

ul,
ol {
    margin: 1em 0;
    padding: 0 0 0 40px;
}

dd {
    margin: 0 0 0 40px;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img {
    border: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure {
    margin: 0;
}


/* =============================================================================
   Forms
   ========================================================================== */

form {
    margin: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Indicate that 'label' will shift focus to the associated form element
 */

label {
    cursor: pointer;
}

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px;
}

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button,
input {
    line-height: normal;
}

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
}

/*
 * Re-set default cursor for disabled elements
 */

button[disabled],
input[disabled] {
    cursor: default;
}

/*
 * Consistent box sizing and appearance
 */

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;
}

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}


/* =============================================================================
   Tables
   ========================================================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: top;
}


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */
#container {
    width: 1000px;
    margin: 20px auto;
}
#container a.pseudo {
    text-decoration: none;
    border-bottom: 1px dotted;
}
#container a:hover.pseudo {
    border-bottom: none;
}

#container > header {
    margin-bottom: 38px;
}
#container > header .social_bar {
    text-align: right;
    margin-bottom: 20px;
}
#container > header .social_bar .item {
    display: inline-block;
    margin-left: 18px;
}
#container > header .social_bar .item .fb-like {
    top: -3px;
}
#container > header .social_bar .item.twitter {
    width: 110px !important;
}
#container > header .social_bar .item.vk {
    width: 92px !important;
}
#container > header .social_bar .item.facebook {
    margin-left: 8px;
}
#container > header .description {
    float: right;
    width: 450px;
    padding: 13px 10px 0;
    color: #999;
    font: italic 13px/16px Georgia, serif;
}
#container > header nav {
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    margin-top: 28px;
    padding: 14px 0;
    font: 13px/13px Georgia, serif;
    text-transform: uppercase;
}
#container > header nav a {
    text-decoration: none;
}
#container > header nav a:hover {
    text-decoration: underline;
}
#container > header nav .rss {
    float: right;
    width: 16px;
    height: 16px;
    margin-top: -2px;
    background: url('images/btn_rss.png') no-repeat;
    overflow: hidden;
    line-height: 50px;
}
#container > header nav ul li {
    float: left;
    padding: 0 21px;
    border-left: 1px solid #000;
}
#container > header nav ul li:first-child {
    padding-left: 0;
    border-left: none;
}
#container > header nav ul li:last-child {
    padding-right: 0;
}
#container > header nav ul li.current-menu-item a {
    text-decoration: underline;
}

#container > footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #dbdbdb;
    font: 14px/16px Georgia, serif;
}
#container > footer .search {
    float: right;
}
#container > footer .search input {
    width: 228px;
    border: 1px solid #DBDBDB;
    box-shadow: inset 0px 0px 5px #DBDBDA;
    color: #666;
    font-size: 12px;
    padding: 6px 5px;
}
#container > footer .search input[type=submit] {
    display: none;
}
#container > footer .copyright {
    color: #000;
}
#container > footer .contacts {
    margin-bottom: 12px;
}
#container > footer .contacts .phone {
    display: block;
    font-weight: bold;
    color: #000;
}

#main {
    float: left;
    width: 741px;
}
#main h1 {
    margin: 0 0 20px;
    font: bold 30px/32px Georgia, serif;
    border-bottom: 1px solid #dbdbdb;
}
#main.search_result #searchform input[type=text] {
    width: 80%;
    border: 1px solid #DBDBDB;
    box-shadow: inset 0px 0px 5px #DBDBDA;
    color: #666;
    font-size: 12px;
    padding: 6px 5px;
}
#main .post {
    margin-bottom: 30px;
}
#main .post header h2 {
    margin: 0 0 7px;
    font: 30px/32px Georgia, serif;
}
#main .post header h2 a {
    text-decoration: none;
}
#main .post header h2 a:hover {
    text-decoration: underline;
}
#main .post.color_1 header h2 a {
    color: #159377;
}
#main .post.color_2 header h2 a {
    color: #f79910;
}
#main .post.color_3 header h2 a {
    color: #df133e;
}
#main .post header .meta_info, #main .post footer .meta_info {
    padding-bottom: 13px;
    margin-bottom: 13px;
    border-bottom: 1px solid #dbdbdb;
    font: 13px/15px Georgia, serif;
    color: #999;
}
#main .post footer .meta_info {
    margin: 10px 0;
    padding-top: 13px;
    border-top: 1px solid #dbdbdb;
}
#main .post header .meta_info a, #main .post footer .meta_info a {
    color: #999;
    text-decoration: underline;
}
#main .post header .meta_info a:hover, #main .post footer .meta_info a:hover {
    text-decoration: none;
}
#main .post header .meta_info span, #main .post footer .meta_info span {
    padding: 0 4px;
    border-left: 1px solid #999;
}
#main .post header .meta_info span:first-child, #main .post footer .meta_info span:first-child {
    border-left: none;
    padding-left: 0;
}
#main .post header .meta_info span:last-child, #main .post footer .meta_info span:last-child {
    padding-right: 0;
}
#main .post .more-link {
    font-family: Georgia, serif;
    text-transform: uppercase;
    background: url('images/bg_more.png') right center no-repeat;
    padding-right: 10px;
}
#main.single .post header h1 {
    margin: 0 0 7px;
    font: 30px/32px Georgia, serif;
    color: #159377;
}
#main .comments .open_form_respond {
    float: right;
    font: 13px Georgia, serif;
    color: #159377;
}
#main .comments .title {
    font: 18px Georgia, serif;
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 8px;
    color: #000;
}
#main .comments .item {
    border-bottom: 1px solid #efefef;
    padding: 9px 0;
    font-size: 12px;
}
#main .comments .item:last-child {
    border-bottom: none;
}
#main .comments .item img {
    float: left;
    margin: 0 10px 5px 0;
}
#main .comments .item .date {
    float: right;
    font-family: Georgia, serif;
    color: #999999;
}
#main .comments .item .author {
    color: #000;
    text-decoration: underline;
}
#main .comments .item p {
    margin-top: 7px;
}

#main .pagination {
    padding: 9px 0;
    border-top: 1px solid #dbdbdb;
    border-bottom: 1px solid #dbdbdb;
    font: 13px/13px Georgia, serif;
}
#main .pagination ul li {
    float: left;
    padding: 0 9px;
    border-left: 1px solid #000;
}
#main .pagination ul li:first-child {
    border-left: none;
}
#main article.post h2, #main article.post h3, #main article.post h4, #main article.post h5, #main article.post h6 {
    font-family: Georgia, serif;
}
#main article.post table {
    font-size: 0.9em;
    margin: 4px auto;
    font-weight: normal;
}
#main article.post table tr:nth-child(2n) {
    background-color: #EEE;
}
#main article.post table th, #main article.post table td {
    border: 1px solid #DBDBDB;
    padding: 1px 5px;
}
#main article.post table thead th, #main article.post table thead td {
    font-weight: bold;
}
#main article.post blockquote {
    margin: 0;
    padding: 20px 100px;
    border-top: 1px solid #f3f3f3;
    border-bottom: 1px solid #f3f3f3;
    color: #000;
    font: italic 18px/20px Georgia, serif;
    background: url('images/bg_blockquote.png') center center no-repeat;
}
#main article.post p.ul_title {
    font: 18px/20px Georgia, serif;
    border-bottom: 1px solid #DBDBDB;
    padding-bottom: 8px;
}
#main article.post ul {
    padding-left: 20px;
    list-style-image: url('images/bg_li.png');
}
#main article.post ul li {
    padding-bottom: 15px;
}
#main article.post .ad-gallery {
    width: 741px;
}
#main article.post .ad-gallery, .ad-gallery * {
    margin: 0;
    padding: 0;
}
    #main article.post .ad-gallery .ad-image-wrapper {
        width: 100%;
        height: 492px;
        position: relative;
        overflow: hidden;
        margin-bottom: 10px;
    }
        #main article.post .ad-gallery .ad-image-wrapper .ad-loader {
            position: absolute;
            z-index: 10;
            top: 48%;
            left: 48%;
            border: 1px solid #CCC;
        }
        #main article.post .ad-gallery .ad-image-wrapper .ad-next {
            position: absolute;
            right: 0;
            top: 0;
            width: 25%;
            height: 100%;
            cursor: pointer;
            display: block;
            z-index: 200;
        }
        #main article.post .ad-gallery .ad-image-wrapper .ad-prev {
            position: absolute;
            left: 0;
            top: 0;
            width: 25%;
            height: 100%;
            cursor: pointer;
            display: block;
            z-index: 200;
        }
        #main article.post .ad-gallery .ad-image-wrapper .ad-prev, #main article.post .ad-gallery .ad-image-wrapper .ad-next {
            /* Or else IE will hide it */
            background: url(images/trans.gif);
        }
            #main article.post .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, #main article.post .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
                display: none;
                position: absolute;
                top: 47%;
                left: 0;
                z-index: 101;
            }
            #main article.post .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
                right: 0;
                left: auto;
            }
        #main article.post .ad-gallery .ad-image-wrapper .ad-image {
            position: absolute;
            overflow: hidden;
            top: 0;
            left: 0;
            z-index: 9;
        }
            #main article.post .ad-gallery .ad-image-wrapper .ad-image img {
                border-radius: 5px;
            }
            #main article.post .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
                display: none;
            }
            * html #main article.post .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
                background: none;
                filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
            }
                #main article.post .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
                    display: block;
                }
    #main article.post .ad-gallery .ad-nav {
        width: 100%;
        position: relative;
    }
        #main article.post .ad-gallery .ad-forward, #main article.post .ad-gallery .ad-back {
            position: absolute;
            top: 0;
            height: 100%;
            z-index: 10;
        }
        /* IE 6 doesn't like height: 100% */
        * html #main article.post .ad-gallery .ad-forward, #main article.post .ad-gallery .ad-back {
            height: 100px;
        }
        #main article.post .ad-gallery .ad-nav .ad-thumbs {
            overflow: hidden;
            width: 100%;
        }
            #main article.post .ad-gallery .ad-thumbs .ad-thumb-list {
                float: left;
                width: 9000px;
                list-style: none !important;
                padding: 0 !important;
            }
                #main article.post .ad-gallery .ad-thumbs li {
                    float: left;
                    padding: 0 6px 0 0;
                }
                    #main article.post .ad-gallery .ad-thumbs li a {
                        display: block;
                    }
                        #main article.post .ad-gallery .ad-thumbs li a img {
                            display: block;
                            border-radius: 3px;
                        }
                        #main article.post .ad-gallery .ad-thumbs li a.ad-active img {
                            
                        }
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
    position: absolute;
    left: -9000px;
    top: -9000px;
}

#main.preview article.post .ad-image-wrapper {
    display: none;
}
#main.preview article.post .ad-thumb-list {
    width: 741px !important;
}
#main.preview article.post .ad-thumbs {
    height: 224px;
}
#main.preview article.post .ad-gallery .ad-thumbs li {
    padding: 6px;
}

#sidebar {
    margin-left: 741px;
    padding-left: 20px;
}
#sidebar > div {
    margin-bottom: 23px;
}
#sidebar .banner {
    border: 1px solid #d5e0ea;
    text-align: center;
    padding: 1px;
}
#sidebar .banner > a > img {
    margin: 20px 0;
}
#sidebar .banner #form_request {
    width: 201px;
    margin: 20px auto;
}
#sidebar .banner #form_request label {
    color: #666;
    font-size: 12px;
}
#sidebar .banner #form_request textarea, #sidebar .banner #form_request input[type=text] {
    width: 189px;
    border: 1px solid #DBDBDB;
    box-shadow: inset 0px 0px 5px #DBDBDA;
    color: #666;
    font-size: 12px;
    padding: 6px 5px;
}
#sidebar .banner #form_request textarea {
    height: 64px;
}
#sidebar .banner #form_request input[type=text] {
    margin-bottom: 5px;
}
#sidebar .banner #form_request textarea.error, #sidebar .banner #form_request input[type=text].error {
    box-shadow: inset 0px 0px 5px red;
}
#sidebar .banner #form_request input[type=submit]{
    width: 201px;
    height: 31px;
    border: none;
    padding: 0;
    line-height:100px;
    overflow: hidden;
    background: url('images/btn_form_request.png') no-repeat;
}
#sidebar .banner #form_request legend {
    color: #159377;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 0;
    line-height: 13px;
}
#sidebar .popular {
    margin-top: 10px;
}
#sidebar .popular .title {
    font: 18px/18px Georgia, serif;
    text-transform: uppercase;
    color: #000;
}
#sidebar .popular .item {
    padding: 20px 0;
    border-bottom: 1px solid #dbdbdb;
    font-size: 12px;
}
#sidebar .popular .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
#sidebar .popular .item img {
    float: left;
    margin: 0 20px 0 0;
}
#sidebar .popular .item h3 {
    margin: 0;
    font: 18px/20px Georgia, serif;
}
#sidebar .popular .item.color_1 h3 a {
    color: #159377;
}
#sidebar .popular .item.color_2 h3 a {
    color: #f79910;
}
#sidebar .popular .item.color_3 h3 a {
    color: #df133e;
}
#sidebar .popular .item p {
    margin: 4px 0;
    line-height: 18px;
}
#sidebar .popular .item .more {
    display: inline-block;
    position: relative;
    width: 13px;
    height: 13px;
    top: 2px;
    left: 4px;
    overflow: hidden;
}
#sidebar .popular .item .more a {
    opacity: 0;
}
#sidebar .popular .item.color_1 .more {
    background: url('images/btn_arrow_green.png') no-repeat;
}
#sidebar .popular .item.color_2 .more {
    background: url('images/btn_arrow_orange.png') no-repeat;
}
#sidebar .popular .item.color_3 .more {
    background: url('images/btn_arrow_red.png') no-repeat;
}
#sidebar .recent {
    margin-top: 10px;
}
#sidebar .recent .title {
    font: 18px/18px Georgia, serif;
    text-transform: uppercase;
    color: #000;
}
#sidebar .recent .item {
    padding: 11px 0;
    border-bottom: 1px solid #dbdbdb;
    font-size: 12px;
}
#sidebar .recent .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
#sidebar .recent .item .date {
    font: 13px/15px Georgia, serif;
    color: #999;
}
#sidebar .recent .item h3 {
    margin: 1px 0;
    font: 13px/15px Georgia, serif;
}
#sidebar .recent .item.color_1 h3 a {
    color: #159377;
}
#sidebar .recent .item.color_2 h3 a {
    color: #f79910;
}
#sidebar .recent .item.color_3 h3 a {
    color: #df133e;
}
#sidebar .recent .item p {
    margin: 4px 0;
    line-height: 18px;
    font-size: 11px;
}






/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    border: 0;
    font: 0/0 a;
    text-shadow: none;
    color: transparent;
    background-color: transparent;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}