/*
Theme Name: TeraNews Child
Theme URI: http://wellthemes.com/
Author: WellThemes
Author URI: http://wellthemes.com/
Description: A Premium Magazine style Responsive WordPress Theme by WellThemes.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, black, gray, light, one-column, two-columns, right-sidebar, responsive-layout, custom-background, editor-style, featured-images, full-width-template, sticky-post, theme-options
Template: wt_tera
Text Domain: wt_tera_child
*/
#main, #container {
    overflow: unset !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.inner-wrap {
	display: inline-block;
}
.sidebar {
    width: 340px;
	position: sticky;
	top: 10px;
    overflow: hidden;
    float: left;
}

.sidebar .widget {
    width: 100% !important;
}
.col-last {
    margin-right: 0 !important;
}

@media screen and (min-width: 1520px) {
	.single.two-sidebars #container {
		width: 100%;
	}
	.single.two-sidebars #header {
		width: 1520px;
		margin-left: auto;
		margin-right: auto;
	}
	.single.two-sidebars #footer .container {
		width: 1520px;
	}
	.single.two-sidebars #main {
		width: 1520px;
		margin-left: auto;
		margin-right: auto;
	}
	.single.two-sidebars #content {
		margin: 0 40px;
		width: 730px;
	}
	.single.two-sidebars .inner-wrap {
		width: 100%;
		box-sizing: border-box;
	}
	.single.two-sidebars #footer .inner-wrap {
		padding: 0 20px;
    }
    .inner-wrap {
        padding: 0 10px;
    }
}

@media screen and (max-width: 1500px) {
	#sidebar-left {
		display: none;
	}
}

@media only screen and (max-width: 1200px) and (min-width: 1030px) {
    #content {
        width: 730px;
    }
    .sidebar {
        width: 340px;
    }
    #main {
        width: 1090px;
    }
    #container {
        width: 1113px;
    }
}
@media only screen and (max-width: 1029px) and (min-width: 1020px) {
    #content {
        width: 730px;
    }
    .sidebar {
        width: 210px;
    }
}
@media screen and (max-width: 1019px) {
    .sidebar {
        margin-top: 0 !important;
        position: unset !important;
    }
    .sticky-element-placeholder {
        display: none !important;
    }
}
@media only screen and (min-width: 760px) and (max-width: 1019px) {
    .one-half {
		margin-right: 20px;
    }
    #content {
        width: 730px;
    }
    
    .sidebar {
        width: 730px !important;
        display: none;
    }
}

@media only screen and (max-width: 759px) and (min-width: 580px) {
    #content {
        width: 100%;
    }
    .sidebar {
        width: 100% !important;
    }
}

@media only screen and (max-width: 580px) {
    #content {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .sidebar {
        width: 100% !important;
    }
    .one-half {
        width: 100%;
    }
    .wp-post-image {
        width: 100% !important;
        height: auto !important;
    }
}

@media only screen
    and (min-device-width : 768px)
    and (max-device-width : 1023px)
    and (orientation : portrait) {

    #sidebar-right {
        display: none;
    }
}