/* This file will hold the main styles for your website. */

/* ---------------------- *\
|        HTML              |
\* ---------------------- */

body,
p {
  font: 12px/1.2 Verdana, Helvetica, Arial, sans-serif;
  color: #444444;
}
a:link,
a:visited {
  color: #3895A9;
  text-decoration: none;
  -webkit-transition: color 200ms ease-out;
  -moz-transition: color 200ms ease-out;
  -o-transition: color 200ms ease-out;
  transition: color 200ms ease-out;
}
h1, h2, h3, h4, h5, h6 {
  font-family: Verdana, Helvetica, Arial, sans-serif;
}
h1 {
  font-size: 1.6em;
  color: #fff;
  line-height: 1.8em;
}
h2, h3, h4, h5, h6, h2.block-title {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.2em;
  text-shadow: 0 1px 0 #CCC;
}
h2, h2.block-title {
  font-size: 1.2em;
  font-weight: normal;
}
p {
  margin-bottom: 2px;
}

iframe, embed, object, form, input, textarea {
  max-width: 100%;
}
img {
  border: 0;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto\9; /* ie8 */
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}
#colorbox img {
  max-width: none;
  max-height: none;
}

hr {
  background: #3895A9;
}
blockquote {
  line-height: 1.2em;
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 1px solid #ccc;
}
blockquote p {
  margin-bottom: 10px;
  font-style: italic;
}
blockquote span {
  text-align: right;
  color: #888;
  font-size: 13px;
}


table {
  border: 1px solid #CCC;
  width: 100%;
}

thead th, th {
  background: #f7f7f7;
  border-bottom: 1px solid #ccc;
  color: #333;
}

td, th {
  padding: 4px 8px;
  vertical-align: middle;
}

th a, th a:link, th a:visited {
  text-decoration: none;
}

th a {
  display: block;
}

th a img {
  margin: 0 0 0 5px;
}

th.active {
  background: #DDD;
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
}

/* Odd & Even Styles */
tr.even td {
  background: #F1F5FA;
}

tr.odd td {
  background: #fff;
}

td.active {
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
}

tr.even td.active {
  background: #e5e9ed;
}

tr.odd td.active {
  background: #f2f2f2;
}

tr:hover td,
tr.even:hover td.active,
tr.odd:hover td.active {
  background: #FFFEEE;
}

td ul.links {
  margin-bottom: 0;
}




/* ------------------------ *\
|        ZONES/ REGIONS      |
\* ------------------------ */
#zone-user-wrapper {
  background: url(../images/bg.png) repeat-x scroll 0 0 #1A1B1D;
  z-index: 100;
  position: relative;
}
#zone-menu-wrapper {
  padding-bottom: 50px;
  background-color: #3895A9;
  -webkit-box-shadow: 0 -5px 13px 6px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 -5px 13px 6px rgba(0, 0, 0, 0.5);
  box-shadow: 0 -5px 13px 6px rgba(0, 0, 0, 0.5);
}
.front #zone-menu-wrapper {
  padding-bottom: 150px;
}
#zone-content-wrapper {
  margin-top: -30px;      /*-50px*/
}
.front #zone-content-wrapper {
  margin-top: -150px;
}
#zone-preface,
#zone-footer {
  margin-top: 50px;
  border-top: 2px solid #ebebeb;
}

.region-sidebar-second .block {
  margin-bottom: 20px;
  border-top: 1px solid #CCC;
}
.region-sidebar-second .block:first-child {
  border-top: 0 none;
}
.region-sidebar-second .block-title {
  margin-top: 10px;
}


/* ------------------------ *\
|             DS            |
\* ------------------------ */
.float-left {
  float: left;
  padding-right: 20px;
}
.float-grid {
  float: left;
}
.node-teaser .float-grid {
  padding-right: 10px;
}

