@import url('https://fonts.googleapis.com/css?family=Alegreya|Amatic+SC');

html{	
	width: 100%;
	height: 100%;
	overflow-x: hidden;
}

body, html{	
	background-color: #f2f2f2;
	font-family: 'Alegreya', serif;
	font-weight: 300;
	font-size: 18px;
	color: #555;
	padding-top: 50px;
}

table.calendar{
	font-size: 2em;
}

a {
	color: #f85c37;	
}
	
.text-muted a:focus, .text-muted a:hover, a:hover, a:focus{
	color: #2b2b2b;
	text-decoration: none;
	outline: 0;
}
.text-muted a{
	color: #6c757d;
	text-decoration: underline;
}

.text-center a p{
	color: #555;
}


.btn-danger{
	background: #f85c37;
	border-color: #f56e4e;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger:disabled{
	background: #f56e4e;
	border-color: #f56e4e;
}

.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
  color: #fff;
  background-color: #fc8468;
  border-color: #f56e4e;
}

.navbar-nav li{
	padding-right: 5px;
}

.nav-link {
  font-size: 1.15em !important;
}

.breadcrumb-item + .breadcrumb-item::before {
	display: inline-block;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	color: #6c757d;
	content: "\f105";
	font-family: FontAwesome;
}

.breadcrumb-item.active a{
  color: #6c757d;
}

@media (min-width: 700px){
	.carousel-inner img{
		width: 100%;
	}
}

.carousel-caption{
	top: 50%;
	right: 0.5%;
	left: 0.5%;
	text-shadow: 1px 1px 10px #000;
}

.carousel-caption .display-2{
	font-size: 3.2em;
}
	
.carousel-caption h3{
	font-size: 2.3em;
}

@media (max-width: 770px){
	.carousel-caption .display-2{
		font-size: 2.4em;
	}
	.carousel-caption h3{
		font-size: 2em;
	}
	
}

@media (max-width: 450px){
	.carousel-caption .display-2{
		font-size: 1.4em;
	}
	.carousel-caption h3{
		font-size: 1em;
	}
	.carousel-caption .btn{
		font-size: 0.9em;
	}
	.carousel-inner img{
	margin-left: -50%;
}
}

.carousel-fade .carousel-item {
 opacity: 0;
 transition-duration: .6s;
 transition-property: opacity;
}

.carousel-fade  .carousel-item.active{
  opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade  .active.carousel-item-right {
 opacity: 0;
}

.carousel-fade  .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade  .active.carousel-item-prev {
 transform: translateX(0);
 transform: translate3d(0, 0, 0);
}


.jumbotron{
	padding: 1em;
	border-radius: 0;
	width: 85%;
	margin: 0 auto;
	margin-top: 20px;
}

.padding{
	padding-bottom: 2em;
}

.margin{
	margin-top: 2em;
}

.alert{
	width: 80%;
	margin: 0 auto;
	padding-top: 1em;
}

.alert hr{
	border-top: 2px solid #a1a1a1;
	width: 95%;
	margin-top: 0.3em;
	margin-bottom: 1em;
}

.fa-calendar-alt{color:#e54da6;}
.fa-heart{color:red;}
.fa-universal-access{color:#e54d26;}

.fa-calendar-alt, .fa-heart, .fa-universal-access{
	font-size: 3em;
	margin: 1em;
}

.form-group{
	display: block;
	width: 100% !important;
}

#fixed{
	height: 350px;
	border-top: 4px solid #f0f0f0;
	border-bottom: 4px solid #f0f0f0;
	background: url("https://sun9-4.userapi.com/c858520/v858520145/8fdd5/_TbKkcpVWoM.jpg") no-repeat center center fixed;
	background-blend-mode: multiply;
	background-color: lightblue;
	background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
}
#gifsBtn{
	margin-top: 250px;
}

#gifs img{
	max-width: 100%;
	max-height: 200px;
	margin-bottom: 20px;
}

@media (max-width: 900px){
	.display-5{
		font-size: 1.5em;
	}
}

@media (max-width: 770px){
	.display-5{
		font-size: 1.1em;
	}
}

.display-4{
	font-size: 2.3em;
}

@media (max-width: 900px){
	.display-4{
		font-size: 2em;
	}
}

@media (max-width: 770px){
	.display-4{
		font-size: 1.5em;
	}
}

@media (max-width: 770px){
	.display-3{
		font-size: 1.7em;
	}
}

@media (max-width: 770px){
	table.calendar{
		font-size: 1em;
	}
}

@media (max-width: 500px){
	
	.lead{
		font-size: 0.8em;
	}
	table.calendar, .row.alert .col-12 p{
		font-size: 0.6em;
	}
	.alert{
		width: 100%;
	}
	
}

.fa-facebook{color: lightblue;}
.fa-instagram{color: pink;}
.fa-twitter{color:#00aced;}
.fa-youtube{color: red;}
.fa-vk{color: blue;}

.fa-facebook:hover, .fa-instagram:hover, .fa-twitter:hover, .fa-youtube:hover, .fa-vk:hover{
	color: #ccc;
}

footer{
	background-color: #0f0f0f;
	padding-top: 50px;
	border-top: 4px solid silver;
	color: white;
}

.menu li{
	display: inline-block;
	margin-left: 20px;
}

.menu{
	background-color: #f9f9f9;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

@media (min-width: 500px){
	.menu{
		font-size: 1.3em;
	}
}

@media (min-width: 770px){
	.menu{
		font-size: 1.5em;
	}
}

#team_list{
	background: url(../img/kuzYGANP2MI.jpg) no-repeat center top;
	margin-top: -10px;
	padding-top: 70px;
	background-attachment: relative;
	background-position: center center;
	min-height: 700px;
	width: 100%;
	background-size: 100%;
	background-size: cover;
}

#team_list h1{
	color: white;
}

