/*
	#3CC47C green
	#1E392A Dark green
	#E9C893 light
	#828081 Grey

	#585858
	#118C4E
	#C1E1A6
	#FF9009
*/


body, html {
	margin: 0;
	height: 100%;
	font-family: lato, Arial, Helvetica, sans-serif;
	color: #fff;
}

body {
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: #fff;
}

.go-to-top {
	display: none;
	position: fixed;
	-webkit-transform: translateZ(0);
	-webkit-transform: translate3d(0, 0, 0);
	transform : translate3d(0, 0, 0);
	top: 90%;
	right: 50px;
	z-index: 3;
	padding: 10px 15px;
	background-color: #828081;
	border-radius: 5px;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
	border: 1px solid #666;
	cursor: pointer;
}


#main-header {
	height: 40%;
}

#header-background {
	height: 100%;
	width: 100%;
	background-image: url("/images/hantlar.jpg");
    background-attachment: fixed;
    background-position: 50% 90%;
    background-repeat: no-repeat;
    background-size: cover;
}

.nav-icons {
	font-size: 70px !important;
}

.mobile-nav {
	height: 70px;
	width: 100%;
	background-color: #118C4E;
	display: none;
}

.mobile-open-nav {
	float: left;
	margin-left: 20px;
	cursor: pointer;
}

.mobile-home {
	height: 70px;
	float: right;
	margin-right: 20px;
}

header nav {
	display: block;
	width: 100%;
	text-align: center;
	background-color: #118C4E;
}

header ul {
	margin: 0;
	list-style: none;
	display: inline-block;
	padding: 0;
}

header li {
	display: inline-block;
	width: 200px;
	position: relative;
}

header li a {
	width: 200px;
	display: block;
	text-align: center;
	color: #fff;
	padding: 19px 0;
}

#home-logo {
	height: 45px;
	position: absolute;
	top: 7px;
	left: 20px;
}

#header-logo {
	display: none;
	position: relative;
	height: 70px;
}

#header-logo  img{
	height: 60px;
	display: block;
	margin: 5px auto;
}

#header-logo i {
	position: absolute;
	top: 0;
	right: 3%;
	cursor: pointer;
}

header li a:hover, .dropdown:hover  .dropdownbtn {
	text-decoration: underline;
}

.dropdown-content {
	display: none;
	position: absolute;
	width: 200px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
    color: #fff;
    padding: 17px 0;
    text-decoration: none;
    display: block;
	background-color: #118C4E;
	width: 200px;
	line-height: normal;
	height: auto;
}

.dropdown-content a:hover {
	
}

.active-header-link {
	background-color: #5a5859 !important;
}

.arrow-down {
	vertical-align: middle;
	font-size: 15px !important;
}

#caption{
	text-align: center;
	position: absolute;
	width: 100%;
	left: 0;
	top: 15%;
	font-size: 70px;
	font-weight: 900;
	text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.8);
}

#caption h1 {
	margin: 0;
	color: #fff;
}

#caption-img {
	height: 60%;
	display: block;
	margin: 0 auto;
	margin-top: 30px;
}


.scroll-down-text {
	position: absolute;
	top: 80%;
	text-align: center;
	width: 100%;
}

main {
	overflow: auto;
}

h1 {
	font-size: 1.3em;
}

.text-container {
	padding: 60px 0;
	text-align: center;
	background-color: #118C4E;
	color: #fff;
}

.text-container p {
	font-size: 1.2em;
}

.text-container a {
	font-size: 1.2em;
	margin: 1em 0;
}

.text-container-width {
	width: 600px;
	margin: 0 auto;
}

.text-container-grey {
	padding: 60px 0;
	text-align: center;
	background-color: #828081;
	color: #fff;
}

.text-container-grey p {
	font-size: 1.2em;
}

.text-container h1, .text-container-grey h1 {
	margin-top: 0;
}

.text-container p:last-of-type, .text-container-grey p:last-of-type{
	margin-bottom: 0;
}



.background {
	width: 100%;
	background-image: url("/images/barcenter.jpg");
    background-position: 50% 95%;
    background-repeat: no-repeat;
    background-size: cover;
	opacity: 1;
	padding: 0;
}

.background-container {
	background-color: rgba(0,0,0,0.7);
	width: 100%;
	margin: 0 auto;
	padding: 60px 0;
}

