#greyrow {
    position: relative;
    width: 100%;
    background: #f9f9f9;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #363636;
}

.greyrow_odsazeni {
    margin-top: 30px;
}

.greyrow_box {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding-top: 50px;
    -webkit-box-shadow: 0px 0px 16px 6px rgba(0, 0, 0, .06);
    box-shadow: 0px 0px 16px 6px rgba(0, 0, 0, .06);
}

@media (min-width: 768px) {
    .greyrow_box {
        margin-left: -15px;
    }
}

.greyrow_box_icon {
    left: 41%;
    top: -40px;
    position: absolute;
    z-index: 99;
}

.greyrow_box_title1 {
    font-size: 16pt;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.greyrow_box_title2 {
    font-size: 22pt;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    color: #49a7af;
    margin-bottom: 20px;
}

.greyrow_box_background {
    background: #f8f8f8;
}

.greyrow_box_list {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 10px;
}

.greyrow_box_list li {
    display: block;
    margin-top: 7px;
    margin-bottom: 7px;
}

.greyrow_box_list li:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    content: "\e013";
    font-family: 'Glyphicons Halflings';
    font-size: 10px;
    float: left;
    margin-top: 4px;
    margin-left: -17px;
    color: #49a7af;
}

#greyrow h2 {
    color: #4b4b4b;
    font-weight: normal;
    text-align: center;
    font-size: 30pt;
}

#greyrow span {
    color: #49a7af;
    text-decoration: underline;
    font-weight: bold;
}

#greyrow a {
    color: #4b4b4b;
    font-weight: normal;
}

#greyrow a:hover {
    text-decoration: none;
}

#references {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding-top: 10px;
    color: #363636;
}

#references h2 {
    color: #4b4b4b;
    font-weight: normal;
    text-align: center;
    font-size: 30pt;
    margin-bottom: -10px;
}

#references span {
    color: #49a7af;
    text-decoration: underline;
    font-weight: bold;
}

#references a {
    color: #4b4b4b;
    font-weight: normal;
}

#references a:hover {
    text-decoration: none;
}

.reference_nadpis {
    margin-bottom: 20px;
}

.reference_foto {
    text-align: center;
}

.reference_foto_name {
    font-weight: bold;
    padding-top: 10px;
    text-align: center;
}

.reference_foto_company {
    text-align: center;
}

.reference_citace {
    font-style: italic;
    margin-bottom: 20px;
}

.reference_citace_xs {
    height: 15px;
}

.reference_box {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

@media (min-width: 768px) {
    .reference_box {
        margin-left: -15px;
    }
}

.reference_box_right {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 15px;
    border: 1px solid #49a7af;
    -webkit-box-shadow: 0px 0px 16px 6px rgba(0, 0, 0, .06);
    box-shadow: 0px 0px 16px 6px rgba(0, 0, 0, .06);
}

@media (min-width: 768px) {
    .reference_box_right {
        margin-left: -15px;
    }
}

.reference_box_name {
    text-transform: uppercase;
    font-weight: bold;
    color: #49a7af;
    font-size: 15pt;
}

.reference_box_text {
    padding-top: 10px;
}

.modal-rules-main {
    width: 70%;
    height: 80%;
}

@media (max-width: 980px) {
    .modal-rules-main {
        width: 100%;
        height: 100%;
        margin: 0;
    }
}

.reference_line {
    clear: both;
}

#counter {
    position: relative;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 0px;
}

.counter_icon {
    text-align: center;
    margin-bottom: 14px;
}

.counter_number {
    text-align: center;
    font-size: 14pt;
    text-transform: uppercase;
    padding-bottom: 25px;
}

#greenrow {
    position: relative;
    width: 100%;
    background: #e2f5d9 url(/images/greenrow_background.jpg) repeat-x;
    padding-top: 40px;
    padding-bottom: 30px;
}

#greenrow h1 {
    color: #ffffff;
}

#greenrow p {
    color: #ffffff;
}

#greenrow h2 {
    color: #ffffff;
    font-weight: normal;
    font-size: 30pt;
    font-weight: bold;
}

#greenrow span {
    color: #ffffff;
    text-decoration: underline;
}

.greenrow_text {
    font-size: 13pt;
    line-height: 150%;
    padding-top: 10px;
    color: #ffffff;
}

.greenrow_button {
    padding-top: 30px;
}