/* ------------------------ *\
|        HOMEPAGE            |
\* ------------------------ */
#first-time,
.front h1#page-title.title {
  display: none;
}
.logo-img {
  max-width: 60%;
  margin: 20px 0;
}
.tagline {
  margin-top: 40px;
  margin-bottom: 40px;
}
.main-tag {
  font-size: 2em;
  line-height: 1.4em;
  margin-bottom: 6px;
}
.main-tag .inner {
  padding-right: 20px;
}
.main-tag span.second-tag {
  color: #3895A9;
}
.text-tag {
  font-size: 1.4em;
  line-height: 1.2em;
  text-transform: lowercase;
}
/* slideshow */
.slideshow {width: 100%; margin: 0; padding: 0;}
.slideshow .slides {margin-bottom: 0; padding: 0;}
.slideshow .slides > li {
  display: none; /* Hide the slides before the JS is loaded. Avoids image jumping */
  list-style: none;
  list-style-image: none;
  text-align: center;
  line-height: 245px;
  height: 250px;
} 
.slideshow .slides img {
  vertical-align: middle;
  width: auto;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li {display: block;}

/*Logos*/
.slides li {
	float: left;
	list-style-type: none;
	vertical-align: baseline;
}
.slides li img {
	vertical-align: bottom;
}


/* ------------------------ *\
|        APRESENTACAO        |
\* ------------------------ */

/* frontpage clientes */
.block-clientes-block ul,
.block-links-block-1 ul {
  list-style: none;
  text-align: center;
  margin: 20px 0 0;
}
.block-clientes-block ul li,
.block-links-block-1 ul li{
  display: inline;
  line-height: 80px;
}
.block-clientes-block ul li img,
.block-links-block-1 ul li img {
  padding: 10px;
}


/* ------------------------ *\
|        OPINIOES            |
\* ------------------------ */
.testemunho {
  margin-bottom: 30px;
}
.testemunho .foto {
  margin-bottom: 10px;
}
@media only screen and (min-width:480px) {
  .testemunho .foto {
    float: left;
  }
}

.view-testemunhos .views-row {
  margin-bottom: 15px; 
}
.view-testemunhos .views-row-last {
  padding: 0;
  margin: 0;
  border: 0 none;
} 

.field-name-field-opiniao-data {
  font-weight: bold;
  font-size: 12px;
}

.node-opiniao .field-name-title {
  font-weight: bold;
  color: #888;
  margin-bottom: 3px;
}
.node-opiniao .field-name-body p {
  margin-bottom: 6px;
}
.node-opiniao .field-name-field-nome,
.node-opiniao .field-name-field-pais {
  text-align: right;
  font-style: italic;
}
.node-opiniao .field-name-field-pais {
  font-size: 11px;
  text-transform: uppercase;
}

.field-name-field-pais {
  font-style: italic;
  font-size: 11px;
}
.node-opiniao .field-name-field-pais {
  text-align: right;
}

.view-clientes .node-cliente {
  margin-bottom: 12px;
}

node-cliente .field-name-title {
  font-size: 12px;
}

.node-equipa {
  margin-bottom: 12px;
}

/* ------------------------ *\
|        TOURS/ GALERIA      |
\* ------------------------ */
/*Views fluida efeito grid*/
.block-views .views-field {
  padding-right: 2px;
 /* padding-bottom: 2px;*/
}

.node-grid {
    float: left;
}

.view-eventos .item-list ul li {
    margin: 0;
}
.view-eventos.view-display-id-block_1 .views-row {
    margin-top: 30px;
}

.field-name-field-icon img {
    margin-top: 20px;
}

.node-tour .field-name-body,
.node-tour-definido .field-name-field-descricao {
  margin-top: 30px;
}

.node-tour-definido strong {
  padding-right: 15px;
}
.node-tour-definido .button-add {
  margin-top: 20px;
}
.node-tour-definido .button-add a {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 3px 10px;
  margin-top: 20px;
  border: 1px solid #3895A9;
  background-color: #3895A9;
  color: #fff;
}

.node-tour-definido fieldset {
  margin-top: 20px;
}
.node-tour-definido legend {
  font-size: 14px;
}


/* ------------------------ *\
|     NEWSLETTERS            |
\* ------------------------ */
.view-content > h3 {
  float: none;
}
.view-clone-of-taxonomy-term .node-simplenews {
  margin: 30px 0;
  border-bottom: 1px solid #ebebeb;
}

/* ------------------------ *\
|         GUIA              |
\* ------------------------ */
.node-book h2 {
  margin-top: 30px;
  text-transform: uppercase;
  text-shadow: none;
  font-size: 20px;
}



/* ------------------------ *\
|        EVENTOS             |
\* ------------------------ */
#registration-form {
  border: 1px solid #3895A9;
  padding: 15px;
}
#registration-form .container-inline-date .date-padding {
	padding: 0;
}
.field-name-field-data-nascimneto legend {
  font-size: 11px;
  font-weight: bold;
}
.form-phone-number select {
  width: 150px;
}