.background-alone{
	width: 100%;
	background-image: url("/images/barbottom.jpg");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
	opacity: 1;
	height: 60vh;
}

.barcenter {
	background-image: url("/images/bar.jpg");
	background-position: 50% 75%;
}

.barbottom {
	background-image: url("/images/barbottom.jpg");
}

#map {
	width: 50%;
	height: 400px;
	margin: 0 auto;
	margin-top: 60px;
	color: #000;
}

#bli-medlem p:last-of-type {
	margin-bottom: 40px;
}

#bli-medlem a {
	display: block;
	border: 3px solid #fff;
	font-size: 1.5em;
	width: 10%;
	margin: 0 auto;
	padding: 15px 15px;
}

#bli-medlem a:hover {
	text-decoration: underline;
}



table {
	text-align: left;
	margin: 0 auto;
	border-collapse: collapse;
	font-size: 1.2em;
}

td, th{
	padding: 8px 20px;
}

td:first-child, th:first-child{
	padding-left: 10px;
}

td:last-child, th:first-child {
	padding-right: 10px;
}

tr{
	border-bottom: 1px solid #fff;
}

.table-tavling:nth-of-type(2) {
    margin-top: 120px;
}

.to-album {
	cursor: pointer;
	display: inline-block;
	margin-top: 0;
}

.album9x {
	width: 975px;
	overflow: hidden;
	margin: 0 auto;
}

.album-pic {
	position: relative;
	width: 300px;
	float: left;
	margin: 25px 12.5px;
	height: 300px;
	background-position: center;
	background-repeat: no-repeat;
	
}



.album-pic-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: 0.5s ease;
	background-color: rgba(0, 0, 0, 0.3);
}

.album-pic-text {
	color: #fff;
	font-size: 1.3em;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.8);
}

.album-hover:hover  .album-pic-overlay{
	opacity: 1;
}

.gallery-album {
        width: 975px;
        margin: 0 auto;
        overflow: auto;
}

.gallery-pic {
    position: relative;
    width: 300px;
    height: 300px;
    float: left;
    margin: 25px 12.5px;
    background-position: center;
    background-repeat: no-repeat;
}

.gallery-pic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease;
    background-color: rgba(0,0,0,0.3);
}

.gallery-hover:hover  .gallery-pic-overlay{
	opacity: 1;
}

.sponsors h4 {
    font-size: 1.3em;
}

.sponsors .flex-right {
    display: flex;
    justify-content: flex-end;
}

.sponsors ul {
    padding: 0 20px;
    display: grid;
    list-style-type: none;
    text-align: left;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 500px;
    margin: 0 auto;
}

.sponsors li {
    padding: 2px 0;
}


.footer-container {
	padding: 30px 0;
	background-color: #0e7140;
	overflow: auto;
}

.footer-text {
	float: left;
	padding-left: 60px;
}

#footer-img  img{
	float: right;
	margin-right: 40px;
	width: 200px;
}

#copy-right {
	background-color: #5a5859;
	padding: 20px 0;
	padding-left: 60px;
}

.active-record-link {
	background-color: #5a5859;
}

.record-menu {
	background-color: #828081;
}

.record-menu nav {
	margin: 0 auto;
	width: 50%;
	text-align: center;
	font-size: 1.2em;
}

.record-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.record-menu li a{
	width: 100%;
	display: block;
	padding: 20px 0;
}

.record-menu li a:hover {
	background-color: #118C4E;
}

#record-main {
	background-color: #828081;
}

.side-menu {
	background-color: #828081;
	width: 30%;
	float: left;
}

.side-menu nav {
}

.side-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.side-menu li {
	
}

.side-menu li a{
	width: 90%;
	display: block;
	padding: 20px 0;
	padding-left: 10%;
}

.side-menu li a:hover {
	background-color: #118C4E;
}

.record-content {
	float: left;
	width: 70%;
	color: #000;
	background-color: #fff;
}

.record-content table{
	margin: 50px auto;
}

.contact-form  form{
	width: 500px;
	margin: 0 auto;
}

.contact-form p, .contact-form p:last-of-type {
	margin-bottom: 10px;
	font-size: 1.3em;
}


.input-text {
	width: 100%;
	height: 1.7em;
	font-size: 1.2em;
}

