.hide { display: none !important; }

#typeSwitchers {
    width: 100%;
    padding: 20px;
    text-align: center;
}

#typeSwitchers .switcher {
    border: 0;
    border-right: 1px solid #263;
    background: #395;
    color: #f2f2f2;
    margin: 0 -4px 0 0;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    box-shadow: rgba(0,0,0,0.4) 0 1px 2px 0, rgba(0,0,0,.2) 0 -2px 0 0 inset;
    outline: 0;
}

#typeSwitchers .switcher:first-child { border-radius: 2px 0 0 2px; }

#typeSwitchers .switcher:last-child { border: 0; border-radius: 0 2px 2px 0; }

#typeSwitchers .switcher:hover, #typeSwitchers .switcher.selected {
    background: #ff5454;
    color: #f0f0f0;
}

#typeSwitchers .switcher:active {
    background: #ee5454;
    box-shadow: rgba(0,0,0,0.4) 0 1px 2px 0;
}

#loanerList {
    margin: 10px auto;
    width: 100%;
}

#loanerList #loanerTable {
    width: 100%;
    background: #ffffff;
    border-collapse: collapse;
    box-shadow: rgba(0,0,0,0.2) 0 1px 2px 0;
}

#loanerList #loanerTable thead td {
    background: #424242;
    color: #f2f2f2;
    border: 1px solid #333;
    height: 24px;
    position: relative;
}

#loanerList #loanerTable thead td[data-make-sort] {
    background: #464646;
    box-shadow: #2F9900 0 -2px 0 0;
    text-decoration: underline;
    cursor: pointer;
}

#loanerList #loanerTable thead td[data-make-sort]:hover,
#loanerList #loanerTable thead td[data-make-sort]:hover:after {
    background: #363636;
}

#loanerList #loanerTable thead td[data-make-sort]:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 34px;
    margin-right: 6px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 6px;
    height: 6px;
    background: #464646;
    display: none;
}

#loanerList #loanerTable thead tr {
    cursor: default;
}

#loanerList #loanerTable tr {
    cursor: pointer;
}

#loanerList #loanerTable tr.loanerRow.neizsniedz,
#loanerList #loanerTable tr.after.neizsniedz {
    /*filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */*/
    filter: gray; /* IE6-9 */
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

#loanerList #loanerTable tr.loanerRow:hover {
    background: #FFFFCC;
}

#loanerList #loanerTable td {
    padding: 6px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

#loanerList #loanerTable td input.loanerCheck {
    display: block;
    width: 20px;
    height: 20px;
    margin: 4px auto;
}

#loanerList #loanerTable td .loyal {
    font-size: 10px;
    color: #009000;
    max-width: 100px;
    display: inline-block;
}

#loanerList #loanerTable td.firstPrice {
    background: #f6f6ff;
}

#loanerList #loanerTable td.loanExtension {
    max-width: 160px;
}


#loanerList #loanerTable td span.gpl {
    display: block;
    text-align: center;
    font-size: 10px;
    line-height: 12px;
}

#loanerList #loanerTable td span.isWorking, #loanerList #loanerTable td span.notWorking {
    font-family: FedraSansBook, Arial, Sans-Serif;
    display: block;
    text-align: center;
    font-size: 14px;
    line-height: 14px;
    margin-top: 6px;
}

#loanerList #loanerTable td span.isWorking {
    color: #2f9900;
}

#loanerList #loanerTable td span.notWorking {
    color: #993333;
}

#loanerList #loanerTable td a.applyToLoan,
#modal-price-table-inner a.applyToLoan {
    display: block;
    height: 40px;
    line-height: 40px;
    color: #f2f2f2;
    background: #ff5454;
    font-family: FedraSansBook, Arial, Sans-Serif;
    font-size: 14px;
    text-transform: uppercase;
    padding: 0 14px;
    margin: 0 auto 10px auto;
    box-shadow: rgba(0,0,0,0.2) 0 1px 2px 0, rgba(0,0,0,0.2) 0 -2px 0 0 inset;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
}

#modal-price-table-inner a.applyToLoan {
  display: inline-block;
  margin: 30px 0;
}

