/*********************************************************************************************
Project : rwdgrid - responsive grid system for your next project
URI: http://rwdgrid.com/
Version: 1.0
Author: Vineeth G S
Author URI: http://www.gsvineeth.com
Github URI: https://github.com/gsvineeth/rwdgrid/
**********************************************************************************************
1. Normalize.css
2. Grid 1200px
3. Grid 960px
4. Grid 720px
5. Grid lt 720px/ Mobile
6. Responsive Image
**********************************************************************************************/
/*********************************************************************************************
1. normalize.css v2.0.1 | MIT License | git.io/normalize
*********************************************************************************************/
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 8/9.
*/
audio,
canvas,
video {
display: inline-block;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address styling not present in IE 8/9.
*/
[hidden] {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address variable `h1` font size within `section` and `article` contexts in
* Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
}
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Correct font family set oddly in Safari 5 and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
/**
* Set consistent quote types.
*/
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9.
*/
img {
border: 0;
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari 5.
*/
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* 1. Correct font family not being inherited in all browsers.
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
button,
input,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 2 */
margin: 0; /* 3 */
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to `content-box` in IE 8/9.
* 2. Remove excess padding in IE 8/9.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
/*********************************************************************************************
2. Grid 1200px
*********************************************************************************************/
.container-12 {
margin:0 auto;
width: 1200px;
background: #fff;
}
.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12, .grid-13, .grid-14, .grid-15, .grid-16 {
display:inline;
float: left;
margin-left: 10px;
margin-right: 10px;
}
.alpha {
margin-left: 0;
}
.omega {
margin-right: 0;
}
.beta {
margin-left: 0;
margin-right: 0;
}
.container-12 .grid-1 {
width:80px;
}
.container-12 .grid-2 {
width:180px;
}
.container-12 .grid-3 {
width:280px;
}
.container-12 .grid-4 {
width:360px;
}
.container-12 .grid-5 {
width:500px;
}
.container-12 .grid-6 {
width:580px;
}
.container-12 .grid-7 {
width:680px;
}
.container-12 .grid-8 {
width:780px;
}
.container-12 .grid-9 {
width:880px;
}
.container-12 .grid-10 {
width:980px;
}
.container-12 .grid-11 {
width:1080px;
}
.container-12 .grid-12 {
width:1180px;
}
/*********************************************************************************************
3. Grid 960px (mediaqueries)
*********************************************************************************************/
@media only screen and (min-width: 960px) and (max-width: 1199px) {
.container-12 {
width: 960px;
}
.container-12 .grid-1 {
width:60px;
}
.container-12 .grid-2 {
width:140px;
}
.container-12 .grid-3 {
width:280px;
}
.container-12 .grid-4 {
width:240px;
}
.container-12 .grid-5 {
width:380px;
}
.container-12 .grid-6 {
width:460px;
}
.container-12 .grid-7 {
width:540px;
}
.container-12 .grid-8 {
width:620px;
}
.container-12 .grid-9 {
width:640px;
}
.container-12 .grid-10 {
width:780px;
}
.container-12 .grid-11 {
width:860px;
}
.container-12 .grid-12 {
width:940px;
}
.simnews {
overflow: visible;
}
.tm ul li { float: left; display: block; padding: 13px 15px;}
.story-short {
width: 100%;
}
.short3 {
width: 90%;
}
.tabs-list ul.tabs {
width: 180px;
}
.tabs-list ul.tabs li {
font-size: 13px;
padding: 8px 8px;
}
.tabs-list .img {
width: 180px;
}
.coment {
width: 90%;
}
.short4 h2 {
font-size: 14px;
}
.sliderContent, .hotnews {
max-height: 220px;
}
.short5 {
margin: 0 !important;
}
.story-short {
margin: 0 !important;
}
.story-shory .img {
margin: 0;
}
.media_960 {
display: block;
}
.media_960_hide {
display: none;
}
.custom-news-block .img-wrap {
width: 120px;
overflow: hidden;
float: left;
margin: 0 10px 0 0;
}
.custom-news-block img {
max-width: 120px;
float: left;
overflow: hidden;
}
.inf {
display: none;
}
}
/*********************************************************************************************
4. Grid 720px (mediaqueries)
*********************************************************************************************/
@media only screen and (min-width: 720px) and (max-width: 959px) {
.container-12 {
width: 720px;
}
.container-12 .grid-1 {
width:40px;
}
.container-12 .grid-2 {
width:100px;
}
.container-12 .grid-3 {
width:280px;
}
.container-12 .grid-4 {
width:280px;
}
.container-12 .grid-5 {
width:400px;
}
.container-12 .grid-6 {
width:340px;
position: relative;
padding-bottom: 50px;
}
.container-12 .grid-7 {
width:400px;
}
.container-12 .grid-8 {
width:460px;
}
.container-12 .grid-9 {
width:400px;
}
.container-12 .grid-10 {
width:580px;
}
.container-12 .grid-11 {
width:640px;
}
.container-12 .grid-12 {
width:700px;
position: relative;
}
#timer {
font-size: 13px;
position: absolute;
right: -150px;
top: 0;
}
.tabs-list ul.tabs {
width: 180px;
}
.tabs-list ul.tabs li {
font-size: 13px;
padding: 8px 8px;
}
.tabs-list .img {
width: 200px;
}
.socgroup {
position: absolute;
top: 65px;
right: 0;
z-index: 1;
}
.coment {
width: 75%;
}
.coment-area {
width: 90%;
}
.story-short {
width: 100%;
}
.short3 {
width: 95%;
height: auto;
}
.short3 .img {
max-width: 120px;
}
.sliderContent, .hotnews {
max-height: 220px;
}
.media_720 {
display: block;
}
.media_720_hide {
display: none;
}
.inf {
display: none;
}
}
/*********************************************************************************************
5. Grid lt 720px / Mobile (mediaqueries)
*********************************************************************************************/
@media only screen and (max-width: 719px) {
.f_textarea {
width: 200px;
}
.story-short, .short6 {
margin: 0 !important;
}
.ip-title {
margin: 75px 15px 0 15px;
}
.container-12 {
padding: 0 10px;
}
.tm ul {
position: absolute !important;
margin: 0;
top: 60px !important;
left: 0;
background: #fff;
border: solid 1px #dfdfdf;
padding: 5px 25px;
}
.container-12, .container-16 {
width: 90%;
}
.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12, .grid-13, .grid-14, .grid-15, .grid-16 {
width:100%;
margin-left: 0px;
margin-right: 0px;
}
.alpha {
margin-left: 0;
}
.omega {
margin-right: 0;
}
.beta {
margin-left: 0;
margin-right: 0;
}
.container-16 .grid-1, .container-16 .grid-2, .container-16 .grid-3, .container-16 .grid-4, .container-16 .grid-5, .container-16 .grid-6, .container-16 .grid-7, .container-16 .grid-8, .container-16 .grid-9, .container-16 .grid-10, .container-16 .grid-11, .container-16 .grid-12, .container-16 .grid-13, .container-16 .grid-14, .container-16 .grid-15, .container-16 .grid-16, .container-12 .grid-1, .container-12 .grid-2, .container-12 .grid-3, .container-12 .grid-4, .container-12 .grid-5, .container-12 .grid-6, .container-12 .grid-7, .container-12 .grid-8, .container-12 .grid-9, .container-12 .grid-10, .container-12 .grid-11, .container-12 .grid-12 {
width:100%;
}
a#pull2 {
background: url('../images/nav-icon2.png') no-repeat;
top: 225px !important;
position: absolute;
left: 10px;
z-index: 999 !important;
}
.logo {
float: none;
margin: 50px auto 0 auto;
}
#timer {
text-align: center;
position: relative;
width: 100%;
padding: 10px 0 20px 0;
margin: 0;
}
.grid-6 {
position: relative;
}
a.loginlink {
width: 124px;
height: 58px;
background: url(../images/login_profile.png) no-repeat;
top: -110px;
left: 45%;
position: absolute;
z-index: 100;
}
a.loginlink_enter {
width: 106px;
background: url(../images/login.png) no-repeat;
}
.socgroup {
z-index: 1;
text-align: center;
float: none;
margin: 10px 0 30px -20px;
}
.socgroup a {
text-align: center;
display: inline-block;
float: none;
}
.searchBar {
display: none;
margin-right:0;
}
.media_search {
top: 176px !important;
position: absolute;
right: 0;
z-index: 999;
}
.coment {
width: 90%;
}
.coment-area {
width: 75%;
}
.story-short {
width: 100%;
}
#navi {
float: left;
margin: 25px 15px;
}
.tabs-list ul.tabs {
width: 100%;
float: right;
z-index: 10;
}
.tabs-list .img {
max-width: 100%;
z-index: 100;
float: left;
margin: 0;
margin-bottom: 5px;
}
.tabs-list .box {
float: left;
width: 100%;
}
.tabs-list ul.tabs li {
font-size: 14px;
padding: 12px 12px;
}
#counters {
clear: both;
margin: 20px 0;
float: left;
}
.banner_280, .review {
display: none;
}
.mslider {
margin: 70px 0 20px 0;
}
.media_719 {
display: block;
}
.media_719_hide {
display: none;
}
.media_719 .banner_728 {
margin: 0;
}
.soc_title {
width: 248px;
}
.bc_media {
width: 278px;
}
.short6 {
margin: 0 10px !important;
}
.story-full {
margin-top: 60px;
}
}
@media only screen and (max-width: 480px) {
.inf {
display: none;
}
a.prev, a.next {
width: 29px;
height: 29px;
background: url(../images/sl_arrows_small.png) no-repeat 0 0;
}
a.next {
background-position: -29px 0;
right: 0;
}
a#pull2 {
top: 236px !important;
}
a.loginlink {
width: 124px;
height: 58px;
background: url(../images/login_profile.png) no-repeat;
top: -135px;
left: 25%;
position: absolute;
z-index: 100;
}
.container-12 {
padding: 0 10px;
}
.mslider {
margin: 70px 0 0 0;
}
.mslider, .sliderContent, .hotnews {
max-height:220px;
}
.logo {
background: url(../images/logo.png) no-repeat;
width: 239px;
height: 83px;
}
.tm ul li a {
color: #000;
}
.hotnews h2 {
font-size: 18px;
}
.short5 .img {
max-width: 180px;
}
.ava-com {
width: 45px;
height: 45px;
}
.coment {
margin: 5px;
}
.comments_area {
padding: 5px;
}
.coment-area {
margin-left: 60px;
}
.date {
display: none;
}
.author a {
padding-right: 5px;
}
.media-date {
display: block;
font-size: 13px;
color: #9b9b9b;
}
.searchBar {
width: 160px;
margin: 55px 0 0 0;
}
.s-field {
width: 100px;
}
.multimedia .img_ct {
width: 30px;
overflow: hidden;
float: left;
}
.sb_video {
border-bottom: none;
height: 120px !important;
float: none;
}
}
@media only screen and (max-width: 320px) {
.container-12 {
padding: 0 10px;
}
.media_320 {
display: block;
}
.media_320_hide {
display: none;
}
.play_icon_small {
width: 47px;
height: 47px;
background: url(../images/play_icon_small.png) no-repeat;
position: absolute;
top: 20%;
left: 30%;
}
/* слайдер */
.mslider {
width: 100%;
max-height: 160px;
}
.mslider, .sliderContent, .hotnews {
max-height:160px;
}
a.prev, a.next {
width: 29px;
height: 29px;
background: url(../images/sl_arrows_small.png) no-repeat 0 0;
}
a.next {
background-position: -29px 0;
right: 0;
}
.hotnews h2 {
font-size: 16px;
}
.media_hide {
display: none;
}
/* краткие новости */
.short6 {
width: 270px;
margin: 0 !important;
}
.short4, .short6, .short5 {
height: 130px !important;
}
.short4 .img_ct, .short6 .img_ct, .short5 .img-wrap {
width: 130px !important;
height: 120px;
overflow: hidden;
float: left;
margin-right: 10px;
}
.short4 h2, .short6 h2, .short5 h2 {
font-family: "PT Sans";
font-weight: normal;
font-size: 15px !important;
}
.sb_video {
border-bottom: none;
height: 80px !important;
float: none;
}
h2 {
font-size: 14px;
}
.short5 h2 {
font-size: 13px !important;
}
.left_cell .img {
}
.left_cell h2 {
font-size: 14px;
}
/* комментарии */
.ava-com {
width: 30px;
height: 30px;
}
.coment {
margin: 10px;
}
.comments_area {
padding: 5px;
}
.coment-area {
margin-left: 40px;
}
.date {
display: none;
}
.media-date {
display: block;
font-size: 13px;
color: #9b9b9b;
}
.orden {
position: absolute;
left: 5px;
top: 45px;
}
}
@media only screen and (max-width: 1199px) {
.story-short, .short6 {
margin: 0 !important;
}
.media_1199 {
display: block;
}
.lcol_hide {
display: block !important;
}
.media_hide {
display: none;
}
.short5, .short6, .multimedia {
margin: 0;
max-height: none !important;
height: auto;
float: left;
}
.short6 {
margin-bottom: 10px !important;
}
.short5 .img, .multimedia .img {
margin: 9px 0;
}
.short5 h2, .short6 h2 {
margin: 9px 9px 9px 0;
font-size: 14px;
}
.short5:last-child {
border: none;
}
.multimedia {
width: 100%;
float:left;
border: none;
margin: 0 20px 0 0;
height: 160px;
border-bottom: dashed 1px #e1e1e1
}
.sb_video {
border-bottom: none;
height: 220px;
float: none;
}
.vote_title {
margin-top: 0px;
}
.multimedia h2 {
font-size: 15px;
}
.multimedia .img_ct {
width: 230px;
height: 150px;
overflow: hidden;
float: left;
margin: 0 10px 10px 0;
}
.world h2 {
font-size: 14px;
}
.world .mcat li.comnum {
display: none;
}
}
/*********************************************************************************************
6. Grid lt 959px / Mobile (mediaqueries)
*********************************************************************************************/
@media only screen and (max-width : 959px) {
.simnews {
overflow: visible;
}
.media_959 {
display: block;
}
.media_959_hide {
display: none;
}
ul#top_menu {
display: none;
}
a#pull {
position: absolute;
top: 10px;
left: 10px;
}
a#pull2 {
width: 20px;
height: 20px;
background: url('../images/nav-icon.png') no-repeat;
top: 116px;
position: absolute;
left: 10px;
}
ul#top_menu {
display: none;
height: auto;
position: absolute;
top: 80px;
z-index: 2;
background: #fdfdfd;
border-radius: 4px;
padding: 5px 15px;
border: solid 1px #000;
}
.tm {
display: none;
position: absolute;
height: auto;
}
.tm ul {
position: absolute;
margin: 0;
top: -10px;
left: 0;
background: #fff;
border: solid 1px #000;
padding: 5px 15px;
}
.tm ul li {
float: none;
border-bottom: dashed 1px #000;
padding: 10px 2px;
}
.tm ul li a {
color: #000;
}
.tm ul li a:hover {
background: none;
color: #a52a2a;
}
.tm ul li.sublnk { background: url(../images/tm-arrow.png) no-repeat 97% 51%; padding: 13px 5px; position: relative; }
.tm ul li.sublnk:hover { background: url(../images/tm-arrow-h.png) no-repeat 97% 51%; }
.tm ul li:last-child {
border-bottom: none;
}
.tm ul li ul {
background: #fff;
border-radius: 0;
}
.tm ul li ul li {
border-bottom: dashed 1px #000;
text-align: left;
padding: 5px;
}
ul#top_menu li {
float: none;
line-height: 1.5em;
font-size: 15px;
padding: 5px 3px;
border-bottom: dashed 1px #000;
}
ul#top_menu li:last-child {
border: none;
}
ul#top_menu li a {
color: #000;
}
#lgn_icon {
margin: 0 0 0 20px;
}
.pm_status {
width: 100%;
}
}
/*********************************************************************************************
7. Responsive Image
*********************************************************************************************/
img.scale, img.responsive {
max-width: 100%;
height: auto;
}
.row { margin-bottom: 20px; }
/* #Clearing
================================================== */
/* Self Clearing Goodness */
.container-12:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
/* Use clearfix class on parent to clear nested columns,
or wrap each row of columns in a <div class="row"> */
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
content: '\0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0; }
.row:after,
.clearfix:after {
clear: both; }
.row,
.clearfix {
zoom: 1; }
/* You can also use a <br class="clear" /> to clear columns */
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}