/* The popup (background) */
.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
    font-family: Verdana, Geneva, sans-serif;
    font-size: 16px;
}

/* popup Content */
.popup-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    /*border: 1px solid #888;*/
    width: 400px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.2s;
    border-radius: 4px 4px 2px 2px;
    /*text-align: justify;*/
}
.popup_fb .popup-header {
	background-color: #3b5998;
	border-bottom: 1px solid #29487d;
	border-radius: 2px 2px 0 0;
	color: #eee;
}
.popup_email .popup-header {
	background-color: #de3d3d;
	border-bottom: 1px solid #de3d3d;
	border-radius: 2px 2px 0 0;
	color: #eee;
}
.popup_100s .popup-header {
	background-color: OrangeRed;
	border-bottom: 1px solid #de3d3d;
	border-radius: 2px 2px 0 0;
	color: #eee;
}
.popup-header h3 {
	margin: 0;
	padding: 15px 15px;
    color: #eee;
    font-size: 20px;
}
.popup-body {
	padding: 20px;
	color: #333;
}
.popup-footer {
	margin: 0 20px 20px 20px;
	padding: 15px 0;
	background-color: #fff;
	color: #666;
	border-top: 1px solid lightgrey;
	text-align: right;
	font-size: 0.8em;
}
.popup_youtube .popup-content {
    position: relative;
    background-color: #43A373;
    margin: auto;
    padding: 0;
    border: 1px solid #43A373;
    width: 300px;
    height: 300px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.2s;
    border-radius: 150px;
}
.popup_youtube .popup-body {
	padding: 15px;
	color: #fff;
	/*border: 1px solid #888;*/
	margin: 12px;
	text-align: center;
	width: 272px;
    height: 272px;
    border-radius: 135px;
    background: #339966;
}
.popup_youtube .popup-body a{
    color: lightgrey; 
    text-decoration: underline;
}
.popup_fb .popup-body a{
    color: #3b5998; 
    text-decoration: underline;
}
.popup_100s .popup-body a{
    color: OrangeRed; 
    text-decoration: underline;
}
.popup_youtube .popup-body p {
	padding: 45px 25px;
}

.popup_email button {
    background-color: #de3d3d !important;
	border-color: #de3d3d !important;
    border: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    margin-top: 5px;
}

.popup_email button:hover {
    background-color: #CE2323 !important;
    border-color: #CE2323 !important;
}

.popup input {
    width: 100%;
    padding: 5px 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.close_fb {
    color: white;
    float: right;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
}
.close_fb:hover,
.close_fb:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.popup_youtube .close_youtube {
    color: white;
    float: right;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    width: 28px;
    height: 28px;
    border-radius: 18px;
    border: 2px solid white;
    background: #111;
}
.popup_youtube .close_youtube:hover,
.popup_youtube .close_youtube:focus {
    color: grey;
    text-decoration: none;
    cursor: pointer;
}
/* Dont Show Again button */
.dontShow:hover,
.dontShow:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.fb-button {
  text-align: right;
}
.fb-link {
  float: left;
}
.fb-link img {
  width: 20px;
}
/* Anketa fixed window */
.anketa {
  position: fixed;
  z-index: 100;
  bottom: 0px;
  left: 60px;
  padding: 10px 25px 5px 25px;
  color: white;
  background: #BF3434;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
}
.anketa:hover {
  background: #DE3D3D;
}
.anketa a {
  color: white;
}
.anketa a:hover {
	text-decoration: none;
}