/* ------------------------ *\
|       LINKS                |
\* ------------------------ */
.view-links .views-row {
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 20px;
}
.view-links .views-field-title {
  font-size: 16px;
  padding-bottom: 5px;
}
.small {
  font-size: 14px;
}

/* ------------------------ *\
|       Views grids          |
\* ------------------------ */

/* full grid,  from 1 to 4 columns */
@media only screen and (min-width: 480px) {
  /* Views fluida efeito grid */
  .view-grid .views-row {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }
  .view-grid .views-row-odd {
      clear: both;
  }
  .view-grid .views-row > div {
    padding-right: 20px;
  }
}

/* half grid, from 1 to 2 columns */
@media only screen and (min-width: 600px) {
  
  /* grouping title style */
  .view-content > h3 {
    clear: both;
    margin-top: 20px;
    /*float: left;*/
  }
  .view-grid-half .views-row {
    width: 48%;
    margin: 0 2% 20px;
    float: left;
  }
  .view-grid-half .views-row-odd {
    margin-left: 0;
    clear: both;
  }
  .view-grid-half .views-row-even {
    margin-right: 0;
  }
}

/* ------------------------ *\
|        MISCELÂNEA           |
\* ------------------------ */

#messages {
  margin-bottom: 12px;
}

/* drupal tabs */
.tabs ul {
  padding: 0;
  margin: 0 0 6px;
  border: 0 none;
}
.tabs ul li {
  float: left;
  margin-bottom: 6px;
  padding: 0;
  border: 0 none;
}
.tabs ul li a {
  display: block;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}


ul.primary {

}
ul.primary li {
  
}
ul.primary li a {
  padding: 3px 10px;
  border: 1px solid #3895A9;
  background-color:  #3895A9;
  color: #fff;
}
ul.primary li.active a,
ul.primary li a:hover {
  border: 1px solid #3895A9;
  background-color:  #fff;
  color: #3895A9;
}
ul.secondary {
  
}
ul.secondary li {
  font-size: 13px;
}
ul.secondary a {
  padding: 2px 10px;
  border: 1px solid #bbb;
  background-color:  #ccc;
  color: #fff;
}
ul.secondary a.active,
ul.secondary a:hover {
  border: 1px solid #bbb;
  background-color:  #fff;
  color: #444;
}


/*MENU MAIN*/
.navigation {
  text-align: right;
}
.navigation ul {
  margin-bottom: 0;
  float: right;
}
.navigation ul li {
  float: left;
  margin: 0 0 9px;
}
.navigation ul li a {
  text-transform: uppercase;
}
.navigation ul li a {
  background: none;
  color: #fff;
  padding: 10px 10px 6px;
  display: block;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
}
.navigation ul li a.active-trail,
.navigation ul li a.active,
.navigation ul li a:hover,
.navigation ul li a:focus {
  background: url(../images/bg.png) repeat-x scroll 0 0 #1A1B1D;
  -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
}


/*MENU UTILITIES E BLOCO SOCIAL*/
#block-menu-menu-menu-utilities {
  float: right;
  padding-top: 20px;
  padding-bottom: 20px;
}
#block-menu-menu-menu-utilities li {
  display: block;
  float: left;
  padding-right: 10px;
}

#block-block-9 {
  float: right;
  padding-top: 16px;
  padding-bottom: 0;
  margin-right: 0;
}
.social ul {
	list-style: none;
}
.social li,
.social li ul li {
  display: inline;
}
.social li a,
.social li ul li a {
  display: inline-block;
}
.visuallyhidden, .checkbox input {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.TA_socialButtonBubbles {
	  float: right;
}


/* MENUS EDIÇÃO */
.region-header-first .block-menu {
  background-color: #444444;
  padding: 10px;
  margin-bottom: 21px;
}
.region-header-first .block-menu ul li {
  float: left;
  list-style: none;
  margin: 0 15px;
  padding: 0;
}
.region-header-first .block-menu ul li a,
.region-header-first .block-menu ul li a:visited {
  color: #fff;
}
.region-header-first .block-menu ul li a.active,
.region-header-first .block-menu ul li a:hover,
.region-header-first .block-menu ul li a:focus {
  text-decoration: underline;
}

/*BLOCO SWITCH LANGUAGES*/
.block-locale ul {
  text-align: right;
  margin: 10px 0 0;
}
.block-locale ul li {
  display: inline;
  list-style-type: none;
  padding-left: 10px;
}
.block-locale ul li a {
  color: #A2A7AD;
  font-size: 0.7em;
}
.block-locale ul li a:hover,
.block-locale ul li a:focus {
  color: #fff;
}


/*BLOCOS POSTSCRIPT*/
#zone-postscript .block-title {
  margin-top: 10px;
  word-spacing: normal;
  letter-spacing: -1px;
}
#zone-postscript .block {
  border-top: 1px solid #ccc;
  margin-bottom: 30px;
}

