/*
Theme Name: IMS Basic
Description: IMS Basic WordPress Theme
Version: 2.0
Author: IMS DESIGN
Author URI: //ims-design.ru/
*/

/*---Normalize--------------------------------------------------------------------------- */

body, html {
    height: 100%;
}

body {
    margin: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

article, footer, header, main, nav, section, div, input, textarea {
    display: block;
}

a, a:active, a:focus, button, button:focus, button:active, .btn, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn.active.focus {
    outline: none !important;
    outline: 0 !important;
}

input::-moz-focus-inner {
    border: 0 !important;
}

*, *:after, *:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a {
    background: transparent !important;
    text-decoration: none !important;
}

a:hover, a:active, button:focus, button:hover, button:active, input:focus, input:hover, input:active {
    outline: 0 !important;
}

a:focus {
    outline: 0 !important;
}

b, strong {
    font-weight: bold;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button, input {
    line-height: normal;
}

button, select {
    text-transform: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
	width: 100%;
	height: auto;
	border: 0;
}

/*---Basic-Structure--------------------------------------------------------------------- */

body {
    font-family: 'Open Sans', sans-serif;
    color: #b2c2a3;
    font-size: 18px;
    background: #000;
}

main {
	max-width: 1920px;
	min-height: 100vh;
	overflow: hidden;
	margin: 0 auto;
    background: url('/wp-content/themes/ims-basic/img/pictures/background.jpg');
    background-size: cover;
    background-position: 50% 0;
}

section {
    min-height: 100vh;
    background: linear-gradient(to right, rgba(0,0,0,.95) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.95) 100%);
    padding-bottom: 30px;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 30px auto 0;
    color: #b2c2a3;
}

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*---Basic-Typography-------------------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: 'Exo', sans-serif;
    font-weight: 600;
    color: #cfff50;
}

h1, .site-title, .page-title {
	text-transform: uppercase;
	text-align: center;
    font-size: 1.8em;
    margin: 15px 0;
}

h2, .section-title, .popup-title, .footer-title {
	font-size: 1.4em;
    margin: 10px 0;
	text-transform: uppercase;
	text-align: center;
	font-weight: 600;
}

h3, .block-title {
	font-size: 1.2em;
    margin: 8px 0;
}

a {

}

a:hover {

}

p {
    margin: 5px 0;
}

label {
    margin: 5px 0;
}

/*---Header------------------------------------------------------------------------------ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 0;
    background: transparent;
}

/*---Home-Page--------------------------------------------------------------------------- */
/*---Footer------------------------------------------------------------------------------ */

footer {
    position: realtive;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	display: flex;
	color: #fff;
}

/*---Pages------------------------------------------------------------------------------- */

.bread-box {
    border-bottom: 1px solid #ececec;
    background: #fafafa;
    padding: 3px 0;
}

.breadcrumbs {
    margin: 0 auto;
    padding: 0 5px;
    font-size: .8em;
    opacity: .8;
}

.breadcrumbs a {
    color: currentcolor;
    font-weight: 600;
}

.sec-page {
    height: 100%;
    padding-bottom: 30px;
}

.sec-page aside, .sec-page article {
    min-height: calc(100vh - 170px);
}

.sec-page aside {
    width: 320px;
    background: #444;
    color: #fff;
}

.sec-page article {
    border: 1px solid #ececec;
    width: calc(100% - 340px);
    padding: 10px 15px;
}

/*---Loop-------------------------------------------------------------------------------- */
/*---Posts------------------------------------------------------------------------------- */
/*---Editor-Styles----------------------------------------------------------------------- */

.sec-page article ul, .sec-page article ol {
    padding: 0;
    list-style: none;
}

.sec-page article ul li, .sec-page article ol li {
    position: relative;
    padding-left: 22px;
}

.sec-page article ul li:before {
	content: '\f111';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	left: 0; top: 2px;
	width: 22px; height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 900;
	color: #444;
}

.sec-page article ol li:before {
	position: absolute;
	left: 0; top: 0;
	width: 22px; height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 600;
	color: #444;
}

.sec-page article ol li:nth-of-type(1):before {
	content: '1.';
}

.sec-page article ol li:nth-of-type(2):before {
	content: '2.';
}

.sec-page article ol li:nth-of-type(3):before {
	content: '3.';
}

.sec-page article ol li:nth-of-type(4):before {
	content: '4.';
}

.sec-page article ol li:nth-of-type(5):before {
	content: '5.';
}

.sec-page article ol li:nth-of-type(6):before {
	content: '6.';
}

.sec-page article ol li:nth-of-type(7):before {
	content: '7.';
}

.sec-page article ol li:nth-of-type(8):before {
	content: '8.';
}

.sec-page article ol li:nth-of-type(9):before {
	content: '9.';
}

.sec-page article blockquote {
    position: relative;
	border: 1px solid #ececec;
	margin: 1em 0;
    padding: 5px 10px 25px 60px;
	background: #fafafa;
}

.sec-page article blockquote:before {
	content: '\f10e';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	left: 5px; top: 5px;
	width: 30px; height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 900;
	color: #ececec;
}

