/* -------- Eric Meyer's CSS Reset -------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}
li {list-style-type:none;}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



/* -------- basic elements -------- */

body {
  font-family: skolar-latin, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #3F3F3F;
  background: #F5F5F1 url('http://gdb.rferl.org/9C93F663-7528-4BF4-8D90-79785386CFF3.jpg') center top 70px fixed no-repeat;
    
}

li {
  list-style-type: decimal;
  list-style-position: inside;
}

a {
  color: #EA6903;
  text-decoration: none;
  -o-transition: .5s;
  -ms-transition: .5s;
  -moz-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s;
}

a:hover {
  color: #EA6903;
  text-decoration: underline;
}


p {
    padding-bottom: 6px;
}

h1 {
  font-family: "cooper-black-std", sans-serif;
  font-size: 106px;
  line-height: 100%;
  color: #333;
  text-align: center;
  padding-bottom: 35px;
  position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

h2 {
  font-size: 46px;
  font-weight: bold;
  color: #00B8B4;
  padding: 0px 0 50px 0;
  line-height: 120%
}

h3 {
  font-size: 18px;
  font-family: "cooper-black-std", sans-serif;
  padding-bottom: 12px;
}

@media screen and (max-width:949px) {
  h1 {
    font-size: 70px;
  }
}

@media screen and (max-width:460px) {
  h1 {
    font-size: 52px;
  } 
}   



/* -------- wrapper -------- */

#wrapper {
  width: 100% padding: 0;
  padding: 35px 0px 35px 0px;
}

#wrapper-header {
  background: #3E3D3C url('http://gdb.rferl.org/CCC21404-9AAE-48F0-8403-7DCA0396375A.png') top center repeat;
  height: 70px;
  position: fixed;
  width: 100%;
  z-index: 1;
}

#wrapper-tym {
  width: 100%;
  padding: 0px 0px 30px 0px;
}

#content {
  max-width: 1220px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}


/* -------- layout -------- */


/* -- header -- */

.logo {
  float: left;
  padding-top: 12px;
    padding-left: 12px;
}

.logo a {
  border-bottom: 0;
}

.logo a:hover {
  opacity: 0.8;
}

.menu {
  float: right;
  text-align: center;
  padding-top: 0px;
  color: #989898;
  display: table;
}

.share-label {
  padding-right: 10px;
  height: 70px;
  display: table-cell;
  vertical-align: middle;
}

.socialmediabutton {
  float: right;
  width: 64px;
  height: 70px;
  background: transparent;
  Overflow: hidden;
  border-bottom: 0;
}

.socialmediabutton:hover {
  background: rgba(29, 161, 242, 1);
  border-bottom: 0;
}

.facebook:hover {
  background: #3b5998;
}

.email:hover {
  background: #777;
}

.button2 {
  border-right: 0;
}

@media screen and (max-width:460px) {
.share-label {
display: none;
}
.socialmediabutton {
  width: 44px;
    text-align: center;
    margin: 0 auto;
}

}


/* -- intro text -- */

.logo-havel80 {
  height: 53px;
  width: 244px;
  text-align: center;
  margin: 0 auto;
  padding: 120px 0 35px 0;
}

.postvawes {
  position: absolute;
  top: 0px;
  right: 20px;
}

.antikod {
  text-align: center;
  margin: 0 auto;
}

.intro-text {
     font-size: 18px;
    line-height: 160%;
    max-width: 800px;
    padding: 0px 20px 35px 20px;
    text-align: center;
    margin: 0 auto;
}

@media screen and (max-width:949px) {
  .intro-text {
    font-size: 16px;
  }
  .postvawes {
display: none;
}
}

@media screen and (max-width:460px) {
.logo-havel80 {
  padding: 80px 0 25px 0;
}
  .intro-text {
    font-size: 16px;
  }    
}

/* -- states -- */

.state-box {
  text-align: left;
  width: 390px;
  height: 210px;
  border-bottom: 2px solid #ccc;
  border-right: 2px solid #ccc;
  display: inline-block;
  border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 10px 10px 0;
  -o-transition: .5s;
  -ms-transition: .5s;
  -moz-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s;
}

