/* @containers & columns
****************************************************************************************************************************************************************************************/

/* containers */
.dnnc_container{
	width: 100%;
	max-width: 1380px; /* VAR */
	margin: 0 auto;
	padding:0 10px;
	position:relative;
	overflow:hidden;
}

#header .dnnc_container,
#header .dnnc_column_12{ overflow:visible;}

.header_fullwidth #header .dnnc_container{ max-width:none;}


/* columns */
.dnnc_columns_wrap{
	margin-left:-10px;
	margin-right:-10px;
	width:calc(100 + 20px);
}
.dnnc_column,
.dnnc_item,
.dnnc_foocol{
	margin: 0 0;
	padding:0 10px;
	overflow:hidden;
	position:relative;
	float:left;
	width:100%;
}

.dnnc_foocol{
	padding:50px 10px 20px 10px;
}

/* MOBILE FIRST - tiny desktops */

@media only screen and (min-width: 485px) {

	.dnnc_column_3,
	.dnnc_column_4,
	.dnnc_column_5,
	.dnnc_column_6{width:50%;}

	.dnnc_column_3:nth-child(2n + 3),
	.dnnc_column_4:nth-child(2n + 3),
	.dnnc_column_6:nth-child(2n + 3){
		clear:left;
	}

}

/* MOBILE FIRST - small desktops */

@media only screen and (min-width: 885px) {
	
	.dnnc_content{ width:72%;} /* VAR */

	.dnnc_sidebar{ width:28%;} /* VAR */

	.dnnc_foocol{ 
		min-height: 1px; 
		width:25%; /* VAR */
		padding-top: 60px !important;
		padding-bottom: 40px !important;
	} 

	.dnnc_column_1	{width: 8.33%;}
	.dnnc_column_2 	{width: 16.66%;}
	.dnnc_column_3 	{width: 25%;}
	.dnnc_column_4 	{width: 33.33%;}
	.dnnc_column_5 	{width: 41.66%;}
	.dnnc_column_6 	{width: 50%;}
	.dnnc_column_7 	{width: 58.33%;}
	.dnnc_column_8 	{width: 66.66%;}
	.dnnc_column_9 	{width: 75%;}
	.dnnc_column_10 {width: 83.33%;}
	.dnnc_column_11 {width: 91.66%;}
	.dnnc_column_12 {width: 100%;}

	.dnnc_column_3:nth-child(4n + 5),
	.dnnc_column_4:nth-child(3n + 4),
	.dnnc_column_6:nth-child(2n + 3){
		clear:left;
	}

	.dnnc_sidebar_left .dnnc_content{
		float:right;
	}
	.dnnc_sidebar_left .dnnc_sidebar{
		float:left;
	}

	/* no_sidebar */

	.dnnc_sidebar_none .archive_title,
	.dnnc_sidebar_null .archive_title{
		text-align: center;
	}
	.dnnc_sidebar_none #dnnc_single_core .dnnc_container,
	.dnnc_sidebar_null #dnnc_single_core .dnnc_container{
		overflow:visible;
	}

	.dnnc_blogger_full_width .dnnc_content,
	.dnnc_sidebar_none .dnnc_content,
	.dnnc_sidebar_null .dnnc_content{
		float:none !important;
		margin:0 auto !important;
		overflow:visible !important;
		width:100%;
	}

	.dnnc_sidebar_none .single_post_inn,
	.dnnc_sidebar_null .single_post_inn{
		max-width:750px;
		margin-left:auto;
		margin-right:auto;
	}

	.dnnc_sidebar_none .alignfull,
	.dnnc_sidebar_null .alignfull {
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	}

	.dnnc_sidebar_none .alignfull.wp-block-gallery,
	.dnnc_sidebar_null .alignfull.wp-block-gallery {
		margin-left: calc(50% - 48.7vw);
		margin-right: calc(50% - 48.7vw);
	}
	.dnnc_sidebar_none .alignwide,
	.dnnc_sidebar_null .alignwide {
		margin-left: calc(25% - 25vw);
		margin-right: calc(25% - 25vw);
	}

}

/* MOBILE FIRST - large desktops */

@media only screen and (min-width: 1025px) {
	
	.dnnc_container{
		padding:0 30px; /* VAR */
	}
		
	.dnnc_columns_wrap{
		margin-left:-30px; /* VAR */
		margin-right:-30px; /* VAR */
		width:calc(100 + 60px); /* VAR */
	}
	.dnnc_column,
	.dnnc_item,
	.dnnc_foocol{
		padding:0 30px; /* VAR */
	}

	.dnnc_blogger .item{
		margin:0 0 50px 0; /* VAR */
	}

	.sidebar_item{
		padding:30px 35px; /* VAR */
		margin:0 0 40px 0;  /* VAR */
	}

}



/* @mobile after
****************************************************************************************************************************************************************************************/

