/*

		Template Author : Richard Counts
		Student Number  : s1089886
		Date Modified   : 25-01-2019


		*****************************************


		- Fonts
		- General CSS
		- Wrappers
		- Header
		- Breadcrums
		- Footer

		- Index.html
		- Abonnement.html
			- Subscriptions
			- Phones
		- Gegevens.html
		- Overzicht.html
		- Einde.html

		- Responsive CSS

*/

/*  FONTS  */
@font-face {
		font-family: 'lato-bold';
		src: url('../fonts/lato-bold.eot');
		src: url('../fonts/lato-bold.eot?#iefix') format('embedded-opentype'),
				 url('../fonts/lato-bold.woff') format('woff'),
				 url('../fonts/lato-bold.ttf') format('truetype'),
				 url('../fonts/lato-bold.svg#LatoBold') format('svg');
		font-weight: normal;
		font-style: normal;
}

@font-face {
		font-family: 'lato-regular';
		src: url('../fonts/lato-regular.eot');
		src: url('../fonts/lato-regular.eot?#iefix') format('embedded-opentype'),
				 url('../fonts/lato-regular.woff') format('woff'),
				 url('../fonts/lato-regular.ttf') format('truetype'),
				 url('../fonts/lato-regular.svg#LatRegular') format('svg');
		font-weight: normal;
		font-style: normal;
}

@font-face {
		font-family: 'p22_corinthia';
		src: url('../fonts/p22_corinthia.eot');
		src: url('../fonts/p22_corinthia.eot?#iefix') format('embedded-opentype'),
				 url('../fonts/p22_corinthia.woff') format('woff'),
				 url('../fonts/p22_corinthia.ttf') format('truetype'),
				 url('../fonts/p22_corinthia.svg#P22Corinthia') format('svg');
		font-weight: normal;
		font-style: normal;
}

/*  GENERAL CSS  */
body{
		background: #DEF2F1 url("../img/gradient1.jpg") no-repeat fixed center;
}

h1, h2, h3, h4, h5, p, button{
		color: #17252A;
		font-family: "lato-regular", Helvetica, Arial, sans-serif;
		letter-spacing: 1px;
}

