@font-face {
  font-family: 'GTEestiProDisplayRegular';
  src: url('../fonts/GT-Eesti-Pro-Display-Regular.woff') format('woff'),
       url('../fonts/GT-Eesti-Pro-Display-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'GTEestiProDisplayMedium';
  src: url('../fonts/GT-Eesti-Pro-Display-Medium.woff') format('woff'),
       url('../fonts/GT-Eesti-Pro-Display-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'GTEestiProDisplayLight';
  src: url('../fonts/GT-Eesti-Pro-Display-Light.woff') format('woff'),
       url('../fonts/GT-Eesti-Pro-Display-Light.ttf') format('truetype');
}


body {
  padding: 10px 30px 30px 30px;
  background-color: #F6F3EE;
  font-family: 'GTEestiProDisplayRegular', Helvetica, sans-serif;
  color: #2C2D30;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#header {
	width: 200px;
	height: 120px;
	margin: 0 auto;
	margin-bottom: 20px;
	background: url(../images/logo.png) center center no-repeat;
	background-size: 100px;
}

#content {
	width: 800px;
	margin: 0 auto;
}

strong {
	font-weight: normal;
	font-family: "GTEestiProDisplayMedium";
}

h1 {
	font-size: 32px;
	letter-spacing: 0.5px;
	font-weight: normal;
	font-family: "GTEestiProDisplayMedium";
}

h2 {
	font-size: 21px;
	font-weight: normal;
	font-family: "GTEestiProDisplayMedium";
}

p {
font-family: "GTEestiProDisplayLight";
font-size: 16px;
color: #2C2D30;
letter-spacing: 0;
line-height: 24px;
}

#card {
	background: #FFFFFF;
	border: 1px solid rgba(0,0,0,0.12);
	box-shadow: 0 11px 22px 0 rgba(0,0,0,0.05);
	border-radius: 8px;
	padding: 50px 80px;
	margin-bottom: 100px;

}

.by {
	text-decoration: none;
	text-align: center;
	display: block;
	margin-top: 50px;
}

a[href^="tel"]{
    color:#2C2D30;
    text-decoration:none;
}

#card p {
	font-size: 18px;
	margin-bottom: 30px;
}

#card label {
	font-family: "GTEestiProDisplayMedium";
}

#card span {
	opacity: 0.5;
	font-family: "GTEestiProDisplayLight";
}


a {
  color: #3274EE;;
}

a:hover {
	text-decoration: underline;
}

.label {
	font-family: 'GTEestiProDisplayMedium';
	margin-bottom: 0px !important;
	font-size: 20px !important;
}

#search, #scriptTitle, #scriptContent {
	margin-top: 8px;
  height: 60px;
  font-size: 21px;
	color: #2C2D30;
	letter-spacing: 0.4px;
  border-radius:8px;
  background: #FFFFFF;
	border: 1px solid #CCCCCC;
	box-shadow: inset 0 1px 3px 0 rgba(0,0,0,0.05);
	border-radius: 5px;
	width: 620px;
}

#scriptContent {
	height: 300px;
	width: 605px;
	padding: 16px;
}

hr {
	border: 0 none;
	border-top: 1px solid #eee;
	padding-bottom: 20px;
	margin-top: 40px;
}

textarea { 
	vertical-align: top; 
	resize: none;
}​

.white-space-pre {
    white-space: pre-wrap;
}

input#search, input#scriptTitle, input#scriptContent, textarea {
  font-size: 21px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	padding-left: 16px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-size: 21px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	opacity: 0.3
}
::-moz-placeholder { /* Firefox 19+ */
  font-size: 21px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	opacity: 0.3
}
:-ms-input-placeholder { /* IE 10+ */
  font-size: 21px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	opacity: 0.3
}
:-moz-placeholder { /* Firefox 18- */
  font-size: 21px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	opacity: 0.3
}

input#search:focus {
	border: 1px solid rgba(0,0,0,0.33);
}

textarea:focus, input:focus{
    outline: none;
}

input#submitBtn {
  border:none;
  cursor: pointer;
}

