/* General
---------------------------------------- */
html,
body {
    height:100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    /*overflow-x: hidden;*/
}
#prob
{
    margin-top:10px;
}
.componentheading
{

  background: url("img/heading-tail.gif") repeat-x scroll 0 0 #DBD8DB;
    border-bottom: 1px solid #C3C0C3;
    color: #3C3C3C;
 
    -webkit-border-radius: 5px 5px 0 0;
 
            border-radius: 5px 5px 0 0;
    font-size: 20px;
    font-weight: normal;
    line-height: 2em;
    margin-bottom: 25px;
    padding: 3px 0 3px 20px;
    position: relative;

    }
body{
    font: 100%/1.125em Arial, Helvetica, sans-serif;
    position:relative;
    color:#6f6d6f;
    -webkit-box-sizing:border-box;
            box-sizing:border-box;
}

#main {
    font-size:12px;
    line-height:1.666em;
    width:980px;
    margin:0 auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .divh2 {
    font-weight:bold;
    margin:0 0 1em 0;
}   

h1 {
    font-size:20px;
    line-height:2em;
    font-weight:normal;
    padding:3px 0 3px 20px;
    -webkit-border-radius:5px 5px 0 0;
            border-radius:5px 5px 0 0;
    margin-bottom:25px;
    position:relative;
}
h2, .divh2 {
    font-size:20px;
    line-height:2em;
    font-weight:normal;
    padding:3px 0 3px 20px;
    margin-bottom:25px;
    position:relative;
}

h3 {
    font-size:20px;
    line-height:1.2;
    font-weight:normal;
    margin-bottom:15px;
}
h4 {
    font-size: 19px;
    font-weight:normal;
    line-height: 22px;
    margin: 0 0 12px;
}
h4 a {
    text-decoration:none;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}

h5 {
    font-size:15px;
    line-height:20px;
    font-weight:normal;
}
h5 a {
    text-decoration:none;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}
h6 {font-size:1em; margin:0;}
a {
    outline: none !important;
}

/* List styling */
dl dt {
    padding:0 0 3px 32px;
    margin-bottom:.2em;
    font-size:18px;
    line-height:1.2em;
}
dl dd {
    padding:0 0 0 32px;
    margin:0 0 1.5em 0;
}

.list-1 li {
    line-height:25px;
    padding:2px 0;
}
.list-1 {margin:-18px 0 40px;}
.list-1 li:first-child {border:none; padding-top:3px;}
.list-1 li a {
    display:block;
    padding-left:20px;
    text-decoration:none;
    -webkit-border-radius:2px;
            border-radius:2px;
    position:relative;
}

/*.grid_3 div:first-child  {margin-bottom:20px;}    */
.grid_9 {
    z-index: 25;
}
.grid_3 {
    z-index: 22;
}
.grid_3 .block h2 {
    margin-bottom:7px;
}
.grid_3 .block ul.menu li.first {
    border: none;
}
.grid_3 .block ul li a {
    padding:5px 0 5px 15px;
}
.grid_3 .block li {border:none; padding-top:2px;}
.grid_3 .block li a {
    display:block;
    padding-left:20px;
    text-decoration:none;
    -webkit-border-radius:2px;
            border-radius:2px;
    position:relative;
    color: #6F6D6F !important;
}
.grid_3 .block ul > li > a {
    text-decoration:none;
}

.list-3 li {
    font-size:12px;
    line-height:18px;
    padding:3px 0 3px 12px;
}
.list-3 li a {
    display:inline-block;
    text-decoration:none;
}
.list-3 li a:hover {text-decoration:underline;}

img {
}

.link {text-decoration:none; font-weight:bold;}
.link:hover {text-decoration:underline; color:#339933;}

.link-1 {
    font-weight:bold;
    text-decoration:none;
}
.link-1:hover {text-decoration:underline;}

.link-2 {
    display:inline-block;
    font-weight:bold;
    text-decoration:none;
    padding-left:10px;
}
.link-2:hover {text-decoration:underline;}

.link-3 {
    font-weight:bold;
    text-decoration:none;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}

.p1 {margin-bottom:8px;}
.p2 {margin-bottom:15px;}

/* Header
---------------------------------------- */
#head {
    position: relative;
    width: 100%;
    min-height:193px;
    z-index: 99;
    padding-bottom:20px;

}
#header {width:980px; margin:0 auto; font-size:12px; line-height:1.2em; padding-bottom:20px;
    /*background-image: url(/upload/newyear_fahverk.png) !important;*/
    background-repeat: no-repeat !important;
}

/* Logo */
.logo {
    float: left;
    padding: 31px 0 0 0px;
}
.logo h1,
.logo h2 {
    font-family: 'Open Sans', sans-serif;
    font-size:46px;
    line-height:83px;
    margin:0;
    border:none;
    background:none;
    padding:0;
    text-transform:uppercase;
    font-weight:600;
    letter-spacing:-1px;
}
.logo h1 a,
.logo h2 a {
    display:inline-block;
    text-decoration:none;
    padding-left:28px;
}
.logo .tagline {
    font-size:10px;
    text-transform:uppercase;
}

.special-list {
    float: right;
    padding: 50px 0 0;
    width: 230px;
}
.special-list ul {
    margin: 0px;
    padding: 0px;
}
.special-list li {
    display: inline;
}
.special-list li.active a {
    text-decoration: underline;
}
.special-list a {
    margin-left: 16px;
    text-decoration: none;
}
.special-list a:hover {
    text-decoration: underline;
}
.special-list .phone {
    font-size: 25px;
    text-align: right;
    line-height: 100%;
    text-align: right;
    padding-top: 5px;
}


/* Header widget */
#widget-header {
    position: relative;
    float: right;
    z-index: 1;
}

/* Social Networks */
#widget-header .social-networks {
    list-style-type:none;
    padding:0;
    margin:0;
    border:none;
}
#widget-header .social-networks li {
    float:left;
    border:none;
    padding:0;
    margin:0 0 0 5px;
    list-style-type:none;
    height:30px;
}
#widget-header .social-networks li a {
    text-decoration:none;
    float:left;
    height:30px;
    display:block;
}
#widget-header .social-networks li a img {-webkit-border-radius:0;border-radius:0;}
#widget-header .social-networks li a:hover {color:red;}

/* EasyTooltip */
.tooltip {
    background: none repeat scroll 0 0 #252525;
    border: 1px solid #000000;
    color: #EEEEEE;
    display: none;
    font-size: 11px;
    line-height:1.2em;
    margin: 13px 0 0;
    padding: 5px;
    z-index:99;
}




/* Request a quote */
#widget_my_requestquotewidget {
    width:100%;
    overflow:hidden;
}

.top-box {
    background:#eee;
    border:1px solid #dbdbdb;
    padding:20px;
    margin-bottom:20px;
    overflow:hidden;
}


/* Slider
---------------------------------------- */
#slider-wrapper {
    /*height:400px;*/
height:650px;
    overflow:hidden;
    position:relative;
    margin-bottom:20px;
}
#slider {
    position:relative;
    width:980px;
    /*height:400px;*/
height:650px;
}
#slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    width: 980px;
    /*height: 400px;*/
height:650px;
}
#slider a {
    display:block;
}


/* The Nivo Slider styles */
#slider-wrapper .nivoSlider {
    position:relative;
}
#slider-wrapper .nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
}
/* If an image is wrapped in a link */
#slider-wrapper .nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:60;
    display:none;
}
/* The slices in the Slider */
#slider-wrapper .nivo-slice {
    display:block;
    position:absolute;
    z-index:50;
    height:100%;
}
#slider-wrapper .nivo-box {
    display:block;
    position:absolute;
    z-index:5;
}
/* Caption styles */
#slider-wrapper .nivo-caption {
    position:absolute;
    left: auto;
    bottom: auto;
    right:0;
    top:0;
    opacity: 1.0;
    width:320px;
    height:440px;
    overflow:hidden;
    z-index:89;
    padding: 0px;
}
#slider-wrapper .nivo-caption .nivo-caption-inner {
    padding:32px 40px;
    margin:0;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader() !important;
}
#slider-wrapper .nivo-caption strong {
    display:block;
    font-family: 'Open Sans', sans-serif;
    font-size:32px;
    font-weight:600;
    line-height:38px;
    letter-spacing:-2px;
    margin-bottom:20px;
}
#slider-wrapper .nivo-caption em {
    display:block;
    font-style:normal;
    margin-bottom:12px;
}
#slider-wrapper .nivo-caption a {
    text-decoration: none;
    background: none !important;
}
#slider-wrapper .nivo-caption a.link {
    display:inline-block !important;
    padding-left:17px;
    font-size:17px;
    height:32px;
    line-height:30px;
    overflow:hidden;
    text-decoration:none;
}
#slider-wrapper .nivo-caption a.link span {
    display:inline-block;
    padding-right:17px;
    height:32px;
}
#slider-wrapper .nivo-caption a.link span b {
    display:inline-block;
    height:32px;
    font-weight:normal;
}
#slider-wrapper .nivo-caption a.link:hover {background-color:#e6705f;}
#slider-wrapper .nivo-caption a.link:hover span {background-color:#e6705f;}
#slider-wrapper .nivo-caption a.link:hover b {background-color:#e6705f;}
#slider-wrapper .nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
#slider-wrapper .nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:99;
    cursor:pointer;
}
#slider-wrapper .nivo-prevNav {
    left:0px;
}
#slider-wrapper .nivo-nextNav {
    right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