.sec-page article blockquote cite {
    float: right;
    font-size: .8em;
    margin-top: 5px;
}

/*---Galleries--------------------------------------------------------------------------- */
/*---Lightbox---------------------------------------------------------------------------- */
/*---Embeds-and-Videos------------------------------------------------------------------- */
/*---Popup------------------------------------------------------------------------------- */

.popup-toggle {
    position: relative;
    border: 1px solid #ececec;
    cursor: pointer;
    transition: all .3s ease;
    margin: 40px 0 0;
    font-family: 'Exo', sans-serif;
    font-weight: 600;
    color: #cfff50;
    font-size: 21px;
    float: right;
    overflow: hidden;
}

.popup-toggle:before {
    width: 46px; height: 46px;
    position: absolute;
    left: -100%; top: 0;
    transition: all .3s ease;
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.popup-toggle span {
    width: 260px; height: 46px;
}

.popup-toggle:hover {
    padding-left: 20px;
}

.popup-toggle:hover:before {
    left: 0;
    opacity: 1;
}

.backdrop {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity .3s;
}

.backdrop.animate {
    opacity: 1;
    pointer-events: auto;
}

.callback-popup {
	position: fixed;
	left: 50%; top: 50%;
	transform: translatex(-50%) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: 100%; height: 100%;
	max-width: 768px;
	background: #222;
	z-index: 11;
    padding: 10px 10px 30px;
    border-left: 1px solid #b2c2a3;
    border-right: 1px solid #b2c2a3;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
}

.callback-popup.animate {
	opacity: 1;
    pointer-events: auto;
	transform: translatex(-50%) translatey(-50%) scale3d(1, 1, 1);
}

.popup-close {
	position: absolute;
	right: 0; top: 0;
	height: 30px; width: 30px;
	cursor: pointer;
    z-index: 20;
}

.popup-close:before {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	color: #cfff50;
    font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    font-size: 20px;
    content: '\f00d';
}

.form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    height: 100%;
}

/*---Contact-Form-7---------------------------------------------------------------------- */

.wpcf7-form {
    position: relative;
    padding-bottom: 32px;
}

.wpcf7-form-control-wrap, .submit-wrapper {
    position: relative;
	margin: 5px 0 15px;
}

.wpcf7-form-control-wrap {
	border: 1px solid #b2c2a3;
	background: transparent;
    overflow: hidden;
    display: block;
}

.wpcf7-form-control-wrap.your-acceptance {
	background: transparent;
	border: 0;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 5px 0 10px;
}

.wpcf7-form-control-wrap.focus {
	box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
}

.wpcf7-form-control-wrap .wpcf7-text, .wpcf7-form-control-wrap .wpcf7-select {
	border: 0;
	background: transparent;
	height: 38px; width: 100%;
    font-size: 15px;
    color: #b2c2a3;
}

.wpcf7-form-control-wrap .wpcf7-text {
	padding: 15px 5px 0;
}

.wpcf7 select {
	-webkit-appearance: none;
	-moz-appearance: none;
    color: #b3b3b3;
    padding-right: 40px;
}

.wpcf7-form-control-wrap.your-menu:after {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	right: 0; top: 0;
    width: 40px; height: 40px;
    font-weight: 900;
	transition: all .3s ease;
    font-family: 'Font Awesome 5 Free';
	font-size: 18px;
    content: '\f078';
    pointer-events: none;
    color: #b3b3b3;
}

.wpcf7-form-control-wrap.your-menu.focus:after {
	color: #444;
}

.wpcf7 select:focus {
	-webkit-appearance: none;
	-moz-appearance: none;
    color: #444;
}

.wpcf7-form-control-wrap.your-acceptance {
	background: transparent;
	border: 0;
	height: auto;
	margin: 5px 0 10px;
}

.wpcf7-form-control-wrap.your-acceptance .wpcf7-list-item label {
	display: flex;
	justify-content: space-around;
	width: 100%;
}

.wpcf7-form-control-wrap.your-acceptance .wpcf7-list-item-label {
	margin-left: 5px;
	text-transform: uppercase;
	font-size: 11px;
}

.submit-wrapper {
    position: relative;
	border: 1px solid #b2c2a3;
    background: transparent;
    transition: all .3s ease;
    overflow: hidden;
}

.submit-wrapper:before {
	width: 38px;
	height: 38px;
	position: absolute;
	left: -38px;
	top: 0;
	transition: all .3s ease;
	content: '\f054';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
    color: #cfff50;
}

.submit-wrapper:after {
	width: 38px;
	height: 38px;
	position: absolute;
	right: -38px;
	top: 0;
	transition: all .3s ease;
	content: '\f053';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
    color: #cfff50;
}

.submit-wrapper:hover:before {
	left: 0;
	opacity: 1;
}

.submit-wrapper:hover:after {
	right: 0;
	opacity: 1;
}

.submit-wrapper .wpcf7-submit {
	background: transparent;
	border: 0;
	width: 100%;
	height: 38px;
	cursor: pointer;
	text-transform: uppercase;
	color: #cfff50;
    font-family: 'Exo', sans-serif;
    font-weight: 600;
}

