/*  
Theme Name: OTKAT
Description: Responsive WordPress theme
Author: ATOM studio team
Version: full
Copyright: (c) ATOM.
 
*/

 form.right input{
            margin-bottom: 0;
        }
        table

        /*  =================== CLEARFIX ================= */
        .clearfix:after {
            content: " ";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }
        .clearfix { display: inline-block; }
        * html .clearfix {height: 1%;}
        .clearfix { display: block; }
        /*  =================== END  CLEARFIX ================= */

/*@media for mobile*/
@media screen and (max-width: 768px){

    .block{height: 300px !important;}
    .block img{width: 130%; display: block}
    .mosaic{height: 150px !important;}
}

@media screen and (max-width: 640px){
    /*.top-bar {display: none;}*/
    .large-3 img {margin-left: 14% !important;}
    .block{height: 250px !important;}
    .block img{width: 130%; display: block}
    .mosaic{height: 250px !important;}
    h4{font-size:14px !important;}
    .title{background: rgba(000,000,000,.4 )!important; padding:5px !important;}
    .container{padding:0 10px;}
    .image_block .inside{bottom:0 !important;}
    .image_block_v{height:110px !important;}
    .block_v img{height:60% !important;}
    div i.icon-play{margin-top:0 !important;}
    ._youtube{height:200px !important;}
    ul{margin-left:0 !important; margin-top:25px; text-align:center;}
    footer .large-10 {border-right:none;}
    footer .large-5 {width: 272px !important;}
    footer #back-top {margin-left: 1500px;}
    footer p {text-align: center !important;}
    .top-bar{
        overflow: hidden;
        height: 45px;
        line-height: 45px;
        position: relative;
        background: #333333;
        margin-bottom: 0;
        width: 48px;
        border-radius: 2px;
        margin-left: 42%;
    }

    .top-bar.expanded{overflow: visible !important;}
    .top-bar.expanded .title-area{border-radius: 2px;}
    .postfix.button {line-height: 37px !important; background-color: #DB4848}

    .top-bar-section ul {
    width: 285px;
    height: auto;
    display: block;
    background: #333333;
    font-size: 16px;
    margin-left: -247% !important;
    margin-top: 20px;
    margin-bottom: 20px;
    }

    header nav.top-bar {
        margin-bottom: 40px;
    }

       
}

@media screen and (max-width: 1024px){

    .title{background: rgba(000,000,000,.4 )!important; padding:5px !important;}
     .image_block .inside{bottom:0 !important;}
    footer #back-top {margin-left: 1500px;}
footer .large-10 {border-right:none;}
footer .large-5 {width: 272px !important;}
}

@media screen and (max-width: 570px){
    .large-3 img {margin-left: 12% !important;}
}
@media screen and (max-width: 520px){
    .large-3 img {margin-left: 8% !important;}
}

@media screen and (max-width: 480px){
    .block{height: 200px !important;}
    .block img{width: 130%; display: block}
    .mosaic{height: 200px !important;}
    .large-3 img {margin-left: 6% !important;}
}


@media screen and (max-width: 400px){
    .block{height: 150px !important;}
    .block img{width: 130%; display: block}
    .mosaic{height: 150px !important;}
}
@media screen and (max-width: 415px){
    .large-3 img {margin-left: 2% !important;}
}
@media screen and (max-width: 320px){

    .block{height: 130px !important;}
    .block img{width: 130%; display: block}
    .mosaic{height: 130px !important;}
}

@media screen and (max-width: 240px){

    .block{height: 100px !important;}
    .block img{width: 130%; display: block}
    .mosaic{height: 100px !important;}
}


/*========================= FOUNDATION ELEMENTS ===========================*/
body{background: #e6e6e6; font-family: PT\ serif\ caption!important;}
a{
	color: #1f1f1f;
    -moz-transition: .5s ease;
    -webkit-transition: .5s ease;
    transition: .5s ease;
}
h1,h2,h3,h4,h5,h6{font-family: PT\ serif\ caption!important; line-height:1 !important;}
p{font-size: 14px !important}
article{font-size: 14px !important; line-height: 1.4 !important}
a:hover{color:#db4848;}
ul{list-style: none}
table{border:0;}
tr td a{font-size: 13px !important}
.row{max-width: 1180px; background: #fafafa; margin:20px auto;}
.columns{padding: 0}
.container{max-width: 1020px; margin-left:auto; margin-right: auto}
table tr td{height: 86px;}
#exchange table tr td{height: 10px;font-size: 11px;padding: 7px 9px;}
#exchange table tr td img{height: 10px;}
img{height: 100%;}
div.inside{
    z-index: 3;
    position: absolute;
    bottom: 0;

}
#uci_table{margin-top: 21px;float: right}
#uci_curr_title{display: none}
.head_wigets{height: 140px;}
.orbit-container .orbit-slides-container img{height:100%; width: 100%}
.top-bar .button, .top-bar button{height: 37px}

/*========================== CUSTOM ELEMENTS ===============================*/
.video_thumb {
    height: 170px;
    margin-top: 25px;
}
.date{
margin-bottom: 5px;
opacity: .7;
font-size: 10px!important;
line-height: 1.3;
padding: 0 0 0 0!important;
overflow: hidden;
}
.block{height: 400px;z-index:2;}
.block a{height: 100%; width: 100%; display: inline-block}
.block img{height: 100%; width: 130%; display: block}
.block_v img{height: 100%; width: 130%; display: block}
._youtube{height:370px;}
._youtube iframe{width: 100% !important; height: 100% !important}
ul.pagination{margin-left: 14px !important}
ul.pagination li.current a{background-color:#db4848 !important; color:#fff;}
ul.pagination li a {color:#444; background-color:#f2f2f2;}
.fb{height:200px; width:100%;}
._4s7c{overflow: hidden;}


.meta_link{
    background: #db4848;
    font-size:10px !important;
    padding: 6px 10px;
    width:120px;
    margin-left:10px;
    margin-bottom: 20px;
}
.meta_link_v{
    background: #db4848;
    font-size:10px !important;
    padding: 6px 10px;
    display: inline-block !important;
    margin-top: 20px;
}
.meta_link a{color:#fff;}
.meta_link_v a{color:#fff;}

.title{padding:5px 20px; background:rgba(000,000,000,0.5);/*background-image: url("packages/img/shadow.png"); background-repeat: repeat-y;*/ }
.title h4 a{color:#fff;}
.title:hover{/* border-top: 1px solid #fff*/}

.wide_block img{max-width: 100% !important}
.block-1{}
.block-2{font-size:13px;}
.image_block_v{height: 100%;/*width:100%;*/ overflow: hidden; border-left:1px solid #fff;}
.image_block{height: 100%;width:100%; overflow: hidden;}
.image_block img{max-width: 100%}
.video_block{}
.video_block:hover{opacity: .8;}
.excerpt {font-size: 12px !important}
.cat_posts{padding: 10px}
.cat_posts h2{font-size:16px !important; line-height: 1em}
.cat_thumb{width: 150px;height: 150px;overflow: hidden; margin-right: 15px;}

/*================================== HEADER =================================*/


header nav.top-bar, header .top-bar-section li{
    background-color: #DB4848;
}
.secondary_nav{
    padding-left: 26px;
    background: #ffffff;

}
.secondary_nav {
    border-bottom: 1px solid #DDDDDD;

}

.meta_link {

    margin-top:-1px;
} 

header nav.top-bar{}
.sec-nav li a{
    background: url(../columns/images/divider21.png) no-repeat right !important;
}
.sec-nav>li:hover{
    opacity: .9;
}
header form{
    margin: 10px 16px 0 0;
}
header input{
    border: 0 !important;
}

.logo{padding: 23px 0; height: 130px;}
.secondary_nav{line-height: 37px; font-size: 12px;}
.separator{padding: 0 10px; color: #999;}
/*================================== image-block =================================*/
.block .image_block{
    position: relative;
    -webkit-transition: all 150ms linear 0s;
    -moz-transition: all 150ms linear 0s;
    transition: all 150ms linear 0s;
}
.bg-title{
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all 150ms linear 0s;
    -moz-transition: all 150ms linear 0s;
    transition: all 150ms linear 0s;
    /*background-color: rgba(0,0,0,.9);*/
     /*background-image: url("http://espreso.tv/themes/novyny/assets/im/tip-shadow-big-img.png");*/
    top: 0;
}
.bg-title:hover{
    background-color: rgba(0,0,0,.8);
}
.image_block .inside{
    position: absolute;
    bottom: -47px;
    -webkit-transition: all 150ms linear 0s;
    -moz-transition: all 150ms linear 0s;
    transition: all 150ms linear 0s;

}
.image_block:hover .inside{
    bottom: 0;
    background-color: rgba(0,0,0,0);
}
.image_block .inside p{
    display: block;
    font-size: 10px !important;
    float: left;
    padding: 5px;
    background-color: #DB4848;
    color: #ffffff;
    margin-bottom: 15px !important;
}
/*================================== icon =================================*/
.rss {
    top:10px;
    position: relative;
    width: 20px;
    height: 20px;
    float: left;
    overflow: hidden !important;
    border: 1px solid #cecece;
    border-radius: 3px ;
}

.rss img{
    background: url("packages/img/facebook-menu.png") no-repeat;
    width: 20px;
    margin-top: -540px;
   -o-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    max-height: none;  
}

.rss img:hover {
    float: left;
    margin-top: -558px;
    -o-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}
.fecebook {
    top:10px;
    position: relative;
    overflow: hidden !important;
    width: 20px;
    height: 20px;
    float: right;
    margin-left: 5px;
    margin-right: 10px;
    overflow: hidden !important;
    border: 1px solid #cecece;
    border-radius: 3px ;  
}

.fecebook img {
    max-height: none; 
    background: url("packages/img/facebook-menu.png") no-repeat;
    width: 20px;
    margin-top: -72px;
   -o-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}

.fecebook img:hover {
    float: left;
    margin-top: -90px;
    -o-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}

/*================================ end icon ===============================*/ 
/*================================== example-orbit =================================*/
.example-orbit div{
    position: relative;
}
.example-orbit .bg-i{
    height: 100%;
    width: 100%;
    top: -190px;
    -webkit-transition: all 300ms linear 0s;
    -moz-transition: all 300ms linear 0s;
    transition: all 300ms linear 0s;
    font-family: PT serif caption;
}
.example-orbit div:hover .bg-i{
    background-color: rgba(0,0,0, .6) !important;
}
.example-orbit li a .move{
    position: absolute;
    color: #ffffff;
    -webkit-transition: all 300ms linear 0s;
    -moz-transition: all 300ms linear 0s;
    transition: all 300ms linear 0s;
    font-family: PT serif caption;
}
.example-orbit li a h3.move{
    bottom: -65px;
    margin: 0 20px;
    font-size: 13px;
}
.example-orbit li a p.move{
    right: -400px;
    top: 20px;
    float: right;
    padding: 5px;
    font-size: 10px !important;
    background-color: #DB4848;
    text-align: center;
}
.example-orbit li div:hover p.move{
    display: block;
    right: 20px;
}
.example-orbit li div:hover h3.move{
    bottom: 10px;
}

/*============================= FOOTER ============================*/

footer{ 
    /*height: 200px;*/
    margin: 0px 0 62px; background: #141414; color:#888; padding: 30px !important;}
footer p {font-size: 12px !important;text-align: justify;margin-bottom:25px !important;}
footer a {color:#888;}
footer a:hover {color:#888; text-decoration: underline;}
.copyright{padding:20px 0px; opacity: .7; width: 95%; border-top:1px solid #555; margin: 30px auto}
.info{border-bottom:1px solid #777; padding-bottom:10px;}
footer .facebook .images {

}
footer .facebook a img{
    margin-left: 12px;
    
}

footer p span {
   color: #ffffff;
}

.rek{margin-top:10px;}
.otkat{text-align: justify;}
.lera{
    color: #fff;
}
a.lera :hover,a.lera :focus{
    color: red !important; 
    text-decoration: none red !important;
    border-bottom: 1px solid #fff red !important;
}

@media screen and (max-width: 640px){
    footer p {margin-bottom: 0 !important}
    /*footer{height: 100%}*/
}

.rek p{margin-bottom: 0 !important}

.large-11 h2 {
  
  line-height: 40px !important;
  
}

@media screen and (max-width: 640px) {

    h2 {font-size: 16px !important;}
    .large-11 h2 {line-height: 5px !important;}
}












/* адаптивное меню */
*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}


.open {

    margin-bottom: 400px !important;
}

.wrapper-demo {
    margin: 0px 0 20px 0;
    *zoom: 1;
    font-weight: 400;
font-family: "Open Sans",sans-serif;

}

.wrapper-demo:after {
    clear: both;
    content: "";
    display: table;
}

/* DEMO 5 */

.wrapper-dropdown-5 {
    /* Size & position */
    position: relative;
    width: 48px;
    height: 45px;
    margin: 0 auto;

    /* Styles */
    background: #DB4848;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
    cursor: pointer;
    outline: none;
    border-radius:3px 3px 3px 3px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.wrapper-dropdown-5 img{
     /* Size & position */
    position: relative;
    height: 18px;
    margin: 13px 15px;

}

.wrapper-dropdown-5 .dropdown {
    /* Size & position */
    position: absolute;
    top: 20px;
    left: -105px;
    right: 0;
     margin-bottom: 0px !important;
    /* Styles */
    background: #DB4848;
    border: 1px solid rgba(0,0,0,0.2);
    border-top: none;
    border-bottom: none;
    list-style: none;
    width: 260px;
    height: 375px;
    margin-left: -107px;
 

    /* Hiding */
    max-height: 0;
    overflow: hidden;
}

.wrapper-dropdown-5 .dropdown li {
    padding: 0 10px ;
  
}
.wrapper-dropdown-5 .dropdown li:hover {
    background: #C94545;
  
}
.wrapper-dropdown-5 .dropdown li a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    padding: 24px 0;
    text-align: center;
    transition: all 0.3s ease-out;
}

.wrapper-dropdown-5 .dropdown li:last-of-type a {
    border: none;
}

.wrapper-dropdown-5 .dropdown li i {
    margin-right: 5px;
    color: inherit;
    vertical-align: middle;
}

/* Active state */

.wrapper-dropdown-5.active {
    background: #333333;
    box-shadow: none;
    border-bottom: none;
    color: white;

}

.wrapper-dropdown-5.active:after {
    border-color: #82d1ff transparent;
}

.wrapper-dropdown-5.active .dropdown {
    border-bottom: 1px solid rgba(0,0,0,0.2);
    max-height: 400px;
    max-width: 260px;
  
}

/* No CSS3 support: none */
.wrapper-demo p {
   padding-bottom:18px;
   background: #333333; 
   padding-bottom: 100px;
}

.wrapper-demo input[name=q] {
    height: 35px;
width: 150px;
position: absolute;
margin: 20px 0 0 10px;
font-size: 12px;
padding: 10px 10px;

}


.wrapper-demo input[type="submit"] {
    height: 35px;
width: 88px;
border: none;
background: #C94545;
color: #ffffff;
float: right;
margin: 20px -11px 0 31px;
font-size: 12px;
position: absolute;
}

ul .dropdown  {
   
    padding-bottom: 100px;
}

._single a {color:#DB4848;}
._single img {height: auto;}

dl dt{font-weight:100 !important}

.fb_iframe_widget{
    position: inherit !important;
}

/*---------------Contact form------------------*/
#feedback-form {
  max-width: 80%;
  padding: 5%;
  background: #fff;
  margin-top: 1%;
  margin-left: 7%;
  border: 1px solid rgba(0,0,0,.35);
  box-shadow: 0 0 0 rgba(0,0,0,.05), 0 11px 12px rgba(0,0,0,.2), 0 0 transparent;
}
#feedback-form [required] {
  width: 100%;
  box-sizing: border-box;
  margin-top: 2%;
  margin-bottom: 5%;
  padding: 2%;
  border: 1px solid rgba(0,0,0,.35);
  box-shadow: 0 -1px 0 rgba(0,0,0,.05) inset, 0 1px 2px rgba(0,0,0,.2) inset, 0 0 transparent;
}
#feedback-form [required]:hover {
  box-shadow: 0 0 0 1px #7eb4ea inset, 0 1px 2px rgba(0,0,0,.2) inset, 0 0 transparent;
}
#feedback-form [required]:focus {
  outline: none;
  box-shadow: 0 0 0 1px #7eb4ea inset, 0 1px 2px rgba(0,0,0,.2) inset, 0 0 4px rgba(35,146,243,.5);
  transition: .2s linear;
}
#feedback-form [type="submit"] {
  padding: 2%;
  border: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset;
  background: #DB4848;
  color: #fff;
}
#feedback-form [type="submit"]:hover {
  background: #c54040;
}
#feedback-form [type="submit"]:focus {
  box-shadow: 0 1px 1px #fff, inset 0 1px 2px rgba(0,0,0,.8), inset 0 -1px 0 rgba(0,0,0,.05);
}
#feedback-form textarea {
  resize: vertical;
}