 /*
Theme Name:     UofNKona.edu
Theme URI:      http://uofnkona.edu
Description:    How do you change the world? You code for Jesus... 
Author:         Paulo Vieira
Author URI:     http://about.me/paulovieira
Version:        13.4
*/

/*heading border modification: override using !important*/
table.content-primary .th{
border-top: 1.5px solid black !important;
border-bottom: 1.5px solid black !important;
color: #F8F8F8!important;
background-color: rgb(85, 75, 75) !important;
background: rgb(85, 75, 75) !important;
}

/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

div.wpcf7-mail-sent-ok {
    color: #222;
}

.archivelink { 
 opacity: 1;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
   }

.archivelink:hover {
    opacity: .4;
}

#translation {
    position: relative;
    top:0px;
    z-index: 99999;
    background: url(images/bg_top_annoucement.jpg);
    background-repeat: repeat;;
    height:40px;
    text-align: center;
       padding-top: 5px;
}
#translation a {
        color: #fff;
 
    font-size: 1.5em;
    font-weight: bold;
}

p.imagecaption {
position: absolute;
margin-top: -55px;
width: 90%;
margin-left: 0px;
width: 229px;
color: #fff;
font-size: 1.2em;
background: rgba(0,0,0,0.8);
height: 50px;
padding-left: 5px;
padding-right: 5px;
padding-top: 4px;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom: 1;
}

.breadcrumbs{
    margin-top: 61px;
margin-bottom: -73px;
}
#live_wrapper { width: 100%; 
    text-align: center; 
     position: absolute;
      margin-top:52px;
    z-index: 99999;}

#livestream_overlay {
   position: relative;
    width: 960px;
    height: 483px;
    margin: 0 auto;
    background: #222;

    
}
hr {
    border-bottom: 0px;
    border-top: 1px solid #d7cabf;
}

.categoriesaside {
    margin: 0px !important;
    width: 34.0% !important;
}

.schoolaside {
    max-width: 270px;
    float: right !important;
    margin: 0px;
    background: #d6d6d6;
    padding-bottom: 40px;
}

aside p {
    margin-top: 0px !important;
}
/* wp-specific classes */
.wp-caption {
}

.wp-caption-text {
}

.sticky {
}

.gallery-caption {
}

/* layout */

body {
    padding-top: 0;
    overflow-x: hidden;
}

/* Admin Top Navigation fixes */

* {
/*    margin: 0;
    padding: 0;*/
    font: 13px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none !important;
    -webkit-transition: color 0.2s ease-in;
    -moz-transition: color 0.2s ease-in;
    -o-transition: color 0.2s ease-in;
    transition: color 0.2s ease-in;
    -webkit-transition: background 0.2s ease-in;
    -moz-transition: background 0.2s ease-in;
    -o-transition: background 0.2s ease-in;
    transition: background 0.2s ease-in;
}

p, label {
    font-size: 13px;
    color: #b45a01;
    margin-top: 15px;
}

body.admin-bar .navbar-fixed-top {
    top: 28px;
}

.navbar .brand, #logo_fixed {
    background: url(images/logo-ywam.png) 15px 11px;
    background-repeat: no-repeat;
    color: #000;
    font-family: Kefa;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125);
    font-weight: normal;
    font-style: normal;
    font-size: 25px;
    padding-left: 64px;
}

.nav-container {
    padding-left: 0;
    padding-right: 0;
}

h1, h2, h3,h4 {
    font-family: Kefa !important;
    font-weight: normal;
    font-style: normal;
}

#logo {
    position: relative;
    z-index: 99;
}

.page header#banner, .single header#banner ,.archive header#banner , .error404 header#banner, .search header#banner {
    overflow: hidden;
    height: 375px;
}

.mainimage {
    background: #333;
    padding: 0px !important;
    height: 100%;
    margin-top: -3px !important;
}

.home header#banner {
    height: 535px;
    overflow: hidden;
    background: #222;
}

.dropdown-menu {
    top: 50px;
    margin-left: 0px;
    overflow: hidden;
}

.dropdown-menu li a {
    width: 100%;
}

