@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,800');
body, html {
	font-family: 'Open Sans', sans-serif;
	overflow-x: hidden;
}

/* NAV MUOKKAUS JOS TAUSTALLA TUMMAPOHJAINEN KUVA */
/*
@media only screen and (min-width : 990px){
	.navbar-default{
		margin-top: -20px;
		padding-top: 70px;
		background-color: rgba(255, 255, 255, 1)
	}
	#brand-anf{ margin-top: -20px!important; padding-bottom: 0px!important; }
}
*/
/* ******************************************************************* */
/* ******************************************************************* */
/* Join */
/* ******************************************************************* */
/* ******************************************************************* */

.join p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4!important;
}
.join h2 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.inputGroup {
    background: #FFF;
    display: block;
    margin: 10px 0;
    position: relative;
    border-radius: 5px;
}

.inputGroup label {
    padding: 12px 30px 12px 20px;
    width: 100%;
    display: block;
    text-align: left;
    color: #666;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 200ms ease-in;
    overflow: hidden;
    border-radius: 5px;
}
.inputGroup img {
    width: 7%;
    margin-right: 10px;
}
.inputGroup label:before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    content: '';
    position: absolute;
    left: 51%;
    top: 50%;
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: -1;
  }
.premium { margin-top: 40px;  }
.premium label:before { background-color: #666; }
.promoter label:before { background-color: #999; }
.ed label:before { background-color: #759bd0; }

.inputGroup label:after {
    width: 32px;
    height: 32px;
    content: '';
    border: 2px solid #d1d7dc;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: 2px 3px;
    border-radius: 50%;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 200ms ease-in;
}
.inputGroup input:checked ~ label {
    color: #fff;
}

.inputGroup input:checked ~ label:before {
    transform: translate(-50%, -50%) scale3d(56, 56, 1);
    opacity: 1;
}
.ed input:checked ~ label:after {
    background-color: #005baa;
    border-color: #005baa;
}
.promoter input:checked ~ label:after {
    background-color: #999;
    border-color: #999;
}
.premium input:checked ~ label:after {
    background-color:#666;
    border-color: #666;
}
.inputGroup input {
    width: 32px;
    height: 32px;
    order: 1;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    visibility: hidden;
}
.form {
    padding: 150px 16px 40px 16px;
    max-width: 550px;
    margin: 0px auto;
    font-size: 18px!important;
    font-weight: 300;
    line-height: 36px;
}
.form-group {
    width: 100%;
}
.input-group {
    margin-bottom: 10px;
}
.form-group .btn {
    width: 95%;
    margin: 10px auto;
    background: #333;
    color: #FFF;
}
.form-group .btn:hover {
    background: #666;
}
.ordering {
    width: 90%;
    margin: 0 auto;
    color: #666;
}
/*
####################################################
M E D I A  Q U E R I E S
####################################################
*/
 

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {  
    
}
/* Large devices (desktops, smaller than 992px) */



@media (max-width: 992px) { 
    .ordering {
        width: 96%;
        margin: 0 auto;
    }
    .ordering .col-md-3 {
        margin-top: 20px;
        width: 48%;
    }
    .ordering .fa { margin-bottom: 10px; }
    .ordering p { font-size: 14px; }
}

/* Medium devices (tablets, smaller than 768px) */
@media (max-width: 768px) {  

}

/* Small devices (landscape phones, smaller than 576px) */
@media (max-width: 576px) {  
    .join p { 
        font-size: 14px; 
        padding-left: 20px;
        padding-right: 20px;
    }
    .ordering .col-md-3 {
        margin-top: 20px;
        width: 96%;
    }
    .form {
        font-size: 14px!important;
    }
    .inputGroup img {
        padding-top: 5px;
        width: 10%;
    }
    .inputGroup label:after {
        right: 10px;
    }
}