/*

    Template Author : pixelhint.com
    Author Email    : contact@pixelhint.com
    Template Name   : Magnetic
    
    
    *****************************************
    
    
    - Fonts
    - General CSS
    - Header
    - Home/portfolio 
    - Inner page 
    - Map/Contact page  
    - Tooltip 
    - Responsive code
  
    
*/




    html, body, div, span, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    abbr, address, cite, code,
    del, dfn, em, img, ins, kbd, q, samp,
    small, strong, sub, sup, var,
    b, i,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section, summary,
    time, mark, audio, video {
        margin:0;
        padding:0;
        border:0;
        outline:0;
        font-size:100%;
        vertical-align:baseline;
        background:transparent;
    }

    body {
        line-height:1;
    }

    img{
        max-width: 100%;
    }

    article,aside,details,figcaption,figure,
    footer,header,hgroup,menu,nav,section { 
        display:block;
    }

    nav ul {
        list-style:none;
    }

    blockquote, q {
        quotes:none;
    }

    blockquote:before, blockquote:after,
    q:before, q:after {
        content:'';
        content:none;
    }

a{color:#0c5d7c;text-decoration:none;}a:hover,a:focus{color:#000;text-decoration:none}.

    /* change colours to suit your needs */
    ins {
        background-color:#ff9;
        color:#000;
        text-decoration:none;
    }

    /* change colours to suit your needs */
    mark {
        background-color:#ff9;
        color:#000; 
        font-style:italic;
        font-weight:bold;
    }

    del {
        text-decoration: line-through;
    }

    abbr[title], dfn[title] {
        border-bottom:1px dotted;
        cursor:help;
    }

    table {
        border-collapse:collapse;
        border-spacing:0;
    }

    /* change border colour to suit your needs */
    hr {
        display:block;
        height:1px;
        border:0;   
        border-top:1px solid #cccccc;
        margin:1em 0;
        padding:0;
    }

    input, select {
        vertical-align:middle;
    }


/*

    Template Author : pixelhint.com
    Author Email    : contact@pixelhint.com
    Template Name   : Magnetic
    
    
    *****************************************
    
    
    - Fonts
    - General CSS
    - Header
    - Home/portfolio 
    - Inner page 
    - Map/Contact page  
    - Tooltip 
    - Responsive code
  
    
*/



/*  Fonts  */
@font-face {
    font-family: 'raleway-regular';
    src: url('fonts/raleway-regular.eot');
    src: url('fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/raleway-regular.woff') format('woff'),
         url('fonts/raleway-regular.ttf') format('truetype'),
         url('fonts/raleway-regular.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-bold';
    src: url('fonts/raleway-bold.eot');
    src: url('fonts/raleway-bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/raleway-bold.woff') format('woff'),
         url('fonts/raleway-bold.ttf') format('truetype'),
         url('fonts/raleway-bold.svg#ralewaybold') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-semibold';
    src: url('fonts/raleway-semibold.eot');
    src: url('fonts/raleway-semibold.eot?#iefix') format('embedded-opentype'),
         url('fonts/raleway-semibold.woff') format('woff'),
         url('fonts/raleway-semibold.ttf') format('truetype'),
         url('fonts/raleway-semibold.svg#ralewaysemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}



/*  General CSS*/
body{
color:#6b6b6b;
    background:#fefefe;
}

.wrapper{
    width: 93.92727272727273%;
    margin: 0 auto;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1, h2, h3, h4, h5 ,h6{

font-size: 15px;
    
    
}


.clearfix:before,  
.clearfix:after {  
    content: " ";  
    display: table;  
}  
.clearfix:after {  
    clear: both;  
}  
 
.clearfix {  
    *zoom: 1;  
}







/*  Header ПК */
@media (min-width:700px){
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        min-height: 100%;
        padding: 0 0 0 50px;
        background: #ffffff; 
        float: left;
        overflow: hidden;
        z-index: 9999;

    }

    header .logo{
        margin-top: 30px;
    }

/* Поиск ПК */
    header .poisk{
        margin-top: 10px;
        height: 32px;

        width: 95%;
    }





    header nav ul{
        display: block;
        overflow: hidden;
        margin-top: 30px;
        list-style: none;
    }

    header nav ul li{
        display: block;
        margin-bottom: 30px;
    }

    header nav ul li a{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
        color: #969595;
    }

    header .footer{
        position: absolute;
        bottom: 50px;
    }

    header ul.social{
        list-style: none;
        margin-bottom: 5px;
    }

    header ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 15px 15px 0;
    }


    header ul.social li a{
        display: block;
        width: 30px;
        height: 30px;
        background: url('img/sm.png') no-repeat;
        background-position: 0 0;
    }


    header ul.social li a:hover{
        background: url('img/sm_hover.png') no-repeat;
    }



    header ul.social li a.fb,
    header ul.social li a.fb:hover{
        background-position: 0 0;
    }


    header ul.social li a.google,
    header ul.social li a.google:hover{
        background-position: -31px 0;
    }

    header ul.social li a.behance,
    header ul.social li a.behance:hover{
        background-position: -62px 0;
    }

    header ul.social li a.twitter,
    header ul.social li a.twitter:hover{
        background-position: -93px 0;
    }

    header ul.social li a.dribble,
    header ul.social li a.dribble:hover{
        background-position: -124px 0;
    }

    header ul.social li a.rss,
    header ul.social li a.rss:hover{
        background-position: -155px 0;
    }

    header .rights p{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: "raleway-bold", arial;
        font-weight: bold;
        text-decoration: none;
    }
    #menu_icon,
    .close_menu{
        display: none;
    }

}

#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('img/men_icons.png') no-repeat;
}

#menu_icon{    
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}






/*  Main  */
.main{
    width: 100%;
    height: 100%;
    padding-left: 300px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #f6f6f6;
    clear: both;
}







/*  Home/portfolio  */
.main .work{
    display: block;
    width: 33.33333333333333%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}

.main .work .media{
    width: 100%;
    vertical-align: middle;
}

.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #ffffff;
    opacity: 0;
}


