
/* general layout - header, footer, any generic containers


font-family: 'Open Sans', sans-serif;
font-family: 'Open Sans Condensed', sans-serif;

 */


header.fixed { position:fixed; top:0; background-color: #ffffff; width:100%; z-index: 99991; height:168px; border-bottom:14px #ed1e23 solid} /* if you use this, you need to add margin-top to rest of content */
header .container { position:relative;}
header .logo { margin-top:40px; width:300px;}
header .navbar { margin-bottom:0; position:absolute; right:0; bottom:0px; display:inline-block; font-family: 'Open Sans Condensed', sans-serif; font-size:21px; text-transform: uppercase; }
header .navbar .nav { float:right;}
header .hamburger { display:none;}
header .navbar-nav>li a { color: #000000;}
header .navbar-nav>li.open a { color: #000000;}
header .phone { display:block;height:41px; line-height:30px; font-size:21px; font-family: 'Open Sans Condensed', sans-serif; position: absolute; right:20px; top:20px; background-image:url(media/phone-icon.gif); padding-left:35px; background-repeat:no-repeat}
header a.phone  { color:#000000;}

.banner { height:580px; background-image: url(media/banner.jpg); background-size: cover; background-position: center center; }
.banner .container {display: table; height:100%; }
.banner .inner { display: table-cell; vertical-align: middle; height:100%; }
.banner h1 {
    color:#ffffff;
    background-color: #ed1c24;
    font-family: 'Open Sans Condensed', sans-serif; font-size:40px;
    line-height:40px;
    display:inline-block;
    text-transform:uppercase;
    margin:3px 0;
    padding:10px 30px;
}

.banner h2 {
    color:#ffffff;
    background-color: #000000;
    font-family: 'Open Sans Condensed', sans-serif; font-size:40px;
    line-height:40px;
    display:inline-block;
    text-transform:uppercase;
    margin:3px 0;
    padding:10px 30px;
}

.main { margin-top:168px;}
.main a:link, .main a:visited { color:#ed1c24;}


footer { background-color: #000000; padding:20px; margin-top:20px;}
footer p { color:#ffffff; margin:10px 0;}
footer a:link, footer a:visited { color:#ffffff;}



/* Really Small devices (phones) */
@media (max-width: 767px) {
    h1 strong, .h1 strong { border-bottom: none !important;}
    header .logo { width:200px;}
    .banner { height:200px;}
    .banner h1 { font-size:20px; line-height:25px;}
    .banner h2 { font-size:20px; line-height:25px;}

    input,textarea,select { font-size:16px !important;}
    .ui-dialog { width:80% !important;}
    .ui-tabs .ui-tabs-nav li { width:50% !important; margin:0 !important; display: inline-block !important;}
    .ui-tabs .ui-tabs-nav li a { display:block; float:none !important;}
    .ui-tabs .ui-tabs-nav li:nth-child(2n+1) { clear:both;}
    .steps p { font-size:11px;}

    .images-slic-mobile .slick-slide { margin-top:0 !important; margin-bottom: 0 !important; padding:0 !important;}
    .images-slic-mobile .slick-next { right:20px; z-index: 999; }
    .images-slic-mobile .slick-prev { left:20px; z-index: 999; }

    .jumbotron.other { display:none;}

}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {




}


/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .form-group.labellast .field { display: inline-block; float:left; margin-right:10px; } /* mostly used for "terms" buttons */
    .form-group.labellast label { font-weight:normal; }

    .form-group.hidelabel .labeldiv { opacity: 0;}
    .form-group .control-label {  text-align: left;  }

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1100px) {


}


/* breakpoint in which mobile nav kicks in */
@media (max-width: 1100px) {






    header .hamburger { display:block; position:absolute; top:65px; right:10px; width:70px !important; cursor:pointer; z-index:99999;  }
    header .hamburger p { width:30px; float:left; margin:0 5px 0 0; font-size:11px; height:30px; line-height:30px; }
    header .hamburger span { height:5px; background-color:#000000; border-radius:2px; width:27px; margin:0 0 5px 35px; display:block;  }
    header .hamburger img { display:none; }
    header .hamburger.shownav span, header .hamburger.shownav p { display:none; }
    header .hamburger.shownav img { display:block; float:right; margin:0 10px 0 0; }

    header .navbar { background-color: #ffffff; z-index: 99993;}
    header  nav.navbar {  height:auto; padding:15px 0 0 0; position:fixed !important; z-index:99993; overflow-y: scroll;  top:0; margin:0 !important; right:-250px;  width:250px !important; z-index:99999; height:100%; background-color:#ffffff; }
    header .navbar .nav { float:none; }

    nav .container { width:auto;}
    nav ul.nav { position:relative; float:none;  padding:1px; margin:0;  }
    nav ul.nav li { float:none;  list-style:none; }
    nav ul.nav a { line-height:30px; font-size:17px;  color:#000000; padding:0 10px 0 10px;  height:auto; text-decoration:none; border-bottom:1px #efefef solid; display:block; }
    nav ul.nav li ul.dropdown-menu { background:none; position:relative; top:0; margin-left:15px; border:none; float:none; box-shadow:none; }
    nav ul.nav li ul li { width:auto; background-color:transparent; }

    nav ul.nav ul li ul li a { line-height:25px; height:25px; padding:0 10px 0 10px !important; height:auto; margin:0 !important; }
}

/* useful to stack datagrid vertical e.g Events Registrations */

.btn-default, a.btn-default { background-color: #ed1c24; font-size:20px; color:#ffffff !important; font-family: 'Open Sans Condensed', sans-serif; text-transform: uppercase; border-radius:0; margin:15px 0;}

.stack_datagrid_vertical table { border:none; }
.stack_datagrid_vertical table thead { display:none;}
.stack_datagrid_vertical table tr { background-color: transparent !important;}
.stack_datagrid_vertical table td { display:block; padding:3px !important; background-color: transparent !important; border:none !important;}
.stack_datagrid_vertical table td:last-child { display:none;}
.stack_datagrid_vertical table tr.grey { display:none;}
.stack_datagrid_vertical table .label { display: block; padding:0;}

/* contentarea */
.linktocms { position:absolute;  padding:0 5px 0 5px; text-align:center; background-color:#ff0000; color:#FFFFFF; z-index:999; text-shadow:none; line-height:25px; }
.linktocms img {  padding:5px 0; width:20px; }\
.linktocms img:hover { opacity:0.5;}
td .linktocms { margin-top:-20px; }
.linktocms a { color:#FFFFFF !important; text-decoration:none !important; padding:10px; font-size:20px; }
.linktocms a:hover {  zoom: 1; filter: alpha(opacity=50); opacity: 0.5; cursor:pointer; }
.tmd-template { position:relative; }
.layoutlinks { position:absolute;  top:25%; background-color:#ff0000; padding:5px; }
.layoutlinks img { width:15px;}
.layoutlinks img:hover { opacity:0.5;}
#adminlink { background-color:#0066CB; margin-top:1px; position:absolute; z-index: 99992; top:0; width:100%; padding:5px; color:#FFFFFF; }
#adminlink img#logintoadmin { float:left; margin-right:5px; }
#adminlink a:link, #adminlink a:visited { color: #FFFFFF; }
#adminlink a:hover { color: #f2f7fc; }
#adminlink .pageattributes { margin:0 0 0 30px; }
#adminlink .pageattributes strong { color:#03a9f4 }
.editable { border:1px #FF0000 dotted; position:relative; margin-top:20px; min-height:20px; }
.editable.off { border:none; margin:0; min-height:0; }
.editableoptions { position:absolute; top:-20px; }
.editinline.disabled, .editnewwindow.disabled { opacity:0.2; }


.inlineaddpreview { display:none; }
.inlineaddsave { display:none; } 


#debugcontainer { position:absolute; top:10px; right:20px; background-color:#e6e6e6; padding:10px; z-index:99999; max-width:800px; }
#debug p { margin-top:5px; margin-bottom:5px; }
#debug h3 { margin-top:5px; margin-bottom:5px; }

/* misc */
.compulsory { color:#F00; font-size:22px; position:absolute; margin-top: -10px; }
.form-group.nolabel .labeldiv, .form-group.nolabel label { display:none; }
form + button { margin-top: 10px; }
label.error { color:#a94442; font-weight:normal; font-size:12px;}
.alert:empty { display:none;}
label.error { display:block; margin-top:5px;}
label.error:empty { display:none;}
.fade { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #000; opacity: 0.5; z-index: 9999; display:none; }
#messagecounter { border:none; }
.img-responsive { height:auto !important;}

/* ui elements */

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #ebebeb;  background: #707070;  }
.ui-state-default h2 { color:#000000; margin-top:10px;}
.ui-tabs-active h2 { color:#ffffff; }
.ui-datepicker-current-day .ui-state-active { color:#ffffff;}
.ui-datepicker-calendar .calendarselected { background-color:#fff799; color:#000000; }

/* australian / nz map */

#map { width:auto;   height:350px;  position:relative;  }
#map svg { position:absolute;left:0; top:0;  width:100%;  height:100%;  }
#map path {  fill:#999;  stroke-width:0.8;  stroke:#ffffff;  cursor:pointer;  }
#map path:hover {  fill:#ff0000;  }

.datagrid .labelerror .form-control {     border-color: #a94442;}


#errorMessage .compulsory { display:none; }

/* bootstrap 5ths */
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}