.open > .dropdown-menu {
    display: inline-block;
}

#menubarwrapper_over {
  
   
    width: 100%;
    text-align: center;
        position: fixed;
    top: 0;
    z-index: 9999;
    margin-left: -8px;
}

#menubarwrapper_over #menubar {
    top: 0px;
}
 
#menubarwrapper {
    position: absolute;
    width: 100%;
    text-align: center;
}

#menubarwrapper.fixed {
    position: fixed;
    top: 0;
    z-index: 9999;
}

#menubarwrapper.fixed #menubar {
    top: 0px;
}
 


/* LANGUAGE SELECTOR */
div.languages {
    margin-top: -49px;
}

#lang_sel_list ul {
    display: inline !important;
}

#lang_sel_list {
    width: auto !important;
}

#lang_sel_list li {
    width: 100px;
    background: none !important;
}

#lang_sel_list ul li a {
    height: 30px;
     background: none ;
    padding-top: 16px !important;
    font-size: 1.1em;
    text-align: center;
    border-left: 1px solid #cdcdcd;
}

#lang_sel_list ul li a:hover {
    background: #eeeeee;
}

#logo_fixed {
    display: none;
    float: left;
    height: 42px;
    margin-top: 0px;
    padding-top: 10px;
    padding-right: 20px;
    border-right: 1px solid #ccc;
}

.dropdown-menu li a:hover {
    color: #fff;
    background: #666 !important;
}

#menubar> li, #menubar2> li {
    display: block;
    margin-left: 1.618em;
}

#menubar  li , #menubar2  li {
    list-style: none;
    float: left;
    f;
}

#menubar ul, #menubar2 ul {
    padding-left: 0px !important;
    margin-left: 0px !important;
}

#menubar ul .sub-menu, #menubar2 ul .sub-menu {
    display: none;
    position: absolute;
    background-color: #fff;
}

#menubar ul li:hover .parent > .sub-menu, #menubar2 ul li:hover .parent > .sub-menu {
    left: 180px;
    top: -15px;
}

p.meta {
    padding-top: 0px;
    margin-top: -10px;
}

h3 {
    padding-bottom: 0px;
    margin-bottom: 5px;
    
}

h3 a {
    font-size: 1.3em;
    margin-bottom: 0px;
    padding-bottom: 0px;
    
}

#menubar ul li:hover>.sub-menu, #menubar2 ul li:hover>.sub-menu {
    display: block;
    width: 200px;
    height: auto;
    margin-top: 50px;
    border: solid 1px #BBBBBB;
    z-index: +1;
}

nav.primary ul.sub-menu > li a {
    font: normal 13px Kefa !important;
}

#menubar ul li:hover>.sub-menu > li > a, #menubar2 ul li:hover>.sub-menu > li > a {
    width: 170px;
    float: left;
}

#menubar, #menubar2 {
    margin: 0 auto;
    overflow: visible;
    height: 55px;
    width: 100%;
  
    max-width: 960px;
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(130, 112, 93, .5);
}
#menubar {
      top: 375px;
}
#menubar2 {
    top: 0px;
    display: none;
}

body.home #menubar {
    margin: 0 auto;
    overflow: visible;
    height: 55px;
    width: 100%;
    top: 531px;
    max-width: 960px;
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(130, 112, 93, .5);
}

#inner-header {
    width: 100%;
    position: absolute;
    z-index: 99;
}

#inheadwrapped {
    margin: 0 auto;
    max-width: 960px;
    width: 100%;
}

input, textarea, select, .uneditable-input {
    margin-bottom: 0;
}

.navbar-form, .navbar-search {
    margin: 0 0 9px;
}

.navbar-search {
    padding-left: 0;
}

.wpb_text_column {
    margin-bottom: 0px;
}

div.wpcf7-validation-errors {
    border: 2px solid #f7e700;
    background: #f7ef00;
    margin: 0px;
    margin-top: 5px;
}

span.wpcf7-not-valid-tip {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 100;
    background: #FFB5B5;
    border: 1px solid #ff0000;
    font-size: 10pt;
    width: 280px;
    padding: 2px;
}

