/* loader */

.no-js #loader { display: none; }

.js #loader { display: block; position: absolute; left: 100px; top: 0; }

.loader {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
    background-color: #1d1d1b;
}

.loader i {
    position: absolute;
    left: 50%;
    left: calc(50vw - 25px);
    top: 50%;
    color: #fff;
    font-size: 3em;
}

.fa-spin-custom, .glyphicon-spin {
    -webkit-animation: spin 1000ms infinite linear;
    -moz-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@-moz-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@-ms-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

/* web site */

html {
    position: relative;
    min-height: 100%;
}

body {
    width: 100%;
    height: 100%;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #fff;
    background-color: #494949;
    -webkit-tap-highlight-color: rgba(255,255,255,.2);
    font-size: 13pt;
    line-height: 1.75rem;
}

html, form, #idSite {
    width: 100%;
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 30px 0;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

h1 {
    margin-top: 0;
    font-size: 2rem;
    line-height: 2.5rem;
    text-transform: uppercase;
}

h2 {
    font-size: 1.5rem;
    line-height: 2rem;
}

h3 {
    font-size: 1.25rem;
}

a {
    font-weight: 500;
    text-decoration: none !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    outline: none !important;
}

a:hover, a:focus, a:active {
    text-decoration: none;
}

/* media queries */

@media only screen and (min-width:992px) {
    h1 {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }
    h2 {
        font-size: 1.75rem;
        line-height: 2.5rem;
    }
    h3 {
        font-size: 1.5rem;
    }
}

@media only screen and (min-width:1200px) {
    h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    h2 {
        font-size: 2rem;
        line-height: 3rem;
    }
    h3 {
        font-size: 1.6rem;
    }
}

/* navigation */

.navbar {
    text-transform: uppercase;
}

/* standard mobile navigation */

@media only screen and (max-width: 767px) {
    .navbar {
        padding: 0;
    }
    .navbar-brand {
        margin: 0;
        z-index: 999;
        max-width: 150px;
        opacity: 1 !important;
    }
    .navbar-toggler {
        border: none;
        position: absolute;
        background-color: transparent;
        right: 5px;
        z-index: 999;
    }
    .navbar-toggler:focus {
        outline: none !important;
    }
    .icon-bar {
	    width: 30px; 
	    height: 3px;
	    background-color: #fff;
	    display: block;
	    transition: all 0.2s;
	    margin: 1px 0 5px 0;
        border-radius: 10px;
    }
    .navbar-toggler .top-bar {
        transform: rotate(45deg);
        transform-origin: 10% 10%;
        margin-top: 3px;
    }
    .navbar-toggler .middle-bar {
        opacity: 0;
    }
    .navbar-toggler .bottom-bar {
        transform: rotate(-45deg);
        transform-origin: 10% 90%;
    }
    .navbar-toggler.collapsed .top-bar {
        transform: rotate(0);
    }
    .navbar-toggler.collapsed .middle-bar {
        opacity: 1;
    }
    .navbar-toggler.collapsed .bottom-bar {
        transform: rotate(0);
    }
    .navbar-collapse {
        position: absolute;
        padding: 80px 0 0 0;
        top: 0;
        right: 100%;
        transition: all 0.3s ease;
        display: block;
        height: 100vh;
        width: 100%;
    }
    .navbar-collapse.collapsing {
        height: auto !important;
        margin-right: 50%;
        transition: all 0.3s ease;
        display: block;
    }
    .navbar-collapse.show {
        right: 0;
    }
    .nav-item a {
        font-weight: 500;
        color: #fff;
        white-space: nowrap;
        padding: 10px 0 10px 50px !important;
        display: block;
    }
    .nav-item a:hover, .nav-item a:active, .nav-item a:focus,
    .nav-item.active a, .nav-item.show > a {
        font-weight: 500;
    }
    .navbar-nav li:last-child {
        margin: 40px 50px 0 50px;
        border-top: 1px solid #fff;
    }
    .navbar-nav li:last-child a {
        display: inline-block;
        margin: 10px 0;
        padding: 0 !important;
        font-weight: 500;
        text-transform: uppercase;
        color: #fff;
        border-bottom: 1px dotted transparent;
    }
    .navbar-nav li:last-child a:hover, .navbar-nav li:last-child a:active, .navbar-nav li:last-child a:focus {
        border-bottom: 1px dotted #fff;
    }
}

/* standard desktop navigation */

@media only screen and (min-width: 768px) {
    .navbar {
        background-color: rgba(73,73,73,1);
        padding: 20px;
        -webkit-transition: padding .5s ease-in-out, padding .5s ease-in-out;
        -moz-transition: padding .5s ease-in-out, padding .5s ease-in-out;
        transition: padding .5s ease-in-out, padding .5s ease-in-out;
    }
    .top-nav-collapse {
        padding: 0 20px;
        background-color: rgba(40,40,40,.8);
    }
    .navbar-brand {
        font-weight: 700;
        top: 10px;
    }
    .navbar-brand .img-fluid {
        font-weight: 700;
        top: 10px;
        max-width: 150px;
    }
    .navbar ul {
        padding: 0;
        -webkit-transition: padding .3s ease-in-out, padding .3s ease-in-out;
        -moz-transition: padding .3s ease-in-out, padding .3s ease-in-out;
        -o-transition: padding .3s ease-in-out, padding .3s ease-in-out;
        transition: padding .3s ease-in-out, padding .3s ease-in-out;
    }
    .nav-item {
        padding: 0;
        line-height: 1rem;
    }
    .nav-item a {
        font-weight: 500;
        color: #fff;
        white-space: nowrap;
        padding: 30px 10px;
    }
    .nav-item a:hover, .nav-item a:active, .nav-item a:focus {
        font-weight: 500;
        color: #fff;
    }
    .nav-item.active a, .nav-item.show > a {
        background-color: rgba(255,255,255,.3);
    }
}

/* standard responsive layout */

.container-fluid {
    max-width: 100% !important;
}

.content-container {
    padding-top: 50px;
    padding-bottom: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 -2px 4px rgba(0,0,0,.1);
}

[class*="col-"] {
  padding: 20px;
}

.img-fluid {
    width: 100% !important;
}

/* fixed width content */

@media only screen and (min-width: 1200px) {
    .content-container .row {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* full height first section */

.intro {
    display: flex;
    align-content: center;
    width: 100%;
    height: auto;
    padding: 50px;
    color: #fff;
    text-align: center;
}

.intro .intro-body {
    margin: 0 auto;
    align-self: center;
}

@media only screen and (min-width:768px) {
    .intro {
        height: 100%;
    }
}

.btn-circle {
    width: 50px;
    height: 50px;
    margin-top: 15px;
    border: 2px solid #fff;
    border-radius: 100% !important;
    font-size: 25px;
    color: #fff;
    background-color: rgba(255,255,255,.1);
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
    padding: 5px 0 0 0;
}

.btn-circle:hover, .btn-circle:focus, .btn-circle:active {
    outline: 0;
    color: #fff;
    background-color: rgba(255,255,255,.5);
}

.btn-circle i.animated {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}

.btn-circle:hover i.animated {
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

/* media queries */

@media only screen and (min-width:768px) {
    .btn-circle {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
}

@-webkit-keyframes pulse {    
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {    
    0% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }
    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

/* regular content sections */

.content-container p, .content-container ul, .content-container ol, .panel-default, .panel .panel-heading a {
    margin: 25px 0;
}

/* page top padding if generating pages not panels */

body.clsPage #idPanel2, body.clsPage #idPanel3, body.clsPage #idPanel4, body.clsPage #idPanel5, body.clsPage #idPanel6 {
    padding-top: 20px !important;
}

@media only screen and (min-width:768px) {
    body.clsPage #idPanel2, body.clsPage #idPanel3, body.clsPage #idPanel4, body.clsPage #idPanel5, body.clsPage #idPanel6 {
        padding-top: 40px !important;
    }
}

/* google map */

#idMap {
    width: 100%;
    height: 400px;
    color: #494949;
}

/* forms */

.btn {
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    text-shadow:  none !important;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: transparent;
    border: 1px solid #000;
    color: #000;
}

ul.banner-social-buttons {
    margin-top: 40px;
}

ul.banner-social-buttons li {
    margin-bottom: 20px;
}

@media only screen and (max-width:767px) {
    ul.banner-social-buttons li:last-child {
        margin-bottom: 0;
    }
}

#idContactCols.col-md-6 p {
margin-bottom: 40px;
}

/* footer */

footer {
    padding: 50px 0 125px 0;
    font-size: .9rem;
}

footer p {
    margin-top: 20px !important;
}

footer .btn-default {
    margin-bottom: 20px;
}

/* login strip */

.clsLogin {
    padding: 50px 0;
}

.clsLogin td {
    padding: 0 5px;
}

.clsLogin label {
    text-align: left;
}

footer .btn {
    margin-top: 20px;
}

/* accordion panels */

.panel,
.panel .panel-default,
.panel .panel-heading,
.panel .panel-collapse,
.panel .panel-body {
    background-color: transparent;
    border: 0;
    padding: 0;
}

.panel {
    padding: 10px 0;
}

.panel-group .panel-heading + .panel-collapse > .panel-body,
.panel-group .panel-heading + .panel-collapse > .list-group {
    border: 0;
}

.panel-heading .fa {
    margin-right: 10px;
}

.panel-heading h4.panel-title a {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: none;
}

/* widgets */

@media only screen and (max-width:767px) {
    .clsWidgets {
        float: none;
    }
}

@media only screen and (min-width:768px) {
    .clsWidgets {
        float: right;
    }
}

/* enquiry form */

label {
    font-weight: 500;
    float: none;
    display: block;
    margin: 10px 0 0 0;
}

/* google recaptcha */

.g-recaptcha {
    margin: 20px 0;
    transform-origin: 0 0;
    border: none;
}

/* fancy checkbox */

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    margin: 0 0 20px 0;
}

input[type="checkbox"] + label span {
    display: inline-block;
    width: 30px;
    height: 28px;
    margin: 0 10px 0 0;
    vertical-align: middle;
    cursor: pointer;
    background: url(/Assets/Images/CSS/bgCheckbox.png) left -28px no-repeat;
}

input[type="checkbox"]:checked + label span {
    background: url(/Assets/Images/CSS/bgCheckbox.png) left top no-repeat;
}

/* validation */

p.clsError {
    background-color: #fff;
    border-radius: 3px;
	color: #f60909;
    padding: 10px;
    border: none;
}

p.clsSuccess {
    background-color: #fff;
    border-radius: 3px;
	color: #19cd3f;
    padding: 10px;
    border: none;
}

input.clsError {
    border: 1px solid red !important;
}

/* carousel */

.carousel,
.carousel .item,
.carousel .active {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-control {
    background: none !important;
    text-shadow: none !important;
    z-index: 999;
}

.icon-prev, .icon-next {
    border: 2px solid #fff;
    width: 40px !important;
    height: 40px !important;
    border-radius: 20px !important;
    color: transparent !important;
}

.icon-prev .fa, .icon-next .fa {
    color: #fff !important;
    margin: 2px 5px 0 0;
}

.icon-prev .fa {
    margin-right: 8px;
}

.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

@media only screen and (max-width:767px) {
    .carousel-control {
        display: none;
    }
}

/* overlay */

.overlay {
    width: 100%;
    height: 100%;
    display: table;
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
}

.overlay .inner {
    display: table-cell;
    vertical-align: middle;
}

.overlay .inner .img-responsive {
    max-width: 85%;
}

/* gallery */

.nGY2 .nGY2Gallery {
    margin: 40px 0 !important;
}

.nGY2 .nGY2GThumbnailAlbumTitle,
.nGY2 .nGY2GThumbnailImageTitle {
    text-shadow: none !important;
    font-size: .9rem !important;
    padding-left: 10px !important;
}

.nGY2 .nGY2GThumbnailLabel {
    text-align: left !important;
    background-color: rgba(0,0,0,0.5) !important;
}

/* downloads */

.clsPDF {
    display: block;
    min-height: 62px;
    padding: 25px 0 0 75px;
    margin: 10px 0;
	background: transparent url(../Images/CSS/clsPDF.png) left top no-repeat;
}

/* terms etc. */

ol.clsTerms {
    margin: 0;
}

ol.clsTerms li {
   margin-bottom: 20px;
}

ol.clsTerms li ol {
    list-style-type: lower-alpha;
}

ol.clsTerms li ol,
ol.clsTerms li ul {
   margin-top: 20px;
   margin-bottom: 20px;
}

ol.clsTerms li ol li,
ol.clsTerms li ul li {
    margin-bottom: 0;
}

/* dividers */

.clsDivider {
    width: 100%;
    height: 200px;
}

#idMap_Divider {
    display: none;
    visibility: hidden;
}

@media only screen and (min-width:1200px) {
    .clsDivider {
        height: 300px;
    }
}

/* modals */

.modalBackground {
    background-color: rgba(0,0,0,0.8);
}

.modalPopup {
    background-color: #fff;
    color: #000;
    padding: 20px;
    width: 75%; 
    height: 75%; 
    max-width: 1000px;
    max-height: 800px;
    overflow-y: scroll;
}

.modalPopup i {
    float: right;
    font-size: 2rem;
}

.modalPopup h5 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 5px;
    margin-bottom: 0;
    display: inline-block;
    clear: both;
}

