
@font-face {
    font-family: OpenSans; /* имя шрифта для CSS правил */
    src: local("OpenSans"), /* проверяем наличие шрифта в ОС пользователя */
         url(../fonts/OpenSans.ttf)  format("truetype"); /* если шрифт не установлен, тогда загружаем его по указанному пути */
      font-weight: normal;
    font-style: normal;}

* {
    margin:0;
    font-family: OpenSans;
    padding:0
}
header {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}
nav {
    font-size: 20px;
}
#nav{
    position: fixed;
    top:0px;
    z-index: 101;
}
.nav{
    margin: 0 auto;    
}
    
 a {    
    color: #3498db;  
}
h1 {
    color:#3498db;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.navbar-default .navbar-nav>li>a {
    color: #3498db;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    text-decoration: none;
    background-color: #3498db;
    color: #fff;
}
.container {
    margin-top: 5px;
}

.btn {
    color: #3498db;
    border-color:#3498db;
    border: solid 2px;
    background:#fff; 
    margin-bottom: 10px;
    margin-top: 25px;
}
.btn:hover, .btn:active {
    color: #fff;
    border-color:#3498db;
    border: solid 2px;
    background:#3498db; 
}
.otzbtn {
    margin: auto 0;
    height: 60px;
    width: 225px;
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 15px;
}

.img3 {
    display: inline-block;
    margin-bottom: 25px;
    width: 250px;
    height: 200px;
    border:3px solid #eee;
    border-radius:25%;
    box-shadow: 0px 6px 30px 2px #000;
   
}
.txt {
    display: inline-block;
    vertical-align: middle;
}


.block {
    padding: 10px;
    height: 55px;
    width: 90%;
    margin: 25px 5%;
    margin-bottom: 0px;
    background-color: #f0f0f0;
    background-repeat: repeat-x;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #999999;
    
}

input[type="text"] {
    width: 100%;
    padding: 5px 10px;
    color: #666666;
    border: 2px solid #cccccc;
    border-radius: 5px;
    box-sizing:border-box;
}


.content{
    padding: 10px;
    margin: 10px;
    margin-bottom: 0px;
    display: inline-block;
    width: 47.5%;
    border-color: #3498db;
    vertical-align: top;
    text-align: center;
}


.menu {
    position: relative;
    overflow:hidden;
    height:30px;
    margin:10px 0
}
.menu ul {
    list-style:none;
    margin:0;
    padding:0;
    position: relative;
    left:50%;
    float:left;
    font:16px;
    text-transform: uppercase;
}
.menu ul li {
    position:relative;
    left:-50%;
    float:left;
    margin:0 5px;
    height:30px
}
.menu ul li a {
    display:block;
    text-decoration:none;
    padding:4px 10px
}
.menu ul li a:hover {
    background-color:#444;
    color:#ffffff
}
h2{
    text-align: center;
    padding-bottom: 5px;
}

.object-price {
    width: 50%;
    height: 600px;
    position: relative;
    left: 25%;
}

.block-system .content2 {
    width: 60%;
    display: inline-block;
}
.block-system .content {
    width: 38%;
    border-color: #3498db;
}

h3 {
    color: #fff;
    text-shadow: 2px 3px 3px #000;
}


.block-system {
    color: #fff;
    background-color: #3498db;
    height: auto;
    width: 100%;
    padding: 5px;
    padding-bottom: 20px;
    text-align: center;
}





.about {
    background-color: #3498db; 
    color: #fff;
    position: relative;
    top: 75px;
    padding-bottom: 50px;
    padding-top: 5px;
    margin-bottom: 100px;
    height: 1050px;
}

.info {
    position: absolute;
    background:url(../images/fon2.png) center bottom;
    width:  100%;  
    height: 600px;
    opacity: 0.7;
   
}
.navbar {
    margin-bottom: -5px;
}
.social {
     display: inline-block;
    min-width: 45px;
    height: 45px;
    padding: 0 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    margin-right: 10px;
    margin-left: 5px;
    text-indent: -1000px;
    background-image: url("../images/social-challenge.png");
    background-repeat: no-repeat;
    border-radius: 5px;
    box-shadow: 0.3em 0.3em 6px rgba(10, 10, 10, 0.5);
    margin-bottom: 5px;
}
.vk{
    background-image: url("../images/social.png");
    background-position: 2px 4px;
    background-color: #6d8fb3;
}
.fb{    background-image: url("../images/social.png");

    background-position:-35px 4px;
    background-color:#526da3;
}
.g{
    background-position:-53px 8px;
    background-color:#D73D32;
}
.vk:hover{
    background-color: #436b94;
}
.fb:hover{ 
    background-color:#3a558c;
}
.g:hover{
    background-color:#b12b21;
}
.infoall {
  border-bottom: 5px solid #5f9cc4;
  border-top: 5px solid #5f9cc4;
}

