html,
body {
    font-family: 'Open Sans';
    margin: 0;
    padding: 0;
    background: #fedbce;
    min-width: 1000px;
  
}

#rollover a {
    display: block;
    width: 200px; /* Ширина блока ролловера, соответствует ширине картинки разделенной на три */
    height: 100px;  /* Высота блока ролловера, соответствует высоте картинки */
    background: url("img/facebook.png") 0 0 no-repeat; /* Путь до картинки ролловера */
}
#rollover a:hover {
    background-position: -200px 0; /* При наведении курсора на картинку, она смещается на один блок влево, в данном случае на 200 пикселей */
}
#rollover a:active {
    background-position: -400px 0;  /* При клике по изображение, она смещается на два блока влево, в данном случае на 400 пикселей */
}



.container {
    margin: 0 auto;
    width: 1000px;
    max-width: 1000px;
    min-width: 1000px;
}

.greenline {
    width: 100%;
    height: 15px;
    background: #5b9b02;
}

.back1 {
    width: 100%;
    background: url('img/back1.jpg') no-repeat;
    background-size: 80% auto;
    background-position: right top;
}

.logo-container {
    width: 100%;
    height: 220px;
}

.logo-container .logo {
    width: 430px;
    height: 150px;
    display: inline-block;
    float: left;
    background: url('img/logo.png') no-repeat;
    background-size: 100% 100%;
    margin-top: 40px;
    margin-right: 160px;
    box-sizing: border-box;
    position: absolute;
    z-index: 100;
}

.certificate {
    width: 220px;
    height: 306px;
    display: inline-block;
    float: inherit;
    background: url('img/c-1.jpg') no-repeat;
    background-size: 100% 100%;
    margin-top: 30px;
    margin-left:815px;
    box-sizing: border-box;
    position: absolute;
    z-index: 100;
	
	/*img { width:300px; transition:width 0.5s ease; }
    #certificate:hover img { width:500px; }*/
	}

.clients{
    position: relative;
    width: 100%;
    height: 700px;
    background: #fff;
    color: #fff;
     
}

.social{
    width: 100%;
    height: 100px;
    background: #fedbce;
    color: #5e5a5a;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
	}

.social-container{
    float: left;
    width: 220px;
    height: 80px;
    margin-top: 40px;
	margin-left: 0px;
    position: relative;
	}
	
.social-fb{
    float: left;
    width: 300px;
    height: 80px;
    margin-top: 25px;
	margin-left: 0px;
    position: relative;
	}
	
.cl1{
    float: left;
    width: 200px;
    height: 80px;
    margin-top: 25px;
    position: relative;
	}
	
.cl2{
    float: left;
    width: 220px;
    height: 80px;
    margin-top: 25px;
    margin-left: 25px;
	position: relative;
	}

.cl3{
    float: left;
    width: 200px;
    height: 80px;
    margin-top: 50px;
    position: relative;
	}	
	
	
.logo-container .contacts1 {
    width: 340px;
    display: inline-block;
    float: right;
    color: #5e5a5a;
    font-size: 15px;
    margin-top: 45px;
}

.logo-container .contacts1 .button {
    width: 135px;
    height: 20px;
    padding: 10px;
    background: #5b9b02;
    color: white;
    line-height: 20px;
    float: right;
    margin-top: 10px;
    font-weight: 700;
    cursor: pointer;
}

.logo-container .contacts1 .button:hover {
    background: #75b71a;
}

.logo-container .contacts1 .ananas {
    width: 55px;
    height: 90px;
    background: url('img/ananas.png');
    background-size: 100% 100%;
    float: right;
    position: relative;
    left: 165px;
    top: -30px;
}

.menu ul li {
    display: inline-block;
    width: 18%;
    height: 50px;
    text-align: center;
    color: black;
    background: rgba(155, 144, 144, 0.25);
    vertical-align: top;
}

.menu ul a {
    text-decoration: none;
    color: black;
}

.menu ul .line {
    width: 1px;
    height: 53px;
    background: #5b9b02;
    display: inline-block;
    position: relative;
    top: -3px;
    margin-left: 10px;
    margin-right: 10px;
}

.menu ul a:hover li {
    background: #eb8d2c;
    color: white;
}

h1 {
    text-transform: uppercase;
    color: #5b9b02;
    margin-bottom: 10px;
}

.rect {
    width: 10px;
    height: 25px;
    background: #eb8d2c;
    position: relative;
    top: 60px;
    left: -13px;
    display: inline-block;
}

.rect2 {
    width: 10px;
    height: 25px;
    background: #eb8d2c;
    position: relative;
    top: 62px;
    left: -810px;
    display: inline-block;
}

.catalogue .text {
    color: #eb8d2c;
    font-size: 20px;
    font-weight: 500;
}

.partners {
    display: inline-block;
    float: left;
    margin-left: 15px;
}

.partners .title {
    display: block;
    width: 230px;
    height: 30px;
    background: rgb(249, 250, 249);
    padding: 10px;
    padding-top: 2px;
    line-height: 20px;
    text-decoration: none;
    color: #5b9b02;
    margin-top: 30px;
    text-transform: uppercase;
    font-weight: 500;
}

.label {
    width: 250px;
    height: 186px;
    margin-top: 15px;
    background-size: 100% 100%;
}

.top {
    width: 100%;
    height: 460px;
    background: #d4d419;
    margin-top: 40px;
}

