#ControlBar, #ControlBar *, .actionMenu * { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }

/* admin panel */
div.adminPanel {
    width: 200px;
    height: 400px;
    background-color: rgba(255,255,255,0.8);
    border: 1px solid silver;
    border-left: 0;
    position: fixed;
    top: 200px;
    left: 0px;
    -webkit-border-radius: 0 12px 12px 0;
    border-radius: 0 12px 12px 0;
    -webkit-box-shadow: 2px 2px 5px 0 rgba(0,0,0,0.25);
    box-shadow: 2px 2px 5px 0 rgba(0,0,0,0.25);
    z-index: 9999;
}
div.adminPanel.collapsed {
    left: -170px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
div.adminPanel.expanded {
    left: 0px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
div.adminPanel #adminPanelExpand {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 24px;
    cursor: pointer;
}
div.adminPanel .adminPanelActions {
    position: absolute;
    bottom: 5px;
    left: 10px;
    font-size: 24px;
    cursor: pointer;
}
div.adminPanel .adminPanelTitle {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    width: 100%;
}
div.adminPanel .adminPanelContent {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;    
}
div.adminPanel .adminPanelSection {
    margin: 2px 0;
    border-bottom: 1px solid #ccc;
    padding: 2px 0;
}
div.adminPanel .adminPanelSectionTitle {
    font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
    font-weight: bold;
}

/* general */
body { font-family: Arial, sans-serif; padding: 0; margin: 0; }

a, a:visited, a:active { color: #0079bc; }

.identifier {
    position: relative;
}

.identifier > div {
    position: absolute;
    top: -20px;
    right: 0px;
    background-color:rgba(255,0,0,0.05);
    display: inline-block;
    padding: 2px;
    color: rgba(255,0,0,0.4);
    border: 1px solid rgba(255,0,0,0.2);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-size: 10px;
}
.DNNEmptyPane .identifier > div {
    top: 0 !important;
}
.dnnSortable.ui-sortable {
    border: 1px dashed #ececec;
}

.ui-sortable { 
    min-height: 50px !important;
}

.moduleReference {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,255,0,0.2);
    padding: 2px 10px;
    color: green;
    font-size: 10px;
}

/* styles */

#backtotop {
    position: fixed;
	bottom: 5px;
	right: 15px;
    font-size: 40px;
    text-shadow: 0 0 5px #FFFFFF;
    outline: 0;
}

/* logo */
div.logo {
    position: absolute;
    left: 0;
    /* bottom: 3px; */
    z-index: 98;
}
div.logo img {
    height: 65px;
    width: auto;
    margin-top: 30px;
}
div.logocontainer .container {
  position: relative;
  display: block;
  height: 135px;
  padding: 0;
  text-align: center;
}

.jumbotron h1 {
  font-size: 38px;
}

body {
  border-top: 0;
}

ul.searchSkinObjectPreview > li {
    font-size: 13px;
    color: #999;
    background-color: #EFF2F7;
    border-top: 1px solid #ccc;
}

.footer {
    margin-top: 20px;
    padding-top: 20px;
    background-color: #ececec;
}

.footer div {
    padding: 10px;
}

.footer p {
    font-size: 12px;
    color: #6B87BB;
}

.footer .footermiddle {
    text-align: left;
}

.footer .footermiddle img {
    height: 47px;
}

.footer .footerright {
    text-align: left;
}

.phone, .desktop, .tablet { height: 0; }

.desktop { display: none; }
.tablet { display: none; }
.phone { display: block; }

.contact { display: none; }



.menucontainer {
background-color: #052264;
}


div.icons {
    position: absolute;
    top: 0;
    right: 0;
    height: 30px;
    display: block;
    text-align: center;
    z-index: 99;
}

.footer div.socialIcons { padding: 0; }
.fixedHeader .socialIcons a,
.footer .socialIcons a {
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0 5px;
    width: 50px;
    text-align: center;
    font-size: 28px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    display: inline-block;
    transition: background-color 1s ease;
    background-color: transparent;
}

.fixedHeader .socialIcons a:hover,
.footer .socialIcons a:hover {
    background-color: #0079bc;
    color: #fff;
}