h1              { font-size: 2em; margin: .67em 0 }
h2              { font-size: 1.5em; margin: .75em 0 }
h3							{ font-size: 1.17em; margin: .83em 0 }
h4							{ font-size: 1.17em; margin: .83em 0; color: #3AAFA9 }
h5, p               { font-size: 0.8em; margin: .91em 0; color: #2B7A78 }
h1, h2, h5, p, button      	{ font-weight: bolder }

.clearfix:before,
.clearfix:after {
		content: " ";
		display: table;
}
.clearfix:after {
		clear: both;
}

.clearfix {
		*zoom: 1;
}

.right{
	float:right;
}
.left{
	float:left;
}

/*  WRAPPERS */
.wrapper{
		max-width: 80%;
		margin: 0 auto;
		position: relative;
}

.form_wrapper{
		max-width: 50%;
		margin: 0 30% 0 10%;
		position: relative;
}

/*  HEADER  */

header {
	width: 100%;
	height: 100px;
	background: #3AAFA9;
}

header .logo {
	width: auto;
	height: 90px;
	margin-top: 5px;
	float: left;
}

.topnav {
	padding-top: 27px;
  overflow: hidden;
	font-family: "lato-regular", Helvetica, Arial, sans-serif;
	font-weight: bold;
}

.topnav a {
  float: right;
  display: block;
  color: #FEFFFF;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #2B7A78;
  color: #FFFFFF;
}

.active {
  background-color: #17252A;
  color: #FFFFFF;
}

.topnav .icon {
  display: none;
}

/*  BREADCRUMBS */
.breadcrumbs a{
	color:#2B7A78;
}

/*  FOOTER */
footer {
	background: #2B7A78;
	margin-top: 80px;
}

footer .copyrights {
	display: block;
	text-align: center;
	padding: 40px 0;
	/* margin-top: 60px; */
	color: #fff;
	font-family: "lato-regular", Helvetica, Arial, sans-serif;
	font-size: 14px;
	letter-spacing: .5px;
}

/*  INDEX.HTML  */
.landing{
	background-image: url("../img/landing.jpg");
	background-size:cover;
	height: 650px;
	width:auto;
}

.transbox{
	margin: 30px;
	padding: 10px 20px;
	background-color: #FFFFFF;
	opacity: 0.8;
	filter: alpha(opacity=80); /* For IE8 and earlier */
	width: fit-content;
	border-radius: 5px;
	text-align: center;
	border: 2px solid #2B7A78;
}
.landing h1{
	margin-top: 20px;
}
.landing_footer{
	margin:0;
}

.landingbtn {
	width: 40%;
	height: 50px;
	margin: 0 auto;
	background-color: #2B7A78;
	color:#FFF;
	font-size: 2em;
}
.landingbtn:hover{
	background-color: #3AAFA9;
	border: 2px solid #17252A;
}


/*  ABONNEMENT.HTML */
input[type="radio"] {display: none;}
label {cursor: pointer;}

.nextbtn {
	width: 20%;
	height: 50px;
	margin: 0 20% 0 0;
	background-color: #2B7A78;
	float:right;
	color:#FFF;
}
.nextbtn:hover{
	background-color: #3AAFA9;
	border: 2px solid #17252A;
}

.backbtn{
	width: 20%;
	height: 50px;
	margin: 0 0 0 20%;
	background-color: #17252A;
	float:left;
	color:#FFF;
}
.backbtn:hover{
	background-color: #3AAFA9;
	border: 2px solid #17252A;
}
/*  SUBSCRIPTIONS */
.subscriptions {
	padding: 20px 0;
}

.subscription_list {
	list-style: none;
	overflow: hidden;
}

.subscription_item {
	display: block;
	width: 30%;
	height: auto;
	position: relative;
	float: left;
	margin: 0 3.636363636363636% 3.636363636363636% 0;
	border: 1px solid #3AAFA9;
}

.subscription_item:hover {
	border: 1px solid #2B7A78;
}

.subscription_item img.subscription_img {
	width: 100%;
	height: auto!important;
	vertical-align: top;
}

.subscription_item .price {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 15px 20px;
	background: #ffffff;
	color: #514d4d;
	font-family: "lato-bold", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1px;
}

.subscription_item:nth-child(3n+0) {
	margin-right: 0;
	margin-bottom: 0;
}
.spacer{
	height:80px;
	background-color: #3AAFA9;
	-webkit-transition: background-color 1s; /* For Safari 3.1 to 6.0 */
	transition: background-color 1s;
}
.spacer:hover{
		background-color: #2B7A78;
}

.subscription_item .subscription_details {
	width: inherit;
	padding: 10px 20px 10px 20px;
	display: block;
	background-color: #3AAFA9;
}

span .subscription_h1 {
	color: #17252A;
	font-family: "lato-bold", Helvetica, Arial, sans-serif;
	font-size: 16px!important;
	font-weight: bold;
	margin-bottom: 5px;
	line-height: 28px;
	display: block;
}

span .coins {
	color: #17252A;
	font-family: "lato-regular", Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 26px;
	float: right;
}

span .subscription_h2 {
	color: #FEFFFF;
	font-family: "lato-regular", Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 26px;
	display: block;
}

span .data_size {
	color: #FEFFFF;
	float: right;
	font-weight: bold;
}

#subscription_basic:checked ~ #basic{
	background-color:  #2B7A78;
}
#subscription_pro:checked ~ #pro{
	background-color:  #2B7A78;
}
#subscription_ultra:checked ~ #ultra{
	background-color:  #2B7A78;
}

/*  PHONES */
.phone_list {
	list-style: none;
	overflow: hidden;
}

.phone_item {
	display: block;
	width: 30%;
	height: auto;
	position: relative;
	float: left;
	margin: 0 3.636363636363636% 3.636363636363636% 0;
	border: 1px solid #3AAFA9;
	background-color: #3AAFA9;
	-webkit-transition: background-color 1s; /* For Safari 3.1 to 6.0 */
	transition: background-color 1s;
}

.phone_item:hover {
	background-color: #2B7A78;
	border: 1px solid #2B7A78;
}

.phone_list label{
	width:100px;
	height: 100px;
	background-color: #fff;
}

.phone_item img.phone_img {
	width: auto!important;
	height: 257px;
	display: block;
	vertical-align: top;
	margin-left: auto;
	margin-right: auto;
	padding: 2.941176470588235% 0;
}

.phone_item:nth-child(3n+0) {
	margin-right: 0;
}

.phone_details {
	padding: 2.941176470588235% 5.882352941176471% 4.117647058823529% 5.882352941176471%;
	display: block;
	background-color: #3AAFA9;
}

