html,body {
    padding: 0;
    margin: 0;
    font-size: 12pt;
    background-color: rgb(248, 248, 248);
    height:100%;
    font-family: 'Roboto', sans-serif;
    line-height: 170%;
    color:#636363;
}

body {
	/*background: url('images/bg.jpg') no-repeat center center fixed;
    background-position:;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;*/
}

body:after{
      content:"";
      position:fixed; /* stretch a fixed position to the whole screen */
      top:0;
      height:100vh; /* fix for mobile browser address bar appearing disappearing */
      left:0;
      right:0;
      z-index:-1; /* needed to keep in the background */
      /* background: url('images/bg.jpg') center center;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover; */
  }



:hover {
    transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -webkit-transition: all .15s ease-in-out;
}

.center {
	text-align: center;
}

h1 {
    font-size:1.4em;
    text-align: center;
}

div.content {
    width:100%;
    height:100%; 
}

div.menu {
    padding:4px;
    line-height: 36pt;
    background-color: rgba(220, 230, 255, 0.85);
    text-align : center;
    position:fixed;
    top:0;
    width:100%;
    z-index:100;
}

.menu p {
    margin: 0;
}

.menu a {
    text-decoration: none;
    border-bottom: 1px solid #bec8ea;
    margin:10px;
    padding:5px;
    color: #242682;
    font-size: 1.2em;
    line-height: 50px;
    /* display: inline-block;
    vertical-align: middle; */
}

ul {
	padding-left: 19px;
}

a.home {
    text-decoration: none;
    border-bottom: none !important;
}

.menu a:hover {
    border-color: #ff5555;
    border-width: 3px;
}

.menu img {
    height:60px;
    width:auto;
    vertical-align: middle;
    margin-right: 0px;
}

.home {
    font-weight:bold;
}
.topblock {
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position:static;
}

.topmargin {
    margin-top:70px;
}

@media screen and (max-width:700px) { 
	.topmargin {
	    margin-top:120px;
	}

}

.hello {
    width:60%;
    max-width:500px;
    background-color: rgba(0, 0, 0, 0.6);
    color:#eaeaea;
    margin:auto;
    padding:20px;
}

.shadow {
    -webkit-box-shadow: 0px 0px 20px 0px rgba(46, 46, 46, 0.75);
    -moz-box-shadow: 0px 0px 20px 0px rgba(46, 46, 46, 0.75);
    box-shadow: 0px 0px 20px 0px rgba(46, 46, 46, 0.75);
}

.whitebg {
    background-color: white;
}

.textblock {
    width:96%;
    max-width: 1700px;
    margin:0 auto;
   position: relative;
}

.block {
    padding:20px;
}

h2 {
    text-align: center;
    font-size:1.4em;
    color: #242682;
}

/* Каталог */

