/*
Theme Name:     Kleo Child
Theme URI:
Description:    Child theme for Kleo
Author:         Customized by Rian Bowden
Author URI:     http://plusroi.com
Template:       kleo
Tags:  one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
License: GNU General Public License
License URI: license.txt
*/
 
/* DEFAULT UNDO
===================================*/
/* General Resets */
:focus {
    outline:none;
}
.tp-caption {
    white-space: normal !important;
}
.kleo-main-header .nav > li > a:hover, .kleo-main-header .nav > li.active > a {
  box-shadow: none;
}
.footer-color .widget_nav_menu .current_page_item > a {
    background:transparent;
}
.masonry-listing .format-standard .post-title {
    border-left: none;
}
.main-color blockquote, .main-color .masonry-listing .post-content {
    border-width: 1px;
    border-left-color: #e5e5e5;
}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close, .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    cursor:pointer;
    background:none;
}
body {
    line-height:inherit;
}
/* Alignment Padding */
body .alignleft, .entry-content a:hover .alignleft {
    margin-right:20px;
}
body .alignright, .entry-content a:hover .alignright {
    margin-left:20px;
}
h3 {
    margin-bottom: 0;
}
 
/* MAIN ELEMENTS 
===================================*/
#main .main-color .alternate-color, #main .main-color .alternate-color h1, #main .main-color .alternate-color h2, #main .main-color .alternate-color h3, #main .main-color .alternate-color h4, #main .main-color .alternate-color h5, #main .main-color .alternate-color h6   {
    color:#fff;
}
/* Buttons */
button, input[type="submit"], input[type="button"], a.button, .button a, a.bw-button, .bw-button a, .main-color .btn-default, .wpcf7 input[type="submit"], .woocommerce .kleo-page a.button, .woocommerce .kleo-page .button a, .woocommerce .kleo-page .bw-button a, .woocommerce .kleo-page a.bw-button, .woocommerce .kleo-page input[type="submit"], .woocommerce .kleo-page input[type="button"], .woocommerce .kleo-page .wpcf7 input[type="submit"], .woocommerce-page .kleo-page input[type="submit"], .woocommerce-page .kleo-page input[type="button"], .woocommerce-page .kleo-page .wpcf7 input[type="submit"], .woocommerce-page .kleo-page .button a, .woocommerce-page .kleo-page a.button, .main-color #respond .form-submit input#submit, .pmpro_btn, .pmpro_btn:link, .pmpro_content_message a, .pmpro_content_message a:link {
    display:inline-block;
    clear:both;
    cursor:pointer;
    font-size:1em;
    line-height:1em;
    padding:1em;
    border:none;
    border-radius:0;
    color:#fff;
    background-color:#f00;
}
button:hover, input[type="submit"]:hover, input[type="button"]:hover, a.button:hover, .button a:hover, a.bw-button:hover, .bw-button a:hover, .main-color .btn-default:hover, .wpcf7 input[type="submit"]:hover, .woocommerce .kleo-page a.button:hover, .woocommerce .kleo-page .button a:hover, .woocommerce .kleo-page .bw-button a:hover, .woocommerce .kleo-page a.bw-button:hover, .woocommerce .kleo-page input[type="submit"]:hover, .woocommerce .kleo-page input[type="button"]:hover, .woocommerce .kleo-page .wpcf7 input[type="submit"]:hover, .woocommerce-page .kleo-page input[type="submit"]:hover, .woocommerce-page .kleo-page input[type="button"]:hover, .woocommerce-page .kleo-page .wpcf7 input[type="submit"]:hover, .woocommerce-page .kleo-page .button a:hover, .woocommerce-page .kleo-page a.button:hover, .main-color #respond .form-submit input#submit:hover, .pmpro_btn:hover, .pmpro_content_message a:hover {
    color:#fff;
    border:none;
    background-color:#f55;
}
.alternate-color button, .alternate-color a.button, .alternate-color input[type="submit"], .alternate-color input[type="button"], .alternate-color .bw-button a, .alternate-color a.bw-button {
    background-color:#00f;
}
.alternate-color button:hover, .alternate-color a.button:hover, .alternate-color input[type="submit"]:hover, .alternate-color input[type="button"]:hover, .alternate-color .bwbutton a:hover, .alternate-color a.bw-button:hover {
    background-color:#55f;
}
.bw-alternative a, a.bw-alternative, input[type="button"].bw-alternative, input[type="submit"].bw-alternative {
    background-color:#00f !important;
}
.bw-alternative a:hover, a.bw-alternative:hover, input[type="button"].bw-alternative:hover, input[type="submit"].bw-alternative:hover {
    background-color:#55f !important;
}
/* Forms */
.contact-form-fields {
    margin:0 -15px;
}
.contact-form-row {
    clear:both;
}
.main-color input[type="text"], .main-color input[type="email"], .main-color input[type="tel"], .main-color select {
    width:100%;
    font-size:1em;
    line-height:1em;
    height:3em;
    padding:1em;
}
.main-color input[type="text"], .main-color input[type="email"], .main-color input[type="tel"], .main-color select, .main-color textarea {
    font-size:1em;
    line-height:1em;
    background-color:transparent;
    border:1px solid #ccc;
    color:#000;
}
.main-color select:not([multiple]), html.touch .main-color select {
    background: url("assets/select-arrow.png") no-repeat;
    background-size: contain;
    background-position: right;
}
span.wpcf7-list-item {
    display: block;
    margin-left: 0;
}
 
