﻿/* button popup */




.modal2{
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea,
#contact button[type="submit"] {
    font: 400 12px/16px "Open Sans", Helvetica, Arial, sans-serif;
}

#contact {
    background: #F9F9F9;
    padding: 25px;
    margin: 50px 0;
}

#contact h3 {
    color: #F96;
    display: block;
    font-size: 30px;
    font-weight: 400;
}

#contact h4 {
    margin: 5px 0 15px;
    display: block;
    font-size: 13px;
}

fieldset {
    border: medium none !important;
    margin: 0 0 10px;
    min-width: 100%;
    padding: 0;
    width: 100%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
    width: 100%;
    border: 1px solid #CCC;
    background: #FFF;
    margin: 0 0 5px;
    padding: 10px;
}

#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
    -webkit-transition: border-color 0.3s ease-in-out;
    -moz-transition: border-color 0.3s ease-in-out;
    transition: border-color 0.3s ease-in-out;
    border: 1px solid #AAA;
}

#contact textarea {
    height: 100px;
    max-width: 100%;
    resize: none;
}

#contact button[type="submit"] {
    cursor: pointer;
    width: 100%;
    border: none;
    background: #0CF;
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    font-size: 15px;
}

#contact button[type="submit"]:hover {
    background: #09C;
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

#contact input:focus,
#contact textarea:focus {
    outline: 0;
    border: 1px solid #999;
}

::-webkit-input-placeholder {
    color: #888;
}

:-moz-placeholder {
    color: #888;
}

::-moz-placeholder {
    color: #888;
}

:-ms-input-placeholder {
    color: #888;
}





/* popup FORM */


#container2 {
	margin: 0 auto 0 auto;
	padding: 1em;

	display: block;
	width: 100%;
	height: 100%;

}


.modal-container2 {
	margin-top: 100px;
  	
  	text-align: center;

}


.modal-container2 a { 
	padding: 1em;
	margin-left: 2em;
	margin-right: 2em;
	border: 1px solid #fff;
	border-radius: 10px;

	display: inline-block;

	background: #ffa64c;
	box-shadow: 0px 5px 5px #cc6600;
	color: #fff;

	font-size: 1em;
 }


 .modal-container2 a:hover {
 	border: 1px solid #333;

 	border-color: #fff;
 	background:  #ffe6cc;   
 	box-shadow: 0px 5px 5px #999999;
 	color: #333;

 }


.modal  {
	z-index: 9999;
 	left: 25%;
 	top: 100%;
 	position: fixed;
 	padding: 0 2em 1em;

 	display: block;
 	width: 40%;
 	height: 60%;
	border-radius: 10px;
	overflow: auto;
 	
 	background: #ddd;  
 	color: #000;
 	
 	-webkit-transition: all 1s;
 	transition: all 2s;
 }





 /* :target {
 	left: 30% !important;
	top: 25% !important;

	visibility: visible !important;
	width: 40% !important;
	height: 65% !important;

	opacity: 1 !important;
 } */





 [data-transition="left"] {
	left: -100%;
	top: 25%;
}


[data-transition="right"] {
	left: 100%;
	top: 25%;
}


.modal [data-button="close"] {
	top: 10px;
	right: 10px;
	position: absolute;
	padding: 10px;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	width: 32px;

	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
	color: #fff;
	background: #000066;

	font-weight: bold;
	font-size: 1.5em;
	line-height: 24px;
	text-decoration: none;
	text-align: center;
}

.modal [data-button="close"]:hover {
	background: #6666ff;
	color: #000066;
}






.modal-close {
	float: right;
	text-decoration: none;
	padding: 4px 20px;
	color: #424242;
	font-weight: 800;
	transition: all .5s ease-in-out;
	z-index: +1;
	background: rgba(0, 0, 0, 0.1);
	text-align: end;
	border-radius: 0 4px 0 0;
  }
  
  .modal-close:hover {
	color: #fff;
	background: rgba(0, 0, 0, 0.5);
  }
  