@CHARSET "UTF-8";

/* Add @import here - don't forget to start the address with //: to ensure HTTPS compatibility */
@import url('https://fonts.googleapis.com/css?family=Arimo:700|Open+Sans:400,700');

/* Selected text */
*::selection, input::selection {
  background: #d5dbfb;
  color: #292e68;
}

*::-moz-selection {
  background: #d5dbfb;
  color: #292e68;
}

#toggle-search, span.toggle {
  position: fixed;
  top: 0;
  left: 0;
  font-size: 0;
  z-index: 10000;
}

#toggle-search {
  transition: transform 0.3s;
  transition: transform 0.3s;
  transform-origin: top left;
  transform: scalex(0);
  white-space: nowrap;
}

#toggle-search span, span.toggle {
  background: #b7b8e1;
  display: inline-block;
  padding: 10px;
  transition: background 0.3s;
}

#toggle-search svg path, span.toggle path {
  fill: #fff;
  transition: fill 0.3s;
}

#toggle-search span:hover, span.toggle:hover {
  background: #e5e9fc;
}

#toggle-search span:hover svg path, span.toggle:hover path {
  fill: #2e3191;
}

#toggle-search .search-box {
  display: inline-block;
}

#toggle-search.open {
  transform: scalex(1);
}

#toggle-search input {
  background: #fff;
  border: 1px solid #b7b8e1;
  font-size: 20px;
  color: #888;
  padding: 12px 10px;
  width: 150px;
  vertical-align: top;
}

/* defaults */
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 12pt;
  color: #222;
}

/* "back to top" arrow */
#up-arrow {
  position: fixed;
  bottom: 10px;
  right: -100px;
  padding: 17px 24px 22px;
  opacity: 0;
  cursor: pointer;
  transition: right 0.4s, opacity 0.3s;
  z-index: 10000;

  background: #d5dbfb;
  color: #222;
  border-radius: 100px;
  box-shadow: 4px 4px 8px rgba(40,40,40,0.7);
}

body.menu-scrolled #up-arrow:hover {
  opacity: 1;
}

body.menu-scrolled #up-arrow {
  right: 10px;
  opacity: 0.6;
}

/** Cookie warning */
.flexi-cookie {
  position: fixed;
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
  background: #fff;
  padding: 0 10px;
  text-align: center;
  bottom: 0;
  left: 0;
  z-index: 998;
}

.flexi-cookie-buttons {
  text-align: right;
}

.flexi-cookie-inner {
  padding-bottom: 10px;
}

/** Main page canvas wrapper - defines page width */
.content.brokenout .pb-block-outer>div, .wrapper {
  width: 1000px;
  margin: 0 auto;
}

/** Header */
.header {
  background: #fff;
  padding: 10px;
}

.header .phone {
  font-size: 23pt;
  font-weight: bold;
  color: #353535;
}

.col.center {
  text-align: center;
}

.header a.map-link {
  display: inline-block;
  transition: background 0.3s;
  text-align: center;
  padding: 10px;
}

.header a.map-link:hover {
  text-decoration: none;
  background: #d5dbfb;
}

.header a {
  text-decoration: none;
  color: #2e3191;
}

.header a:hover {
  text-decoration: underline;
}

/** Menu */

.menubar {
  background: #2e3191;
  font-family: Arimo, sans-serif;
  font-weight: bold;
}

/* bar items */

nav.menu>span.item>a {
  color: #fff;
  transition: background 0.3s;
  padding: 20px;
}

nav.menu>span.item>a:hover {
  background: #3d44a2;
}

/* submenus */

nav.menu>span.item>span.submenu {
  text-align: center;
}

nav.menu span.item span.submenu a,
nav.menu span.item.subitem {
  display: block;
}

nav.menu span.item span.submenu a {
  background: #292e68;
  color: #fff;
  transition: background 0.3s;
  padding: 20px;
}

nav.menu span.item span.submenu a:hover {
  background: #3d44a2;;
}

/** Flyout buttons */

.button.flyo-show {
  position: fixed;
  top: 0;
  left: 32px;
  right: 0;
  border-radius: 0;
}

.flyo-show .flyo-caption:after {
  content: 'Countrywide Mobility';
  float: right;
}

.button.flyo-hide {
  border-radius: 0;
}

.flyo-header {
  text-align: center;
  padding: 10px;
}

/** Menu when page is scrolled down */

body.menu-scrolled div.menubar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

body.menu-scrolled {
  padding-top: 57px;
}

/** Flexi widgets */
.flexi-system-widgets {
  padding: 2px 0;
  text-align: center;
  font-size: 0;
}

.flexi-system-widget {
  display: inline-block;
  border-left: 1px solid #333;
  padding: 5px 10px;
  font-size: 12pt;
}

.flexi-system-widget:first-child {
  border-left: 0;
}

/** General content styles */

