
.buttonx:hover {
     border: 2px #fe1078 solid;
	 text-shadow: 0 0 1px black;
	 box-shadow: inset 0 0 5px #ffebee;}
.button8:hover {
     border: 2px #fe1078 solid;
	 text-shadow: 0 0 1px black;
	 box-shadow: inset 0 0 5px #ffebee;}
.button8p:hover {
     border: 2px #fe1078 solid;
	 text-shadow: 0 0 1px black;
	 box-shadow: inset 0 0 5px #ffebee;}
	
.popupp img {
    width: 100%;
    height: auto;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
/* Всплывающее окно 
* при загрузке сайта            
*/
/* базовый контейнер, фон затемнения*/
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
	
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}
/* модальный блок */
.popupp {
   
	text-align: center;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    position: absolute;
    border: 1px solid #383838;
    z-index: 1000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* заголовки в модальном блоке */
.popupp h2, .popupp h3 {
    margin: 0 0 1rem 0;
    font-weight: 300;
    line-height: 1.3;
    color: #009032;
    text-shadow: 1px 2px 4px #ddd;
}
/* кнопка закрытия */

.closeb:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
/* кнопка закрытия при наведении */
.closeb:hover {
    background-color: rgba(252, 20, 0, 0.8);
}

/* анимация при появлении блоков с содержанием */
@-moz-keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 } 
}
@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}

@media  only screen and (min-width: 320px) and (max-width: 768px) {
.closeb {
    top: -15px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: #009b36;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}
.hed_log{    top: 20px;
    color: #000;
    font-size: 22px;
    position: relative;}
.popupp {
   top: 4%;
    height: 414px;
    width: 414px;
    padding: 0px 0px;
    background-image:url(/uploads/banerm.jpg) ;

}
.bpred{ display: none;}        
      

.button8{position: relative;
    margin-top: 10px;
    
    width: 90px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
    background-color: white;
	font-family: SansationLight;
	font-size: 18px;
	}
	
.button8p{position: relative;
        margin-top: 10px;
    
    width: 90px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
	background-color: white;
	font-family: SansationLight;
	font-size: 18px;}
	
.buttonx{position: relative;
    margin-top: 10px;
	
    width: 90px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
	background-color: white;
	font-family: SansationLight;
	font-size: 18px;
	}
	/* изображения в модальном окне */

/* миниатюры изображений */
.pl-left,
.pl-right {
    width: 100%;
    height: auto;
	
}
/* миниатюры справа */
.pl-right {
    float: right;
    margin: 355px 0 5px 15px;
    text-align: center;
	font-size: 20px;
    line-height:0.7;
}
/* миниатюры слева */
.pl-left {
    float: left;
    margin: 5px 18px 5px 0;
}
	
}


@media  only screen and (min-width: 768px) and (max-width: 992px) {
.closeb {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: #009b36;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}
.hed_log{     left: -100px;
    /* top: 20px; */
    color: #000;
    font-size: 22px;
    position: relative;}
.popupp {
 top: 25%;
 padding: 15px 20px;
    height:400px;
    width: 1170;
    min-width: 320px;
    max-width: 544px;
    background-image:url(/uploads/banerc.jpg) ;
	}
	
	.bpred{ margin-top: 170px;    margin-left: 61%;
    color: #009032;
    text-shadow: 0 0 1px #7ee545;}        
      

.button8{position: relative;
   
    left: 30%;
    width: 70px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
    background-color: white;
	font-family: SansationLight;
	}
	
.button8p{position: relative;
    
    left: 30%;;
    width: 70px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
	background-color: white;
	font-family: SansationLight;}
	
.buttonx{position: relative;
    left: 30%;
    width: 70px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
	background-color: white;
	font-family: SansationLight;}


/* миниатюры изображений */
.pl-left,
.pl-right {
    width: 43%;
    height: auto;
	
}
/* миниатюры справа */
.pl-right {
    float: right;
    margin: 40px 0 5px 15px;
    text-align: center;
	font-size: 18px;
    line-height: 1.5;
}
/* миниатюры слева */
.pl-left {
    float: left;
    margin: 5px 18px 5px 0;
}
}
@media  only screen and (min-width: 992px) {
.closeb {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: #009b36;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}
.hed_log{      left: -100px;
    /* top: 20px; */
    color: #000;
    font-size: 22px;
    position: relative;}
.popupp {
 top: 25%;
    height:400px;
    width: 1170px;

	padding: 15px 20px;
    background-image:url(/uploads/banerc.jpg) ;}

.bpred{ margin-top: 170px;    margin-left: 61%;
    color: #009032;
    text-shadow: 0 0 1px #7ee545;}        
      

.button8{position: relative;
   
    left: 30%;
    width: 70px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
    background-color: white;
	font-family: SansationLight;
	}
	
.button8p{position: relative;
    
    left: 30%;;
    width: 70px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
	background-color: white;
	font-family: SansationLight;}
	
.buttonx{position: relative;
    left: 30%;
    width: 70px;
    height: 50px;
    border: 2px #ccc solid;
    border-radius: 5px;
	background-color: white;
	font-family: SansationLight;}


/* миниатюры изображений */
.pl-left,
.pl-right {
    width: 44%;
    height: auto;
	
}
/* миниатюры справа */
.pl-right {
    float: right;
    margin: 40px 0 5px 15px;
    text-align: center;
	font-size: 18px;
    line-height: 1.5;
}
/* миниатюры слева */
.pl-left {
    float: left;
    margin: 5px 18px 5px 0;
}
}


