/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media (min-width : 992px) and (max-width : 1200px) {
	.container{
		width: 970px;
	}
	header nav.lg .menu li a {
        font-size: 19px;
        padding: 14px 20px;
    }
    header .group {
        text-align: left;
    }

    .block-1 .topcont h1 {
        font-size: 40px;
    }
    .block-1 .midcont h2 {
        margin-top: 30px;
        font-size: 28px;
        line-height: 1.2em;
    }
    header .tel-block p {
        font-family: "RobotoRegular", sans-serif;
        font-size: 15px;
        margin-top: 7px;
    }
    header .tel-block {
        background: url(../img/tel.png) no-repeat 20px 0px;
        padding-left: 62px;
    }
    .block-3 .group {
     text-align: center;
 }
 .block-4 p.top {
    font-size: 45px;
}
.block-4 p.middle {
    font-size: 46px;
}
.block-4 img.rubezh {
    height: 35px;
}
.block-6 .form-cont form {
    text-align: center;
}
.block-6 .form-cont form input[type="text"] {
    font-family: "RobotoRegular", sans-serif;
    font-size: 21px;
    text-decoration: none;
    background-color: #fff;
    padding: 13px 0px 13px 13px;
    text-align: left;
    line-height: 1.2em;
    color: #acacac;
    border: 2px solid #acacac;
    border-radius: 8px;
    width: 350px;
    margin: 0 auto;
    margin-right: 0;
    margin-bottom: 20px;
}
.block-6 .form-cont form input[type="submit"] {
    font-family: "RobotoRegular", sans-serif;
    font-size: 21px;
    text-decoration: none;
    background-color: #55af05;
    padding: 10px 70px;
    display: inline-block;
    text-align: center;
    line-height: 1.2em;
    color: #fff;
    border: 2px solid #569121;
    border-radius: 8px;
    cursor: pointer;
    width: 360px;
}
.block-8 .form-cont form input[type="submit"] {
    margin-top: 10px;
}
.bx-wrapper .bx-next:hover,.bx-wrapper .bx-next:active,.bx-wrapper .bx-next:focus,.bx-wrapper .bx-next:visited, .bx-wrapper .bx-next {
    right: -40px;
}
.bx-wrapper .bx-prev:hover,.bx-wrapper .bx-prev:active,.bx-wrapper .bx-prev:focus,.bx-wrapper .bx-prev:visited, .bx-wrapper .bx-prev {
    left: -30px;
}
.block-14 #map{
    float: left;
    margin-right:4px;
    margin-left: 3px;
}
.block-14 #map1{
    float: left;
    margin-left: 10px;
}
}
@media (min-width : 768px) and (max-width : 991px) {
	.container{
		width: 750px;
	}
    nav {  
        border-bottom: 0;  
    }  
    nav ul {  
        display: none;  
        height: auto;  
    }  
    nav a#pull {  
        display: block;  
        background-color: #0B45BB;  
        width: 100%;  
        position: relative;
        color: #fff;
        text-decoration: none;
        font-family: "RobotoRegular", sans-serif;
        font-size: 22px;
        padding: 30px 0px;
        margin-left: 10px;
        text-transform: uppercase;
    }  
    nav a#pull:before {  
        content:"";  
        background: url(../img/menu.png) no-repeat;  
        width: 32px;  
        height: 32px;  
        display: inline-block;  
        position: absolute;  
        right: 15px;  
        top: 25px;  
    }  
    header nav .menu li a {
        font-size: 16px;
        padding: 14px 12px;
    }
    header .group {
        text-align: left;
    }

    .block-1 .topcont h1 {
        font-size: 30px;
    }
    .block-1 .midcont a{
    	margin-top: 10px;
    }
    .block-1 .midcont h2 {
        margin-top: 30px;
        font-size: 28px;
        line-height: 1.2em;
    }
    header .tel-block p {
        font-family: "RobotoRegular", sans-serif;
        font-size: 15px;
        margin-top: 7px;
    }
    header .tel-block {
        background: url(../img/tel.png) no-repeat 20px 0px;
        padding-left: 62px;
    }
    header .phonebox, header .logo_2{
    	float: left;
    }
    header .group .logo{
    	display: block!important;
    	margin:0 auto!important;
    	width: 300px;
    	padding-top: 20px;
    }
    header nav.lg .menu li {
    display: block;
}
    .block-3 .group {
     text-align: center;
 }
 .block-2 {
    background: url(../img/block2-md.png) no-repeat 0px 0px;
    text-align: center;
    background-size: 100% 100%;
    padding: 0;
}
.block-2 p {
    margin-top: 13px;
}
.block-2 a {
    margin-top: 800px;
}
.block-2 .btmcont{
    padding-bottom: 30px;
}
.block-4 p.top {
    font-size: 35px;
}
.block-4 p.middle {
    font-size: 30px;
}
.block-4 img.rubezh {
    height: 18px;
}
.block-5 .tabs {
    width: 740px;
    margin: 35px auto;
}
.block-5 {
    padding-top: 40px;
}
.block-6 p {
    font-size: 30px;
}
.block-6 .form-cont form input[type="text"] {   
    display: block;
    width: 350px;
    margin: 10px auto;
}
.block-6 .form-cont form input[type="submit"] {
    display: block;
    width: 360px;
    margin: 0 auto;
}
.block-8 .resultbox .box {
    width: 60%;
}
.block-8 p {
    font-size: 30px;
}
.block-8 .form-cont form input[type="text"] {   
    display: block;
    width: 350px;
    margin: 10px auto;
}
.block-8 .form-cont form input[type="submit"] {
    display: block;
    width: 360px;
    margin: 0 auto;
}
.block-11 img {
    height: 230px;
    width: 220px;
}
.block-11 .box div {
    font-size: 15px;
    width: 222px;
}
.bx-wrapper .bx-prev:hover,.bx-wrapper .bx-prev:active,.bx-wrapper .bx-prev:focus,
.bx-wrapper .bx-prev{
    background: url("../img/prev.png") no-repeat 10px 15px;
    width: 50px;
    height: 60px;
    left: -30px;
}
.bx-wrapper .bx-next:hover,.bx-wrapper .bx-next:active,.bx-wrapper .bx-next:focus,
.bx-wrapper .bx-next{
    background: url("../img/next.png") no-repeat 10px 15px;
    width: 50px;
    height: 60px;
    right: -30px;
}
.block-14 #map{
    float: left;
    margin-right:4px;
    margin-left: 3px;
}
.block-14 #map1{
    float: left;
    margin-left: 5px;
}
}