.first-row {

  max-width: 810px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

.armenia {
  background: rgba(255, 255, 255, 0.4) url("http://gdb.rferl.org/36016533-B843-4E48-8091-D560C5C543D7.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.armenia:hover {
  background: rgba(255, 255, 255, 0.9) url("http://gdb.rferl.org/6CFA7AAA-7478-4D3E-A086-1202C6A26D9D.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.azeri {
  background: rgba(255, 255, 255, 0.4) url("http://gdb.rferl.org/8ACD5D2F-A675-48E4-BBF8-BD96FDA8B5B0.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.azeri:hover {
  background: rgba(255, 255, 255, 0.9) url("http://gdb.rferl.org/78CC4ED0-2963-4771-8D86-20DDA115E1A7.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.belarus {
  background: rgba(255, 255, 255, 0.4) url("http://gdb.rferl.org/CF5FB2AE-4AD8-4F31-9B88-2811B629BC83.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.belarus:hover {
  background: rgba(255, 255, 255, 0.9) url("http://gdb.rferl.org/2F2B57DA-673C-4E66-80C1-16356E96D23C.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.georgia {
  background: rgba(255, 255, 255, 0.4) url("http://gdb.rferl.org/11405829-315B-454F-A2F1-06817D7962D8.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.georgia:hover {
  background: rgba(255, 255, 255, 0.9) url("http://gdb.rferl.org/CADAB0DE-F75D-4CE5-B3CA-872AFF7749E4.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.moldova {
  background: rgba(255, 255, 255, 0.4) url("http://gdb.rferl.org/2964B3AD-17E8-4E20-AF2B-F7AF77867368.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.moldova:hover {
  background: rgba(255, 255, 255, 0.9) url("http://gdb.rferl.org/C85017AC-1BB8-4185-86B4-1960471AEE6A.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.russia {
  background: rgba(255, 255, 255, 0.4) url("http://gdb.rferl.org/51A06BD3-7B52-43BE-8312-F54D2E462905.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.russia:hover {
  background: rgba(255, 255, 255, 0.9) url("http://gdb.rferl.org/484C819A-55E7-47F9-BFA3-A7CC8E9DED47.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.ukraine {
  background: rgba(255, 255, 255, 0.4) url("http://gdb.rferl.org/8B96C6A8-939C-4E92-A1B4-885B71750B49.png") no-repeat;
  background-position: right 20px bottom 20px;
}

.ukraine:hover {
  background: rgba(255, 255, 255, 0.9) url("http://gdb.rferl.org/145C8F59-D4AB-46F0-97D7-C35CE2EE582B.png") no-repeat;
  background-position: right 20px bottom 20px;
}


@media screen and (max-width:420px) {
  .state-box {
    width: 300px;
      margin: 0px 0px 10px 0;
 }  
}   

/* pop-up */

.button {
  cursor: pointer;
  transition: all 0.3s ease-out;
}

a:active.button  {cursor: pointer;}
a.button  {cursor: pointer;}

.overlay {
position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
    z-index: 2;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
    position: absolute;
    height:80%;
  padding: 70px;
    background: #fff url("http://gdb.rferl.org/9E46FEA4-71E0-4C79-98CA-BF2EBB5A9A5E.png") repeat;
  border-radius: 5px;
  width: 600px;
    margin: 0px auto;
    margin-bottom: 30px;
    margin-top: 30px;
  position: relative;
  transition: opacity 5s ease-in-out;
  overflow: auto;
    line-height: 170%;
    overflow: auto;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 50px;
  border-bottom: 0;
  text-decoration: none;
  color: #333;
    font-family: "cooper-black-std", sans-serif;
}

.popup .close:hover {
  color: #EA6903;
}

.popup .close-bottom {
  position: relative;
     background: rgba(0, 0, 0, 0.06);
    border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
    padding: 8px 14px 8px 14px;
    box-sizing: border-box;
  transition: all 200ms;
  font-size: 16px;
     font-family: "cooper-black-std", sans-serif;
  border-bottom: 0;
  text-decoration: none;
  color: #333;
}

.popup .close-bottom:hover {
  color: #EA6903;
}


.popup .content {
  overflow: auto;
}

.date {
    text-align: right;
    padding-bottom: 20px;
    color: #777;
} 

.dear {
  padding-bottom: 20px;  
}

.sincerely {
  padding: 20px 0 20px 0;  
}

.name {
  padding: 0px 0 35px 0;  
}

@media screen and (max-width: 700px) {
  .box {
    width: 70%;
  }
  .popup {
    width: 70%;
  }
}

@media screen and (max-width:949px) {
.popup {font-size: 16px;
     width: 85%; margin-top: 10px;
}}

@media screen and (max-width:460px) {
.popup {padding: 70px 20px 20px 20px;
}
    
}



/* -- footer -- */

.footer-paragraph {
  text-align: center;
  color: #666563;
  margin-bottom: 35px;
  margin: 0px 20px 35px 20px;    
}