.fixedHeader .socialIcons a {
    font-size: 22px;
    width: 38px;
    border: 1px solid #ececec;
    -webkit-border-radius: 4px; 
    border-radius: 4px;
}
.fixedHeader .icons .email {
    font-size: 0px;
    display: none;
}
.fixedHeader .icons .telephone {
    font-size: 0px;
    display: none;
}
.fixedHeader .socialIcons a:last-child {
    margin-right: 0;
}

.subfooter {
    background-color: #fff;
    padding: 10px;

}

div.breadcrumbs {
    display: none;
}

div.leftMenu {
    display: none;
}




/* Tidy up some admin controls */
.LoginPanel {
    width: 300px;
}

.carousel-caption {
    left: 5% !important;
    right: 5% !important;
}

.carousel-indicators {
    top: 10px !important;
}

.searchInputContainer a.dnnSearchBoxClearText.dnnShow {
    z-index: 999;
}
.searchInputContainer .NormalTextBox {
    background-color: #6B87BB;
    color: #fff;
    border: 0;
    margin-top: 2px;
    padding-left: 5px;
}
ul.searchSkinObjectPreview > li {
    background-color: #ececec;
}
.searchbox { 
    border: 1px solid #fff;
    background-color: #fff;
    padding: 0 5px;
    margin-left: 3px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.searchInputContainer .NormalTextBox {
    background-color: #fff;
    color: #052264;
    border: 1px solid #ccc;
}
.searchboxContainer { 
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 0px;
    height: 0px;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}
.searchboxContainer.expanded { 
    display: block; 
    background-color: #fff; 
    padding: 20px; 
    border: 1px solid #ccc; 
    -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2); 
    width: 250px;
    height: 100px;
}
#searchControl { 
    color: #0079bc; 
    font-size: 16px; 
    line-height: 16px; 
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 999;
    background-color: #ececec;
    padding: 4px;
    cursor: pointer;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

@media (min-width: 768px) {

    .leftMenu .nav > li > a {
	    padding: 3px 15px;
    }

    .leftMenu .nav li a {
        -webkit-transition: background-color 300ms linear;
        -moz-transition: background-color 300ms linear;
        -o-transition: background-color 300ms linear;
        -ms-transition: background-color 300ms linear;
        transition: background-color 300ms linear;
    }
    .leftMenu li a { color: #052264; }
    .leftMenu li.selected a { font-weight: bold; font-style: italic; }
    .leftMenu li.selected a li a { font-weight: normal; font-style: normal; }

    div.breadcrumbs { 
        text-align: left;
        font-size: 12px;
        padding: 4px 0;
        display: block;
    }
    div.breadcrumbs i {
        padding: 0 10px;
    }

    div.breadcrumbContainer { 
        border-top: 0;
        border-bottom: 1px solid #ccc;
        padding: 5px 0;
        margin-bottom: 0;
    }

    div.breadcrumbContainer .breadcrumbPageTitle {
        font-size: 32px;
        line-height: 32px;
    }

    div.logocontainer .container {
        height: 115px;
        text-align: left;
    }

    div.icons {
        height: auto;
    }

    .footer div.socialIcons { padding: 0; }
    .fixedHeader .socialIcons a,
    .footer .socialIcons a {
        border: 1px solid rgba(255,255,255,0.25);
        padding: 0 5px;
        width: 50px;
        text-align: center;
        font-size: 32px;
        margin-right: 3px;
        margin-bottom: 3px;
        -webkit-border-radius: 30px;
        border-radius: 30px;
        display: inline-block;
        transition: background-color 1s ease;
        background-color: transparent;
    }

    .fixedHeader .socialIcons a:hover,
    .footer .socialIcons a:hover {
        background-color: #0079bc;
        color: #fff;
    }
    .fixedHeader .socialIcons a {
        font-size: 22px;
        width: 38px;
        border: 1px solid #ececec;
        -webkit-border-radius: 4px; 
        border-radius: 4px;
    }
    .fixedHeader .icons .email {
        font-size: 16px;
        display: block;
    }
    .fixedHeader .icons .telephone {
        font-size: 28px;
        display: block;
    }
    .fixedHeader .socialIcons a:last-child {
        margin-right: 0;
    }

    .contact { display: block; }

    div.carouselControls {
        position: absolute;
        top: 200px;
        left: 20px;
        z-index: 1000;
    }

    div.icons {
        position: absolute;
        bottom: 5px;
        right: 0;
        text-align: right;
    }

    div.contact {
        position: absolute;
        top: 5px;
        right: 8px;
        font-size: 22px;
        text-align: right;
        color: #0079bc;
        line-height: 18px;
    }
    div.contact #email {
        font-size: 16px;
    }

    .adminContainer {
        display: block;
        position: absolute;
        top: 200px;
        left: 0;
        width: 50px;
        height: 50px;
        z-index: 1000;
    }

    div.logo img {
        height: 90px;
        width: auto;
        margin-top: 5px;
    }

    .desktop { display: none; }
    .tablet { display: block; }
    .phone { display: none; }

    body {
        padding-bottom: 0;
    }

    div.menucontainer {
        /* background-color: #052264; */
        height: 30px;
    }

    div.logotext {
        font-size: 42px;
        line-height: 42px;
        position: absolute;
        left: 110px;
        top: 15px;
        font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
        color: #6B87BB;
    }

    div.logotext-strapline {
        display: block;
        font-size: 28px;
        line-height: 28px;
        position: absolute;
        left: 110px;
        top: 52px;
        font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
    }
    div.login {
        position: absolute;
        top: 5px;
        right: 0;
    }

    .footer .footermiddle img {
        height: 67px;
    }
    blockquote.testimonial {
      margin-top: 10px;
      margin-left: 90px;
    }

    /* Tidy up some admin controls */
    .LoginPanel {
        width: 500px;
    }
}

