/*-------------------------------------
[Master Stylesheet]

1. Global Styles
    - base
    - typography
2. Page style
    - header
    - content
    - footer
3. Responsive
 */

/* ==============================================
Global Styles 
================================================*/

/* base */

body,
html {
    height: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    background-color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 24px;
    color: #5f5f5f;
}

body.bg-img {
    background-image: url(img/img-innovation.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    
    display: -ms-flexbox;
    -ms-flex-direction: column;
    -ms-flex-pack: justify;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


img {
	border:none 0;
	outline:none;
}

.clear {
	clear:both;
	height:0;
	font-size:0;
}

.fleft {float:left;
}

.fright {float:right;
}

.text-center {
    text-align: center;
}

.none {
	display: none;
}

/* typography */

h1,h2,h3,h4,h5,h6 {
    margin-top: 0px;
    margin-bottom: 24px;
    font-family: 'Roboto', sans-serif;
    line-height: 1;
    font-weight: 300;
    color: #666666;
}

h1 {
    font-size: 48px;
    line-height: 52px;
}

h2 {
    font-size: 40px;
    line-height: 45px;
}

h3 {
    font-size: 30px;
    line-height: 32px;
}

h4 {
    font-size: 22px;
    line-height: 34px;
}

h5 {
    font-size: 18px;
    line-height: 24px;
}

h6 {
    font-size: 14px;
    line-height: 24px;
}

p {
    margin-bottom: 24px;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #0060a0;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
}

a:hover,
a:focus {
    color: #ccc;
    text-decoration: none;
    outline: 0 none;
}

.color-white,
.color-white * {
    color: white;
}

/* ==============================================
 Page style
================================================*/

.box_container {
    max-width: 1170px;
    margin: 0 auto;
}

/* HEADER */

.tpl_header {
    padding: 24px;
    background-color: #343e4c;
}

.site-logo {
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.site-logo:hover {
    opacity: 0.7;
}

/* CONTENT */

.tpl_content {
    padding: 60px 24px;
}

/* FOOTER */

.tpl_footer {
    padding: 28px 24px;
    background-color: #179262;
    font-size: 14px;
    color: #fff;
}

.tpl_footer a {
    color: #fff;
    text-decoration: none;
}

.tpl_footer a:hover {
    text-decoration: underline;
}

/* button */

.btn {
    box-sizing: border-box;
    outline-offset: 1px;
    cursor: pointer;
    text-align: center;
    position: relative;
    display: inline-block;
    vertical-align: top;
    border: none;
    font-weight: 500 !important;
    outline: none !important;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    background-color: #179262;
    color: #ffffff;
    min-height: 33px;
    padding: 5px 12px;
    margin: 6px;
    border-radius: 80px;
    text-decoration: none;
    transition: all ease 0.2s;
}

.btn:hover {
    background-color: #1fc685;
    color: #ffffff;
}

.btn.button-white {
    background-color: #ffffff;
    color: #179262;
}

.btn.button-white:hover {
    background-color: #e9fbf4;
    color: #179262;
}

.btn.button--xlarge {
    font-size: 27px;
    min-height: 48px;
    padding: 12px 32px;
}

/* ==============================================
 Responsive
================================================*/

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
        line-height: 40px;
    }

    h2 {
        font-size: 32px;
        line-height: 36px;
    }

    h3 {
        font-size: 28px;
        line-height: 32px;
    }

    h4 {
        font-size: 24px;
        line-height: 28px;
    }

    h5 {
        font-size: 22px;
        line-height: 24px;
    }
}