/* 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;
	font-weight: 400;
}

.fl-page-content {
    background-color: #f5f5f5;
}

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

h1, h2 {
	font-weight: 400;
	text-transform: capitalize;
}

h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #00A1ED;
    margin: 15px 0 0;
}

.rw-center-underline {
	text-align: center;
}

.rw-center-underline:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #00A1ED;
    margin: 15px auto 0;
}

.home h1 {
	margin-bottom: 20px;
}

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

.fl-rich-text ul,
.fl-rich-text ol {
	padding-left: 30px;
}

.fl-rich-text ul ul,
.fl-rich-text ol ol {
	margin-top: 10px;
	padding-left: 8px;
}


.fl-rich-text li {
    margin: 0 0 10px;
    padding-left: 15px;
}

.fl-rich-text li::marker {
  color: #29813A;
  content: "■";
}

/*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: 42px;
    }
    
 }