.soc, .aboutdo, .form { 
    padding: 10px;
    padding-bottom: 20px;
    background: rgba(175, 175, 175, 0.6);
    border-radius: 5px;
    box-shadow: 0.3em 0.3em 6px rgba(10, 10, 10, 0.5);
    color: #000;
    height: auto;
    text-align: center;
  
}
.soc{
    position: relative;
    top: 25px;
    width: 75%;
}
.aboutdo{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    width: 75%;
}
.form{
    position: relative;
    margin-top: 80px;
    margin-bottom: 80px;
    width: 40%;
    height: 445px;
    display: inline-block;
}
.form a, .content a{
    color: #fff;
    margin: 0px;
    
}
.form h5, .content h5{
    margin: 0px;
    margin-bottom: 25px;
    
}
ul.bid {
    list-style-image: url(../images/check.png);
    list-style-position: inside;
    font-size: 17px;
    text-align: left;
    
}

.img2 {
      width:400px;
      height: auto;
      border: 5px solid #fff;
}

.img2:hover {
    border: 5px solid #3498db;
}


.zakaz {
    margin: 50px;
    
}

nav {
    position:relative;
    top:300px;
    width: 100%;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
}
nav.sticky {
    position:fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index:101;
}

#toTop {
    cursor:pointer;
    display:none;
    z-index: 101;
    opacity: .8;
    position: fixed;
    top: 100%;
    margin-top: -90px;
    right: 40px;
    margin-left: -35px; 
    border-radius: 20px;
    border: 2px solid #fff;
    width: 70px;
    line-height: 48px;
    height: 50px;
    padding: 10px;
    background-color: #000;
    font-size: 24px;
    text-align: center;
    color: #fff;
    text-indent:-9999px;
    background-image: url("../images/up.png");
    background-repeat: no-repeat;
    background-position: center;
}
#toTop:hover{
    opacity: 1;
}
.siteheader {
       position: relative;
       top: 75px;
}

.leftall {
    position: relative;
    display: inline-block;
    top:-30px;
    width: 50%;
    height: 428px;
    margin-left: 50px;
    z-index: 0;
}

footer {
    text-align: center;
    margin: 10px;
}

.rightserv, .leftserv, .centerserv {
    
    height: 1400px;
    display: inline-block;
}
.centerserv {
    float: inherit;
    width: 150px;
    margin:0 auto;
    margin-top: 27px;
   
}
.rightserv, .leftserv{
    width: 35%;
}
.rightserv{
    float:right;
    position: relative;
    top:225px;
    margin-right: 5%;
}
.leftserv {
    position: relative;
    top:25px;
    float: left;
    margin-left: 5%;
}
.centerserv img{
    text-align: center;
    border-radius: 50%;
    height: 150px;
    width: 150px;
    display: block;
    border: 5px solid #ddd;
}

.c1,.c5,.c6,.c7 {
    background-color: #fff;
    
}
.c7{
    color: #3498db;
    border-radius: 50%;
    height: 150px;
    width: 150px;
    display: block;
    border: 5px solid #ddd;
    text-align: center;
    font-size: 30px;
    padding: 30px 0px;
} 

.news h3{
    color:#900;
    text-shadow: 3px 3px 2px #fff;
}

.leftfeed {
    width: 70%;
    display: inline-block;
    text-align: left;
    margin-bottom:20px;
}

.squ {
    background-color: #ddd;
    width: 5px;
    height: 50px;
    position: relative;
    left:72.5px;
}

.feedback {
    text-align: center; 
    z-index: 111;
}


.tells {
    position: relative;
    font-size: 22px;
    text-align: center;
    color: #fff;
    margin-top: 50px;
    height: 0px;
}

.priceup {
    background-image: url(../images/two-up.png);
    background-repeat: no-repeat;
    display: inline-block;
    float:right;
    height: 30px;
    width:32px;
    margin-left: 5px;
    
}
.r1 h3,.r2 h3,.r3 h3,.l1 h3,.l2 h3,.l3 h3{
    width: 75%;
    float: left;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
}
.r1, .r2, .r3{
    margin-right: 5%;
}
.l1, .r1{
    position: relative;
    top:0px;
}
.l2,.r2{
    position: relative;
    top:295px;
}

.l3, .r3{
    position: relative;
    top:590px;
}
.rules h2{
    color: #3498db;
    text-align: left;
    
}
b {
    color: #3498db;  
}
.fancybox-custom .fancybox-skin {
			box-shadow: 0 0 50px #222;
 }
#information{
    position: relative;
    top:25px;
}
#reviews{
    position: relative;
    top:-75px;
}
#service,#tidings,#contact{
    position: relative;
    top:-50px;
}
#price h3 {
    margin: 0px;
    height: 105px;
}
.pricetext {
        width: 100%;
        position: absolute;
        top: 75px;
        height: 225px;
        text-align: left;
}
.pt2 {
    top:175px;
}
.pt3 {
    top:275px;
}