#slider-wrapper .nivo-controlNav {
    position:absolute;
    z-index:999;
    width:320px;
    right:0;
    bottom:0;
    overflow:hidden;
    margin-top:-1px;
    text-align: right;
    padding: 10px;
}
#slider-wrapper .nivo-controlNav a {
    position:relative;
    z-index:99;
    cursor:pointer;
    display:inline-block !important;
    width:35px;
    height:30px;
    text-align:center;
    font-size:17px;
    line-height:30px;
    text-decoration:none;
    margin: 0px 10px 5px 0px;
}
#slider-wrapper .nivo-controlNav a[rel="5"] {
    background-position: left 0;
}
#slider-wrapper .nivo-controlNav a.active,
#slider-wrapper .nivo-controlNav a:hover {
}

#slider-wrapper .nivo-directionNav a {
    position:absolute;
    display:block;
    width:36px;
    height:35px;
    text-indent:-9999px;
    border:0;
    top:50%;
    background:url(img/direction_nav.png) no-repeat 0 0;
}
#slider-wrapper a.nivo-nextNav {
    right:0;
    background-position:-36px 0;
}
#slider-wrapper a.nivo-nextNav:hover {
    background-position:-36px -35px;
}
#slider-wrapper a.nivo-prevNav {
    left:0;
    background-position:0 0;
}
#slider-wrapper a.nivo-prevNav:hover {
    background-position:0 -35px;
}

#slider-wrapper #slider .nivo-controlNav img {
    display:inline; /* Unhide the thumbnails */
    position:relative;
    margin-right:10px;
    width:120px;
    height:auto;
}



/* Navigations
---------------------------------------- */

.row-top {
    width:100%;
    -webkit-border-radius:2px;
            border-radius:2px;
    margin-top:17px;
    margin-left:-1px;   
    position: static !important;
}

/* Primary navigation */
nav.primary {
    position:relative;
    z-index:99;
}

/* Essential styles for dropdown menu */
.row-top .menu, .row-top .menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}
.row-top .menu {
    line-height: 1.0;
}
.row-top .menu ul {
    position:       absolute;
    top:            -999em;
    width:          154px; /* left offset of submenus need to match (see below) */
    padding:10px 20px;
    -webkit-border-radius:0 0 5px 5px;
            border-radius:0 0 5px 5px;
    margin-top: -2px;
}
.row-top .menu ul ul {
    -webkit-border-radius:5px;
            border-radius:5px;
}
.sf-menu li li.first,
.sf-menu li li:first-child {
    border-top: none;
}

.row-top .menu ul li {
    width:          100%;
}
.row-top .menu li:hover {
    visibility:     inherit; /* fixes IE7 'sticky bug' */
}
.row-top .menu li {
    float:          left;
    position:       relative;
}
.row-top .menu a {
    display:inline-block;
    position:       relative;
}
.row-top .menu li:hover ul,
.row-top .menu li.sfHover ul {
    left:           0;
    top:            62px; /* match top ul list item height */
    z-index:        99;
}
ul.row-top .menu li:hover li ul,
ul.row-top .menu li.sfHover li ul {
    top:            -999em;
}
ul.row-top .menu li li:hover ul,
ul.row-top .menu li li.sfHover ul {
    left:           10em; /* match ul width */
    top:            0;
}
ul.row-top .menu li li:hover li ul,
ul.row-top .menu li li.sfHover li ul {
    top:            -999em;
}
ul.row-top .menu li li li:hover ul,
ul.row-top .menu li li li.sfHover ul {
    left:           10em; /* match ul width */
    top:            0;
}


/* Our skin for dropdown menu */
.row-top .menu {
    float:left;
    margin:-1px -1px -1px 0px;
}
.row-top .menu > li:first-child > a{
    -webkit-border-radius: 2px 0 0 2px;
            border-radius: 2px 0 0 2px;
}
.ie .row-top .menu > li:first-child > a{
    -webkit-border-radius: 0;
            border-radius: 0;
}
.row-top .menu > li > a {
    font-size:16px;
    line-height:2;
    border-bottom:1px solid #2e2d2e;
    text-decoration:none;
    padding:12px 25px 14px 25px;
    margin-top:1px; 
    margin-bottom:1px;
}
.row-top .menu > li.last > a {
    padding:12px 27px 14px 28px;
}
@-moz-document url-prefix() {
    .row-top .menu > li > a {
        padding:12px 24px 14px 25px;
    }
    .row-top .menu > li.last > a {
        padding:12px 29px 14px 30px;
    }
}
.row-top .menu > li.last > a:hover {
    /*background-image: url(img/menu-active2.gif) !important;*/
}
.row-top .menu > li > a:hover, 
.row-top .menu > li.sfHover > a,
.row-top .menu > li.current-menu-item > a,
.row-top .menu > li.current-page-parent > a,
.row-top .menu > li.current-menu-ancestor > a {
    background-position:0 0;
    background-repeat:repeat-x;
    background-color:#e46e5d;
}

.row-top .menu li li {
    font-size:12px;
    line-height:18px;
    padding:4px 0;
}
.row-top .menu li li:first-child {border-top:none;}
.row-top .menu li li a {
    display:inline-block;
    padding-left:17px;
    text-decoration:none;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}

/*** arrows **/
.row-top .menu a.sf-with-ul {
    padding-right:  2.25em;
    min-width:      1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
    position:       absolute;
    display:        block;
    right:          .75em;
    top:            1.05em; /* IE6 only */
    width:          10px;
    height:         10px;
    text-indent:    -999em;
    overflow:       hidden;
    background:     url(img/arrows-ffffff.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
    top:            23px;
    background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
    background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.row-top .menu ul .sf-sub-indicator { background-position:  -10px 0; }
.row-top .menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.row-top .menu ul a:focus > .sf-sub-indicator,
.row-top .menu ul a:hover > .sf-sub-indicator,
.row-top .menu ul a:active > .sf-sub-indicator,
.row-top .menu ul li:hover > a > .sf-sub-indicator,
.row-top .menu ul li.sfHover > a > .sf-sub-indicator {
    background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
    background: url(img/shadow.png) no-repeat bottom right;
    padding: 0 8px 9px 0;
    -moz-border-radius-bottomleft: 17px;
    -moz-border-radius-topright: 17px;
    -webkit-border-top-right-radius: 17px;
    -webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
    background: transparent;
}




/* Top search */
#top-search {
    float: right;
    padding: 16px 20px 0 0;
}
#top-search form {
    position: relative;
    width: 220px;
    height:27px;
}
#top-search .input-search {
    font-size: 15px;
    padding: 5px 10px;
    vertical-align: top;
    width: 155px;
    border:none;
}
#top-search #submit {
    border: medium none;
    cursor: pointer;
    height: 25px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    right: 1px;
    text-align: center;
    text-indent: -999em;
    top: 1px;
    width: 41px;
}
#top-search #submit:hover {background-position:right 0 !important;}



/* Content
---------------------------------------- */
.before-content {
    padding:20px 0;
    margin:-20px -10px 20px;
    position:relative;
}   
.primary_content_wrap {
    margin:0 -10px;
    padding:20px 10px;
}
body.home .primary_content_wrap {-webkit-border-radius:10px 10px 0 0;border-radius:10px 10px 0 0; padding-top:0;}

