/*
 * Custom styles
 * loads last, overwrites most other things
 * --------------------------------------------------
 */

/*
 * whole body styles
 * --------------------------------------------------
 */

html, body {
    /* Prevent scroll on narrow devices */
    overflow-x: hidden;
    /* background on navbar inversion */
    background-color: black;
}

button:hover {
    cursor: pointer;
}

.sidebar-offcanvas > .info-card:hover {
    /*cursor: help;*/
}

a {
    font-family: 'Quattrocento Sans', sans-serif;
    /*font-weight: 700;*/
}

a:hover {
    text-decoration: none;
}

.nav-link:hover {
    color: white !important;
    text-decoration: none;
}

.obfuscate { 
    unicode-bidi: bidi-override; 
    direction: rtl; 
    white-space: nowrap;
    color: #1186ea;
}

/*
 * disable buttons temporarily
 * --------------------------------------------------
 */

.avoid-clicks, .avoid-clicks:hover {
  cursor: not-allowed;
}

/*
 * Background
 * --------------------------------------------------
 */

.set-background {
    background-color: #016891;
}

/*
 * Navbar elements
 * --------------------------------------------------
 */

.icapsHeader__container {
	/* padding for icaps header in navbar */
	padding-top: 60px;	
    margin-bottom: 20px;
}

#icapsButton > img {
	/* position fix for icaps logo on dropdown */
	height: 30px; 
	margin-left: 10px;
}

#navbar-menu {
	margin-left: 10px;
}

.navbar, .btn:focus, .btn:active {
    outline: none !important;
    border: none;
}

.bg-inverse {
    background-color: #2D2824;
    padding: 5px;
}

/* navbar toggler icon */

.navbar-inverse .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,158,95,1.0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
}

/* formatting around the icaps button area */

.navbar {
    background-color: #2D2824;
    border-color: #2D2824;
}

/* active areas are icaps orange */

.pactive {
    color: black !important;
}

.pactive:hover {
    color: rgba(255,158,95,1.0) !important;
}

.cactive {
    color: #a20000 !important;
    font-weight: normal;
}

.cactive:hover {
    color: rgba(255,158,95,1.0) !important;
}

/* drop-downs in the navbar */

.dropdown-menu  {
    padding: 0px;
    margin: 0px;
}

.dropdown-menu > * {
    color: white;
}

.dropdown-item.active {
    background-color: rgba(255,255,255,0.1);
}

#navbarHeader a:hover {
    color: #969696;
}


/*
 * Pull up button
 * --------------------------------------------------
 */

.pull-over {
    position: fixed;
    z-index: 999;
    padding: 0px;
    margin: 0px;
}

.pull-over > div {
    margin: 0px;
    transform: rotate(-90deg);
    transform-origin: right bottom 0; 
}

/*
 * Banner area
 * --------------------------------------------------
 */

.banner {
    padding: 0px;
    margin: 0px;
    margin-top: 60px;
    margin-bottom: 5px;
}

.banner > img {
    transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
}

.banner > img:hover {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-filter: alpha(opacity=0);
    transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
}

/*
 * custom styles for breadcrumb elements
 * --------------------------------------------------
 */

.breadcrumb-header {
	background-color: rgba(172,172,172,0.1);
}

.breadcrumb-item-primary > * {
    /*font-weight: 700;*/
}

.breadcrumb-item-secondary {
}

.breadcrumb-item > * {
    /* h-tags on the cards */
    font-family: 'Abel', sans-serif;
    color : black;
    /*color : rgba(251,99,70,1.0);*/
    font-weight: bold;
    margin-bottom: 0px;
}

a > .breadcrumb-header {
    padding: 2px;
}


/*
 * custom styles for carousel elements
 * --------------------------------------------------
 */

/* fade-to-black toggles annimation on carousel items */

.fade-to-black {
	background-size: cover;
	background-repeat: no-repeat;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
    -webkit-filter: grayscale(75%);
    filter: grayscale(75%);
}

.fade-to-black:hover {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}

.fade-to-black + div {
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    border-radius: 5px;
}

.fade-to-black:hover + div  {
	background-color: rgba(0,0,0,0.8);
	color: rgba(255,158,95,1.0);
}

.fade-to-black + div:hover {
	background-color: rgba(0,0,0,0.8);
	color: rgba(255,158,95,1.0);
}

.carousel-indicators > li:hover {
    cursor: pointer;
}

.carousel-inner {
    border-radius: .25rem;
}

/* classes for jquery */

.fade-to-black-primary-img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.fade-to-black-primary-p {
    background-color: rgba(0,0,0,0.8);
    color: rgba(255,158,95,1.0);
}

/*
 * custom styles for accordion elements
 * --------------------------------------------------
 */

/* accordion card header style */

.card {
	background-color: rgba(255,255,255,0.1);
    border: none;
}

.card-header {
	background-color: rgba(255,255,255,0.4);
	color: rgba(0,0,0,1.0);
}

.card-header:hover {
	/*background-color: rgba(0,0,0,0.75)!important;*/
}

.card-header > p {
    margin: 0px;
}

/* accordion card body style */

.card-body {
	padding: 0px;
}


/*
 * custom styles for list group items
 * --------------------------------------------------
 */

.list-group-item.active, .list-group-item:hover {
    background-color: rgba(0,0,0,0)!important;
}

.list-group-item {
    -webkit-transition: all 0.5s ease-in-out;
}