hr {
  background: url(img/hr.png) center center no-repeat;
  height: 64px;
  border: none;
}

/** Remove top margin from the first element */
.content *:first-child {
  margin-top: 0;
}

.rssreader.pbembed {
  background: #b7b8e1;
  color: #2e3191;
  padding: 10px;
}

.rssreader.pbembed .rss-description,
.rssreader.pbembed .rss-link,
.rssreader.pbembed div.rss-link-box {
  display: none;
}

.rssreader.pbembed h1 {
  border-bottom: 2px solid #f10034;
  margin-bottom: 5px;
}

.rssreader.pbembed h4.rss-title {
  font-size: 14pt;
  font-weight: normal;
  margin: 7px 0 2px;
}

.rssreader.pbembed div.rss-summary-text {
  color: #333;
  font-size: 11pt;
  margin: 5px 0;
}

.content {

}

.content h1,
.content h2,
.content h3,
.content h4 {

}

/** Important for breakout/breakins */
.content:empty {
  display: none;
}

.content a {
  color: #2e3191;
  transition: color 0.3s;
}

.content a:hover {
  color: #3d44a2;
}

.footer {
  color: #fff;
  background: #2e3191;
  position: relative;
  padding: 20px 0;
  font-size: 10pt;
}

.col2.right, .col.right {
  text-align: right;
}

.footer a, .flexi-footer a {
  color: #fff;
  transition: color 0.3s;
  text-decoration: none;
}

.footer a:hover, .flexi-footer a:hover {
  color: #d5dbfb;
}

span.powered {
  display: inline-block;
  margin-left: 1em;
}

/** Buttons and button-type things */
button, input[type="submit"], .button, .formandu-button, input[type="button"], a.button, .eshop_userauth_buttonbox a {
  background: #3d44a2;
  color: #fff;
  transition: background 0.3s;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  padding: 10px 20px;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 12pt;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  border-radius: 4px;
}

button:hover, input[type="submit"]:hover, .button:hover, .formandu-button:hover, input[type="button"]:hover, a.button:hover, .eshop_userauth_buttonbox a:hover {
  background: #292e68;
  color: #fff;
}

/** Text controls */
.formandu-text, .formandu-dropdown, .formandu-textarea, select {
  background: #d5dbfb;
  border: 2px solid #d5dbfb;
  color: #222;
  transition: border 0.3s;
  font-size: 12pt;
  margin: 10px;
  padding: 10px;
  width: calc(100% - 20px);
  box-sizing: border-box;
  border-radius: 2px;
}

.formandu-text:hover, .formandu-text:focus, .formandu-dropdown:hover, .formandu-dropdown:focus, .formandu-textarea:hover, .formandu-textarea:focus, select:hover, select:focus {
  border: 2px solid #3d44a2;
}

/*******************************************************************************
 ** Responsive */

/** Phone/tablet */

@media (max-width: 1000px) {
  .content.brokenout .pb-block-outer>div, .wrapper, .flexi-cookie-inner {
    width: 100%;
  }
  #up-arrow, .search .form {
    display: none;
  }
}

/** Menus */

@media (max-width: 975px) {
  body {
    padding-top: 30px;
  }
  .menubar {
    height: 0;
    padding: 0;
  }
  nav.menu {
    padding: 0;
    background: #fff;
    border-right: 2px solid #aaa;
    text-align: left;
  }
  nav.menu span.item span.submenu a, nav.menu>span.item>a, nav.menu>span.item.has-submenu>a:hover {
    text-align: left;
    background: #fff;
    color: #333;
    transition: background 0.3s, color 0.3s;
  }

  nav.menu span.item span.submenu a:hover , nav.menu>span.item>a:hover {
    background: #ddd;
  }

  nav.menu.flyout span.item span.submenu {
    padding: 0 0 5px 20px;
  }
}

/** Big phone */

@media (max-width: 750px) {
  .formandu-text, .formandu-textarea, .formandu-dropdown, .formandu-static-text, .formandu-listbox {
    width: 95%;
  }
  .footer {
    padding: 0 5px;
  }
  .flexi-cookie-msg {
    float: none;
    font-size: 0.8em;
    padding: 0;
    width: auto;
  }
  .flexi-cookie-buttons {
    width: auto;
    float: none;
    text-align: center;
    padding: 5px 0;
  }
}

/** Small phone */

@media (max-width: 600px) {
  .content {
    padding: 0 4px;
  }
  .brokenout.content {
    padding: 0;
  }
  .footer, .col2.right, .header, .col.right {
    text-align: center;
  }
  span.powered {
    display: block;
    margin-left: 0;
  }
  #toggle-search span, span.toggle {
    padding: 5px;
  }
  #toggle-search input {
    padding: 7px 5px;
    width: calc(100% - 64px);
    box-sizing: border-box;
    vertical-align: top;
  }

}