@media (min-width: 992px) {

    .carousel-caption {
        left: 15% !important;
        right: 15% !important;
    }

    div.leftMenu {
        display: block;
        position: relative;
        top: 0;
        width: 100%;
        left: 0;
    }

    .desktop { display: block; }
    .tablet { display: none; }
    .phone { display: none; }

    .footer {
        padding: 0 10px;
        background-color: #6B87BB;
    }
    .footer,
    .footer h2,
    .footer p {
        color: #fff;
    }
    .footer a {
        color: #fff;
        text-decoration: none;
    }
    .footer b {
        width: 20px;
    }
    .footer .footermiddle {
        text-align: center;
    }
    .footer .footerright {
        text-align: right;
    }
    blockquote.testimonial {
      margin-top: 80px;
      margin-left: 0px;
    }

}

.fixedHeader { z-index: 999 !important; }

/* DNN fixes */
.dnnDropDownList .selected-item a, 
.dnnDropDownList .selected-item a:link, 
.dnnDropDownList .selected-item a:visited, 
.dnnDropDownList .selected-item a:hover, 
.dnnDropDownList .selected-item a:active {
    height: inherit !important;
}
div.dnnRegistrationForm .dnnForm {
    width: inherit !important;
}

/* Containers */
.container.fullWidthCentral {
    padding: 20px 0;
}

/* Admin */
#ControlBar, #ControlBar *, .actionMenu * { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }
.dnnSortable { min-height: 40px !important; }

/* FIXES */
@media only screen and (max-device-width: 480px) {    
    div.logo img { height: 65px; width: auto; }
}

/* Sub menu */
.sectioncontentbuttonright {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    cursor: pointer;
    z-index: 1000;
    background-color: rgba(0,121,188,0.9);
    border-top: 1px solid rgba(5,34,100,0.7);
    text-align: right;
    padding: 10px;
    color: #fff;
}

@media only screen and (min-width : 992px) {
    .sectioncontentbuttonright {
        display: none;
    }
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    background-color: rgba(0,121,188,0.9); /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    text-align: center;
}
.sidenav.open { width: 100%; }
/* The navigation menu links */
.sidenav a {
    padding: 2px 2px 10px 2px;
    text-decoration: none;
    font-size: 10pt;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover { color: #f1f1f1; }
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 2px;
    left: 49%;
    font-size: 36px;
    margin-left: 0;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav { padding-top: 15px; }
    .sidenav a { font-size: 18px; }
}
