/*
Theme Name:     Newsmax child
Template:      	newsmax
Theme URI:      http://newsmax.themeruby.com/
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Newsmax in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, editor-style, featured-images, theme-options, custom-colors, translation-ready
License:        license purchased
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */




.myvideo {
position:relative;
padding-bottom:56.25%;
height:0;
overflow:hidden;
}
.myvideo iframe,.myvideo object,.myvideo embed {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}
.footer-about-us {max-width:601px;}
.sport{margin-top:-25px;padding-bottom:5px;padding-top:0;}
.article__authors {
    margin-bottom: 5px;
    font-family: Kazimir,'Helvetica CY',Arial,sans-serif;
    font-style: italic;
    color: #222;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: .5px;
}
.is-entry-padding .single-post-body{margin-right:20px;}
.wp-caption-video, .wp-caption-text {
    display: block;
    padding-top: 5px;
    text-align: right;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}
.footer-about-us p {
    font-size: 11px;
    font-style: oblique;
}

/* Заголовок с линией */ 
	.titleline {
    overflow: hidden;
    text-align: center;
    font-size: 24px;
}
.titleline span {
    display: inline-block;
    vertical-align: middle;
}
.titleline:before,
.titleline:after {
     content: "";
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: 4px;
    background-color: #005195;
    position: relative;
}
.titleline:before {
    margin-left: -100%;
    left: -7px;
}
.titleline:after {
    margin-right: -100%;
    right: -7px;
}
/* Заголовок с линией Конец */ 


.top-footer-wrap {
    background-color: #282828;
    border-bottom: 3px solid #fff;

}
.footer-social-inner {
    border-top: 0px;
}

/* Новости все */
.post-title.is-size-3 {
    letter-spacing: -0.045em;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
}

.post-title.is-size-3 {
    letter-spacing: -0.045em;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
	margin-top: 3px;
	margin-bottom: 3px;
}
.post-feat-4 .post-thumb-outer {
    height: 225px;
    border-radius: 10px;
}

.post-mask-overlay {
	    background: linear-gradient(to bottom, rgba(34, 34, 34, 0) 0%, rgba(34, 34, 34, .85) 30%, rgba(34, 34, 34, .8) 100%);
}

.fw-block-grid-8 .post-outer:nth-child(3n+1) {
    clear: unset;
}

.is-entry-padding .single-post-body {
    margin-right: 75px;
}

@media (min-width: 768px){
.fw-block-grid-8 .post-outer:nth-child(5n+4) {
   width: 66.666666666%;
	}}

/*  Начало CSS кода, оптимизация изображений в мобильной версии  */
@media (max-width: 400px){
	
	
}
@media only screen and (max-width: 1199px) {
	.is-entry-padding .single-post-body.jsmarright {
		margin-right: 0;
		margin-left: 0;
	}
}
@media only screen and (max-width: 568px) {
  #joomsport-container>.jsmainscroll .jsview2 table{
    table-layout: fixed;
  }
  #joomsport-container .jsmainscroll .jsview2 table td.tdminwdt{
    vertical-align: top;
  }
  #joomsport-container .jsmainscroll .jsview2 table td.jstdhometeam{
    display: table;
    margin: 0 auto;
  }
  #joomsport-container .jsmainscroll .jsview2 table td.jstdhometeam>.tdminembl{
    display: table-header-group;
  }
  #joomsport-container .jsmainscroll .jsview2 table .js_div_particName{
    padding-bottom: 0;
  }
  #joomsport-container.jsSliderContainer .jsview2 tr:last-child td, #joomsport-container.jsDefaultContainer .jsview2 tr > td {
	display: table-cell;
  }
}
@media only screen and (max-width: 768px) {

#joomsport-container.jsmodtbl_responsive #jstable_1 th, #joomsport-container.jsmodtbl_responsive #jstable_1 td {
    display: none;
}
#joomsport-container.jsmodtbl_responsive #jstable_1 th:nth-child(2), #joomsport-container.jsmodtbl_responsive #jstable_1 th:nth-child(3), #joomsport-container.jsmodtbl_responsive #jstable_1 th:nth-child(8), #joomsport-container.jsmodtbl_responsive #jstable_1 td:nth-child(2), #joomsport-container.jsmodtbl_responsive #jstable_1 td:nth-child(3), #joomsport-container.jsmodtbl_responsive #jstable_1 td:nth-child(8) {
    display: table-cell;
}
}