.second_content {
    margin:-10px -10px 0;   
    position:relative;
}
.second_content  h4 {
    padding-bottom:15px;
    margin-bottom:15px;
}

#content.left {
    float:right !important;
}


/* Comments
---------------------------------------- */
h3#comments {
    padding-top:25px;
    margin-bottom:0;
}
.commentlist {
    list-style-type:none;
    padding:0 0 20px 0;
    margin:0;
    position:relative;
    overflow:hidden;
}
li.comment {
    list-style-type:none;
    overflow:hidden;
    position:relative;      
}
li.comment > div {padding-bottom:10px;}
li.comment .comment-body {
    padding:20px 20px 25px 20px;
    position:relative;
    overflow:hidden;
    -webkit-border-radius:5px;
            border-radius:5px;
}
.comment-author {
    padding:0;
}
.comment-meta {
    display:inline-block;
}
li.comment .avatar {
    float:left;
    margin-right:14px;
    vertical-align:top;
    overflow:hidden;
}
li.comment .avatar {
    display:block;
    vertical-align:top;
    overflow:hidden;
}

.commentlist ul.children {
    padding:0 0 0 30px;
    margin:0;
    position:relative;
    overflow:hidden;
}

.reply {
    text-align:right;
}
.reply a {
    display:inline-block;
    font-weight:bold;
    padding-left:37px;
    text-decoration:none;
}
span.author {
    display:inline-block;
    position:absolute;
    left:30px;
    top:80px;
    text-transform:capitalize;
}

.allowed_tags {
    background:#eee;
    padding:15px;
    font-size:11px;
    font-family:"Courier New", Courier, monospace;
    color:#666;
}
.allowed_tags strong {
    font-family:Tahoma, Geneva, sans-serif;
}
#respond {
    padding:1em 0 0 0;
}



/* Post
---------------------------------------- */
.post-holder {
    margin-bottom:20px;
    position:relative;
    overflow:hidden;
}

/* Post header */
.post-holder .entry-header h1,
.post-holder .entry-header h2 {
    margin-bottom:.2em;
}
.post-holder.single-post {
    margin-bottom:30px;
    padding:0;
    overflow:hidden;
    width:100%;
    background:none;
}

/* Featured thumbnail */
.featured-thumbnail {
    float:left;
    margin:5px 20px 10px 0;
}
.featured-thumbnail img {
    float:left;
    position:relative;
}

/* Small thumbnail */
.featured-thumbnail.small img {
    padding:4px;
}

/* Large thumbnail */
.featured-thumbnail.large {
    margin-right:0;
    overflow:hidden;
    margin-bottom:25px;
}
.featured-thumbnail.large img {
    max-width:100%;
    height:auto;
}

/* Thumbnail with prettyphoto */
.featured-thumbnail .image-wrap[rel="prettyphoto"] {
    background:url(img/magnify.png) no-repeat 50% 50%;
    display:block;
    float:left;
}
.featured-thumbnail .image-wrap[rel="prettyphoto"] img {
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}
.featured-thumbnail .image-wrap[rel="prettyphoto"]:hover img {
    opacity:.5;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

/* Post content */
.post-content .excerpt {
    margin-bottom:1.5em;
}
.pagination a {
    display:inline-block;
    padding:0 5px;
    background:#eee;
}

/* Post footer */
.post-holder .post-footer {
    clear:both;
    padding:15px 0 0 0;
}
.post-holder.single-post .post-footer {
    margin-top:20px;
}

.entry-header {position:relative;margin-bottom:15px;}
/* Meta information for post */
.post-meta {
    font-size:11px;
    line-height:17px;
}
.post-meta a[rel="author"] {font-weight:bold; text-decoration:none; text-transform:capitalize;}
.post-meta a[rel="author"]:hover {text-decoration:underline;}
.content-item .post-meta {
    margin-top: -10px;
    margin-bottom: 10px;
}
.content-item .text img {
    border: #CCC 1px solid;
}
.content-item .post-holder,
.content-item .text {
    padding: 0px 5px;
}

p.gravatar {
    float:left;
    margin-right:20px;
}

.comments-link {
    display:block;
    width:29px;
    height:28px;
    font-size:15px;
    line-height:22px;
    text-decoration:none;
    text-align:center;
    overflow:hidden;
    position:absolute;
    right:27px;
    top:16px;
}


/* Post edit link */
.post-edit-link {
    display:block;
    position:absolute;
    right:0;
    top:0;
    padding:2px 7px;
    font-size:10px;
    text-transform:uppercase;
    text-decoration:none;
    -webkit-border-radius:3px;
            border-radius:3px;
}


/* Image styling */
.alignleft {
    float:left;
    margin:0 20px 10px 0;
    -webkit-border-radius:0;
            border-radius:0;
}
.alignright {
    float:right;
    margin:0 0 10px 20px;
}
.aligncenter {
    text-align:center;
    margin:0 auto;
}
.alignnone {
    margin:0 0 25px 0;
    -webkit-border-radius:0;
            border-radius:0;
}
.align-right {text-align:right;}
article .post-content img {
    max-width:710px;
}

.frame {
    padding:7px;
    background:#fff;
    border:1px solid #dbdbdb;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    text-align:center;
}
.frame img.alignleft,
.frame img.alignright{
    margin:0;
    padding:0;
    border:none;
}



/* Page Navigaton (wp-pagenavi) */
.wp-pagenavi {
    clear: both;
    overflow:hidden;
    text-align:center;
}
.wp-pagenavi a, .wp-pagenavi span {
    display:inline-block;
    font-size:13px;
    line-height:20px;
    margin:0 5px;
    text-decoration:none;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}
.wp-pagenavi,
.wp-pagenavi span.pagenavv {
    color: #AAA;
}
.wp-pagenavi span.pagenav {
    font-weight: bold;
}

/* Older and newer navigation */
nav.oldernewer {
    width:100%;
    overflow:hidden;
    margin-bottom:1.5em;
}
.older {
    float:left;
}
.newer {
    float:right;
}



/* Author
---------------------------------------- */
#post-author {
    overflow:hidden;
    padding:20px;
    margin-bottom:2em;
}
#author-link {
    margin-top:1.5em;
}
#post-author .gravatar {
    margin:0 20px 0 0;
}
#post-author .gravatar img {
    padding:5px;
}

/* Recent author posts */
#recent-author-posts {
    margin-bottom:3em;
}

/* Recent author comments */
.author-info {
    width:100%;
    overflow:hidden;
    margin-bottom:3em;
    padding-bottom:2em;
}
.author-info .avatar {
    margin:0 20px 0 0;
}
.author-info .avatar img {
    float:left;
}

.author-meta {
    margin-bottom:20px;
    overflow:hidden;
    width:100%;
}
.author-meta p.gravatar {
    margin:0;
}




/* 404
---------------------------------------- */
#error404 {
    padding:30px 0 100px 0;
}
.error404-num {
    font-size:250px;
    line-height:1.2em;
    text-align:center;
}
#error404 hgroup {
    margin:0 0 2em 0;
    padding-top:50px;
}
#error404 hgroup h1 {
    font-size:3em;
    margin-bottom:.2em;
    background:none;
    border:none;
    -webkit-border-radius:0;
            border-radius:0;
    padding:0;
    margin:0;
}
#error404 hgroup h2 {
    background:none;
    border:none;
    padding:0;
    -webkit-border-radius:0;
            border-radius:0;
}



/* Portfolio
---------------------------------------- */
.latestwork {
    width:100%;
    overflow:hidden;
    list-style-type:none;
    padding:0;
    margin:0;
}
.latestwork li {
    float:left;
    margin-right:20px;
}


/* Gallery */
.header-title {
    margin-bottom:25px;
}
.header-title h1 {
    margin-bottom:0;
}
.header-title .page-desc {
    font-size:.91em;
    color:#999;
}

.entry-header h4 {margin-bottom:5px;}


/* Default layout 3 columns */
#gallery .portfolio {
    width:100%;
    overflow:hidden;
    list-style-type:none;
    padding:0;
    margin:0;
}
#gallery .portfolio li {
    list-style-type:none;
    display:-moz-inline-box;
    display:inline-block;
    zoom:1;
    vertical-align:top; 
    width:301px;
    margin:0 14px 20px 0;
    position:relative;
    background:none;
    padding:0;
}
* + html #gallery .portfolio li {
    display:inline;
}
#gallery .portfolio li.nomargin {
    margin-right:0 !important;
}
#gallery .portfolio li span.image-border {
    display:block;
    position:relative;
    overflow:hidden;
}
#gallery .portfolio li a.image-wrap {
    display:block;
    overflow:hidden;
    width:301px;
    height:210px;
    position:relative;
    background:url(img/loading.gif) 50% 50% no-repeat;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}
