/* Remove margins from "page content" on small screens */
@media only screen and (max-width: 600px) {
    .cpn-leftmargin {
        margin-left: 0
    }
    
    body {
        margin-top: 80px
    }
}

/* Menu Elements */
.cpn-bar-block .cpn-dropdown-hover,
.cpn-bar-block .cpn-dropdown-click {
    width: 100%
}

.cpn-bar-block .cpn-dropdown-hover .cpn-dropdown-content,
.cpn-bar-block .cpn-dropdown-click .cpn-dropdown-content {
    min-width: 100%
}

.cpn-bar-block .cpn-dropdown-hover .cpn-button,
.cpn-bar-block .cpn-dropdown-click .cpn-button {
    width: 100%;
    text-align: left;
    padding: 8px 16px
}

.cpn-sidebar {
    height: 100%;
    width: 130px;
    color: white;
    background-color: #fff;
    position: fixed !important;
    z-index: 1;
    overflow: auto
}

.cpn-sidebar-item {
    padding: 16px;
    float: none;
    width: auto;
    display: block;
    white-space: normal;
    outline: 0;
    text-decoration: none;
    color: darkgray;
    background-color: #30343F;
    border-bottom: solid 1px darkgray;
    transition: .2s;
}

.cpn-minibar-item {
    padding: 16px;
    float: none;
    width: auto;
    display: block;
    white-space: normal;
    outline: 0;
    text-decoration: none;
    color: darkgray;
    background-color: #30343F;
    border-bottom: solid 1px darkgray;
    transition: .2s;
}

.cpn-sidebar-item:hover {
    background-color: #20242F;
    border-left: solid 6px #FC5185;
    color: #FC5185;
}

.cpn-bg-fullscreen-fixed {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100000;
    min-height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
}

.cpn-bg-fixed {
    min-height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
}

.cpn-bg-gal {
    background-size: cover;
    min-height: 600px;
    background-repeat: no-repeat;
    background-position: center;
}

/* BUTTON STYLING */

.cpn-btn,
.cpn-button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 30px;
    transition: .3s;
}

.cpn-btn,
.cpn-button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.cpn-btn:disabled,
.cpn-button:disabled {
    cursor: not-allowed;
    opacity: 0.3
}

.cpn-separator {
    max-width: 100px;
    margin: auto;
    border-bottom: 6px solid deepskyblue
}

/* DROP DOWN ACCORDION */

.cpn-accordion {
  cursor: pointer;
  padding: 18px;
  margin-top: 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  color: darkgrey;
  background-color: #30343F;
}

.cpn-accordion:after {
  content: '\002B';
  color: #FC5185;
  font-weight: 900;
  margin-left: 5px;
}

.cpn-accordion:hover {
  border-left: solid 6px #FC5185;
  color: #FC5185;
  background-color: #30343F;
}

.active, .active:hover {
  border-left: solid 6px #30343f;
  color: white;
  background-color: #FC5185;
}

 

.active:after {
  content: "\2212";
}

 

.cpn-acc-panel {
  margin: 0 6px;
    color: darkslategray;
  background-color: whitesmoke;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}



/* BACKGROUNDS */

.cpn-fixed-bg {
    min-height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
}

.cpn-fixed-bg.cpn-bg1 {
    background-image: url("data/images/smart-background.jpg");
}

/* Container needed to position the overlay. Adjust the width as needed */
.cpn-overlay-container {
  position: relative;
  width: 100%;
}

/* Make the image to responsive */
.cpn-overlay-img {
  width: 100%;
  height: auto;
}

/* The overlay effect (full height and width) - lays on top of the container and over the image */
.cpn-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 0%;
  opacity: 0;
  transition: .3s ease;
}

/* The icon inside the overlay is positioned in the middle vertically and horizontally */
.cpn-overlay-icon {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
    opacity: 0;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

/* When you mouse over the container, fade in the overlay icon*/
.cpn-overlay-container:hover .cpn-overlay {
  opacity: .5;
    width: 100%;
}

.cpn-overlay-container:hover .cpn-overlay-icon {
    opacity: 1;
}