/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
    
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

	
	


/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) { /* This is equal to > 1200 as container has max-width:970px */
	
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	body {
		font-size:12px;
	}

	h2 {
		font-size:18px;
	}
	
	.navbar-nav>li>.dropdown-menu {
		width:375px;
	}
	.calendar, .calendar td, .news, .news td, #newssinglecont {
		font-size:15px;
	}
	.calendar h2 {
		margin-bottom:10px;
	}
	.calendar table td, .news td {
		padding-right:10px;
		height:12px;
	}
	.calendar, .news, .newssingle.colBox, .facebook.colBox {
		height:187.5px;
	}
	#newssinglecont {
		width:55%;
	}
	.newssingle, .calendar, .news {
		background-size: 500px auto;
		background-repeat:none;
	}
	#SDMKCarousel {
		height:375px;
	}
	
	/* Instagram replacement for Facebook feed */
	.facebook .csc-textpic, .facebook .csc-textpic-imagewrap, .facebook .csc-textpic-image, .facebook .csc-textpic-image img {
		max-width:none;
		width:100%;
		height:auto;
	}
	.facebook.colBox {
		height:188px;	
	}
	/* Instagram replacement for Facebook feed end */
	
	/* Facebook */
	.nss-author-name{		
		font-size:6px;
	}
	.nss-created{
		font-size:5px;
	}
	.nss-content{
		font-size:5px;
	}
	.facebook_feedback {
		font-size:6px;
		width:40px;
	}
	.facebook_content {
		padding:0px 5px 5px 5px;
	}
	
	.nss-author-avatar .facebook_image {
		width:35px;
		height:35px;
		background-size:70px;
	}
	.facebook.colBox h2 {
		margin-bottom:10px;
	}
		
	/* Facebook end */
	
	/* bokse */
	section .bokse {
		height:187.5px;
		font-size:15px;
		overflow:hidden;
	}
	section .bokse h2 {
		line-height:17px;
	}
	section .bokse .knapImgWrap {
		height:auto;
		width:199px;
	}
	section .bokse .boks_bontent {
		padding:20px 15px 20px 5px;
	}
	/* bokse end */
	.intextright, .intextleft, .intextright img, .intextleft img {
		max-width:170px;
	}
	.tx-txrsuserlist-pi2 .row div.col-xs-6 h2 {
		font-size:18px;
	}
	.tx-txrsuserlist-pi2 .col-xs-6, .tx-txrsuserlist-pi2 .col-xs-6 a {
		color:#fff;
		font-size:12px;
	}
	/* news archieve */
	.content .dates a strong{
		font-size:18px;
		line-height:22px;
	}
	#datepicker {
		transform:scale(0.9,0.9);
		-ms-transform: scale(0.9,0.9); /* IE 9 */
		-webkit-transform: scale(0.9,0.9); /* Chrome, Safari, Opera */
	}
	.submenu1, .submenu2 {
		padding: 30px 15px;
	}
	.tx-txrsuserlist-pi2 .rsuserlistImg {
		width:53%;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.container {
		max-width:600px;
	}
	.topmenu {
		font-size:18px;
	}
	.nav > li > a {
		padding-left:7px;
		padding-right:7px;
	}
	.navbar-brand {
		padding:5px 0 0 0;
	}
	.submenu { 
		font-size:12px;
	}
	.linkarrow {
		right:15px;
		bottom:15px;
	}
	.linkarrow img {
		width:50%;
		height:auto;
	}
	.calendar, .calendar td, .news, .news td, #newssinglecont {
		font-size:11px;
	}
	.calendar, .news, .newssingle.colBox, .facebook.colBox {
		height:150px;
	}
	.newssingle, .calendar, .news {
		background-size: 300px auto;
		background-repeat:none;
	}
	#newssinglecont {
		width:50%;
	}
	#SDMKCarousel {
		height:300px;
	}
	.intextright, .intextleft, .intextright img, .intextleft img {
		max-width:270px;
	}


	/* bokse */
	section .bokse {
		height:150px;
		font-size:12px;
		overflow:hidden;
	}
	
	section .bokse .knapImgWrap {
		height:auto;
		width:159px;
	}
	section .bokse .boks_bontent {
		padding:20px 15px 20px 5px;
	}
	/* bokse end */
	#datepicker { /*
		transform:scale(0.8,0.8);
		-ms-transform: scale(0.8,0.8); 
		-webkit-transform: scale(0.8,0.8);
		 */
	}
	
	.tx-txrsuserlist-pi2 .rsuserlistContent .rsuserlistEmail a {
		width:18px;
		height:18px;
		overflow:hidden;
		display:block;
		font-size:18px;
	}
	.tx-txrsuserlist-pi2 .rsuserlistContent .rsuserlistEmail a:before {
		font-family:FontAwesome;
		content: "\f0e0";
	}
	.tx-txrsuserlist-pi2 .rsuserlistContent em {
		font-size:10px;
	}

	.tx-txrsuserlist-pi2 .rsuserlistImg {
		width:53%;
	}
	.calendar table td, .news td {
		padding-right:9px;
	}
	.facebook.colBox h2 {
		margin-bottom:0px;
	}
	.facebook.colBox .facebookBtn {
		margin:0px 10px 0 0;
		font-size:18px;
	}
	.nss-author-avatar .facebook_image {
		width:30px;
		height:30px;
		background-size:60px;
	}

}
@media only screen and (max-width : 767px) {
	.container {
		max-width:600px;
	}
	/* bokse */
	section .bokse {
		height:auto;
		font-size:18px;
		overflow:hidden;
	}
	h2 {
	  font-size:30px;
	}
	#SDMKCarousel {
		height:auto;
	}
	section .bokse .knapImgWrap {
		height:auto;
		width:318.5px;
		max-width:52.9%;
	}
	section .bokse .boks_bontent {
		padding:20px 15px 20px 5px;
	}
	section .bokse h2 {
		line-height:28px;
	}
	/* bokse end */
	
	.calendar, .news, .newssingle.colBox, #newssinglecont, .facebook.colBox {
		height:220px;
		font-size:18px;
	}
	#newssinglecont {
		width:45%;
	}
	.newssingle, .calendar, .news {
		background-size: 600px auto;
		background-repeat:none;
	}
	.calendar td, .news td {
		padding-right:20px;
		height:22px;
		font-size:18px;
	}
	.navbar-nav>li.dropdown {
		/*margin-top:50px;*/
	}
	.topmenu {
		margin-top:50px;
	}
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
		border:none;
	}
	.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
		background-color:transparent;
	}
	.linkarrow {
		right:25px;
		bottom:25px;
	}
	.linkarrow img {
		width:100%;
		height:auto;
	}
	#datepicker {
		/*
		transform:none;
		-ms-transform: none;
		-webkit-transform: none; 
		 */

	}

	/* Instagram replacement for Facebook feed */
	.facebook .csc-textpic, .facebook .csc-textpic-imagewrap, .facebook .csc-textpic-image, .facebook .csc-textpic-image img {
		max-width:none;
		width:100%;
		height:auto;
	}
	.facebook.colBox {
		height:auto;	
	}
	.facebook.colBox h2 {
		margin-bottom:20px;
	}
	.facebook.colBox .facebookBtn {
		margin:3px 10px 0 0;
		font-size:23px;
	}
	

	/* Instagram replacement for Facebook feed end */
	
	.tx-txrsuserlist-pi2 .rsuserlistContent .rsuserlistEmail a {
		width:auto;
		height:auto;
		overflow:auto;
		display:inline;
		font-size:12px;
	}
	.tx-txrsuserlist-pi2 .rsuserlistContent .rsuserlistEmail a:before {
		font-family:FontAwesome;
		content: none;
	}
	.tx-txrsuserlist-pi2 .rsuserlistContent em {
		font-size:12px;
	}
	.tx-txrsuserlist-pi2 .rsuserlistImg {
		width:53%;
	}



}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
	section .bokse {
		font-size:18px;
	}
	section .bokse h2 {
	  font-size:30px;
  }


	#cookie {
		width:100%;
		font-size:22px;
	}
	#cookie h4 {
		font-size:24px;
	}

	#cookie button {
		background-color:#333;
		border:none;
		padding:6px 12px 2px 10px;
	}

}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 470px) {
  h2 {
		font-size:18px;
	}
	.calendar, .calendar td, .news, .news td, #newssinglecont, section .bokse {
		font-size:12px;
	}
	
	.tx-txrsuserlist-pi2 .rsuserlistContent .rsuserlistEmail a {
		width:18px;
		height:18px;
		overflow:hidden;
		display:block;
		font-size:18px;
	}
	.tx-txrsuserlist-pi2 .rsuserlistContent .rsuserlistEmail a:before {
		font-family:FontAwesome;
		content: "\f0e0";
	}
}

.lang-xs {
	float:right;
	list-style:none;
	padding:0;
	margin:0;
}
.lang-xs li {
	float:left;
}


/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
    section .bokse h2 {
	  font-size:20px;
  }
  
}
