/* Drupal Styles */
* { box-sizing: initial; }
html { height: 100%; }
body { margin: 0 auto; padding: 0; color: #000; background-color: #fff; line-height: 1.2em; min-height: 100%; }
#comment-form .form-text, #user-login-form .form-text, #contact-site-form input.form-text, .search-form .form-text { max-width: 220px; }
fieldset { border: 1px solid #CCC; padding: 0.5em; position: relative; margin: 1em 0; }
h1 { font-size: 2em; line-height: 2em; }
h2 { font-size: 1.75em; line-height: 1.75em; }
h3 { font-size: 1.5em; line-height: 1.5em; }
h4 { font-size: 1.25em; line-height: 1.25em; }

p { font-size: 1em; line-height: 1.5em; hyphens: none; margin: 1em 0; }
pre { white-space: pre; }

input[type="button"], input[type="reset"] { transition: all 0.3s ease; }
.button a, .form-submit { transition: all 0.3s ease;  }
header { width: 100%; z-index: 20; top: 0; position: relative; }

.page-admin #page, .page-user #page { max-width: 1200px; margin: 1em auto 0; }
#navigation .col, #mobilemenu .col > a { text-align: center; text-transform: uppercase; margin-top: 0; margin-bottom: 0; padding: 0; }
#navigation .col, #navigation a:link { transition: all 0.7s ease; }
main { width: 93.75%; margin: 0 auto; position: relative; z-index: 0; }
.path-frontpage main { width: 100%; }
.col p:first-child { margin-top: 0; }
#pagetop { position: relative; }
#pagetop .image-style-page-image-1200 { width: 100%; }
.region-footer .menu-item { text-transform: uppercase; margin-top: 0; margin-bottom: 1em; text-align: center; }
.region-footer .submenu .menu-item { padding: 0; margin: 0; text-transform: none; }
ul, ol { margin-left: 2.5%; }
main ul, .cke_editable_themed ul { list-style-type: disc; }
li.menu-item { padding: 0; }
.mainmenu ul.submenu { display: none; margin: 0; box-shadow: 0 0 15px 2px rgba(0,0,0,0.25); position: absolute; }
.submenu li { text-align: center; }
.region-footer .mainmenu ul.submenu { display: block; position: relative; box-shadow: none; }
.region-footer .submenu li { font-size: 0.8rem; text-align: left; }
ul li, ol li { line-height: 1.5em; }
ol li { margin-left: 2.5%; }
span.icon { display: inline !important; }
.system-modules details { white-space: normal; }
.align-center { text-align: center; }
.caption > * { display: inline-flex; }
.caption figcaption { display: block; }

#mobilemenu, #mobilemenutrigger { text-align: center; display: none; padding: 0.5em 0; line-height: 1; }
#mobilemenu { font-size: 1.5rem; }
#mobilemenutrigger .fa-bars { cursor: pointer; font-size: 2rem; }

.region-top .pagetitle { position: absolute; bottom: 0px; width: 100%; text-align: center; }
#block-fluidgrid-page-title h1, #block-fgfullslide-page-title h1 { margin: 0 0 0.5em 0; }

.form-actions { display: inline-block; }
.img768, .img480 { display: none; }
.socialbuttons { display: inline-flex; }
.button2 { letter-spacing: 1px; font-size: 11px; font-size: 1.1rem; border: 0; padding: 12px; display: block; text-align: center; box-sizing: border-box; display: inline-block; margin-right: 15px; }
dt { margin-top: 1em; }
dt:first-child { margin-top: 0; }
td, td img { vertical-align: baseline; }
table.responsive-enabled td { vertical-align: middle; }
td.is-active { background-color: transparent; }
img { vertical-align: middle; }
.js-form-item { display: block; }
#edit-actions .dropbutton-wrapper { margin-right: 1em; }
#edit-actions .button { margin-top: 0; vertical-align: middle; margin-bottom: 0; }
#edit-actions .button--danger { margin: 0 1em; position: relative; }
.secondary-action input.form-submit { background-color: transparent; width: 100%; text-align: left; }
.dropbutton-multiple .dropbutton .dropbutton-action > * { margin-right: 0; }
nav.tabs { margin-top: 1em; }
.views-ui-display-tab-actions .dropbutton-wrapper input { width: 100%; text-align: left; }
.view-blog-categories .item-list ul li, .view-our-services .item-list ul li { margin: 0 0 .25em 1.5em; border-bottom: 1px solid #d6d6d6; border-top: 1px solid #f8f8f8; padding: 8px 0; }

.paragraph--type--left-image-right-text .field--type-image { float: left; margin: 0 1.6% 1% 0; }
.paragraph--type--left-text-right-image .field--type-image { float: right; margin: 0 0 1% 1.6%; }

.paragraph--type--left-image-right-text .imgcaption .field--type-image, .paragraph--type--left-text-right-image .imgcaption .field--type-image { float: none; margin: 1% 1.6%; }

.paragraph--type--left-image-right-text .field--name-field-caption, .paragraph--type--left-text-right-image .field--name-field-caption { text-align: center; font-style: italic; }
.paragraph--type--left-image-right-text .imgcaption, .paragraph--type--left-text-right-image .imgcaption { background-color: #efefef; border: 1px solid #eee; border-radius: 10px; padding: 0px; float: left; margin: 0 1.6% 1% 0 }
#field-paragraph-values .odd { background-color: #efefef; }

/* LINKS ===================================================================  */
a { transition: all 0.3s ease; text-decoration: none; }
a:focus { outline : thin dotted; }
a:hover, a:active { outline: 0; }
.button { letter-spacing: 1px; font-size: 11px; font-size: 1.1rem; margin: 15px 0; border: 0; padding: 12px; display: inline-block; line-height: 1.1; }
.button-action { margin: 0; line-height: 100%; }
input[type="submit"] { line-height: 1.2rem; margin: 10px 0 15px 0; }
input[type="submit"]:hover, .button:hover { text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 0px #111; }
.dropbutton-action input.form-submit { padding: 11px 12px; margin: 0; }
.contextual-links a:link, .contextual-links a:visited { color: #6d6665 !important; width: auto !important; height: auto !important; }
.external:after { content: "\f08e"; padding-left: 0.25em; }
.socialwrap .external:after { content:""; padding-left:0; }

/* IMAGES =================================================================== */
img { border : 0; max-width: 100%; height: auto; width: auto\9; }
.header__logo-image { width: auto; }
img.floatleft { float: left; margin: 0 0.625em 0 0; }
img.floatright { float: right; margin: 0 0 0 0.625em; }
img.align-right { margin: 0 0 0.625em 0.625em; }
img.align-left { margin: 0 0.625em 0.625em; }

/* TABLES =================================================================== */
table { margin-bottom : 1.4em; width : 100%; }
th, td, caption { padding : .25em 10px .25em 5px; }
tfoot { font-style : italic; }

/* Maintenance Page ========================================================= */
.maintenance-page header img { max-height: 150px; margin-top: 1em; }
ol.task-list li.done { color: #2e7d32; }
ol.task-list li.is-active { font-weight: bold; }

/* Social Media Buttons */
.socialwrap { text-align: right; }
.socialbuttons a { display: block; height: 32px; margin-right: 0.25em; font-size: 32px; line-height: 1; }

/* Messages Page ============================================================ */
.color-info { background-color: #eff3f3; border: 1px solid #afd9ff; }
.color-success { background-color: #f3faef; border: 1px solid #c9e1bd; }
.color-warning { background-color: #fdf8ed; border: 1px solid #f4daa6; }
.color-error { background-color: #fcf4f2; border: 1px solid #f9c9bf; }

/* Videos =================================================================== */
.paragraph--type--video { position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; }
.field--type-video iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; }

/* Hamburger Menu =========================================================== */
#hamburger { display: inline-block; }
#hamburger ul { margin: 0; position: relative; top: -11px; }
#hamburger_click { cursor: pointer; display: block; list-style: none; margin-left: 0; padding-top: 0; }
#hamburger_click .lines { background: #fff; display: inline-block; height: 3px; width: 2.5rem; position: relative; }
#hamburger_click .lines:before, #hamburger_click .lines:after { background: #fff; display: inline-block; height: 3px; width: 2.5rem; content: ''; left: 0; position: absolute; transform-origin: .085714285714286rem center; }
#hamburger_click .lines:before { top: -10px; }
#hamburger_click .lines:after { top: 10px; }

@media (max-width: 1024px) {
  select, input, textarea { max-width: 100%; }
   .mainmenu ul.submenu { display: block; margin: 0; box-shadow: none; position: relative; }
}

@media (max-width: 768px) {
  #block-copyrightsocial .col { width: 100%; float: none; }
  .socialwrap, #copyright { text-align: center; }
  .front-blog-post .blog-field_blog_image img { max-height: none; max-width: 100%; }
}

@media (max-width: 480px) {
  .region-footer .submenu li { text-align: center; }
}
