/*
Theme Name: Telegid
Theme URI: http://smartsites.com.ua
Author: SmartSites
Author URI: https://wordpress.org/
Description: Telegid WP theme
Version: 1.0
*/

html {
   position: relative;
    min-height: 100%;
}

body {
    background: #fff;
    font-family: Arial, sans-serif;
    margin-bottom: 281px;
    color: #4d4c4c;
}

/* ----- branding ----- */
 
.branding_link {
    display: block;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0 0 0 -20px;
}
.branding {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
}
/* ----- /branding ----- */

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

.content-area img {
	max-width: 640px;
}

.alignright {
	float: right;
}

.topBar {
    width: 100%;
    background: #de0e13;
    line-height: 37px;
    max-width: 960px; 
    margin: auto;
    position: relative;
}

.topBar a img {
    margin-right: 4px;
    opacity: 0.9
}

.topBar a:hover img {
    opacity: 1;
}

.topBar .subscribe {
    background: #ffc119;
    display: inline-block;
    height: 100%;
    padding: 0 20px;
    color: #303030;
    font-weight: bold;
}

.mainHeader .top {
    background: #ffffff;
    padding: 20px 0 12px 0;
    width: 100%;
    max-width: 960px; 
    margin: auto;
    text-align: center;
    position: relative;
}

.search-form input.form-control,
.search-form .btn {
    height: 25px;
    display: inline-block;
}

.search-form input.form-control {
    padding-right: 30px;
    border-color: #d30c0c;
}

.search-form input.form-control:focus {
    border: solid 1px #d30c0c;
}

.search-form .btn {
    width: 25px;
    height: 23px;
    padding: 0;
    line-height: 27px;
    font-size: 12px;
    border: none;
    
    float: right;
    background: none;
	margin-top: -30px;
	position: relative;
	left: -5px;
}

.navbar {
    background: #ed1f24;
    border-radius: 0 0 8px 8px;
    border: 0px;
    overflow: visible;
    color: #ffffff;
    font-family: "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
    max-width: 960px;
}

.navbar-nav {
    margin: 0;
}

.navbar .container-fluid {
    overflow: hidden;
    padding: 0;
    left: 0; right: 0; top: 0; bottom: 0;
    margin: 0;
}

.navbar .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.nav>li>a:hover,
.nav>li>a:focus,
.nav .current-menu-item a{
    background: #d30c0c;
}

.nav>li:first-child,
.nav>li.current-menu-item:first-child a,
.nav>li:first-child a:hover,
.nav>li:first-child a:focus {
    border-bottom-left-radius: 8px;
}

/*.nav>li:last-child,
.nav>li.current-menu-item:last-child a,
.nav>li:last-child a:hover,
.nav>li:last-child a:focus {
    border-bottom-right-radius: 8px;
}*/

.nav>li>a {
    color: #ffffff;
    line-height: 51px;
    padding: 0 10.5px;
}

[class*='col-'] {
    padding-right:0;
    padding-left:0;
}

.rightBar {
    padding-left: 10px;
    padding-right: 0;
}

.leftBar {
    padding-right: 10px;
    padding-left: 0
}

.blogs {
    padding: 5px;
    background: #ffffff;
}

.blogs .blogsImg {
    width: 100%;
    height: 120px;
}

.blogs .text {
    padding: 5px;
    font-size: 14px;
}

.blogs a{
    color: #454545;
    display: block;
    margin: 0px 0 20px 0;
}

.blogs .all,
a.all {
    color: #ed1f24;
    text-decoration: underline;
    display: inline-block;
}

.carousel .item img {
    width: 100%;
}

.sliderImg {
    width: 482px;
    height: 308px;
}

.carousel-caption {
    background: rgba(0,0,0,0.45);
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: left;
    padding: 15px;
    text-shadow: none;
}

.carousel-caption h2 {
    font-size: 20px;
    margin: 0;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.75);
}

.carousel-caption h2 a {
    color: #ffffff;
}

.carousel-indicators{
    position: relative;
}

.sliderNav {
    padding: 0;
    margin-left: 0px;
}

.sliderNav li {
    margin-left: -10px;
    list-style-type: none;
	font-weight: bold;
	
	
}

.sliderNav li:last-child span {
	border-bottom: none
}

.sliderNav li span {

	max-height: 71px;
	text-overflow: ellipsis;
	overflow: hiden;
	padding: 12px 15px 12px 15px;
    display: block;
    
    margin-left: 10px;
    font-size: 13px;
    color: #4d4c4c;
    border-bottom: 1px solid #e6e6e6;
    cursor: pointer;
}