.modalPopup p {
    margin: 20px 0;
}

.modalPopup a:hover, #idSite .modalPopup a:focus, .modalPopup a:active {
    color: #000 !important
}

/* back to top */

#scrolltotop_parent {
    cursor: pointer;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1002 !important;
    padding: 8px 14px;
    font-size: 1.4rem;
}

#scrolltotop_parent:hover {
    opacity: 0.7;
    transition: 0.1s;
}

.scrolltotop_circle {
    border-radius: 50%;
}

/* media queries */

@media only screen and (max-width: 1023px) {
    #scrolltotop_parent {
        bottom: 25px !important;
        right: 25px !important;
    }
}

/* preview mode */

body.preview .navbar.fixed-top, body.preview .navbar.navbar-fixed-top {
    margin-top: 50px !important;
}

/* all admin classes */

#idAdminBar {
    background-color: #444;
    color: #fff;
    padding: 0;
    height: 50px;
    position: fixed;
    top: 0;
    width: 100%;
}

#idAdminBar span {
    padding: 10px 15px;
    display: block;
    float: left;
}

#idAdminBar span em {
     float: none;
     padding: 0;
     font-style: normal;
}

@media only screen and (max-width:767px) {
    #idAdminBar span em {
        display: none;
    }
}

#idAdminBar input,
#idAdminBar #btnLogOut {
    height: 50px;
    display: block;
    text-decoration: none;
    float: right;
    border: none;
    text-transform: uppercase;
    font-weight: 500;
    background-color: transparent;
    color: #fff;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

#idAdminBar input:hover, #idAdminBar input:active, #idAdminBar input:focus,
#idAdminBar #btnLogOut:hover, #idAdminBar #btnLogOut:active, #idAdminBar #btnLogOut:focus {
    color: #fff;
    background-color: #26a0da;
}

#idAdminBar #btnLogOut {
    width: 50px;
    padding: 10px 18px;
    font-size: 1.2rem;
}