.contact-form textarea {
	width: 100%;
	max-width: 100%;
	height: 5em;
	font-size: 1.2em;
}

.input-submit {
	margin-top: 20px;
	padding: 15px 70px;
	background-color: #828081;
	color: #fff;
	border: 2px solid #5a5859;
	cursor: pointer;
}

.input-submit:hover {
	text-decoration: underline;
}



/*------------------------------------------NYHETER---------------------------*/

.fb-text-container-grey {
	padding: 0px 0;
	text-align: left;
	background-color: #828081;
	color: #fff;
}

.fb-text-container-grey:first-of-type {
	padding-top: 30px;
}


.fb-text-container-grey  h2{
	margin: 0;
	padding-top: 30px;
}

.fb-text-container-grey  p{
	margin: 0;
}

.fb-text-container-border {
	width: 700px;
	border-bottom: 1px solid #fff;
	margin: 0 auto;
}

.fb-text-container-grey:last-of-type .fb-text-container-border {
	border-bottom: none;
	padding-bottom: 20px;
}

.fb-text-container-width {
	width: 500px;
	margin: 0 auto;
}

.fb-message {
	padding: 20px 0;
}

.fb-img-container {
	width: 500px;
	height: 300px;
	margin: 0 auto;
	padding-bottom: 40px;
}

.fb-img {
	width: 100%;
	height: 100%;
	
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.fb-like-container {
	background-color: #828081;
	display: block;
	width: 100%;
}

.fb-like {
	text-align: center;
	padding-top: 40px;
	padding-bottom: 40px;
}

.disableClick {
    pointer-events: none;
    cursor: default;
}

/*All phones*/
@media screen and (max-device-width: 1024px){
	#header-background{
		background-attachment: scroll;
	}
	
}

@media only screen and (max-width: 1200px) and (min-width: 1001px)  {
	
	#caption h1 {
		margin: 0 10%;
	}
	#map {
		width: 100%;
		height: 500px;
	}
	
	.footer-container {
		text-align: center;
	}
	
	.footer-text-container {
		margin: 0 auto;
		overflow: auto;	
		width: auto;
		display: inline-block;
	}
	
	.footer-text {
	}
	
	#footer-img {
		display: block;
		width: 100%;
		overflow: auto;
	}
	
	#footer-img img {
		float: none;
		margin: 0 auto;
		display: block;
	}
}

@media only screen and (max-width: 1000px) and (min-width: 701px)  {
    
	#caption h1 {
		margin: 0 10%;
	}
		h1 {
		margin: 0 10%;
	}
	#map {
		width: 100%;
		height: 500px;
	}
	
	table {
		width: 90%;
		margin-top: 50px;
	}
	
	.album9x {
		width: 700px;
	}
	
	.album-pic {
		width: 200px;
		height: 200px;
	}
    
    .gallery-album {
        width: 700px;
    }
    
    .gallery-pic {
        width: 200px;
		height: 200px;
    }
	
	.side-menu {
		width: 20%;
	}
	
	.record-content {
		width: 80%;
	}
	
	.rekord-text {
		display: none;
	}
	
	#bli-medlem a{
		width: 50%;
	}
	
	footer {
		font-size: 1em;
		text-align: center;
	}
	
	.footer-text {
		float: none;
		padding: 0;
		margin-bottom: 60px;
	}
	
	#footer-img {
		display: block;
		margin: 20px auto;
	}
	
	#footer-img  img{
		float: none;
		margin: 0;
	}
	
	#copy-right {
		padding-left: 0;
	}
	
	.record-menu nav {
		width: 100%;
	}
}

@media only screen and (min-width: 851px){
	.dropdown:hover .dropdown-content {
		display: block;
	}
	
	header nav {
		display: block;
	}
	
}

