﻿/* RESET */
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
    -webkit-overflow-scrolling: touch;
}

img {
    max-width: 100%;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
}

a, a:hover, a:visited {
    color: #EB5654;
}



body {
    background-color: #E6E6E6;
    font-family: 'Montserrat', sans-serif, Arial;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
}

h1 {
    font-family: 'Montserrat', sans-serif, Arial;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    margin-top: -5px;
    text-transform: uppercase;
}


h2 {
    padding-top: 12px;
    font-weight: 700;
}

#wrapper {
    width: 100%;
    max-width: 979px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    overflow: hidden;
}

#head {
    width: 100%;
    height: 220px;
    position: relative; /*margin: 7px 7px 0 7px;*/
  /*   background-image: url('/images/head_grey.jpg');*/
    background-repeat: no-repeat;
    overflow: hidden;
    border-top: 7px #E6E6E6 solid;
    border-left: 7px #E6E6E6 solid;
    border-right: 7px #E6E6E6 solid;
    border-bottom: 0px;
}

#main {
}

.doublebox {
    width: 66.6666%;
    min-height: 1018px;
    border: 7px #E6E6E6 solid;
    float: left;
    background-color: #ffffff;
    position: relative;
    padding: 25px;
}

    .doublebox h1 {
        padding-top: 10px;
    }

.box {
    width: 33.3333%;
    padding-bottom: 42%;
    border: 7px #E6E6E6 solid;
    float: left;
    background-color: #000000;
    position: relative;
    background-size: 100%;
    overflow: hidden;
    background-repeat: no-repeat;
}

.boxhead {
    width: 100%;
    height: 100%;
    position: absolute;
}

.boxfoot h1 {
    margin-bottom: 0;
}

.boxfoot p {
    margin-top: 5px;
}

.boxfoot {
    width: 100%;
    height: 40%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 7%;
    overflow: hidden;
    -webkit-transition: all 3s ease;
    -moz-transition: all 3s ease;
    -ms-transition: all 3s ease;
    -o-transition: all 3s ease;
    transition: all 3s ease;
    -webkit-transition-duration: 3s;
    -webkit-transition-timing-function: ease-in-out;
    -webkit-transition-property: height;
}


    .boxfoot:hover {
        /*height: 100%;
    max-height: 100%;
        */
    }

.dark, .dark a, .dark a:hover, .dark a:visited {
    color: white;
    text-decoration: none;
}

    .dark h1 {
        color: white;
    }

.light, .light a, .light a:hover, .light a:visited {
    color: black;
    text-decoration: none;
}

    .light h1 {
        color: black;
    }

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#foot {
    position: relative;
    border: 7px #E6E6E6 solid;
    color: #FBF4AF;
    background-color: #494441;
    padding: 30px;
    overflow: hidden;
}

    #foot a, #foot h1, #foot a:visited, #foot a:hover {
        color: #FBF4AF;
    }

.column1 {
    width: 20%;
    float: left;
    position: relative;
    padding-right: 20px;
}

.column2 {
    width: 40%;
    float: left;
    position: relative;
    padding-right: 20px;
}

.half {
    width: 50%;
    float: left;
    position: relative;
    padding-right: 20px;
}

.logo {
    vertical-align: middle;
    margin-left: 80px;
}

.articleimage {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
}


input[type="text"], [type="file"], input[type="password"], textarea {
    font-family: 'Montserrat', sans-serif, Arial;
    padding-left: 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 1px rgba(0,0,0,.1), inset 0 2px 3px rgba(104,122,144,.25);
    -moz-box-shadow: 0 2px 1px rgba(0,0,0,.1), inset 0 2px 3px rgba(104,122,144,.25);
    box-shadow: 0 2px 1px rgba(0,0,0,.1), inset 0 2px 3px rgba(104,122,144,.25);
    border: solid 1px #b9c4cf;
    height: 30px;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
    -webkit-text-size-adjust: 100%
}

textarea {
    height: 200px;
    font-family: 'Montserrat', sans-serif, Arial;
    font-size: 14px;
    -webkit-text-size-adjust: 100%
}

select {
    padding-left: 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 1px rgba(0,0,0,.1), inset 0 2px 3px rgba(104,122,144,.25);
    -moz-box-shadow: 0 2px 1px rgba(0,0,0,.1), inset 0 2px 3px rgba(104,122,144,.25);
    box-shadow: 0 2px 1px rgba(0,0,0,.1), inset 0 2px 3px rgba(104,122,144,.25);
    border: solid 1px #b9c4cf;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    height: 34px;
    width: 100%;
    margin-bottom: 10px;
}