#gallery .portfolio li a.image-wrap img {float:left; position:relative;}

#gallery .portfolio .folio-desc {
    margin-bottom:0;
    padding:1.5em 0 0 .5em;
}
#gallery .portfolio h4 {margin-bottom:8px;}
#gallery .portfolio p.excerpt {padding:0;}

.zoom-icon {
    display:block;
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    cursor:pointer;
    background:rgba(0, 0, 0, .22);
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
    opacity:0;
    -webkit-border-radius:5px;
            border-radius:5px;
}
.no-rgba .zoom-icon {
    background:url(img/black-opacity-22.png);
    visibility:hidden;
}
.zoom-icon:before {
    content:"";
    display:block;
    position:absolute;
    left:50%;
    top:50%;
    width:45px;
    height:60px;
    margin:-30px 0 0 -21px;
    background:url(img/magnify-alt.png) 50% 50% no-repeat;
}
.image-wrap:hover .zoom-icon {
    opacity:1;
}
.no-rgba .image-wrap:hover .zoom-icon {
    visibility:visible;
}


/* 1 column portfolio*/
#gallery.one_column .portfolio li {
    width:100%;
    margin-right:0;
    margin-left:0;
}
#gallery.one_column .portfolio li span.image-border {
    width:507px;
    height:260px;
    float:left;
    padding:7px;
    float:left;
    margin-right:20px;
}
#gallery.one_column .portfolio li a.image-wrap {
    width:507px;
    height:260px;
}
#gallery.one_column .portfolio li a.image-wrap img {-webkit-border-radius:0;border-radius:0;}
#gallery.one_column .folio-desc {
    overflow:hidden;
    padding:0;
}
#gallery.one_column .zoom-icon {-webkit-border-radius:0;border-radius:0;}

/* 2 columns portfolio*/
#gallery.two_columns .portfolio li {
    width:461px;
    margin-right:13px;
}
#gallery.two_columns .portfolio li a.image-wrap {
    width:461px;
    height:250px;
}

/* 4 columns portfolio*/
#gallery.four_columns .portfolio li {
    width:221px;
    margin-right:13px;
}
#gallery.four_columns .portfolio li a.image-wrap {
    width:221px;
    height:170px;
}




/* Sidebar
---------------------------------------- */
#sidebar {

}
.widget {
    margin-bottom:30px;
}


/* Calendar */
#calendar_wrap {
    padding:0;
}
#wp-calendar {
    width:100%;
}
#wp-calendar caption {
    text-align:center;
}
#wp-calendar td {
    text-align:center;
    padding:6px 0;
    border:none;
}
#wp-calendar caption {
    font-size:16px;
    color:#3C3C3C;
    font-weight:bold;
    padding:4px 0;
    margin-bottom:5px;
}
#wp-calendar thead th {
    padding:7px 0;
    font-size:14px;
    background:#c2c0c1;
    color:#fff;
    text-align:center;
}
#wp-calendar #prev {
    text-align:left;
}
#wp-calendar #next {
    text-align:right;
}



/* FAQs
---------------------------------------- */
.faq_list {

}
.faq_list dt {
    position:relative;
    padding:0 0 5px 28px;
    font-size:15px;
    font-weight:normal;
    margin:0;
    background:none;
}
.faq_list span.marker {
    display:block;
    position:absolute;
    left:0;
    top:0;
    font-size:15px;
    font-weight:bold;
}
.faq_list dd {
    padding:0 0 0 28px;
    position:relative;
    margin:0 0 2em 0;
}
.faq_list dd .marker {
    top:3px;
}



/* Custom widgets
---------------------------------------- */


/* Recent Comments */
ul.recentcomments {
    padding:0;
    margin:0;
}
ul.recentcomments li {
    padding:25px 0 25px 0;
    margin:0;
    border-bottom:none;
    background:none;
    overflow:hidden;
    list-style-type:none;
}
ul.recentcomments li:first-child {
    padding-top:0;
    border-top:none;
}
ul.recentcomments li img {
    float:left;
    margin:0 12px 0 0;
}
ul.recentcomments .comment-body {
    padding:15px 0 0 0;
}
ul.recentcomments .comment-body a {
    text-decoration:none;
}
ul.recentcomments .comment-body a:hover {
    text-decoration:underline;
}
ul.recentcomments li h4 {
    margin-bottom:.1em;
}
ul.recentcomments li h4 a {
    text-decoration:none;
}
ul.recentcomments li small {
    font-size:11px;
}

/* Posts Type widget */
.post_list {
    list-style-type:none;
    padding:0;
    margin:0;
}
.post_list li {
    overflow:hidden;
    padding-top:1.5em;
    padding-bottom:1.5em;
    margin:0;
}
.post_list li:first-child {
    border:none;
    padding-top:0;
}
.post_list li > img {
    float:left;
    margin:0 15px 0 0;
}

.post_list.before_content {
    width:100%;
    overflow:hidden;
    position:relative;
}
.post_list.before_content li {
    float:left;
    width:220px;
    margin-left:20px;
    position:relative;
    padding:0;
    border:none;
    overflow:hidden;
    margin-top: 10px;
}
.post_list.before_content .title-bg {
    padding:12px 50px 12px 20px;
    position:relative;
    overflow:hidden;
    min-height: 22px;
}
.post_list.before_content li div.img img {
    float:none; 
    margin:0; 
    position:absolute;
    bottom: 0px;
    left: 0px;
    width: 220px;
    min-height: 130px;
}
.post_list.before_content li div.img {
    width: 220px;
    height: 130px;
    position: relative;
}
.post_list.before_content .post_meta {
    font-size:11px;
    line-height:18px;
}
.post_list.before_content  .post-title {
    display:inline-block;
    font-size:17px;
    line-height:20px;
    text-decoration:none;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}
.post_list.before_content .more-link {  
    display:block;
    width:22px;
    height:22px;
    background:url(img/marker-3.png) 0 100% no-repeat;
    overflow:hidden;
    text-indent:-999em;
    position:absolute;
    right:13px;
    bottom:13px;
    z-index:99;
}
.post_list.before_content  .more-link:hover {background-position:0 0;}
.post_list.before_content .rating {
    position:absolute;
    top:108px;
    right:0;
    width:82px;
    height:19px;
    padding:4px 0 0 5px;
    overflow:hidden;
    background:url(img/rating-bg.png) 0 0 repeat;
    -webkit-border-radius:5px 0 0 0;
            border-radius:5px 0 0 0;
}
.post_list.before_content .rating .post-ratings {padding:0;}

/* Popular posts */
.popular-posts {
    list-style-type:none;
    padding:0;
    margin:-10px 10px 10px 10px;
}
.popular-posts li {
    overflow:hidden;
    margin:0;
    padding:10px 0 !important;
    border:none !important;
}
.popular-posts li:first-child {padding-top:0 !important;}
.popular-posts li .post-thumb {
    float:left;
    margin-right:20px;
    width:60px;
    height:60px;
    overflow:hidden;
}
.popular-posts li .post-thumb .thumbnail {
    width:100%;
    height:auto;
    position:relative;
}
.popular-posts li .post-thumb.empty-thumb {
    background:url(img/empty_thumb.gif) no-repeat 50% 50% #ececec;
}
.popular-posts li h5, .popular-posts li .divh5 {
    font-size:15px;
    line-height:20px;
    margin-bottom:0;
    font-weight:normal;
}
.popular-posts li h5 a, .popular-posts li .divh5 a {
    text-decoration:none; 
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}
.popular-posts li .excerpt {
    margin-bottom:.8em;
}
.news .link {
    padding-left: 10px;
}

/* Post Cycle */
.post_cycle {
    padding:0;
    margin:0;
}
#post-cycle .cycle_item {
    display:none;
}
#post-cycle .cycle_item:first {
    display:block;
}