@media screen and (max-width: 1155px) {
	
	#titles .logo{ margin:25px 0 !important;}
	
	#titles h1{ font-size:24px !important}
	
	#titles img{ max-height:30px;}
	

	/* mobile menu */
	
	.show-menu{
		display:block !important;
		visibility:hidden;
		margin:15px 0;
		padding:18px 10px;
		height:46px;
	}
	
	.show-menu-visible .show-menu{visibility:visible;}
	
	.header-right.for-menu{ display:block; float:none; width:100%;}
	
	#navigation{
		display:none;
		position:relative;
		overflow:hidden;
		height:auto;
		top:auto;
		margin:0 -20px !important;
		padding:30px 20px !important;
		width:calc(100% + 40px);
		background:#04043D;
		z-index:100;
	}
	#navigation li:not(.special) a{
		color:#fff !important;
	}
	#navigation li:not(.special) a:hover,
	#navigation .current-menu-item>a{
		opacity:.6;
	}
	#navigation li.current-menu-item.special>a{
		opacity:1;
	}
	#main-nav{
		display:block;
		overflow:hidden;
		margin-bottom:10px !important;
	}
	#main-nav{
		width:100% !important;
		margin:0 0 0 0 !important;
		padding:0 0 0 0 !important;
	}
	#main-nav li,
	#main-nav li ul {
		width:100%;
		background-color: transparent;
		float:none;
		display:block;
		margin:0 0 0 0;
		padding-top:3px;
		padding-bottom:3px;
		position:relative;
		left:auto;
		display:block;
		visibility:visible;
		padding-top:0;
	}
	#main-nav li a{
		width:100%;
		text-align:left;
		padding:15px 0;
		margin:0 0 0 0;
		font-size:16px !important;
	}
	#main-nav > li.special{ margin:0 0 ; padding:0 0 0 0;}
	#main-nav > li.special>a{ margin:0 0 ; padding:15px 30px;}
	#main-nav > li.special > a i { display:none;}
	ul.nav li ul.sub-menu a{
		padding:5px 0 !important;
	}
	#top-nav>li.special>a{
		padding: 15px 18px 15px 18px !important;
	}
	.nav li ul li > a {
		font-size: 13px !important;
	}
	.nav li a.sf-with-ul {
		padding-right: 0 !important;
	}
	#main-nav > li > a {
		margin: 0 0 0 0 !important;
	}
	.nav > li > ul > li,.nav li ul ul li,#main-nav li ul li > a,.nav li ul li > a {
		max-width: 100% !important;
		margin:0 0 0 0;
		padding:0 0 0 0;
	}
	.nav li ul{
		padding:0 20px;
	}
	#main-nav li.mega ul.sub-menu {
		min-height:0px;
	}
	.nav li ul ul{
		margin:0 0 0 0;
		padding:0 0 0 0;
	}
	div.sub,.nav > li > ul:after,.menu-item-has-children > a::after,.header_icons{
		display:none !important;
	}
	#main-nav > li{
		padding:0 0;
	}
	#main-nav > li.special{
		padding-right:0
}
	#main-nav > li::before,.menu-item-has-children > a::after{
		display:none;
	}
	.nav li ul.sub-menu {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	

	.nav li.mega > ul.sub-menu {
    padding:0px 20px !important;
	}
	.nav li.mega > ul.sub-menu > li ul, .nav li.mega > ul.sub-menu > li ul ul, .nav li.mega > ul.sub-menu > li ul ul ul{ margin-left:0 !important;}
	.nav li ul.sub-menu{
		padding:0 0 0 20px !important;
	}
	.nav li.mega > ul.sub-menu > li > a {
    	text-transform: none !important;
    	font-weight: 400 !important;
	}

		ul.nav .sub-menu{ display:none !important;}
		
		ul.nav .active .sub-menu{ display:block !important;}
	
		a .dnnc_mobile_dropdown {
		display:block;
		position:absolute;
		content: "↓";
		height:25px;
		width:25px;
		background:rgba(255,255,255,.1);
		top:13px;
		right:0;
		font-size:11px !important;
		margin-top:-2px;
		font-weight:normal;
		padding:5px 10px;
		font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
			-moz-border-radius:30px;
			-khtml-border-radius:30px;
			-webkit-border-radius:30px;
			border-radius:30px;
			z-index:2;
		}
		li.menu-item-has-children li a .dnnc_mobile_dropdown{ display:none;}
		.menu-item-has-children > a::after{top:15px;right:17px; z-index:1;}
		
		.nav li ul li.menu-item-has-children > a::after{top:13px;}
		
		.menu-item-has-children.active > a .dnnc_mobile_dropdown{
			transform: rotate(-180deg);
		}
		
		#navigation ul.nav li ul li.menu-item-has-children > a:after{ transform: rotate(0deg); right:16px; top:13px;}
		
		#navigation ul.nav li ul li.menu-item-has-children.active > a:after{ transform: rotate(180deg); right:12px; top:22px;}
		
		.nav li ul li.menu-item-has-children.active > a::after{top:22px;}
		
	/* end mobile menu */	
	
	
	.dnnc_blogger_sidebar,
	.dnnc_blogger_full_width {
	  margin-top:20px !important;
	}
	
}

@media screen and (max-width: 885px) {/*TABLET*/

	#sidebar{
		max-width:360px;
		float:none;
		margin:0 auto;
		clear:both;
	}
	
	img.rekl_image{
		margin:-15px -20px -15px -20px;
		width:calc(100% + 40px) !important;
		max-width:calc(100% + 40px) !important;
	}

	.scroll_to_top {
		width: 100%;
	}
	.scroll_to_top a {
		padding: 5px 0 5px 0;
	}
	
}

@media screen and (max-width: 485px) {/*MOBILE*/

	.dnnc_footer_credits {
		float: left;
		margin-top: 0;
	}

	.dnnc_blogger_sidebar,
	.dnnc_blogger_full_width {
	  margin-top:0 !important;
	}
	
	
	.dnnc_bck_lnk {
		text-align: left;
	}

	.dnnc_bck_lnk a {
		padding: 10px 10px;
	}
	
}