body {
    /*   padding-top: 70px; */ /* Padding for .navbar-fixed-top. Change value if navbar height changes. Remove if using .navbar-static-top. */

    color: #000;
    line-height: normal;
}

h1, h2, h3, h4, h5, h6 {
    color: black;
}
h1 {
    margin-top:0px;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu, .dropdown .dropdown-menu {
    margin-top: -1px;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

#side-carousel img {
    margin: 0 auto;
}

.footer-blurb {
    padding: 30px 0;
    margin-top: 20px;
    background-color: #eee;
    color: black;
}

.footer-blurb-item {
    padding: 20px;
}

.small-print {
    background-color: #fff;
    padding: 30px 0;
}

.feature,
.page-intro,
.article-intro,
.small-print {
    text-align: center;
}


.count { color: #666666; margin-left: 5px; font-size: 10px }

.mt20 { margin-top: 20px; }
.mb20 { margin-bottom: 20px; }
.ml20 { margin-left: 20px; }

.ml0 { margin-left: -20px; }

hgroup { padding-left: 15px; border-bottom: 1px solid #ccc; }
hgroup h1 { font: 500 normal 1.625em Roboto,Arial,Verdana,sans-serif; color: #2a3644; margin-top: 0; line-height: 1.15; }
hgroup h2.lead { font: normal normal 1.125em Roboto,Arial,Verdana,sans-serif; color: #2a3644; margin: 0; padding-bottom: 10px; }

.search-result .thumbnail { border-radius: 0 !important; }
.search-result:first-child { margin-top: 0 !important; }
.search-result { margin-top: 20px; }
.search-result .col-md-4 { border-left: 1px dotted #ccc; min-height: 140px; }
.search-result ul { padding-left: 0 !important; list-style: none;  }
.search-result ul li { font: 400 normal .85em "Roboto",Arial,Verdana,sans-serif;  line-height: 30px; }
.search-result ul li i { padding-right: 5px; }
.search-result .col-md-8 { position: relative; min-height: 140px; }
.search-result h3 { font: 500 normal 1.375em "Roboto",Arial,Verdana,sans-serif; margin-top: 0 !important; margin-bottom: 10px !important; }

.search-result p { font: normal normal 1.125em "Roboto",Arial,Verdana,sans-serif; } 
.search-result span.plus { position: absolute; right: 0; top: 126px; }
.search-result span.plus a { background-color: #248dc1; padding: 5px 5px 3px 5px; }
.search-result span.plus a:hover { background-color: #414141; }
.search-result span.plus a i { color: #fff !important; }
.search-result span.border { display: block; width: 97%; margin: 0 15px; border-bottom: 1px dotted #ccc; }

/* .pagination>li>a, .pagination>li>span { border-radius: 50%; !important;margin: 0 5px; } */

.pagination { float:left; }

.selectChain select, .selectChain span.controls { display: block; width: 200px }
.selectChain select { color: #474747; font-family: Arial; font-size: 12px; border: 1px solid #ADADAD; }
.selectChain .viewLabel { margin: 6px 0; }
.selectChain .viewLabel .apply { margin-left: 5px; display: none }
.selectChain .viewLabel a { padding: 4px 30px 4px 3px; border: 1px solid #ADADAD; color: #474747; background: url("/img/magnifier2.png") no-repeat right center }
.selectChain .controls { margin-top: 5px; width: 200px; }
.selectChain .editArea { background: #FFFFFF; padding: 0px; border: 0px solid #ADADAD; }


/* Yandex search page begin */

ul.results{ margin:0 30% 1.4em 0.5em; padding:0 0 0 10px }
ul.results li{list-style-type: none; color:#bbbbbb;margin-bottom:25px; margin-top:15px; padding:0px; line-height:18px; font-size:15px;}
ul.results div.title{font-size:16px;line-height:1.2em; padding-bottom:2px;font-weight: normal;}
ul.results div.text{color:#333;padding-bottom:0; font-size:14px;}
ul.results div.info{color:#333;margin-top:0;overflow:hidden;font-weight: normal;}
ul.results div.info a{color:#007238;font-weight: normal;}
ul.results div.info a:visited{color:#007238;font-weight: normal;}
ul.results div.info span.count{font-size:14px}
ul.results div.info span.green_url{color:#060}
ul.results div.info span.green_url a{color:#060}
ul.results div.info span.green_url a:visited{color:#060}

.right-block { float:right; width:25%; }
.ya-logo {float:right;}
.search-stat {padding-top:5px; font-size:13px; font-family:Arial, Helvetica, sans-serif; padding-left:2px;}
.space-line {background:#f0f0f0; margin:3px 0 10px 0; clear:both;}
.top-block {padding:5px 0 10px 10px; font-size:11px;}

.search-pagenav {font-size:13px; width:70%; padding-top:25px; font-family:Arial, Helvetica, sans-serif; text-align:center;}
.search-pagenav * {margin: 0 3px; }
.search-pagenav .num { font-size:14px;}


ul.results a { font-size:19px;color:#2200cc;font-weight: normal;}
ul.results a:hover {color:#2200cc ;}
ul.results a:visited {color:#2200cc ;}


ul.results span.linkname { font-size:14px;color:#006600;text-decoration:none;}
ul.results a.linkname { font-size:14px;color:#006600;text-decoration:none; font-weight: normal;}
ul.results a.linkname:hover { color:#006600;}
ul.results a.linkname:active { color:#006600;}
ul.results a.linkname:visited { color:#006600;}

/* Yandex search page end */


.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

body {
    position: relative;
}


.blue, .blue:visited, .blue:hover { color: blue; }
.black, .black:visited, .black:hover {   color: #545454; }
.green, .green:visited, .green:hover { color: green !important; }
.white, .white * { color: #FFFFFF; }
.lightgray, .lightgray * { color: #999999 !important }
.gray { color: #474747; }
.darkgray { color: #282c2e; }
.upper { text-transform: uppercase;  }
a.blood, a.blood:visited { color: #840107; font-size: 11px; }
.blood { color: #cc000a; }


.private-announcements tr.deleted { background: url(/img/row-deleted.png); }

.status-new { color: orange; }
.status-accepted, .status-active { color: green; }
.status-rejected, .status-declined, .status-deleted { color: red; }
.status-expired, .status-suspended { color: gray; }

.navbar-custom {
    background-color:#fff; 
    color:#444444;
    border-radius:0;
    margin-bottom: 10px;
}

.navbar-custom .navbar-nav > li > a {
    color:#444444;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
    background-color: #d35501;
    color: #ffffff;
}

.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
    z-index: 2;
    color: #fff;
    background-color: #418dd1;
    border-color: #418dd1;
}

.list-group-item.active > .count {
    color: #ffffff;
}


.alert-light {
    color: #777777;
    background-color: #f9f9f9;
    border-color: #eeeeee;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.vtop {
    display: inline-block;
    vertical-align: top;
    float: none;
}

.vbottom {
    display: inline-block;
    vertical-align: bottom;
    float: none;
}

.affix-bottom{
    position: absolute
}

#srochnoAffix.affix  {
    position: fixed;
    top: 70px;
}


.table-hover tbody tr:hover td  {
    background-color: #efefef;
}     


.navbar-custom {
    background-color:#ffffff;
    color:#444444;
    border-radius:0;
}

.navbar-custom {
    border-top: 1px #000;
}

.navbar-custom .navbar-nav > li > a {
    color:#444444;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
    background-color: #d35501;
    color: #ffffff;
}

.btn-info {
    background-color: #418dd1;

}

.btn-info:hover {
    background-color: #043a6a;
}

.btn-info:focus, .btn-info.focus {
    background-color: #0d5ca3;
}

.btn-info:active, .btn-info.active {
    background-color: #0d5ca3;
}


.btn-primary {
    color: #fff;
    background-color: #ea8200;
    border-color: #d35501;
}
.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #d35501;
    border-color: #e46612;
}
.btn-primary:hover {
    color: #fff;
    background-color: #d35501;
    border-color: #e46612;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #d35501;
    border-color: #e46612;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
    color: #fff;
    background-color: #c34501;
    border-color: #d45602;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary .badge {
    color: #d35501;
    background-color: #fff;
}

.btn-choice {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.btn-choice:focus,
.btn-choice.focus {
    color: #fff;
    background-color: #449d44;
    border-color: #255625;
}
.btn-choice:hover {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}
.btn-choice:active,
.btn-choice.active,
.open > .dropdown-toggle.btn-choice {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}
.btn-choice:active:hover,
.btn-choice.active:hover,
.open > .dropdown-toggle.btn-choice:hover,
.btn-choice:active:focus,
.btn-choice.active:focus,
.open > .dropdown-toggle.btn-choice:focus,
.btn-choice:active.focus,
.btn-choice.active.focus,
.open > .dropdown-toggle.btn-choice.focus {
    color: #fff;
    background-color: #398439;
    border-color: #255625;
}
.btn-choice:active,
.btn-choice.active,
.open > .dropdown-toggle.btn-choice {
    background-image: none;
}
.btn-choice.disabled,
.btn-choice[disabled],
fieldset[disabled] .btn-choice,
.btn-choice.disabled:hover,
.btn-choice[disabled]:hover,
fieldset[disabled] .btn-choice:hover,
.btn-choice.disabled:focus,
.btn-choice[disabled]:focus,
fieldset[disabled] .btn-choice:focus,
.btn-choice.disabled.focus,
.btn-choice[disabled].focus,
fieldset[disabled] .btn-choice.focus,
.btn-choice.disabled:active,
.btn-choice[disabled]:active,
fieldset[disabled] .btn-choice:active,
.btn-choice.disabled.active,
.btn-choice[disabled].active,
fieldset[disabled] .btn-choice.active {
    background-color: #5cb85c;
    border-color: #4cae4c;
}
.btn-choice .badge {
    color: #5cb85c;
    background-color: #fff;
}


.form-control:focus {
    border-color: #da7200;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(234, 130, 0, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(234, 130, 0, .6);
}

.form-control-feedback {
    right: 0.7em;
}

.has-feedback .form-control {
    padding-right: 10px; 
}

.has-feedback label ~ .form-control-feedback {
    top: 20px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


#navigation.affix {
    top: 0;
}


#myAffix.affix {
    position: fixed;
    top: 95px;
}

@media (max-width: 979px) {
    #myAffix.affix-top {
        position: relative;
    }

    #myAffix.affix-bottom {
        position: relative;
    }

    #myAffix.affix {
        position: relative;
    }  

    #srochnoAffix.affix-top {
        position: relative;
    }

    #srochnoAffix.affix-bottom {
        position: relative;
    }

    #srochnoAffix.affix {
        position: relative;
    }

}


input.search-query {
    padding-left:26px;
}

form.form-search {
    position: relative;
}

form.form-search:before {
    display: block;
    width: 14px;
    height: 14px;
    content: "\e003";
    font-family: 'Glyphicons Halflings regular';
    background-position: -48px 0;
    position: absolute;
    top:8px;
    left:8px;
    opacity: .5;
    z-index: 1000;
}

.checkbox-lg {width: 20px; height: 20px;}


ul.list-unstyled > li { padding-top: 5px; padding-bottom: 5px; }

.yandexads {

}

#topnavbar {
    margin: 0;
}
#topnavbar.affix {
    position: fixed;
    top: 0;
    width: 100%;
}

#menu-bar {
    position: fixed;
    top: -70px;
    width: 100%;
    transition: top 0.5s ease 0s;
    -webkit-transition: top 0.5s ease 0s;
    -moz-transition: top 0.5s ease 0s;
    -o-transition: top 0.5s ease 0s;
}

h1 {
    padding-top: 5px;
}

.ellipsis {
    display: inline-block;
    max-width: 80%;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.btn-default > span.badge {
    background-color: #888888;
}


div > ul.dropdown-menu > li > a.active {
    background-color: #fc9503;
    color: #fff;
}
div > ul.dropdown-menu > li > a.active > span.count {
    color: #fff;
}


div > ul.dropdown-menu > li > a.active-geo {
    background-color: #5cb85c;
    color: #fff;
}
div > ul.dropdown-menu > li > a.active-geo > span.count {
    color: #fff;
}

.modal {
    top:15%;
    z-index:999999;
    outline: none;
    overflow:hidden;
}

#imagemodal .modal  {top:0 !important;}
#imagemodal .modal-dialog  {width:90%; height:90%;}



.load-title {
    display: none;
}


h3 > a { text-decoration: underline; }
h4 > a { text-decoration: underline; }
h5 > a { text-decoration: underline; }
h6 > a { text-decoration: underline; }


.viewLabel {
    display: inline-block;
    white-space: nowrap;
}

.help-block {
    font-size:12px;
}


.list-group-horizontal .list-group-item {
    display: inline-block;
}
.list-group-horizontal .list-group-item {
    margin-bottom: 0;
    margin-left:-4px;
    margin-right: 0;
    border-right-width: 0;
}
.list-group-horizontal .list-group-item:first-child {
    border-top-right-radius:0;
    border-bottom-left-radius:4px;
}
.list-group-horizontal .list-group-item:last-child {
    border-top-right-radius:4px;
    border-bottom-left-radius:0;
    border-right-width: 1px;
}

/*Specific Cases*/

.btn.btn-lg,
.btn.btn-sm,
.btn.btn-xs {
    border-radius: 0;
}
/*Global*/

.btn.btn-square {
    border-radius: 0;
}



.ms-parent.form-control {
    padding: 0; }
.ms-parent.form-control .ms-choice {
    height: 100%;
    border: 0; }
.ms-parent.form-control .ms-choice > span {
    top: 50%;
    transform: translateY(-50%); }
.ms-parent.form-control.form-control-sm .ms-drop input[type=radio],
.ms-parent.form-control.form-control-sm .ms-drop input[type=checkbox] {
    margin-top: 0.4rem; }
.ms-parent.form-control.form-control-lg .ms-drop input[type=radio],
.ms-parent.form-control.form-control-lg .ms-drop input[type=checkbox] {
    margin-top: 0.5rem; }
