
/* FONTS */

@font-face {
    font-family: 'Proxima Nova Regular';
    src: url('../fonts/ProximaNova/ProximaNova-Regular.eot');
    src: local('Proxima Nova Regular'), local('ProximaNova-Regular'),
    url('../fonts/ProximaNova/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ProximaNova/ProximaNova-Regular.woff') format('woff'),
    url('../fonts/ProximaNova/ProximaNova-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Bold';
    src: url('../fonts/ProximaNova/ProximaNova-Bold.eot');
    src: local('Proxima Nova Bold'), local('ProximaNova-Bold'),
    url('../fonts/ProximaNova/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ProximaNova/ProximaNova-Bold.woff') format('woff'),
    url('../fonts/ProximaNova/ProximaNova-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Light';
    src: url('../fonts/ProximaNova/ProximaNova-Light.eot');
    src: local('Proxima Nova Light'), local('ProximaNova-Light'),
    url('../fonts/ProximaNova/ProximaNova-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ProximaNova/ProximaNova-Light.woff') format('woff'),
    url('../fonts/ProximaNova/ProximaNova-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* DESKTOP STYLES */

body {font-family: 'Proxima Nova Regular'; color: #171615; font-size: 18px;}
.container {max-width: 1280px; padding-left: 35px; padding-right: 35px;}
.block-title {font-size: 50px; line-height: 1em; font-family: 'Proxima Nova Bold'; text-align: center; position: relative;}
.block-title:after {content: ''; position: absolute; height: 2px; width: 103px; background: #ec0928; left: 0; right: 0; margin: auto; bottom: -20px;}
a {color: #171615; text-decoration: none;}
a:hover {color: #ec0928; text-decoration: underline;}
a:hover img {opacity: 0.8;}
.modal-header .close:focus {outline: none; border: none;}

/* header */

#header {background: #fff url('../img/header-bgv2.jpg') top center no-repeat;}
#header .container {position: relative; padding-bottom: 70px; overflow: hidden;}
#header .logo {margin-top: 20px;}
#header .logo:hover img {opacity: 1;}
#header .phone {font-family: 'Proxima Nova Bold'; font-size: 23px; color: #fff; position: absolute; right: 35px; top: 56px;}
#header .text {margin-top: 62px;}
#header .text h1 {font-family: 'Proxima Nova Bold'; font-size: 60px; text-transform: uppercase; line-height: 1.1em; margin-bottom: 7px;}
#header .text p {font-size: 23px; line-height: 1.2em;}
#header .fb-like {margin-top: 25px; width: 470px; min-height: 190px;}
#header .fb-like img {}

/* docs */

#docs {background: #fff;}
#docs .container {overflow: hidden; padding-bottom: 60px;}
#docs h2 {margin-bottom: 62px;}
#docs .item {width: 20%; float: left; text-align: center;}
#docs .item a {font-size: 23px; line-height: 1em; display: inline-block; font-family: 'Proxima Nova Bold'; padding-bottom: 87px; background: url('../img/doc-sm.png') bottom center no-repeat; position: relative; z-index: 5;}
#docs .item a span br {display: none;}

/* welcome */

#welcome {background: #fff;}
#welcome .container { overflow: hidden; padding-bottom: 60px;}
#welcome .left-col {float: left; width: 45%;}
#welcome .left-col img {width: 100%; max-width: 531px;}
#welcome .right-col {float: left; width: 55%; padding-left: 5%; max-width: 560px;}
#welcome .block-title {text-align: left; margin-top: 20%; margin-bottom: 55px;}
#welcome .block-title:after {right: auto;}

/* news */

#news {background: #fff;}
#news .container {overflow: hidden; padding-bottom: 50px; position: relative;}
#news .block-title {margin-bottom: 55px;}
#news .items-container {display: flex; justify-content: space-between;}
#news .item {float: left; max-width: 280px; width: 25%; box-shadow: 0 0 30px rgba(0,0,0,0.1); padding-bottom: 20px; border-radius: 5px; margin-left: 1%; margin-right: 1%; overflow: hidden;}
#news .item:first-child {margin-left: 0;}
#news .item:last-child {margin-right: 0;}
#news .item img {width: 100%; border-radius: 5px 5px 0 0; object-fit: cover;}
#news .item .title {font-size: 18px; font-family: 'Proxima Nova Bold'; display: block; line-height: 1.2em; margin-top: 20px; padding-left: 20px; padding-right: 20px;}
#news .item .description {font-size: 17px; display: block; line-height: 1.2em; margin-top: 10px; padding-left: 20px; padding-right: 20px; height: 43px; overflow: hidden;}
#news .item .date {font-size: 12px; color: #808080; font-family: 'Proxima Nova Light'; display: block; margin-top: 10px; padding-left: 20px; padding-right: 20px;}

#news .all-news-link {text-align: center; margin-top: 20px;}
#news .all-news-link a {font-family: 'Proxima Nova Bold'; text-decoration: underline;}

/* feedback */

#feedback {background: #f1f1f1;}
#feedback .container {padding-top: 40px; padding-bottom: 60px;}
#feedback form {margin-top: 60px;}
#feedback .form-control {width: 90%; max-width: 677px; margin: auto; margin-bottom: 22px; background: transparent; border: none; border-radius: 0; border-bottom: 1px solid #b5b5b5; color: #171615;}
#feedback .form-control:focus {border-color: unset; box-shadow: none;}
#feedback .btn {background: #ec0928; width: 250px; border-radius: 30px; text-transform: uppercase; font-size: 18px; font-family: 'Proxima Nova Bold'; color: #fff; height: 50px; display: block; margin: auto; margin-top: 47px;}
#feedback .btn:focus {box-shadow:0 0 0 .2rem rgba(210,43,43,.5);}
#feedback .btn:hover {opacity: 0.8;}

/* footer */

#footer {background: #fff;}
#footer .container {padding-top: 30px; padding-bottom: 37px; overflow: hidden; display: flex; justify-content: space-between;}
#footer .logo {float: left;}
#footer .logo:hover img {opacity: 1;}
#footer .address-block {float: left; margin-left: -127px;}
#footer .address-block .phone {font-size: 28px; display: block; line-height: 1em; margin-top: 3px;}
#footer .address-block .address {font-size: 21px; display: block; line-height: 1em; margin-top: 10px;}
#footer .fb-like {float: left;}

/* news-list-page */

#news-list-page {padding-bottom: 60px; background: #fff;}
#news-list-page .items-container {margin-top: 60px;}
#news-list-page .item {overflow: hidden; margin-bottom: 30px; box-shadow: 0 0 30px rgba(0,0,0,0.1); padding: 30px 50px 30px 30px; border-radius: 5px;}
#news-list-page .item img {max-width: 320px; float: left; margin-right: 30px;  object-fit: cover;}
#news-list-page .item .title {display: block; font-family: 'Proxima Nova Bold'; font-size: 30px; line-height: 1em;}
#news-list-page .item .description {display: block; margin-top: 10px;}
#news-list-page .item .date {display: block; margin-top: 10px; font-size: 13px; color: #666;}

#news-list-page .pages {width: 100%; margin-top: 50px; text-align: center;}
#news-list-page .pages a {padding: 2px 5px 0px 5px; display: inline-block;}
#news-list-page .pages a:hover {}
#news-list-page .pages a.active {padding: 2px 10px 0px 10px; background: #ec0928; color: #fff; text-decoration: none; border-radius: 5px;}

/* news-view-page */

#news-view-page {padding-bottom: 50px; background: #fff;}
#news-view-page .content {margin-top: 60px;  box-shadow: 0 0 30px rgba(0,0,0,0.1); padding: 30px 50px 30px 30px; border-radius: 5px;}
#news-view-page .content h2 {line-height: 1em; margin-bottom: 20px; }
#news-view-page .content .date {display: block; margin-top: 10px; font-size: 15px; color: #666; margin-bottom: 20px; margin-top: -10px;}
#news-view-page .content img {display: none;}
#news-view-page .content .main-image {max-width: 50%; float: left; margin-right: 20px; display: block; margin-top: 5px;}
#news-view-page .all-news-link {text-align: center; margin-top: 30px;}
#news-view-page .all-news-link a {font-family: 'Proxima Nova Bold'; text-decoration: underline; font-size: 20px;}

/* MEDIA STYLES */

/* WIDTH: 992px  */

@media screen and (max-width: 1220px){
    #welcome .block-title {margin-top: 7%;}
    #footer .address-block {margin-left: -20px;}

}

@media screen and (max-width: 1100px){
    #footer .logo img {width: 128px;}
    #footer .address-block {margin-left: -10px;}
    #footer .address-block .phone {font-size: 22px;}
    #footer .address-block .address {font-size: 16px; margin-top: 0px;}
}

@media screen and (max-width: 992px){
    .block-title {font-size: 42px;}

    #header {background: #fff url('../img/header-bg992v2.jpg') top center no-repeat;}
    #header .phone {font-size: 23px; color: #000; position: absolute; right: 15px; top: 2px;}

    #docs .item a span br {display: block;}

    #welcome .block-title {margin-top: 6%;}

    #news .item .title {line-height: 1.1;}
    #news .item .description {height: 55px; line-height: 1.2; font-size: 15px;}

    #feedback .btn {height: 40px; font-size: 16px;}
}

/* WIDTH: 768px  */

@media screen and (max-width: 950px){
    #footer .container {position: relative; padding-top: 20px; padding-bottom: 32px;}
    #footer .address-block {position: absolute; top: 68px; margin-left: 0;}
    #footer .address-block .address {margin-top: 4px;}
}

@media screen and (max-width: 768px){
    .container {padding-left: 10px; padding-right: 10px;}
    .block-title {font-size: 38px;}

    #header {background: #fff url('../img/header-bg768v2.jpg') top center no-repeat;}
    #header .text h1 {font-size: 46px; line-height: 1.3em; margin-bottom: 27px;}
    #header .text p {font-size: 20px; line-height: 1.3em;}
    #header .fb-like {margin-top: 32px}
    #header .container {padding-bottom: 40px;}

    #docs .item a {font-size: 20px; padding-bottom: 62px; background: url(../img/doc-sm.png) bottom center no-repeat;}
    #docs h2 {margin-bottom: 65px;}
    #docs .container {padding-bottom: 50px;}

    #welcome .right-col {padding-left: 15px;}
    #welcome .block-title {margin-top: -5px;}
    #welcome p {line-height: 1.3em; font-size: 17px;}
    #welcome .container {padding-bottom: 50px;}

    #news .item:last-child {display: none;}
    #news .item:nth-child(3) {margin-right: 0;}
    #news .item .title {padding-left: 14px; padding-right: 14px;}
    #news .item .description {padding-left: 14px; padding-right: 14px;}
    #news .item .date {padding-left: 14px; padding-right: 14px;}
    #news .item {padding-bottom: 18px; width: 33%;}

    #feedback .form-control {width: 70%;}

    #footer .container {position: relative; padding-top: 20px; padding-bottom: 32px;}
    #footer .address-block {position: absolute; top: 68px; margin-left: 0;}
    #footer .address-block .address {margin-top: 4px;}

    #news-list-page .item {padding: 15px 15px 15px 15px;}
    #news-list-page .item img {margin-right: 15px;}
    #news-list-page .item .description {line-height: 1.2em; font-size: 17px;}

    #news-view-page .content {padding: 15px 15px 15px 15px;}
    #news-view-page .content p {line-height: 1.2em; font-size: 17px;}
    #news-view-page .content .main-image {margin-top: 4px; margin-right: 15px;}
    #news-view-page .content .date {margin-bottom: 10px;}
}

/* WIDTH: 375px  */

@media screen and (max-width: 740px){
    #footer .container {display: block; padding-top: 32px; padding-bottom: 27px;}
    #footer .fb-like {margin-top: 105px; float: none;}
    #footer .address-block {top: 79px;}
}

@media screen and (max-width: 590px){

    #header {background: #fff url(../img/header-bg600v2.jpg) top center no-repeat;}

    #header .text h1 {font-size: 34px; line-height: 1.2em; margin-bottom: 21px;}
    #header .logo {margin-top: 78px;}
    #header .phone {right: auto; left: 10px;}
    #header .text {margin-top: 28px;}
    #header .text p {font-size: 16px;}
    #header .text p br {}
    #header .container {padding-bottom: 29px;}

    #news .item:nth-child(3) {display: none;}
    #news .item {width: 50%;}

    #news-list-page .item img {width: 100%; margin-bottom: 10px; display: block; float: none;}
    #news-view-page .content .main-image {max-width: 100%; margin-bottom: 10px; margin-bottom: 15px;}
}

@media screen and (max-width: 540px){
    #docs .item {width: 50% !important; margin-bottom: 30px;}
    #docs .item:first-of-type {display: none;}
    #docs .item:last-child {display: none;}
    #docs .item a {}
    #docs .container {padding-bottom: 20px;}

    #welcome .left-col {width: 100%;}
    #welcome .right-col {width: 100%; padding-left: 0;}
    #welcome .block-title {margin-top: 40px; line-height: 1.1; margin-bottom: 40px;}
    #welcome p {font-size: 16px; line-height: 1.3em;}
    #welcome .container {padding-bottom: 30px;}
}

@media screen and (max-width: 450px){
    #header {background: #fff url(../img/header-bg450v2.jpg) top center no-repeat;}
}

@media screen and (max-width: 375px){
    .container {min-width: 350px;}
    .block-title {font-size: 30px;}
    .block-title:after {bottom: -12px;}

    #header {background: #fff url(../img/header-bg375v2.jpg) top center no-repeat;}
    #header .text h1 {font-size: 34px; line-height: 1.2em; margin-bottom: 21px;}
    #header .logo {margin-top: 155px;}
    #header .phone {right: auto; left: 10px;}
    #header .text {margin-top: 8px;}
    #header .text p {font-size: 16px;}
    #header .text p br {display: none;}
    #header .container {padding-bottom: 29px;}
    #header .fb-like {min-height: 130px;}

    #docs .item {width: 50% !important; margin-bottom: 30px;}
    #docs .item:first-of-type {display: none;}
    #docs .item:last-child {display: none;}
    #docs .item a {background: url(../img/doc-sm2.png) bottom center no-repeat;}
    #docs .container {padding-bottom: 20px;}

    #welcome .left-col {width: 100%;}
    #welcome .right-col {width: 100%; padding-left: 0;}
    #welcome .block-title {margin-top: 40px; line-height: 1.1; margin-bottom: 40px;}
    #welcome p {font-size: 16px; line-height: 1.3em;}
    #welcome .container {padding-bottom: 30px;}

    #news .items-container {display: block;}
    #news .item {float: none; margin: auto !important; margin-bottom: 20px !important; max-width: 100%; width: 100%;}

    #feedback .form-control {width: 100%;}
    #feedback .btn {margin-top: 38px;}
    #feedback .container {padding-bottom: 32px;}


}