.colors {
    height: 4px;
    background: url(images/colors.jpg);
    width: 100%;
}

#s {
    width: 150px;
    margin: 6px;
    border-radius: 7px;
    border: 1px solid #ccc;
    padding: 5px;
    min-height: 25px !important;
    margin-top: 0px;
}


.page #content, .single #content, .archive #content, .error404 #content, .search #content {
    margin: 80px 0 0;
    padding-top: 0px;
    box-shadow: 0 0 5px 0 rgba(130, 112, 93, .5);
    background: #fff;
}

.page #content #main, .single #content #main,  .archive #content #main, .error404 #content #main, .search #content #main {
    padding: 25px;
    padding-top: 10px;
}

.home #content, .home #content #main {
    padding: 0px 0 0;
}

.page-header {
    margin: 10px !important;
    padding: 0px;
}

h1.page-title, .page-header h1 {
    font-size: 30px !important;
}

.post_content p {
    font-family: 'Open Sans';
}

.post_content {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

h4.widgettitle {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.more-link {
    white-space: nowrap;
}

.footer-links {
    float: right;
    margin-bottom: 18px;
}

h4.support_widget {
    font-size: 25px !important;
}

#widget-footer h4.widgettitle {
    background-color: #F0E7E0;
    text-transform: uppercase;
    color: #73665b;
    font-size: 15px;
    padding: 10px 10px 10px 15px;
    margin: 0;
    border-bottom: 1px solid #d8d8d8;
}

#widget-footer  ul {
    margin: 0px;
}

#widget-footer  ul li , ul li {
    list-style-type: none;
}

#widget-footer ul li a, #widget-footer label {
    color: #73665b;
    font-size: 15px;
    padding: 10px 10px 10px 15px;
    display: block;
    border-bottom: 1px solid #575850;
}

#widget-footer ul li a:hover {
    color: #4c433b;
    background-color: #d6d6d6;
}

#widget-footer .textwidget {
    padding-left: 10px;
    margin-top: 10px;
}

#widget-footer div.widget {
    margin-bottom: 0px;
    margin-left:0px;
}

.footer-links .menu {
    list-style-type: none;
    margin-left: 0;
}

.footer-links .menu li {
    float: left;
    margin-left: 10px;
}

.creditline {
    text-align: center;
    font-size: 10px;
    color: #a49d97;
    clear: both;
    margin-top: 25px;
    margin-bottom: 20px;
}
/* post styling */

#main p.meta {
    font-style: italic;
    color: #808080;
}

#main article {
    /* margin-bottom: 18px;
    border-bottom: 1px solid #eeeeee;
    padding: 0 0 9px;*/
    ;
}

#main article footer {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    position: relative;
    /*  min-height: 20px;*/
    ;
}

#main article footer a.edit-post {
    position: absolute;
    right: 0;
    top: 0;
    display: none;
}

.post:hover a.edit-post {
    display: inline;
}

p.tags {
    line-height: 20px;
}

div[id*='attachment_'] {
    max-width: 100%;
    height: 100%;
}

#credit320 {
    background: url('images/320press_mini.png') no-repeat left top transparent;
    padding-left: 20px;
}

#main .hero-unit img {
    margin-bottom: 1em;
}

#main article img {
    height: auto;
    max-width: 100%;
}

img.alignleft {
    margin-right: 10px;
    float: left;
}

img.archive_thumb {
    width: 220px;
}

img.alignright {
    margin-left: 10px;
    float: right;
}

img.aligncenter {
    display: block;
    margin: 0 auto;
}

.post header img {
    margin-bottom: 18px;
}

.archive #main .post h3 {
    line-height: 24px;
    margin-bottom: 10px;
}

.archive_title {
    border-bottom: 1px solid #ededed;
    margin-bottom: 15px;
}

video {
    max-width: 100%;
    height: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper {
    width: 630px;
    max-width: 100%;
    margin-bottom: 18px;
}

/* page styling */

#featured-carousel .item {
    width: 960px;
    height: 600px;
}

.carousel-caption p {
    display: none;
}

.page-template-page-homepage-php #main article {
    border-bottom: none;
}

