

/*стиль ссылок по умолчанию

* A
{  

	color: black;
	background-color: #CECECE;
	text-decoration: none
	
}

* A:hover
{   text-decoration: none;
    background-color: #000000;
    COLOR: #FFFFFF

}
* A:active
{
    COLOR: #555555
}

*/



/*стиль ссылок p*/

* A.p
{  
	Font-Size: 14px;
	color: black;
	/*background-color: #CECECE;*/
	background-color: #DADADA;
	text-decoration: none
	
}

* A.p:hover
{   text-decoration: none;
    background-color: #000000;
    COLOR: #FFFFFF
}
* A.p:active
{
    COLOR: #555555
}



* A.q
{  
	color: black;
	background-color: #CECECE;
	text-decoration: none
}

* A.q:hover, A.active
{   text-decoration: none;
    background-color: #000000;
    COLOR: #FFFFFF
}
* A.q:active
{
    COLOR: #555555
}



/* margin!  не убирать!*/
/**
 * позаботимся о средних и маленьких экранах
 * мобильных устройств
 */

@media screen and (min-width: 420px) {
    html,
    body {
      margin: 0;
      overflow-x: hidden;
    }
}

@media screen and (max-width: 420px) {
    html,
    body {
      margin: 0;
      overflow-x: hidden;
    }
    .nav {
      width: 100%;
      box-shadow: none
    }
}






#maintext {
    FONT-FAMILY: Verdana, Arial, sans-serif;
	font-size: 14px;
    background-color: #f1f1f1;
	padding: 15px;
}





/*preloader*/
.preloader {
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}
.preloader__loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}







/*preloader анимация*/
#fountainG{
	position:relative;
	width:120px;
	height:14px;
	margin:auto;
}

.fountainG{
	position:absolute;
	top:0;
	background-color:rgb(125,125,125);
	width:14px;
	height:14px;
	animation-name:bounce_fountainG;
		-o-animation-name:bounce_fountainG;
		-ms-animation-name:bounce_fountainG;
		-webkit-animation-name:bounce_fountainG;
		-moz-animation-name:bounce_fountainG;
	animation-duration:1.5s;
		-o-animation-duration:1.5s;
		-ms-animation-duration:1.5s;
		-webkit-animation-duration:1.5s;
		-moz-animation-duration:1.5s;
	animation-iteration-count:infinite;
		-o-animation-iteration-count:infinite;
		-ms-animation-iteration-count:infinite;
		-webkit-animation-iteration-count:infinite;
		-moz-animation-iteration-count:infinite;
	animation-direction:normal;
		-o-animation-direction:normal;
		-ms-animation-direction:normal;
		-webkit-animation-direction:normal;
		-moz-animation-direction:normal;
	transform:scale(.3);
		-o-transform:scale(.3);
		-ms-transform:scale(.3);
		-webkit-transform:scale(.3);
		-moz-transform:scale(.3);
	border-radius:9px;
		-o-border-radius:9px;
		-ms-border-radius:9px;
		-webkit-border-radius:9px;
		-moz-border-radius:9px;
}

#fountainG_1{
	left:0;
	animation-delay:0.6s;
		-o-animation-delay:0.6s;
		-ms-animation-delay:0.6s;
		-webkit-animation-delay:0.6s;
		-moz-animation-delay:0.6s;
}

#fountainG_2{
	left:15px;
	animation-delay:0.75s;
		-o-animation-delay:0.75s;
		-ms-animation-delay:0.75s;
		-webkit-animation-delay:0.75s;
		-moz-animation-delay:0.75s;
}

#fountainG_3{
	left:30px;
	animation-delay:0.9s;
		-o-animation-delay:0.9s;
		-ms-animation-delay:0.9s;
		-webkit-animation-delay:0.9s;
		-moz-animation-delay:0.9s;
}

#fountainG_4{
	left:45px;
	animation-delay:1.05s;
		-o-animation-delay:1.05s;
		-ms-animation-delay:1.05s;
		-webkit-animation-delay:1.05s;
		-moz-animation-delay:1.05s;
}

#fountainG_5{
	left:60px;
	animation-delay:1.2s;
		-o-animation-delay:1.2s;
		-ms-animation-delay:1.2s;
		-webkit-animation-delay:1.2s;
		-moz-animation-delay:1.2s;
}

#fountainG_6{
	left:75px;
	animation-delay:1.35s;
		-o-animation-delay:1.35s;
		-ms-animation-delay:1.35s;
		-webkit-animation-delay:1.35s;
		-moz-animation-delay:1.35s;
}

#fountainG_7{
	left:90px;
	animation-delay:1.5s;
		-o-animation-delay:1.5s;
		-ms-animation-delay:1.5s;
		-webkit-animation-delay:1.5s;
		-moz-animation-delay:1.5s;
}

#fountainG_8{
	left:105px;
	animation-delay:1.64s;
		-o-animation-delay:1.64s;
		-ms-animation-delay:1.64s;
		-webkit-animation-delay:1.64s;
		-moz-animation-delay:1.64s;
}



