/* разметка для шаблона */
@font-face{
    font-family: "OpenSansRegular";
    src: url("/fonts/OpenSansRegular.eot");
    src: url("/fonts/OpenSansRegular.eot?#iefix") format("embedded-opentype"),
    url("/fonts/OpenSansRegular.woff") format("woff"),
    url("/fonts/OpenSansRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

body{
    position: relative;
    min-width: 738px;
    color: #454545;
    font-family: OpenSansRegular, sans-serif;
    font-size: 14px;
}

img{
    /*max-width: 100%;*/
    height: auto;
    width: auto \9; /* ie8 */
}

.container{
    width: 738px;
    position: relative;
}

/* шапка */
header{
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 52px;
    background: url("../image/back_header.png") 0 0 repeat-x;
    box-shadow: 0 1px 5px #CCC;
}

header .container{
    height: 52px;
}

header .flex{
    position: relative;
    z-index: 1002;
    width: calc(100% - 50px);
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

nav.navbar{
    background: #138DA5;
    border: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1001;
}

header .logo{
    display: block;
    width: 255px;
    height: 41px;
    flex: 0 0 255px;
    margin: 6px 20px 0 0;
    padding-left: 50px;
    text-align: justify;
    font-size: 12px;
    line-height: 20px;
    color: #FFF;
    text-decoration: none;
    letter-spacing: 4px;
    background: url("../image/sprite.png") 0 0 no-repeat;
    order: 0;
}

header .logo:after{
    content: "";
    display: inline-block;
    width: 100%;
}

header .logo strong{
    text-transform: uppercase;
    display: block;
    font-size: 24px;
    letter-spacing: 2px;
}

header .auth{
    width: 255px;
    height: 40px;
    flex: 0 0 255px;
    margin: 6px 20px 0 0;
    line-height: 40px;
    color: #FFF;
    order: 1;

    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

header .auth a{
    color: #FFF;
}

header .auth img{
    margin-right: 10px;
    border-radius: 20px;
}

header .auth .profile{
    max-width: 100px;
    overflow: hidden;
}

header .auth .tool{
    width: 25px;
    height: 25px;
    margin-left: 10px;
}

header .auth .tool1{
    background: url("../image/sprite.png") 0 -50px no-repeat;
}

header .auth .tool2{
    background: url("../image/sprite.png") -25px -50px no-repeat;
}

header .auth .tool3{
    background: url("../image/sprite.png") -50px -50px no-repeat;
}

header .buttons{
    display: none;
    width: 710px;
    order: 2;
}

header .buttons a{
    color: #FFF;
    font-size: 16px;
    height: 41px;
    padding: 8px 24px;
    text-decoration: none;
    outline: 1px solid #91C6D4;
}

header .buttons a:hover{
    background: linear-gradient(to top, #007290, #128DA5);
}

header .search{
    display: none;
    width: 265px;
    height: 41px;
    /*margin: 29px 0 29px 20px;*/
    margin-top: 3px;
    position: relative;
    order: 2;
}
#___gcse_0
{
    border: 1px solid #000;
    margin-right: -3px;
}
.links .search
{
    	display: inline!important;
}

.column_center .search{
    width: 100%;
    height: 41px;
    margin: 9px 0;
    position: relative;
    order: 2;
}

.search input{
    width: 100%;
    height: 100%;
    border: none;
    padding: 5px 10px;
}

.search button{
    width: 41px;
    height: 41px;
    padding: 5px;
    border: none;
    outline: none;
    position: absolute;
    top: 0;
    right: 0;
    background: #3079ed;
/*    background: url("../image/sprite.png") 0 -80px no-repeat;*/
}

.column_center .search button{
    background: url("../image/sprite.png") 0 -120px no-repeat;
}

header .links{
    display: none;
    order: 5;
}

header .links a{
    color: #454545;
    font-size: 14px;
    height: 20px;
    padding: 0 5px;
    line-height: 40px;
    text-decoration: none;
}

/* главный блок */
main{
    background-color: #E9EDEE;
    padding-top: 52px;
}

main .container{
    padding: 35px 15px;
    min-height: 800px;
    display: flex;
}

.column_left{
    display: none;
    width: 255px;
    flex: 0 0 255px;
}

.column_center{
    width: 708px;
    flex: 0 0 710px;
}

.column_right{
    position: relative;
    display: none;
    width: 265px;
    margin-left: 20px;
    background-color: #F3F5F4;
    flex: 0 0 265px;
}
.gsc-input:focus
{
	text-indent: 0px!important;
}

/* подвал */
footer{
    background: url("../image/back_footer.png") 0 0 repeat-x;
    height: 211px;
    font-size: 16px;
    color: #FFF;
}

footer .container{
    height: 211px;
    display: flex;
}

footer .container div{
    padding-top: 60px;
    flex: 1 1 33%;
}

footer .group3,
footer .group4{
    display: none;
}

footer .logo{
    display: block;
    width: 205px;
    height: 40px;

    text-align: justify;
    font-size: 12px;
    line-height: 20px;
    color: #FFF;
    text-decoration: none;
    letter-spacing: 4px;

    margin-bottom: 45px;
}

footer .logo:after{
    content: "";
    display: inline-block;
    width: 100%;
}

footer .logo strong{
    color: #0198B6;
    text-transform: uppercase;
    display: block;
    font-size: 24px;
    letter-spacing: 2px;
}

footer .group1 .copyright{
    font-size: 13px;
    color: #868686;
}

footer .container div:not(:nth-child(1)){
    padding-left: 20px;
}

footer .container h2{
    font-size: 16px;
    text-transform: uppercase;
    color: #FFF;
    margin: 0 0 20px 0;
}

footer a{
    color: #74BFCE;
    text-decoration: underline;
    display: block;
}

footer a:hover{
    color: #0198B6;
}

footer nav a.active{
    font-weight: 700;
}

#media{
    background-color: RGBA(0, 0, 0, 0.3);
    color: #FF0;
    width: 200px;
    height: 30px;
    padding: 5px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    /*	display:none;*/
}

#media:before{
    content: 'Базис';
}

@media screen and (min-width: 768px){
    #media:before{
        content: 'min-width: 768px';
    }

    header,
    header .container{
        height: 150px;
    }

    nav.navbar{
        display: none;
    }

    header .flex{
        width: 100%;
    }

    header .buttons{
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        width: 100%;
        height: 40px;
        margin: 6px 0;
    }

    header .links{
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        width: 100%;
        height: 40px;
        margin: 6px 0 0 0;
    }

    main{
        padding-top: 145px;
    }
}

@media screen and (min-width: 1px){
    #media:before{
        content: 'min-width: 1035px';
    }

    .container{
        width: 1015px;
    }

    header .logo{
        margin: 29px 20px 29px 0;
    }

    header .auth{
        color: #000;
        order: 3;
    }

    header .auth a{
        color: #138DA5;
    }

    header .buttons{
        margin: 29px 0;
        width: 710px;
        flex: 1 1 710px;
    }

    header .links{
       width: calc(100% - 290px);
    }

    .column_left{
        display: block;
    }

    footer .group3{
        display: block;
    }

    footer .container div{
        flex: 1 1 25%;
    }
}

@media screen and (min-width: 1320px){
    #media:before{
        content: 'min-width: 1320px';
    }

    .container{
        width: 1300px;
    }

    header .search{
        display: block;
    }

    .column_right{
        display: block;
    }

    footer .group4{
        display: block;
    }

    footer .container div{
        flex: 1 1 20%;
    }

}

