html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-weight: 300;

}

.contact {
  height:100%;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
  background: #cafafe url("../images/contact1.jpg") no-repeat center;
  background-size: cover;
}
.contact ::selection {
  background: #12132f;
}
.contact ::-moz-selection {
  background: #12132f; /* Firefox */
}


.grid-container {
  padding-top: 10vh;
  padding-left: 5vh;
  padding-bottom: 10vh;
  display: grid;
  grid-template-columns: 50% auto auto;
}
.grid-item {
  padding: 20px;
  margin-right: 10%;
  margin-bottom:0;
  font-size: 30px;
  text-align: justify;
}


h4 {
  color: #B1B1B1;
}

.grid_4 {
  color: #B1B1B1;
}



/* ------------------------ Contact details ------------------------------------ */
/* List element */
.foot_block_intouch a, .foot_block_intouch li p {
    font-size: 13px;
    height: 25px;
    padding: 0 10px 10px 40px;
    display: block;
    width: 300px;
    border: none;
    outline: none;
    color: #B1B1B1;
    background: rgba(0,0,0,0);
}
.foot_block_intouch li .no-padding{
  padding: 0 ;
}

.foot_block_intouch li.touch_phone p {
    background:url(../images/contact_icon_white.png) no-repeat 0 0;
}
.foot_block_intouch li.touch_clock p {
    background:url(../images/contact_icon_white.png) no-repeat 0 -78px;
}
.foot_block_intouch li.touch_mail a {
    background:url(../images/contact_icon_white.png) no-repeat 0 -160px;
}
.foot_block_intouch li.touch_site a {
    background:url(../images/contact_icon_white.png) no-repeat 0 -244px;
}
.foot_block_intouch li.touch_adress p {
    background:url(../images/contact_icon_white.png) no-repeat 0 -325px;
}
.foot_block_intouch li.facebook a {
    background:url(../images/contact_icon_white.png) no-repeat 0 -413px;
}
.foot_block_intouch li.twitter a {
    background:url(../images/contact_icon_white.png) no-repeat 0 -496px;
}
.foot_block_intouch li.fax p {
    background:url(../images/contact_icon_white.png) no-repeat 0 -567px;
}

.foot_block_intouch li.touch_mail a:hover, .foot_block_intouch li.facebook a:hover {
  color: #3b6d8f;
  cursor: pointer;
}



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


.container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

body.menu-active .container {
  transform: scale(0.9);
}

.container .inner {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.container .inner .panel.panel-right .panel-content .form {
  display: block;
  position: absolute;
  margin: 0 auto;
  width: 300px;
  min-height: 400px;
  top: 20%;
  left: 70%;
  transform: translateX(-50%) translateY(-25%);
}

.container .inner .panel.panel-right .panel-content .form h1 {
  display: block;
  margin: 0 0 45px 0;
  color: #B1B1B1;
  font-weight: 200;
  font-size: 18px;
}

.group {
  position: relative;
  margin-bottom: 25px;
}

input,
textarea{
  font-size: 10px;
  height: 25px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 300px;
  border: none;
  outline: none;
  border-bottom: 1px solid #B1B1B1;
  color: #B1B1B1;
  background: rgba(0,0,0,0);
  opacity: 0.5;
}

input:focus {
  outline: none;
  opacity: 1;
}

textarea:focus {
  outline: none;
  opacity: 1;
}

label {
  color: #B1B1B1;
  font-size: 13px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 15px;
  opacity: 0.5;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

/* active state */
input:focus ~ label, input:valid ~ label 		{
  top: -10px;
  font-size: 12px;
  color: #B1B1B1;
  opacity: 1;
}

textarea:focus ~ label, input:valid ~ label 		{
  top: -10px;
  font-size: 12px;
  color: #B1B1B1;
  opacity: 1;
}

.highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* active state */
input:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

textarea:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
  from { background:#B1B1B1; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
  from { background:#B1B1B1; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
  from { background:#B1B1B1; }
  to 	{ width:0; background:transparent; }
}


.send-btn {
  float: left;
  background-color: #12132f;
  color: #B1B1B1;
  border-radius: 5px;
  font-size: 20px;
  transition: 0.2s ease;
  padding: 5px;
}
.send-btn:hover {
  color: #FAFAFA;
  background-color: #1c1e4a;
  cursor: pointer;
}