html, body {height: 100%;}
body {margin: 0; padding: 0; font-weight: normal; font-style: normal;}
h1, h2, h3, h4{font-weight: normal; font-style: normal;  }
h1, h2, h3, h4, h5, h6{ margin:10px; padding:0; line-height:110%;}
p{ margin:10px 0; padding:0;}
a img{text-decoration:none; border:none;}
#t1-header h1, #t1-header h2, #t1-header h3, #t1-header p{margin:0!important; line-height:105%!important;}

#t1-main, #t1-page, #t1-header, #t1-section1, #t1-section2, #t1-section3, #t1-section4, #t1-section5, #t1-section6, #t1-footer { position: relative; }
#t1-main, #t1-page, .wrapper{margin: 0 auto; padding:0;}
#t1-main{width: 100%;}
#t1-main{min-height: 100%; left: 0; top: 0; overflow: hidden; }
.grid-block:before, .grid-block:after { content: ""; display: table; clear: both; }
.boxtop, .boxbott{width:100%; position: relative; margin:0; padding:0}
.t1-block:after, .t1-block:before{position: relative; display: inline-block; vertical-align: middle; font-size: 0;line-height: 0;}
.grid-block table{border-collapse:collapse;}
table, tr, td{border-color: #999;}
td{padding:8px;}
td.colortr{ background-color:#ddd; text-align:center; font-weight:bold;}
iframe{overflow-x: hidden;}
div.table{display:table; width:100%; margin:0!important;} div.tr{display:table-row; width:100%;}div.td{display:table-cell; vertical-align: middle; padding:5px;}
div.td.vatop{vertical-align:top; }

/************ content ********************/
.t1-content-layout {display: table; width: 100%; table-layout: fixed;}
.t1-content-layout-row {display: table-row;}
.t1-layout-cell {display: table-cell; vertical-align: top;}
.t1-layout-cell:before{width: 100%; content: " "; display: table;}
.t1-layout-cell:after{clear: both; font: 0/0 serif; display: block;content: " ";}
.t1-content, .t1-sidebar1, .t1-sidebar2  {margin: 0 auto;}
#t1-page img{max-width: 100%;}

/******************блог категории******************************/
.items-row{width: 25%;}
.items-row, .moduletable{float: left; box-sizing: border-box;}
.items-row .item h3, .items-row .item h4{margin:5px 0 0;}
.items-row p{margin-top: 5px;}
.items-row .item ul, .t1-block ul{padding-left:30px;}

.items-row .readmore{text-align:right;}

span.ugoltbl, span.ugolbbl{content: ""; display:block; background-repeat:no-repeat; background-position:center center;  }  
.t1-button, .button, input[type="submit"]{webkit-background-origin: border !important; -moz-background-origin: border !important; background-origin: border-box !important; text-decoration:none!important; cursor: pointer; border:0;}

.t1-sidebar1 .moduletable, .t1-sidebar2 .moduletable{float:none; width: 100%; margin-left:0!important; margin-right:0!important;}

/********** forma ****************/
input[type="text"], input[type="email"], input[type="password"], textarea, select{border:0; padding:6px; border-radius: 5px; -moz-border-radius:3px; -webkit-border-radius: 5px;}
input[type="text"], input[type="email"], input[type="password"], textarea, select{border:2px solid #ddd;}
select{ padding:5px; line-height: 32px;}
.lineRSform{position:relative; clear:both; width:100%;}
.lineRSform div.rsform-block{ float:left; margin: 0 0 10px 10px;}
.itsmall{font-size:11px; font-style:italic;}
.btnCal {margin-left:-35px;}
.rsform-calendar-box{width: 170px;}
fieldset {border: none; padding: 0;}

/************ system-message ************************/
#system-message { background-color: #eee; border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); cursor: pointer; left: 50%; margin-bottom: 10px; margin-left: -250px; padding: 20px; position: fixed; top: 130px; width: 500px; z-index: 9999; }
a#close_message { background: url(../images/close.png) no-repeat; cursor: pointer; height: 15px; margin-right: 5px; margin-top: 5px; position: absolute; right: 0; top: 0; width: 15px; background-size: 100% 100%; }
#system-message > dd { text-indent: 0; }
#system-message > dd > ul {  background: none!important; border: 0; padding: 0; margin: 0; text-align: center; color: #000; }


/************* панель ****************************/
.close-offcanvas { position: absolute; top: 15px; right: 15px; z-index: 1; color: #000; border: 2px solid #eee; border-radius: 100%; width: 22px; height: 22px; line-height: 18px; text-align: center; font-size: 12px; }
.close-offcanvas:hover { background: #000; color: #fff; }
.offcanvas-menu { width: 280px; height: 100%; background: #fff; color: #999; position: fixed; top: 0; opacity: 0; z-index: 9999; overflow-y: scroll; }
.offcanvas-menu .offcanvas-inner { padding: 10px; }
.offcanvas-menu .offcanvas-inner > div { margin-top: 20px; }
.offcanvas-menu .offcanvas-inner > div ul > li { border: none; position: relative; list-style: none;}
.offcanvas-menu .offcanvas-inner > div ul > li a {  color: #333; border-bottom: 1px dotted #e8e8e8; -webkit-transition: 300ms; -o-transition: 300ms; transition: 300ms; padding: 4px 15px; display: block; line-height:130%;}
.offcanvas-menu .offcanvas-inner > div ul > li a:hover { background: #f5f5f5; }
.offcanvas-menu .offcanvas-inner > div ul > li >a:before { display: none; }
.offcanvas-menu .offcanvas-inner > div:first-child { margin-top: 0; }
.offcanvas-menu .offcanvas-inner > div ul { margin: 0; padding:0; }
.offcanvas-menu .offcanvas-inner .search { margin-top: 25px; }
.offcanvas-menu .offcanvas-inner .search input { width: 100%; border-radius: 0; border: 1px solid #eee; box-shadow: none; -webkit-box-shadow: none; }
.ltr .offcanvas-menu { -webkit-transition: opacity 400ms cubic-bezier(0.7, 0, 0.3, 1), right 400ms cubic-bezier(0.7, 0, 0.3, 1); transition: opacity 400ms cubic-bezier(0.7, 0, 0.3, 1), right 400ms cubic-bezier(0.7, 0, 0.3, 1); }
.ltr #t1-main:after { right: 0; }
.ltr .offcanvas-menu { right: -280px; }
.ltr.offcanvas .offcanvas-menu { right: 0; }
#t1-main:after { position: absolute; top: 0; width: 0; height: 0; background: rgba(0,0,0,0.8); content: ''; opacity: 0; -webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s; transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s; z-index: 999; }
.offcanvas { width: 100%; height: 100%; position: relative; }
.offcanvas #t1-main:after { width: 100%; height: 100%; opacity: 1; -webkit-transition: opacity 0.5s; transition: opacity 0.5s; }
.offcanvas .offcanvas-menu { opacity: 1; }

.offcanvas-inner h3 {font-size: 18px!important;}
.offcanvas-inner ul.nav > li > a{ font-weight:bold;}
.offcanvas-inner ul.nav-child a{font-size: 14px;}

/*****************турист модули**************************/
#t1-main .k_b_search, 
#t1-main #davs_railways_div #search_button, #t1-main #davs_railways_dialog #search_button{height: auto; width:auto; background:none; }
#t1-main #davs_railways_div #search_button{padding: 2px 15px!important;}
#t1-main #davs_railways_div .form-main {margin:0 auto;}
#t1-main #davs_railways_div .form-main #header-form, 
#t1-main #davs_railways_div .tcp #header-form {background: none; background:#666666;}
#t1-main #davs_railways_div .form-main #header-form .h1 {padding: 2px 22px;}
#davs_railways_div .tcp, #davs_railways_div .planes, #davs_railways_div .tcp #header-form, #davs_railways_div .tcp .table-tcp {width: 100%!important;}
#t1-main #davs_railways_div #search_button::before{content:'Найти'; text-align:center; width: 100%; display:block;}
#t1-main #davs_railways_div #search_button span{ display:none;}

#t1-main .travelpayouts_container-form-container-submit_container-button_container__input{background: transparent; border: 0;}
.aviasales_inlineable .travelpayouts_container-form-container-submit_container-button_container{background: none!important; border: 0!important; box-shadow: none!important;}
#t1-main .aviasales_inlineable .travelpayouts_container-form-container-submit_container {padding:0!important;}

#t1-main #tse_main_div .tse_step TH {background-image: url('../images/steps.png');}
#t1-main #tse_search_button {background-image: url('../images/search_button.png');}
#tse_dialog .tse_db_l{background: url('../images/dialog_button_sprite.png') no-repeat 0 -78px!important;}
#tse_dialog .tse_db_m{background: url('../images/dialog_button_sprite.png') repeat-x 0 -52px!important;}
#tse_dialog .tse_db_r{background: url('../images/dialog_button_sprite.png') no-repeat -21px -78px!important;}
#t1-main #tse_search_results .tse_results_table TR TH{padding:5px;}
#t1-main #tse_search_results .tse_tr_hover {background: #eee;}

#t1-main .Riverlines-jQueryUI .ui-state-highlight{ background:none; border:0;}
#t1-main #Riverlines-Content-Slider li {box-sizing: border-box; padding: 1px;}

#t1-main #psf #psf-header .psf-title, #t1-main #psf-result .psf-apart-info .psf-apart-header .psf-apart-name{color:#333;}
#t1-main #psf .btn-inverse, #t1-main #psf .btn-inverse:hover, #t1-main #psf .btn-inverse:focus, #t1-main #psf .btn-inverse:active, 
#t1-main #psf .btn-inverse.active, #t1-main #psf .btn-inverse.disabled, #t1-main #psf .btn-inverse[disabled],
#t1-main #psf .btn-primary, #t1-main #psf .btn-primary:hover, #t1-main #psf .btn-primary:focus, #t1-main #psf .btn-primary:active, 
#t1-main #psf .btn-primary.active, #t1-main #psf .btn-primary.disabled, #t1-main #psf .btn-primary[disabled],
#t1-main #psf-search .psf-car-worlds li.psf-active a, #t1-main #psf-search .psf-car-worlds li.psf-active span,
#t1-main #psf #psf-menu #psf-cart .psf-cart-counter{background:#666;}

.travelpayouts_container, .aviasales_inlineable {width: 100%;}
#sletat-search-1, #sletat-frame-2, .aviasales_inlineable .ng-scope{margin:0 auto!important;}


/************Дополнение************************/
ul.newsflash-horiz{padding-left: 20px;}
table.br1 {border-collapse: collapse;}
table.br1 td {border: 1px solid #ccc;padding: 8px;}
.pagination ul{width: 100%;display: table-cell;padding-left: 0;}
.pagination li {list-style:none; float: left;padding: 5px;}

#open_block {position: fixed;  width: 250px; height: 250px; left: 50%;margin-left: -125px;top: 50%;margin-top: -125px;display: none;
z-index:100000;overflow: hidden; background: #eee; border: 2px solid #ccc; padding: 10px; text-align:left; color:#666;}
#open_block a{color:#666;}
#open_block  p{line-height:135%!important}
#open_block #close {position: absolute;top: 10px;right: 10px;font-size: 16px;cursor:pointer;}
#form-login .linklog{cursor:pointer;}

#container{background:none;}
#container .subtitle {height: 48px; overflow: hidden;}
#container .item_image, #container.st-left .t1-post{width:100%; height:200px;}
#container .item_image a{background-size: auto 94%;}

/**************************************/
.breadcrumb {  padding: 8px 15px;  margin: 0!important;  list-style: none;  background-color: #ededed; }
.breadcrumb>li {  display: inline-block; padding: 0 5px;}

.krugbl {  border-radius: 50%;  text-align: center;  width: 120px;  height: 120px;  padding:18px 10px 0;  box-sizing: border-box;  font-size: 18px;
  margin: 0 auto;  background-color: #ffffff;}
.krugbl strong{color:#cf1f01; font-size: 22px;}
.divicon {float: left; box-sizing: border-box; padding: 6px; }
.jshop_carousel .owl-theme .owl-controls .owl-buttons div {
  background-color: #556270;
  background-color: rgba(85, 98, 112, 0.25);
}
.jshop_carousel .owl-theme .owl-controls .owl-buttons div:hover {
  background-color: #556270;
  background-color: rgba(85, 98, 112, 0.5);
}

.su-row .su-column-size-1-4 { padding: 0 10px;}
.su-row .su-column-size-1-4 h4{font-size:20px!important;}
.su-row .su-column-size-1-4 .t1-button{font-size:16px!important;}