.sliderNav li span:hover {
    color: #ed1f24;
    text-decoration: none;
}

.sliderNav .active span {
    color: #ed1f24;
}
.sliderNav .active {
    background: url('img/slider_active.png') no-repeat left;
}

.sliderNav li span:focus {
    text-decoration: none;
}

.lastPost .img {
    width: 132px;
    height: 90px;
    
    margin-right: 10px;
}

.lastPost {
    line-height: 20px;
    
}

.lastPost small {
    font-size: 12px;
    color: #b3b3b3;
}

.entry-header a,
.lastPosts a {
    font-size: 16px;
    font-weight: bold;
    color: #4d4d4d;
}

a .label {
	opacity: 0.8;
	font-size: 10px;
} 

a:hover .label {
	opacity: 1;
} 

.lastPosts a:hover, .post a:hover {
    text-decoration: none;
	color: #ed1f24;
}

.pagination-3 a.page-numbers,
.pagination-3  .nav-links>span {
    display: inline-block;
    width: 37px;
    height: 37px;
    text-align: center;
    line-height: 37px;
    background: #ed1f24;
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    font-family: "Arial Narrow", Arial, sans-serif;
    float: left;
    border-left: 1px solid #cb1d21;
	border-bottom: 1px solid #cb1d21;
}

nav.navigation.pagination h2.screen-reader-text {
	display: none;
}

nav.navigation.pagination {
	margin: 0;
	width: 100%;
	background: #ed1f24;
	border-radius: 0;
}
.pagination-3 a:hover,
.pagination-3 .active,
.pagination-3 span.current {
    background: #cb1d21;
	color: #ffffff;
	text-decoration: none;
}


.pagination-2 {
    margin-left: -15px;
	margin-right: -15px;
	background: #ed1f24;
	width: 482.5px;
	border-radius: 0;
}

.pagination-2 a,
.pagination-2  .nav-links>span {
    display: inline-block;
    width: 37px;
    height: 37px;
    text-align: center;
    line-height: 37px;
    background: #ed1f24;
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    font-family: "Arial Narrow", Arial, sans-serif;
    float: left;
    border-left: 1px solid #cb1d21;
	border-bottom: 1px solid #cb1d21;
}

.pagination-2 .start, .pagination-2 .end {
    width: 74px;
    padding: 0 10px 0 10px;
}


.pagination-2 .start {
    margin-left: 0;
    border-left: none;
}

.pagination-2 a:hover,
.pagination-2 .active,
.pagination-2 .current {
    background: #cb1d21;
	color: #ffffff;
}

.pagination-2 .current {
    display: inline-block;
    width: 37px;
    height: 37px;
}

.lastJournalLabel {
    background: url('img/lastJournalLabel.png') no-repeat;
    width: 173px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    color: #ffffff;
}

.lastJournal a{
    font-weight: bold;
    text-decoration: underline;
    color: #333333;
}

.lastJournalImg {
    width: 203px;
    height: 279px;
    margin-bottom: 12px;
}

.lastJournal img {
    margin-bottom: 12px;
}

.lastJournal .archive {
    display: inline-block;
    width: 203px;
    background: #e0e0e0;
    line-height: 44px;
    font-weight: normal;
    font-family: "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.lastJournal .archive:hover {
    background: #d8d8d8;
}

.getSubscribe {
    display: block;
    color: #333333;
    font-weight: bold;
    display: block;
    line-height: 68px;
    text-align: center;
    background: #ffc119;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 14px;
}

.getSubscribe:hover {
    text-decoration: none;
    background: #f4b919;
    color: #333333;
}

.mainFooter {
    height: 261px;
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #b0b0b0;
}

.mainFooter .current-menu-item a {
    background: none;
    text-decoration: underline;
}

.mainFooter, .mainFooter [class*='col-'], .mobileFooter {
    background: #4b4b4b;
}

.mainFooter a {
    color: #b0b0b0;
}

.mainFooter a:hover {
    color: #b0b0b0;
    text-decoration: underline;
}

.mainFooter .info {
    display: inline-block;
    font-size: 12px;
    line-height: 16px;
    margin-top: 10px;
}

.mainFooter .info a {
    color: #fe4145;
    text-decoration: underline;
}

.mainFooter .nav a {
    color: #c9c9c9;
    font-size: 12px;
    display: inline-block;
    line-height: 25px;
}

