﻿
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}
/* IE 6 doesn't support max-height
	 * we use height instead, but this forces the menu to always be this tall
	 */
* html .ui-autocomplete {
    height: 300px;
}

.fakeDisabledDropdown {background: rgb(235, 235, 228) !important}

.strikeThrough {text-decoration: line-through;}


.helpIcon {
    vertical-align: bottom;
}

.popupBox {
    line-height: 26px;
}


.loadingIndicator {
    display: none;
  
}

.leftMargined {
    margin-left: 20px;
}
 
.topMargined {
    padding-top: 5px;
}


.imageLink {
    text-decoration: none;
    border: 0 none;
}

.placeToRightOfHeader {
    display: block;
    text-align: right;
}

.helpText {
    font-weight: bold;
}

a.helpText:link {
    color: #00CC66;
}

a.helpText:visited {
    color: #00CC66;
}

.normalPadding {
    padding: 5px;
}

.underlined {
    text-decoration: underline;
}

.scrollabePhotoBox {
    width: 420px;
    height: 140px;
    overflow: auto;
}


form {
    display: inline;
}

.maxHeight {
    height: 95% !important;
}

.highlight {
    background-color: #3EB1C8 !important;
    /*  border: 2px dashed #000000 !important; */
}

.debug {
    background-color: #ff00ff;
    /* width: 500px; */
}


.normalWeight {
    font-weight: normal;  

}

.subEventHeader {
    width: 95%;
    background-color: #e2e2e2;
    font-weight: bold;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.margined {
    margin-top: 5px;
}

.buttonStandardHeight {
    height: 30px;
}

.buttonStandardWidth {
    width: 150px;
}


.StandardHeight {
    height: 30px;
}


.completelyMargined {
    margin: 5px;
}


.validationError {
    position: relative;
    top: -8px;
    padding: 0px;
    font-weight: bold;
    text-align: right;
    color: red;
}

.validationErrorSimple {
    font-weight: bold;
    text-align: right;
    color: red;
}


table.padded-table td {
    padding: 5px;
}

.maxLineHeight {
    /*
     background-color: #00ffff;
       */
    line-height: 100%;
}


td {
    /*background-color: #ff00ff;  */
}

table, tr, td {
    border-width: 1px;
}


.moneyBox {
    text-align: right;
}

.accentedBox {
    margin-top: 4px;
    font-style: italic;
    /*
     background-color: #d9d0d0; 
        */
}

.centeredImage {
    margin-left: auto;
    margin-right: auto;
}

.large {
    font-size: 18px;
}

.larger {
    font-size: 26px;
}

.dashed {
    /*padding: 5px;
      border: 2px dashed #aaaaaa;
      */
}

.scrollBox {
    overflow-x: hidden;
    overflow-y: auto;
    height: 85%;
}

.longWidth {
    width: 200px;
}

.carwheel {
    float: left;
    background-color: #aaaaaa;
    width: 45px;
    height: 20px;
    padding: 5px;
    border: solid 2px #717171;
}

.wheelcolor {
    background-color: #aaaaaa;
    margin: 0px;
}

.standardWidthSpacer {
    margin-left: 140px;
}

.longWidthSpacer {
    margin-left: 448px;
}

.carwheelspace {
    float: left;
    width: 45px;
    height: 20px;
}

.carbody {
    clear: both;
    display: block;
    width: 160px;
    height: 70px;
    line-height: 70px;
    vertical-align: middle;
    color: #000000;
    font-size: 40px;
    border: solid 2px #717171;
}


.coloredText {
    color: #005F83;
    /* old green color 58a74b */
}

.Link {
    color: blue;
    text-decoration: underline;
}

.bigButton {
    width: 49%;
    font-size: 40px !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.smallIconHistorical {
    width: 15px;
    height: 15px;
    background-image: url('~/Images/bin_closed.png');
}


.eventHeaderStyle {
    float: left;
    width: 28%;
}

/* Om bredden ändras så måste StandardPlusInputWidth ökas med lika mycket */
.inputWidth {
    width: 130px;
    margin: 2px;
}

.inputWidthWrapper {
    
      width: 135px;
}



.inputWidthReadonly {
    width: 135px;
    margin: 2px;
}

.inputWidthLong {
    width: 420px;
    margin: 2px;
}

.inputWidthLongBigText {
    width: 420px;
    margin: 2px;
    font-size: 14px;
}


.inputWidthShort {
    width: 90px;
}


.expandableBox {
}

.eventButtonStyle {
    width: 8%;
    display: block;
    float: left;
}


/* Om bredden ändras så måste StandardPlusInputWidth ökas med lika mycket */
.standardWidth {
    text-align: right;
    float: left;
    min-width: 150px;
    height: 25px;
    margin: 2px;
    font-size: 14px;
}

/* Om bredden ändras så måste StandardPlusInputWidth ökas med lika mycket */
.standardWidthLowerHeight {
    text-align: right;
    float: left;
    min-width: 150px;
    height: 20px;
    margin: 2px;
    font-size: 14px;
}

/* Ska vara StandardWidth + InputWidth + 5px (marginaler mellan standard och input) */
.StandardPlusInputWidth {
    text-align: right;
    float: left;
    min-width: 288px;
    min-height: 1px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 14px;
}


.standardWidthLeftAlign {
    text-align: left;
    float: left;
    width: 150px;
    min-height: 30px;
    margin: 2px;
    font-size: 14px;
}

.datetimeWidthLeftAlign {
    text-align: left;
    float: left;
    width: 190px;
    min-height: 30px;
    margin: 2px;
    font-size: 14px;
}

.doubleWidthLeftAlignNoGrow {
    text-align: left;
    float: left;
    width: 100%;
    height: 30px;
    margin: 2px;
    font-size: 14px;
}


.longWidthLeftAlign {
    text-align: left;
    float: left;
    min-width: 200px;
    height: 30px;
    margin: 2px;
    font-size: 14px;
}

.searchTableWidth {
    max-width: 440px;
}

.searchTableWidthLong {
    max-width: 540px;
}
.searchTableWidthExtraLong {
    max-width: 640px;
}

.floated {
    float: left;
}


.leftAligned {
    text-align: left !important;
}


.shorterWidth {
    text-align: right;
    float: left;
    min-width: 120px;
    height: 30px;
    margin: 2px;
    font-size: 14px;
}

.cleared {
    clear: both;
}

.hidden {
    display: none;
}

.inputText {
    margin-left: 10px;
    padding: 4px;
    width: 140px;
}

.tightBox {
    margin-top: 4px !important;
    width: 90% !important;
    padding: 4px;
}

.disabled {
    background-color: #d4d0c8;
}

.dividerBar {
    clear: both;
    margin: 4px;
    border: 1px solid #aaaaaa;
}

.noBorder {
    border: 0px solid #000000;
    margin: 0px;
    padding: 0px;
}

.floatedBox {
    margin: 5px;
    padding: 5px;
    background-color: #ffffff;
    float: left;
}

.paddedStyle {
    padding: 5px;
    margin: 5px;
}


.rounded {
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.roundedStyle {
    font-size: small;
    float: left;
    width: 98%;
    margin: 4px;
    padding: 5px;
    border: 1px solid #aaaaaa;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #f9fafb;
    -moz-box-shadow: 2px 2px 2px #999;
    -webkit-box-shadow: 2px 2px 2px #999;
    box-shadow: 2px 2px 2px #999;
}

body {
    background: #97999B;
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;
    /*background-image: url('../Images/bgpattern.png');
    background-repeat: repeat-x;*/
    overflow-x: hidden;
    overflow-y: scroll;
}

a:link, a:visited {
    color: #034af3;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #034af3;
}

p {
    margin-bottom: 10px;
    line-height: 1.6em;
}


#breadBox {
    color: #ffffff;
    font-weight: bold;
    background-color: #3EB1C8;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 16px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    #breadBox a:link {
        color: white;
    }

    #breadBox a:active {
        color: white;
    }

    #breadBox a:visited {
        color: white;
    }

