@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100vh;
}

body {
  font: 14px/1 'Open Sans', sans-serif;
  color: #555;
  background: #eee;
}

h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
}

p {
  margin: 0 0 20px;
  line-height: 1.5;
}

main {
  min-width: 320px;
  max-width: 800px;
  padding: 50px;
  margin: 0px auto 50px auto;
  background: #fff;
}

section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}

.accordion input {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  color: #bbb;
  border: 1px solid transparent;
}

label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

label[for*='1']:before { content: '\f17d'; }
label[for*='2']:before { content: '\f17d'; }
label[for*='3']:before { content: '\f17d'; }
label[for*='4']:before { content: '\f17d'; }

menulabel:hover {
  color: #888;
  cursor: pointer;
}

input:checked + label {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid #ff8080;
  border-bottom: 1px solid #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}

/** Accordion Start **/


.accordion {
  position: relative;
  margin-bottom: 1px;
  width: 100%;
  color: #222;
  overflow: hidden;
}
input {
  position: absolute;
  opacity: 0;

}
.accordionlabel {
  position: relative;
  display: block;
  padding: 0 0 0 1em;
  background: #ebebeb;
  font-weight: bold;
  line-height: 3;
  cursor: pointer;
}
.blue accordionlabel {
  background: #2980b9;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #f4f4f4;
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
}
.blue .accordion-content {
  background: #3498db;
}
.accordion-content p {
  margin: 1em;
}
/* :checked */
input:checked ~ .accordion-content {
  max-height: 100%;
}


.accordion-content2 {
  max-height: 0;
  overflow: hidden;
  background: #f4f4f4;
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
}
.blue .accordion-content2 {
  background: #3498db;
}
.accordion-content2 p {
  margin: 1em;
}
/* :checked */
input:checked ~ .accordion-content2 {
  max-height: 100%;
}

/* Icon */
.accordionlabel::after {
  position: absolute;
  right: 20px;
  top: 0;
  display: block;
  line-height: 3;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}
input[type=checkbox] + label::after {
  content: "+";
}
input[type=radio] + label::after {
  content: "\25BC";
}
input[type=checkbox]:checked + label::after {
  transform: rotate(315deg);
}
input[type=radio]:checked + label::after {
  transform: rotateX(180deg);
}



/** Accordion End **/


/** Form Start **/


/* Style inputs with type="text", select elements and textareas */

.form {
  display: block;
  padding: 20px 0 0 0;
}

.forminside label {
    width: 30%;
    text-align:right;
    }
    
.form input {

}

.forminside {
    padding: 20px 0 0 0;
    }
    
.form input[type=text], select, textarea {
    width: 60%; /* Full width */
    padding: 12px; /* Some padding */  
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin: 0px 0px 24px 0px; /* Add a top margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
    display: inline-block;
    opacity: 100;
}

/* Style the submit button with a specific background color etc */
.form input[type=submit] {
    background-color: #ff8080;
    color: white;
    padding: 12px 20px;
    margin: 20px 0 20px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    float: right;
    right: 0px;
    opacity: 100;
}

/* When moving the mouse over the submit button, add a darker green color */
.form input[type=submit]:hover {
    background-color: #ff0000;
}


/** Video Wrapper **/

.videoWrapper {
	position: relative;
	padding-bottom: 52.7%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.videoWrapper object,
.videoWrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/** Video Wrapper End **/


/** Form End **/


@media screen and (max-width: 650px) {
  label {
    font-size: 0;
  }
  label:before {
    margin: 0;
    font-size: 18px;
  }
}

@media screen and (max-width: 400px) {
  label {
    padding: 15px;
  }
}