#loanerList #loanerTable td a.applyToLoan:before {
    display: none;
    position: absolute;
    top: 26px;
    left: 50%;
    margin-left: -4px;
    content: "";
    background: #2f9900;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 8px;
    height: 8px;
    z-index: 0;
}

#loanerList #loanerTable td a.applyToLoan:hover,
#modal-price-table-inner a.applyToLoan:hover {
    background: #ee5454;
    text-decoration: none;
}

#loanerList #loanerTable td a.applyToLoan:hover:before {
    background: #008800;
}

#loanerList #loanerTable td a.applyToLoan:active {
    box-shadow: rgba(0,0,0,0.3) 0 1px 2px 0;
}

#loanerList #loanerTable td span.recommend {
    color: #2f9900;
    font-family: FedraSansBook, Arial, Sans-Serif;
}

p.afterTable {
    text-align: center;
    font-size: 12px;
}

#loanerList #loanerTable tr.after {
    display: none;
    background: #f6f6ff;
}

#loanerList #loanerTable tr.after.open {
    display: table-row;
}

#loanerList #loanerTable tr.after td {
    padding: 0;
}

#loanerList #loanerTable tr.after td .content {
    padding: 2%;
}

#loanerList #loanerTable tr.after td .content .loanPlus,
#loanerList #loanerTable tr.after td .content .loanMinus,
#loanerList #loanerTable tr.after td .content .aboutLoan {
    padding: 1%;
    width: 22%;
    height: auto;
    float: left;
    text-align: left;
    border-right: 1px solid #f0f0f0;
}

#loanerList #loanerTable tr.after td .content ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

#loanerList #loanerTable tr.after td .content ul li {
    border-bottom: 1px solid #e9e9e9;
    margin-bottom: 6px;
    padding-bottom: 4px;
}

#loanerList #loanerTable tr.after td .content .aboutLoan {
    border: 0;
    text-align: justify;
    width: 49%;
}

#loanerList #loanerTable tr.after td .credentials {
    text-align: center;
    vertical-align: middle;
    padding: 0 2%;
}

#loanerList #loanerTable tr.after td .credentials span.credit {
    display: inline-block;
    vertical-align: middle;
    padding-left: 1%;
    line-height: 34px;
    margin-bottom: 6px;
}

#loanerList #loanerTable tr.after td .credentials a.applyToLoan{
    width: 300px;
    max-width: 80%;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    margin-left: 20px;
}

#loanerList #loanerTable tr.after td .credentials a.applyToLoan:before {
    top: -4px;
}


td[data-make-sort] {
    background: #777;
}

#compareLoanersButton {
    position: fixed;
    top: 50%;
    left: 0;
    margin-top: -60px;
    width: 60px;
    height: 60px;
    background-color: #444;
    background-image: url("../images/scales.png");
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 101;
    border-radius: 0 10px 10px 0;
    box-shadow: rgba(0,0,0,0.5) 3px 0 5px 0;
}

#compareLoanersButton.active {
    background-color: #2F9900;
}

#compareLoanersButton span {
    display: block;
    position: relative;
    left: 70px;
    top: 5px;
    width: 0;
    height: 50px;
    line-height: 15px;
    font-size: 14px;
    background: #222;
    color: #f2f2f2;
    overflow: hidden;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    vertical-align: middle;
    box-shadow: rgba(0,0,0,0.5) 0 0 5px 0;
    border-radius: 6px;
    padding: 10px;
    opacity: 0;
}

#compareLoanersButton.error span {
    border-left: 2px solid #2F9900;
    width: 160px;
    opacity: 1;
}

/* Loaners Compare Table */

#loanerCompare {
    width: 100%;
    margin: 14px 0;
}

#loanerCompare #loanerCompareTable {
    width: 100%;
    border-collapse: collapse;
    padding: 0;
}

#loanerCompare #loanerCompareTable td {
    border: 1px solid #f0f0f0;
    padding: 1%;
    width: 24%;
    text-align: center;
}

#loanerCompare #loanerCompareTable td.empty {
    border: 0;
}