/* Folio Cycle */
.folio_cycle {
    list-style-type:none;
    padding:0;
    margin:0;
    width:100%;
    height:290px;
    overflow:hidden;
}
.folio_cycle .folio_item {
    overflow:hidden;
    display:none;
    width:100%;
    height:290px;
}
.folio_cycle .folio_item p {margin-bottom:0;}
.folio_cycle .folio_item p:first-line {font-weight:bold;}
.folio_cycle .folio_item:first {
    display:block;
}
.folio_cycle .folio_item .featured-thumbnail {
    float:none;
    margin:0px 0 15px 0;
}
.folio_cycle .folio_item .featured-thumbnail img {
    float:none;
}
#folio-controls {
    position:absolute;
    right:0;
    top:7px;
}
#folio-controls ul {
    list-style-type:none;
    margin:0;
    padding:0;
    position:relative;
    text-align:right;
}
#folio-controls ul li {
    display:inline-block;
    padding:0 0 0 5px !important;
    border:none !important;
}
#folio-controls ul li a {
    position:relative;
    display:inline-block;
    text-decoration:none;
    width:13px;
    height:16px;
    font-size:0;
    line-height:0;
    vertical-align:top;
}
#folio-controls ul li a:hover,
#folio-controls ul li.activeSlide a{
    background-position:0 0;
}


/* Testimonials */
.testimonials {
    padding: 0;
    margin: 0;
}
.testimonials div.testi_item {
    padding: 0;
    margin: 0 0 10px 0;
    background: none;
}
.testimonials div.testi_item blockquote {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    background:none;
    border:none;
    font-style:italic;
}
.testimonials div.testi_item blockquote a {
    text-decoration: none;
    display:inline-block;
    position: relative;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}
.testimonials div.testi_item blockquote a:before {content:'\201C'; font-weight:bold;}
.testimonials div.testi_item blockquote a:after {content:'\201D'; font-weight:bold;}

.name-testi {
    padding: 12px 0 0 0;
    text-align: right;
    display: block;
    font-style:normal;
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
}
.name-testi .user { font-weight:bold; display:block;}

.name-testi a {
    font-weight: normal;
}
.testimonials .thumb {
    float: left;
    margin-right: 20px;
}

/* Misc for Cycle widgets */
#testi-cycle .testi_item {
    display:none;
}
#testi-cycle .testi_item:first {
    display:block;
}
#testi-controls {
    text-align:center;
    overflow:hidden;
}
#testi-controls ul {
    list-style-type:none;
    margin:0;
    padding:0;
}
#testi-controls ul li {
    padding:0;
    margin:0 2px 0 0;
    display:inline-block;
}
* + html #testi-controls ul li {
    display:inline;
    zoom:1;
}


/* Recent Posts */
.latestpost {
    list-style-type:none;
    margin:0 0 28px;
    padding:0;
}
.latestpost li {
    margin:0;
    list-style-type:none;
    padding:15px 0 20px;
}
.latestpost li:first-child {
    padding-top:0;
}
.latestpost li .post-meta {
    font-size:11px;
    line-height:17px;
    overflow:hidden;
    margin-bottom:12px;
}
.latestpost li .post-meta a[rel="author"] {font-weight:bold; text-decoration:none; text-transform:capitalize;}
.latestpost li .post-meta a[rel="author"]:hover {text-decoration:underline;}

.latestpost li h4 {
    margin-bottom:13px;
}
.latestpost li .excerpt {
    margin-bottom:23px;
}
.latestpost li .comments-link {
    float:left;
    margin-right:18px;
    display:inline-block;
    width:44px;
    height:45px;
    overflow:hidden;
    font-size:22px;
    line-height:38px;
    text-align:center;
    position:relative;
    top:auto;
    right:auto;
}
.latestpost .post-ratings {width:100px !important;}


.post-ratings {padding-top:10px; overflow:hidden;}
.post-ratings img {margin:0 0 0 2px !important; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader() !important;}
.post-ratings img:first-child {margin:0 !important;}



/* Flickr widget */
.flickrImages {
    overflow:hidden;
    position:relative;
}
.flickrImages a {
    float:left;
    display:block;
    width:75px;
    height:75px;
    background:#000;
    margin:0 1px 1px 0;
}
.flickrImages a img {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}
.flickrImages a:hover img {
    opacity:.5;
}
.flickrImages a.link {
    display:inline;
    float:none;
    width:auto;
    height:auto;
    margin:0;
    background:none;
}

/* Banner widget */
.banners-holder {
    list-style-type:none;
    padding:0;
    margin:0;
}
.banners-holder li {
    list-style-type:none;
    float:left;
    margin:0 3px 3px 0;
    padding:0;
}
.banners-holder li img {
    vertical-align:top;
    float:left;
}



/* Testimonials
---------------------------------------- */

/* Testimonials list */
article.testimonial {
    border:none;
    padding:30px 30px 20px 235px;
    width:auto;
    font-family:Georgia, "Times New Roman", Times, serif;
    font-style:italic;
    font-size:14px;
    line-height:1.5em;
    font-weight:normal;
    margin-bottom:35px;
}
article.testimonial .featured-thumbnail {
    position:absolute;
    left:20px;
    top:20px;
}
article.testimonial .name-testi {
    display:block;
    text-align:right;
    font-style:normal;
    font-size:13px;
    font-family:Arial, Helvetica, sans-serif;
    line-height:1.2em;
    font-style:normal;
}
article.testimonial .name-testi a {
    text-decoration:none;
}
article.testimonial .name-testi a:hover {
    text-decoration:underline;
}


/* Single Testimonial */
.testi-single {
    font-family:Georgia, "Times New Roman", Times, serif;
    border:none;
    padding:30px 30px 30px 235px;
    width:auto;
    font-size:14px;
    line-height:1.5em;
    font-style:italic;
    margin:0 0 2em 0;
    position:relative;
}
.testi-single p {
    margin:0 0 1em 0;
    padding:0;
}
.testi-single .featured-thumbnail {
    position:absolute;
    left:20px;
    top:20px;
}


/* Shortcodes
---------------------------------------- */

/* Recent Posts */
.recent-posts {
    margin:0;
    padding:0;
    width:100%;
    overflow:hidden;
    border:none;
}
.recent-posts li {
    list-style-type:none;
    margin:0 0 20px 0;
    padding:0;
    border:none;
    background:none;
}
.recent-posts li img.thumb {
    float:left;
    margin:0 20px 0 0;
}
.recent-posts li h5 {
    font-size:1em;
    margin-bottom:0;
}
.recent-posts li .excerpt {
    margin-bottom:1.5em;
}
.recent-posts li span.meta {
    display:block;
    margin-bottom:.5em;
    font-size:10px;
    color:#888;
    text-transform:uppercase;
    overflow:hidden;
}
.recent-posts li .post-date {
    float:left;
}
.recent-posts li .post-comments {
    float:right;
}


/* Our team */
.recent-posts.team {
    margin: 0 0 17px;
    padding: 0;
}
.recent-posts.team li {
    float: left;
    width: 195px;
    overflow: hidden;
    margin: 0 17px 15px 0;
}
.recent-posts.team li:nth-child(3n) {
    margin-right: 0;
}
.recent-posts.team li.nomargin {
    margin-right: 0;
}
.recent-posts.team li .featured-thumbnail {
    width: 195px;
    overflow: hidden;
    float: none;
    margin: 0 0 30px 0;
    background:none;
    padding:0;
    border:none;
}
.recent-posts.team li .excerpt {
    margin-bottom: 0;
}
.recent-posts.team li h4 {
    font-size:15px;
    line-height:20px;
    margin-bottom:5px;
}

/* Services */
.recent-posts.services {
    list-style-type:none;
    padding:5px 0 0 0;
    margin:0 0 23px;
    overflow:hidden;
}
.recent-posts.services li {
    float:left;
    width:301px;
    margin:0 18px 20px 0;
    background:none;
    padding:0;
}
.recent-posts.services li .excerpt {margin-bottom:20px;}
.recent-posts.services li:nth-child(3n) {
    margin-right:0;
}
.recent-posts.services li.nomargin{
    margin-right:0;
}
.recent-posts.services li figure {float:none; margin:0 0 25px 0;}
.recent-posts.services li img {
    margin:0;
    float:none;
}
.recent-posts.services li h4 {
    margin-bottom:8px;
}


/* Popular Posts */
.popular_posts {
    list-style-type:none;
    padding:0;
    margin:0;
}
.popular_posts li {
    list-style-type:none;
    padding:0 0 20px 0;
    margin:0;
    overflow:hidden;
}



