/* fixes from 1.7.5 & updates to deal better with default widgets */

/* styles for the full width footer widget area, and for certain widgets or HTML that may be used in that widget area */

.sidebar-footer-top li.widget.widget_logos img, .sidebar-footer-top li.widget.widget_logos a
{
    display:inline-block;
    margin: 0 1em;    
    max-height: 100px;
}
.sidebar-footer-top li.widget.widget_logos a img
{
    display:block;
}
.sidebar-footer-top li.widget.widget_logos
{
    text-align:center;        
}

footer .sidebar-footer-top li.widget {
    width: 100%;
    clear: both;
    text-align: center;
}

.sidebar-footer-top .widget *:not(.gallery-item) {
    margin-left: auto;
    margin-right: auto;
    float: none;
    text-align: center;
}
.sidebar-footer-top li.widget iframe {
    width: 100%;
}

footer .sidebar-footer-top li.widget.social_links li
{
    display:inline-block;
    margin: 0 5px;
    float: none;
}
footer .sidebar-footer-top li.widget .gallery
{
    padding-right: 20px;
    max-width: 1200px;
}

.widget_nav_menu ul {
    font-size: 1.5em;
}

.sidebar-header-top.sidebar-header li.widget {
    padding-top: 0;
}

.logo a {
    display: inline-block;
}

.head-btn {
    display: none;
}


/* some default navigation styling for the content-slider namespace (this is used by widgets also) */

a.content-slider_nav {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 40px;
    background-image: url(assets/images/elements/btn-prev-next.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    z-index: 20;
    display: block;
    margin: 0;
}

a.content-slider_nav.prev {
    left: 50%;
    margin-left: -60px;
}

a.content-slider_nav.next {
    background-position: -40px 0;
    right: 50%;
    margin-right: -60px;
}

ul.content-slider_tabs {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    padding: 10px 0 10px 20px;
}

.content-slider_tabs li {
    display: inline-block;
    overflow: hidden;
    margin-right: 5px;
    margin-left: 5px;
    list-style: none;
}

.content-slider_tabs a {
    width: 15px;
    height: 15px;
    border: 1px solid #FFF;
    border-radius: 50%;
    background: transparent;
    text-indent: -999px;
    direction: ltr;
    overflow: hidden;
    display: block;
}

.content-slider_tabs .content-slider_here a {
    background: #FFF;
}

@media (max-width:800px) {
    #mob-nav.open,
    #mob-nav.open ul {
        display: block;
    }
}
#mob-nav ul,
#mob-nav-menu {
    padding: 0;
}
#mob-nav-menu li a {
    text-align: center;
    display: block;
    padding: 10px;
}

/* wordpress editor styles */

.alignright
{
    float:right;
}
.alignleft
{
    float:left;
}
.wp-caption-text
{
    text-align:center;
}
.wp-caption
{
    display:inline-block;
}

/* mobile nav & css checkbox hack */
#mob-nav-menu, #mob-nav-menu ul
{
    padding: 0;
    margin: 0;
}
#mob-nav ul#mob-nav-menu li a
{
    padding: 5px 60px 5px 20px;
    text-decoration: none;
    display: inline-block;
    position:relative;
    width: 100%;
    text-align:left;
}
#mob-nav-menu li
{
    display:block;
    width: 100%;
    list-style: none;
    min-height: 40px;
    line-height: 40px;
    text-align:left;
    position:relative;
}
#mob-nav-menu ul.children
{
    overflow:hidden;
    clear:both;
    display:none;
}
#mob-nav-menu .has_children :checked ~ ul.children
{
    display:block;
}
#mob-nav-menu .has_children input
{
    display:none;
}
#mob-nav-menu .has_children label
{
    width: 60px;
    height: 100%;
    display:block;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
	background: url(assets/images/elements/down-arrow.png) no-repeat center center;
}