td {
    padding: 10px;
}

.calendar td{
	padding-left: 0;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-top: 0.5px solid #fff;
}

.btn-back{
	position: fixed;
	top: 150px;
	left: 30px;	
	font-size: 2.5em;
}

@media (max-width: 770px){
	.btn-back{
		top: 140px;
		left: 20px;
		font-size: 2em;
	}
}

@media (max-width: 500px){
	.btn-back{
		top: 140px;
		left: 8px;
		font-size: 1.5em;
	}
}

.btn-top{
	display: none;
	position: fixed;
	bottom: 20px;
	left: 40px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: #f85c37;
	cursor: pointer;
	border-radius: 10px;
	width: 50px !important;
	height: 50px !important;
	border-color: transparent;
	border-radius: 50%;
}

.btn-top:hover{
	background-color: black;
}


.btn-top::before,.btn-top::after{
	content: ' ';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.btn-top::before{
	width: 5px;
	height: 25px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	background-color: #f5f0f6;
}

.btn-top::after{
	width: 20px;
	height: 20px;
	transform: translate(-50%, -50%) rotate(45deg);
	border-top: 5px solid #f5f0f6;
	border-left: 5px solid #f5f0f6;
}

.sps{
	display: none;
}

.text-warning{
	color: red;
}

.gold{
	color: #a77f1c;
}

#uspeh{
	background-color: #888 ;
	margin-top: 10px;
	padding-top: 10px;	
	padding-left: 20px;
	text-align: left-side;
	color: #3f3f3f;
	background-attachment: relative;
	background-position: center center;
	min-height: 200px;
	width: 100%;
	background-size: 100%;
	background-size: cover;	
}

#uspeh h3{
	color: #f2f2f2;
}

#headerwrap_2 {
	background: url(../img/IMG-20190813-WA0040.jpg) no-repeat center top;
	margin-top: -30px;
	padding-top: 20px;
	text-align: center;
	background-attachment: relative;
	background-position: center center;
	min-height: 400px;
	width: 100%;
	background-size: 100%;
	background-size: cover;
}

#headerwrap_2 h1{
	margin-top: 150px;
	color: white;
	font-size: 3em;
	font-weight: 300;
	letter-spacing: 3px;
	font-family: 'Amatic SC', cursive;
}
.partners{
   background-color: #ffffff;
}

#question {
	background: url(https://www.publicdomainpictures.net/pictures/90000/nahled/question-marks-background.jpg) no-repeat center top;
	text-align: center;
	background-attachment: relative;
	background-position: center center;
	min-height: 100px;
	width: 100%;
	background-size: 100%;
	background-size: cover;
	color: #1f1f1f;
}
#question h2{	
	text-shadow: white 1px 1px 0, white -1px -1px 0, 
                 white -1px 1px 0, white 1px -1px 0;
}

#registration {
	background: url(../img/cup.jpg) repeat-x ;
	text-align: center;
	background-attachment: relative;
	background-position: center center;
	min-height: 100px;
	width: 100%;
	background-size: 100%;
	background-size: cover;
	color: white;
}
#registration h2{	
	text-shadow: black 1px 1px 0, black -1px -1px 0, 
                 black -1px 1px 0, black 1px -1px 0;
}

#call {
	/*background: url(../img/paper66.jpg) repeat-x center;*/
	background-color: white;
	text-align: center;
	background-attachment: relative;
	background-position: center center;
	min-height: 100px;
	color: black;
}
#call h2{	
	text-shadow: white 1px 1px 0, white -1px -1px 0, 
                 white -1px 1px 0, white 1px -1px 0;
}

#fees {
	background: url(../img/111.jpg) no-repeat center top;
	margin-top: -20px;
	text-align: center;
	background-attachment: relative;
	background-position: center center;
	min-height: 500px;
	width: 100%;
	background-size: 100%;
	background-size: cover;
}
#fees h1{
	margin-top: 160px;
	color: white;
	font-size: 70px;
	font-weight: 300;
	letter-spacing: 3px;
	font-family: 'Amatic SC', cursive;
}

.modal-body{
	margin-left: 15px;
	margin-right: 15px;
}

.rightimg{
	float: right;
}

footer h3{
	font-size: 1.6em;
	padding-bottom: 0.3em;
}


@media (max-width: 900px){
	footer h3{
		font-size: 1.2em;
	}
}

@media (max-width: 770px){
	footer h3{
		font-size: 1em;
	}
}

footer{
	line-height: 2;
}

.sizer1{
	width: 100%;

}

.sizer4{
	width: 25%;
}

.item-masonry{
	position: relative;	
	display: block;
	margin-top: -14px;
}

.item-masonry img{
	width: 100%;
	height: auto;
	display: block;
}

.cover-item-gallery{
	background-color: #000;
	opacity: 0.5;
	position: absolute;
	width: 100%;
	top: 0;
	bottom: 0;
	display: none;
}

.cover-item-gallery a{
	display: block;
	width: 100%;
	height: 100%;
}

.cover-item-gallery a i.fas{
	color: #fff;
	position: absolute!important;
	top: 50% !important;
	left: 50%;
	margin-left: -11px;
	margin-top: -14px;
}