/* MAIN STRUCTURE
===================================*/
.col-sm-12 {
    clear:both;
}
 
 
/* MAIN SECTIONS (header, footer, etc.)
===================================*/
/* Top Bar */
#top-bar-widgets .widget {
    float:left;
    margin-left:10px;
}
#top-bar-widgets .widget:first-child {
    float:left;
    margin-left:0px;
}
#top-bar-widgets ul.menu {
    padding:0;
}
#top-bar-widgets ul.menu li {
    float:left;
    clear:none;
    margin-left:10px;
}
#top-bar-widgets ul.menu li:first-child {
    margin-left:0;
}
#top-bar-widgets ul.menu li a {
    border:none;
    padding:0;
}
.header-color #top-bar-widgets .widget_nav_menu .current_page_item > a {
    background:none;
}
.header-scrolled .top-bar {
    display:none;
}
/* Header */
.kleo-navbar-fixed .navbar {
    z-index: 9999;
}
 
/* Main Navigation */
 
/* Title Area */
 
/* Footer */
#footer .template-page {
    padding:25px 0 15px;
}
#footer .widgettitle {
    font-size:24px;
    line-height: 1em;
}
#footer .widget_nav_menu li > a {
    border:none !important;
    padding: 0.2em 0;
}
#footer .widget {
    margin-bottom: 15px;
}
/* Socket */
#socket {
    font-size:0.8em;
    padding:0.3333em 0;
}
#socket .widget:first-of-type {
    float: left;
}
#socket .widget:last-of-type {
    float: right;
}
 
 
/* INNER ELEMENTS
===================================*/
/* General Post Listing */
.post-item .post-header {
    padding-top:10px;
}
.bwfp .post-item .post-header {
    padding-top:0;
}
.post-item .post-header h3 {
    font-size:14px;
    line-height: 1.33em;
    margin:0;
    padding:0;
    font-weight: bold;
}
.post-item time, .small {
    opacity: 0.9;
    font-size:11px;
    line-height: 1em;
}
/* First Row */
.home-posts-first-row {
    /* overflow: hidden; */
}
.separator-row {
    clear: both;
    height: 15px;
    position: relative;
    top: -15px;
}
/* .faded-bottom {
    height: 15px;
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0) 1%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 1%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 1%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
} */
/* Second Section */
.home-posts-second-section .post-item.image-and-info .post-header {
    position: absolute;
}
/* Third Section */
.home-posts-third-section {
    margin-top:15px;
}
/* Image Only Post List */
.image-only .post-image {
    position: relative;
}
.image-only .post-header {
    opacity: 0;
    position: absolute;
    top: 0;
    color: #fff;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    text-align: center;
    overflow: hidden;   
}
.image-only .post-image:hover .post-header {
    cursor: pointer;
    opacity: 1;
    -webkit-transition: all .3s ease-in-out 0s; /* Safari */
    transition: all .3s ease-in-out 0s;
}
#main .main-color .image-only .post-header h3.post-title {
    color:#fff;
    position: absolute;
    top: 50%;
    margin-top: -1em;
    width: 100%;
    font-size:12px;
    line-height: 1.33em;
    padding:0 10px;
}
/* Image and Info Post List */
.image-and-info .excerpt {
    padding-top:0.66em;
}
.bwfp .post-image {
    padding-right:0;
}
.bwfp .post-image img {
    padding:2px;
}
.bwfp .post-image .image-inner {
    text-align: center;
    display: block;
    border: 1px solid #ccc;
    border-radius: 2px;
}
 
