/* ___________________________

	GLOBAL
______________________________ */


/* ----------
	Resets
------------- */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}


/* ----------
	Reusable
------------- */

/*-- Colours --*/
.primary{
    color: #00a994;
}


/*-- Colours --*/
	::selection {
		background:#00a994;
		color:#fff;
	}

	::-moz-selection {
		background:#00a994;
		color:#fff;
	}

	::-webkit-selection {
		background:#00a994;
		color:#fff;
	}

/* ----------
	Body
------------- */
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;

    font-family: "Open Sans", helvetica, sans-serif;
    font-size: 14px;
	color: #959695;
	line-height: 24px;
    text-align: center;
    text-transform: uppercase;  
    background: #ccc;
	
}

/* ----------
	a
------------- */
a{ color: #00a994}
a:hover{ 
    color: #00a994;
    text-decoration: none;
}

/* ----------
	p
------------- */
p{ 
	line-height: 24px;
    padding: 0;
    margin: 0 0 15px 0;
    text-transform: none;
}

/* ----------
	Headings
------------- */

h1, h2, h3{
    padding: 0;
    margin: 0 0 10px 0;
}

/* ----------
	h1
------------- */
h1{
    font-size: 30px;
    font-weight: 700;
    width: 100%;
    padding: 0 0 20px 0;
}

/* ----------
    Form
------------- */

/* General*/

form{
    padding: 30px;
    text-align: left;
}

.logo-header {
    padding-top:25px;
    background:url('/img/bg.jpg');
}

/* Errors */
.errorInput {
    border: 1px solid #CC0000;
}

.errorText {
    color : #FF9D9D;
}

/* Capcha */
.imageVerification * {
    vertical-align  : middle;
    margin          : 0 5px 0 0;
    text-decoration : none !important;
}

.imageVerification input {
    width : 25%;
}

.imageVerification i {
    color: #fff;
}

/* Hint */
input.hintText, .form_note {
    color : #999999;
}

.success{
    padding: 30px 0;
    background: #8bebc6;
    margin: 30px 30px 0 30px;
    color: #6cb89b;
    border: 1px solid #6cb89b;
}


/* Submit */
input[type="submit"] {
    background: #94a6d2;
    border: none !important;
    width: 100%;
    padding: 10px;
    color: #fff;
    font-weight: bold;
}

input[type="submit"]:hover{
    background: #2194a3;
}

/* Feilds*/

input[type="text"], input[type="email"], input[type="number"], input[type="url"], input[type="password"], textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #dedede;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="url"]:focus, input[type="password"]:focus, textarea:focus {
    outline: none;
    border: 1px solid #94a6d2;
}

.form_field{
    margin-bottom: 15px;
}

.other1, .other2{
    display: none;
}


/* ___________________________

	HEADER
______________________________ */
#logo{
    max-width: 100%;
    margin: 0;
    padding: 0 20px 30px;
}

/* ___________________________

	CONTENT
______________________________ */

.mainbg{
    background: #fff;
    -webkit-box-shadow: 0 0 25px 0 rgba(0,0,0,0.5);
    box-shadow: 0 0 25px 0 rgba(0,0,0,0.5);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 50%;
    margin: 0 auto;
}

.text{
    background: #fafcfa;
    padding: 50px 30px;
    -webkit-box-shadow: inset 1px 4px 9px -6px;
    box-shadow: inset 1px 4px 9px -6px;
    border-top: 1px solid #c7c9c7;
    
}

.backstretch img{
    opacity: 0.5;
}

/* ___________________________

	FOOTER
______________________________ */
footer img{
    margin: 20px 5px 5px;
}

footer a:hover img{
    opacity: 0.5;
}


/* ___________________________

	Transistions
______________________________ */

a, button, img, input{
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

/* ___________________________

	RESPONSIVE
______________________________ */

@media (min-width: 768px) {
    
    .mainbg{
        background: #fff;
        -webkit-box-shadow: 0 0 25px 0 rgba(0,0,0,0.5);
        box-shadow: 0 0 25px 0 rgba(0,0,0,0.5);
        -webkit-border-radius: 3px;
        border-radius: 3px;
        width: 600px;
        margin: 50px auto;
    }
    
}

@media (max-width: 767px) {
    
    .mainbg{ 
        width: 80%;
        position: inherit;
        top: 0;
        left: 0;
        margin: 20px auto;
        transform: translate(0, 0)
    }
    
    #logo{
        width: 190px;
        padding: 0 20px 20px;
    }
    
}

@media (max-width: 480px) {
    
    .mainbg{ 
        width: 95%;
        margin: 20px auto;
    }

    .text h1{
        font-size: 18px;
    }

    .text{
        padding-bottom: 10px;
    }
    
           
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
    .mainbg{ 
        width: 50%;
        position: inherit;
        top: 0;
        left: 0;
        margin: 20px auto;
        transform: translate(0, 0)
    }
}