@media (max-width: 1320px) and (min-width:1040px) {
	.container {
    	width: 100%;
	}
	header .buttons {
	    margin-right: 40px;
	}
	header .logo {
	    margin-left: 40px;

	}
}​

.gsc-thumbnail-inside
{
    line-height: 20px!important;
}
.gs-title
{
	height: 30px!important;
}

.fixed_adwert
{
	position: fixed;
	top:10px;
}

@media (max-width: 1200px)
{

    #left_google_adwert_span
    {
        display: none!important;
    }
    #right_google_adwert_span{
        display: none!important;
    }
    .advert_top
    {
        display: none!important;
    }
}
.telegram li
{
    line-height: 45px;
    text-align: left;
}
.list-mess
{
    padding: 0;
}
.list-mess li {
    display: flex;
    align-items: center;
    height: 45px;
    margin-bottom: 12px;


}
.telegram-tunnel {
    background-image: url('../svg/tunnel.svg');
    height: 45px;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 55px;
    background-repeat: no-repeat;
}
.mail_ru {
    background-image: url('../svg/m_pulse__.svg');
        height: 30px;
    top: 0;
    background-size: contain;
    margin-right: 5px;
    left: 0;
    z-index: 1000;
    width: 30px;
    background-repeat: no-repeat;
}


.telegram-muzkalendar {
    background-image: url('../svg/muzkalendar.svg');
    height: 45px;
    top: 0;
    left: 0;
    width: 55px;
    background-repeat: no-repeat;
}
.telegram-kulinar {
    background-image: url('../svg/kulinar.svg');
    height: 45px;
    top: 0;
    left: 0;
    width: 55px;
    background-repeat: no-repeat;
}