.page-template-page-homepage-php .hero-unit,
.blog .hero-unit {
    padding: 1em;
}

.hero-unit h1 {
    font-size: 3em;
}

/* comments */



#comments {
    line-height: 24px;
    margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children {
    list-style-type: none;
    margin-left: 0;
}

.comment .vcard > div {
    margin-top: 8px;
    padding: 0 10px;
}

ol.commentlist time {
    font-size: .8em;
    color: #eeeeee;
}

ol.commentlist div.comment-author {
    position: relative;
}

ol.commentlist a.comment-edit-link {
    color: #ffffff;
    text-decoration: none;
    padding-left: 5px;
}

ol.commentlist span.edit-comment {
    position: absolute;
    right: 0;
    top: 8px;
}

ol.commentlist li.bypostauthor {
    background-color: #dddddd;
}

ol.commentlist ul.children li {
    background-color: #cccccc;
}

ol.commentlist ul.children li ul.children li {
    background-color: #bbbbbb;
}

ol.commentlist ul.children li ul.children li ul.children li {
    background-color: #aaaaaa;
}

ol.commentlist article {
    border-bottom: none !important;
}

a.comment-reply-link {
    position: absolute;
    right: 0;
    bottom: 0;
}

#comment-nav ul {
    list-style-type: none;
    margin: 0;
}

#comment-form-elements {
    list-style-type: none;
    margin: 0;
}

.comment .vcard .avatar {
    padding-right: 0;
}

.comment .vcard .comment-text {
    margin-left: 0;
}

img.avatar {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #dedede;
    border-right: 1px solid #dedede;
    border-left: 1px solid #ddd;
}

ol.commentlist li {
    padding-right: 10px;
    background-color: #F0F0F0;
}

#pings {
    margin-bottom: 9px;
}

ol.pinglist {
    list-style-type: none;
    margin: 0 0 9px 0;
}

#comment {
    width: 270px;
}

ol.commentlist #respond {
    padding: 5px 10px;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img {
    max-width: 100%;
}

.ie8 #main .media-grid img {
    max-height: none !important;
    max-width: none !important;
}

.attachment-img {
    margin-bottom: 18px;
}

.metadata p.alert-message {
    margin-right: 0;
    margin-bottom: 18px;
}

#gallery-nav {
    list-style-type: none;
    margin-left: 0;
}

li.next a, li.previous a {
    position: relative;
}

li.next a:hover:before {
    content: "\2190";
    position: absolute;
    display: block;
    top: 42%;
    left: 0;
    background-color: #BFBFBF;
    color: #444;
    width: 20px;
    height: 20px;
    padding-left: 5px;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

li.previous a:hover:before {
    content: "\2192";
    position: absolute;
    display: block;
    top: 42%;
    right: 0;
    background-color: #BFBFBF;
    color: #444;
    width: 20px;
    height: 20px;
    padding-left: 5px;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}


/* widget styles */


.widget {
    margin-bottom: 18px;
}

.widgettitle {
    margin-top: 15px;
    color: #42403f;
    font-size: 30px;
}

.textwidget {
    font-size: 1em;
    color: #595549;
    margin-top: 15px;
}

#tag-cloud {
    margin-bottom: 18px;
    line-height: 160%;
}

/* for some reason the bs version currently available for download doesn't have this style */
.label{
    text-transform: uppercase;
}

/* override standard link hover for the tag cloud widget */
#tag-cloud a:hover,
.tags a:hover{
    color: #ffffff;
    text-decoration: none;
}

#tag-cloud a{
    white-space: pre;
    text-transform: uppercase;
}

/* change default form padding for search */

.widget_search form{
    padding-left: 0;
}

.widget_search input{
    width: 121px;
}

/* calendar widget */

#calendar_wrap{
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 5px;
}

#wp-calendar{
    width: 100%;
    
}

#wp-calendar caption{
    font-weight: bold;
    padding: 8px;
}

#wp-calendar tr{
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#wp-calendar tr:last-child{
    border-bottom: none;
}

#wp-calendar td{
    text-align: center;
    padding: 8px 0;
}