.page {
    min-width: 640px;
    max-width: 960px;
    background-color: #fff;
    margin: 20px auto 0px auto;
    border: 1px solid #88898c;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -moz-box-shadow: 2px 2px 2px #999;
    -webkit-box-shadow: 2px 2px 2px #999;
    box-shadow: 2px 2px 2px #999;
}


.headerLogo {
    float: left;
    display: block; 
    margin-left: auto; 
    margin-right: auto;
    
}

#bottomButtonsCase {
    float: right;

}


@media only screen and (orientation: portrait) {
    .page {
        max-width: 95%;
    }
    
}




@media (max-width: 800px) {
     #bottomButtonsCase {
        margin-top: 5px;
    }
}





/* Responsive override for Mobile phone class devices  ~ 640px screen width in portrait mode 

@media (max-width: 670px) {
  .page {
        min-width: 100%;
  }

     .inputWidth {
      width: 100px;

  }


  .inputWidthLong {
      width: 250px;

  }

 

    .headerLogo {
        width: 50%;
        height: 50%;
          display: inherit;
          margin-left: inherit; 
          margin-right: inherit; 
    }

    #bottomButtonsCase {
        margin-top: 5px;
    }

      .standardWidth {
        clear: both;
    }

    .scrollBox {
        overflow-y: initial;
    }

    #eventScrollBox {
        height: auto !important;
    }
    
    #scrollBoxEvents {
        height: auto !important;
    }

    .eventHeaderStyle {
        width: auto;
        margin-left: 10px;
    }

    .eventButtonStyleRight {
        float: right;
    }

    .ui-dialog {
        width: 100% !important;
    }
}

*/

.innerHeader {
    padding: 10px;
}

.header {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #ffffff;
    -moz-border-radius: 15px;
    border-radius: 15px;
}


.headerText {
    font-size: 16px;
    font-weight: bold;
}

.header h1 {
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

.main {
    padding: 5px;
    margin: 5px;
    min-height: 500px;
}


.largeWidthBox {
   
    margin-right: 10px;
 
}

/*.largeWidthBox {
    width: 350px;
    margin-left: 6px;
    margin-top: -12px;
}*/

.footer {
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}



/* MISC  
----------------------------------------------------------*/

.clear {
    clear: both;
}

.title {
    padding: 10px 10px 0px 14px;
}

.loginDisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 5px;
    height: 10px;
}

.smallButton {
    vertical-align: bottom;
    margin-bottom: 1px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 6px;
    padding-right: 6px;
}

.buttons {
    margin: 0 auto;
    font-size: 12px;
}

a.buttons:visited	{ color: #555555; text-decoration: none; }
a.buttons:link	{ color: #555555; text-decoration: none; }


.verticalCentered {
    vertical-align: middle;
}

.bold {
    font-weight: bold;
}

.lowHeight {
    height: 24px;
}

.lowerHeight {
    height: 20px;
}

.mediumHeight {
    height: 28px;
}

.middleAligned {
    vertical-align: middle;
}

.middleAlignedLow {
    vertical-align: middle;
    position: relative;
    top: -3px;
}

.topAligned {
    vertical-align: top;
}

.bottomAligned {
    vertical-align: bottom;
}