/*BLOCO GUIDING*/
.guiding {
  line-height: 28px;
  float: left;
  padding-top: 20px;
  padding-bottom: 20px;
}
.guiding a {
  display: inline-block;
  background: url("../images/sprite.png") no-repeat;
  background-position: 0px -37px;
  text-indent:-9999px;
  width: 200px;
  height: 28px;
  line-height: 28px;
  overflow: hidden;
  margin-left: 3px;
  vertical-align: middle;
  text-align: left;
}
.guiding a:focus,
.guiding a:hover {
  background-position: 0px 0px;
}




/*Form contacto*/
textarea, select, textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  border: 1px solid #E1E1E1;
}
.resizable-textarea .grippie {
	display: none;
}


.view-registration a .edit,
.view-registration a .delete {
  background: url(../images/sprite.png) no-repeat 0 -190px;
  width: 16px;
  height: 16px;
  text-indent: -9999px;
  overflow: hidden;
  opacity: 0.7;
  padding: 2px;
  margin-bottom: 3px;
  display: inline-block;
}
.view-registration a .edit:hover,
.view-registration a .delete:hover {
  background-color: #ebebeb;
  opacity: 1;
}
.view-registration a .delete {
  background-position: -20px -190px;
}

/* block-admin */
.block-admin {
  padding: 10px;
  background-color: #ebebeb;
}
.block-admin .block-title {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ccc;
}
.block-admin ul.menu {
  list-style: none;
}
.block-admin ul.menu li {
  list-style: none;
  margin: 0 0 6px;
  padding: 0 0 0 25px;
  background: url(../images/small-arrows.png) no-repeat left -1px;
}





/* node evento */
/* Node inside Newsletter (embed)*/
.node-simplenews .view-mode-resumo_newsletter {
  margin-top: 20px;
}
.node-simplenews .node-evento {
  padding-left: 0;
}


/*View Upcoming events*/
.block-eventos-block-1 {
  margin-bottom: 30px;
}

.node-evento .field-name-title h2 {
  margin-bottom: 9px;
}

.field-name-field-data {
  font-style: italic;
  color: #929292;
  margin-bottom: 6px;
}

@media only screen and (min-width:480px) {
  .node-evento   {
    padding-left: 240px;
  }
  .node-simplenews .node-evento.node-teaser {
    padding: 0;
    }
  .node-evento .foto-wrapper {
    margin-left: -240px;
    width: 220px;
    float: left;
  }

  .node-evento.node-teaser {
    padding-left: 132px;
  }
  .node-evento.node-teaser .foto-wrapper {
    margin-left: -132px;
    width: 132px;
  }
}


.node ul.links {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ebebeb;
  display: block;
}
.node ul.links li {
  margin-bottom: 6px;
  padding: 0 20px 0 0;
  display: inline-block;
}
.node ul.links li > a {
  white-space: nowrap;
}

.foto {
  margin-right: 20px;
  padding: 5px;
  border: 1px solid #CCC;
  text-align: center;
  margin-bottom: 10px;
}
.field-name-field-inscreverse a {
  background: url(../images/small-arrows.png) no-repeat right 3px #3895A9;
  color: #fff;
  padding: 3px 30px 3px 10px;
  line-height: 24px;
  height: 24px;
  display: inline-block;
}

/* fix for extra padding on add2any module */
.a2a_kit > a {
 padding: 0; 
}

/* ui dialog styles */
.ui-dialog {
  
}
.ui-dialog .ui-dialog-titlebar {
  background: none;
  border: 0 none;
  height: 10px;
  padding: 0;
}
.ui-dialog .ui-dialog-title {
  display: none;
}
.ui-dialog .ui-dialog-titlebar-close {
  margin: 0;
  z-index: 100;
}
.ui-dialog .ui-dialog-content {
  padding-top: 0;
}

/* ------------------------ *\
|           FORMS            |
\* ------------------------ */

