/* ------------------------------------------------------------ *\
	E-Invitation Tab
\* ------------------------------------------------------------ */

#e-invitation.tab {	padding: 51px 0 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }
#e-invitation.tab p { color: #103b4a; }
#e-invitation.tab .tab-sidebar { width: 32.91%; padding-top: 20px; margin-left: 40px; -webkit-box-ordinal-group: 3; -ms-flex-order: 2; order: 2; -ms-flex-negative: 0; flex-shrink: 0; }
#e-invitation.tab .tab-sidebar .tab-sidebar__head { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; padding-left: 12px; }
#e-invitation.tab .tab-sidebar .tab-sidebar__head h4 {}
#e-invitation.tab .tab-sidebar .tab-sidebar__head a { font-size: 12px; margin-top: 8px; letter-spacing: .04em; }
#e-invitation.tab .tab-sidebar .tab-sidebar__content { padding: 23px 21px 19px; border-radius: 10px; background-color: #ededed; }
#e-invitation.tab .tab-sidebar .tab-sidebar__content img { width: 100%; height: auto; }
#e-invitation.tab .tab-content { -webkit-box-ordinal-group: 2; -ms-flex-order: 1; order: 1; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; }
#e-invitation.tab .tab__preview { background-color: #ededed; }
#e-invitation.tab .tab__preview iframe { display: block; width: 100%; pointer-events: none; margin: 0 auto; }
#e-invitation.tab .tab__switcher { background-color: #ededed; height: 100px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
#e-invitation.tab .tab__switcher-divider { height: 45px; width: 1px; background-color: #bbb; margin: 0 20px; }
#e-invitation.tab .tab__switcher .ico-desktop { background-image: url(images/ico-desktop-inactive.svg); width: 37px; height: 32px; background-size: contain; background-repeat: no-repeat; background-position: center center; cursor: pointer; transition: background-image .3s; }
#e-invitation.tab .tab__switcher .ico-phone { background-image: url(images/ico-mobile-inactive.svg); width: 17px; height: 29px; background-size: contain; background-repeat: no-repeat; background-position: center center; cursor: pointer; transition: background-image .3s; }

#e-invitation.tab .tab__switcher .ico-desktop.active { background-image: url(images/ico-desktop.svg); }
#e-invitation.tab .tab__switcher .ico-phone.active { background-image: url(images/ico-mobile.svg); }

#e-invitation.tab .tab-head { margin-bottom: 45px; }
#e-invitation.tab .tab-head p { font-weight: 700; }
#e-invitation.tab .tab-body h3 { margin-left: 62px; margin-bottom: 0; }
#e-invitation.tab .tab-body h3 + p { margin-left: 25px; margin-top: 25px; font-weight: 700; }
#e-invitation.tab .tab-body h3 .num { top: -11px; left: -69px; width: 58px; height: 50px; }
#e-invitation.tab .tab-body #reload-btn { margin-left: 20px; font-weight: 700; }

#e-invitation.tab .form { margin-top: 3px; }
#e-invitation.tab .form .form__row { display: block; margin-bottom: 29px; }
#e-invitation.tab .form .form__row p { margin: 10px 0 -6px; font-size: 13px; letter-spacing: .01em; color: #103b4a; }
#e-invitation.tab .form .form__row.form__row--image { margin: -7px 0 33px; }
#e-invitation.tab .form .form__row.form__row--textarea { margin: -8px 0 33px; }
#e-invitation.tab .form .form__row.form__row--textarea--small textarea { height: 105px; }
#e-invitation.tab .form .form__row label { display: block; letter-spacing: .066em; }
#e-invitation.tab .form .form__row input:not([type="file"]) { padding: 10px 10px 7px 12px; display: block; width: 100%; font-size: 13px; text-align: left; color: gray; font-weight: 400; color: #103b4a; }
#e-invitation.tab .form .form__row textarea { padding: 14px 73px 12px 12px; display: block; width: 100%; font-size: 13px; text-align: left; color: gray; font-weight: 400; resize: none; height: 176px; line-height: 25px; letter-spacing: .01em; border: 3px solid #ebf1f1; border-radius: 5px; color: #103b4a; }
#e-invitation.tab .form .form__row p.file-bnt-label { margin: 21px 0 0 9px; }
#e-invitation.tab .form .form__row .form-upload-btn .form-controls:after { width: 72px; height: 69px; }
#e-invitation.tab .form .form__help { margin-bottom: 40px; }
#e-invitation.tab .form .form__help p { position: relative; font-size: 11px; margin-top: 16px; margin-left: 29px; letter-spacing: .017em; line-height: 16px; }
#e-invitation.tab .form .form-actions { padding-top: 2px; }
#e-invitation.tab .form .form__loader { display: none; margin-left: 10px; position: relative; height: 57px; padding-left: 80px; line-height: 57px; }
#e-invitation.tab .form .form__loader p { color: #103b4a; }
#e-invitation.tab .form .form__loader:before { content: ''; background-image: url(images/loader.gif); width: 46px; height: 46px; background-size: contain; background-repeat: no-repeat; background-position: center center; position: absolute; top: 50%; left: 0; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }

