/*
Theme Name: Время Первых
Theme URI: htp:/iviweb.ru
Author: iviWebStudio
Author URI: https://www.fl.ru/users/mmartin1/
Description:  Theme developed special for "Vremya Pervikh" Website. All right reserved.
Version: 3.5.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vp-theme
*/

@font-face {
    font-family: "BebasNeueBold";
    src: url("inc/assets/fonts/BebasNeueBold.eot");
    src: url("inc/assets/fonts/BebasNeueBold.eot?#iefix")format("embedded-opentype"), url("inc/assets/fonts/BebasNeueBold.woff") format("woff"), url("inc/assets/fonts/BebasNeueBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "ProximaNovaLight";
    src: url("inc/assets/fonts/ProximaNovaLight.eot");
    src: url("inc/assets/fonts/ProximaNovaLight.eot?#iefix")format("embedded-opentype"), url("inc/assets/fonts/ProximaNovaLight.woff") format("woff"), url("../fonts/ProximaNovaLight.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "ProximaNovaRegular";
    src: url("inc/assets/fonts/ProximaNovaRegular.eot");
    src: url("inc/assets/fonts/ProximaNovaRegular.eot?#iefix")format("embedded-opentype"), url("inc/assets/fonts/ProximaNovaRegular.woff") format("woff"), url("inc/assets/fonts/ProximaNovaRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "ProximaNova-Bold";
    src: url("inc/assets/fonts/ProximaNova-Bold.eot");
    src: url("inc/assets/fonts/ProximaNova-Bold.eot?#iefix")format("embedded-opentype"), url("inc/assets/fonts/ProximaNova-Bold.woff") format("woff"), url("inc/assets/fonts/ProximaNova-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

body {
    font-family: "ProximaNovaRegular";
}

.light {
    font-family: "ProximaNovaLight";
}

.bold,
b,
strong {
    font-family: "ProximaNova-Bold";
}

.bebas {
    font-family: "BebasNeueBold";
}

.nopadl {
    padding-left: 0;
}

.nopadr {
    padding-right: 0;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

* {
    outline: none!important;
}

button {
    transition: 0.3s;
	cursor: pointer;
}

label.error {
    display: none!important;
}

.error {
    border-color: red!important;
    background-image: url(../img/error.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    padding-right: 25px;
}
body.error404
{
	    background: url(/wp-content/themes/vp-theme/inc/images/404.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 0;
	height: 100vh;
}
.error404 .nofound
{
	min-height: 600px;
	padding-top: 50px;
	    height: calc( 100% - 245px);
}
.nofound .notext
{
	text-align: center;
	width: 100%;
}
.valid {
    border-color: green!important;
    background-image: url(../img/valid.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    padding-right: 25px;
}
.mms
{
	margin: 2em auto;
	    min-height: 100vh;
    padding: 50px;
}
.post-thumbnail
{
	margin: 0 auto;
    width: 100%;
    text-align: center;
}
.onlymob {
    display: none
}

.nomob {
    display: block
}

.container {
    max-width: 1150px;
    width: 100%;
}

.logo {
    max-width: 100%;
    display: block;
}

header {
    padding-top: 30px;
}

.social {
    margin-top: 10px;
}

.social p {
    font-size: 18px;
    color: #333333;
    margin-bottom: 8px;
}

.social ul {
    padding: 0;
    margin: 0;
    list-style: none
}

.social ul li {
    display: inline-block;
    vertical-align: middle;
    transition: 0.3s;
    margin-right: 10px;
}

.social ul li:last-child {
    margin-right: 0;
}

.mobtop {
    font-size: 24px;
    color: #333333!important;
    display: block;
    text-decoration: none!important;
    margin-bottom: 4px;
    margin-top: 10px;
}

.mobtop b {
    color: #00e600!important
}

.recall {
    text-decoration: underline;
    color: #333333!important;
    font-size: 18px;
}

.recall:hover {
    text-decoration: none;
}

.one {
    background-image: url(inc/assets/images/bg/bg1-3-min.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    height: 753px;
    margin-top: -30px;
    padding-top: 210px;
}

h1 {
    font-family: "BebasNeueBold";
    margin: 0;
    font-size: 55px;
    color: #191a1d;
    line-height: 1.3;
    margin-bottom: 15px;
}

.subh1 {
    font-size: 21px;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 40px;
}
.subh1>span {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    padding: 5px 15px;
}

.blackbut {
    background: none;
    border: none;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    display: block;
    position: relative;
    width: 100%;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: #1c1c1c;
}

.blackbut::after {
    display: block;
    width: 100%;
    height: 7px;
    content: '';
    background-color: #e44315;
    margin-top: 1px;
    transition: 0.3s;
    position: absolute;
    bottom: -8px;
    transition: 0.3s;
    left: 0;
}
.blackbut:hover {
    transform: scale(0.95)
}
button:hover {
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
    opacity: .85
}


.one .blackbut {
    max-width: 460px;
}

h2 {
    font-size: 45px;
    color: #333333;
    font-family: "BebasNeueBold";
    margin: 0;
    margin-bottom: 20px;
}

.subh2 {
    font-size: 21px;
    color: #333333;
    margin-bottom: 65px;
    line-height: 1.4;
}

.video_wrp {
    background-position: center;
    background-size: cover;
    height: 400px;
    position: relative;
    margin-bottom: 120px;
}

.video_wrp::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.41);
    
    transition: 0.3s;
}
.video_wrp::before {
    content: '';
    display: block;
    width: 133px;
    height: 133px;
    border-radius: 50%;
    position: absolute;
    left: calc(50% - 66.5px);
    top: calc(50% - 66.5px);
    z-index: 100;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(inc/assets/images/bg/play.png);
    background-size: 133px;
    transition: 0.3s;
}

.video_wrp:hover::before {
    background-color: #fff;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.preim_wp {
    margin-top: 50px;
}

.preim_wp img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 76px;
    width: auto;
    position: relative;
    top: 0;
    transition: 0.3s;
}

.preim_wp:hover img {
    top: -10px;
}

.preim_wp p {
    margin-top: 35px;
    /*word-break: break-all;*/
    font-size: 18px;
    color: #000000;
    line-height: 1.35;
}


/*
body {
    background-image: url(../img/lines.png);
    background-repeat: no-repeat;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background-position: 46% 538px;
    background-size: 2237px;
}*/

.three {
    background-image: url(inc/assets/images/bg/bg2-min.png);
    background-repeat: no-repeat;
    background-position: top center;
    height: 753px;
    margin-top: -20px;
}

.formaMain_wrp {
    position: relative;
    border: 8px solid #00e600;
    margin-top: 550px;
}

.formaMain_wrp > div {
    border: 8px solid #1c1c1c;
    background-color: #fff;
    padding: 20px 70px;
    padding-top: 30px;
}

.formaMain_wrp h2 {
    font-size: 35px;
    margin-bottom: 20px;
    text-align: center;
}

.formaMain_wrp .subh2 {
    margin-bottom: 24px;
    text-align: center;
}

input {
    background: none;
    border: none;
    height: 52px;
    border-bottom: 1px solid #1c1c1c;
    font-size: 18px;
    width: 100%;
    color: #9b9a9a;
}

::-webkit-input-placeholder {
    color: #9b9a9a;
}

::-moz-placeholder {
    color: #9b9a9a;
}


/* Firefox 19+ */

:-moz-placeholder {
    color: #9b9a9a;
}


/* Firefox 18- */

:-ms-input-placeholder {
    color: #9b9a9a;
}

.greenbut
{
    background: none;
    border: none;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: #1c1c1c;
}

.greenbut::after{
    display: block;
    width: 100%;
    height: 6px;
    content: '';
    background-color: #00e600;
    margin-top: 1px;
    transition: 0.3s;
    position: absolute;
    bottom: -7px;
    left: 0;
}
.greenbut.btn-primary::hover
{
	background-color: red;
}
form input[class="greenbut"]:hover
{
	background-color: red;
}

.formaMain_wrp > div .row {
    margin-left: -11px;
    margin-right: -11px;
}

.formaMain_wrp > div .col-md-4 {
    padding-left: 11px;
    padding-right: 11px;
}

.sending {
    font-size: 14px;
    color: #756a6a;
    margin-bottom: 0;
    margin-top: 20px;
    text-align: center;
	width: 100%
}

.four {
    padding-top: 200px;
}

.program_wrp {}

.program_wrp > div {
    background-position: center;
    background-size: cover;
    height: 180px;
    margin-bottom: 25px;
}

.program_wrp > p {
    text-align: right;
    position: relative;
    font-size: 28px;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.program_wrp > p > span {
    display: inline-block;
    position: relative;
    z-index: 100;
    background-color: #fff;
    padding-left: 15px;
}

.program_wrp > p::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: #00e600;
    height: 1px;
    top: calc(50% - 4px);
}

.program_wrp ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    margin-bottom: 20px;
}

.program_wrp ul li {
    display: block;
    position: relative;
    font-size: 18px;
    color: #000000;
    padding-left: 33px;
    margin-bottom: 5px;
}

.program_wrp ul li::before {
    content: '';
    background-image: url(inc/assets/images/check.png);
    display: block;
    position: absolute;
    width: 19px;
    height: 15px;
    left: 0;
    top: 5px;
}

.program_wrp button::after,
.redbut::after {
    background-color: #e44315;
}

.program_wrp button {
    height: 56px;
    margin-top: 10px;
}

.five {
    background-image: url(inc/assets/images/bg/bg3-min.png);
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 930px;
    padding-top: 200px;
}

.six h2 {
    margin-bottom: 85px;
}

.gallery_div {
    display: block;
    background-position: center;
    background-size: cover;
    height: 500px;
    margin-bottom: 30px;
    position: relative;
}

.col-md-6 .row .col-md-12 .gallery_div {
    height: 280px;
}

.col-md-6 .row .col-md-6 .gallery_div {
    height: 190px;
}

.gallery_div::after {
    content: '';
    background-image: url(inc/assets/images/zoom.png);
    background-size: 69px;
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.41);
    opacity: 0;
    transition: 0.3s;
}

.gallery_div:hover::after {
    opacity: 1;
}

.lookmore {
    text-transform: none;
    max-width: 360px;
    margin-top: 30px;
}

.seven {
    background-image: url(inc/assets/images/bg/bg4-min.png);
    background-repeat: no-repeat;
    background-position: top center;
    height: 746px;
    margin-top: 0px;
}

.eight {
    padding-top: 260px;
}

.aboutus_wrp {
    position: relative;
    margin-bottom: 35px;
}

.aboutus_wrp > div {
    display: block;
    background-position: center;
    background-size: cover;
    transition: 0.3s;
    height: 240px;
    margin-bottom: 20px;
}

.aboutus_wrp:hover > div {
    opacity: .7;
}

.aboutus_wrp p {
    font-size: 22px;
    color: #09a309;
    font-weight: bold;
    margin-bottom: 2px;
}

.aboutus_wrp span {
    display: block;
    font-size: 17px;
    color: #000000;
}

.row .col-md-3:nth-child(even) > .aboutus_wrp:nth-child(1) {
    margin-top: 50px;
}

.nine {
    background-image: url(inc/assets/images/bg/bg5-min.png);
    background-repeat: no-repeat;
    background-position: top center;
    height: 595px;
    margin-top: 30px;
    padding-top: 170px;
    position: relative;
    z-index: 50;
}

.arrowLeft {
    background-image: url(inc/assets/images/arrows.png);
    height: 11px;
    width: 144px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    background-position: top left;
    position: relative;
    margin-right: 32px;
}

.arrowRight {
    background-image: url(inc/assets/images/arrows.png);
    height: 11px;
    width: 144px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    background-position: -27px 100%;
    position: relative;
    margin-left: 32px;
}

.arrowRight::before,
.arrowLeft::before {
    content: '';
    display: block;
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    left: -5px;
    top: -5px;
}

.arrowLeft:hover {
    background-position: top right;
}

.arrowRight:hover {
    background-position: bottom right
}

.partners_wrp h2 {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    user-select: none;
}

.partners_wrp {
    user-select: none
}

.partnerOwl .item > span {
    display: table;
    width: 100%;
    height: 130px;
}

.partnerOwl .item > span > span {
    display: table-cell;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}

.partnerOwl .item img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
	width: auto;
}

.partnerOwl {
    margin-top: 65px;
}

.cont_block {
    background-color: #d8fbd8;
    position: relative;
    z-index: 1000;
    padding-top: 130px;
    padding-left: 55px;
    padding-right: 55px;
    padding-bottom: 55px;
}

.contact_section {
    position: relative;
    z-index: 10;
    margin-top: -130px;
}

.contact_section .map {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.cont_block > div {
    position: relative;
    margin-bottom: 30px;
    padding-left: 33px;
}

.cont_block > div img {
    position: absolute;
    left: 0;
    top: 1px;
}

.cont_block > div span {
    display: block;
    font-size: 20px;
    color: #000000;
    font-family: "ProximaNova-Bold";
    margin-bottom: 10px;
}

.cont_block > div p {
    font-size: 18px;
    color: #000000;
    margin-bottom: 0;
}

.cont_block > div a {
    font-size: 18px;
    color: #000000!important;
    display: block;
    text-decoration: none!important;
}

.cont_block > div a b {
    font-size: 26px;
}

.cont_block .redbut {
    height: 60px;
}

.cont_block h2 {
    font-size: 55px;
    margin-bottom: 40px;
}

footer {
    background-color: #121010;
    padding: 20px 0px;
}

footer .social p {
    color: #9b9595;
}

.footlogo {
    max-width: 100%;
    display: block;
}

.social li .nohover {
    display: block
}

.social li .hover {
    display: none
}

.social li:hover .nohover {
    display: none
}

.social li:hover .hover {
    display: block
}
.modal_wrp {
    position: relative;
    border-style: solid;
    border-width: 8px;
    border-color: rgb(0, 230, 0);
    background-color: rgb(255, 255, 255);
    max-width: 448px;
    width: 100%;
    padding: 40px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 60px;
}
.sub_cent {
	color: #000000;
    margin-bottom: 22px;
    text-align: center;
}
.modal-header,
.modal-body,
.modal-footer
{
	padding: 0;
}
.wpcf7-text,
.wpcf7-tel
{
	background: none;
    border: none;
    border-bottom: 1px solid #1c1c1c;
    width: 100%;
    color: #9b9a9a;
    border-radius: 0;
}
.modal_wrp > span {
    display: block;
    margin-bottom: 30px;
    font-size: 20px;
    color: #000000;
    line-height: 1.4;
    text-align: center;
    letter-spacing: -1px;
}

.modal_wrp .sendForm {
    margin-top: 20px;
    margin-bottom: 20px;
}
.modal_wrp input {
    margin-bottom: 20px;
}
.modal_wrp .agreetext {
    margin: 0;
    color: #010101;
    opacity: .5;
}
.closemod {
    z-index: 1000;
    position: absolute;
    cursor: pointer;
    right: 12px;
    top: 12px;
}
.modal_wrp h2 {
    font-size: 33px;
    text-align: center;
    margin-bottom: 15px;
	width: 100%
}
.modal_wrp .subh2 {
    font-size: 17px;
}
.form-control:focus {
	border-color: #00e600;
	box-shadow: none;
}
body {
    padding-right: 0 !important;
}
body .modal-open {
    padding-right: 17px !important;
}
#t .subh2 {
    margin-bottom: 0;
}


/*----Модальные окна не уходи---------------------*/
.modaltext img {
    max-width: 100%;
    margin-bottom: 20px;
}
.modaltext h2 {
    font-size: 34px;
    margin-bottom: 10px;
}
.modaltext h2>span {
    color: #e24261;
}
.modaltext .subh2 {
    margin-bottom: 10px;
}
.modaltext .greenbut  {
    margin-top: 30px;
}
@media screen and (max-width:767px) {
    .modaltext h2 {
        font-size: 24px;
    }
}
/*---- / Модальные окна не уходи---------------------*/