#loanerCompare #loanerCompareTable td.side {
    text-align: right;
    background: #f9f9f9;
    font-family: FedraSansBook, Sans-Serif;
}

#loanerCompare #loanerCompareTable td a.aiznemties {
    display: block;
    padding: 10px;
    background: #2F9900;
    color: #f2f2f2;
    text-decoration: none;
    position: relative;
}

#loanerCompare #loanerCompareTable td a.aiznemties:after {
    position: absolute;
    top: -4px;
    left: 50%;
    margin-left: -4px;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    background: #2F9900;
    display: block;
    content: '';
}

#loanerCompare #loanerCompareTable td a.aiznemties:hover {
    background: #309050;
}

#loanerCompare #loanerCompareTable td a.aiznemties:hover:after {
    background: #309050;
}

/* Widgets Templates */

#usedLoaners .loanerLabel {
    width: 110px;
    background: #f8f8f8;
    color: #333333;
    text-align: center;
    border-left: 2px solid transparent;
    margin: 0 5px 5px 0;
    box-shadow: rgba(0,0,0,0.1) 0 0 0 1px;
}

#usedLoaners .loanerLabel:hover {
    background: #f4f4f4;
}

#usedLoaners .loanerLabel.used {
    border-left: 2px solid #992222;
}

#usedLoaners .loanerLabel input {
    display: none;
}

#usedLoaners #usedTimes {
    position: fixed;
    top: 50%;
    left: 50%;
    background: #f8f8f8;
    color: #333333;
    box-shadow: rgba(0,0,0,0.3) 0 1px 4px 0;
    -webkit-box-shadow: rgba(0,0,0,0.3) 0 1px 4px 0;
    -moz-box-shadow: rgba(0,0,0,0.3) 0 1px 4px 0;
    padding: 10px;
    max-width: 400px;
    min-width: 400px;
    width: 400px;
    height: 80px;
    border: 1px solid #ccc;
}

#usedLoaners #usedTimes:after {
    content: "";
    background: #f8f8f8;
    display: block;
    position: absolute;
    transform: rotate(45deg);
    width: 20px;
    height: 20px;
    top: 50%;
    right: -11px;
    margin-top: -10px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

#usedLoaners #usedTimes span.popupContent {
    font-size: 12px;
}

#usedLoaners #usedTimes div.number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #666;
    color: #f2f2f2;
    border: 1px solid #555;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    line-height: 26px;
}

#usedLoaners #usedTimes div.number:hover { background: #2F9900; }
#usedLoaners #usedTimes div.number:active { background: #294; }

#usedLoaners #usedTimes div.number span {
    font-family: Tahoma, Sans-Serif;
}
#usedLoaners #usedTimes #closeTimes {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    left: -10px;
    top: -10px;
    text-decoration: none;
    background-image: url("../images/close.png");
    background-size: 100%;
}


.widgetBlock {
    position: absolute;
    top: 0;
    right: 30%;
    height: 100%;
    width: 300px;
    background: #2F9900;
    color: #f2f2f2;
    box-shadow: rgba(0,0,0,0.15) -3px 0 2px 0;
    display: none;
    z-index: 11;
}

.widgetBlock.open {
    display: block;
}

.loanerTopRow {
    width: 95%;
    padding: 0 0 0 5%;
    background: #ffffff;
    border-bottom: 2px solid #e8e8e8;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
}

.loanerTopRow img {
    margin-top: 2px;
}

.loanerTopRow a {
    display: block;
    width: 60%;
    float: right;
    text-align: center;
    background: #2F9900;
    color: #f2f2f2;
    text-transform: uppercase;
    font-family: FedraSansLight, Sans-Serif;
    position: relative;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
}

.loanerTopRow a:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid #ffffff;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.loanerTopRow a:hover {
    text-decoration: none;
    background: #FBC728;
    width: 55%;
    color: #202020;
}

.loanerTopRow a:active {
    background: #227744;
}

.rating {
    display: inline-block;
}

section#statistics #statsPie {
    display: block;
    margin: 0 auto 30px auto;
}

article.loaner {
    width: 25%;
    float: left;
    vertical-align: middle;
    background: #ffffff;
    opacity: 0.7;
    text-align: center;
}

