/* @import "vars"; */

/*
 * Basic
 */

@font-face{
    font-family: Quicksand;
    src: url('/static/fonts/quicksand/Quicksand-Regular.otf');
    /* src: local('/static/fonts/quicksand/Quicksand-Regular.otf');   */
    font-weight: regular;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    /* font-family: "Inconsolata"; */
    /* font-family: Quicksand; */
    height: 100%;
    background-color: #D0CDC8;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Quicksand !important;
}
a {
    text-decoration: none;
    color: #87531D;
    /* D58936; */
}
a:hover, a:active, a:visited {
    text-decoration: underline;
    color: #87531D;
    /* D58936; */
}
hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/*
 * Navbar
 */

#author-name {
    font-size: 30px;
    color: #272727;
    display: inline-block;
}
.navbar {
    padding: 50px 0 50px 0;
}
.navbar-ul {
    display: inline-block;
    margin: 0;
    padding: 5px 0 5px 0;
    margin-left: 20px;
}
.nav-list {
    list-style-type: none;
    margin: 0 5px 0 10px;
}
.alignable {
    display: inline-block;
}
.pull-left {
    @extend .alignable;
    float: left;
}
.pull-right {
    @extend .alignable;
    float: right;
}

.dropdown-menu{
    background-color: #D0CDC8;
}

/* SELECTPICKER  */
ul.dropdown-menu {
    list-style: none !important;
}
.input-group .bootstrap-select.form-control .dropdown-toggle {
    border: 1px solid #ced4da;
}

.float-menu {
    position: fixed;
    left: 1%;
    top: 15%;
    width: 50px;
    height: 50px;
    z-index: 1049;
  }
.float-menu .btn {
    font-size: 25px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    line-height: 28px;
    background-color: #87531D;
    opacity: 0.85;
  }
  .float-menu ul {
    border: none;
    background-color: transparent;
  }
  .float-menu ul li {
    background-color:  #D0CDC8;
    border-radius: 30%;
    opacity: 0.90;
}


#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  /* border-radius: 100%; */
}

/* Divs */

.container {
    max-width: 800px;
    margin: auto;
}
.wrapper {
    min-height: 100%;
}

/* Institute Image */

#ins-logo {
	margin: auto;
	display: block;
	max-height: 100px;
	text-align: center;
}

/* Mobile */

@media (max-width: 800px) {
    .container {
        max-width: 600px;
        transition: 0.3s ease all;
    }
}

@media (max-width: 650px) {
    /* .container {
        max-width: 83%;
    } */
    .container {
        margin: 0px !important;
        max-width: 100% !important;
        padding: 0px !important;
    }
    .navbar-ul {
        margin-top: 5px;
    }
}

@media (max-width: 500px) {
	.navbar {
		text-align: center;
		padding: 50px 0px 0px 0px;
	}
	#author-name {
		width: 100%;
		float: none;
	}
	#navlist {
		padding: 10px 0 10px 0;
		margin: 0;
		display: block;
		float: none;
		text-align: center;
		width: 100%;
	}
	#navlist li.alignable {
		display: inline-block;
	}
	#navlist li.pull-left {
		float: none;
	}
	#navlist li.nav-list {
		margin: 0;
	}
}

.navbar-nav, #navbarNav{
    font-weight: 550 !important;
}

/* @import "typography"; */

.content {
    a:hover, a:active, a:visited {
        text-decoration: underline;
    }
    ol {
        counter-reset: list;
    }
    ol > li {
        list-style-position: none;
        position: relative;
        list-style: none;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    ul > li {
        margin: 5px 0 5px 0;
    }
    ul {
        padding: 0 20px 0 20px;;
    }
    ol {
        padding: 0 30px 0 30px;
    }
    ol > li:before {
        content: "[" counter(list, decimal) "] ";
        counter-increment: list;
        position: absolute;
        left: -30px;
    }
    blockquote {
        //border: 1px solid black;
        border-left: 5px solid #333333;
        margin: 20px 0 20px 0;
        padding: 2px 8px 2px 8px;
        font-style: italic;
    }
    .profile-picture {
        height: 85px;
        width: 85px;
        position: relative;
        margin: -10px 0 0 15px;
        float: right;
        border-radius: 50%;
        p & {
            padding: 0;
            margin: 0;
        }
        @media (max-width: 480px) {
            img {
                margin-top: -5px;
            }
        }
    }
    img {
        text-align: center;
        width: 100%;
    }
}


/* @import "tables"; */

table {
    margin: 15px 0;
    border-collapse: collapse;
    width: 100%;
    padding: 0;
}
table tr {
    border-top: 1px solid #cccccc;
    background-color: white;
    margin: 0;
    padding: 0;
}
table tr:nth-child(2n) {
    background-color: #f8f8f8;
}
table tr th {
    font-weight: bold;
    border: 1px solid #cccccc;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}
table tr td {
    border: 1px solid #cccccc;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}
table tr th :first-child, table tr td :first-child {
    margin: 0;
}
table tr th :last-child, table tr td :last-child {
    margin: 0;
}

table#Skills, table#Skills tr, table#Skills tr:nth-child(2n) {
  background-color: #D0CDC8;

}
/* table#Skills td + td {
  all: unset;
  border-left:2px solid red;
} */

/* table, caption, tbody, tfoot, thead, tr, th, td {
    all: unset;
} */

#Skills.table > :not(:first-child) {
    border: thin solid #000 !important;
 }

#Skills.table td.rightBorder {
    border-right: 1px solid #000;
    /* border-left: 1px solid #000; */
    /* border-right: none!important; */
    /* border-top: none!important; */
  }