.list-group-item:hover {
    padding-left: 2.0rem;
    -webkit-transition: all 0.5s ease-in-out;
    color: #c0ff00;
}

.indent {
    border-left: 15px;
    border-left-color: rgba(255,255,255,0.2)!important;
    border-left-style: inset;
}

.badge-click:hover {
    cursor: pointer;
}


/*
 * footer area
 * --------------------------------------------------
 */

footer {
    padding-bottom: 1rem;
}

footer p {
    margin-bottom: .25rem;
}

.footer-container {
    position: relative;
    text-align: center;
    color: white;
}

.footer-bottom-left {
    position: absolute;
    bottom: 8px;
}

.footer-bottom-left > hr {
    background-color: rgba(255,158,95,1.0);
}


/*
 * individual styles for special elements
 * --------------------------------------------------
 */

.offcanvas-toggle-button {
    background-color: #9fe4ff;
    color: black;
    border : 0;
    border-top-right-radius: 10px!important;
    border-top-left-radius: 10px!important;
}

.offcanvas-toggle-button:hover {
    background-color: black;
    color: #9fe4ff;
}

.toggle-focus {
    background-color: black;
    color: #9fe4ff;
}

.caret {
    background-color: transparent; 
    margin: 0; 
    padding: 0; 
    color: black;
    border-radius: 10px!important;
}

.caret:hover {
    background-color: rgba(255,158,95,0.1); 
    color: rgba(255,158,95,1.0);
    box-shadow: none;
}

.caret:focus, .offcanvas-toggle-button:focus {
    box-shadow: none;
}

.offcanvas-toggle-button:not(.caret) {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#twitter-block {
    margin-top: 20px;
    padding: 0px;
}

.info-card {
    margin-top: 20px;
    margin-bottom: 0px;
    padding: 20px;
    font-family: 'Quattrocento Sans', sans-serif;
    font-weight: 400;
    background-color:  rgba(242, 242, 238, 1);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.info-table {
    margin-bottom: 0px; 
}

.info-table * tr td {
    padding: 0.25rem;
}

.info-table * tr td ~ td {
    text-align: left;
}

.info-table * tr > td:first-child {
    /*font-weight: bold;*/
    font-style: italic;
}

.quicklink-buttons {
    margin-top: 20px;
}

.quicklink-buttons > a {
    border-color: rgba(255,255,255,0.0);
    background-color: rgba(255,255,255,0.1);
    color: white;
}

td.text-right {
    padding-right: 20px!important;
}

/*
 * custom fonts
 * --------------------------------------------------
 */

.go-for-current-font {
    font-family: 'Quattrocento Sans', sans-serif;
    font-weight: 400;
}

.go-big-for-current-font {
    font-family: 'Abel', sans-serif;
    /*font-weight: 700;*/
}

.text-orange {
    /* this is the ICAPS orange */
    color : rgba(255,158,95,1.0);
}

.text-color {
    /* this is default font color */
    color : rgba(0,0,0,1.0);
}

.sm-font-size {
    font-size: 12pt;    
}

.xs-font-size {
    font-size: 10pt;    
}


/*
 * custom styles for CFP page
 * --------------------------------------------------
 */

#cfp-body nav > a > span {
    background-color : rgba(255,158,95,1.0);
}

#cfp-body nav > a > span:hover {
    background-color : #ffc107;
}

#cfp-body nav > a {
    margin-right: 10px;
    margin-left: 10px;
}

#cfp-body .breadcrumb-item-secondary > a:hover {
    color : red!important;
}

#accordionCFP .card-header {
    margin-bottom: 10px;
    cursor: pointer;
}

#accordionCFP .card-header:hover {
    background-color: white;
}

.click-to-go {
    cursor: pointer;
}

/*
 * custom styles for small screens - sm and xs
 * --------------------------------------------------
 */

@media screen and (max-width: 767px) {

    /* venue picture padding */

    #venue img {
        padding-bottom: 20px;
    }

    /* off-canvas */

    .row-offcanvas-right.active
    .sidebar-offcanvas {
        /* 9 columns */
        right: -75%;
    }

    .row-offcanvas-right.active {
        /* 9 columns */
        right: 80%;
    }

    .sidebar-offcanvas {
        /* 9 columns - less for upper sm */
        width: 75%;
    }

}


/*
 * custom styles for even smaller screens
 * --------------------------------------------------
 */

@media screen and (max-width: 576px) {

    /* off-canvas */

    .row-offcanvas-right.active
    .sidebar-offcanvas {
        /* 9 columns */
        right: -90%!important;
    }

    .row-offcanvas-right.active {
        /* 9 columns */
        right: 95%!important;
    }

    .sidebar-offcanvas {
        /* 9 columns */
        width: 90%!important;
    }

}


/*
 * toggle button styles
 * --------------------------------------------------
 */

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 16px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #ff9e5f;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 16px;
}

.slider.round:before {
  border-radius: 50%;
}

.carousel-control {
    padding: 10px;
    padding-top: 3px;
    padding-bottom: 0px;
}

.carousel-control > span {
    color: #808080;
}

.carousel-control-set {
    padding: 10px;
}

.profile {
    color: #a20000;
    font-weight: normal;
}

.profile:hover {
    color: rgba(251,99,70,1.0)!important;
}

#toggler > div {
    margin-top: 10px;
}

/*
 * workshop page
 * --------------------------------------------------
 */

.info-card-page-title {
    padding: 0;
}

.info-card-page-title .card-title {
    padding: 10px;
}