blockquote.pull-left{
    padding-right: 15px;
}

@media only screen and (min-width: 768px) {
    .carousel-caption p{
        display: block;
    }

}

#tiles-mobile {
    margin-top: 55px;
    display: none;
}
#mobile_menu { display: none;}
@media  (max-width: 520px) {

 #tiles {
    display: none;
 }
 #tiles-mobile {
    display: block;
 }

 .page header#banner, .single header#banner, .archive header#banner, .error404 header#banner, .search header#banner {
    height: auto;
 }

.page #content, .single #content, .archive #content, .error404 #content, .search #content {
    margin-top: 40px;
}


    .navbar .brand, #logo_fixed {
        color: rgba(0,0,0,0);
    }

    #mobile_menu {
        display: block;
        width: 100%;
        height:35px;
     
padding-top: 5px;
padding-left: 10px;
        background: #fff;
    }
    #mobile_menu a{
          font-size: 1.3em;
          color: #383838;
    }
}

@media  (max-width: 650px) {
    #menubar, #menubar2{ display: none !important;}

 header.single #tiles .tile p {
        padding-left: 13% !important;
    }

    #lang_sel_list li {
    width: 70px;
    }
    .tile { display: none;}
    .featured {
        display: block;
    }


}
@media  (max-width: 768px) {
    .categoriesaside {
        display: none !important;
    }
}

@media  (max-width: 850px) {
    #s { display: none;}
    header.single #tiles .tile p {
        padding-left: 5%;
    }

}
@media  (max-width: 950px) {
    footer { margin-top: 20px;}
    section.bg-inset { display: none;}
}

@media only screen and (min-width: 980px) {
    body{
        /*padding-top: 60px;*/
    }
    
    .container-fluid{
        max-width: 960px;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #inner-footer{
        padding: 0;
    }

    footer { margin-top: 20px;}
    
    #content{
        padding-left: 0;
        padding-right: 0;
    }
    
    .topbar-inner{
        padding: 0;
    }
    
    .topbar form.pull-right {
        float: right;
    }
    
    .navbar-form, .navbar-search {
        margin-top: 6px;
        margin-bottom: 0;
    }
    
    .navbar-inner { padding: 0px;}
    .navbar-fixed-top .navbar-inner, .navbar-static-top .navbar-inner { box-shadow: none;}
    .navbar-inner { height: 50px; border: none;}
    .navbar-search{
        padding-left: 0;
    }
    
    .sidebar{
        margin-top: 0 !important;
    }

    .navbar-form, .navbar-searchidebar1 {
        padding: 10px;
    }
    #sidebar1 .widgettitle {
        font-size: 20px;
    }
    #sidebar3{
        background: #fff url(images/colors.jpg);
        background-repeat:  no-repeat;
        background-size: contain;
        
        margin: 0 auto; 
        margin-bottom: 20px;
        /*box-shadow: 0 0 5px 0 rgba(130, 112, 93, .5);*/
    }

    #livestream {
        text-align: center;
    }

    #sidebar2{
        background: #fff url(images/colors-red-orange-green.jpg);
        background-repeat:  no-repeat;
        background-size: contain;
        
        margin: 0 auto; 
        /*box-shadow: 0 0 5px 0 rgba(130, 112, 93, .5);*/
    }
    
     #sidebar2 .widget_text, #sidebar3 .widget_text {
        padding: 9px;
        margin-left: 3px;
        border-right: 1px solid #e6e6e4;
    }
    #sidebar2 > div:last-child {
        width: 32%;
    }
    #sidebar2 > div { width: 33%; margin:0px;}
    #sidebar2 .widget_text:last-child {
        border: none;
    }

    /* SIDEBAR4  */
    #sidebar4{
        background: #fff url(images/colors.jpg);
        background-repeat:  no-repeat;
        background-size: contain;
        
        margin: 0 auto; 
        /*box-shadow: 0 0 5px 0 rgba(130, 112, 93, .5);*/
    }
    
     #sidebar4 .widget_text {
        padding: 7px;
        margin-left: 0px;
        border-right: 1px solid #aa6147;
    }
    #sidebar54 > div:last-child {
        width: 24%;
    }
    #sidebar4 > div { width: 25%; margin:0px;}
    #sidebar4 .widget_text:last-child {
        border: none;
    }
    /* END SIDEBAR 5 */


    /* SIDEBAR 5 */
    #sidebar5{
        background: #fff url(images/colors.jpg);
        background-repeat:  no-repeat;
        background-size: contain;
        
        margin: 0 auto; 
        /*box-shadow: 0 0 5px 0 rgba(130, 112, 93, .5);*/
    }
    
     #sidebar5 .widget_text {
        padding: 8px;
        margin-left: 1px;
        border-right: 1px solid #aa6147;
    }
    #sidebar5 > div:last-child {
        width: 19%;
    }
    #sidebar5 > div { width: 20%; margin:0px;}
    #sidebar5 .widget_text:last-child {
        border: none;
    }
    /* END SIDEBAR 5 */
    .widget_search input{
        width: 230px;
    }
    
    .blog .hero-unit{
        margin-top: 10px;
    }
    
    .page-template-page-homepage-php .hero-unit,
    .blog .hero-unit{
        padding: 60px;
    }
    
    .hero-unit h1 {
        font-size: 60px;
    }
    
    /* hide edit comment button and show on hover on desktop version */
    .edit-comment{
        display: none;
    }
    
    .vcard:hover .edit-comment{
        display: inline-block;
    }
    
    #s{
        width: 210px;
        margin-right: 6px;
        border-radius: 7px;
        border: 1px solid #ccc;
        padding: 5px;
        background: #fff;
        color: #777;
    }
    
    .widget_search input{
        width: 209px;
    }
    
    .comment .vcard .comment-text{
        padding-left: 0;
        padding-right: 0;
    }
}
img.attachment-list_thumb.wp-post-image {
width: 270px;
height: 160px;
}