/* MISCELLANEOUS
===================================*/
#header-custom iframe, #footer-custom iframe {
    width: 100%;
}
#widget-area-home-page-bottom, #widget-area-inner-page-middle-banner {
    text-align: center;
}
#widget-area-home-page-bottom .widget, #widget-area-inner-page-middle-banner .widget {
    display:inline-block;
}
.sidebar-right {
    padding-left: 5px;
}
.tpl-right, .sidebar-right {
    border:none;
}
.sidebar-right .inner-content {
    padding-left: 0;
}
.kleo-main-header.header-left .header-banner {
    flex-grow: 1;
    text-align: right;
    display: inline-block;
    max-width: 728px;
    float: right;
    margin-top:-2px;
}
.kleo-main-header.header-left .header-banner-inner {
    display: inline-block;
}
.kleo-main-header.header-left {
    padding-top:10px;
}
.single .article-content {
    padding:10px 0;
}
.home .post-item {
    padding:8px 0;
}
.home .home-posts-second-section .post-item:first-of-type {
    padding-top:0;
}
.home-posts-third-section {
    margin-bottom: 30px;
}
.sidebar-right .widgettitle {
    margin-bottom: 0.5em;
}
.sidebar-right .widgettitle:first-of-type {
    margin-top:0;
}
.sidebar .widget-ad {
    margin-bottom: 10px;
}
.post-header {
    text-align: left;
}
.header-color input[type="text"] {
    color:#000 !important;
    background:#fff !important;
}
.ajax_search_content .search_title, .ajax_view_all {
    font-size: 14px;
}
.post-image {
    position: relative;
    -webkit-transition: all .3s ease-in-out 0s; /* Safari */
    transition: all .3s ease-in-out 0s;
}
.post-image:before {
    -webkit-transition: all .3s ease-in-out 0s; /* Safari */
    transition: all .3s ease-in-out 0s; 
}
.template-page .video-thumbs .post-image:before {
    font-size: 20px;
    line-height: 1;
    font-family: fontello;
    text-decoration: inherit;
    font-weight: 400;
    font-style: normal;
    vertical-align: top;
    text-align: center;
    -webkit-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
    -webkit-font-smoothing: antialiased;
    content: '\e8c4';
    border-radius: 100%;
    background: rgba(0,0,0,0.5);
    padding: 0.33em 0.33em 0.33em 0.51em;
    border: 2px solid #ddd;
    color: #ddd;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -1em;
    margin-top: -1em;
}
.home-editorial-posts .excerpt {
    display: none;
}
.home-editorial-posts .post-image {
    max-height:130px;
    overflow:hidden;
}
.byline {
    display: block;
}
.post .article-media img {
    width:100%;
}
/* BROAD STYLES
===================================*/
.kleo-page .bw-left {
    display:block;
    width:100%;
    text-align:left;
}
.kleo-page .bw-right {
    display:block;
    width:100%;
    text-align:right;
}
.kleo-page .bw-right:after {
    content:' ';
    display:table;
    clear:both;
}
.kleo-page .bw-center {
    display:block;
    text-align:center;
    margin:0 auto;
}
.kleo-page .bw-same-line {
    display:inline;
    margin:0;
    padding:0;
}
.kleo-page .bw-own-line {
    clear:both;
    float:none;
    margin-top:0.5em;
    margin-bottom:0.5em;
}
.kleo-page .bw-full-line {
    display:block;
    margin-top:0.5em;
    margin-bottom:0.5em;
}
[class*="bw-insideborder-"] .row, [class*="bw-insideborder-"] .row .column_container {
    border-color:#ccc;
    border-width:1px;
    border-style:none;
}
.bw-insideborder-top .row {
    border-top-style:solid;
}
.main .bw-insideborder-bottom .row {
    border-bottom-style:solid;
}
[class*="bw-insideborder-"] .row .column_container {
    border-left-style:solid;
}
[class*="bw-insideborder-"] .row .column_container:first-of-type {
    border-left-style:none;
}
 
 
/* RESPONSIVE
===================================*/
 
