/* index sidebar */

.indexbox {
    position: relative;
}

.main-col {
    overflow:hidden;
    margin-right: 230px;
    float: left;
}

.right-col {
    right: 0;
    width: 220px;
    position: absolute;
}

/* edit basic elements */

#page-header, #site-description {
    display: none;
}

#page-header-2 .headerbar {
    background-color: transparent;
    background-image: none;
}

#search-box {
    /* top: 50px;
    position: absolute;
    right: 20px;
    */
    position: relative;
    margin-top: -98px;
}

#wrap {
    position: relative;
}

#page-header-2 .navbar {
    margin-top: -5px;
    border-radius: inherit;
}

/* show all smilies in scrollbox */

#smiley-box {
    overflow-y: auto;
    max-height: 244px;

}

#smiley-box a:last-child {
    display: none;
}

/* Delete spam bot button*/

.delete-bot-icon:before {
    background-position: -226px 0;
}

/* suggest search */

#keywords:focus {
    outline: none;
}

/* search styles */

.suggestionsBox {
    position: absolute;
    float: left;
    right: 0px;
    top:-60px;
    margin: 0px 0px 0px 0px;
    width: 336px;
    background-color: white;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border: 1px solid gray;
    color: white;
    z-index: 2000;
    text-align: left;
    overflow: hidden;
    margin-top: -10px;
}

.suggestionList {
    margin: 0;
    padding: 0;
    padding-top: 2px;
}

.suggestionList li {
    margin: 0px 0px 3px 0px;

    cursor: pointer;
    list-style-type: none;
    text-align: left !important;
    padding: 2px;
}

.fields1 .suggestionList li {
    display: inline-block !important;
    vertical-align: middle;
    padding: 1px;
}


.fields1 .suggestionList li img {
    vertical-align: middle;
}

.suggestionList li a {
    padding: 3px;
}

#page-header .suggestionList li a {
    display: block;
}

.suggestionList li:hover {
    background-color: #d0d0d0;
}


.suggestionList li.selected {
    background-color:  #d0d0d0;
}

.suggestionList li img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    padding-right: 2px;

}


/* sidebar and index custom styles */


.index-custom h3 img
{

    vertical-align: middle;
    margin-top: -1px;
    margin-right: 4px;
    margin-left: 2px;

}

.index-custom h4
{

    font-family: Verdana;
    font-size: 10px;
    font-weight: normal;
    padding-bottom: 4px;
    padding-top: 4px;

}

.index-custom ul
{
    padding: 0px;
    margin: 0px;
    font-size: 11px;
}

.index-custom li
{
    list-style-type: none;
    margin-left: 20px;
    padding-left: 0px;
    text-indent: -10px;
}

.index-custom li:before
{
    content:  "—";
    position: relative;
    left: -5px;
}

/* index news */

#index-news li p img {
    max-width: 100px; float: left; border: 1px solid gray; padding: 3px; margin-right:5px; margin-bottom: 5px;
}

#index-news li {float: left; width: 45%; color: #777; font-family: Tahoma; margin-right: 15px; line-height: 160%;}

#index-news h4 {font-family: Georgia; font-size: 16px; font-style: italic;}

#index-news li:before
{
    content:  "";
    position: relative;
    left: 0px;
}
#index-news h4 {text-indent: -10px;margin-bottom: 7px;}
#index-news li {text-indent: 0px;}

/* events visual */

 #eventsvisual {
     overflow: hidden;
     height: 155px;
     text-align: center;
     margin-bottom: 20px;
 }
#eventsvisual li {
    display: inline-block;
    list-style-type: none;
    margin: 2px;

}
#eventsvisual li a {
    margin: 3px;
}

#eventsvisual img {
    height: 150px !important;
}
#eventsvisual li:before{
    content: normal;
    left: 0px;
}

/* contacts icon */
.vkontakte-icon {
    background-image: url(/ext/sarry/header/styles/prosilver/images/icon-vkontakte.png);
}

.ok-icon {
    background-image: url(/ext/sarry/header/styles/prosilver/images/icon-ok.png);
}

.facebook-icon {
    background-image: url(/ext/sarry/header/styles/prosilver/images/icon-facebook.png);
}

.telegram-icon {
    background-image: url(/ext/sarry/header/styles/prosilver/images/icon-telegram.png);
}

.instagram-icon {
    background-image: url(/ext/sarry/header/styles/prosilver/images/icon-instagram.png);
}

.skype-icon {
    background-image: url(/ext/sarry/header/styles/prosilver/images/icon-skype.png);
}

.mytheme-icon {
    background-image: url(/ext/sarry/header/styles/prosilver/images/icon-nn.png);
}

/* post map */
.postmap {
    clear: left;
}


/* responsive page: header and index */

@media all and (max-width: 700px), all and (max-device-width: 700px) {

    #page-header-2 .navbar {
        margin-top: 0px;
    }

    #page-header-2 .headerbar {
        display: none;
    }

/*    #search-box {
        position: static;
        margin-top: 0px !important;
    }

    .search-header {
        margin-top: 0px;
        box-shadow: 0 0 1px !important;
    }
*/

    .main-col {
        margin-right: 0;
        float: none;
    }

    .right-col {
        float: none;
        width: 100%;
        right: auto;
        position: static;
    }

    .bbvideo, iframe, img {
        max-width: 100% !important;
    }

    img {
        height: auto !important;
        max-width: 100%;
    }


    .post-buttons li a.button  {
        margin: 5px;
        transform: scale(1.2, 1.2);
    }


}


/* big dropdown buttons in post */
.responsive-menu.dropdown-container .dropdown ul li a {
    padding-top: 4px;
    padding-bottom: 4px;
}