article.loaner:hover {
    opacity: 1;
}

article.loaner img {
    max-width: 100%;
}

#loanerBigList #loaners, #posts .posts {
    padding-top: 400px;
}

#loanerBigList section.heading {
    background-image: url('../images/banner.jpg');
}

#posts section.heading {
    background-image: url('../images/euro.jpg');
}

#blog-posts section.heading { position: relative; height: auto; }
#blog-posts section.heading h2 { margin: 0; }

.transition {
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
}

#map {
    width: 100%;
    height: 400px;
}

.partners, .credits-contacts {
    display: inline-block;
    vertical-align: top;
    margin-left:-4px;
}

#footerCredits h3 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 100;
}

#footerCredits p {
    margin: 0;
    line-height: 18px;
    padding: 0;
}

#footerCredits div {
    margin: 20px 0;
    padding: 0 20px;
}

#footerCredits div:first-of-type {
    text-align: right;
    border-right: 1px solid #303030;
}

#footerCredits div:last-of-type {
    text-align: left;
}

.partners a {
    color: #f7f7f7;
}

#footerCredits {
    text-align: center;
}

#loanerCompareTable { background: #ffffff; }

.row { margin-bottom: 20px; }
.row-list > .row-loaner {
    display: inline-block;
    vertical-align: middle;
    opacity: 0.8;
    border: 1px solid transparent;
    padding: 0 10px;
}