.main .work a:hover .caption{
    opacity: 1;
}


.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -40px;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 91%;
    padding: 18px 0;
    z-index: 77;
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 16px;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}







/*  Inner Page  */
.top{
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: block;
    position: relative;
    background: url('img/hero_image.jpg') no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}

.work_nav{
    display: block;
    width: 100%;
}

.work_nav .btn{
    float: right;
}

.work_nav ul{
    list-style: none;
}

.work_nav ul li{
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a{
    display: block;
    width: 40px;
    height: 40px;
    background: url('img/p_navigation.png') no-repeat;
    background-position: 0 0;
}

.work_nav a.previous{
    background-position: 0 0;
}

.work_nav a.grid{
    background-position: -41px 0;
}

.work_nav a.next{
    background-position: -82px 0;
}

.top .title2{
    display: block;
    width: 100%;color: #4b4848;
    font-family: "raleway-bold", arial;
    font-size: 26px;
    font-weight: bold;
    background: rgba(255, 255, 255, .7);
    padding: 20px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 0!important;
    overflow: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

}

.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 50%;
    margin-left: -46.36363636363637%;
}

.content{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 22px;
    padding: 60px 30px;
    background: #fff;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.content p{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 60px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #4b4848;
    font-family: "raleway-semibold", arial;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 30px;

}







/*  Contact page map  */
#map .map_adresse{
    font-family: 'raleway-regular', arial;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
}

#map .map_address,
#map .map_tel{
    padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel{
    font-family: 'raleway-bold', arial;
    font-weight: bolder;
}

#map img{
    max-width: none;
}







/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #454545;
    color: #fff;
    font-family: "raleway-regular", arial;
    font-size: 12px;
    position: absolute;
    white-space: nowrap;
    z-index: 999;
    opacity: 0;
    text-align: center;
    letter-spacing: .5px;

}

.tooltip:after{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #454545 transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}







/*  Responsive code mobil  */
@media (max-width:800px){

   header{
position: sticky;
position: -webkit-sticky; 
display: block;
z-index: 9999;
background: #ffffff;
top: -4em;

        display: block;
        width: 100%;
        min-height: 70px;
        padding: 0;
    }
    header .logo{
        margin: 30px 0 0 20px;
        float: left;
    }


header .poisk{
        background-color:#ffff;

        height: 42px;
        margin-bottom: 2px;
        margin-top: 4px;
        margin-right : 4px;

        width: 99%;
        float: left;

    }





    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 20px 20px 0 0;
    }
    
    header nav{
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 9999;
    }

    header nav ul{
        list-style: none;
        display: none;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 50%;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 0;
    }
    #map{
        margin: 0!important;
    }
}

@media (max-width:550px){
     .main .work{
        width: 100%;
    }
}







