/**/
.mainblock{
  background-color:#738ea9;
}

.mainblock .row div:nth-child(1){
  padding:0 !important;
}

.mainblock .row div:nth-child(2){
  min-height:180px;
  color:#ffffff;
}

.mainblock .row div:nth-child(2) div > h2 {
  margin-left:20px;
}

.mainblock .row div:nth-child(2) div > a {
  min-width:150px;
  margin-right:15px;
}

.mainblock .row div:nth-child(2) .row{
  margin: 2.5% 0 1.5%;
}

.mainblock .row div:nth-child(2) div .list-group{
  line-height:1;
  border:none;
  box-shadow:none;
}

.mainblock .row div:nth-child(2) div .list-group li{
  border:none;
  margin:0.5% 0;
  background:none !important;
}

.mainblock div.row:nth-child(2) .toShowBuildings ul.list-group{
  line-height:2.471;
  border:none;
  color:#ffffff;
}

.mainblock div.row:nth-child(2) .toShowBuildings ul.list-group li{
  border:none;
  background-color:#999999;
  margin:0.5% 0;
}

.mainblock div.row:nth-child(2) .toShowBuildings ul.list-group a{
  min-width:150px;
}

.mainblock div.row:nth-child(3) div{
  background-color:#2A3F54;
}

.mainblock div.row:nth-child(3) div a.buildings{
  color:#ffffff;
  text-decoration: none;
}

/* DASHBOARD#CAROUSEL ADMIN*/
#content-slider{
list-style: none outside none;
  padding-left: 0;
  margin: 0;
}
.content-slider a {
    margin: 0;
    padding: 70px 0;
}