#submitBtn {
	padding: 18px 30px;
	cursor: pointer;
	margin-top: 20px;
	display: inline-block;
	background: #3274EE;
	border-radius: 5px;
	color: white;
	font-family: "GTEestiProDisplayMedium";
	font-size: 24px;
	letter-spacing: 0.5px;
	text-decoration: none;
}

#yourreps {
	transition: all 0.6s ease;
	-webkit-transition: all 0.6s ease;
	transition-delay: 0.3s;
	-webkit-transition-delay: 0.3s;
}

#yourreps h1 {
	margin-top: 16px;
}

#about {
	width: 638px;
	margin: 0 auto;
}

#about h2 {
	margin-top: 50px;
}

.hidden {
	opacity: 0;
	display: none;
}

.shown {
	opacity: 1;
	display: block;
}

p#addresssearched {
	font-size: 14px;
	margin-bottom: 0px;
	line-height: 0px;
	margin-top: 20px;
}

.representative {
	border-top: 1px solid rgba(0,0,0,0.1);
	margin-top: 40px;
	padding-top: 40px;
}



.repHeader {
   display: -webkit-flex;
   display: flex;
}

.repHeader a {
	text-decoration: none;
}

.repHeader a:hover {
	text-decoration: underline;
}

.repAvatar {
   -webkit-flex: 72px 0 0;
   flex: 72px 0 0;
   border-radius: 36px;
}

.repTitle {
   -webkit-flex: 2 0 0; 
   flex: 2 0 0; 
   padding-left: 20px;
   height: 72px;
   align-items: center;
}

.repTitle span {
	color: #999;
}

.repTitle h1 {
	margin: 0;
	padding: 0;
	margin-top: 8px !important;
	margin-bottom: 2px;
}

.repTitle h2 {
	font-size: 18px;
	font-family: "GTEestiProDisplayRegular";
	font-weight: normal;
	padding: 0;
	margin: 0;
	letter-spacing: 0px;
}

.office {
	margin-left: 92px;
}

.office h4 {
	font-size: 21px;
	margin-bottom: 10px;
	letter-spacing: 0.5px;
}

.new {
	color: #E6421E;
}


.office ul,li { list-style-type: none;
        list-style-position:inside;
        margin:0;
        padding:0; }

.office li {
	margin-bottom: 8px;
}

.office ul {
	margin-bottom: 4px;
}

.phoneBtn {
	visibility: hidden;
	display: none;
}

#tryAgain a {
  padding: 12px 20px;
  margin-top: 10px;
  display: inline-block;
  background: #3274EE;
  border-radius: 6px;
  color: white;
  font-family: "GTEestiProDisplayMedium";
  font-weight: normal;
  font-size: 18px;
  text-decoration: none;
  margin-bottom: 10px;
  cursor: pointer;
}

#callscript p {
	font-size: 21px;
	line-height: 32px;
}

#link {
	margin-bottom: 20px;
}

#twtr, #fb {
	display: inline-block;
	height: 28px;
}

#fb {
	margin-left: 10px;
	opacity: 1 !important;
}

.fb_iframe_widget span 
{
	vertical-align: baseline !important;
	opacity: 1 !important;
}

/*MEDIA QUERIES*/

@media only screen 
  and (max-device-width: 736px) { 

body {
	padding: 0px;
}

#callscript p {
	font-size: 18px !important;
	line-height: 27px !important;
}


#content {
	width: 99%;
	margin: 0 auto;
}

#header {
	width: 200px;
	height: 100px;
	margin: 0 auto;
	background: url(../images/logo.png) center center no-repeat;
	background-size: 70px;
}

#about {
	width: 85%;
}

#card {
	padding: 30px;
	margin-bottom: 50px;
}

h1 {
	font-size: 28px;
	letter-spacing: 0px;
	font-weight: normal;
	margin: 0px;
}

h2 {
	font-size: 21px;
	font-weight: normal;
}

#card p {
	font-size: 15px;
	line-height: 22px;
	margin-bottom: 20px;
}



p {
	font-size: 16px;
	line-height: 21px;
	margin-bottom: 60px;
}

#findrep label {
	font-size: 16px;
	display: block;
	margin-bottom: 8px;
}

.fade {
	visibility: hidden;
}

.label {
	font-size: 18px !important;
}


