.yarpp-thumbnails-horizontal a.yarpp-thumbnail {
    width:31% !important;
    height:auto !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.yarpp-thumbnails-horizontal a.yarpp-thumbnail img.attachment-yarpp-thumbnail {
    width:100%;
    max-height:150px;
    margin:0 auto;
    margin-bottom:10px;
}
.yarpp-thumbnails-horizontal a.yarpp-thumbnail span.yarpp-thumbnail-title {
    width: auto !important;
}
@media screen and (max-width:450px) {
    .yarpp-thumbnails-horizontal a.yarpp-thumbnail {
        width:100% !important;
    }
    .yarpp-thumbnails-horizontal a.yarpp-thumbnail img.attachment-yarpp-thumbnail {
        max-height:200px;
    }
}
div.yarpp-related h3 {
    text-transform: none !important;
}



/* W3 Post Tabs */
.w3pt {
    margin-top: -50px;
    margin-left: -20px;
    margin-right: -20px;
}
.w3pt .tabs {
    padding-bottom:20px;
    font-weight:bold;
    font-size:14px;
    text-transform:uppercase;
}
.w3pt .tabs a.tab {
    display:inline-block;
    width:50%;
}
.w3pt .tabs a.tab.inactive {
    background: #7A428D;
    color:#fff;
}
.w3pt .tabs a.tab.active {
    background:#fff;
    color:#000;
}
.w3pt .contents {
    margin:0 20px;
}
.w3pt .tab-content .post {
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 15px;
}
.w3pt .tab-content .post a {
    color:#363636;
}






div#top-block-bg {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none;
}

div#top-block-bg .span9 {
    margin-top: 85px;
    background-color: #fff;
}

div#top-block-bg .span9 div.navigation {
    background-color: #fff;
    padding:8px;
    display: block;
}

div#menu {
    float: none !important;
}

div#menu * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

div#menu:after {
    content: " ";
    display: block;
    clear: both;
}


#menu ul > li {
    height: auto !important;
}

#menu ul > li.menu-item-has-children > a {
    font-size: 1.4em;
    display: inline-block;
    padding: 10px 20px;
}
#menu ul > li.menu-item-has-children > a i {
    margin-right:.52em !important;
}
#menu ul > li.menu-item-has-children:first-child {
    border: none;
}
#menu ul > li.menu-item-has-children {
    padding: 0;
    position: relative;
}
#menu li.menu-item-has-children > ul {
    display: block;
    position: absolute;
    z-index: 99999999;
    margin: 0;
    left: -1px;
    overflow: hidden !important;
    border: 1px solid transparent;
    
    min-width: 150px;
    height: 0;
    max-height: 0px;
    transition: max-height 0.25s ease-out;
}
#menu li.menu-item-has-children:hover ul {
    display: block;
    border-color: #efefef;
    background-color: #fff;
    height: auto;
    max-height: 400px;
    transition: max-height 0.25s ease-in;
}
#menu li.menu-item-has-children ul li a {
    display:block;
    padding: 7px 15px;
    font-size: 14px;
}
#menu li.menu-item-has-children ul li a:hover {
    background-color: #f6f6f6;
}