#AmenitiesMap { height: 600px; }
#TravelsMap { height: 600px; }

/* Timeline Container */
.timeline {
/* background: var(--primary-color); */
margin: 20px auto;
padding: 20px;
}

/* Card container */
.timeline .card {
    border: none;
    background-color: inherit;
    position: relative;
    max-width: 400px;
}

/* setting padding based on even or odd */
.timeline .card:nth-child(odd) {
padding: 30px 0 30px 30px;
}
.timeline .card:nth-child(even) {
padding: 30px 30px 30px 0;
}
/* Global ::before */
.timeline .card::before {
content: "";
position: absolute;
width: 50%;
border: solid #87531D;
}

/* Setting the border of top, bottom, left */
.timeline .card:nth-child(odd)::before {
left: 0px;
top: -4.5px;
bottom: -4.5px;
border-width: 5px 0 5px 5px;
border-radius: 50px 0 0 50px;
}

/* Setting the top and bottom to "-5px" because earlier it was out of a pixel in mobile devices */
@media only screen and (max-width: 400px) {
.timeline .card:nth-child(odd)::before {
    top: -5px;
    bottom: -5px;
}
}

/* Setting the border of top, bottom, right */
.timeline .card:nth-child(even)::before {
right: 0;
top: 0;
bottom: 0;
border-width: 5px 5px 5px 0;
border-radius: 0 50px 50px 0;
}

/* Removing the border if it is the first card */
.timeline .card:first-child::before {
border-top: 0;
border-top-left-radius: 0;
}

/* Removing the border if it is the last card  and it's odd */
.timeline .card:last-child:nth-child(odd)::before {
border-bottom: 0;
border-bottom-left-radius: 0;
}

/* Removing the border if it is the last card  and it's even */
.timeline .card:last-child:nth-child(even)::before {
border-bottom: 0;
border-bottom-right-radius: 0;
}

/* Information about the timeline */
.timeline .info {
display: flex;
flex-direction: column;
/* background: #333; */
color: gray;
border-radius: 10px;
padding: 10px;
}

/* Title of the card */
.timeline .title {
color: #87531D;
position: relative;
}

/* Timeline dot  */
.timeline .title::before {
content: "";
position: absolute;
width: 10px;
height: 10px;
/* background: white; */
border-radius: 999px;
border: 3px solid #87531D;
}

/* text right if the card is even  */
.timeline .card:nth-child(even) > .info > .title {
text-align: right;
}

/* setting dot to the left if the card is odd */
.timeline .card:nth-child(odd) > .info > .title::before {
left: -45px;
}

/* setting dot to the right if the card is odd */
.timeline .card:nth-child(even) > .info > .title::before {
right: -45px;
}

/* CODE PAGE  */
#amenity_box {
    flex-wrap : wrap;

}
#amenity_box li {
    list-style: none;
    display: flex;
    margin: 4px 4px !important;
}

input[name="amenity_box"]{
    margin-right:3px !important;
}


/* BUTTONS */
.btn-outline-primary {
    color: #87531D;
    border-color: #87531D;
  }

.btn-primary, .btn-primary:active, .btn-primary:visited, .btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:visited {
    background-color: #87531D;
    border-color: #87531D;
}
.btn-primary:hover{
    background-color: #fff;
    border-color: #87531D;
    color: #87531D;
}

.text-bg-primary {
    color: #FFF !important;
    background-color: #87531D;
    border-color: #87531D;
}

/* FORM */


/* Checkbox (in code map) */
#clearallamenities {
    border-radius: 2rem;
}
 /* Customize the label (the container) */
 #amenity_box li {
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
  }
  
  /* Hide the browser's default checkbox */
  #amenity_box li input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    background-color: #fff;
    margin: 0;
  }

  #amenity_box li label {
    cursor: pointer;
  }
  
  #amenity_box li input[type="checkbox"] + label {
    border-radius: .25rem;
    border: thin solid #000 !important;
    padding: 0 5px 0 5px;
}
  /* Create a custom checkbox */
  #amenity_box li input[type="checkbox"]:checked + label {
    background-color: #2196F3;
    border-radius: .25rem;
    padding: 0 5px 0 5px;
    color: #fff;
}