div.catalog {
    display: flex;
    
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.catalog div {
    padding:10px;
    margin:20px;
    width:160px;
    text-align:center;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(46, 46, 46, 0.75);
    -moz-box-shadow: 0px 0px 40px 0px rgba(46, 46, 46, 0.75);
    box-shadow: 0px 0px 40px 0px rgba(3, 3, 3, 0.75);
}
a.buybutton {
    background-color: #242682;
    height:50px;
    display: inline-block;
    padding:0 10px;
    border:none;
    color:white;
    border-radius: 4px;
}

.contacts p {
    text-align: center;
    color: #b2b2b2;
}

.contacts a {
    color: #b2b2b2;
    text-decoration: none;
    line-height: 36px;
    border-bottom: 1px solid;
}

.contacts2 a {
    color:#636363;
    text-decoration: none;
    border-bottom: 1px solid #bec8ea;
}

.slider div {
    width: 100%;
    height: 350px;
    padding: 10px;
}

div.firstcolumn {
   
    display: inline-block;
    width:calc(50% - 2px);
    vertical-align:top;
}

div.secondcolumn { 
   display: inline-block;
   width:calc(50% - 2px);
   
}

div.third {
    background-color: cornsilk;
    padding:10px;
    display: inline-block;
    width:calc(50% - 24px);
    min-height: 150px;
}

div.first {
    padding:0 10px 45px 10px;
    height: 450px;
    overflow-x:hidden;
    overflow-y: auto;
}

div.second {
    padding:0 10px 45px 10px;
    height: 200px;
    overflow-x:hidden;
    overflow-y: auto;
}

div.bottomsecond {
    background-color: lightcyan;
    padding:10px;
    min-height: 100px;
}

div.topfirst {
    
    padding:10px;
    min-height: 320px;
}

div.slidertext {
    color:black;
    position:absolute;
    bottom:0;
    top:0;
    margin:auto;
    width:calc(100% - 20px) !important;
    height:50px;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 50px;
    text-align:center;
    background-color: rgba(255,255,255,0.6);
    color:#2F1D81;
}

div.slide {
    position:relative;
    padding:0;
	background-size: 100% auto !important;
}

@media screen and (max-aspect-ratio: 900/1000) { /* 1920 х 1063 размер фона */
	 div.slide {
		background-size: auto 100% !important;
	}
}	

/*Переопределение*/

.bx-wrapper {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}
div.bx-viewport {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(194,194,194,1);
    -moz-box-shadow: 0px 0px 15px 0px rgba(194,194,194,1);
    box-shadow: 0px 0px 15px 0px rgba(194,194,194,1);
}

div.fadeout {
    /*height:200px;
    width:100%;
    position:fixed;*/
    position: relative; 
    bottom: 4em;
    height: 4em;
    background: -moz-linear-gradient(top,  rgba(248, 255, 232,0) 0%, rgba(248, 255, 232,1) 90%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(248, 255, 232,0)), color-stop(95%,rgba(248, 255, 232,1)));
    background: -webkit-linear-gradient(top,  rgba(248, 255, 232,0) 0%,rgba(248, 255, 232,1) 90%);
    background: -o-linear-gradient(top,  rgba(248, 255, 232,0) 0%,rgba(248, 255, 232,1) 90%);
    background: -ms-linear-gradient(top,  rgba(248, 255, 232,0) 0%,rgba(248, 255, 232,1) 90%);
    background: linear-gradient(to bottom,  rgba(248, 255, 232,0) 0%,rgba(248, 255, 232,1) 90%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f7ffe8', endColorstr='#f7ffe8',GradientType=0 );
}
div.faded {
   height:250px; 
}

div.fadedlong {
   height:450px; 
}

div.map {
    position:relative;
    height:400px;
    width:100%;
}

.map div.contacts {
    position: absolute;
    z-index: 2;
    padding:10px;
    background-color: rgba(220, 230, 255, 0.65);
    top:80px;
    right:10px;
    
}

span.partners img{
    
    width:auto;
    height:32px;
    padding:20px;
    
}

span.clients {
   /* min-width:100px;*/ 
    text-align: center;
    vertical-align: middle;
	border: 1px solid #eee;
	margin:5px;
	padding:5px;
	height:50px;
	position:relative;
    
}

span.clients img{
    
	width:auto;
	max-width:calc(100% - 10px);
	height: auto;
	max-height: calc(100% - 10px);
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	margin: auto;
	padding:5px;
	   
	   
	   
	
    
}

/* bxslider config arrows */ 

.bx-prev:hover {
    /*border-color: #ff5555;
    border-width: 3px;
    border: 1px solid; */
}

.bx-next:hover {
    /*border-color: #ff5555;
    border-width: 3px;
    border: 1px solid; */
}

.bxLBtn, .bxRBtn {
    position: absolute;
    z-index: 999;
}
.bx-prev, .bx-next {
    font-size: 48px;
    font-family: Times;
    /*color: blue;*/
    text-decoration: none;
}
.bxLBtn {
    left: 0;
    top: 50%;
}
.bxRBtn {
    right: 0;
    top: 50%;
}
div.contacts2 {
   text-align: center;
    
}

.left_big {
    display: inline-block;
    width: calc(65% - 16px);
    margin-right: 10px; 
    vertical-align: top;
}

.right_big {
    display: inline-block;
    width: calc(65% - 16px);
    margin-left: 10px; 
    vertical-align: top;
}

.left {
    display: inline-block;
    width: calc(35%);
    vertical-align: top;
    min-height: 400px;
    margin-top:26px;
	background-position:right top !important;
	background-size:100% auto !important;
	background-repeat: no-repeat !important;
}

.right {
    display: inline-block;
    width: calc(35%);
    vertical-align: top;
    min-height: 400px;
    margin-top:26px;
	background-position:right top !important;
	background-size:auto 100% !important;
	background-repeat: no-repeat !important;
}

.cookie-settings{
    margin-top: -29px;
    margin-left: 20%;
}
.cookie-settings a{
    color:#636363;
    text-decoration: none;
}
.cookie-settings a:hover{

    border-bottom: 1px solid #bec8ea;
}

@media screen and (max-width:800px) {
    .cookie-settings{
        margin-top: 0;
        margin-left: 0;
        text-align: center;
    }
	.left {
		background-size: auto 100% !important;
		width:100%;
		display:none;
	}
	
	.right {
		background-size: auto 100% !important;
		width:100%;
		display:none;
	}
	
	.right_big {
		width:100%;
	}
	
	.left_big {
		width:100%;
	}
}

a.anchor {
	position:absolute; 
    top:-80px;
	}
	
@media screen and (max-aspect-ratio: 900/900) { /* 1920 х 1063 размер фона */
a.anchor {
	position:absolute; 
    top:-120px;
}
}

a.active {
    border: 1px solid;
    color:red;
}


img.rightleft {
    width:100%;
}

.contactsblock {
        background-color: rgba(220, 230, 255, 0.85);
}

.btn {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    border: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 11px 16px;
    font-size: 13px;
    line-height: 1.429;
    border-radius: 0;
}

.btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: 0;
}

.btn:hover {
    color: #333333;
    text-decoration: none;
}

.btn:active, .btn.active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.disabled, .btn[disabled],
fieldset[disabled] .btn {
    cursor: not-allowed;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
}