/*DASHBOARD#TIMELINE ADMIN*/
.dashboard-widget-content .cd-horizontal-timeline {
  opacity: 0;
  margin: 2em auto;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.dashboard-widget-content .cd-horizontal-timeline::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
.dashboard-widget-content .cd-horizontal-timeline.loaded {
  /* show the timeline after events position has been set (using JavaScript) */
  opacity: 1;
}
.dashboard-widget-content .cd-horizontal-timeline .timeline {
  position: relative;
  height: 100px;
  width: 90%;
  /*max-width: 800px;*/
  margin: 0 auto;
}
.dashboard-widget-content .cd-horizontal-timeline .events-wrapper {
  position: relative;
  height: 100%;
  margin: 0 40px;
  overflow: hidden;
}
.dashboard-widget-content .cd-horizontal-timeline .events-wrapper::after, .cd-horizontal-timeline .events-wrapper::before {
  /* these are used to create a shadow effect at the sides of the timeline */
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  height: 100%;
  width: 20px;
}
.dashboard-widget-content .cd-horizontal-timeline .events-wrapper::before {
  left: 0;
  background-image: -webkit-linear-gradient( left , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to right, #f8f8f8, rgba(248, 248, 248, 0));
}
.dashboard-widget-content .cd-horizontal-timeline .events-wrapper::after {
  right: 0;
  background-image: -webkit-linear-gradient( right , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to left, #f8f8f8, rgba(248, 248, 248, 0));
}
.dashboard-widget-content .cd-horizontal-timeline .events {
  /* this is the grey line/timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 49px;
  height: 2px;
  /* width will be set using JavaScript */
  background: #dfdfdf;
  -webkit-transition: -webkit-transform 0.4s;
  -moz-transition: -moz-transform 0.4s;
  transition: transform 0.4s;
}
.dashboard-widget-content .cd-horizontal-timeline .filling-line {
  /* this is used to create the green line filling the timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #7b9d6f;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.dashboard-widget-content .cd-horizontal-timeline .events a {
  position: absolute;
  bottom: 0;
  z-index: 2;
  text-align: center;
  font-size: 1.3rem;
  padding-bottom: 15px;
  color: #383838;
  /* fix bug on Safari - text flickering while timeline translates */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
.dashboard-widget-content .cd-horizontal-timeline .events a::after {
  /* this is used to create the event spot */
  content: '';
  position: absolute;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: -5px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  background-color: #f8f8f8;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  -moz-transition: background-color 0.3s, border-color 0.3s;
  transition: background-color 0.3s, border-color 0.3s;
}
.dashboard-widget-content .no-touch .cd-horizontal-timeline .events a:hover::after {
  background-color: #7b9d6f;
  border-color: #7b9d6f;
}
.dashboard-widget-content .cd-horizontal-timeline .events a.selected {
  pointer-events: none;
}
.dashboard-widget-content .cd-horizontal-timeline .events a.selected::after {
  background-color: #7b9d6f;
  border-color: #7b9d6f;
}
.dashboard-widget-content .cd-horizontal-timeline .events a.older-event::after {
  border-color: #7b9d6f;
}
@media only screen and (min-width: 1100px) {
  .dashboard-widget-content .cd-horizontal-timeline {
    margin: 6em auto;
  }
  .dashboard-widget-content .cd-horizontal-timeline::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

.dashboard-widget-content ul li,
.dashboard-widget-content ol li{
  list-style: none;
}

.dashboard-widget-content .cd-timeline-navigation a {
  /* these are the left/right arrows to navigate the timeline */
  position: absolute;
  z-index: 1;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  /* replace text with an icon */
  overflow: hidden;
  color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: border-color 0.3s;
  -moz-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
.dashboard-widget-content .cd-timeline-navigation a::after {
  /* arrow icon */
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background: url("../images/dashboard/cd-arrow.png") no-repeat 0 0;
}
.dashboard-widget-content .cd-timeline-navigation a.prev {
  left: 0;
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.dashboard-widget-content .cd-timeline-navigation a.next {
  right: 0;
}
.dashboard-widget-content .no-touch .cd-timeline-navigation a:hover {
  border-color: #7b9d6f;
}
.dashboard-widget-content .cd-timeline-navigation a.inactive {
  cursor: not-allowed;
}
.dashboard-widget-content .cd-timeline-navigation a.inactive::after {
  background-position: 0 -16px;
}
.dashboard-widget-content .no-touch .cd-timeline-navigation a.inactive:hover {
  border-color: #dfdfdf;
}

.dashboard-widget-content .cd-horizontal-timeline .events-content {
  position: relative;
  width: 100%;
  margin: 2em 0;
  overflow: hidden;
  -webkit-transition: height 0.4s;
  -moz-transition: height 0.4s;
  transition: height 0.4s;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content li {
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  top: 0;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  padding: 0 5%;
  opacity: 0;
  -webkit-animation-duration: 0.4s;
  -moz-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content li.selected {
  /* visible event content */
  position: relative;
  z-index: 2;
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.dashboard-widget-content .cd-horizontal-timeline .events-content li.enter-right, .cd-horizontal-timeline .events-content li.leave-right {
  -webkit-animation-name: cd-enter-right;
  -moz-animation-name: cd-enter-right;
  animation-name: cd-enter-right;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content li.enter-left, .cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-name: cd-enter-left;
  -moz-animation-name: cd-enter-left;
  animation-name: cd-enter-left;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content li.leave-right, .cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  animation-direction: reverse;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content li > * {
  /*max-width: 800px;*/
  margin: 0 auto;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content h2 {
  font-weight: bold;
  font-size: 2.6rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content em {
  display: block;
  font-style: italic;
  margin: 10px auto;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content em::before {
  content: '- ';
}
.dashboard-widget-content .cd-horizontal-timeline .events-content p {
  font-size: 1.4rem;
  color: #959595;
}
.dashboard-widget-content .cd-horizontal-timeline .events-content em, .cd-horizontal-timeline .events-content p {
  line-height: 1.6;
}

/*fixing issue within .events-wrapper*/
.dashboard-widget-content .cd-horizontal-timeline .events-wrapper::before,
.dashboard-widget-content .cd-horizontal-timeline .events-wrapper::after {
	background-image: none !important;
}

@media only screen and (min-width: 768px) {
  .dashboard-widget-content .cd-horizontal-timeline .events-content h2 {
    font-size: 7rem;
  }
  .dashboard-widget-content .cd-horizontal-timeline .events-content em {
    font-size: 2rem;
  }
  .dashboard-widget-content .cd-horizontal-timeline .events-content p {
    font-size: 1.8rem;
  }
}

@-webkit-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -moz-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@-webkit-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}

.heightSpacer
{
    height: 50px;    
    
}

/* TO DO LIST */
table.todo-list input.description,
table.todo-list input.title
{
    width: 100%;  
}
table.todo-list
{
    table-layout: fixed;
}

table.todo-list tbody tr td:first-child .form-group,
table.todo-list tbody tr td:nth-child(2) .form-group
{
       width: 100%;
}

/* Reminder List */
table.reminder-list input.notification
{
    width: 100%;
}

table.reminder-list
{
    table-layout: fixed;
}

table.reminder-list tbody tr td:first-child .form-group
{
    width: 100%;
}

/* Customer Settings */

.input-group-addon.customer-settings-address-type
{
    background-color: #ffffff; /* override BS for this specical case as the other icons on this area are has-feedback ones */
}
.table.cust-settings
{
    table-layout: fixed;    
}

.table.cust-settings.cust_address tr:first-child td:first-child
{
    width: 25%;   
}
.table.cust-settings.cust-address > tbody > tr:first-child > td
{
    border-width: 0px; 
}

.customer-mode .settings-customer-number
{
    display: none;
}

.customer-mode .settings-delete-button
{
  display: none;
}


.customer-admin-mode .settings-password-button
{
    display: none;    
}


/* media library */

#imageThumbs
{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.media-lib-thumb
{
    overflow: hidden;
    position: relative;
    opacity: 1;    
    border: 1px solid #000000;
    margin: 0px 10px 10px 0px;
    width: 150px;
    height: 100px;
}

.media-lib-thumb img
{
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.media-lib-thumb img.landscape
{
    max-width: 100%;   
}
.media-lib-thumb img.portrait
{
    max-height: 100%;   
}

.media-tick
{
    display: none;
    position: absolute;
    top: 5px;
    left: 120px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 5px;
    width: 25px;
    height: 25px;
    border: 1px solid #000000;
    z-index: 10;
}

.media-library-upload, .media-library-download
{
    display: inline-block;
}

.media-tick.glyphicon-ok
{
    color: #00ff00;
}
.media-tick.glyphicon-remove
{
    color: #ff0000;
}

.media-thumb-container
{
    position: relative;
    cursor: pointer;
}

.media-meta-prompt
{
    display: none;
    padding: 5px;
    border-radius: 5px;
    background-color: #eeeeee;
    color: #000000;
    cursor: pointer;
    position: absolute;
    top: 105px;
    left: 10px;
    width: 130px;
    text-align: center;
    font-size: 80%;
}

.media-lib-nav
{
    float: right;
    cursor: pointer;
    font-size: 15px;
    position: relative;
    top: 1px;
    margin-right: 10px;
}

.media-lib-meta-thumb
{
    width: 150px;
    height: 150px;   
    position: relative;
}

.media-lib-meta-thumb img
{
    position: absolute;
    left: 50%;
    top: 0px;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}  


#mediaLibModalFormContainer .delete-image
{
    cursor: pointer;   
}

#merger-label, #mergee-label {
    text-align: left;
}



.media-library-search-box__control
{
    margin-right: 15px;
}

.media-lib-downloadable-select__checkbox
{
    visibility: hidden;
}

.media-lib-downloadable-select__custom-checkbox {
    position: absolute;
    opacity: 1;
    right: 5px;
    top: 5px;
    z-index: 10;
    width: 20px;
    height: 20px;
    background: none;
    border-radius: 0;
    border: 1px solid white;
}
.media-lib-downloadable-select__label {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 0;
    transition: all .5s ease;
    cursor: pointer;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
    background: none;
}
.media-lib-downloadable-select__custom-checkbox input[type=checkbox]:checked + label {
    background: white;
    background-image: url(/images/checkbox.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}



.dashbboard-landscape-preferred
{
    color: #000000;
}


.designs_feature_icon
{
    display: block;
    width: 50px;
    height: 50px;
}

.designs-module .designs-design-row
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.designs-features-container
{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.your-designs-cladding-options
{
    min-height: 30px;
    padding: 5px 0px 5px 0px;
}

.building-image
{
    overflow: hidden;
    max-width: 100%;
}

.building-image img
{
    height: 100px;
    width: auto;
    border: 1px solid #000000;
}

.designs_feature_icon
{
    margin-right: 10px;
}

.designs-actions-container
{
       padding-bottom: 5px;
}
.designs-module .designs-actions-container, .order-module .designs-actions-container
{
    align-self: flex-end;
}

.designs-actions-container .order-actions
{
    margin-top: 10px;    
}

.badge.order-id
{
    background-color: #487a7b;
    color: #ffffff;  
    margin: 15px 10px 0px 0px; 
}

.designs-name-controls
{
   display: inline-block; 
}

.designs-name-area
{
    margin: 5px 5px 0px 0px;
}

span.designs-edit-name-icon
{
    cursor: pointer;
}

.fa-save.designs-edit-name-icon
{
    vertical-align: bottom;
}

.designs-module .designs-design-row.design
{
    background-color:#eeeeee; 
    border-color:  #cccccc;
    position: relative;
}

.order-module .designs-design-row.order
{
    background-color: #3f616f;
    color: #ffffff;
    border-color:  #001a00;  
}

.order-module .designs-design-row.order .badge
{
    background-color: #ffffff;
    color: #487a7b;
}

/* feature/bug request feature */

.feedback-container
{
    position: fixed;
    top: 125px;
    right: 0px;
    width: 35px; 
    height: 105px;
    z-index: 5;
    background-color: #41273B;
    border-radius: 5px;
    font-size: 13px;
}

.feedback-form-feedback
{
    height: 20px;
}

#feedbackField
{
    height: 60px;
}

.feedback-title {
    transform: rotate(90deg);
    transform-origin: left top; 
    color: #eceeef;
    position: relative;
    left: 32px;
    top: 7px;
    font-size: 20px;
    cursor: pointer;
}

.feedback-field
{
    color: #41273B;
}

.feedback-box
{
    width: 90%;
    resize: none;
}

.feedback-form
{
    color: #eceeef;
    width: 100%;
}

.feedback-controls
{
    padding: 5px;
}

.feedback-form-submit
{
    color: #41273B;
    background-color: #eceeef;  
    font-size: 13px;
}

.feedback-close
{
    color: #eceeef;   
    margin: 2px 10px 0px 0px;
    cursor: pointer;
}

.custom-hide
{
    display: none;
}

/* documents */

.documents-doc-icon
{
    margin-bottom: 10px;
}

/* dashboard
 * but some of these styles may become more site-wide as we try to develop a Green Retreats theme
 */

.green-retreats-header
{
    color: #487A7B;
}

.


.nav-announcement {
    margin-top: 20px;
    font-weight: 600;
}

/*STYLE IMPLEMENTING lightSlider LIBRATY*/
.right_col{
  min-height: auto !important;
}

.menu_section.contact-details
{
    margin-left: 15px;
    color: #e7e7e7;
}

.menu_section.contact-details i 
{
    text-align: center;
}   

/* faqs section - customer side 
 
 modifier --
 element __
 
*/

.faqs-icons-header
{
    display: flex;
    justify-content: center;
}

.faq-spacer
{
    height: 30px;
}

.faqs-icons__category
{
    cursor: pointer;
    display: inline-block;
    text-align: center;
    margin: 0px 10px 0px 10px;
}

h3.faq-group__section
{
    color: #487a7b; /* gr brand */
    font-weight: bold;
}

.faq-group__divider
{
    color: #41273b; /* gr brand purple */  
    background-color: #41273b; /* gr brand purple */  
    height: 2px;  
    margin-top: 0px;
    border: none;
}

.faq-group__faq-item, .faq-answer
{
    list-style-type: none;
}

.faq-group
{
    margin-top: 10px;    
}

.faq-answer--hidden
{
    display: none;
}

.faq-answer__text
{
    display: inline-block;
}

.faq-answer__top-link
{
    display: block;
}

a.faq-question-select
{
    color: #487a7b; /* gr brand teal */ 
}

.faq-question-select:hover
{
    text-decoration: underline;
}

a.faq-question-select--active:link, a.faq-question-select--active:visited   
{
    text-decoration: underline;   
}

.faq-question-select__bullet
{
    color: #487a7b; /* gr brand teal */   
    width: 20px;  
}

.faq-answer
{
    margin-bottom: 10px;
    padding-top: 3px;
    margin-left: 20px;
    
}

/* generic styles. 
 * TODO - use SASS variables to fix BS. POR-306 for now these just override
 * GR brand colors:
 * #292128 grey
 * #e7e7e7 lightGrey
 * #41273b purple
 * 
 * #eceeef veryLightGrey
 * #487a7b green
 */

.brand-heading
{
    color: #41273b; /* gr brand purple */     
}

.gr-button
{
    display: inline-block;
}



.employeeFormModal .help-block
{
    color: #73879C;
}


/* override the custom theme float on col behaviour */
footer .row .col-md-3, footer .row .col-md-6
{
    float: none;
}

@media (min-width: 992px) {

     footer .row .col-md-3, footer .row .col-md-6
     {
         float: left;
     }
}
/* end temporary hacks to fix custom theme */

#backToTopButton {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
}