/* Desktops */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1280px !important;
    }
}
/* Landscape Tablets & Desktops (MENU EXPANDS) */
@media screen and (min-width: 992px) {
    .container {
        max-width: 1100px;
    }
}
/* Tablets & Desktop (COLUMNS FLOAT) */
@media screen and (min-width: 768px) {
    .navbar-collapse.collapse {
        display: block !important;
    }
    #logo_img {
        max-width: 320px;
    }
    .bwfp .post-header time {
        display: none;
    }
    .container {
        max-width: 970px;
    }
}
 
/* Tablets & Phones */
@media screen and (max-width: 1199px) {
    .kleo-main-header.header-left .header-banner {
        text-align: center;
        width: 100%;
        max-width: none;
        margin-top:5px;
    }
    .template-page.col-sm-9.tpl-right {
        width:66.6%;
    }
    .sidebar-main.col-sm-3.sidebar-right {
        width:33.3%;
    }
    #widget-area-inner-page-middle-banner {
        display:none;
    }
    .home-posts-second-section .excerpt {
        display:none;
    }
}
/* Portrait Tablets & Phones (MENU CONTRACTS) */
@media screen and (max-width: 991px) {
    .template-page.col-sm-9.tpl-right {
        width:60%;
    }
    .sidebar-main.col-sm-3.sidebar-right {
        width:40%;
    }
}
/* Phones (COLUMNS STACK) */
@media screen and (max-width: 767px) {
    /* Hide on Mobile Class */
    .kleo-main-header.header-left .header-banner {
        display:none;
    }
    .hide-on-mobile {
        display:none !important;
    }
    /* Footer Fixes */
    .footer-sidebar {
        padding:20px 0;
    }
    #footer .menu a {
        text-align: center;
    }
    .template-page.col-sm-9.tpl-right {
        width:100%;
    }
    .sidebar-main.col-sm-3.sidebar-right {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        max-width: 92.5%;
    }
    .sidebar-main.sidebar-right .textwidget {
        display: table;
        margin:0 auto;
    }
    .home-posts-second-section .post-item.image-and-info .post-header {
        position: relative;
    }
    .separator-row {
        display: none;
    }
    .home-posts-third-section {
        margin-top: 0;
    }
    .home .home-posts-second-section .post-item:first-of-type {
        padding-top:15px;
    }
    .home .post-item {
        padding-top: 15px;
        margin-top: 15px;
        border-top: 1px solid;
    }
    .sidebar-main.sidebar-right .post-item {
        margin:15px 0;
    }
    .bwfp .post-image {
        padding:0 15px 0 0;
    }
    .bwfp .post-image time {
        display: none;
    }
    .home-posts-second-section .excerpt {
        display:block;
    }
    .sidebar {
        text-align: center;
    }
    .sidebar [id*="div-gpt-ad-"] {
        display: inline;
    }
    .acx_smw_float_fix, .footer-sidebar {
        text-align: center !important;
    }
    .home-posts-first-section {
        width:100%;
        padding-bottom:1em;
    }
    .home-posts-second-section {
        width:100%;
        padding-bottom:2em;
    }
    .logo {
        max-width: 80%;
    }
}
/* Portrait Phones */
@media screen and (max-width: 420px) {
}
 
/* Narrow Columns on Large Screen */
@media screen and (min-width: 768px) and (max-width:1200px) {
    /* Center left or right aligned images on their own line*/
    .col-sm-4 img.alignleft, .col-sm-4 img.alignright,
    .col-sm-3 img.alignleft, .col-sm-3 img.alignright,
    .col-sm-2 img.alignleft, .col-sm-2 img.alignright {
        float:none;
        clear:both;
        margin:0 auto;
        padding:10px 0;
    }
}
 
#widget-area-home-page-bottom iframe {
    width:100%;
    border:none;
    height:1000px;
}
#widget-area-home-page-bottom .widget {
    width:100%;
}
/* Portrait Tablets & Phones (MENU CONTRACTS) */
@media screen and (max-width: 991px) {
    #widget-area-home-page-bottom iframe {
        max-width:991px;    
    }
}
/* Phones (COLUMNS STACK) */
@media screen and (max-width: 767px) {
    #widget-area-home-page-bottom iframe {
        max-width:767px;    
    }
}
/* Portrait Phones */
@media screen and (max-width: 420px) {
    #widget-area-home-page-bottom iframe {
        max-width:420px;    
    }
}