/* Set Box sizing for all divs and elements to control widths and padding etc */

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}


/* Font Smoothing */

html,body {
    height:100%;
    /* Font varient */
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    /* Smoothing */
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 400;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #CD1217;
}

.home h1 {
	color: #CD1217;
}

p {
    margin: 0 0 20px;
    line-height: 1.5;
}

/*p:last-child {
    margin: 0;
}*/

@media (min-width: 320px) {

    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    h5 {
        font-size: 18px;
    }
    
    h6 {
        font-size: 16px;
    }
    
    p {
        font-size: 14px;
    }
    
    li {
        font-size: 14px;
    }
    
}

@media (min-width: 480px) {

    h1 {
        font-size: 38px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    h5 {
        font-size: 18px;
    }
    
    h6 {
        font-size: 16px;
    }
    
    p {
        font-size: 14px;
    }
    
    li {
        font-size: 14px;
    }
    
}


@media (min-width: 640px) {

	p {
		font-size: 16px;
	}
	
	li {
		font-size: 16px;
	}

}

@media (min-width: 800px) {

    h1 {
        font-size: 46px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 22px;
    }
    
    h5 {
        font-size: 20px;
    }
    
    h6 {
        font-size: 18px;
    }
    
}

@media (min-width: 1100px) {

    h1 {
        font-size: 50px;
    }
    
 }