.p_t {
background: #fdfdfd  repeat-x;
font-size: 15px;
padding: 12px;
margin-bottom: 1px;
border-left: solid 1px #d8daef;
border-top: solid 1px #d8daef;
}

.p_m {
background:#f7f7f7  repeat-x;
font-family: Courier;
font-size: 15px;
padding: 10px;
margin-bottom: 1px;
margin-top: 1px;
border:solid 1px #a9ccd3;
border-radius: 2px;
text-align: left;
letter-spacing: normal;

}






.menu_razd {
background:#e0e1e1;
font-weight: bold;
color:#606060;
font-family: Courier;
margin-top: 5px;
padding:10px;
font-size: 15px;
border-radius: 5px 5px 0 0;
border: double 2px #c3c2c2;
border-bottom: solid 1px #dddddd;
font-stretch: semi-expanded;
letter-spacing: 1px;
}

.rekl
{
background:url('img/rekl.png') no-repeat top right;
border: 1px dotted #4195de;
   background-color: #f4f5f7;
   color: #4195de;
text-align: center;
  padding: 3px;
}






.title {
background:#fff url(img/bg.png);

color:#707179;
padding:10px;
font-weight: bold;
border-radius: 3px 3px 0 0;
border: solid 2px #e9f1f4;
text-align: center;
font-stretch: semi-expanded;
}

.foot {

background:#efedf4;
-o-transition:0.2s all;-moz-transition:0.2s all;-webkit-transition:0.2s all;
padding:11px;
border-radius: 2px;
border: solid 1px #cdcdd0;
}



.title_aut{
color:#666;
background:#fefefe;
margin: 1px;
padding:5px;
border:1px solid #a9ccd3;
border-radius: 2px;
}


.link :hover {
color: #91b546;

}

a.link_href {  
 
display : block; 
}






.err { color: #fdfd6c; margin: 1px; text-align: center; border: solid 1px #ff2310; background-color: #ff4636; padding: 2px; }

.msg{ margin: 1px; text-align: center; color: #58bd31; border: solid 1px #aee798; background-color: #ddffd0; padding: 2px; }




/* Показ для компьютеров */ 
@media (min-width:800px){

.p_t, .foot, .menu_razd {
font-size: 16px;
padding: 14px;
}
h1, h2, h3, h4, h5 ,h6{
font-size: 18px;    
}


.kik {
font-size: 16px;
padding: 14px;
}

}
/* КОНЕЦ Показ для компьютеров */ 




.pages-numbers {text-align:center}
.pages-numbers > a, .pages-numbers > span {color:#fff;display:inline-block;padding:5px;margin:0 1px;margin-bottom:2px;margin-top:2px;text-align:center;border-radius:5px}


@media (min-width: 800px) {
.pages-numbers > a, .pages-numbers > span {display:inline-block;padding:10px;margin:0 1px;margin-bottom:2px;margin-top:2px;text-align:center;border-radius:7px}
}


.pages-numbers > span {color:#fff;background-color:#465a92}
.pages-numbers > a {color:#fff;background:#3d67b3}
.pages-numbers > a:hover {background:#465a92;color:#fff}






.clear{
clear:both
}






/* Поиск */
form {
  position: relative;
  margin: 0 auto;
margin-right: 2px;
}

button {
  height: 26px;
  width: 26px;
  position: absolute;
  top: 8px;
  right: 2px;
  background: #808182;
  
}
input, button {
  border: none;
  outline: none;
  border-radius: 3px;

}
input {

  background: #d0e2fc;
}



input, textarea, select{

background:#f3f3f3;border:1px solid #d4d4d4;margin:2px;border-radius:4px;padding:6px;
}
.text_input{
width:100%;background:#fff
}

input, textarea, select{
  width: 95%;

background:#f3f3f3;border:1px solid #d4d4d4;margin:2px;border-radius:4px;padding:6px;
}

input[type="submit"]{
color:#fff;
background:#40c8fd;
text-align: center;

font-size: 17px;
padding: 6px;
display: inline-block;
border-radius: 4px; 
}

input[type="submit"]:hover, input[type="submit"]:focus{
background: #C872F1;
  
}

#download:active, input[type="submit"]:active{ 
border-top:3px solid #1881D2; 
}






footer { 

background:#ffff;
position: sticky; 
bottom: 0;
z-index: 9999;
text-align: center;
padding:6px;
}


