/*

Modified by Tervise ja Infosüsteemide Keskus

*/

.front .zone-content .block {
    display: block !important;
}

.help-form label.option {
    text-decoration: none;
    color: #00668C;
    padding: 5px 30px;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(0,0,0,0.21);
    border-bottom: 2px solid rgba(0,0,0,0.21);
    border-radius: 6px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.help-form input.form-radio {
    display: none;
}

.jrk-card {
    border: 2px solid #fff;
    color: #fff;
    border-radius: 4px;
    margin: 0 auto;
    width: 400px;
    padding: 20px;
    background-color: #21828C;
    box-shadow: 31px 23px 10px -14px rgba(10,123,133,0.38);
    color: #fff;
}

.jrk-card .views-field {
    padding: 2px;
    border-bottom: 0.2px outset;
}

.jrk-card span.views-label {
    float: left;
    font-weight: bold;
    padding-right: 3px;
}

.view-Jarjekorrad .views-widget {
    margin: 0 auto;
}

.view-id-Jarjekorrad .view-jarjekorrad #views-exposed-form-jarjekorrad-page, .block .view-Jarjekorrad .view-content {
    float: left;
}


.view-Jarjekorrad .views-field-field-jrk-name-service, .view-Jarjekorrad .views-field-field-jrk-name-service h3{
    padding: 5px;
    border: 0;
    color: #fff;
}
.block-selfservice-login a {
  padding: 3px 30px 2px 30px;
  margin: 5px 0px 5px 30px;
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #00688c);
  background-image: -moz-linear-gradient(top, #3498db, #00688c);
  background-image: -ms-linear-gradient(top, #3498db, #00688c);
  background-image: -o-linear-gradient(top, #3498db, #00688c);
  background-image: linear-gradient(to bottom, #3498db, #00688c);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  font-family: Arial;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.block-selfservice-login a:hover {
  background: #fff;
  text-decoration: none;
  color: #00688c;
}

@media screen and (min-device-width: 1024px) {
.zone-portal-navigation-wrapper .block-language-switcher-fallback .language-switcher-locale-url {
    border: 0 !important;
}
}

@media screen and (min-device-width: 768px) {
.block-search-form {
   float: right;
   margin: 15px 0px;
}
}
@media screen  and (max-width:480px){
    .zone-portal-navigation-wrapper .region-portal-navigation-second {
       float: unset !important;

  }
    .zone-portal-navigation-wrapper .menu-name-menu-web-portal > .menu > li.active:after, .zone-portal-navigation-wrapper .menu-name-menu-web-portal > .menu > li.active-trail:after {
       content: none;
    }

    .block-selfservice-login a {
        margin: 10px 10px;
    }
}
.field-name-field-1-vasak{
    text-align: justify;
    margin-right:4%;
}
.field-name-field-2-vasak {
    margin-right:4%;
}
.field-name-field-2-parem-{
    text-align: justify;
    margin:0 4%;
}
.field-name-field-3-vasak{
    text-align: justify;
    margin-right:4%;
}
@media only screen and (max-width: 550px) {
  .node-teenuskohad {
    display: flex;
    flex-flow: column;
  }
.node-teenuskohad .group-left {
    width: 100%!important;
}
.node-teenuskohad .group-right {
    width: 100%!important;
}
}

/* Teenuste kaardistus */
@media only screen and (max-width: 767px) {
.paragraphs-item-pealmine-info {
    display: flex;
    flex-direction: column-reverse;
    text-align: justify;
}
.ds-2col > .group-right {
    width: 100%!important;
}
.ds-2col > .group-left {
    width: 100%!important;
}
}
.field-name-field-logo {
    display: flex;
    justify-content: center;
}
.field-name-field-teenused-link .field-label {
    margin: 1rem 0;
    font-size: 16px;
    color: #00698c;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: #00698c!important;
    font-weight: 600;
}
.field-name-field-link-ska-teenused {
    margin-top: 20px;
}
.field-name-field-pealmine-tekst {
    text-align: justify;
    padding: 0 1em;
}
.field-name-field-sisu li {
    background: url(/profiles/vp_profile/themes/vp_theme/img/10-global/custom-bullet-romb.png) no-repeat 10px 3px;
    padding: 0 0 0 30px;
    margin: 14px 0;
    background-position: 0 3px;
    padding-left: 20px;
}
.views-slideshow-controls-bottom.clearfix {
    display: none!important;
}

/* Footer */

@media only screen and (max-width: 766px) {
    .section-footer {
        display: block!important;
        background: url(/profiles/vp_profile/themes/vp_theme/img/40-desktop/body.png);
    }    
.static.static-footer {
        display: flex;
        flex-direction: column;
        padding: 10px 20px;
    }
    .static.static-footer ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
        margin-left: 10px;
    }
    .static.static-footer ul li{
    margin: 5px 0;
    padding-left:0;
    }
    .block-search-form .content {
        display: block!important;
        left: unset!important;
        top: unset!important;
        bottom: 0;
        width: 200px;
    }  
}