.row-list > .row-loaner:hover { opacity: 1; border: 1px solid #f0f0f0; }
.row-info > table { border-collapse: separate }
.row-info > table tr th:first-child { border-radius: 10px 0 0 0; }
.row-info > table tr th:last-child { border-radius: 0 10px 0 0; }
.row-info > table  th { background: #424242; color: #f6f6f6; font-weight: normal; line-height: 16px; min-height: 40px; padding: 6px; font-size: 12px; }
.row-info > table td { border-bottom: 1px solid #e0e0e0; border-left: 1px solid #f0f0f0; text-align: center; font-size: 14px; padding: 6px; }
.row-info > table tr > td:last-child { border-right: 1px solid #f0f0f0; }
.row-info > table tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.row-info > table tr:last-child td:last-child { border-radius: 0 0 10px 0; }
.row-info > table tr:nth-child(2n+1) { background: #f8f8ff; }

.row-loaner-link {
    display: inline-block;
    padding: 0 20px;
    border-radius: 20px;
    background: #ff5454;
    color: #f6f6f6;
    text-decoration: none;
    line-height: 30px;
}

.row-loaner-link:hover {
    text-decoration: none;
    background: #f75050;
}

.row-table > .row-loaner-table {
    border-collapse: separate;
    background: #ffffff;
    text-align: center;
    width: 100%;
}

.row-table > .row-loaner-table thead td {
    background: #424242;
    color: #f6f6f6;
    font-weight: normal;
    line-height: 16px;
    min-height: 40px;
    padding: 6px;
    font-size: 12px;
}
.row-table > .row-loaner-table thead td:first-child { border-radius: 10px 0 0 0; }
.row-table > .row-loaner-table thead td:last-child { border-radius: 0 10px 0 0; }

.row-table > .row-loaner-table > tbody >  tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.row-table > .row-loaner-table > tbody > tr:last-child td:last-child { border-radius: 0 0 10px 0; }
.row-table > .row-loaner-table > tbody > tr > td {
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #f0f0f0;
    padding: 6px;
}
.row-table > .row-loaner-table > tbody > tr > td:last-child {
    border-right: 1px solid #f0f0f0;
}
.row-table > .row-loaner-table tr.loanerRow:nth-of-type(3n) {
    background: #f8f8ff;
}

.row-table .loanerCheck { display: block; margin: 6px auto;}
.row-table .gpl { display: block; text-align: center; font-size: 10px; color: #005033; }
.row-table .isWorking { color: #005033; font-weight: bold; display: block; margin-top: 6px; font-size: 12px;}
.row-table .notWorking { color: #990011; font-weight: bold; display: block; margin-top: 6px; font-size: 12px;  }
.row-table tr.loanerRow { cursor: pointer; }
.row-table > .row-loaner-table tr.loanerRow:hover { background: #efefff; }
.row-table tr.after { text-align: left; display: none; background: #f8f8ff; }
.row-table tr.after.open { display: table-row; }
.row-table tr.after .content {
          padding: 10px 20px;
}
.row-table .content > div { display: inline-block; margin-right: -4px; vertical-align: top; }
.row-table .content > .loanPlus,
.row-table .content > .loanMinus { width: 25%; padding-right: 14px; font-size: 12px; }
.row-table .content > .loanPlus > ul,
.row-table .content > .loanMinus > ul { padding-left: 14px; margin-top: 10px; }
.row-table .content > .loanPlus > ul > li,
.row-table .content > .loanMinus > ul > li { margin-bottom: 4px; font-size: 12px; }
.row-table .content > .aboutLoan { width: 50%; font-size: 12px; }
.row-table .content > .aboutLoan > h3 { margin-bottom: 10px; }
.row-table .recommend { font-size: 12px; font-weight: bold; color: #005033; display: block; margin-top: 6px;}
.row-table .credentials { padding: 10px 20px; }

.row-table .applyToLoan { background: #ff5454; color: #f6f6f6; padding: 0 20px; line-height: 30px; display: inline-block; border-radius: 20px; }
.row-table .applyToLoan:hover {
    text-decoration: none;
    background: #f05050;
}

.block { display: block;}

.showLoanerPriceTable {
  display: block;
  margin: 30px auto 10px auto;
  border: 0;
  border-radius: 4px;
  background: #395;
  color: #f8f8f8;
  height: 40px;
  line-height: 38px;
  text-align: center;
  padding: 0 20px;
  cursor: pointer;
  text-transform: uppercase;
  outline: 0;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2), 0px -2px 0px 0px rgba(0, 0, 0, 0.2) inset;
}

.showLoanerPriceTable:hover { background: #385; }
.showLoanerPriceTable:active { background: #284; }

#modal-price-table {
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 102;
  background: rgba(0,0,0,.8);
  width: 100%;
  height: 100%;
}

#modal-price-table-inner {
  width: 60%;
  height: 80%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: rgba(0,0,0,0.3) 0 2px 4px 0;
  overflow: hidden;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  text-align: center;
}

#modal-price-table-inner #close-modal {
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  position: absolute;
  background: #c33;
  cursor: pointer;
  outline: none;
  border-radius: 0 0 0 20px;
  box-shadow: rgba(0,0,0,0.3) 2px -2px 2px 0 inset;
}

#modal-price-table-inner table {
  width: 100%;
  border-collapse: collapse;
  display: none;
  overflow: hidden;
  z-index: 1;
}
#modal-price-table-inner table.active {
  display: table;
}
#modal-price-table-inner table th,
#modal-price-table-inner table td {
  border: 1px solid #efefef;
  padding: 10px 6px;
  text-align: center;
  vertical-align: middle;
  position: relative;
}
#modal-price-table-inner table td span,
#modal-price-table-inner table th span {
  position: relative;
  z-index: 1;
}

#modal-price-table-inner table th,
#modal-price-table-inner table td:first-child {
  color: #f0f0f0;
  background: #395;
  border-color: #375;
  z-index: 1;
}

#modal-price-table-inner table th:first-child { border: 0; background: transparent; }

#modal-price-table-inner table tr:hover {
  background: #E6FAF0;
}

#modal-price-table-inner table td:hover:after {
  content: '';
  height: 2000px;
  width: 100%;
  position: absolute;
  background: #E6FAF0;
  z-index: 0;
  top: -1000px;
  left: 0;
}


#modal-price-table-inner button[data-price-button] {
  display: inline-block;
  margin: 20px 0;
  border: 0;
  padding: 0 30px;
  line-height: 40px;
  background: #eee;
  color: #444;
  margin-right: -4px;
  cursor: pointer;
  text-transform: uppercase;
  border-bottom: 2px solid #ddd;
}

#modal-price-table-inner button[data-price-button].active {
  color: #f0f0f0;
  background: #ff5454;
  border-bottom: 2px solid #ee4444;
}
