/* slightly enhanced, universal clearfix hack */
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
}

.clearfix { 
    display: inline-block; 
}

/* start commented backslash hack \*/
* html .clearfix { 
    height: 1%; 
}

.clearfix { 
    display: block; 
}
/* close commented backslash hack */


/* Font */
.font-tiny {
    font-size: 10px!important
}

.font-small {
    font-size: 12px!important
}

.font-medium {
    font-size: 15px!important
}

.font-large {
    font-size: 18px!important
}

.font-xlarge {
    font-size: 24px!important
}

.font-xxlarge {
    font-size: 36px!important
}

.font-xxxlarge {
    font-size: 48px!important
}

.font-jumbo {
    font-size: 64px!important
}


/* Text */
.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-justify {
    text-align: justify !important;
}

.text-center {
    text-align: center !important;
}

.left{
    float:left !important;
}

.right{
    float:right !important;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

.serif {
    font-family: serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    margin: 10px 0;
}

.wide {
    letter-spacing: 4px;
}

.break-word {
	word-wrap: break-word;
}

.lowercase {
  text-transform: lowercase;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
  }

/* Style The Dropdown Button */
.dropbtn {        
    background-color: transparent;
    padding: 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown i {    
    font-size: 14px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color:#f9f9f9;
}

.dropdown-content.right {
    right: 0;
}

/* width in percentage */
.w100 {
    width: 99.99999%;
}

.w90 {
    width: 90%;
}

.w80 {
    width: 80%;
}

.w75 {
    width: 74.99999%;
}

.w70 {
    width: 70%;
}

.w60 {
    width: 60%;
}

.w50 {
    width: 49.99999%;
}

.w40 {
    width: 40%;
}

.w30 {
    width: 30%;
}

.w20 {
    width: 20%;
}

.w10 {
    width: 10%;
}

/* width in pixel */
.w-100 {
    width: 100px;
}

.w-200 {
    width: 200px;
}

.w-300 {
    width: 300px;
}

.w-400 {
    width: 400px;
}

.w-500 {
    width: 500px;
}


/* Display */
.display-topleft {
    position: absolute;
    left: 0;
    top: 0;
}

.display-topright {
    position: absolute;
    right: 0;
    top: 0;
}

.display-bottomleft {
    position: absolute;
    left: 0;
    bottom: 0;
}

.display-bottomright {
    position: absolute;
    right: 0;
    bottom: 0;
}

.display-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.display-left {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(-0%, -50%);
}

.display-right {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
}

.display-topmiddle {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
}

.display-bottommiddle {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
}

.display-container:hover .display-hover {
    display: block;
}

.display-container:hover span.display-hover {
    display: inline-block;
}

.display-hover {
    display: none;
}

.display-position {
    position: absolute;
}

/* Border */
.border-0 {
    border: 0!important
}

.border {
    border: 1px solid #ccc!important
}

.border-top {
    border-top: 1px solid #ccc!important
}

.border-bottom {
    border-bottom: 1px solid #ccc!important
}

.border-left {
    border-left: 1px solid #ccc!important
}

.border-right {
    border-right: 1px solid #ccc!important
}

.topbar {
    border-top: 6px solid #ccc!important
}

.bottombar {
    border-bottom: 6px solid #ccc!important
}

.leftbar {
    border-left: 6px solid #ccc!important
}

.rightbar {
    border-right: 6px solid #ccc!important
}


/* Margin & Padding */
.margin-8 {
    margin: 8px!important
}

.margin-top-8 {
    margin-top: 8px!important
}

.margin-bottom-8 {
    margin-bottom: 8px!important
}

.margin-left-8 {
    margin-left: 8px!important
}

.margin-right-8 {
    margin-right: 8px!important
}

.margin-16 {
    margin: 16px!important
}

.margin-top-16 {
    margin-top: 16px!important
}

.margin-bottom-16 {
    margin-bottom: 16px!important
}

.margin-left-16 {
    margin-left: 16px!important
}

.margin-right-16 {
    margin-right: 16px!important
}

.margin-32 {
    margin: 32px!important
}

.margin-top-32 {
    margin-top: 32px!important
}

.margin-bottom-32 {
    margin-bottom: 16px!important
}

.margin-left-32 {
    margin-left: 32px!important
}

.margin-right-32 {
    margin-right: 32px!important
}

.padding-small {
    padding: 4px 8px!important
}

.padding {
    padding: 8px 16px!important
}

.padding-large {
    padding: 12px 24px!important
}

.padding-16 {
    padding-top: 16px!important;
    padding-bottom: 16px!important
}

.padding-24 {
    padding-top: 24px!important;
    padding-bottom: 24px!important
}

.padding-32 {
    padding-top: 32px!important;
    padding-bottom: 32px!important
}

.padding-48 {
    padding-top: 48px!important;
    padding-bottom: 48px!important
}

.padding-64 {
    padding-top: 64px!important;
    padding-bottom: 64px!important
}

/* BAR */
.bar-block .dropdown-hover,
.bar-block .dropdown-click {
    width: 100%
}

.bar-block .dropdown-hover .dropdown-content,
.bar-block .dropdown-click .dropdown-content {
    min-width: 100%
}

.bar-block .dropdown-hover .button,
.bar-block .dropdown-click .button {
    width: 100%;
    text-align: left;
    padding: 8px 16px
}

.bar {
    width: 100%;
    overflow: hidden
}

.center .bar {
    display: inline-block;
    width: auto
}

.bar .bar-item {
    padding: 8px 16px;
    float: left;
    width: auto;
    border: none;
    outline: none;
    display: block
}

.bar .dropdown-hover,
.bar .dropdown-click {
    position: static;
    float: left
}

.bar .button {
    white-space: normal
}

.bar-block .bar-item {
    width: 100%;
    display: block;
    padding: 8px 16px;
    text-align: left;
    border: none;
    outline: none;
    white-space: normal;
    float: none
}

.bar-block.center .bar-item {
    text-align: center
}

.block {
    display: block;
    width: 100%
}

.bar:before,
.bar:after {
    content: "";
    display: table;
    clear: both
}


/* Modal */
.modal {
    z-index: 3;
    display: none;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    margin: auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
    width: 600px;
}

.modal-content .container {
    padding:0.01em 16px;    
}

.modal-content header {
    border-bottom: 1px solid;
}

.modal-content header span.btn {
    font-size: 24px;
}

.modal-content footer {
    border-top: 1px solid;
}

@media (max-width:600px) {
    .modal-content {
        margin: 0 10px;
        width: auto!important;
    }
    .modal {
        padding-top: 30px;
    }
}

@media (max-width:768px) {
        .modal-content {
            width: 500px;
        }
        .modal {
            padding-top: 50px;
        }
}

@media (min-width:993px) {
        .modal-content {
            width: 900px;
        }
        .hide-large {
            display: none!important;
        }
        .sidebar.collapse {
            display: block!important;
        }
}