/*
 Made by DFiNE (Kenneth Hedahl)
 Copyright DIS (www.dfine.net)
*/


/* Global styles */

@charset "UTF-8";

*, *:before, *:after {
    padding:0px;
    margin:0px;
    box-sizing: inherit;
}

html {
    height: 100%;
    box-sizing: border-box;
}

body {
    background:url('../img/bg.png');
    font-family:verdana, arial;
    position: relative;
    padding-bottom:200px;
    min-height: 100%;
    overflow-y:scroll;
}

a {
    text-decoration:none;
    color:#578282;
}

a:hover {
    color:#789b9b;
}

/* General site buildup */

.contentwrapper {
    width:990px;
    margin-left:auto;
    margin-right:auto;


    /*min-height:800px;*/
}

.header {
    height:75px;
    width:100%;
    background-color:#111111;
}

.header_logo {
    background:url('../img/header.png');
    background-repeat:no-repeat;
    background-position-y: 15px;
    width:200px;
    height:70px;
    margin-left:20px;
    float:left;
}

.header_right {
    float:right;
    padding-top:50px;
    padding-right:50px;
    font-size:10px;
    color:#333333;
}

.header_right a {
    text-decoration:none;
    color:#999;
}

.header_right a:hover {
    text-decoration:underline;
}


/* Main navigation */

.topnav {
    height:30px;
    padding-right:5px;
    background-color:black;
    text-align:right;
    padding-top:5px;
    padding-bottom:5px;

}

.topnav p {
    text-transform:uppercase;
    color:red;
    font-size:15px;
    line-height:12px;
    display:inline-block;
}

.topnav button {
    height:20px;
    font-size:12px;
    /*line-height:11px;*/
    background-color:red;
    color:white;
    border:1px solid red;
    border-radius:2px;
    padding:3px 3px 3px 3px;

}

.mainnav {
    border-top:1px solid #2e2e2e;
    height:50px;
    background-color:#111111;
    text-decoration:none;
    text-transform:uppercase;
}

.mainnav ul, .mainnav li {
    list-style-type:none;
    display:inline-block;
}

.mainnav li {
    line-height:50px;
    padding-left:50px;
}

.mainnav a {
    text-decoration:none;
    color:#FFF; 
    height:100%;
}

.mainnav a:hover {
    color:#999;
}


/* Content styling */

.content {
    width:100%;
    color:#FFF;
}

.events {
    padding:10px 10px 10px 10px;
}

.events a {
    color:#FFF;
}

.events h1 {
    color:#FFF;
    font-size:20px;
    margin-bottom:10px;
    text-transform:uppercase;
    font-weight:normal;
}

.eventslidertext {
    padding-top:5px;
    padding-left:1px;
    font-size:12px !important;
}

.content-slice {
    display:inline-block;
    width:460px;
    padding:10px 10px 10px 10px;
    margin-bottom:10px;
    box-sizing: content-box;

}

.content-slice h1 {
    display:inline-block;
    font-size:20px;
}

.content-slice a {
    display:inline-block;
    color:#0093a1;
    font-size:11px;
}

.content-slice a:before {
    content: ">";
    padding-right: 3px;
    color:#0093a1;
    font-size:13px;
}

.event-item {
    width:460px;
    height:90px;
    max-height:90px !important;
    margin-top:10px;
    box-sizing:border-box;
}

.event-date {
    width:50px;
    height:50px;
    float:left;
    background-color:#009ea6;
    color:#FFF;
    margin-left:5px;
    margin-top:10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-family:arial;
    text-align:center;
    font-size:30px;
}

.event-date span {
    display:block;
    font-size:12px;
}

.event-content {
    width:370px;
    height:90px;
    float:left;
    background-color:#333333;
    margin-top:0px;
    padding:5px 5px 5px 5px;
    border-radius:2px;
    box-sizing:border-box;
}

.event-contentext {
    width:370px;
    height:80px;
    float:left;
    background-color:#333333;
    margin-top:-10px;
    padding:5px 5px 5px 5px;
    border-radius:2px;
}

