/* https://test.harjuelu.ee/wp-content/themes/Ajalehed-child/css/responsive.css?ver=4.9.27 */
@media screen and (min-width: 1440px) {
	/*.frontpage .main-blog .wrap-right .item-block img {
	    max-height: 231px;
	}

	.frontpage .g-7,
	.frontpage .g-8 {
	    max-height: 480px;
	}*/
}

@media screen and (min-width: 1920px) {
	/*.frontpage .main-blog .wrap-right .item-block:last-child img {
	    max-height: 284px;
	}

	.frontpage .main-blog .wrap-right .item-block img {
	    max-height: 200px;
	}

	.frontpage .g-7,
	.frontpage .g-8 {
	    max-height: 504px;
	}*/
	.frontpage.page_class {
		width: 1280px !important;
		margin: 0 auto;
	}
	div.row {
	    max-width: 70rem
	}
	.frontpage .g-3 {
		max-height: 120px;
	}
}
@media screen 
  and (min-device-width: 1280px) 
  and (max-device-width: 1921px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
	.frontpage.page_class {
		width: 1280px !important;
		margin: 0 auto;
	}
}
@media screen and (max-width: 1400px) {
	div.row {
	    max-width: 73rem
	}
}

@media screen and (max-width: 1279px) {
	.nav-toggle-menu {
		right: 20px;
	}

	.ct-box h3 {
		font-size: 40px;
	}

	.ct-box h4 {
		font-size: 25px;
	}

	header.header .nav li {
		max-width: 130px;
	}

	.menu-item:hover img.hovered-image {
	    margin-left: -110px !important;
	}

	.menu-item:hover > .sub-menu img.hovered-image {
	    margin-left: -110px !important;
	}

	header.header .nav .sub-menu li {
	    max-width: 108px;
	}

	
}

/* swsDreams CSS */
@media only screen and (device-width: 768px) {
  /* For general iPad layouts */
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) {
	.frontpage .main-blog .wrap-right .item-block .item-left-top {
	    /*max-height: 235px;*/
	}
	
.frontpage .large-collapse{
	margin-left:0px !important;
	margin-right:0px !important;
}
	
	.column_3.medium-3.large-2.column.sidebar-right {
		padding-left: 14.5px !important;
		padding-right: 0px !important;
	}
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) {

}

@media screen and (max-width: 1023px) {
	.logo a {
		font-size: 60px;
	}

	header.header .nav li {
		max-width: 100px;
	}

	header.header .nav .sub-menu li {
	    max-width: 81px;
	}

	.box-countdown {
		float: left;
	}

	.img-icon {
	    width: 30%;
	}

	.ct-box h3 {
	    font-size: 25px;
	}

	.ct-box h4 {
	    font-size: 20px;
	}

	.wrap-left {
		padding-right: 10px;
	}

	.wrap-right {
		padding-left: 10px;
    	padding-right: 0;
	}

	.item-block .article_title_wrapper h3 {
		line-height: 24px;
		font-size: 18px;
		padding: 10px 0;
	}

	.middle-banner {
		top: 100px;
	}
}

@media screen and (max-width: 767px) {
	.wrap-left,
	.wrap-right {
		width: 100%;
	}

	.box-countdown {
		width: 100%;
		margin-bottom: 20px;
	}

	.wrap-right {
		padding-left: 0;
	}

	.wrap-left {
		padding-right: 0;
	}

	.lh-footer-address ul {
		text-align: center;
		margin-top: 20px;
	}

	.lh-wrap-menu-left-footer ul {
		text-align: center;
	}

	.bottom-banner h1 {
		font-size: 20px;
	}

	#main_nav img {
	    display: none;
	}

	header.header .nav li {
		display: block;
		max-width: 100%;
	}

	.menu-image-title.menu-image-title-below {
	    display: block;
	}

	body .header .nav {
		float: none;
	}

	.menu-image-hovered.menu-image-title-below .menu-image-hover-wrapper, .menu-image-title-below .menu-image-hover-wrapper {
	    padding: 0;
	}

	.logo a {
	    font-size: 40px;
	}

	.middle-banner {
	    top: 80px;
	}

	.home .frontpage {
	    padding-left: 10px;
	    padding-right: 10px;
	}

	.frontpage .bottom_articles .short_article_medium, .single-post .bottom_articles .short_article_medium {
		height: auto;
	}

	.item-block .article_title_wrapper h3,
	.new-style .article_title_wrapper h3 {
		padding: 10px;
		line-height: 20px;
	}

	.adrotate-item {
	    padding-top: 20px;
	    clear: both;
	}

	.footer_address.lh-footer-address ul {
	    text-align: left;
	    padding-left: 20px;
	}

	.lh-newsletter form .tnp-field.tnp-field-button input[type='submit'] {
	    padding: 17px 20px 17px;
	}

	.item-block img {
		height: 240px;
	}

}