
.overlay
{
    display: block;
    position: relative;
    text-decoration: none;
}

.overlay-mask
{
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background-image: url(../images/transparent.png);
}

.overlay-panel
{
    display: block;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: 0;
    width: inherit;
    height: 0;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.3;
}

.overlay-panel h2,
.overlay-panel h3
{
    font-size: 12px;
    line-height: 15px;
    font-weight: normal;
    text-decoration: underline;
    margin: 0 0 0 0;
}

.overlay-panel h2
{
    font-weight: bold;
}

.overlay-panel p
{
    font-size: 100%;
    line-height: 1.1;
    margin: 5px 0 0 0;
}

.overlay-panel .inner
{
    display: block;
    padding: 5px;
    color: white;
}








.popup-window
{
    z-index: 2;
    padding: 10px;
    top: 0;
    left: 0;
    width: 540px;
    height: auto;
    background-color: white;
	border:0px solid #000;
	/*-webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);*/
}

.popup-window article
{
    border-bottom-width: 0;
}

.popup-window .menu-top
{
    position: absolute;
    left: -28px;
    top: 0;
    width: 30px;
    height: 119px;
}

/*.popup-window .menu-btm,
.popup-window .menu-social
{
    position: absolute;
    left: 16px;
    bottom: 0;
    width: 24px;
    height: 92px;
    border-top: 1px solid #555;
    border-bottom: 13px solid #fff;
    padding-top: 5px;
	display:none;
		background-color:none;
}*/


.popup-window .menu-btm {
    background: ---;
    bottom: 26px;
    display: block;
    height: 92px;
    left: -28px;
    padding-top: 5px;
    position: absolute;
    width: 24px;
}
.popup-window .menu-social
{
position: absolute;
    bottom: 30px;
    width: auto;
    height: 30px;
    border-top: 0;
    border-bottom: 0;
    /*background-color: white;*/
	display:block; 
	line-height:30px;
	background-color:none;

	
}
.content_article{ padding-bottom:20px;}
.popup-window .menu-social a{font-size:12px; line-height:20px;}

.btn-facebook {
    background: url("../images/button-facebook.png") no-repeat scroll 0 50% transparent;
    display: inline-block;
	float:left;
    height: 20px;
    text-indent: 25px;
}

.btn-twitter {
    background: url("../images/button-twitter.png") no-repeat scroll 0 50% transparent;
	float:left;
    overflow: hidden;
    text-indent: -999em;
    width: 20px;
}

.btn-linkedin {
    background: url("../images/button-linkedin.png") no-repeat scroll 0 50% transparent;
	float:left;
    overflow: hidden;
    text-indent: -999em;
    width: 20px;
}
.popup-window .btn-close
{
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    font-size: 27px;
    font-weight: 900;
    line-height: 27px;
    color: #000;
	background:#fff;
	padding:5px;
}

.btn-prev, .btn-next {
    background: #fff;
}


.popup-window .btn-nav
{
    font-size: 30px;
    font-weight: 900;
    line-height: 30px;
    color: #000;
    text-decoration: none;
	padding-top:49px;
	
}
.popup-window .btn-nav a{	
	padding:5px; margin:28px 0 12px 0; vertical-align:middle;}

.popup-window .btn-nav span
{
    text-decoration: none;
	
}

.popup-window .menu.social .btn-nav
{
    line-height: 30px;
}

.popup-window a
{
    color: #888;
    cursor: pointer;
    text-decoration: none;
}

.popup-window a:hover
{
    color: #000;
}

.popup-window h1
{
    text-transform: uppercase;
    line-height: 1;
	word-wrap:break-word;
}




.overlay2
{
    display: block;
    position: relative;
    text-decoration: none;
}

.overlay2-mask
{
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background-image: url(../images/transparent.png);
}

.overlay2-panel
{
    display: block;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: 0;
    width: inherit;
    height: 0;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.3;
}

.overlay2-panel h2,
.overlay2-panel h3
{
    font-size: 12px;
    line-height: 15px;
    font-weight: normal;
    text-decoration: underline;
    margin: 0 0 0 0;
}

.overlay2-panel h2
{
    font-weight: bold;
}

.overlay2-panel p
{
    font-size: 100%;
    line-height: 1.1;
    margin: 5px 0 0 0;
}

.overlay2-panel .inner
{
    display: block;
    padding: 5px;
    color: white;
}




.popup2-window
{
    z-index: 2;
    padding: 10px;
    top: 0;
    left: 0;
    width: 540px;
    height: auto;
    background-color: white;
	border:0px solid #000;
	/*-webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);*/
}

.popup2-window article
{
    border-bottom-width: 0;
}

.popup2-window .menu-top
{
    position: absolute;
    left: -28px;
    top: 0;
    width: 30px;
    height: 119px;
}