.event-left {
    padding:10px 10px 10px 10px;
    width:250px;
    float:left;
    font-size:12px;
    font-weight:normal;
}

.event-right {
    float:left;
}

.event-right button {
    width:90px;
    height:25px;
    background-color:#e51937;
    color:#FFF;
    border:none;
    font-weight:bold;
    margin-top:30%;
}

.eventextra {
    height:80px;
}

.activitybtn {
    margin-right:30px;
}

.activitybtn p {
    width:16px;
    height:16px;
    color:#c57e19;
    background:transparent;
    border:none;
    font-size:15px;
    display:inline-block;
    margin-left:5px;
}

.activitybtn p:hover {
    color:#ffa019;
}

.page {
    padding:10px 10px 10px 10px;
}

.page h1 {
    display:inline-block;
    margin-bottom:10px;
    font-size: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: normal;
}

.page p {
    margin-bottom:10px;
}

.page ul {
    list-style: disc outside;
    display:block;
    margin-left:20px;
}

.newsitem {
    width:100%;
    height:150px;
    background-color:#333;
    margin-bottom:20px;
}

.newsitemimg {
    width:20%;
}

.newsitemimg img {
    height:150px;
    max-width:150px;
}

.newsitemcont {
    width:60%;
    overflow:hidden;
    height:135px;
}

.newsitemcont .newsitemauthor {
    width:100%;
    border-bottom:1px solid #2e2e2e;
    margin-bottom:5px;
}

.newsitemcont .newsitemauthor h2 {
    display:inline;
    font-size:16px;
}

.newsitemcont .newsitemauthor p {
    display:inline;
    font-size:12px;
    margin-left:1em;
}

.newsitemread {
    width:20%;
    text-align:center;
}

.newsitemread button {
    margin-top:30%;
    background-color:#e51937;
    color:#FFF;
    border:none;
    padding:10px 10px 10px 10px;
    vertical-align:middle;
}

.newstitle {
    font-size:12px;
    line-height:20px;
}

.newsbody {
    
}

.newsbody img {
    max-width:970px;
}

.newsbody p {
    padding: 3px 3px 3px 3px;
}

.eventslice {
    width:319px;
    float:left;
    height:250px;
    margin-left:2px;
    margin-right:2px;
    margin-bottom:20px;
    display:block;
}

.eventslice-top img {
    padding-left:5px;
    padding-right:5px;
    max-width:320px;
}

.eventslice-middle {
    display:block;
    height:20%;
    padding:5px 5px 10px 10px;
    overflow:hidden;
}

.eventslice-bottom {
    display:block;
    height:15%;
    padding-left:5px;
    padding-right:5px;
}

.eventslice-bottom button {
    width:100%;
    height:100%;
    background-color:#000;
    color:#e51937;
    border:1px solid #e51937;
}

.contactform {
    width:400px;
    float:left;
}

.contactform .form-control {
    display:table;
}

.contactform .form-control label {
    display:block;
    margin-top:20px;
}

.contactform .form-control .inputfield {
    width:400px;
    height:30px;
    font-size:20px;
    border-radius: 2px;
    border:none;
    margin-top:1px;
    padding:2px 2px 2px 2px;
}

.contactform .form-control textarea {
    width:400px;
    height:100px;
    border-radius: 2px;
    border:none;
    margin-top:1px;
    padding:2px 2px 2px 2px;
}

.contactform .form-control .contactsubmit {
    margin-top:20px;
    width:150px;
    height:50px;
    background-color:#000;
    color:#e51937;
    border:1px solid #e51937;
    margin-left:250px;
}

.amenu button {
    height:30px;
    padding:5px 5px 5px 5px;
}

.nmin {
    margin-top:20px;
}

.nmin button {
    width:30px;
    height:30px;
    border:none;
    font-size:18px;
    /*padding:4px 3px 3px 6px;*/
    border-radius:2px;
    text-align:center;
    margin-right:10px;
}

.nmin table {
    text-align:left;
    display:table;
    border:none;
    width:970px;
}

