/*
(c) Adfore Technologies Oy 2019 
*/
/* 
    Created on : 31-Jan-2019, 15:37:28
    Author     : tuukka.laakso
*/


/*
@font-face {
    font-family: MontserratMedium;
    font-display: swap;
    src: url('../fonts/Montserrat-Medium.woff2') format("woff2"),url('../fonts/Montserrat-Medium.woff') format("woff");
    font-weight: 500;
    font-style: normal
}*/


.navbar .svg-icon {
    width: 70px;
    height: 64px;
}

@media only screen and (max-width: 768px) {
  .navbar .svg-icon {
    width: 55px;
    height: 50px;
  }
}

.navbar .svg-icon {
    fill: #5b6cf5;
}

.navbar a:hover .svg-icon {
    fill: #fd2173;
}

#headerContainer  {
  max-width: 1296px;
}

.lead {
  font-size: 1rem;
}

.btn {
  font-family: Montserrat;
  font-weight: 500;
}

.card-header {
  font-family: Montserrat;
  font-weight: bold;
  font-size: 1.3rem;
}

.custom-control {
  padding-left: 2.0rem;
}

#mapContainer {
    width: 100%;
    height: 70vh;
    user-select: none;
  }

#mapContainer > div {
  user-select: none;
}

.vh-75 {
    height: 75vh;
}

#campaignHeader {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 6;
    color: white;
    text-align: center;
}

.carousel-item:after {
    background: #2e2855;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.75;
}

.carousel-caption {
    bottom: 50%;
    transform: translate(0%,50%);
    text-shadow: 0 0.1em 0.2em black;
}

.carousel-img {
    height: 225px;
    background-position: center center;
    background-size: cover;
}

.mapButtons {
    width: 100%;
    position: -webkit-sticky;
    position: sticky;
    top: 104px;
    z-index: 1000;
    background-color: white;
}

.btn {
    box-shadow: none !important;
    border-radius: 0 !important;
}

.pillButton {
  border-radius:28px !important;
  /* text-transform: uppercase;*/
  padding: 14px 20px;
  /* box-shadow: tarttee oikean mallin */
}

.pillButton:hover, .pillButton:focus, .pillButton:active, .pillButton.active, .open>.dropdown-toggle.pillButton {
  color: #5B6CF5;
  background-color: #fff;
}

.pillButton.btn-sm {
  padding: 2px 15px;
}

#clduration.btn {
  margin-left: -15px;
}


.mapButtons.btn-toolbar .btn-toolbar {
    flex-grow: 1;
    align-items: stretch;
}

.mapButtons .btn-group {
    flex: 1 1 auto;
}

.mapButtons label.btn-lg {
    padding-right: 0;
    padding-left: 0;
    border-right: 0 none;
}

.mapButtons .dropdown-toggle-split {
    flex: 0 0 auto;
    border-left: 0 none;
}

.mapButtons .dropdown-menu {
  min-width: 200px;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.mapButtons .btn-group.active .btn {
    color: #fff;
    background-color: #3a3f95;
    border-color: #2d5cbc;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:hover,
.mapButtons .btn-group.active .btn:hover {
    color: #fff;
    background-color: #5860fa;
    border-color: #5860fa;
}

.fadeout {
    color: #fff;
    background-color: #fd2173;
    border-color: #2d5cbc;
}

.fadeout:hover {
    color: #fff;
    background-color: #fd2173 !important;
    border-color: #2d5cbc;
}

.dropdown-item.active {
  color: #fff !important;
  background-color: #fd2173;
}

div.fadeout > label {
    color: #fff;
}

.btn .custom-control-label {
    cursor: pointer;
}

#alueetButton {
    padding-right: 0.75rem !important;
}

.mapButtons .custom-control-label::before {
    display: none;
}

.mapButtons .custom-control-label::after {
    top: 0.25rem;
    left: -1.75rem;
    width: 1.5rem;
    height: 1.5rem;
}

.calHeader {
    font-weight: bold;
    color: #343a40;
    padding-left: 15px;
    margin-bottom: -4px;
}

.calCon .datepicker {
    width: 325px;
    font-size: 20px;
}

.calCon .datepicker table>tbody>tr>td, 
.calCon .datepicker table>tbody>tr>th, 
.calCon .datepicker table>thead>tr>td, 
.calCon .datepicker table>thead>tr>th {
    width: 45px;
    height: 45px;
}

.calCon .datepicker table tr td.disabled, 
.calCon .datepicker table tr td.disabled:hover {
    color: #dee2e6;
}
/*.navbar {
   border-top: 1px solid rgba(0,0,0,0.125);
}*/

.sticky-bottom {
    position: sticky;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}

.navbar {
  padding-left: 16px;
  padding-right: 16px;
}

.navbar .card {
    font-size: 80%;
}
.navbar .card-header {
    padding: .125rem .75rem;
}
.navbar .card-body {
    max-width: 360px;
}
.card-body .list-group-item.col-6 {
    border-radius: 0 0 0 0.25rem;
    margin: -1px 0px 0px 0px;
    border-left-width: 0;
    border-bottom-width: 0;
}
.navbar .list-group-item {    
    padding: 0.125rem 0 0.125rem 0.75rem;    
}
.card-body .list-group-item.col-6:last-child {
    border-radius: 0 0 0.25rem 0;
}
.card-body.p-0:last-child .list-group-flush .list-group-item:last-child {
    border-radius: 0 0 0.25rem 0.25rem;
}
.card-header:not(:first-child) {
    border-top: 1px solid rgba(0,0,0,0.125);
}
.list-group-item:hover, .list-group-item:focus {
    z-index: inherit;
}

#clearSelection {
  width: 125px;
  height: 28px;
}