/*.popup2-window .menu-btm,
.popup2-window .menu-social
{
    position: absolute;
    left: 16px;
    bottom: 0;
    width: 24px;
    height: 92px;
    border-top: 1px solid #555;
    border-bottom: 13px solid #fff;
  
    padding-top: 5px;
	display:none;
		background-color:none;
}*/


.popup2-window .menu-btm {
    background: ---;
    bottom: 26px;
    display: block;
    height: 92px;
    left: -28px;
    padding-top: 5px;
    position: absolute;
    width: 24px;
}
.popup2-window .menu-social
{
    position: absolute;
	bottom: 30px;
    width: auto;
    height: 30px;
    border-top: 0;
    border-bottom: 0;
    /*background-color: white;*/
	display:block; 
	line-height:30px;
	background-color:none;

	
}
.content_article{ padding-bottom:20px;}
.popup2-window .menu-social a{font-size:12px; line-height:20px;}

.btn-facebook {
    background: url("../images/button-facebook.png") no-repeat scroll 0 50% transparent;
    display: inline-block;
	float:left;
    height: 20px;
    text-indent: 25px;
}

.btn-twitter {
    background: url("../images/button-twitter.png") no-repeat scroll 0 50% transparent;
	float:left;
    overflow: hidden;
    text-indent: -999em;
    width: 20px;
}

.btn-linkedin {
    background: url("../images/button-linkedin.png") no-repeat scroll 0 50% transparent;
	float:left;
    overflow: hidden;
    text-indent: -999em;
    width: 20px;
}
.popup2-window .btn-close
{
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    font-size: 27px;
    font-weight: 900;
    line-height: 27px;
    color: #000;
	background:#fff;
	padding:5px;
}

.btn-prev, .btn-next {
    background: #fff;
}


.popup2-window .btn-nav
{
    font-size: 30px;
    font-weight: 900;
    line-height: 30px;
    color: #000;
    text-decoration: none;
	padding-top:49px;
	
}
.popup2-window .btn-nav a{	
	padding:5px; margin:28px 0 12px 0; vertical-align:middle;}

.popup2-window .btn-nav span
{
    text-decoration: none;
	
}

.popup2-window .menu.social .btn-nav
{
    line-height: 30px;
}

.popup2-window a
{
    color: #888;
    cursor: pointer;
    text-decoration: none;
}

.popup2-window a:hover
{
    color: #000;
}

.popup2-window h1
{
    text-transform: uppercase;
    line-height: 1;
	word-wrap:break-word;
}



/* Browser Variations */
#main article.ms {
    float: left;
    margin: 1px 10px 10px 0;
    width: 270px;
}

::-webkit-input-placeholder { color: #000 }
:-moz-placeholder { color: #000 }

@media (min-width: 1px) {
    article .article-image{ width: 270px }
}

@media (max-width: 480px) {
.entry-content iframe{ width:220px!important;}
}

@media (min-width: 293px) {
    .popup-window { width: 240px }
	.content_article img{ width:240px; height:auto;}
	.wrapper{padding: 10px 32px 10px 30px;}
	.contact_content{width: 240px;}
	.content{ padding-top:9px;}
	nav ul{ margin-left:6px;}
	nav ul li a {padding:0px 10px 0 1px;}
	.logo_part{ padding-left:7px;}
	.copyright {left: 3px; padding:2px 6px;}
	.wp-caption-text{width:240px;}
	
}

@media (min-width: 537px){
	.content{ width:80%;}
    .popup-window { width:539px }
	.content_article img{ width: 539px; }
	.wrapper{padding: 10px 12px;}
	.contact_content{width: 539px;}
	.content{ padding-top:0px;}
	.logo_part{ padding-left:9px;}
	.copyright {left: 12px; padding:2px 7px;}
	nav ul li a {padding:0px 10px 0 1px;}
	.wp-caption-text{width:539px;}
	.entry-content iframe{ width:500px; height:275px;}

}


@media (min-width: 781px) { 
	.content{ width:80%;}
    .popup-window { width:539px }
	.content_article img{ width: 539px;}
	.wrapper{padding: 10px 12px;}
	.block{ width:200px;}
	.block img {width: 200px;}
	#main article.ms{width:220px;}
	.wp-caption-text{width:539px;}
}

@media (min-width: 940px) { 
	.content{ width:87%;}
    .popup-window { width:539px }
	.content_article img{ width: 539px;}
	.wrapper{padding: 10px 12px;}
	.block{ width:250px;}
	.block img {width: 250px;}
	#main article.ms{width:270px;}
	.wp-caption-text{width:539px;}
}

@media (min-width: 1024px) { 
	.content{ width:87%;}
    .popup-window { width:539px }
	.content_article img{ width: 539px;}
	.wrapper{padding: 10px 12px;}
	.block{ width:250px;}
	.block img {width: 250px;}
	#main article.ms{width:270px;}
	.wp-caption-text{width:539px;}
}


/*@media (min-width: 940px) {
	
    .popup-window { width: 539px }
	.content_article img{ width:539px;}.content{ width:84%;}
}*/