.nmin tr {
    width:970px;
    height:35px;
    font-size:15px;
}

.nmin th {
    border:none;
    padding-left:5px;
}

.nmin td {
    border:none;
    padding-left:5px;
}

.nmin tr:nth-child(even) {
    background:rgba(255,255,255,0.05)
}

.editorform {
    
}

.editorform .editformtitle {
    width:300px;
    height:30px;
}

.editorform input {
    width:100px;
    height:30px;
}


/* Frontpage banner styling - Ugly AF, but works. */
.fbanner {
    width:100%;
    padding-bottom:20px;
    margin-bottom:10px;
    border-bottom:2px solid #2e2e2e;
}

.fbanner * {
    /* This is a fix, as we have another boxsizing for general style
        We have that due to the fact we want the footer to be stuck at the bottom.
    */
    box-sizing: content-box;
}

.fbanner a {
    color:#FFF;
}

.fbanner-bg {
    background-color:#000;
    height:328px;
}

.fbanner-c1 {
    height:85px;
    width:160px;
    background:url('../img/fbanner/t1.png');
    border-right:4px solid black;
    border-bottom:4px solid black;

    animation-name:fbannerload;
    animation-duration:0.5s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:0.5s;
    -webkit-animation-iteration-count: 1;
}


.fbanner-c2 {
    height:85px;
    width:129px;
    background:url('../img/fbanner/t2.png');
    border-right:4px solid black;
    border-bottom:4px solid black;

    animation-name:fbannerload;
    animation-duration:0.6s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:0.6s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-c3 {
    height:85px;
    width:140px;
    background:url('../img/fbanner/t3.png');
    border-right:4px solid black;
    border-bottom:4px solid black;

    animation-name:fbannerload;
    animation-duration:0.7s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:0.7s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-c4 {
    height:85px;
    width:137px;
    background:url('../img/fbanner/t4.png');
    border-right:4px solid black;
    border-bottom:4px solid black;
    animation-name:fbannerload;
    animation-duration:0.8s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:0.8s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-c5 {
    height:85px;
    width:137px;
    background:url('../img/fbanner/t5.png');
    border-right:4px solid black;
    border-bottom:4px solid black;
    animation-name:fbannerload;
    animation-duration:0.9s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:0.9s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-c6 {
    height:85px;
    width:137px;
    background:url('../img/fbanner/t6.png');
    border-right:4px solid black;
    border-bottom:4px solid black;
    animation-name:fbannerload;
    animation-duration:1.0s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:1.0s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-c7 {
    height:85px;
    width:126px;
    background:url('../img/fbanner/t7.png');
    border-bottom:4px solid black;
    animation-name:fbannerload;
    animation-duration:1.1s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:1.1s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-track {
    width:391px;
    height:260px;
    background:url('../img/fbanner/track.png');
    margin-top:-20px;
}

.fbanner-cm1 {
    height:93px;
    width:140px;
    background:url('../img/fbanner/m1.png');
    margin-left:-94px; 
    border-right:4px solid black;
    animation-name:fbannerload;
    animation-duration:0.7s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:0.7s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-cm2 {
    height:93px;
    width:137px;
    background:url('../img/fbanner/m2.png');
    border-right:4px solid black;
    animation-name:fbannerload;
    animation-duration:0.8s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:0.8s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-cm3 {
    height:93px;
    width:137px;
    background:url('../img/fbanner/m3.png');
    border-right:4px solid black;
    animation-name:fbannerload;
    animation-duration:0.9s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:0.9s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-cm4 {
    height:93px;
    width:137px;
    background:url('../img/fbanner/m4.png');
    border-right:4px solid black;
    animation-name:fbannerload;
    animation-duration:1.0s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:1.0s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-cm5 {
    height:93px;
    width:126px;
    background:url('../img/fbanner/m5.png');
    animation-name:fbannerload;
    animation-duration:1.1s;
    animation-iteration-count: 1;
    -webkit-animation-name:fbannerload;
    -webkit-animation-duration:1.1s;
    -webkit-animation-iteration-count: 1;
}

.fbanner-ad {
    width:667px;
    height:147px;
    background-color:white;
    background:url('../img/fbanner/redbox.png') repeat 0 0 !important;
    background-position-x: 630px;
    background-position-y: 603px;
    margin-left:-68px;
    color:white;

}

.fbanner-adtext {
    color:#0093a1;
    padding-left:150px;
} 

.fbanner-adtext h1 {
    color:#FFF;
    font-size:30px;
}

.fbanner-adtext p {
    padding-left:12px;
    padding-top:3px;
    font-weight:bold;
}

.fbanner-order {
    width:250px;
    height:80px;
    margin-left:100px;
    margin-top:5px;
    padding-top:15px;
    line-height:30px;
}

.fbanner-order h1 {
    font-size:30px;
    font-weight:normal;
}
.fbanner-order p {
    font-size:15px;
}

@keyframes fbannerload {
    0% {transform:rotateY(180deg);}
    100% {transform:rotateY(360deg);}
}
@-webkit-keyframes fbannerload {
    0% {-webkit-transform:rotateY(180deg);}
    100% {-webkit-transform:rotateY(360deg);}
}

/* Footer elements */

footer {
    background-color:#111111;
    width:100%;
    height:200px;
    color:#c4c4c4;

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

footer h1 {
    font-size:15px;
    text-transform:uppercase;
}

footer p {
    font-size:10px;
}

footer li {
    list-style:none;
    display:inline-block;
}

.footer_wrap {
    width:990px;
    margin-left:auto;
    margin-right:auto;
}

.footer_logo {
    width:40%;
    height:150px;
    background:url('../img/header.png');
    background-repeat:no-repeat;
    background-position-x: 25px;
    background-position-y: 50px;
    float:left;
}

.footer_followus {
    width:30%;
    float:left;
    padding-top:40px;
}

.footer_followus .socialicons {
    margin-top:20px;
}

.footer_newsletter {
    width:30%;
    float:left;
    padding-top:40px;
}

.footer_links {
    width:100%;
    border-top:1px solid #2e2e2e;
    font-size:10px;
    line-height:30px;
}

.footer_links a {
    font-size:10px;
}

.footer_links li a {
    border-right:1px solid #292929;
    padding-right:10px;
    padding-left:5px;
}

.footer_links li:last-of-type a {
    border:none;
}


/* United styles */

.seperator {
    border-left:1px solid #333;
    margin-left:5px;
    margin-right:5px;
}

.socialicons img {
    width:28px;
    height:28px;
    margin-right:10px;
}

.border {
    border-bottom:2px solid #2e2e2e;
}

.pull_left { float:left; }

.pull_right { float:right; }

.clear { clear:both; }

/* BTN styles from bootstrap */

.btn:hover {
  color: #212529;
  text-decoration: none;
}

.btn:focus, .btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn.disabled, .btn:disabled {
  opacity: 0.65;
}

a.btn.disabled,
fieldset:disabled a.btn {
  pointer-events: none;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0062cc;
  border-color: #005cbf;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
}

.btn-secondary:focus, .btn-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

.btn-secondary.disabled, .btn-secondary:disabled {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: #545b62;
  border-color: #4e555b;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

.btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  color: #fff;
  background-color: #218838;
  border-color: #1e7e34;
}

.btn-success:focus, .btn-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

.btn-success.disabled, .btn-success:disabled {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: #1e7e34;
  border-color: #1c7430;
}

.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

.btn-info {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-info:hover {
  color: #fff;
  background-color: #138496;
  border-color: #117a8b;
}

.btn-info:focus, .btn-info.focus {
  box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}

.btn-info.disabled, .btn-info:disabled {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
  color: #fff;
  background-color: #117a8b;
  border-color: #10707f;
}

.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}

.btn-warning {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}

.btn-warning:hover {
  color: #212529;
  background-color: #e0a800;
  border-color: #d39e00;
}

.btn-warning:focus, .btn-warning.focus {
  box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
}

.btn-warning.disabled, .btn-warning:disabled {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}

.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
  color: #212529;
  background-color: #d39e00;
  border-color: #c69500;
}

.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,
.show > .btn-warning.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-danger:focus, .btn-danger.focus {
  box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.btn-danger.disabled, .btn-danger:disabled {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
  color: #fff;
  background-color: #bd2130;
  border-color: #b21f2d;
}

.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
.show > .btn-danger.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.btn-light {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-light:hover {
  color: #212529;
  background-color: #e2e6ea;
  border-color: #dae0e5;
}

.btn-light:focus, .btn-light.focus {
  box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}

.btn-light.disabled, .btn-light:disabled {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
  color: #212529;
  background-color: #dae0e5;
  border-color: #d3d9df;
}

.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,
.show > .btn-light.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}

.btn-dark {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

.btn-dark:hover {
  color: #fff;
  background-color: #23272b;
  border-color: #1d2124;
}

.btn-dark:focus, .btn-dark.focus {
  box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
}

.btn-dark.disabled, .btn-dark:disabled {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
  color: #fff;
  background-color: #1d2124;
  border-color: #171a1d;
}

.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,
.show > .btn-dark.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
}

.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled {
  color: #007bff;
  background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:focus, .btn-outline-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
  color: #6c757d;
  background-color: transparent;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.btn-outline-success {
  color: #28a745;
  border-color: #28a745;
}

.btn-outline-success:hover {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.btn-outline-success:focus, .btn-outline-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.btn-outline-success.disabled, .btn-outline-success:disabled {
  color: #28a745;
  background-color: transparent;
}

.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,
.show > .btn-outline-success.dropdown-toggle {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.btn-outline-info {
  color: #17a2b8;
  border-color: #17a2b8;
}

.btn-outline-info:hover {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-outline-info:focus, .btn-outline-info.focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.btn-outline-info.disabled, .btn-outline-info:disabled {
  color: #17a2b8;
  background-color: transparent;
}

.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.btn-outline-warning {
  color: #ffc107;
  border-color: #ffc107;
}

.btn-outline-warning:hover {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}

.btn-outline-warning:focus, .btn-outline-warning.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-warning.disabled, .btn-outline-warning:disabled {
  color: #ffc107;
  background-color: transparent;
}

.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active,
.show > .btn-outline-warning.dropdown-toggle {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}

.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-warning.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-danger {
  color: #dc3545;
  border-color: #dc3545;
}

.btn-outline-danger:hover {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-outline-danger:focus, .btn-outline-danger.focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.btn-outline-danger.disabled, .btn-outline-danger:disabled {
  color: #dc3545;
  background-color: transparent;
}

.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active,
.show > .btn-outline-danger.dropdown-toggle {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-danger.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.btn-outline-light {
  color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-light:hover {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-light:focus, .btn-outline-light.focus {
  box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.btn-outline-light.disabled, .btn-outline-light:disabled {
  color: #f8f9fa;
  background-color: transparent;
}

.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active,
.show > .btn-outline-light.dropdown-toggle {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-light.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.btn-outline-dark {
  color: #343a40;
  border-color: #343a40;
}

.btn-outline-dark:hover {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

.btn-outline-dark:focus, .btn-outline-dark.focus {
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

.btn-outline-dark.disabled, .btn-outline-dark:disabled {
  color: #343a40;
  background-color: transparent;
}

.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active,
.show > .btn-outline-dark.dropdown-toggle {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-dark.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

.btn-link {
  font-weight: 400;
  color: #007bff;
  text-decoration: none;
}

.btn-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.btn-link:focus, .btn-link.focus {
  text-decoration: underline;
  box-shadow: none;
}

.btn-link:disabled, .btn-link.disabled {
  color: #6c757d;
  pointer-events: none;
}

.btn-lg, .btn-group-lg > .btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.btn-sm, .btn-group-sm > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-block + .btn-block {
  margin-top: 0.5rem;
}

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
  width: 100%;
}

button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}