.mobileFooter {
    padding: 35px 20px 0 20px;

}

.mobileFooter .nav a {
    font-size: 16px;
    line-height: 40px;
}

.mobileFooter, .mobileFooter a {
    font-size: 16px;
}

.mobileFooter {
    padding-bottom: 20px;
}

.footerMenu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.thumbnailImg {
    width: 132px;
    height: 83px;
}

.edit-link a {
    font-size: 12px;
    text-decoration: underline;
    font-weight: normal;
}

.comment-list {
    padding: 0;
    margin: 0;
}

.children {
    list-style-type: none;
}

.comment-body img {
    float: left;
    padding: 0 10px 10px 0;
}

.comment-body time {
    font-size: 12px;
    display: block;
}

.edit-link {
    display: block;

}

.comment-body .edit-link {
    margin-top: 0;
    display: block;
}

.comment-body {
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 10px;
}

.featured-video-plus iframe {
    max-width: 482px;
    max-height: 308px;
}
.slider .featured-video-plus{
    max-height: 308px;
}

.slider {
	height: 308px;
}


.videos .featured-video-plus iframe {
    max-width: 300px;
    max-height: 200px;
}

.videos a {
    font-weight: bold;
    font-size: 16px;
    color: #4d4c4c;
}

.videos a:hover {
    text-decoration: none;
    color: #ed1f24;
}

.video-single .featured-video-plus iframe {
    max-width: 640px;
    max-height: 350px;
    margin-bottom: 10px;
}

.open {
    background: #d30c0c;
}

.sub-menu {
    position: absolute;
    z-index: 1000;
    white-space: nowrap;
    padding: 0;
    visibility: hidden;
    list-style-type: none;
}

.sub-menu li a {
    background: #d30c0c;
    padding: 0 10px;
    line-height: 50px;
    display: block;
    color: #FFFFFF;
    text-decoration: none;
}

.sub-menu li a:hover,
.sub-menu .current-menu-item a {
    background: #bf1111;
}

.menu-item-has-children:hover .sub-menu{
    visibility: visible;
}

table tr td {
    vertical-align: top;
    padding: 10px;
}

figcaption {
    font-size: 12px;
    color: #b3b3b3;
}

.fluid-width-video-wrapper
{
    width: auto;
    height: auto;
}

.a-block small
{
    color: #b3b3b3;
    font-weight: normal;
}