span.phone_h1 {
	color: #17252A;
	font-family: "lato-bold", Helvetica, Arial, sans-serif;
	font-size: 16px!important;
	font-weight: bold;
	margin-bottom: 5px;
	line-height: 28px;
	display: block;
}

span.phone_h2 {
	color: #FEFFFF;
	font-family: "lato-regular", Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 26px;
	font-weight: normal;
	display: block;
}
.img_span{
	display: block;
}
#phone_1:checked ~ #iphone{
	background-color:  #2B7A78;
}
#phone_2:checked ~ #samsung{
	background-color:  #2B7A78;
}
#phone_3:checked ~ #moto{
	background-color:  #2B7A78;
}
#phone_4:checked ~ #nokia{
	background-color:  #2B7A78;
}
#phone_5:checked ~ #asus{
	background-color:  #2B7A78;
}
#phone_6:checked ~ #none{
	background-color:  #2B7A78;
}




/*  GEGEVENS.HTML */
.required {
	color: red;
}

.persona input[type="text"],
.persona input[type="email"],
.persona input[type="date"],
.persona select {
	width: 50%;
	height: 2em;
	padding-left: 5px;
	float: right;
	display: inline-block;
	border: 1px solid #888;
	border-radius: 4px;
	box-sizing: border-box;
}

.persona input[type="radio"] {
	width: 5%;
	display: inline;
	float: right;
}

.persona h3 {
	vertical-align: middle;
}

.persona button {
	float: right;
}

aside {
	float: right;
	width: 30%;
}

.aside_value{
	color: #17252A;
}

hr{
	border:1px solid #17252A;
	background-color: #17252A;
}

input:required:invalid, input:focus:invalid {
  border: 1px solid #CC0000;
  -moz-box-shadow: none;
}

input:required:valid {
  /* insert your own styles for valid form input */
	border: 1px solid #00A326;
}


/*  OVERZICHT.HTML */
.summary p {
	width: 50%;
	margin: 0;
	float: right;
	display: inline-block;
	font-size: 1.17em;
	color: #FFF;
}

.summary_item {
	margin: 10px 0 10px 0;
}

.summary_item h3,
h4 {
	display: inline;
}

/*  EINDE.HTML */

/*  RESPONSIVE CSS */
/*  WIDTH 800 - 1150 */
@media (max-width: 1150px) {
	.wrapper {
		padding: 0 40px;
		max-width: 1020px;
	}
}
/*  WIDTH 500 - 800 */


@media (max-width:800px) {
	.gegevens_wrapper {
		max-width: 80%;
		margin: 0 auto;
		position: relative;
	}
	aside {
		display: none;
	}
	.subscription_item{
		width: 99%;
		margin: 0 7.272727272727273% 7.272727272727273% 0;
	}
	.subscription_item:nth-child(3n+0) {
		margin: 0 7.272727272727273% 7.272727272727273% 0;
	}
	.subscription_item:nth-child(2n+0) {
		margin-right: 0;
	}
	.phone_item{
		width: 99%;
		margin: 0 7.272727272727273% 7.272727272727273% 0;
	}
	.phone_item:nth-child(3n+0) {
		margin: 0 7.272727272727273% 7.272727272727273% 0;
	}
	.phone_item:nth-child(2n+0) {
		margin-right: 0;
	}
}

/*  WIDTH - 500 */
@media (max-width:500px) {
	.topnav a {display: none;}
	.topnav a.icon {
		float: right;
		display: block;
	}
	.topnav.responsive {
		position: relative;
		background-color:#2B7A78;
	}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 27px;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
		font-size: 0.6em;
  }

	h1 {
		font-size: 1.2em;
		margin: .67em 0
	}
	h2 {
		font-size: 1em;
		margin: .75em 0
	}
	h3 {
		font-size: 0.8em;
		margin: .83em 0
	}
	p {
		font-size: 0.6em;
		margin: .91em 0
	}

	.landingbtn, .nextbtn, .backbtn {
		width: 100px;
	}

	.persona input,
	.persona select {
		width: 100%;
		border: 1px solid #ccc;
		margin-bottom: 15px;
	}
	.persona input[type=radio] {
		float: right;
		margin: 0;
	}
	.subscriptions ul li .subscription_details {
		width: auto;
	}
	#naar_gegevens_btn {
		width: 80%;
		height: 50px;
		margin: 0 10%;
		background-color: #FF0000;
	}
	/* Overzicht pagina */
	.summary p {
		width: 100%;
		margin: 5px 0 15px 0;
		font-size: 1em;
	}
	.summary h3 {
		margin: 10px 0px;
	}
}