.button, .button-green:hover {
    opacity: 0.85;
    background-image: -webkit-linear-gradient(bottom, #2aaa45, #77db8c);
    background-image: -moz-linear-gradient(bottom, #2aaa45, #77db8c);
    background-image: -o-linear-gradient(bottom, #2aaa45, #77db8c);
    background-image: -ms-linear-gradient(bottom, #2aaa45, #77db8c);
    background-image: linear-gradient(to top, #2aaa45, #77db8c);
    margin-bottom: 10px;
}

.button-orange:hover {
    opacity: 0.85;
    background-color: #000;
    background-image: -webkit-linear-gradient(bottom, #d74103, #fa9906);
    background-image: -moz-linear-gradient(bottom, #d74103, #fa9906);
    background-image: -o-linear-gradient(bottom, #d74103, #fa9906);
    background-image: -ms-linear-gradient(bottom, #d74103, #fa9906);
    background-image: linear-gradient(to top, #d74103, #fa9906);
    margin-bottom: 10px;
}

.button, .button-green {
    font-family: 'Montserrat', sans-serif, Arial;
    -moz-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    opacity: 1;
    margin-right: 5px;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.4);
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.4);
    box-shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.4);
    border: solid 1px #1ea13a;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 6px;
    font-family: arial;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 1px #349248;
    background-image: linear-gradient(to bottom, #7ee594, #2db54a);
}

.button-orange {
    font-family: 'PT Sans', sans-serif, Arial;
    -moz-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    opacity: 1;
    margin-right: 5px;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.4);
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.4);
    box-shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.4);
    border: solid 1px #e44100;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 6px;
    font-family: arial;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 1px #af3d00;
    overflow: hidden;
    background-image: linear-gradient(to top, #e44000, #ff9c00);
}

.five {
    width: 50%;
    float: left;
}


.boxsmall {
    width: 50%;
    padding-bottom: 50%;
    border: 10px #ffffff solid;
    float: left;
    background-color: #ffffff;
    position: relative;
    background-size: 100%;
    overflow: hidden;
    background-repeat: no-repeat;
}

.boxheadsmall {
    width: 100%;
    height: 100%;
    position: absolute;
}

.boxfootsmall h1, .boxfootsmall h2, .boxfootsmall h3 {
    margin-bottom: 0;
    margin-top: 0;
}

.boxfootsmall p {
    margin-top: 4px;
    font-size: 13px;
}

.boxfootsmall {
    width: 100%;
    height: 40%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5%;
    overflow: hidden;
    /*-webkit-transition: all 3s ease;
    -moz-transition: all 3s ease;
    -ms-transition: all 3s ease;
    -o-transition: all 3s ease;
    transition: all 3s ease;
    -webkit-transition-duration: 3s;
    -webkit-transition-timing-function: ease-in-out;
    -webkit-transition-property: height;*/
}

@media only screen and ( max-width: 980px ) {
    .column1 {
        width: 100%;
        margin-bottom: 20px;
    }

    .column2 {
        width: 50%;
    }

    .half {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media only screen and ( max-width: 768px) {
    .logo {
        max-width: 50%;
        margin-right: 20px;
        margin-left: 0;
    }

    #head {
        height: 140px;
        text-align: right;
        border-top: 4px #E6E6E6 solid;
        border-left: 4px #E6E6E6 solid;
        border-right: 4px #E6E6E6 solid;
        border-bottom: 0px;
    }

    .doublebox {
        width: 100%;
        border: 4px #E6E6E6 solid;
        min-height: 100px;
    }

    .box {
        width: 50%;
        border: 4px #E6E6E6 solid;
        padding-bottom: 63%;
    }

    .boxfoot {
        padding: 15px;
	height: 38%;
    }

    #foot {
        border: 4px #E6E6E6 solid;
    }

    .column2 {
        width: 100%;
    }
}


@media only screen and ( max-width: 640px) and ( min-width: 401px) {
    .boxfoot h1 {
        font-size: 18px;
        line-height: 22px;
    }

    .boxfoot p {
        font-size: 12px;
    }

    .boxfoot {
        height: 39%;
    }
}

@media only screen and ( max-width: 400px) {
    .five {
        width: 100%;
    }

    .box {
        width: 100%;
        border: 4px #E6E6E6 solid;
        padding-bottom: 130%;
    }

    .boxfoot {
        height: 40%;
    }
}

@media only screen and ( max-width: 500px) {

    .boxsmall {
        width: 100%;
        border: 5px #ffffff solid;
        padding-bottom: 108%;
    }
}


.outer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
}

.startpuff {
    margin-left: auto;
    margin-right: auto;
    width: /*whatever width you want*/;
    text-align: center;
    z-index: 9999;
    font-family: 'Amatic SC';
    font-size: 45px;
    color: black;
    background-color: #ffffff;
    /*background-color: #CF3434;*/
    border: none;
    border-radius: 5px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    padding: 50px;
    opacity: 1;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    margin-top: 200px;
}

.startpuff2 {
    margin-left: auto;
    margin-right: auto;
    width: /*whatever width you want*/;
    z-index: 9999;
    color: black;
    border: 3px solid #CF3434;
    background-color: #FFFFFF;
    border-radius: 5px;
    width: 600px;
    max-width: 90%;
    text-align: left;
    padding: 30px;
    opacity: 1;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}