/* Small Devices, Tablets */
@media (min-width : 481px) and (max-width : 767px) {
    .container{
        width: 460px;
    }
    nav {  
        border-bottom: 0;  
    }  
    nav ul {  
        display: none;  
        height: auto;  
    }  
    nav a#pull {  
        display: block;  
        background-color: #0B45BB;  
        width: 100%;  
        position: relative;
        color: #fff;
        text-decoration: none;
        font-family: "RobotoRegular", sans-serif;
        font-size: 22px;
        padding: 30px 0px;
        text-transform: uppercase;
    }  
    nav a#pull:before {  
        content:"";  
        background: url(../img/menu.png) no-repeat;  
        width: 32px;  
        height: 32px;  
        display: inline-block;  
        position: absolute;  
        right: 15px;  
        top: 25px;  
    }  
    header nav .menu li a {
        font-size: 16px;
        padding: 14px 12px;
    }
    header .group {
        text-align: left;
    }

    .block-1 .topcont h1 {
        font-size: 35px;
        margin-top: 25px;
    }
    .block-1 .midcont {
        margin-top: 136px;
    }
    .block-1 .midcont a{
        margin-top: 10px;
    }
    .block-1 .midcont h2 {
        margin-top: 30px;
        font-size: 24px;
        line-height: 1.2em;
    }
    .block-2 p {
        font-family: "RobotoRegular", sans-serif;
        font-size: 33px;
    }
    header .tel-block p {
        font-family: "RobotoRegular", sans-serif;
        font-size: 15px;
        margin-top: 7px;
    }
    header .tel-block {
        background: url(../img/tel.png) no-repeat 20px 0px;
        padding-left: 62px;
    }
    header .logo img{
        width: 200px;
        margin-top: 50px;
    }
    header .logo_2{
        float: left;
        width: 245px;
    }
    header .phonebox{
        float: left;
        clear:right;
        margin-right: 45px;
    }
    header .logo_2 p {
        width: auto;
        margin: 0;
        padding-left: 23px;
        line-height: 22px;
        text-align: center;
        text-align: center;
        font-family: "RobotoRegular", sans-serif;
        font-size: 14px;
        text-transform: uppercase;
    }

    header p.top {
        font-family: "RobotoLight", sans-serif;
        font-size: 20px;
        margin-top: 15px;
        margin-left: 62px;
    }
    header .group .logo{
        float: left;
        width: 200px;
        padding-top: 20px;
    }
    .block-3 .group {
     text-align: center;
 }
 .block-2 {
    background: url(../img/block2-sm.png) repeat-x 0px 0px;
    text-align: center;
    background-size: 100% 100%;
    padding-top: 8px;
    padding-bottom: 20px;
}
.block-2 a {
    margin-top: 363px;
}
.block-3 .group .box {
    width: 31%;
}
.block-3 h1 {
    font-size: 36px;
    margin-top: 30px;
}
.block-3 img.logo {
    height: 30px;
    margin-top: 20px;
    width: auto;
}
.block-4 p.top {
    font-size: 27px;
}
.block-4 p.middle {
    font-size: 36px;
}
.block-4 img.rubezh {
    margin-top: 10px;
    height: 30px;
}
.block-4 .img_bl {
    width: 50%;
}
.block-5 {
    padding-top: 40px;
}
.block-5 p.tabs-top {
    font-size: 30px;
}
.block-5 .tabs {
    width: 445px;
    margin: 35px auto;
}
.block-5 a {
    font-size: 19px;
}
.block-6 p {
    font-size: 21px;
}
.block-6 .form-cont form input[type="text"] {
    margin: 5px 0;
}
.block-6 .form-cont form {
    margin: 0px auto 20px auto;
    padding: 0 20px;
    text-align: left;
    width: 367px;
}
.block-7 .middlecont .box {
    width: 28%;
    margin: 10px;
}
.block-7 .middlecont .box p {
    font-size: 17px;
}
.block-8 .resultbox .box {
    width: 80%;
}
.block-8 p.top {
    margin-top: 60px;
    font-size: 42px;
}
.block-8 .form-block p {
    font-size: 30px;
}   
.block-8 .form-cont form input[type="text"] {
    margin: 5px 0;
}
.block-8 .form-cont form {
    margin: 0px auto 20px auto;
    padding: 0 20px;
    text-align: left;
    width: 367px;
}
.block-9 p.top {
    font-size: 45px;
    margin: 30px 0 35px;
}
.block-11 img {
    height: 250px;
    display: block;
    width: 250px;
    border: 1px solid #0b45bb;
    border-radius: 10px;
    margin: 10px 7px;
    position: relative;
    z-index: 3;
}
.block-11 .box div {
    bottom: 10px;
    padding: 10px 0;
    font-size: 17px;
    line-height: 1.2em;
    color: #fff;
    width: 252px;
    left: 7px;
}
.bx-wrapper .bx-prev:hover,.bx-wrapper .bx-prev:active,.bx-wrapper .bx-prev:focus,
.bx-wrapper .bx-prev{
    background: url("../img/prev.png") no-repeat 10px 15px;
    width: 50px;
    height: 60px;
    left: -30px;
}
.bx-wrapper .bx-next:hover,.bx-wrapper .bx-next:active,.bx-wrapper .bx-next:focus,
.bx-wrapper .bx-next{
    background: url("../img/next.png") no-repeat 10px 15px;
    width: 50px;
    height: 60px;
    right: -30px;
}   
body .block-14 #map{
    float: left;
    margin-right:0px;
    margin-left: 3px;
    height: 300px!important;
}
body .block-14 #map1{
    float: left;
    margin-left: 5px;
    height: 300px!important;
}
.block-13 .contgroup .box {
    display: inline-block;
    margin: 20px;
    width: 400px;
}
}