@media only screen and (max-width: 850px) {
	
	h1 {
		font-size: 1em;
	}
	
	.mobile-nav {
		display: block;
	}
	
	#main-header {
		height: 50%;
	}
	
	#caption h1 {
		margin: 0 2%;
	}
	
	#caption-img {
		height: 40%;
		margin-top: 0;
		padding-top: 40px;
	}

	header nav {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 20;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		display: none;
	}
	
	header ul {
		width: 100%;
		padding-bottom: 40px;
	}
	
	header li {
		display: block;
		width: 100%;
	}
	
	header li a {
		width: 90%;
		text-align: left;
		padding-left: 10%;
	}
	
	main h1 {
		font-size: 1.5em;
	}
	
	.dropdownbtn {
		
	}
	
	.dropdown-content {
		position: initial;
		display: block;
		width: 100%;
		box-shadow: none;
		z-index: -1;
		display: none;
	}
	
	.dropdown-content a {
		width: 80%;
		padding-left: 20%;
	}
	
	.dropdownbtn{
		z-index: 10;
		position: relative;

	}
	
	.dropdownbtn::after {
		content: '\002B';
		float: right;
		margin-right: 10px;
	}
	
	.dropdownbtn.active::after {
		content: "\2212";
	}
	
	header .arrow-down {
		display: none;
	}
	
	.shadow-bottom {
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	}
	
	.shadow-top {
		box-shadow: 0px -8px 16px 0px rgba(0,0,0,0.2);
	}
	
	
	#header-logo {
		display: block;
	}
	
	#home-logo {
		display: none;
	}
	
	.go-to-top {
		display: none;
	}
	
	.album9x {
		width: 100%;
	}
	
	.phone-album {
		width: 100%;
		margin: 0 auto;
		white-space: nowrap;
		position: relative;
	}
	
	.album-pic {
		display: inline-block;
		float: none;
		height: 0;
	}
    
    .gallery-album {
        width: 100%;    
    }
    
    .gallery-pic {
		float: none;
		height: 0;
        margin: 20px 10%;
	}
	
	.album-hover:hover .album-pic-overlay {
		opacity: 0;
	}

	.side-menu {
		display: none;
	}
	
	
	
	.record-content {
		width: 100%;
	}
	
	.fb-text-container-border {
		width: 100%;
	}
	
	.fb-text-container-width {
		width: 90%;
	}
	
	.fb-img-container {
		width: 100%;
		height: 0;
		padding-bottom: 70%;
	}
	
	.fb-img {
		padding-bottom: 60%;
	}
}

@media only screen and (max-width: 700px)  {
	
	#caption h1 {
	}
	
	h1 {
		margin: 0 10%;
	}
	
	.text-container-width {
		width: 90%;
	}
	#map {
		width: 100%;
		height: 500px;
	}
	
	table {
		width: 90%;
		margin-top: 50px;
		font-size: 1em;
	}
	
	
	#bli-medlem a{
		width: 70%;
	}
	
	.table-overflow {
		text-align: center;
	}
	
	.table-overflow table {
		display: inline-block;
		width: auto;
		margin-top: 0;
	}
	
	.table-overflow td, .table-overflow tr{
		display: block;
	}
	
	.table-overflow tr {
		padding: 10px 15px;
	}
	.table-overflow td {
		padding: 8px 0;
	}
	
	.table-overflow tr:first-of-type{
		display: none;
	}
	
	.table-overflow td:before{
		
	}
	
	.table-tavling td:nth-child(1):before{
		content: "Tävling: ";
	}
	.table-tavling td:nth-child(2):before{
		content: "Plats: ";
	}
	.table-tavling td:nth-child(3):before{
		content: "Datum: ";
	}
	
	footer {
		font-size: 1em;
		text-align: center;
	}
	
	.footer-text {
		float: none;
		padding: 0;
		margin-bottom: 60px;
	}
	
	#footer-img {
		display: block;
		margin: 20px auto;
	}
	
	#footer-img  img{
		float: none;
		margin: 0;
	}
	
	#copy-right {
		padding-left: 0;
	}
	
	.record-menu nav {
		width: 100%;
	}
	
	.contact-form form{
		width: 90%;
	}
}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
	main h1{
		font-size: 1.5em;
	}
	#bli-medlem a{
		width: 70%;
	}
	
	.nav-icons {
		font-size: 50px !important;
		margin-top: 10px;
	}
}

/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
	#bli-medlem a{
		width: 70%;
	}
	.nav-icons {
		font-size: 50px !important;
		margin-top: 10px;
	}
}

/* ----------- iPhone 6+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
	#bli-medlem a{
		width: 70%;
	}
	.nav-icons {
		font-size: 50px !important;
		margin-top: 10px;
	}
}