/* Tags */
.tags-cloud a,
.tagcloud a,
.post-footer a {
    display:inline-block;
    padding:2px 7px;
    text-decoration:none;
    margin:0 1px 4px 0;
    font-size:11px !important;
    -webkit-box-shadow:1px 1px 0 rgba(0, 0, 0, .2);
            box-shadow:1px 1px 0 rgba(0, 0, 0, .2);
    line-height:18px;
    vertical-align:top;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */  /* FF4+ */  /* IE10 */  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}


/* Recent Comments */
.recent-comments {
    list-style-type:none;
    padding:0;
    margin:0;
}
.recent-comments li {
    padding:0;
    margin:0;
    border:none;
    padding-bottom:.5em;
}


/* Footer
---------------------------------------- */
#footer {width:100%;}
#footer h4 {
    padding-bottom:15px;
    margin-bottom:15px;
}

.footer-bg {
    overflow: hidden;
    padding: 26px 0 32px;
    position: relative;
    width: 100%;
}

/* Footer widget */
#widget-footer .social-networks li {
    list-style-type:none;
    padding:0 0 .5em 0;
    margin:0;
}

/* Footer navigation */
nav.footer {
    float:right;
}
nav.footer ul {
    margin:0;
    padding:0;
}
nav.footer ul li {
    list-style-type:none;
    float:left;
    padding:0 0 0 15px !important;
    margin:0;
    border:none !important;
}
nav.footer ul li a:hover,
nav.footer ul li.current-menu-item a {text-decoration:underline !important;}

/* Copyright */
#copyright {
    padding:20px 0 20px;
    position: relative;
}
#copyright a {text-decoration:none;}
#copyright a:hover {text-decoration:underline; color:#fff;}

#copyright .counter {
    position: absolute;
    top:35px;
    right:5px;
    z-index: 5;
}
#copyright .counter a {
    margin-left: 5px;
}

/* Footer text */
#footer-text {
    text-align: center;
}

#footer ul li {
    line-height: 19px;
    padding: 3px 0;
}       
#footer ul li:first-child {
    border: medium none;
    padding-top: 0;
}
#footer ul li a {
    text-decoration: none;
}
#footer ul.menu {
    text-align: center;
    margin: 0px;
}
#footer ul.menu li {
    display: inline;
    border: none;
    padding: 0px 15px 0px 10px;
    border-right: #AAA 1px solid;
}
#footer ul.menu li.last {
    border: none;
}
#footer ul.menu li a {
    color: #AAA;
    font-size: 14px;
}
#footer ul.menu li.active a {
    color: #FFF;
}
#footer ul.menu ul {
    display: none;
}



/* Misc
---------------------------------------- */
.button {
    display:inline-block;
    padding:5px 19px 6px;
    text-decoration:none;
    font-size:12px;
    line-height:20px;
    font-weight:bold;
    position:relative;
}

/* Tabs */
.tabs {
    margin: 1px 0 20px 0;
}

.tabs .tab-wrapper {
    border: 1px solid #dddddd;
    border-radius: 0 5px 5px 5px;
    -moz-border-radius: 0 5px 5px 5px;
    -webkit-border-radius: 0 5px 5px 5px;
    margin: -1px 0 0 0;
}

.tabs .tab-menu ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.tabs .tab-menu li {
    display: inline;
    float: left;
    margin: 0;
    padding: 0;
}

.tabs .tab-menu a {
    background-color: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    color: #aaaaaa;
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0 2px 0 0;
    padding: 8px 20px;
}

.tabs .tab-menu a:hover {
    background-color: #f2f2f2;
    color: #666666;
}