@media screen and (max-width: 1125px) {
    .aboutdo {
        padding-left: 10px;
        padding-right: 10px;
        width: 90%;
}
    .leftall{
        margin-left: 20px;
    }
    .soc{
        width: 90%;
    }
    .form{
        width: 46%;
    }
}
@media screen and (max-width: 1060px) {
    #price h3 {
        font-size: 22px;
    }
    r1 h3, .r2 h3, .r3 h3, .l1 h3, .l2 h3, .l3 h3 {
        width: 85%;}
    .leftserv{
        margin-left: 2.5%;
    } 
    .rightserv{
        margin-right: 2.5%;
    }
}
@media screen and (max-width:  890px) {
    .leftall{
        width: 90%;
        top:15px;
        height: auto;
        margin: 0 5%;
    }
    .aboutdo {
        
        padding-top:0px;
        width: 70%;
        height: 240px;
        display: inline-block;
}
    .soc{
        float: right;
        top:0px;
        width: 25%;
        height: 240px;
        display: inline-block;
    }
    .social{
        margin: 10px;
    }
    .form{
        top: 40px;
        margin: 10px 5%;
        width: 90%;
        height: auto;
        
    }
    .form .block, .form .btn {
        display: inline-block;
        width: 40%;
        height: 55px;
        border-radius: 5px;
        margin: 10px
    }
    .form .btn{
        font-size: 25px;
        border: 3px solid;
    }
    .tells {
        font-size: 20px;
        margin-top: 75px;

    }
    .content,  .block-system .content2  {
        width: 90%;
        margin: 0px 5%;     
    }
    .block-system .content{
        width: 75%;
    }
    .txt {
        width: 50%;
        margin-left: 25px;
    }
     #price h3 {
        font-size: 18px;
    }
    .pricetext{
        font-size: 12px;
    }

}

@media screen and (max-width:767px) {
    .nav>li{
        display:block;
        width: 100%;
    }
    .nav{
        text-align: center;
    }
    .menu{
        overflow: visible;
        height: 150px;
    
    }
    .navbar-default .navbar-toggle .icon-bar{
        background-color:#3498db;
    }
    .navbar-default .navbar-toggle{
        border-color:#3498db;
        
    }
    #price{
        height: 1550px;
    }
    .centerserv{
        float: left;
        margin: 20px;
        width: 155px;
    }
    .rightserv, .leftserv{
        width: 50%;
        float: none;
        margin: 0px;
        text-align: left;
    }
    .rightserv{
        top: -1180px;
    }
    .block-system h3 {
        font-size: 24px;
    }
    .pricetext{
       display: none;
    }
     h2{
        padding-bottom:initial;
    } 
}

@media screen and (max-width: 700px) {
    .tells{
        margin-top: 80px;
        font-size: 16px;
    }
    .info {
        height: 700px;
    }
    .aboutdo, .soc{
        height: 330px;
    }
    .img3{
        height: 250px;
        width: auto;
    }
    .txt{
        font-size: 18px;
        width: 80%;
        margin-left: auto;
    }
    .leftfeed{
        width: 75%;
        margin-bottom: 25px;
    }
    header{
        width: 80%;
    }
}

@media screen and (max-width: 583px) {
    .aboutdo, .soc{
        margin: 10px 0px;
        width: 100%;
        height: auto;
    }
    .tells, .priceup{
        display: none;
    }
    #price h3 {
        width: 100%;
    }
    .info{
        height: 1100px;
    }
    .form .block, .form .btn  {
        width: 90%;
    }
    .about{
        height: 1200px;
    }
    iframe, .overlay,  .block-system .content2{
        width: 100%;
        margin: 0 0;
        padding: 0 0;
    }
    #contacts .block-system{
        padding: 0 0;
    }
    .block-system .block{
         width: auto;
         margin: 25px 0px;
    }
    .block-system .btn{
        font-size: 25px;
        margin:0 0;
        border: 3px solid;
    }
    .block-system h5{
        margin-top: 20px;
    } 
    .block-system h2{
        padding: 20px 0px;
    }
    .img2{
        width: 90%;
    }
    
}
@media screen and (max-width: 400px) {
      .img3{
        width: 90%;
          height: auto;
    }
    .leftserv, .rightserv{
        display: none;
    }
    .centerserv{
        float: none;
        width: 150px;
    }
    .block-system .content {
        width: 90%;
}
}

ol,ul {
    margin-left: 20px;
}

form {
    margin-bottom: 10px;
}



.overlay {
   background: rgba(255, 0, 0, .05);
	position:relative; 
	width:100%;
	height:425px;
	top:425px;
	margin-top:-425px;
    z-index: 111;
}

.loader {
    border: none;
    box-shadow: none;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -25px; /* 50% высоты */
    margin-left: -24px;  /* 50% ширины */

}