.a-block .title {
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

.a-block a {
    color: #4d4d4d;
    display: block;
    text-decoration: none;
    font-weight: bold;
}

.a-block a:hover {
    color: #ed1f24;
}

.a-block a.all {
    color: #ed1f24;
    text-decoration: underline;
    display: inline-block;
    font-weight: normal;
}

img.alignleft,
figure.alignleft {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

figure.alignleft {
	margin-bottom: 0;
}

img.alignRight
fidure.alignRight {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

.ins-green h1,
.ins-green h2,
.ins-green h3,
.ins-green h4,
.ins-green h5,
.ins-green h6 {
    color: rgba(76, 175, 80, 1);
    margin: 0;
}

.ins-blue h1,
.ins-blue h2,
.ins-blue h3,
.ins-blue h4,
.ins-blue h5,
.ins-blue h6 {
    color: rgba(33,150,243, 1);
    margin: 0;
}

.ins-red h1,
.ins-red h2,
.ins-red h3,
.ins-red h4,
.ins-red h5,
.ins-red h6 {
    color: rgba(244,67,54,1);
    margin: 0;
}

.control-label {padding-right: 10px;}

#smartSitesSubcr-form .form-group {
    padding: 0 15px;
}

/*FIX*/
.padding-left-15 {padding-left: 15px;}
.padding-right-20 {padding-right: 20px;}
.padding-right-24 {padding-right: 24px;}
.padding-right-15 {padding-right: 15px;}

/* Анимация иконки */
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
    font-size: 11px;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

/* Планшеты и мобильные */
@media(max-width:991px)
{
    .padding-left-15 {padding-left: 0px;}
    .padding-right-20 {padding-right: 0px;}
    .padding-right-15{padding-right: 0px;}
	.slider {height: auto;}


}
/* BS xs */
@media(max-width:767px)
{
    .mainContent {margin: 0 20px 0 20px}

    .sub-menu {
        position: relative;
        z-index: 1000;
        white-space: nowrap;
        padding: 0;
        visibility: visible;
        list-style-type: none;
    }

    .sub-menu li a {
        background: none;
        padding: 0 10px 0 30px;
        line-height: 50px;
        display: block;
        color: #FFFFFF;
        text-decoration: none;
    }
}


/* Планшеты */
@media(min-width:768px) and (max-width: 991px)
{
    .sub-menu {
        position: relative;
        z-index: 1000;
        white-space: nowrap;
        padding: 0;
        visibility: hidden;
        list-style-type: none;
    }

    .sub-menu li {display: inline-block}

    .sub-menu li a {
        background: none;
        padding: 0 10px 0 30px;
        line-height: 50px;
        color: white;
        text-decoration: none;
        display: block;
    }
}

 /* BS md */
@media(min-width:992px)
{

}

/* BS lg */
@media(min-width:1200px)
{

}

/* Планшеты и телефоны */
@media(max-width: 991px)
{
    .search-form {
        padding: 20px;
    }

    .search-form .btn {
        position: relative;
        display: block;
        left: 0;
        width: 100%;
        background: #d30c0c;
        height: 40px;
        line-height: 40px;
        border: 1px solid rgba(255,255,255, 0.5);
        color: white;
		margin-top: 10px;
		margin-bottom: 20px;
    }

    .search-form input.form-control {
        height: 40px;
    }

    .nav>li:first-child,
    .nav>li.current-menu-item:first-child a,
    .nav>li:first-child a:hover,
    .nav>li:first-child a:focus {
        border-bottom-left-radius: 0px;
    }
	
	.padding-right-24 {
		padding-right: 0;
	}
	
	.leftBar {
		margin-top: 15px;
	}
	
	.pagination-2 {
		margin-left: -15px;
		margin-right: -15px;
		background: #ed1f24;
		width: 100%;
		border-radius: 0;
		z-index: 10000;
	}

	.pagination-2 a,
	.pagination-2  .nav-links>span {
		display: inline-block;
		width: 37px;
		height: 37px;
		text-align: center;
		line-height: 37px;
		background: #ed1f24;
		color: #ffffff;
		font-size: 14px;
		font-weight: normal;
		font-family: "Arial Narrow", Arial, sans-serif;
		float: left;
		border-left: 1px solid #cb1d21;
		border-bottom: 1px solid #cb1d21;
	}

	.pagination-2 .start, .pagination-2 .end {
		width: auto;
		padding: 0 10px 0 10px;
	}


	.pagination-2 .start {
		margin-left: 0;
		border-left: none;
	}

	.pagination-2 a:hover,
	.pagination-2 .active,
	.pagination-2 .current {
		background: #cb1d21;
		color: #ffffff;
	}

	.pagination-2 .current {
		display: inline-block;
		width: 37px;
		height: 37px;
	}
	
	
	.lastJournalLabel {
		margin-top: 60px;
	}
	
	
	.padding-left-15 {
		position: relative;
		z-index: 1;
	}
	
	.mobile-fix-sidebar {
		margin-top: 200px;
	}
}

/* Телефоны */
@media(max-width: 767px){
	.lastPost .img {width: 100%; margin-right: 20px;}
	.lastPost .col-xs-8 {padding-left: 20px;}
	.mobile-fix-sidebar {margin-top: 20px;}
}


blockquote>p:before {
	content: '«';
	margin: -20px 0 0 -45px;
}

blockquote>p:after {
	content: '»';
	margin: -17px 0 0 -15px;
	
}


blockquote>p:before,
blockquote>p:after
{
	font-size: 36px;
	color: #cccccc;
	display: inline-block;
	position: absolute;
}

blockquote>p {
	text-indent: 20px; 
}

blockquote {
	padding: 0 0 0 40px;
	margin: 0;
	border: 0;
	font-size: 14px;
	font-style: italic;
	margin: 20px 0;
}

.lastPost .announcement {
	font-size: 12px;
	line-height: 13px;
	font-weight: normal;
	margin-top: 4px;
	color: #4d4d4d;
}

.wp-caption-text {
	padding-top: 5px;
}

/*========== New ==========*/
.block-label {
    background: url('img/lastJournalLabel.png') no-repeat;
    width: 173px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    color: #ffffff;
}

img.alignright, *.alignright {
	margin-left: 10px;
}

.label {
	display: inline-block;
	line-height: 12px;
}

.quote-style-1 {
	display: block;
}

/* ------ over header adv ----------- */
.sam-pro-container a img {
    opacity: 1;
}
/* ------ /over header adv ----------- */