/*
Theme Name: Betheme
Theme URI: http://themes.muffingroup.com/betheme/
Author: Muffin group
Author URI: http://muffingroup.com/
Description: The biggest WordPress Theme ever
License: Themeforest Split Licence
License URI: -
Version: 20.5

All css files are placed in /css/ folder
*/


  
/* Всплывающее окно 
* при загрузке сайта            
*/
/* базовый контейнер, фон затемнения*/
#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;
}
/* модальный блок */
.popup {
    top: 10%;
    left: 0;
    right: 0;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 601px;
    position: absolute;
    padding: 15px 20px;
    background-image: url(../../uploads/2019/11/%c3%90%c2%ba%c3%90%c2%be%c3%90%c2%bd%c3%90%c2%b2%c3%90%c2%b5%c3%91%c2%80%c3%91%c2%82.html);
    background-repeat: no-repeat;
    -moz-background-size: 100%;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    z-index: 1000;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    background-size: 100%;
    height: 85%;
}
/* заголовки в модальном блоке */
.popup h2, .popup h3 {
    margin: 0 0 1rem 0;
    font-weight: 300;
    line-height: 1.3;
    color: #009032;
    text-shadow: 1px 2px 4px #ddd;
}
/* кнопка закрытия */
.close {
    top: 112px;
    right: 293px;
    width: 32px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    outline: none;
    border-color: #0ff0;
    z-index: 9999;
}

.close:before {
    color: rgba(255, 255, 255, 0.9);
    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;
}
/* кнопка закрытия при наведении */
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}
/* изображения в модальном окне */
.popup 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);
}
/* миниатюры изображений */
.pl-left,
.pl-right {
    width: 100%;
    height: auto;
}
/* миниатюры справа */
.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* миниатюры слева */
.pl-left {
    float: left;
    margin: 5px 18px 5px 0;
}
/* анимация при появлении блоков с содержанием */
@-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 }
}

#text1 {
    position: relative;
    color: #ffa700;
    font-size: 34px;
    display: block;
    margin-top: -56%;
    left: 17%;
}

#kildsan {
    position: relative;
    color: #90ba00;
    font-weight: 808;
    border: none;
    float: right;
    z-index: 9999;
    margin: -34px 98px 23px 0;
    font-size: 16px;
}

.text2 {
    color: #90ba00;
    font-weight: 800;
    text-align: center;
    position: relative;
    display: block;
	margin-bottom: 100px;
}

.sale {
    position: relative;
    color: #fff;
    text-align: center;
    display: block;
}

    @media screen and (max-width: 650px) {
       .close {
		top: 89px;
		right: 231px;
		width: 56px;
		height: 32px;
		position: absolute;
		cursor: pointer;
		outline: none;
		border-color: #0ff0;
		z-index: 9999;
		}
		
		#text1 {
		position: relative;
		color: #ffa700;
		font-size: 30px;
		display: block;
		margin-top: -56%;
		left: 17%;
       }
	   

	   
	   .sale {
		position: relative;
		color: #fff;
		text-align: center;
		display: block;
		top: 14%;
	   }
    }
	
	
	
	@media screen and (max-width: 600px) {
       .close {
		top: 50px;
		right: 150px;
		width: 44px;
		height: 32px;
		position: absolute;
		cursor: pointer;
		outline: none;
		border-color: #0ff0;
		z-index: 9999;
		}
		
		#text1 {
		position: relative;
		color: #ffa700;
		font-size: 26px;
		display: block;
		margin-top: -56%;
		left: 17%;
       }
	   
	   #kildsan {
		position: relative;
		color: #90ba00;
		font-weight: 808;
		border: none;
		float: right;
        z-index: 9999;
        margin: -36px 73px 17px 0;
       font-size: 13px;
	   }
	   
	   .text2 {
		color: #90ba00;
		font-weight: 800;
		text-align: center;
		font-size: 12px;
		position: relative;
		display: block;
		margin-bottom: 29px;
	   }
	   
	   .sale {
		position: relative;
		top: 8%;
		color: #fff;
		text-align: center;
		display: block;
	   }
    }
	
	
	@media screen and (max-width: 480px) {
		#text1 {
		position: relative;
		color: #ffa700;
		font-size: 23px;
		display: block;
		margin-top: -57%;
		left: 17%;
       }
	   
	   #kildsan {
		position: relative;
		text-align: center;
		color: #90ba00;
		font-weight: 808;
		border: none;
        float: right;
		z-index: 9999;
		margin: -34px 27px 18px 0;
       font-size: 11px;
	   }
	   
	   .text2 {
		color: #90ba00;
		font-weight: 800;
		text-align: center;
		font-size: 11px;
		position: relative;
		display: block;
		top: -20px;
		margin-bottom: -15px
		}
		
	    .sale {
		position: relative;
		top: 6%;
		color: #fff;
		text-align: center;
		display: block;
		font-size: 11px;
	   }
    }