/*  Icon  */
.ico-help { position: absolute; left: -29px; top: 3px; display: inline-block; width: 16px; height: 16px; background-size: contain; background-repeat: no-repeat; background-position: center center; background-image: url(images/info.png); }

/* ------------------------------------------------------------ *\
	Responsive (NEW)
\* ------------------------------------------------------------ */

.tabs .tabs-body h3 { width: 100%; }
.tabs .tabs-body .video iframe { height: 100%; }

.tabs .tab code { word-break: break-word; display: block; }

#tab6 .tab-example .example {
	background: url(images/example-logo.png) center no-repeat;
	background-size: cover;
	width: 300px;
	height: 250px;
	display: block;
	margin-top: 10px;
}

.form .form-row-small .form-controls.field--large { width: 280px; }
.form .form-row-small .form-controls { width: 80px; }

@media(max-width: 1110px) {
	.tabs .tab-head { max-width: 60%; }
	.tabs .tab { padding-right: 87px; }
	.tabs .tabs-body h3 .num { left: -70px; }
}

/*  Tablet  */
@media(max-width: 1023px){
	.tabs .tab .code { word-break: break-word; display: block; }
	.tabs .tabs-head ul li { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; width: auto; }
	.tabs .tabs-head ul { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }

	.tabs .tab {  padding: 20px; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; font-size: 90%; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
	.tabs .tab .tab-head { -webkit-box-ordinal-group: 2; -ms-flex-order: 1; order: 1; width: 100%; max-width: 100%; }
	.tabs .tab .tab-example { -webkit-box-ordinal-group: 3; -ms-flex-order: 2; order: 2; width: 100%; padding-right: 20px; }
	.tabs .tab .tab-body { -webkit-box-ordinal-group: 4; -ms-flex-order: 3; order: 3; width: 100%; }
	.tabs .tab .tab-inner { -webkit-box-ordinal-group: 5; -ms-flex-order: 4; order: 4; width: 100%; }

	.tabs .tabs-body .tab:nth-of-type(2) .tab-inner { -webkit-box-ordinal-group: 5; -ms-flex-order: 4; order: 4; }
}

/*  Mobile  */
@media(max-width: 767px){
	.list-banners { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; }

	.tabs .tab .tab-example .example { width: 100% !important; height: 0 !important; padding-bottom: 83.3333333%; background-size: contain !important; background-position: left top; }

	.tabs .tabs-body .form .form-body { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
	.tabs .tabs-body .form .form-body .form-row { margin-bottom: 20px; }
	.form .form-row-small .form-controls { margin-left: 0; }

	.tabs .btn { padding: 12px 20px 7px; font-size: 14px; }
	.tab .btn-zip { width: calc(100vw - 40px); margin: 0 auto; text-align: right; padding: 12px 13px 7px; font-size: 13px; }
	.tab .btn-zip .ico-zip { left: 10px; width: 29px; height: 20px; }

	.intro .shell { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
	.intro .intro-inner { width: 100%; text-align: center; }
	.intro .intro-inner p { float: none; text-align: center; margin: 0 auto; }
	.intro .intro-inner:after { right: 30px; display: none; 	}
	
	.footer { margin-top: 0 !important; }

	.form .form-row-small .form-controls.field--large { display: block; width: 100%; margin-top: 10px; }
	.tab:not(#tab2) .form .form-body .form-row { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
	.tab:not(#tab2) .form .form-row-small .form-controls { width: calc( 100% - 90px ); }
	.tab:not(#tab2) .form .form-row-small label { width: auto; }
	
	
}

/*  Small Mobile  */
@media(max-width: 350px){
	.tab .btn-zip { text-align: center; }
	.tab code { padding: 10px 60px 10px 10px; }
	.tab .btn-zip .ico-zip { display: none; }
	.form-upload-btn .form-controls:after { width: 49px; height: 46px; background-size: contain; }

	.intro .intro-inner:after { right: 0; }
}