#maincontent_title {
    position: relative;
    width: 100%;
    background: url(/images/nadpis_background.jpg) repeat-x;
    padding-top: 11px;
    padding-bottom: 20px;
}

.profil {
    margin-bottom: 20px;
}

.profil h3 {
    margin-bottom: 20px;
}

.profil_kredit {
    padding-bottom: 30px;
}

.profil_popisek {
    padding-top: 20px;
}

#list thead th {
    font-weight: 500;
}

.registrace {
    margin-bottom: 20px;
}

.registrace_fbgoogle {
    margin-bottom: 20px;
}

.zelene {
    color: #49a7af !important;
}

.registrace_odkazy {
    padding-top: 20px;
}

.news {}

.written_all {
    height: 100%;
}

.clients_all {
    height: 150px;
}

.clients_picture {
    width: 270px;
    height: 141px;
    position: relative;
    float: left;
}

.news_all {
    height: 170px;
}

.news_picture {
    width: 270px;
    height: 165px;
    position: relative;
    float: left;
}

.news_picture_all {
    width: 270px;
    height: 100%;
    position: relative;
    float: left;
    margin-bottom: 20px;
}

.news_right {
    width: 394px;
    position: relative;
    float: right;
}

.news_right_text {}

.news_title_all {
    color: #101f37;
    font-size: 14pt;
    font-family: 'MyWebFont3';
    padding-bottom: 0px;
}

.news_title_all a {
    text-decoration: none !important;
    color: #101f37;
}

.news_title_all a:hover {
    text-decoration: underline !important;
    color: #101f37;
}

.news_date {
    color: #8f8f8f;
    font-size: 9pt;
    font-weight: normal;
    padding-bottom: 5px;
    font-family: 'MyWebFont2';
}

.news_text {
    color: #101f37;
    font-weight: normal;
    line-height: 160%;
    padding-bottom: 3px;
}

.clients_more {
    float: right;
}

.news_more {
    font-size: 10pt;
    font-weight: normal;
    float: right;
}

.news_more a {
    text-decoration: underline;
    color: #3598dc !important;
}

.news_more a:hover {
    text-decoration: none;
    color: #3598dc;
}

.news_divider {
    clear: both;
}

.news_back {
    font-size: 10pt;
    font-weight: normal;
    float: right;
    margin-bottom: 15px;
}

.news_back a {
    text-decoration: underline;
    color: #3598dc !important;
}

.news_back a:hover {
    text-decoration: none;
    color: #3598dc;
}

.sedypruh {
    position: relative;
    width: 100%;
    background-color: #f6f6f6;
    margin-top: -30px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.stredtext h1 {
    margin-bottom: 30px;
}

.paticka {
    position: relative;
    width: 100%;
    background-color: #363636;
    padding-top: 25px;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.paticka a {
    margin-right: 33px;
    color: #ffffff;
}

.paticka a:hover {
    color: #ffffff;
    text-decoration: none;
}

.paticka_bottom {
    position: relative;
    width: 100%;
    background-color: #363636;
    border-top: 1px solid #2c2c2c;
}

.paticka_bottom p {
    color: #9f9f9f;
    padding-top: 20px;
    padding-bottom: 10px;
}

.paticka_bottom a {
    color: #9f9f9f;
}

.paticka_bottom a:hover {
    color: #9f9f9f;
    text-decoration: none;
}

.dropdown-menu-lg {
    width: 600px;
    padding: 20px 0px;
}

.dropdown-menu-lg>li>ul {
    padding: 0;
    margin: 0;
}

.dropdown-menu-lg>li>ul>li {
    list-style: none;
}

.dropdown-menu-lg>li>ul>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: normal;
}

.dropdown-menu-lg>li ul>li>a:hover,
.dropdown-menu-lg>li ul>li>a:focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
}

.dropdown-menu-lg .disabled>a,
.dropdown-menu-lg .disabled>a:hover,
.dropdown-menu-lg .disabled>a:focus {
    color: #999999;
}

.dropdown-menu-lg .disabled>a:hover,
.dropdown-menu-lg .disabled>a:focus {
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
    cursor: not-allowed;
}

.dropdown-menu-lg .dropdown-header {
    color: #428bca;
    font-size: 18px;
}

