/*** Бутстрап кнопка ***///

a.btn {
    text-decoration: none;
    color: white;
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

/*** Кнопочка на основе бутсраповской https://gomel.today/rus/news/gomel-17678/ ***///

.custom-btn {
	margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 60%;
    height: 58px;
    padding-top: 2px;
    border: none;
    position: relative;
    font-size: 15px;
    font-weight: bold;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
}
.custom-btn:after {
    content: "";
    display: block;
    width: 30px;
    height: 300px;
    margin-left: 60px;
    background: #fff;
    background: -moz-linear-gradient(top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.7) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0.7) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0.7) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3ffffff', endColorstr='#b3ffffff',GradientType=0 );
    position: absolute;
    left: -40px;
    top: -150px;
    z-index: 1;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
    -webkit-animation-name: slideme;
    animation-name: slideme;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-delay: 0.05s;
    animation-delay: 0.05s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
 
@-webkit-keyframes slideme {
    0% { left: -30px; margin-left: 0px; }
    30% { left: 110%; margin-left: 80px; }
    100% { left: 110%; margin-left: 80px; } 
}

/*** Карточки https://gomel.today/rus/news/gomel-17728/ ***/

article .show_caption .special-card {
	display: block;
	padding: 20px;
	background-color: white;
	border-radius: 10px;
	margin-bottom: 50px;
	box-shadow: 1px 0px 5px -2px #000000;
	margin-top: 45px;
}
article .show_caption .special-card:after {
	display: block;
	width: 100px;
	height: 5px;
	background-color: gray;
	margin: 0 auto;
	position: relative; 
	bottom: -20px;
}

article .show_caption .special-card p:first-child {
	display: block;
    	font-size: 30px;
    	font-weight: bold;
    	width: 54px;
    	height: 54px;
    	margin: 0 auto;
    	color: white;
    	background-color: #939393;
    	border-radius: 50%;
    	padding: 10px;
    	padding-top: 16px;
    	position: relative;
    	top: -44px;
    	text-align: center;
}

article .show_caption .special-card p:nth-child(2) {
	display: block;
    margin: 0 auto;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 24px !important;
    line-height: 28px;
    margin-bottom: 20px;
    margin-top: -20px;
}

/*** Иконки возле ссылок на соцсети в статьях ***/

.vk-before::before {
	content:"";
	width: 17px;
	height: 17px;
	background-image: url(../images/vk_ico.jpg);
	display: inline-block;
	position: relative;
	top: 2px;
	left: 0px;
	margin-right: 5px;
	}
.inst-before::before {
	content:"";
	width: 17px;
	height: 17px;
	background-image: url(../images/inst-ico.jpg);
	display: inline-block;
	position: relative;
	top: 2px;
	left: 0px;
	margin-right: 5px;
	}
.fb-before::before {
	content:"";
	width: 17px;
	height: 17px;
	background-image: url(../images/fb-ico.jpg);
	display: inline-block;
	position: relative;
	top: 2px;
	left: 0px;
	margin-right: 5px;
	}
.ok-before::before {
	content:"";
	width: 17px;
	height: 17px;
	background-image: url(../images/ok-ico.jpg);
	display: inline-block;
	position: relative;
	top: 2px;
	left: 0px;
	margin-right: 5px;
	}

/*** Алерты (блоки выделения) ***/
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.alert-success hr {
  border-top-color: #c9e2b3;
}
.alert-success .alert-link {
  color: #2b542c;
}
.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert-info hr {
  border-top-color: #a6e1ec;
}
.alert-info .alert-link {
  color: #245269;
}
.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.alert-warning hr {
  border-top-color: #f7e1b5;
}
.alert-warning .alert-link {
  color: #66512c;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.alert-danger hr {
  border-top-color: #e4b9c0;
}
.alert-danger .alert-link {
  color: #843534;
}

#yandex_rtb_R-A-244855-12, #yandex_rtb_R-A-244855-11 {
	margin-bottom: 15px;
    background-color: #ededed;
    padding: 5px;
}