/* box-sizing - Use border-box for size calculations */
form,
fieldset,
legend,
label,
button,
input,
select,
textarea {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

form {
  margin: 0;
}
fieldset {
  border: 0 none;
  padding: 0;
  margin: 0 0 1em;
  width: 100%;
}
fieldset fieldset {
  margin-left: 1em;
}
.upload-group fieldset fieldset {
  margin-left: 0;
}
legend {
  /*
   * 1. Correct color not inheriting in IE6/7/8/9
   * 2. Correct alignment displayed oddly in IE6/7
   */
  border: 0;
  *margin-left: -7px;
  padding: 0;
  color: #404040;
  margin: 0;
  font-size: 18px;
}
button,
input,
select,
textarea {
  /*
   * 1. Correct font-size not inheriting in all browsers
   * 2. Remove margins in FF3/4 S5 Chrome
   * 3. Define consistent vertical alignment display in all browsers
   */
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
label {
  font-size: 11px;
}
button, input {
  /*
   * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
   * 2. Correct inner spacing displayed oddly in IE6/7
   */
  line-height: normal;
  *overflow: visible;
  max-width: 100%;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  /*
   * 1. Display hand cursor for clickable form elements
   * 2. Allow styling of clickable form elements in iOS
   */
  cursor: pointer;
  -webkit-appearance: button;
}
input[type="checkbox"],
input[type="radio"] { /* Consistent box sizing and appearance */
  box-sizing: border-box;
}
input[type="search"] { /* Consistent box sizing and appearance */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Remove inner padding and border in FF3/4 */
  border: 0;
  padding: 0;
}
textarea { /* Remove default vertical scrollbar in IE6/7/8/9 */
  overflow: auto;
  vertical-align: top;
}
input:valid,
textarea:valid { /* Colors for form validity */
}
input:invalid,
textarea:invalid {
}
form .input {
  margin-left: 150px;
}
input[type=checkbox],
input[type=radio] {
  cursor: pointer;
}
input,
textarea,
select,
.uneditable-input {
  display: inline-block;
  height: 26px;
  padding: 4px;
  font-size: 13px;
  line-height: 18px;
  color: #808080;
  border: 1px solid #ccc;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  max-width: 100%;
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3) inset;
  -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3) inset;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3) inset;
}
/* target webkit browsers */
@media only screen and (-webkit-min-device-pixel-ratio:0) {
  select {
    -webkit-appearance: none;
    background: url(../images/small-arrows.png) no-repeat right -162px #fff;
    padding-right: 22px;
  }
  select[multiple="multiple"] {
    background: #fff;
    padding-right: 4px;
  }
}
.radio,
.checkbox{
  padding-left:0;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] { /* mini reset for non-html5 file types */
  width: auto;
  height: auto;
  padding: 0;
  margin: 3px 5px 3px 0;
  *margin-top: 0; /* IE6-7 */
  line-height: normal;
  border: none;
  float: none;
  display: inline;
}
input[type=file] {
  padding: initial;
  border: initial;
  line-height: initial;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input[type=button],
input[type=reset],
input[type=submit] {
  width: auto;
  height: auto;
}
select,
input[type=file] {
  height: 28px;
  line-height: 19px;
  *margin-top: 4px; /* For IE7, add top margin to align select with labels */
}
select[multiple] {
  height: inherit;
}
textarea {
  height: auto;
}
.uneditable-input {
  background-color: #ffffff;
  display: block;
  border-color: #eee;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  cursor: not-allowed;
}
:-moz-placeholder {
  color: #bfbfbf;
}
::-webkit-input-placeholder {
  color: #bfbfbf;
}
input,
textarea {
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
}
input:focus,
textarea:focus {
  outline: 0;
  border-color: rgba(56, 149, 169, 0.8);
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 4px rgba(56, 149, 169, 0.6);
  -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 4px rgba(56, 149, 169, 0.6);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 4px rgba(56, 149, 169, 0.6);
  background-color: #F5F9FB;
}
input[type=file]:focus,
input[type=checkbox]:focus,
select:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline: 1px dotted #666;
}
form div.clearfix.error {
  background: #fae5e3;
  padding: 10px 0;
  margin: -10px 0 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
form div.clearfix.error > label,
form div.clearfix.error span.help-inline,
form div.clearfix.error span.help-block {
  color: #9d261d;
}
form div.clearfix.error input,
form div.clearfix.error textarea {
  border-color: #c87872;
  -webkit-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  -moz-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
}
form div.clearfix.error input:focus,
form div.clearfix.error textarea:focus {
  border-color: #b9554d;
  -webkit-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
  -moz-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
  box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
}
form div.clearfix.error .input-prepend span.add-on,
form div.clearfix.error .input-append span.add-on {
  background: #f4c8c5;
  border-color: #c87872;
  color: #b9554d;
}
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  background-color: #f5f5f5;
  border-color: #ddd;
  cursor: not-allowed;
}