#lang_sel {height:32px; position:relative; font-family: verdana, arial, sans-serif; display: inline-block;}
/* hack to correct IE5.5 faulty box model */
* html #lang_sel {width:12em; w\idth:12em;}
/* remove all the bullets, borders and padding from the default list styling */
#lang_sel ul, #lang_sel li {padding:0 !important; margin:0 !important; list-style-type:none !important;}
#lang_sel li:before{content:'' !important;}
#lang_sel ul ul {width:149px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#lang_sel li {float:left;width:149px;position:relative;}
/* style the links for the top level */
#lang_sel a, #lang_sel a:visited {display:block;font-size:11px;text-decoration:none !important; color:#444444; border:1px solid #cdcdcd; background:#fff; padding-left:10px; line-height:24px;}
/* a hack so that IE5.5 faulty box model is corrected */
* html #lang_sel a, * html #lang_sel a:visited {width:149px; w\idth:138px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#lang_sel ul ul {visibility:hidden;position:absolute;height:0;top:25px;left:0; width:149px;border-top:1px solid #cdcdcd;}
/* another hack for IE5.5 */
* html #lang_sel ul ul {top:18px;t\op:19px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#lang_sel table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
#lang_sel ul ul a, #lang_sel ul ul a:visited {background:#ffffff; color:#444444; height:auto; line-height:1em; padding:5px 10px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html #lang_sel ul ul a, * html #lang_sel ul ul a:visited {width:150px;w\idth:128px;}

/* style the top level hover */
#lang_sel a:hover, #lang_sel ul ul a:hover{color:#000; background:#eee;}
#lang_sel :hover > a, #lang_sel ul ul :hover > a {color:#000; background:#eee;}

#lang_sel a.lang_sel_sel{
    background:url(../img/nav-arrow-down.png) #fff right no-repeat;
    color:#444;
}
#lang_sel a.lang_sel_sel:hover{
    text-decoration: none;
    color:#000;
}

/* make the second level visible when hover on first level list OR link */
#lang_sel ul li:hover ul,
#lang_sel ul a:hover ul{visibility:visible; }

#lang_sel img.iclflag{width:18px;height:12px;position: relative; top: 1px;}





