@import url("https://fonts.googleapis.com/css?family=Lato:100,200,300,400,500,700,900&subset=latin-ext");

body {
	background: #f1f4f9;
	color: #34495e;
	font-family: 'Lato', "Helvetica Neue", Arial, sans-serif;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: subpixel-antialiased;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

body.preview {
	padding: 15px 0;
	margin: 0;
}

body.preview .preview--container {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;

}

body.preview .preview--container > div {
	display: table;
	-webkit-flex: 0 1 auto;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	margin-bottom: 15px;
	width: 100%;
}

body.preview p {
	display: block;
	width: calc(100% - 30px);
	height: 14px;
	background: #8f9aaa75;
	border-radius: 6px;
	margin: 15px;
	margin-top: 0;
}

body.preview > p:nth-child(3) {width: calc(85% - 30px);}
body.preview > p:nth-child(4) {width: calc(87% - 30px);}
body.preview > p:nth-child(5) {width: calc(91% - 30px);}
body.preview > p:nth-child(6) {width: calc(96% - 30px);}
body.preview > p:nth-child(7) {width: calc(75% - 30px);}
body.preview > p:nth-child(8) {width: calc(92% - 30px);}
body.preview > p:nth-child(9) {width: calc(98% - 30px);}
body.preview > p:nth-child(10) {width: calc(50% - 30px);}


body.preview header {
	width: 100%;
	height: 115px;
}
body.preview header div {
	display: inline-block;
	width: 100px;
	height: 100px;
	border-radius: 6px;
	margin: 0 15px;
	margin-bottom: 15px;
	float: left;
	background: #8f9aaa75;
}

body.preview header p {
	width: calc(100% - 145px);
	float: left;
	margin: 0;
	margin-bottom: 15px;
}
body.preview header p:nth-child(1) {width: calc(98% - 145px);}
body.preview header p:nth-child(2) {width: calc(96% - 145px);}
body.preview header p:nth-child(3) {width: calc(90% - 145px);}
body.preview header p:nth-child(4) {width: calc(95% - 145px);}



.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
}

.header {
	margin: 30px 45px;
	background: white;
	padding: 20px 15px;
	border-left: 5px solid #d2001b;
	display: none;
}

.mobile .header,
.desktop .header {
	display: block;
}

.mobile .header {
	border-left: 0;
	border-top: 5px solid #d2001b;
	text-align: center;
	margin: 30px;
}

.header .logo {
	width: auto;
	height: 80px;
	object-fit: cover;
	float: left;
	margin: -1px 25px 0 5px;
}

.mobile .header .logo {
	float: none;
	margin: auto;
	display: block;
}

.header .campaign_data {
	width: calc(100% - 100px);
	margin-left: 100px;
}

.mobile .campaign_data {
	width: 100%;
	margin: 0;
}

.header .header__title {
	margin: 0;
	font-size: 42px;
	line-height: 1.25;
}

.mobile .header__title {
	font-size: 2em;
	margin: 15px 0;
}



.header .list-inline {
	color: #707e94;
	margin: 0;
}

.mobile .list-inline-item {
	display: block;
	padding: 4px 0px;
}

.mobile .devices {
	display: none;
}

.header .list-inline .btn-link {
	font-family: 'Lato', "Helvetica Neue", Arial, sans-serif;
	vertical-align: baseline;
	padding: 0;
	cursor: pointer;
}

.list-inline .dropdown {
	display: inline-block;
}

.dropdown-item.active, .dropdown-item:active {
	background: #34495e;
	color: #fff !important;
}

.header .list-inline .btn-link,
.light-grey a {
	color: #8f9aaa;
	text-decoration: none;
	transition: color 0.3s;
}

.mobile .header .list-inline .btn-link,
.mobile  .light-grey a {
	font-size: 18px;
}

.header .list-inline .btn-link:hover,
.light-grey a:hover {
	color: #34495e;
}

.dot-separator .list-inline-item:not(.no-dot):after {
	content: '';
	height: 5px;
	border-radius: 3px;
	background: #9facbd;
	margin-left: 5px;
	display: inherit;
	width: 5px;
	margin-bottom: 2px;
}
.dot-separator .list-inline-item.no-dot {
	margin-left: 0px;
margin-right: 10px;
}

.mobile .dot-separator .list-inline-item:after {
	display: none;
}
.dot-separator .list-inline-item:last-child:after {
  content: none; }



.device-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px;
	min-height: calc(100vh - 60px);
}

@media screen and ( max-height: 900px ){
/*	.device-container {
		transform: scale(0.75);
		transform-origin: top;
	}*/
}

iframe#preview {
	border: 0;
	width: 100%;
	min-height: 100vh;
}


.device {
	border: 2px solid #8f9aaa;
	border-radius: 2rem;
	margin: auto;
	padding: 15px;
	transition: width 0.2s linear 0s, height 0.2s linear 0s;
	background: rgba(255,255,255,.5);
	display: table;
	flex: 0 0 auto;
	animation-duration: 0.3s !important;
	position: relative;
}

.desktop .device {
	display: table;
}



