/* --------------------------------

Reset Style

---------------------------------*/
.dialogbox ol, .dialogbox ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 16px;
}

/* -------------------------------- 

Primary style

-------------------------------- */

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(https://fonts.gstatic.com/s/lato/v11/dPJ5r9gl3kK6ijoeP1IRsvY6323mHUZFJMgTvxaG2iE.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(https://fonts.gstatic.com/s/lato/v11/EsvMC5un3kjyUhB9ZEPPwg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v11/UyBMtLsHKBKXelqf4x7VRQ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v11/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v11/ObQr5XYcoH0WBoUxiaYK3_Y6323mHUZFJMgTvxaG2iE.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v11/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

body .dialogbox {
  font-size: 16px;
  font-family: "Lato", sans-serif;
  color: #8f9cb5;
  background-color: #ffd88f;
}

.dialogbox a {
  color: #35a785;
  text-decoration: none !important;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.dialogbox .img-replace {
  /* replace text with an image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
}

/* -------------------------------- 

xpopup 

-------------------------------- */
.dialogbox .cd-popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(94, 110, 141, 0.3);
  opacity: 1;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}

.dialogbox .cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.dialogbox .cd-popup-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 4em auto;
  background: #FFF;
  border-radius: .5em .5em .5em .5em !important;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.dialogbox .cd-popup-container p {
  padding: 3em 1.5em;
}

.dialogbox .cd-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}

.dialogbox.threeChoices .cd-popup-container .cd-buttons li {
  float: left;
  width: 33.3333333333%;
}

.dialogbox.twoChoicesRed .cd-popup-container .cd-buttons li,
.dialogbox.twoChoicesGreen .cd-popup-container .cd-buttons li {
  float: left;
  width: 50%;
}

.dialogbox.oneChoice .cd-popup-container .cd-buttons li {
  float: left;
  width: 100%;
}

.dialogbox .cd-popup-container .cd-buttons a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-transform: uppercase;
  color: #FFF;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.dialogbox .cd-popup-container .cd-buttons li  a {
  background: #fc7169;
}

.dialogbox.twoChoicesRed .cd-popup-container .cd-buttons li  a {
  background: #fc7169;
  border-radius: 0 0 0 .45em !important;
}

.dialogbox.oneChoice .cd-popup-container .cd-buttons li:last-child  a {
  background: #3DBD97;
  border-radius: 0 0 .45em .45em !important;
}

.dialogbox .cd-popup-container .cd-buttons li  a:hover {
  background-color: #fc8982;
}

.dialogbox.oneChoice .cd-popup-container .cd-buttons li:last-child  a:hover {
  background-color: #46D0A6;
}

.dialogbox.twoChoicesRed .cd-popup-container .cd-buttons li a:hover {
  background-color: #fc8982;
}

.dialogbox.threeChoices .cd-popup-container .cd-buttons li:first-child a,
.dialogbox.twoChoicesGreen .cd-popup-container .cd-buttons li:first-child a {
  background: #3DBD97;
  border-radius: 0 0 0 .45em !important;
}

.dialogbox.threeChoices .cd-popup-container .cd-buttons li:first-child a:hover,
.dialogbox.twoChoicesGreen .cd-popup-container .cd-buttons li:first-child a:hover {
  background-color: #46D0A6;
}

.dialogbox .cd-popup-container .cd-buttons li:last-child a {
  background: #b6bece;
  border-radius: 0 0 .45em 0 !important;
}

.dialogbox .cd-popup-container .cd-buttons li:last-child a:hover {
  background-color: #c5ccd8;
}

.dialogbox .cd-popup-container .cd-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}

.dialogbox .cd-popup-container .cd-popup-close::before, .dialogbox .cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
  opacity: 0.6;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.dialogbox .cd-popup-container .cd-popup-close:hover::before, .dialogbox .cd-popup-container .cd-popup-close:hover::after{
  opacity:1;
}

.dialogbox .cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}

.dialogbox .cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}

.dialogbox .is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

@media only screen and (min-width: 1170px) {
  .dialogbox .cd-popup-container {
    margin: 8em auto;
  }
}



.popup {
  padding: 0px 20px 20px 20px;
  background: #fff;
  border-radius: 10px;
  position: relative;
  border: 3px solid #9EA9A4;
}

.popup .close {
  position: absolute;
  top: 10px;
  right: 10px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup h2 {
  margin-top: 10px;
}

.popup .content {
  overflow: auto;
}