#lang_sel_footer {
  margin: 0;
  padding: 7px;
  text-align: center;
  font: 11px Verdana, sans-serif;
  min-height: 15px;
  clear: both;
  background-color: #fff;
  border: 1px solid #cdcdcd;
}

#lang_sel_footer ul {
  list-style: none;
  margin:0;
  padding:0;
}

#lang_sel_footer ul li img {
  position: relative;
  top: 1px;
  width: 18px;
  height: 12px;
}

#lang_sel_footer ul li {
  display:inline;
  margin:0 1px 0 0;
  padding:0;
  white-space: nowrap;
  line-height: 25px;
}

#lang_sel_footer ul li a, #lang_sel_footer ul li a:visited {
  text-decoration: none;
  padding: 5px 10px;
}

#lang_sel_footer ul li a:hover, #lang_sel_footer ul li a:active {}

#wpml_credit_footer { width: 100%; margin: 10px 0; padding: 0; text-align: center; font-size: 11px; }





#lang_sel_list {height:32px; position:relative; z-index:99;  font-family: verdana, arial, sans-serif;}
#lang_sel_list.lang_sel_list_vertical{width:149px;}

/* hack to correct IE5.5 faulty box model */
* html #lang_sel_list {width:12em; w\idth:12em;}
/* remove all the bullets, borders and padding from the default list styling */
#lang_sel_list ul, #lang_sel_list li {padding:0 !important; margin:0 !important; list-style-type:none !important;}
#lang_sel_list li:before{content:'' !important;}
#lang_sel_list ul.lang_sel_list_vertical {width:149px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#lang_sel_list li {float:left;position:relative;}
#lang_sel_list.lang_sel_list_vertical li {width:149px;}

/* style the links for the top level */
#lang_sel_list a, #lang_sel_list a:visited {display:block;font-size:11px;text-decoration:none !important; color:#444444; background:#fff;  line-height:18px;padding-left:5px;}
#lang_sel_list.lang_sel_list_vertical a, #lang_sel_list.lang_sel_list_vertical a:visited{border: 1px solid #cdcdcd; border-top-width: 0; padding-left:10px;}


/* a hack so that IE5.5 faulty box model is corrected */
* html #lang_sel_list a, * html #lang_sel_list a:visited {width:149px; w\idth:138px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#lang_sel_list.lang_sel_list_vertical ul {/*visibility:hidden;position:absolute;*/height:0;top:19px;left:0; border-top:1px solid #cdcdcd;}


/* another hack for IE5.5 */
* html #lang_sel_list ul {top:18px;t\op:19px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#lang_sel_list table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
#lang_sel_list ul a, #lang_sel_list_list ul a:visited {background:#ffffff; color:#444444; height:auto; line-height:1em;}
#lang_sel_list.lang_sel_list_vertical ul a, #lang_sel_list_list ul a:visited {padding:3px 10px;}

/* yet another hack for IE5.5 */
* html #lang_sel_list ul a, * html #lang_sel_list ul a:visited {width:150px;w\idth:128px;}

#lang_sel_list a.lang_sel_sel{
    background-image: none;
    color:#444;
}
#lang_sel_list a.lang_sel_sel:hover{
    text-decoration: none;
    color:#000;
}

/* make the second level visible when hover on first level list OR link */
#lang_sel_list ul li:hover ul,
#lang_sel_list ul a:hover ul{visibility:visible; }

#lang_sel_list img.iclflag{width:18px;height:12px;position: relative; top: 1px;}

#lang_sel.icl_rtl{
    text-align:right;
    direction: rtl;
}
#lang_sel.icl_rtl .lang_sel_sel{
    padding-right:14px;
}

/* reset menu img definitions */
.menu-item-language img.iclflag{height:12px !important; width:18px !important; margin-bottom:0 !important; margin-right:4px;}



img.attachment-list_thumb.wp-post-image {
height: auto;
}
img.attachment-full.wp-post-image {
height: 100%;
width: 100%;
}



tify {
text-align: justify;
}
.tright {
text-align: right;
}
.tleft {
text-align: left;;
}
.tcenter {
text-align: center;
}
.uhide {
display: none;


.nomargin {
margin: 0px;
}