@media (max-width: 768px) {
    .dropdown-menu-lg {
        margin-left: 0;
        margin-right: 0;
    }
    .dropdown-menu-lg>li>ul>li>a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 1.428571429;
        color: #ffffff;
        white-space: normal;
    }
    .dropdown-menu-lg>li {
        margin-bottom: 10px;
    }
    .dropdown-menu-lg>li:last-child {
        margin-bottom: 0;
    }
    .dropdown-menu-lg .dropdown-header {
        padding: 3px 15px !important;
    }
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
    color: #fff;
    background-color: #328dce;
}

.margintop20 {
    margin-top: 15px;
    margin-bottom: 20px;
}

.nav-pills>li>a {
    border-radius: 0px;
}

.nav-pills>li>a {
    color: #000;
    text-decoration: none;
}

.nav-pills>li>a:hover {
    color: #000;
    text-decoration: none;
    background-color: #c8daf0;
}

.nav-stacked>li+li {
    margin-top: 0px;
    margin-left: 0;
    background-color: #f9fbfe;
}

.nav-stacked>li {
    margin-top: 0px;
    margin-left: 0;
    border-top: 1px solid #c8daf0;
    border-bottom: 1px solid #c8daf0;
    border-left: 1px solid #c8daf0;
    border-right: 1px solid #c8daf0;
    background-color: #f9fbfe;
    font-family: 'MyWebFont3';
}

.active2 {
    border-right: 4px solid #428bca;
}

.messages-wrapper {
    padding-top: 10px;
    position: relative;
    text-align: left !important;
}

.message .smile {
    height: 16px;
    margin: 0 1px 0 1px;
    width: 16px;
    display: inline-block;
    pointer-events: none;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
}

.message .smile.lol {
    background-image: url('/images/messanger_smilies/lol.png');
}

.message .smile.cry {
    background-image: url('/images/messanger_smilies/cry.png');
}

.message {
    border-radius: 20px 20px 20px 20px;
    margin: 0 15px 10px;
    padding: 15px 20px;
    position: relative;
}

.message.to {
    background-color: #2095FE;
    color: #fff;
    margin-left: 80px;
}

.message.from {
    background-color: #E5E4E9;
    color: #363636;
    margin-right: 80px;
}

.message.to+.message.to,
.message.from+.message.from {
    margin-top: -7px;
}

.message:before {
    border-color: #2095FE;
    border-radius: 50% 50% 50% 50%;
    border-style: solid;
    border-width: 0 20px;
    bottom: 0;
    clip: rect(20px, 35px, 42px, 0px);
    content: " ";
    height: 40px;
    position: absolute;
    right: -50px;
    width: 30px;
    z-index: -1;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.message.from:before {
    border-color: #E5E4E9;
    left: -50px;
    transform: rotateY(180deg);
}

#caste-otazky .panel-title a {
    text-decoration: none;
    color: #49a7af;
}

body .panel-default>.panel-heading {
    background-color: #d8ebca;
    color: #49a7af;
}

.registration-succes-dialog {
    width: 980px;
    height: 520px;
    background-color: #ffffff;
    position: absolute;
    margin: 0 auto;
    display: flex;
    padding: 30px;
    z-index: 5;
    border: 1px solid #f6f6f6;
    color: #4d6273;
    left: calc(50% - 490px);
}

.registration-succes-dialog img.logo {
    max-width: 370px;
}

.registration-succes-dialog .left h1 {
    font-size: 42px;
    color: #4d6273;
    padding-bottom: 42px;
}

.registration-succes-dialog .left {
    font-size: 20px;
    padding: 25px;
    position: relative;
}

.registration-succes-dialog .right {
    position: relative;
}

.registration-succes-dialog .left .top {
    border-bottom: 3px solid #e3f2f9;
}

.registration-succes-dialog .left .bottom {
    margin-top: 40px;
}

.registration-succes-dialog .left .bottom .like-btn {
    margin-top: 10px;
    max-height: 30px;
}

.registration-succes-dialog .left .bottom .like-btn img {
    max-height: inherit;
}

#close-rsd-btn,
#close-rsd-btn2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    cursor: pointer;
    margin: 0;
}

#close-rsd-btn2 {
    display: none;
}

@media (max-width: 768px) {
    .registration-succes-dialog .right {
        display: none;
    }
    .registration-succes-dialog {
        width: 100%;
        left: 0;
        top: 0;
        height: auto;
        padding: 0;
    }
    #close-rsd-btn {
        display: none;
    }
    #close-rsd-btn2 {
        display: block;
        top: 10px;
        right: 10px;
    }
}