.tabs .tab-menu a.active {
    background-color: #ffffff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#fafafa');
    background: -moz-linear-gradient(bottom , #fafafa 0px, #f6f6f6 90%) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear,left bottom,left top, color-stop(0, #fafafa),color-stop(90%, #f6f6f6));
    border-bottom: none;
    color: #666666;
    padding: 8px 20px 9px 20px;
}

.tabs .tab {
    background-color: #fafafa;
    border-radius: 0 5px 5px 5px;
    -moz-border-radius: 0 5px 5px 5px;
    -webkit-border-radius: 0 5px 5px 5px;
    padding: 20px;
}





/* Toggle */
.toggle {
    padding: 0 0 2px 0;
}
.toggle .trigger {
    background-color: #f5f5f5;
    background: -moz-linear-gradient(bottom, #F2F2F2 0px, #ffffff 100%);
    background: -webkit-gradient(linear,left bottom,left top, color-stop(0, #f2f2f2),color-stop(1, #ffffff));
    border: 1px solid #dddddd;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #666666;
    display: block;
    padding: 10px 12px 10px 40px;
    position: relative;
    text-decoration:none;
    height:1%;
}

.toggle .trigger span {
    background: url(img/toggle.png) 0 0 no-repeat;
    display: block;
    position: absolute;
    top: 9px;
    left: 10px;
    text-indent: -9999px;
    width: 22px;
    height: 20px;
}

.toggle .trigger:hover,
.toggle .active {
    background:#191919;
    color:#fff;
}
.toggle .active span {
    background-position: 0 -20px;
}

.toggle .box {
    background-color: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 20px;
}



/* Dropcap */
.dropcap {
    display: block;
    float: left;
    margin: 0 22px 20px 0;
    text-transform: uppercase;
    width: 51px;
    height: 51px;
    background: #666;
    -webkit-border-radius:6px;
            border-radius:6px;
    font-size: 36px;
    line-height: 51px;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    text-transform: lowercase;
}

.widget-area {

}

.hr {
    height:1px;
    background:#eee;
    overflow:hidden;
    font-size:0;
    line-height:0;
    margin:30px 5px;
}
.grid_1 .hr, .grid_2 .hr, .grid_3 .hr, .grid_4 .hr, .grid_5 .hr, .grid_6 .hr, .grid_7 .hr, .grid_8 .hr, .grid_9 .hr, .grid_10 .hr, .grid_11 .hr, .grid_12 .hr, .grid_13 .hr, .grid_14 .hr, .grid_15 .hr, .grid_16 .hr, .grid_17 .hr, .grid_18 .hr, .grid_19 .hr, .grid_20 .hr, .grid_21 .hr, .grid_22 .hr, .grid_23 .hr, .grid_24 .hr {
    margin-left:0;
    margin-right:0;
}
.sm_hr {
    height: 1px;
    background: #eee;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    margin: 25px 10px;
}
.grid_1 .sm_hr,
.grid_2 .sm_hr,
.grid_3 .sm_hr,
.grid_4 .sm_hr,
.grid_5 .sm_hr,
.grid_6 .sm_hr,
.grid_7 .sm_hr,
.grid_8 .sm_hr,
.grid_9 .sm_hr,
.grid_10 .sm_hr,
.grid_11 .sm_hr,
.grid_12 .sm_hr {
    margin-left: 0;
    margin-right: 0;
}
.spacer {
    height:25px;
    overflow:hidden;
    font-size:0;
    line-height:0;
}

/* Address */
.address {
    overflow:hidden;
    width:100%;
    margin:0;
    padding:0;
}
.address dt {
    float:left;
    width:165px;
    margin-right:20px;
    padding:0 0 0 55px;
    background:none;
    font-size:1em;
    line-height:18px;
    background:url(img/address-icon1.png) no-repeat 0 3px;
}
.address dd {
    float:left;
    width:217px;
    padding:0 0 0 53px;
    background:url(img/address-icon2.png) no-repeat 0 3px;
}
.address dd ul {
    list-style-type:none;
    padding:0;
    margin:0;
}
.address dd ul li {
    background:none;
    padding:0;
}
.address dd span {
    float:left;
    width:100px;
}
.address dd a {
    text-decoration:underline;
}
.address dd a:hover {
    text-decoration:none;
}





/* VIDEO */
.video-wrap {
    margin-bottom: 10px;
    position:relative;
    zoom:1;
}
.video-wrap object {
    position:relative;
    z-index:2;
}
.video-bg {
    background-color:black;
    position:absolute;
    left:0;
    top:0;
    z-index:1;
}

/* AUDIO */
.audio-wrapper {
    margin-bottom:1.5em;
}
.audio-desc {
    font-size:.91em;
    color:#999;
    padding:.5em 0 0 0;
}
.audiojs audio { position: absolute; left: -1px; }
.audiojs { width: 460px; height: 36px; background: #404040; overflow: hidden; font-family: monospace; font-size: 12px;
           background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #555), color-stop(0.51, #444), color-stop(1, #444));
           background-image: -moz-linear-gradient(center top, #444 0%, #555 50%, #444 51%, #444 100%);
           -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
           -o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); }
.audiojs .play-pause { width: 25px; height: 40px; padding: 4px 6px; margin: 0px; float: left; overflow: hidden; border-right: 1px solid #000; }
.audiojs p { display: none; width: 25px; height: 40px; margin: 0px; cursor: pointer; }
.audiojs .play { display: block; }
.audiojs .scrubber { position: relative; float: left; width: 280px; background: #5a5a5a; height: 14px; margin: 10px; border-top: 1px solid #3f3f3f; border-left: 0px; border-bottom: 0px; overflow: hidden; }
.audiojs .progress { position: absolute; top: 0px; left: 0px; height: 14px; width: 0px; background: #ccc; z-index: 1;
                     background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ccc), color-stop(0.5, #ddd), color-stop(0.51, #ccc), color-stop(1, #ccc));
                     background-image: -moz-linear-gradient(center top, #ccc 0%, #ddd 50%, #ccc 51%, #ccc 100%); }
.audiojs .loaded { position: absolute; top: 0px; left: 0px; height: 14px; width: 0px; background: #000;
                   background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #222), color-stop(0.5, #333), color-stop(0.51, #222), color-stop(1, #222));
                   background-image: -moz-linear-gradient(center top, #222 0%, #333 50%, #222 51%, #222 100%); }
.audiojs .time { float: left; height: 36px; line-height: 36px; margin: 0px 0px 0px 6px; padding: 0px 6px 0px 12px; border-left: 1px solid #000; color: #ddd; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); } 
.audiojs .time em { padding: 0px 2px 0px 0px; color: #f9f9f9; font-style: normal; }
.audiojs .time strong { padding: 0px 0px 0px 2px; font-weight: normal; }
.audiojs .error-message { float: left; display: none; margin: 0px 10px; height: 36px; width: 400px; overflow: hidden; line-height: 36px; white-space: nowrap; color: #fff;
                          text-overflow: ellipsis; -o-text-overflow: ellipsis; -icab-text-overflow: ellipsis; -khtml-text-overflow: ellipsis; -moz-text-overflow: ellipsis; -webkit-text-overflow: ellipsis; }
.audiojs .error-message a { color: #eee; text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid #999; white-space: wrap; }

.audiojs .play { background: url(js/audiojs/player-graphics.gif) -2px -1px no-repeat; }
.audiojs .loading { background: url(js/audiojs/player-graphics.gif) -2px -31px no-repeat; }
.audiojs .error { background: url(js/audiojs/player-graphics.gif) -2px -61px no-repeat; }
.audiojs .pause { background: url(js/audiojs/player-graphics.gif) -2px -91px no-repeat; }

.playing .play, .playing .loading, .playing .error { display: none; }
.playing .pause { display: block; }

.loading .play, .loading .pause, .loading .error { display: none; }
.loading .loading { display: block; }

.error .time, .error .play, .error .pause, .error .scrubber, .error .loading { display: none; }
.error .error { display: block; }
.error .play-pause p { cursor: auto; }
.error .error-message { display: block; }



/* Alert boxes
---------------------------------------- */
.alert-box, .wpcf7-response-output {
    padding:20px 20px 20px 90px !important;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    font-size:.91em;
    line-height:1.4em;
    border:1px solid #dbdbdb;
    font-family:Arial, Helvetica, sans-serif;
    margin-bottom:15px;
}
.error-box, .wpcf7-mail-sent-ng {
    border-color:#ff9999;
    color:#c31b00;
    background:url(img/icons/alert/icon-error.png) no-repeat 20px 50% #ffcccc;
}
.attention-box, .wpcf7-validation-errors, .wpcf7-spam-blocked {
    border-color:#e6c555;
    color:#9e660d;
    background:url(img/icons/alert/icon-note.png) no-repeat 20px 50% #fdebae;
}
.notice-box {
    border-color:#68a2cf;
    color:#2e6093;
    background:url(img/icons/alert/icon-info.png) no-repeat 20px 50% #bfe4f9;
}
.approved-box, .wpcf7-mail-sent-ok {
    border-color:#a3c159;
    color:#5e6f33;
    background:url(img/icons/alert/icon-download.png) no-repeat 20px 50% #ccff99;
}



/* Forms
---------------------------------------- */

/* Form defaults */
input {height:16px;}
input, select, textarea { 
    font-family:Arial, Helvetica, sans-serif;
    font-size:1em;
    vertical-align:middle;
    font-weight:normal;
    border-bottom:none;
    -webkit-border-radius:3px;
            border-radius:3px;
    position:relative;
    outline:none;
}
input[type="text"], textarea {
    padding:5px;
}
input[type="submit"], input[type="reset"] {
    position:relative;
    cursor:pointer;
    margin-right:15px;
    display:inline-block;
    height:27px;
    padding:5px 19px 6px;
    text-decoration:none;
    font-size:12px;
    line-height:normal;
    font-weight:bold;
    border:none;
    -webkit-border-radius:0;
            border-radius:0; 
    background-clip: padding-box;
    overflow:hidden;
}


/* Comment form */
#commentform {
    width:700px;
    position:relative;
    overflow:hidden;
}
.commentlist ul.children #commentform {width:500px;}
#commentform p.field {
    margin-bottom:5px;
}
#commentform small {
    color:#8b8b8b;
}
#commentform label {
    display:block;
    width:70px;
    float:left;
}
#commentform input[type="text"] {width:378px;}
.commentlist ul.children #commentform input[type="text"] {width:300px;}
#commentform textarea {
    width:618px;
    max-width:618px;
    min-width:618px;
    height:206px;
    min-height:206px;
    overflow:auto;
}
.commentlist ul.children #commentform textarea {
    width:417px;
    max-width:417px;
    min-width:417px;
}
#commentform input[type="submit"], 
#commentform input[type="reset"] {margin-left:15px; margin-right:0;}




/* Contact form */
.wpcf7-form p.field {
    margin-bottom:9px;
    overflow:hidden;
    vertical-align:top;
    width:380px;
    position:relative;
}
.wpcf7-form p.field label {
    float:left;
    width:79px;
    padding-top:6px;
}
.wpcf7-form p.field input {
    float:left;
    width:280px;
}
.wpcf7-form p.field small {
    color:red;
}
.wpcf7-form textarea {
    float:left;
    width:280px;
    max-width:280px;
    min-width:280px;
    height:205px;
    min-height:205px;
    overflow:auto;
    margin-bottom:17px;
}
.wpcf7-form .submit-wrap {
    padding:0 0 0 79px;
    margin:0;
}
span.wpcf7-form-control-wrap {
    display:block;
}
.wpcf7-not-valid-tip {
    width:280px !important;
    height:15px !important;
    line-height:15px !important;
    position:absolute;
    left:79px !important;
    top:0 !important;
    padding:5px !important;
    background:#f3b7b7 !important;
    color:red !important;
    border:1px solid red !important;
    -webkit-border-radius:2px !important;
            border-radius:2px !important;
}





/* Sidebar search form */
#searchform {

}
#searchform .searching {
    width:144px;
    margin-right:5px;
}
#searchform .submit {
    cursor:pointer;
    padding-left:9px;
    padding-right:9px;
    margin:0;
}



/* Fluid Columns */
.one_half{ width:48%; }
.one_third{ width:30.66%; }
.two_third{ width:65.33%; }
.one_fourth{ width:22%; }
.three_fourth{ width:74%; }
.one_fifth{ width:16.8%; }
.two_fifth{ width:37.6%; }
.three_fifth{ width:58.4%; }
.four_fifth{ width:79.2%; }
.one_sixth{ width:13.33%; }
.five_sixth{ width:82.67%; }
.one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth{ position:relative; margin-right:4%; float:left; }
.last { margin-right:0 !important; clear:right; }


.fleft { float:left;}
.fright { float:right;}
.clear { clear:both;}

.wrapper { 
    width:100%;
    overflow:hidden;
}
.extra-wrap {
    overflow:hidden;
}


/* Clear Floated Elements */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}


/* Always remember to compress your live stylesheet and keep an uncompressed backup */

.primary_content_wrap .category {
    margin: 0px -5px;
}
.primary_content_wrap .category .select-type {
    text-align: center;
}
.primary_content_wrap .category .select-type select {
    border: #999 1px solid;
    color: #777;
}
.primary_content_wrap .itemlist .item {
    margin-bottom: 10px;
}
.primary_content_wrap .itemlist .item .pic,
.primary_content_wrap .itemlist .item .desc {
    float: left;
    margin-bottom: 15px;
}
.primary_content_wrap .itemlist .item .pic img,
.primary_content_wrap .itemlist .item .pic {
    width: 150px;
    height: 100px;
}
.primary_content_wrap .itemlist .item .pic img {
    border: #AAA 1px solid;
}
.primary_content_wrap .itemlist .item .desc {
    width: 530px;
    margin-left: 15px;
}
.primary_content_wrap .itemlist .item .desc p {
    margin-bottom: 7px;
    padding-bottom: 0px;
}
.primary_content_wrap .itemlist .item .desc h3 {
    margin-bottom: 10px;
}
.primary_content_wrap .item.gal a {
    display: inline-block;
    margin-left: 10px;
    margin-bottom: 10px;
}
.primary_content_wrap .item.gal a.first {
    margin-left: 0px;    
}
.primary_content_wrap .item.gal img {
    width: 163px;
    height: 120px;
}
.primary_content_wrap .itemlist.vtours h3,
.primary_content_wrap .itemlist.type h3 {
    margin-bottom: 10px;
}
.primary_content_wrap .itemlist.vtours .text img {
    max-width: 450px;
    height: 285px;
    margin: 5px auto;
}
.primary_content_wrap .itemlist.vtours .text {
    margin-bottom: 10px;
}
/*.primary_content_wrap .itemlist.vtours .text.bug-1 {
    height: 350px;
}
.primary_content_wrap .itemlist.vtours .text.bug-2 {
    height: 370px;
}*/
.primary_content_wrap .black {
    background: none repeat scroll 0 0 #000000;
    display: none;
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5555;
}
.primary_content_wrap .itemlist .boxShow {
    display: none;
    
    border: #999 1px solid;
    background: #f5f5f5;
    width: 800px;
    height: 415px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 8888;
    margin: -250px 0px 0px -390px;
}
.primary_content_wrap .itemlist .boxShow .iframe a {
    text-decoration: none;
}
.primary_content_wrap .itemlist .boxShow .iframe a.active {
    text-decoration: underline;
}
.primary_content_wrap .itemlist .boxShow .iframe .left {
    position: relative;
}
.primary_content_wrap .itemlist .boxShow iframe {
/*    display: none;*/
    position: absolute;
    top: 5px;
    left: 15px;
}
.primary_content_wrap .itemlist .boxShow .message {
    position: absolute;
    top: 45px;
    left: 15px;    
}
.primary_content_wrap .itemlist .boxShow .loading {
    margin-top: 130px;
}
.primary_content_wrap .itemlist .boxShow.gal {
    width: 600px;
    height: 340px;
    margin: -250px 0px 0px -290px;
}
.primary_content_wrap .itemlist .boxShow.gal .overflow {
    height: 280px;
    position: relative;
}
.primary_content_wrap .itemlist .boxShow.gal .loading {
    position: absolute;
    left: 205px;
    z-index: 8888;
}
.primary_content_wrap .itemlist .boxShow h3 {
    color: #3C3C3C;
    background: url(img/heading-tail.gif) 0 0 repeat-x #DBD8DB;
    border-bottom: 1px solid #C3C0C3;
    text-align: center;
    padding: 5px 0px;
    margin-bottom: 10px;
    position: relative;
}
.primary_content_wrap .itemlist .boxShow .close {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 20px;
    height: 20px;
    background: url(img/close.png) top center no-repeat;
}
.primary_content_wrap .itemlist .boxShow .overflow {
    overflow: auto;
    height: 340px;
    padding: 0px 20px;
}
.primary_content_wrap .itemlist .boxShow .overflow .left {
    float: left;
    width: 465px;
    text-align: center;
    font-weight: bold;
}
.primary_content_wrap .itemlist .boxShow .iframe .left {
    float: left;
    width: 570px;
    text-align: center;
    font-weight: bold;
}
.primary_content_wrap .itemlist .boxShow .overflow .left img {
    width: 460px;
    margin-top: 10px;
}
.primary_content_wrap .itemlist .boxShow .overflow .right {
    float: left;
    width: 266px;
    padding-left: 10px;
}
.primary_content_wrap .itemlist .boxShow .iframe .right {
    float: left;
    width: 218px;
    padding-left: 10px;
}
.primary_content_wrap .itemlist .boxShow .gallery {
    width: 400px;
    height: 270px;
    border: #CCC 1px solid;
    margin-left: -5px;
    float: left;
}
.primary_content_wrap .itemlist .boxShow .iframe .bottom {
    position: absolute;
    bottom: 0px;
    padding: 10px;
}
.primary_content_wrap .item-content .post-holder {
    padding-bottom: 15px;
    margin-bottom:0px;
}
.primary_content_wrap .item-content .gallery {
    margin-bottom: 25px;
    text-align: center;
}
.primary_content_wrap .item-content .gallery img {
    width: 300px;
    margin-top: 20px;
    margin-left: 20px;
    border: #AAA 1px solid;
}
.primary_content_wrap .item-content .gallery img.pic {
    height: 200px
}
.primary_content_wrap .item-content .gallery img.pic2 {
    height: 250px
}
.primary_content_wrap .item-content .char.text {
    margin-bottom: 8px;
}
.primary_content_wrap .item-content .char.text table {
    width: 400px;
}
.primary_content_wrap .item-content .char.text table td {
    padding: 0px 2px;
}
.primary_content_wrap .item-content .char.text table td.tr {
    width: 30%;
}
.primary_content_wrap .item-content .char.text table td img {
    border:none;
}
.primary_content_wrap .vtours .item p {
    margin-bottom: 3px;
}
.primary_content_wrap .item.gal a {
    display: inline-block;
    margin-left: 10px;
    margin-bottom: 10px;
}
.primary_content_wrap .item.gal a.first {
    margin-left: 0px;    
}
.primary_content_wrap .item.gal img {
    width: 163px;
    height: 120px;
    border: #AAA 1px solid;
}
.primary_content_wrap #feedback {
    margin: 0px auto;
    width: 415px;
    position: relative;
}
.primary_content_wrap #feedback .message {
    position: absolute;
    top: -25px;
    left: 0px;
    text-align: center;
    width: 100%;
}
.primary_content_wrap #feedback table td {
    padding-bottom: 5px;
    vertical-align: top;
}
.primary_content_wrap #feedback table .tl {
    width: 150px;
}
.primary_content_wrap #feedback table input[type="text"] {
    width: 150px;
}
.primary_content_wrap #feedback table textarea {
    max-width: 250px;
    min-width: 250px;
}
*+html input[type="submit"] {
    border: none !important;
}
input[type="text"].error, 
select.error, 
textarea.error {
    border-right: 1px solid #FF4444;
    border-left: 1px solid #FF4444;
    border-top: 1px solid #FF000C;
    border-bottom: 1px solid #FF4444;
}
label.error,
.red {
    color: red;
}