/* Date popup */
.field-widget-date-popup .form-wrapper {
  border: none;
  margin: 0;
  padding: 0;
}
.field-widget-date-popup .container-inline-date .date-padding {
}

/* Reposition throbber */
html.js input.form-autocomplete {
  background-position: 99% 6px;
  padding-right: 24px;
}
html.js.ie-old input.form-autocomplete {
  padding-right: 0;
}
html.js input.throbbing {
  background-position: 99% -14px;
}

.form-item,
.form-actions {
  margin: 12px 0;
}


.form-submit {
  cursor: pointer;
  display: inline-block;
  background: rgb(217,217,217); /* Old browsers */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2UwZTBlMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  rgba(217,217,217,1) 0%, rgba(224,224,224,1) 50%, rgba(245,245,245,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(217,217,217,1)), color-stop(50%,rgba(224,224,224,1)), color-stop(100%,rgba(245,245,245,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(217,217,217,1) 0%,rgba(224,224,224,1) 50%,rgba(245,245,245,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(217,217,217,1) 0%,rgba(224,224,224,1) 50%,rgba(245,245,245,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(217,217,217,1) 0%,rgba(224,224,224,1) 50%,rgba(245,245,245,1) 100%); /* IE10+ */
  background: linear-gradient(top,  rgba(217,217,217,1) 0%,rgba(224,224,224,1) 50%,rgba(245,245,245,1) 100%); /* W3C */
  padding: 6px 18px;
  color: #666;
  font-family: 'Asap', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: normal;
  border: 1px solid #E4E4E4;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-transition: 0.1s linear all;
  -moz-transition: 0.1s linear all;
  -ms-transition: 0.1s linear all;
  -o-transition: 0.1s linear all;
  transition: 0.1s linear all;
}
.form-submit:hover,
.form-submit:focus {
  background: rgb(177,177,177); /* Old browsers */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2IxYjFiMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2RiZGJkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlY2VjZWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  rgba(177,177,177,1) 0%, rgba(219,219,219,1) 50%, rgba(236,236,236,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(177,177,177,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(100%,rgba(236,236,236,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(177,177,177,1) 0%,rgba(219,219,219,1) 50%,rgba(236,236,236,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(177,177,177,1) 0%,rgba(219,219,219,1) 50%,rgba(236,236,236,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(177,177,177,1) 0%,rgba(219,219,219,1) 50%,rgba(236,236,236,1) 100%); /* IE10+ */
  background: linear-gradient(top,  rgba(177,177,177,1) 0%,rgba(219,219,219,1) 50%,rgba(236,236,236,1) 100%); /* W3C */
  text-decoration: none;
}
.form-submit:focus {
  outline: 1px dotted #666;
}
.form-submit:active {
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
.form-submit[disabled] {
  cursor: default;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  filter: alpha(opacity=65);
  -khtml-opacity: 0.65;
  -moz-opacity: 0.65;
  opacity: 0.65;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* sea blue submit button */
#edit-submit {
  background: rgb(56,149,169); /* Old browsers */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzM4OTVhOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0NWI1Y2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  rgb(56,149,169) 0%, rgb(69,181,204) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(56,149,169)), color-stop(100%,rgb(69,181,204))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgb(56,149,169) 0%,rgb(69,181,204) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgb(56,149,169) 0%,rgb(69,181,204) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgb(56,149,169) 0%,rgb(69,181,204) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgb(56,149,169) 0%,rgb(69,181,204) 100%); /* W3C */
  border: 0 none;
  padding: 7px 18px;
  color: #ffffff
}
#edit-submit:hover {
  background: rgb(43,113,127); /* Old browsers */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJiNzE3ZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzODk1YTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  rgb(43,113,127) 0%, rgb(56,149,169) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(43,113,127)), color-stop(100%,rgb(56,149,169))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgb(43,113,127) 0%,rgb(56,149,169) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgb(43,113,127) 0%,rgb(56,149,169) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgb(43,113,127) 0%,rgb(56,149,169) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgb(43,113,127) 0%,rgb(56,149,169) 100%); /* W3C */
  color: #ffffff
}