#search {
  height: 44px;
  font-size: 20px;
	color: #2C2D30;
	letter-spacing: 0.4px;
  border-radius:8px;
  background: #FFFFFF;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
}

* {	-webkit-appearance: none;
}

input[type=text] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-shadow: none !important;

}

input#search, input#scriptTitle, input#scriptContent, #scriptContent {
  font-size: 20px;
  line-height: 30px;
	color: #2C2D30;
	font-family: "GTEestiProDisplayRegular";
	box-shadow: inset 0 1px 3px 0 rgba(0,0,0,0.05);
	font-weight: normal;
	width: 95%;
	padding-left: 5%;
}

#scriptContent {
	width: 90%;
}



::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-size: 20px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	opacity: 0.3
}
::-moz-placeholder { /* Firefox 19+ */
  font-size: 20px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	opacity: 0.3
}
:-ms-input-placeholder { /* IE 10+ */
  font-size: 20px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	opacity: 0.3
}
:-moz-placeholder { /* Firefox 18- */
  font-size: 20px;
	color: #2C2D30;
	letter-spacing: 0.4px;
	font-family: "GTEestiProDisplayRegular";
	opacity: 0.3
}

input#search:focus {
	border: 1px solid rgba(0,0,0,0.33);
}

#submit {
	padding: 12px 20px;
	margin-top: 16px;
	display: inline-block;
	background: #3274EE;
	border-radius: 5px;
	color: white;
	font-family: "GTEestiProDisplayMedium";
	font-weight: normal;
	font-size: 24px;
	letter-spacing: 1px;
	text-decoration: none;
	cursor: pointer;
}

p#addresssearched {
	font-size: 13px;
	margin-bottom: 6px !important;
	font-family: "GTEestiProDisplayMedium";
	margin-top: 0px;
	opacity: 0.6;
}

.representative {
	border-top: 2px solid rgba(0,0,0,0.1);
	margin-top: 20px;
	padding-top: 20px;
}

.repHeader {
	   -webkit-flex-direction: column;
   flex-direction: column;
   margin-top: 10px;
}

.repAvatar {
   -webkit-flex: 100px 0 0;
   flex: 100px 0 0;
   border-radius: 50px;
   height: 100px;
   width: 100px;
   margin-right: auto;

}

.repTitle {
   -webkit-flex: 2 0 0; 
   flex: 2 0 0; 
   height: inherit;
   align-items: center;
   padding-left: 0px; 
   margin-top: 10px;
}

.repTitle span {
	color: #999;
}

.repTitle h1 {
	margin: 0;
	padding: 0;
	margin-top: 8px !important;
	margin-bottom: 10px;
	font-size: 32px !important;
}


#yourreps h1 {
	font-size: 24px;
	margin: 0px;
	font-weight: normal;
}


.repTitle h2 {
	font-size: 16px;
	font-family: "GTEestiProDisplayMedium";
	font-weight: normal;
	padding: 0;
	margin: 0;
	margin-top: 5px;
	letter-spacing: 0px;
	line-height: 21px;
}

.office {
	margin-left: 0px;
	margin: 20px 0px;
}

.office h4 {
	font-size: 21px;
	margin-bottom: 10px;
	letter-spacing: 1px;
	font-family: "GTEestiProDisplayMedium";
	font-weight: normal;
}

.office ul {
	margin-bottom: 6px;
}
.office li {
	margin-bottom: 6px;
}

.phoneBtn {
	visibility: visible;
	display: block;
}

a.phoneBtn {
    padding: 12px 20px;
    margin-top: 10px;
    display: inline-block;
    background: #3274EE;
    border-radius: 6px;
    color: white;
    font-family: "GTEestiProDisplayMedium";
    font-weight: normal;
    font-size: 18px;
    text-decoration: none;
    margin-bottom: 10px;
}

#tryAgain h1 {
	font-size: 24px;
}

#tryAgain a {
  padding: 12px 20px;
  margin-top: 10px;
  display: inline-block;
  background: #3274EE;
  border-radius: 6px;
  color: white;
  font-family: "GTEestiProDisplayMedium";
  font-weight: normal;
  font-size: 18px;
  text-decoration: none;
  margin-bottom: 10px;
  cursor: pointer;
}



}