.device .iframe-container {
	border-radius: 1.1rem;
	overflow: hidden;
	background: center center no-repeat #8f9aaa;
	background-size: 102% 100%;
	border: 2px solid #8f9aaa;
}

.device .iframe-container .item, .device .iframe-container .owl-item, .device .iframe-container .owl-stage, .device .iframe-container .owl-stage-outer {
	height: 100%;
}

.device iframe {
	width: 100%;
	height: 100%;
	border: 0;
	background: #f1f4f9;
	animation-duration: 0.3s !important;
}

.device .device_top {
	position: absolute;
	top: 15px;
	left: 0;
	width: 100%;
	padding: 0 15px;
	text-align: center;
	color: rgba(255,255,255,.7);
	font-size: 11px;
	line-height: 38px;
}

.device--iphone.device--portrait .iframe-container {
	width: calc(379px * 1);
	height: calc(780px * 1);
	padding-top: calc(80px * 1);
	padding-bottom: calc(50px * 1);
	background-image: url("img/iphone-portrait_clear.png");
}

.device--iphone.device--portrait .device_top {
	height: calc(70px * 1);
}
.device--iphone.device--portrait .device_top .domain {
  color: #222;
  font-size: 16px;
  line-height: 2;
}


.device--iphone.device--landscape .iframe-container  {
	width: calc(671px * 1);
	height: calc(375px * 1);
	padding-top: calc(71px * 1);
	padding-bottom: 0;
	background-image: url("img/iphone-landscape.png");
}

.device--iphone.device--landscape .device_top {
	height: calc(71px * 1);
}


.device--nexus.device--portrait .iframe-container {
	width: calc(384px * 1);
	height: calc(600px * 1);
	padding-top: calc(20px * 1);
}

.device--nexus.device--landscape .iframe-container  {
	width: calc(600px * 1);
	height: calc(364px * 1);
	padding-top: calc(20px * 1);
}

.device--ipad.device--portrait .iframe-container {
	width: calc(772px * 1);
	height: calc(1023px * 1);
	padding-top: calc(72px * 1);
	background-image: url("img/ipad-portrait.png");
}

.device--ipad.device--landscape .iframe-container  {
	width: calc(1028px * 1);
	height: calc(767px * 1);
	padding-top: calc(72px * 1);
	background-image: url("img/ipad-landscape.png");
}



@media screen and ( max-height: 1px ){
	.device--iphone.device--portrait .iframe-container {
		width: calc(375px * 0.75);
		height: calc(705px * 0.75);
		padding-top: calc(70px * 0.75);
		padding-bottom: calc(42px * 0.75);
	}

	.device--iphone.device--portrait .device_top {
		height: calc(70px * 0.75);
	}

	.device--iphone.device--landscape .iframe-container  {
		width: calc(705px * 0.75);
		height: calc(375px * 0.75);
		padding-top: calc(72px * 0.75);
		padding-bottom: 0;
	}

	.device--iphone.device--landscape .device_top {
		height: calc(72px * 0.75);
	}

	.device--nexus.device--portrait .iframe-container {
		width: calc(384px * 0.75);
		height: calc(600px * 0.75);
		padding-top: calc(20px * 0.5);
	}

	.device--nexus.device--landscape .iframe-container  {
		width: calc(600px * 0.75);
		height: calc(364px * 0.75);
		padding-top: calc(20px * 0.5);
	}

	.device--ipad.device--portrait .iframe-container {
		width: calc(768px * 0.45);
		height: calc(929px * 0.45);
		padding-top: calc(95px * 0.5);
	}

	.device--ipad.device--landscape .iframe-container  {
		width: calc(1024px * 0.45);
		height: calc(675px * 0.45);
		padding-top: calc(93px * 0.5);
	}
}


.modal-backdrop {
	background-color: #fff;
}

.btn-primary {
    color: #fff;
    background-color: #0275d8;
    border-color: #0275d8;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 2;
    font-size: 2em;
    text-align: center;
    line-height: 8;
    display: none;
}

.working .modal-overlay {
	display: block;
}

::-webkit-scrollbar {
  width: 15px;
  height: 15px; }

::-webkit-scrollbar-button {
  display: none; }

::-webkit-scrollbar-thumb {
  background: rgba(198, 209, 235, 0.6);
  border: 3px solid #f1f4f9;
  border-radius: 10px;
  transition: background 0.3s; }

::-webkit-scrollbar-thumb:hover {
  background: #636c72; }

::-webkit-scrollbar-thumb:active {
  background: #34495e; }

::-webkit-scrollbar-track {
  background: #e7ebf5;
  border: 3px solid #f1f4f9;
  border-radius: 10px; }

::-webkit-scrollbar-track:hover {
  background: #e7ebf5; }

::-webkit-scrollbar-track:active {
  background: #e7ebf5; }

::-webkit-scrollbar-corner {
  background: transparent; }

  .loading {
    position: fixed;
    font-size: 2.5em;
    top: 40%;
    opacity: 0.5;
    left: 48%;

  }

  .loading .fa {
  	animation-duration: 6s;
  }