/* Extra Small Devices, Phones */
@media (min-width : 320px) and (max-width : 480px) {
    .container{
        width: 300px;
    }
    header .logo {
        padding-top: 30px;
    }
    header .logo img{
        width: 200px;
        display: block;
        margin: 0 auto;
    }
    header .logo_2 img {
        display: block;
        margin: 0 auto;
        padding-left: 0px;
        margin-top: 10px;
    }
    header .logo_2 p {
        width: auto;
        margin: 0 auto;
        padding-left: 0;
        line-height: 22px;
        text-align: center;
        font-size: 16px;
        text-transform: uppercase;
    }
    header .group .box.phonebox{
        display: inline-block;
    }
    header .tel-block p {
        font-size: 16px;
        margin-top: 7px;
    }
    header .tel-block {
        background: none;
        padding-left: 10px;
    }
    header p.top {
        font-size: 20px;
        margin-top: 10px;
        margin-left: 36px;
    }
    header .group .box {
        display: block;
    }
    header nav.lg .menu li {
        display: block;
        color: #fff;
        font-family: "RobotoLight", sans-serif;
        font-size: 22px;
        padding: 0px 10px;
    }
    header nav.lg .menu li a {
        display: block;
        color: #fff;
        font-family: "RobotoLight", sans-serif;
        font-size: 22px;
        padding: 10px 0px;
        margin: 0;
        text-decoration: none;
        border-bottom: 1px solid #576979; 
    }
    nav {  
        border-bottom: 0;  
    }  
    nav ul {  
        display: none;  
        height: auto;  
    }  
    nav a#pull {  
        display: block;  
        background-color: #0B45BB;  
        width: 100%;  
        position: relative;
        color: #fff;
        text-decoration: none;
        font-family: "RobotoRegular", sans-serif;
        font-size: 22px;
        padding: 30px 0px;
        text-transform: uppercase;
    }  
    nav a#pull:before {  
        content:"";  
        background: url(../img/menu.png) no-repeat;  
        width: 32px;  
        height: 32px;  
        display: inline-block;  
        position: absolute;  
        right: 15px;  
        top: 25px;  
    }  
    .block-1 .topcont h1 {
        margin-top: 30px;
        font-size: 26px;
    }
    .block-1 .topcont p {
        font-size: 22px;
        margin-top: 15px;
    }
    .block-1 .midcont {
        margin-top: 70px;
        padding-bottom: 30px;
    }
    .block-1 .midcont h2 {
        margin-top: 25px;
        font-size: 21px;
    }
    .block-1 .midcont a {
        font-size: 18px;
    }
    .block-2 {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .block-2 p {
        font-size: 25px;
    }
    .block-2 {
        background: url(../img/block2-xs.png) repeat-x 0px 0px;
        text-align: center;
        background-size: 100% 100%;
        padding-top: 8px;
        padding-bottom: 20px;
    }
    .block-2 a {
        font-size: 17px;
        margin-top: 250px;
    }
    .block-3 h1 {
        font-size: 32px;
        display: block;
        margin-right: 0;
        margin-top: 20px;
    }
    .block-3 img.logo {
        height: 25px;
        width: auto;
    }
    .block-3 .group .box {
        display: block;
        width: auto;
        vertical-align: top;
        padding: 0 40px;
        margin-top: 20px;
        text-align: center;
    }

    .block-4 p.top {
        font-size: 24px;
        line-height: 1.2em;
    }
    .block-4 p.middle {
        font-size: 29px;
        display: block;
        padding-top: 4px;
    }
    .block-4 img.rubezh {
        height: 25px;
    }
    .block-4 .img_bl {
        margin: 27px auto 0;
        display: block;
        width: 45%;
    }
    .block-5 {
        padding-top: 20px;
    }
    .block-5 p.tabs-top {
        font-size: 29px;
    }
    .block-5 .tabs {
        width: 300px;
        margin: 15px auto;
    }
    .block-5 a {
        font-size: 16px;
    }
    .block-6 img {
        display: none;
    }
    .block-6 .form-cont {
        position: relative;
        z-index: 1;
        top: 0px;
    }
    .block-6 p {
        font-size: 22px;
    }
    .block-6 .form-cont form input[type="text"] {
        font-family: "RobotoRegular", sans-serif;
        font-size: 21px;
        text-decoration: none;
        background-color: #fff;
        padding: 13px 0px 13px 13px;
        display: block;
        text-align: left;
        line-height: 1.2em;
        color: #acacac;
        border: 2px solid #acacac;
        border-radius: 8px;
        width: 245px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .block-6 .form-cont form input[type="submit"] {
        font-family: "RobotoRegular", sans-serif;
        font-size: 21px;
        text-decoration: none;
        background-color: #55af05;
        padding: 10px 70px;
        display: block;
        text-align: center;
        line-height: 1.2em;
        color: #fff;
        border: 2px solid #569121;
        border-radius: 8px;
        cursor: pointer;
        width: 262px;
    }
    .block-6 {
        padding: 20px 0;
    }
    .block-7 {
        margin-top: 0px;
    }
    .block-7 .topcont p.top {
        font-size: 25px;
        margin-top: 36px;
        margin-right: 10px;
    }
    .block-7 img.rubezh {
        height: 17px;    
        margin-top: 8px;
    }
    .block-7 .middlecont p.top {
        font-family: "RobotoRegular", sans-serif;
        font-size: 30px;
        margin-bottom: 16px;
        line-height: 1.2em;
        margin-top: 18px;
    }
    .block-7 .middlecont .box {
        width: auto;
        margin: 5px;
    }
    .block-7 .middlecont .box p {
        font-size: 18px;
        margin-top: 5px;
    }
    .block-8 p.top {
        margin-top: 30px;
        color: #fff;
        font-family: "RobotoRegular", sans-serif;
        font-size: 35px;
        margin-bottom: 10px;
    }
    .block-8 .resultbox .box {
        width: 70%;
    }
    .block-8 .resultbox .box p {
        font-size: 15px;
    }
    .block-8 img {
        display: none;
    }
    .block-8 .form-cont {
        position: relative;
        z-index: 1;
        top: 0px;
    }
    .block-8 p {
        font-size: 22px;
    }
    .block-8 .form-cont form input[type="text"] {
        font-family: "RobotoRegular", sans-serif;
        font-size: 21px;
        text-decoration: none;
        background-color: #fff;
        padding: 13px 0px 13px 13px;
        display: block;
        text-align: left;
        line-height: 1.2em;
        color: #acacac;
        border: 2px solid #acacac;
        border-radius: 8px;
        width: 245px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .block-8 .form-cont form input[type="submit"] {
        font-family: "RobotoRegular", sans-serif;
        font-size: 21px;
        text-decoration: none;
        background-color: #55af05;
        padding: 10px 70px;
        display: block;
        text-align: center;
        line-height: 1.2em;
        color: #fff;
        border: 2px solid #569121;
        border-radius: 8px;
        cursor: pointer;
        width: 262px;
    }
    .block-8 .form-block p {
        text-align: center;
        font-family: "RobotoRegular", sans-serif;
        font-size: 25px;
        line-height: 1.2em;
        color: #000;
    }
    .block-8 .form-block {
        margin-top: 30px;
        padding-top: 20px;
        margin-bottom: 48px;
    }
    .block-8 .form-cont form {
        margin: 20px auto;
        display: block;
        width: 265px;
    }
    .block-9 p.top {
        font-size: 34px;
        margin: 25px 0 35px;
    }
    .block-9 {
        padding-bottom: 25px;
    }
    .block-10 p.top {
        font-size: 32px;
        margin: 30px 0 40px;
    }
    .block-10 .bx-wrapper {
        margin-bottom: 20px;
    }
    .block-11 img {
        height: 250px;
        width: 250px;
        border: 1px solid #0b45bb;
        border-radius: 10px;
        margin: 8px 7px;
        position: relative;
        z-index: 3;
    }
    .block-11 p.top {
        font-size: 50px;
        margin: 20px 0;
    }
    .block-11 .box div {
        bottom: 12px;
        padding: 10px 0;
        font-family: "RobotoRegular", sans-serif;
        font-size: 20px;
        width: 252px;
        left: 7px;
    }
    .bx-wrapper .bx-prev:hover,.bx-wrapper .bx-prev:active,.bx-wrapper .bx-prev:focus,
    .bx-wrapper .bx-prev{
        background: url("../img/prev.png") no-repeat 10px 15px;
        width: 50px;
        height: 60px;
        left: -30px;
    }
    .bx-wrapper .bx-next:hover,.bx-wrapper .bx-next:active,.bx-wrapper .bx-next:focus,
    .bx-wrapper .bx-next{
        background: url("../img/next.png") no-repeat 10px 15px;
        width: 50px;
        height: 60px;
        right:20px;
    }
    .block-13 .contgroup .box {
        display: inline-block;
        margin: 20px;
        width: auto;
    }
    .bx-wrapper img {
    max-width: 80%;
    display: block;
}
    #form{
      background-color: #fff;
      border:1px solid #ccc;
      width: 285px;
      margin:0 auto;
      position: relative;
  }
  #form p{
      text-align: center;
      font-family: "RobotoRegular", sans-serif;
      font-size: 20px;
      line-height: 1.2em; 
      color: #000;
      margin-top: 20px;
  }
  #form form{
      margin: 20px 0 40px 0;
      padding: 0 20px;
      text-align: left;
      width:235px;
  }
  #form form input[type="submit"]{
      font-family: "RobotoRegular", sans-serif;
      font-size: 21px;
      text-decoration: none;
      background-color: #55af05;
      padding: 10px 70px;
      display: block;
      text-align: center;
      line-height: 1.2em;
      color: #fff;
      border: 2px solid #569121;
      border-radius: 8px; 
      cursor: pointer;
      width: 220px;
      margin:10px auto;
  }
  #form form input[type="text"]{
      font-family: "RobotoRegular", sans-serif;
      font-size: 21px;
      text-decoration: none;
      background-color: #fff;
      padding: 13px 0px 13px 13px;
      display: block;
      text-align: left;
      line-height: 1.2em;
      color: #acacac;
      border: 2px solid #acacac;
      border-radius: 8px;
      width: 220px; 
      margin:10px auto;
  }
  body .block-14 #map{
    float: left;
    margin-right:0px;
    margin-left: 0px;
    height: 300px!important;
}
body .block-14 #map1{
    float: left;
    margin-left: 5px;
    height: 300px!important;
}
.block-10 .container{
   width: 240px; 
}
.block-10 .bx-wrapper img {
    max-width: 80%;
    margin-left: 20px;
}
.block-12 .container{
   width: 240px; 
}
.block-12 .bx-wrapper img {
    max-width: 80%;
    margin-left: 8px;
}
.block-12 .bx-wrapper .bx-pager {
    text-align: center;
    font-size: .85em;
    width: 198px;
    margin-top: 15px;
    font-family: Arial;
    font-weight: bold;
    color: #666;
    padding-top: 32px;
}
.block-1 {
    background: url(../img/block1_sm.png) no-repeat top center;
    padding-bottom: 100px;
    padding-top: 100px;
    background-size:cover;
}
}