table.data-table td{
   padding: 3px 10px 3px 0;
}
/*Пирожок*/
.b-menu-toggle{width:34px;height:34px;margin:3px; display: none; background:none;border:none;padding:4px;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;outline:none;position: absolute; right: 0;top: 103px;z-index: 10000; top: 80px}
.menu-toggle__line:after,
.menu-toggle__line:before{content:"";position:absolute;left:0;top:-9px;}
.menu-toggle__line:after{top:9px;}
.menu-toggle__line{position:relative;display:block;}
.menu-toggle__line,
.menu-toggle__line:after,
.menu-toggle__line:before{width:100%;height:3px;background-color:#ECECE9;-webkit-transition:all 0.3s;transition:all 0.3s;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-border-radius:2px;border-radius:2px;}
.b-menu-toggle.on .menu-toggle__line{background-color:transparent;}
.b-menu-toggle.on .menu-toggle__line:before{-webkit-transform:rotate(45deg) translate(6px, 7px);-ms-transform:rotate(45deg) translate(6px, 7px);transform:rotate(45deg) translate(6px, 7px);}
.b-menu-toggle.on .menu-toggle__line:after{-webkit-transform:rotate(-45deg) translate(6px, -7px);-ms-transform:rotate(-45deg) translate(6px, -7px);transform:rotate(-45deg) translate(6px, -7px);}
/*Пирожок Конец*/