.cal1 {
    width: 30%;
    height: 460px;
    background: #941ae0;
    display: inline-block;
    float: left;
}

.cal2 {
    width: 26%;
    height: 460px;
    background: #1a29e0;
    display: inline-block;
    float: left;
}

.cal3 {
    width: 18%;
    height: 460px;
    background: #1ae0d8;
    display: inline-block;
    float: left;
}

.cal4 {
    width: 26%;
    height: 460px;
    background: #22e01a;
    display: inline-block;
    float: left;
}

.cal1 .notebook {
    width: 100%;
    height: 460px;
}

.cal2 .pen {
    width: 100%;
    height: 280px;
}

.cal2 .flash {
    width: 100%;
    height: 180px;
}

.cal3 .watch {
    width: 100%;
    height: 120px;
}

.cal3 .cup {
    width: 100%;
    height: 120px;
}

.cal3 .shirt {
    width: 100%;
    height: 220px;
}

.cal4 .magnet {
    width: 100%;
    height: 230px;
}

.cal4 .bag {
    width: 100%;
    height: 230px;
}

.caption .lin {
    width: 100%;
    height: 3px;
    background: #fff;
    margin-bottom: 10px;
}

.caption {
    width: 45%;
    background: rgba(17, 17, 17, 0.72);
    padding: 10px;
    color: white;
    text-align: left;
    position: relative;
}

.caption h2 {
    margin: 0;
    margin-bottom: 5px;
    color: #eb8d2c;
    text-transform: uppercase;
    font-size: 21px;
    text-align: center;
}

.services {
    width: 100%;
    height: 770px;
    background: url('img/services-bg.jpg') no-repeat;
    background-size: 100% 100%;
}

.services .text {
    color: #eb8d2c;
    font-size: 20px;
    font-weight: 500;
}

.services a {
    text-decoration: none;
}

.container .window {
    width: 47%;
    height: 130px;
    display: inline-block;
    border: 3px solid #5b9b02;
    margin: 10px;
    margin-top: 40px;
    position: relative;
}

.window .photo {
    width: 30%;
    height: 130px;
    float: left;
    background-size: 100% 100%;
}

.window .text {
    position: relative;
    left: 10px;
    font-size: 16px;
    padding-right: 10px;
    color: white;
    height: 1px;
}

.window h3 {
    color: #eb8d2c;
    text-transform: uppercase;
    position: relative;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 5px;
}

.contact {
    width: 100%;
    height: 700px;
    background: #f4dacc;
    color: #5e5a5a;
}

.contact .text {
    color: #eb8d2c;
    font-size: 20px;
    font-weight: 500;
}

.maps {
    display: inline-block;
    float: right;
    position: relative;
    left: -50px;
}

.maps .button {
    width: 480px;
    height: 60px;
    padding: 10px;
    background: #5b9b02;
    color: white;
    line-height: 60px;
    float: right;
    margin-top: 0px;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    top: -15px;
}

.maps .button:hover {
    background: #75b71a;
}

.contacts {
    display: block;
    float: left;
}

.apple {
    width: 70px;
    height: 65px;
    background: url('img/apple.png') no-repeat;
    background-size: 100% 100%;
    float: right;
    position: relative;
    left: 10px;
    top: -15px;
    z-index: 1;
}

.footer {
    width: 100%;
    height: 100px;
    background: #fff;
    color: #5e5a5a;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.crazyblock {
    background-size: cover;
    cursor: pointer;
}

.opacityblock {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
}

.modal_div {
    width: 300px;
    height: 300px;
    background: #fff;
    position: fixed;
    top: 45%;
    left: 50%;
    margin-top: -150px;
    margin-left: -150px;
    display: none;
    opacity: 0;
    z-index: 200;
    -webkit-box-shadow: 0px 0px 46px -6px rgba(0, 0, 0, 1.0);
    -moz-box-shadow: 0px 0px 46px -6px rgba(0, 0, 0, 1.0);
    box-shadow: 0px 0px 46px -6px rgba(0, 0, 0, 1.0);
}

.modal_div .modal_close {
    width: 35px;
    height: 34px;
    background: url('img/close.png');
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    display: block;
}

#overlay {
    z-index: 120;
    position: fixed;
    background: rgba(0, 0, 0, 0.74);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
}

.imgdesc {
    width: 100%;
    text-align: left;
    background: #b76715;
    padding: 5px 10px;
    color: white;
    box-sizing: border-box;
}

.imgdesc b {
    font-weight: 600;
}

.top a {
    text-decoration: none;
}

.email_form {
    background: white;
}

.email_form input[type="text"] {
    height: 50px;
    width: 200px;
    display: block;
    border: 3px solid #5b9b02;
    font-size: 22px;
    padding: 10px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.email_form input[type="submit"] {
    height: 50px;
    width: 200px;
    display: block;
    background: white;
    color: #5b9b02;
    border: 5px solid #5b9b02;
    font-size: 22px;
    padding: 10px;
    margin: 0 auto;
    margin-bottom: 10px;
    cursor: pointer;
}

.email_form input[type="submit"]:hover {
    background: #5b9b02;
    color: white;
    border: 5px solid #5b9b02;
}

.picture {
    width: 350px;
    height: 250px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: relative;
    top: 20px;
    left: 40px;
    padding-bottom: 40px;
}

.clover {
    width: 250px;
    height: 320px;
    background: url(img/clover.png);
    background-size: 100% 100%;
    position: absolute;
}