.wpcf7-form-control-wrap span.wpcf7-not-valid-tip, div.wpcf7 .submit-wrapper .ajax-loader {
	display: none;
    pointer-events: none;
}

.wpcf7-form-control-wrap .wpcf7-not-valid {
    background: rgba(255,40,0,.15);
    border: 1px solid rgba(255,40,0,.35);
}

.wpcf7-form-control-wrap .placeholder {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    text-align: left;
    padding-left: 5px;
    color: #b3b3b3;
    font-size: 14px;
    transition: all .3s ease;
    pointer-events: none;
}

.wpcf7-form-control-wrap .placeholder.scaled {
	transform: translatey(-11px);
    font-size: 12px;
    color: #444;
}

.wpcf7-form div.wpcf7-response-output {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    margin: 0;
    padding: 3px 0;
    border: 1px solid #444;
    text-align: center;
    font-size: 14px;
}

.wpcf7-form div.wpcf7-display-none {
    display: none;
    pointer-events: none;
}

.wpcf7-form div.wpcf7-validation-errors, .wpcf7-form div.wpcf7-acceptance-missing {
    border: 1px solid #ff2800;    
}

.wpcf7-form div.wpcf7-mail-sent-ok {
    border: 1px solid #368613;
}

/*---Strong-Testimonials----------------------------------------------------------------- */
/*---Slick-Slider------------------------------------------------------------------------ */

.slick-main {
    border-bottom: 1px solid #ececec;
}

.slick-fullscreen {
    overflow: hidden;
}

.slick-fullscreen img {
    display: block;
}

.slick-fullscreen .slick-arrow {
    position: absolute;
    top: 0;
    bottom: 0;    
    z-index: 2;
    cursor: pointer;
    border: 0;
    font-size: 0;
    transition: all .3s ease;
    background: transparent;
}

.slick-fullscreen .slick-prev {
    left: 30px;
}

.slick-fullscreen .slick-next {
    right: 30px;
}

.slick-fullscreen .slick-prev:hover {
    left: 25px;
}

.slick-fullscreen .slick-next:hover {
    right: 25px;
}

.slick-fullscreen .slick-prev:before, .slick-fullscreen .slick-next:before {
    font-family: Font Awesome\ 5 Free;
    font-size: 32px;
    font-weight: 900;
    color: #444;
    transition: all .3s ease;
    top: 50%;
    transform: translatey(-50%);
}

.slick-fullscreen .slick-prev:before {
    content: '\f053';
}

.slick-fullscreen .slick-next:before {
    content: '\f054';
}

.slick-fullscreen .slick-dots {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translatex(-50%);
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.slick-fullscreen .slick-dots li {
    position: relative;
    overflow: hidden;
    border-radius: 100%;
    box-shadow: inset 0 0 0 2px #444;
    margin: 0 5px;
    width: 20px; height: 20px;
}

.slick-fullscreen .slick-dots li:after {
    content: '';
    position: absolute;
    z-index: 2;
    background: #444;
    bottom: 0; left: 0; right: 0; top: 100%;
    transition: all .3s ease;
    pointer-events: none;
}

.slick-fullscreen .slick-dots li.slick-active:after {
    bottom: 0; left: 0; right: 0; top: 0;
}

.slick-fullscreen .slick-dots li button {
    border-radius: 100%;
    font-size: 0;
    background: transparent;
    width: 20px; height: 20px;
    border: 0;
    cursor: pointer;
    transition: all .3s ease;
    position: absolute;
    top: 0; left: 0;
}

.slick-fullscreen .slick-dots li button:hover {
    background: rgba(68, 68, 68, .3);
}

/*---Keyframes--------------------------------------------------------------------------- */
/*---Adaptive-Design--------------------------------------------------------------------- */

@media only screen and (min-width : 1980px) {
main {
	border-left: 1px solid #b2c2a3;
	border-right: 1px solid #b2c2a3;
}
}

@media only screen and (max-height: 700px) {
.callback-popup {
    overflow-y: scroll;
}    
}

@media only screen and (max-width: 1280px) {
.wrapper {
    padding: 90px 2% 0;    
}

body {
    font-size: 16px;
}
}

@media only screen and (max-width: 1170px) {

}

@media only screen and (max-width: 1024px) {
}

@media only screen and (max-width: 768px) {
.callback-popup {
	left: 2%; right: 2%;
	transform: translatex(0) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: auto;
}

.callback-popup.animate {
	transform: translatex(0) translatey(-50%) scale3d(1, 1, 1);
}
}

@media only screen and (max-width: 640px) {
body {
    font-size: 14px;
}
}

@media only screen and (max-width: 480px) {
.wrapper {
    padding: 30px 3% 0;    
}

h1, .site-title, .page-title {
	font-size: 1.6em;
	margin: 10px 0;
}
}

@media only screen and (max-width: 360px) {
h1, .site-title, .page-title {
	font-size: 1.4em;
	margin: 8px 0;
}
}