.sourcedata {
  font-size: small;
  font-style: italic;
  padding-left: 4px;
  padding-top: 2.8px;
  padding-right: 5px;
  text-indent: 0;
}


.kampanjaMediaImage {
  max-width: 33%;
  max-height: 300px;
  float: right;
  border-radius: 10px;
}

@media only screen and (max-width: 768px) {
  .kampanjaMediaImage {
    max-width: 100%;
    max-height: 300px;
    float: none;
    border-radius: 10px;
    padding-bottom: 5px;
  }
  #selectedList .media-body {
    font-size: small;
  }
  .sourcedata {
    font-size: smaller;
  }
}

/*.H_ib {
    color: black !important;
    white-space: nowrap !important;
    line-height: 18px !important;
}
.H_ib_body {
    background-color: white !important;
    bottom: 11px !important;
}
.H_ib_close svg {
    fill: black !important;
}
.H_ib_tail {    
    bottom: 0 !important;
    height: .7em !important;
    overflow: hidden !important;
}
.H_ib_tail path {
    fill: white !important;
}
.H_ib_tail path:first-child {
    display:none !important;
}
.H_ib_content {
    font-size: 14px !important;
}
.H_ib.smallBox .H_ib_close {
    display: none !important;
}

.H_ib.smallBox {
    line-height: 14px !important;
}

.H_ib.smallBox .H_ib_content {
    font-size: 12px !important;
    min-width: initial !important;
}

.H_ib.smallBox .H_ib_body {
    padding: 0;
}*/

.datepicker table tr td.range, .datepicker table tr td.range:hover, .datepicker table tr td.range.disabled, .datepicker table tr td.range.disabled:hover {
    background: #626afa !important;
    color: white;
}

.footer {
    background-color: #e9ecef; /* same as jumbotron */
}

.summaryDesc {
  margin-bottom: 1rem;
}

.group-item-header {
  margin-bottom: 1rem;
}

.mapOverlayButtons {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
}

.mapOverlayButtonBody {
  padding: 0.6rem;
}

.btn-group:disabled {
  
}

.H_ib_content {
  max-width: 330px;
}

.form-check-input {
  border: none;
  background-color: rgba(255,255,255,0);
}

.form-check-input:checked {
  border: none;
  background-color: rgba(255,255,255,0);
}

.aform-check-input:focus {
  border: none;
  background-color: #3A3F95 !important;
}

.aform-check-input:focus:checked {
  border: none;
  background-color: #626afa !important;
}

.form-check-input:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

small {
  font-size: .75em;;
}

.dropscroll {
  max-height: 520px;
  overflow-y: auto;
}

.popupContent {
  font-family: Montserrat;
  font-size: 12px;
  line-height: 22px;
}

.popupTitle {
  font-family: 'Montserrat';
  font-weight: bold;
  font-size: 13px;
}

.popupImage {
  max-width: 200px;
  padding-top: 12px;
}

@media (min-width: 768px) {
.modal-dialog {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}
}

#collacpseButton.collapse


#b2 {
  display: block;
}

.collapsed > #b2 {
  display: none;
}

#b1  {
  display: none;
}

.collapsed > #b1  {
  display: block;
}

.anchor {
  display: block;
  position: relative;
  top: -200px;
  visibility: hidden;
}

.btn-sm-circle {
  border-radius: 28px !important;
  width: 33px;
}

.btn-xsm-circle {
  border-radius: 15px !important;
  width: 20px;
  height: 20px;
  padding: 0px;
  font-size: 12px;
}

.btn-outline-tertiary {
  border-color: lightgray;
}

.H_context_menu_item {
  user-select: none;
}

.modal-dialog {
  margin-top: 150px;
}

@media only screen and (max-width: 768px) {
  .modal-dialog {
    margin-top: 210px;
  }
}


#mediaSorter {
  position: absolute;
  top: 55px;
  left: 10px;
  z-index: 1;
}

@media only screen and (max-width: 768px) and (min-width: 422px) {
  #mediaSorter {
    top: 72px;
  }
}

@media only screen and (max-width: 421px) and (min-width: 350px) {
  #mediaSorter {
    top: 97px;
  }
}

@media only screen and (max-width: 349px) and (min-width: 338px) {
  #mediaSorter {
    top: 117px;
  }
}

@media only screen and (max-width: 337px) and (min-width: 286px) {
  #mediaSorter {
    top: 142px;
  }
}

@media only screen and (max-width: 285px) {
  #mediaSorter {
    top: 167px;
  }
}


/* pienemmät fontit */
@media (max-width: 768px) {
  .card-header {
    font-size: 1rem;
  }
  h5 {
    font-size: 0.9rem;
  }
  #selectedList .dropdown-item {
    font-size: 0.8rem;
  }
  #selectedList .btn-outline-tertiary {
    font-size: x-small;
  }
}

.hangind {
  padding-left: 0.5em;
  text-indent: -0.5em;
}

li::marker {
  color: rgb(253, 33, 115)
}

.helpBody li {
  margin-bottom: 10px;
  font-family: Montserrat, sans-serif;
}

.helpInlineImage {
  margin-top: -10px;
  padding: 1rem;
}

/*
#showSelected > #selectedCheck {
  visibility: hidden;
}

#showSelected.active > #selectedCheck {
  visibility: visible;
}
*/