@keyframes bounce_fountainG{
	0%{
	transform:scale(1);
		background-color:rgb(125,125,125);
	}

	100%{
	transform:scale(.3);
		background-color:rgb(255,255,255);
	}
}

@-o-keyframes bounce_fountainG{
	0%{
	-o-transform:scale(1);
		background-color:rgb(125,125,125);
	}

	100%{
	-o-transform:scale(.3);
		background-color:rgb(255,255,255);
	}
}

@-ms-keyframes bounce_fountainG{
	0%{
	-ms-transform:scale(1);
		background-color:rgb(125,125,125);
	}

	100%{
	-ms-transform:scale(.3);
		background-color:rgb(255,255,255);
	}
}

@-webkit-keyframes bounce_fountainG{
	0%{
	-webkit-transform:scale(1);
		background-color:rgb(125,125,125);
	}

	100%{
	-webkit-transform:scale(.3);
		background-color:rgb(255,255,255);
	}
}

@-moz-keyframes bounce_fountainG{
	0%{
	-moz-transform:scale(1);
		background-color:rgb(125,125,125);
	}

	100%{
	-moz-transform:scale(.3);
		background-color:rgb(255,255,255);
	}
}






/*не загружать сразу ролик youtube*/
.youtube {

    background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: all 200ms ease-out;
    cursor: pointer;
}
.youtube .play {
    background: url('../img/play.png') no-repeat; /*ВАЖНО: здесь укажите адрес до изображения*/
    /*Вbackground-position: 0 -50px;   кнопка видна только с курсором*/
	background-position: 0 0;   /*кнопка видна всегда*/
    -webkit-background-size: 100% auto;
    /*background-size: 100% auto;  было*/
	background-size: 100% auto;
    position: absolute;
    height: 50px;
    width: 69px;
    transition: none;
	top:0;
    left:0;
    right:0;
    bottom:0;
	margin:auto;  /* кнопка по центру*/
    /* margin:20px;  кнопка слева вверху*/
	filter: saturate(0);
	opacity: 0.7;
	filter: alpha(opacity=70); /* For IE8 and earlier */
}
.youtube:hover .play {
    /*height: 55px;*/
    /*width: 75px;*/
	filter: saturate(1);
	opacity: 1.0;
	filter: alpha(opacity=100); /* For IE8 and earlier */
}

/*container (постер видео и кнопка play)*/

.container {
position:relative;
    width: 300px;
    max-width: 300px;
}

.container img {
    width: 300px;
    height: auto;
}

.container .btn {
    background: url('../img/play.png') no-repeat; /*ВАЖНО: здесь укажите адрес до изображения*/
    /*Вbackground-position: 0 -50px;   кнопка видна только с курсором*/
	background-position: 0 0;   /*кнопка видна всегда*/
    -webkit-background-size: 100% auto;
    /*background-size: 100% auto;  было*/
	background-size: 100% auto;
    position: absolute;
    height: 50px;
    width: 69px;
    transition: none;
	top:0;
    left:0;
    right:0;
    bottom:0;
	 border: none;
	margin:auto;  /* кнопка по центру*/
    /* margin:20px;  кнопка слева вверху*/
	filter: saturate(1.0);
	opacity: 0.6;
	filter: alpha(opacity=70); /* For IE8 and earlier */
}

.container .btn:hover {
     /*height: 55px;*/
    /*width: 75px;*/
	filter: saturate(1);
	opacity: 1.0;
	filter: alpha(opacity=100); /* For IE8 and earlier */
}



/*container2 (постер видео и кнопка play)*/

.container2 {
position:relative;
    width: 560px;
    max-width: 560px;
}

.container2 img {
    width: 560px;
    height: auto;
}

.container2 .btn2 {
    background: url('../img/play.png') no-repeat; /*ВАЖНО: здесь укажите адрес до изображения*/
    /*Вbackground-position: 0 -50px;   кнопка видна только с курсором*/
	background-position: 0 0;   /*кнопка видна всегда*/
    -webkit-background-size: 100% auto;
    /*background-size: 100% auto;  было*/
	background-size: 100% auto;
    position: absolute;
    height: 50px;
    width: 69px;
    transition: none;
	top:0;
    left:0;
    right:0;
    bottom:0;
	 border: none;
	margin:auto;  /* кнопка по центру*/
    /* margin:20px;  кнопка слева вверху*/
	filter: saturate(1.0);
	opacity: 0.6;
	filter: alpha(opacity=70); /* For IE8 and earlier */
}

.container2 .btn2:hover {
     /*height: 55px;*/
    /*width: 75px;*/
	filter: saturate(1);
	opacity: 1.0;
	filter: alpha(opacity=100); /* For IE8 and earlier */
}




* A.mp
{  
	Font-Size: 14px;
	color: black;
	/*background-color: #CECECE;*/
	background-color: #DADADA;
	text-decoration: none
	
}

* A.mp:hover
{   text-decoration: none;
    background-color: #FF0000;
    COLOR: #00FFFF
}
* A.mp:active
{
    COLOR: #555555
}



