/* Nollställ */
#divContainer,#divExtraContainer,#divHeader,#divMenu,#divContent,#divExtra,#divFooter {
	float: none;
    margin: 0px;
}
body,div,h1,h2,h3,p,ul,li,input, .bild {
	margin: 0px;
}

/* Lager */
#divContainer {	
    width: 92%;
    max-width: 1000px;
    margin: auto;
    background-color: #fff;
}
#divExtraContainer {
    width: 100%;
    padding-top: 2%;
    margin-bottom: 3%;
    background-size: 50%;
    background-image: url(//brfhemsidor.se/hus.jpg);
    background-repeat: no-repeat;
    background-position: right;
}
#divHeader {
    width: 60%;    
}
#divMenu {
    width: 60%;
    padding-top: 10%;
    padding-bottom: 5%;    
}
#divContent {    
    width: 100%;    
}
#divExtra {
    width: 100%;	
}
#divFooter {
    width: 100%;	
}

/* Resten */
body {
    background-color:#dc4e40;
	font-family: 'Gafata', sans-serif;
    /*font-family: Consolas;*/
    color: #222;
}
h1 {    
    padding-left: 5%;
}
h2 {   
    padding-left: 7%;
}
ul {    
    width: 90%;	
	padding-left: 10%; 
}
ul.footer {    
    width: 90%;	
	padding-left: 6%; 
}
li {    
    float: left;
    display: inline;
    padding-top: 1%;    
    padding-right: 2%;	
}
input {
    width: 60%;
	height: 30px;      
    font-family: 'Gafata', sans-serif; 
    color: #222;
    margin-left: 7%;
    border: 1px solid black; 
    background-color: #F3F6A9;
    padding-left: 1%;	
}
input[type="submit"] {
    width: 10%;
	height: 30px;
    margin-left: 0px;	
    border: 1px solid black; 
    background-color: #fff;
}
table {  
	width: 92%; 
    margin: auto;
    border-collapse: collapse; 
}
tr:nth-of-type(even) { 
    background: #F3F6A9; 
}
th {    
    font-weight: normal; 
	text-align: left;
    padding: 1%;    
	padding-left: 2%;
}
td {
    border: 1px solid #400000;
    padding: 1%;
	padding-left: 2%;
}

a:link {color:#dc4e40; text-decoration:none;}
a:visited {color:#dc4e40; text-decoration:none;}
a:hover {color:#dc4e40; text-decoration:underline;} 

a.header:link {color:#dc4e40; text-decoration:none;}
a.header:visited {color:#dc4e40; text-decoration:none;}
a.header:hover {color:#dc4e40; text-decoration:none;}

a.menu:link {color:#dc4e40; text-decoration:none; display:block; height:30px;} 
a.menu:visited {color:#dc4e40; text-decoration:none; display:block; height:30px;} 
a.menu:hover {color:#dc4e40; text-decoration:underline; display:block; height:30px;}

a.footer:link {color:white; text-decoration:none; display:block; height:50px;}
a.footer:visited {color:white; text-decoration:none; display:block; height:50px;}
a.footer:hover {color:#222; text-decoration:underline; display:block; height:50px;} 

a.tabell:link {color:#222; text-decoration:none; display:block;}
a.tabell:visited {color:#222; text-decoration:none; display:block;}
a.tabell:hover {color:#dc4e40; text-decoration:none; display:block;}

a.diskret:link {color:#222; text-decoration:none;}
a.diskret:visited {color:#222; text-decoration:none;}
a.diskret:hover {color:#222; text-decoration:none;}

a.grey:link {color:#eee; text-decoration:none;}
a.grey:visited {color:#eee; text-decoration:none;}
a.grey:hover {color:#eee; text-decoration:none;}

.cursor {
	cursor: text;
}


/* Desktop */
/* 1vw = 10,2px */
h1 {
	font-size: 160px;
	line-height: 150px; 
}
h2 {
	font-size: 60px;
	line-height: 50px;
}
li, input, input[type="submit"], th, td {
	font-size: 26px;		
}

/* iPad liggande */
/* 1vw = 10,2px */
@media only screen and (max-width: 1024px) {	
	h1 {
		font-size: 150px;
		font-size: 15vw;
		line-height: 140px;  
		line-height: 14vw;
	}
	h2 {
		font-size: 70px;
		font-size: 7vw;
		line-height: 60px;
		line-height: 6vw;		  
	}
	li, input, input[type="submit"], th, td {
		font-size: 26px;
		font-size: 2.5vw;		
	}
}

/* iPad stående */
/* 1vw = 7,7px */
@media only screen and (max-width: 768px) {	
    li, input, input[type="submit"], th, td {
		font-size: 19px;
		font-size: 2.5vw;        		
    }	    
}

/* iPhone stående */
/* 1vw = 5,7px */
@media only screen and (max-width: 568px) {	
	/* Ett lager i taget */
	#divContainer,#divExtraContainer,#divHeader,#divMenu,#divContent,#divExtra,#divFooter {
        float: none;
        margin: auto;        
    }
    #divExtraContainer {
        width: 100%;        
        background-image: none;
    }
    #divHeader {        
        width: 100%;        
        background-size: 50%;
        background-image: url(//brfhemsidor.se/hus.jpg);
        background-repeat: no-repeat;
        background-position: right;
    }
    #divMenu {
        width: 100%;
		padding-bottom: 15%;    
    }
	/* En tabellkolumn */
	table, tbody, th, tr, td { 
		display: block;
        border: none;
    }
	table {
		border: 1px solid black; 		
	}
	
	h1 {
		font-size: 85px;
        font-size: 15vw;
		line-height: 80px;
        line-height: 14vw;
    }
    h2 {
		font-size: 40px;
        font-size: 7vw;
		line-height: 34px;
        line-height: 6vw;
    }
    li, input, input[type="submit"], th, td {
		font-size: 26px;
        font-size: 4.5vw;	
    }
	input[type="submit"] {
		width: 20%;		
	}    
}


/* 1vw = 4,8px */
@media only screen and (max-width: 480px) {	
	h1 {
		font-size: 72px;
        font-size: 15vw;
		line-height: 67px;
        line-height: 14vw;
    }
    h2 {
		font-size: 33px;
        font-size: 7vw;
		line-height: 29px;
        line-height: 6vw;
    }  
	li, input, input[type="submit"], th, td {
		font-size: 22px;
        font-size: 4.5vw;        		
    }
}

/* Gammal iPhone stående */
/* 1vw = 3,2px */
@media only screen and (max-width: 320px) { 	
	h1 {
		font-size: 48px;
        font-size: 15vw;
		line-height: 45px;
        line-height: 14vw;
    }
    h2 {
		font-size: 22px;
        font-size: 7vw;
		line-height: 19px;
        line-height: 6vw;
    }  
	li, input, input[type="submit"], th, td {
		font-size: 14px;
        font-size: 4.5vw;        		
    }
}