/*
colors 
red #d0112b  rgba(208, 17, 43,0.9) 
grey #0e141d rgba(24,29,38,0.87)
darkblue #404d60
dark bg uudised #0e141d (14,20,29,0.87)
*/

/*animations*/

header,
.maincontent,
.sidebar-left aside

/*  {
 -webkit-animation: fadein 1s;
    -moz-animation: fadein 1s;
    -ms-animation: fadein 1s;
    -o-animation: fadein 1s;
    animation: fadein 1s;
}
*/
@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/**/


/*boostratp override*/

@media (min-width: 576px) {
    .container {
        width: 99%;
    }
}

@media (min-width: 768px) {
    .container {
        width: 99%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 99%;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 99%;
    }
}

.nogutter > [class*='col-'],
.kc_container {
    padding-right: 0;
    padding-left: 0;
}

.paddingleft0 {
    padding-left: 0 !important;
}

.paddingright0 {
    padding-right: 0 !important;
}


/*colors*/

.bg-white {
    background: #fff !important;
}

.bg-grey-op {
    background: rgba(24, 29, 38, 0.87);
    color: #fff;
}

.txt-white {
    color: #fff !important;
}

.txt-grey,
.txt-grey a {
    color: #0e141d;
}

.txt-red {
    color: #d0112b !important;
}


/*16px*/

.text-xs {
    font-size: 1.15rem;
    line-height: 1.65rem;
}

.text-sm {
    font-size: 1.35rem;
    line-height: 1.95rem;
}

.text-md {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-lg {
    font-size: 2rem;
    line-height: 2rem;
}

.text-lg2 {
    font-size: 38px;
    line-height: 40px;
}

.text-lg2 p {
    margin: 0 0 15px 0;
}

.text-xl {
    font-size: 3rem !important;
    line-height: 3rem !important;
}

.text40 {
    font-size: 40px;
}

.divider {
    width: 100%;
    /* border-bottom: 1px solid #dedede;*/
}

.divider30 {
    height: 30px;
}

.divider50 {
    height: 50px;
}


/* general*/

.clearfix,
.clr {
    *zoom: 1;
    clear: both;
}

.clearfix:before,
.clearfix:after,
.clr:before,
.clr:after {
    display: table;
    content: "";
    line-height: 0;
}

.clearfix:after,
.clr:after {
    clear: both;
}

.small {
    font-size: 85%;
}

.big {
    font-size: 125%;
}

.medium {}

strong,
.strong,
bold,
.bold {
    font-weight: 700;
}

.semibold {
    font-weight: 500;
}

.light {
    font-weight: 300;
}

.uppercase {
    text-transform: uppercase;
}

.inline-block {
    display: inline-block;
}

.kc-elm .inline-block {
    display: inline-block !important;
}

.inline {
    display: inline;
}

.table {
    display: table;
}

.kc-elm .tablek {
    display: table !important;
}

.kc-elm .table h3 {
    display: table-cell;
    vertical-align: bottom;
    height: 75px;
}

.kc-elm .inline {
    display: inline !important;
}

.kc_text_block.inline,
.kc_text_block.table {
    clear: none !important;
}

.h50 {
    height: 50px;
}

.w75 {
    width: 75px;
}

.kc-elm .w75 {
    width: 75px !important;
}

.kc-css-219964.w75 {
    width: 100px !important;
}

.w-100 {
    width: calc(100% - 100px) !important;
}

.table.w-100 {
    margin-left: 15px;
}

.kc-css-712246.table.w-100 {
    margin-left: auto;
}

.absbottom {
    position: absolute;
    bottom: 0;
}

.vertbottom {
    vertical-align: bottom;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #000;
    margin: 1em 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    margin: 0;
    list-style: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #0e141d;
}

::-webkit-input-placeholder {
    text-transform: uppercase;
    color: #404d60;
    opacity: 1 !important;
}

:-moz-placeholder {
    text-transform: uppercase;
    color: #404d60;
}

::-moz-placeholder {
    text-transform: uppercase;
    color: #404d60;
}

:-ms-input-placeholder {
    text-transform: uppercase;
    color: #404d60;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus:-moz-placeholder {
    color: transparent;
}

input:focus::-moz-placeholder {
    color: transparent;
}

input:focus:-ms-input-placeholder {
    color: transparent;
}

html,
body {
    height: 100%;
}

html {
    font-size: 16px;
}

iframe {
    margin-bottom: 10px;
}

table td,
table th {
    vertical-align: top;
    padding: 5px;
}

img {
    width: 100% \9;
    max-width: 100%;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a img:hover,
img a:hover {
    opacity: 0.9;
}

img.circle,
img.round {
    border-radius: 50%;
}

.site-main img.default-featured-img:first-child {
    /*   display: none;*/
}

a,
a:link,
a:visited {
    color: #d0112b;
    text-decoration: none;
    outline: none;
}

a:hover {
    outline: 0;
    outline: none;
    text-decoration: underline;
}

article ul li {
    list-style: none;
    margin: 0 0 7px 0;
    padding: 0;
    display: table;
}

article ul li:before {
    font-family: 'Exo 2', sans-serif;
    content: "•";
    color: #d0112b;
    font-size: 20px;
    padding-right: 10px;
    display: table-cell;
    text-align: right;
}

#filterOptions li:before {
    /*  content: "" !important;
    font-size: 1px;
    padding-right: 0px;
    margin-left: -3px;
    */
}


/**/


/*paragraph bootstrap override*/

p {
    margin: 0 0 10px 0;
}

.collapse {
    display: block;
}

.collapsing {
    position: relative;
    height: auto;
    overflow: hidden;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.collapsing.categories.collapse {
    font-size: 120%;
}

#widget-collapscat-2-top li.collapsing.categories.self a {
    font-weight: inherit !important;
    /* color: #d0112b; */
}

#widget-collapscat-2-top li.collapsing.categories.item.self:before {
    color: #d0112b;
}

body.archive article {
    border-top: 1px solid #d0112b;
    padding-top: 30px;
}

body.archive article:nth-child(1) {
    border-top: none;
    padding-top: 0;
}

body.archive .newsitemslist {
    display: none;
}


/*
body.archive #widget-collapscat-2-top li.collapsing.categories.self a,
body.category #widget-collapscat-2-top li.collapsing.categories.self a {
      color: #fff; 
}
*/

.collapsing.categories.collapse {
    font-weight: 700;
}

body.category #widget-collapscat-2-top li.collapsing.categories.item.self:before {
    color: #fff;
}


/**/

.justify {
    text-align: justify;
}

.twocolumns {
    -webkit-columns: 2 32rem;
    -moz-columns: 2 32rem;
    columns: 2 32rem;
    -moz-column-gap: 3rem;
    -webkit-column-gap: 3rem;
    column-gap: 3rem;
}

.threecolumns {
    -webkit-columns: 3 20rem;
    -moz-columns: 3 20rem;
    columns: 3 20rem;
    -moz-column-gap: 3rem;
    -webkit-column-gap: 3rem;
    column-gap: 3rem;
}

.opacity1 {
    opacity: 1;
}

.opacity0 {
    opacity: 0;
}

.height-auto {
    height: auto;
}

.display-block {
    display: block !important;
}

.nodisplay {
    display: none !important;
}


@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    to {
        transform: translateY(0)
    }

    40% {
        transform: translateY(-10px)
    }

    60% {
        transform: translateY(-5px)
    }
}

.bounce {
    animation: bounce 2s infinite;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 0;
    padding: 0;
}

h1.page-title,
.entry-content h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 32px;
    margin-bottom: 20px;
    color: #d0112b;
}

h2 {
    font-weight: 600;
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 20px;
}

h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 26px;
}

article h2,
article h3 {
    color: #d0112b;
}

article h2.dark,
article h3.dark,
article .dark h2,
article .dark h3 {
    color: #404d60;
}

h4 {
    font-family: 'Exo 2', sans-serif;
    /*  text-transform: uppercase;*/
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 10px;
}

h5 {
    font-size: 1.22rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.page-id-759 h5,
.page-id-2009 h5,
.page-id-2014 h5 {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d0112b;
}

.entry-meta {
    margin: 15px 0;
    font-size: 20px;
}

.entry-content .attachment-post-thumbnail {
    margin: 20px 20px 20px 0;
}

input[type="text"],
input[type="search"],
input[type="email"],
textarea {
    font-family: 'Exo 2', sans-serif;
    font-size: 100%;
    font-weight: 600;
    padding: 7px 18px;
    /* background: #f0f0f0;
     border: 1px solid #0e141d;*/
    background: rgba(38, 43, 51, 0.06);
    border: none;
    color: #0e141d;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    margin-bottom: 5px;
    border: 1px solid #888;
}

.applicationform input[type="text"],
.applicationform input[type="email"],
.applicationform textarea {
    font-size: 90%;
}

select,
.chosen-container-active.chosen-with-drop .chosen-single {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 600;
    font-size: 100%;
    padding: 7px 18px;
    background: #f0f0f0;
    color: #181d26;
    border: 1px solid #888;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    cursor: pointer;
}

option {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 95%;
}


/**/

input[type="submit"] {
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
}

input[type="submit"]:hover {
    background: #181d26;
}

input[type="submit"].xl,
.btn.xl,
button.xl {
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    border-radius: 10px -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    width: 100%;
    max-width: 370px;
    background: #d0112b;
    cursor: pointer;
}

input[type="submit"].xl:hover,
.btn.xl:hover,
button.xl:hover {
    background: #181d26;
}

#search-form button[type="submit"] {
    padding: 5px 10px;
}

input:focus,
textarea:focus {
    outline: none;
    background: #fff !important;
    transition: all .35s ease-in-out;
}

div.wpcf7-validation-errors {
    border: 2px solid #d0112b;
    font-size: 200%;
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    display: block !important;
    font-size: 36px;
    text-align: center;
}

textarea {
    height: 120px;
}


/*upload file*/

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    max-width: 370px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 10px 20px;
    color: #fff;
    background-color: #d3394c;
}

.no-js .inputfile + label {
    display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label,
.inputfile + label:hover {
    outline: -webkit-focus-ring-color auto 4px;
    background-color: #181d26;
}

.inputfile + label * {
    pointer-events: none;
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}


/*inputupload end*/

.btn,
button {
    text-transform: uppercase;
    border: 2px solid;
    margin: 10px 0;
    display: inline-block;
    cursor: pointer;
}

.btn:hover,
button:hover {
    background: rgba(208, 17, 43, 0.93);
    color: #fff;
}

.btn.white {
    border-color: #fff;
    background: transparent;
    color: #fff;
}

.btn.white:hover {
    color: #181d26;
    background: #fff;
}

.btn.red,
button.red {
    border-color: rgba(208, 17, 43, 0.93);
    background: rgba(208, 17, 43, 0.93);
    color: #fff;
}

.btn.red:hover,
button.red:hover {
    color: rgba(208, 17, 43, 1) !important;
    background: #fff;
}

.btn.grey {
    border-color: rgba(24, 29, 38, 0.87);
    background: rgba(24, 29, 38, 0.87);
}

.btn.grey:hover {
    color: rgba(24, 29, 38, 1);
    background: #fff;
}


/*different backgrounds*/

body {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    color: #404d60;
    font-size: 1rem;
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    background: #0e141d url(../img/bg1.jpg) no-repeat;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
}

body:before {
    content: ' ';
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(255, 255, 255, 0.9);
}

body.home:before {
    background: rgba(14, 20, 29, 0.87);
}

.site-header.scrollshade {
    position: fixed;
    bottom: 0;
    height: 100px;
    z-index: 2;
    width: 100%;
    overflow: auto;
    background: rgba(255, 255, 255, 1);
}

body.home .site-header.scrollshade,
body.page-template-page-fullpageleft .site-header.scrollshade,
.single-korterite_myyk .site-header.scrollshade {
    height: 150px;
    overflow: auto;
    background: rgba(11, 30, 57, 1);
    background: -moz-linear-gradient(top, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(11, 30, 57, 1)), color-stop(100%, rgba(11, 30, 57, 0)));
    background: -webkit-linear-gradient(top, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    background: -o-linear-gradient(top, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    background: -ms-linear-gradient(top, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    background: linear-gradient(to bottom, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#0b1e39', endColorstr='#0b1e39', GradientType=0);
}

.logoarea {
    max-width: 170px;
}

.logo {
    background-image: url('../img/logo-omaehitaja-red.svg');
    background-repeat: no-repeat;
    width: 170px;
    height: 55px;
    background-size: 100% 100%;
    position: relative;
    z-index: 9;
}

body.home .logo,
body.page-template-page-fullpageleft .logo {
    background-image: url('../img/logo-omaehitaja-white.svg');
}


/*different bgs ens*/

body.custom-background {
    background-repeat: no-repeat !important;
    background-position: 50% top !important;
}

body.custom-background div.site {
    max-width: 100%;
    margin: 0 auto;
}

#wrap {
    /* max-width: 1920px;
    margin: 0 auto;*/
    position: relative;
    /*messing with fullpage.js overflow: hidden;*/
    min-height: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 2;
    padding-top: 22px;
}

.home .site-header {
    background: rgba(11, 30, 57, 1);
    background: -moz-linear-gradient(top, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(11, 30, 57, 1)), color-stop(100%, rgba(11, 30, 57, 0)));
    background: -webkit-linear-gradient(top, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    background: -o-linear-gradient(top, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    background: -ms-linear-gradient(top, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    background: linear-gradient(to bottom, rgba(11, 30, 57, 1) 0%, rgba(11, 30, 57, 0) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#0b1e39', endColorstr='#0b1e39', GradientType=0);
}

.site-header li {
    list-style: none;
    display: inline-block;
}

.site-header .navarea {
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 19px;
    width: 100%;
}

.site-header .navarea li {
    float: left;
    margin-right: 25px;
}

.site-header nav {
    margin-left: 169px;
}

.site-header nav a {
    display: block;
    color: #0e141d;
    padding: 13px 2px 2px 2px;
}

.site-header .navarea .lang a {
    display: block;
    color: #0e141d;
    padding: 7px 2px 5px 2px;
}

body.home .site-header .navarea a,
body.home .site-header .navarea .lang li a,
body.page-template-page-fullpageleft .site-header .navarea a,
body.page-template-page-fullpageleft .site-header .navarea .lang li a,
.single-korterite_myyk .site-header .navarea a,
.single-korterite_myyk .site-header .navarea .lang li a {
    color: #fff;
}

.site-header nav a:hover,
.site-header nav .current_page_ancestor a,
.site-header nav .current_page_item a,
.site-header .navarea .lang li a:hover,
.site-header .navarea .lang li.wpml-ls-current-language a {
    border-bottom: 1px solid #0e141d;
    text-decoration: none;
}

body.home .site-header nav a:hover,
body.home .site-header nav .current_page_item a,
body.home .site-header .navarea .lang li.wpml-ls-current-language a,
body.home .site-header .navarea .lang li a:hover,
body.page-template-page-fullpageleft nav a:hover,
body.page-template-page-fullpageleft .site-header nav .current_page_ancestor a,
body.page-template-page-fullpageleft .site-header nav .site-header nav .current_page_item a,
body.page-template-page-fullpageleft .navarea .lang li a:hover,
body.page-template-page-fullpageleft .navarea .lang li.wpml-ls-current-language a,
.single-korterite_myyk nav a:hover,
.single-korterite_myyk .site-header nav .current_page_ancestor a,
.single-korterite_myyk .site-header nav .site-header nav .current_page_item a,
.single-korterite_myyk .navarea .lang li a:hover,
.single-korterite_myyk .navarea .lang li.wpml-ls-current-language a {
    border-bottom: 1px solid #fff;
}

.site-header .navarea .lang {
    padding-left: 0;
    padding-right: 0;
}

.site-header .navarea .lang li {
    margin-right: 10px;
    padding-top: 5px;
}

.wpml-ls-legacy-list-horizontal {
    border: none !imporant;
    padding: 0 !important;
}

.fb {
    background: url('../img/fb-dark.png') no-repeat;
    background-position: 0 7px;
    width: 30px;
    height: 40px;
    background-size: 30px 30px;
    display: inline-block;
    margin-left: 10px;
}

body.home .site-header .fb,
body.page-template-page-fullpageleft .site-header .fb,
.single-korterite_myyk .site-header .fb {
    background: url('../img/fb.png') no-repeat;
    background-position: 0 10px;
    width: 30px;
    height: 40px;
    background-size: 30px 30px;
    display: inline-block;
    margin-left: 20px;
}

.fb:hover {
    opacity: 0.8;
}

.fb a {
    display: inline-block;
    width: 30px;
    border-bottom: none;
}

.fb a:hover {
    border-bottom: none;
    text-decoration: none;
}


/*breadcrumbs*/

body.home .breadcrumbs,
.page-template-page-fullpageleft .breadcrumbs,
.single-korterite_myyk .breadcrumbs {
    display: none;
}

.breadcrumbs {
    margin: 100px 0 0 345px;
    padding: 5px;
    border-bottom: 1px solid rgba(11, 30, 57, 0.2);
}


/**/

.fullheight {
    position: relative;
    height: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fullheight .attachment-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}


/*pages*/

#sidebar-left {
    background: #111720;
    min-height: 100%;
    color: #fff;
    padding: 0 25px 30px 25px;
    width: 300px;
}

body.page-template-page-fullpageleft #sidebar-left {
    background: none;
}

#sidebar-left.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
}

#sidebar-left.absolute {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

#sidebar-left a {
    color: #fff;
}

#sidebar-left a:hover,
#sidebar-left a.active,
#sidebar-left ul.sub-menu li.current_page_item a {
    text-decoration: none;
    color: #d0112b;
}

#sidebar-left .current_page_parent {
    color: #fff;
}

#sidebar-left .logo {
    top: 22px;
    position: fixed;
}

/*NEW MENU LEVELS 2 AND 3*/

.sidemenu {
    padding-top: 180px;
}

.sidemenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidemenu li {
    margin: 5px 0;
}

.sidemenu .menu-level-2 > a {
    font-weight: bold;
}

.sidemenu .submenu {
    padding-left: 15px;
}

/*NEW MENU LEVELS 2 AND 3 END*/


.site-main {
    margin: 40px 0;
}

body.uudised .newslistside {
    padding-top: 120px;
}

body.uudised.single .newslistside,
body.page-uudised .newslistside {
    padding-top: 0;
}

.newslistside .newsitem {
    margin-bottom: 15px;
}

.newslistside h3.news-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 10px;
}

.maincontent.fx {
    margin-left: 330px;
}

#sidebar-left a.btn.white:hover {
    color: #181d26;
}


/**/


/*sidebar nav*/

#sidebar-left aside {
    padding-top: 125px;
}

#sidebar-left aside.newsitemslist {
    padding-top: 0;
}

body.single #sidebar-left aside.newsitemslist,
body.category #sidebar-left aside.newsitemslist {
    padding-top: 125px;
}


/*
#sidebar-left aside nav {
    padding-top: 70px;
}
*/

.#sidebar-left li.current-menu-item a {
    color: #d0112b;
}

#sidebar-left li.cmw-level-1,
#sidebar-left .menu-item-has-children.cmw-level-1 > .cmw-level-2 a {
    font-size: 20px;
}

#sidebar-left li.cmw-level-1 a,
#sidebar-left .menu-item-has-children.cmw-level-1 > .cmw-level-2 a {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #404d60;
    display: block;
}

#sidebar-left li ul.sub-menu {
    margin-left: 20px;
}

#sidebar-left li.cmw-level-2 {
    font-size: 16px;
    padding: 5px 0;
}

#sidebar-left li.cmw-level-2 a {
    display: block;
    border-bottom: none;
}

#sidebar-left li.cmw-level-3 a {
    padding-bottom: 0;
}


/*

/**/

#section2,
#section3,
#section4,
#section5 {
    display: table;
    table-layout: fixed;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}


article:not('home') {
    margin-top: 200px;
    text-align: justify;
}


/*homepage*/

/*2*/

.fp-boxwhite {
    width: 840px;
    margin: auto;
    padding: 80px 100px 60px 100px;
    text-align: center;
    background: #fff;
}


.fp-boxwhite h3 {
    width: 350px;
    margin: 0 auto 40px auto;
    border-bottom: 1px solid #404d60;
    padding-bottom: 40px;
    color: #404d60;
}

.fp-boxwhite .btn.readmore {
    color: #404d60;
    margin-top: 50px;
    border-color: #d0112b;
    padding: 5px 30px;
}

.fp-boxwhite .btn.readmore:hover {
    color: #fff;
    background: #d0112b;
}


/**/


/*3*/

.fp3-textblock {
    text-align: center;
    margin: auto;
}

.fp3-textblock h3 {
    color: #fff;
    width: 270px;
    margin: 0 auto 25px auto;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    line-height: 55px;
}

.fp3-textblock .btn {
    color: #fff;
    font-size: 20px;
    min-width: 240px;
    height: 60px;
    padding: 15px;
    margin-bottom: 10px;
}

#fp-section3 .sidearea {
    text-align: center;
    color: #fff;
    padding: 30px;
    max-width: 380px;
}

#fp-section3 .fa-angle-down {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

#fp-section3 h3 {
    color: #fff;
    margin: 25px auto 25px auto;
}

#fp-section3 .divider-grey-175 {
    width: 175px;
    height: 1px;
    background: #fff;
    margin: 30px auto;
}


/*4*/

#fp-section4 .sidearea {
    text-align: center;
    color: #fff;
    padding: 30px;
    max-width: 380px;
}

.ie11 #fp-section4 .sidearea {
    margin-top: 100px;
}

#fp-section4 .fa-angle-down {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

#fp-section4 h3 {
    /*  font-size: 24px;
    line-height: 26px;
    */
    color: #fff;
    margin: 25px auto 25px auto;
}

#fp-section4 .divider-grey-175 {
    width: 175px;
    height: 1px;
    background: #fff;
    margin: 30px auto;
}

#fp-section4 .newsdate {
    color: #5f7087;
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    margin-bottom: 25px;
}


/*5 news*/


/*
#fp-section5 {
    position: relative;
    height: 100%;
    height: 100vh;
    overflow: hidden;
     display: flex;
     flex-direction: column;
     align-items: center; 
     justify-content: center;
    
}

*/

#fp-section5 .attachment-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

#fp-section5 h3.text-lg2.white {
    width: 300px;
    text-align: center;
    color: #fff;
    margin: 0 auto 35px auto;
    padding-bottom: 30px;
    /* margin-top: 50px;*/
    border-bottom: 1px solid #fff;
}

.ie11 #fp-section5 h3.text-lg2.white {
    margin-top: 0;
}

.home .newslist {
    max-width: 1220px;
}

.home .newsitem {
    position: relative;
    background: #f8f6f8;
}

.home .newsitem:hover {
    background: #fff;
    -webkit-transition: all ease-out 0.3s;
    -moz-transition: all ease-out 0.53;
    -o-transition: all ease-out 0.3s;
    transition: all ease-out 0.3s;
}

.home .newsitem a:hover {
    text-decoration: none;
}

.home .newsitem .textcontent {
    padding: 15px;
}

.home .newsitem .textcontent a {
    color: #404d60;
}

.home .newsitem h3 {
    text-transform: uppercase;
    margin: 10px auto 15px auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #d0112b;
    height: 120px;
    font-size: 20px;
    line-height: 22px;
}

.home .newsitem h3 a:hover {
    color: #d0112b;
}

body.ru.home .newsitem h3 {
    font-size: 18px;
}

.home .newsitem .news-date {
    font-size: 85%;
}

.home .newsitem .readmore {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 80%;
    height: 40px;
    background: rgba(208, 17, 43, 0.9);
    text-align: right;
    font-size: 85%;
    padding: 10px 20px;
}

.home .newsitemwrap:nth-child(2) .news-thumb .readmore {
    background: rgba(14, 20, 29, 0.87);
}

.home .newsitem .readmore a {
    color: #fff;
    display: block;
}

.home .newsitem .fa-angle-left {
    position: absolute;
    left: 20px;
    bottom: 5px;
    font-size: 2rem;
}

.home .newsitem .readmore:hover .fa-angle-left {
    left: 30px;
    -webkit-transition: all ease-out 0.5s;
    -moz-transition: all ease-out 0.5s;
    -o-transition: all ease-out 0.5s;
    transition: all ease-out 0.5s;
}

.home .newsitem .lcp_excerpt {
    height: 70px;
    overflow: hidden;
}


/*news page*/

.page-newsitems .newsitem {
    position: relative;
    background: #f8f6f8;
    margin-bottom: 30px;
    height: 254px;
    overflow: hidden;
    max-width: 980px;
}

.page-newsitems .news-thumb {
    padding-left: 0;
    max-width: 520px;
    height: 254px;
    overflow: hidden;
}


/*
.page-newsitems .news-thumb {
position: relative;
  width: 460px;
  height: 360px;
  overflow: hidden;
}

.page-newsitems .news-thumb img {
     position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
*/

.page-newsitems .newsitem:hover {
    background: #fff;
    -webkit-transition: all ease-out 0.3s;
    -moz-transition: all ease-out 0.53;
    -o-transition: all ease-out 0.3s;
    transition: all ease-out 0.3s;
}

.page-newsitems .newsitem a:hover {
    text-decoration: none;
}

.page-newsitems .newsitem .textcontent {
    padding: 5px 15px 80px 0;
}

.page-newsitems .newsitem .textcontent a {
    color: #404d60;
}

.page-newsitems .newsitem h3 {
    text-transform: uppercase;
    margin: 10px auto 5px auto;
    padding-bottom: 20px;
    height: 70px;
    overflow: hidden;
    font-size: 20px;
    line-height: 22px;
}

.page-newsitems .newsitem h3 a:hover {
    color: #d0112b;
}

.page-newsitems .newsitem .news-date {
    font-size: 85%;
    color: #d0112b;
    border-bottom: 1px solid #d0112b;
    margin-bottom: 15px;
}

.page-newsitems .newsitem .readmore {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 55%;
    height: 40px;
    background: rgba(208, 17, 43, 0.9);
    text-align: right;
    font-size: 85%;
    padding: 10px 20px;
}

.page-newsitems .newsitem .readmore a {
    color: #fff;
    display: block;
}

.page-newsitems .newsitem .fa-angle-left {
    position: absolute;
    left: 20px;
    bottom: 5px;
    font-size: 2rem;
    color: #fff;
}

.page-newsitems .newsitem .readmore:hover .fa-angle-left {
    left: 30px;
    -webkit-transition: all ease-out 0.5s;
    -moz-transition: all ease-out 0.5s;
    -o-transition: all ease-out 0.5s;
    transition: all ease-out 0.5s;
}

.page-newsitems .newsitem .lcp_excerpt {
    height: 100px;
    overflow: hidden;
}


/*even red / odd grey*/

.page-newsitems .newsitemwrap:nth-child(even) .news-thumb {
    position: absolute;
    left: 0;
}

.page-newsitems .newsitemwrap:nth-child(odd) .news-thumb {
    position: absolute;
    right: 0;
}

.page-newsitems .newsitemwrap:nth-child(even) .textcontent {
    position: absolute;
    right: 0;
}

.page-newsitems .newsitemwrap:nth-child(odd) .textcontent {
    position: absolute;
    left: 0;
    padding-left: 15px;
}

.page-newsitems .newsitemwrap:nth-child(even) .readmore {
    position: absolute;
    right: 15px;
    text-align: right;
}

.page-newsitems .newsitemwrap:nth-child(odd) .readmore {
    position: absolute;
    left: 15px;
    background: #0e141d;
    text-align: left;
}

.page-newsitems .newsitemwrap:nth-child(even) .readmore:hover {
    background: #0e141d;
}

.page-newsitems .newsitemwrap:nth-child(odd) .readmore:hover {
    background: #d0112b;
}

.page-newsitems .newsitemwrap:nth-child(even) .fa-angle-left {
    left: 20px;
}

.page-newsitems .newsitemwrap:nth-child(odd) .fa-angle-left {
    margin-left: 90%;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.page-newsitems .newsitemwrap:nth-child(odd) .readmore:hover .fa-angle-left {
    right: 30px;
}

.wp-pagenavi .pages {
    display: none;
}

.wp-pagenavi {
    margin-bottom: 30px;
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 5px 15px;
}

.lcp_paginator {
    margin: 30px auto;
    text-align: center;
}

.lcp_paginator li {
    padding: 5px 0 !important;
    width: 30px;
    margin: 0 7px 7px 0 !important;
}

.lcp_paginator li:before {
    content: '';
    padding-right: 0;
    font-size: inherit;
}

.lcp_paginator li:hover,
.lcp_paginator li.lcp_currentpage,
.lcp_paginator li:hover a {
    background: #d0112b;
    color: #fff;
    text-decoration: none;
}

.lcp_paginator li a:hover,
.lcp_paginator li.lcp_currentpage a {
    background: #d0112b;
    color: #fff;
    text-decoration: none;
}


/*news page odd even end*/


/*footer*/

.site-wrapper {
    min-height: calc(100vh - 220px);
}

.wrapper-footer {
    /* position: absolute; bottom: 0;*/
    height: 220px;
    background: #fff;
    /*  margin-top: 40px;*/
    width: 100%;
    position: relative;
    height: 220px;
    clear: both;
}

.wrapper-footer.fixed {
    position: fixed;
    bottom: 0;
}

.site-footer {
    margin-top: 65px;
    border-top: 3px solid #d0112b;
    padding-top: 30px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    margin-left: 340px;
}

.site-footer a {
    color: #404d60;
}


/*KORTERITE MÜÜK*/

.single-korterite_myyk .section {
    background-attachment: fixed;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.single-korterite_myyk #pg-section3.section {
    box-shadow: inset 0 0 0 2400px rgba(14, 20, 29, 0.87);
    -moz-box-shadow: inset 0 0 0 2400px rgba(14, 20, 29, 0.87);
    -webkit-box-shadow: inset 0 0 0 2400px rgba(14, 20, 29, 0.87);
}

.single-korterite_myyk #fullpage .container {
    max-width: 850px;
}

.wrap-fullpageleft {
    position: relative;
}

.single-korterite_myyk .sidebar-fullpageleft.fixed {
    position: fixed;
    top: 180px;
    padding-left: 40px;
    z-index: 3;
    height: 100%;
    width: auto;
    max-width: 450px;
}

.single-korterite_myyk .sidebar-fullpageleft .sidemenu {
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
}

.single-korterite_myyk .sidebar-fullpageleft .sidemenu .sub-menu li {
    margin-bottom: 15px;
}

.single-korterite_myyk .sidebar-fullpageleft a {
    font-family: 'Exo 2', sans-serif;
    font-size: 26px;
    line-height: 26px;
    color: #fff;
    text-transform: uppercase;
}

.single-korterite_myyk .sidebar-fullpageleft ul.sub-menu {
    margin: 15px 0 15px 15px;
}

.single-korterite_myyk .sidebar-fullpageleft ul.sub-menu a {
    text-transform: none;
}

.sidebar-fullpageleft ul.sub-menu a:hover,
.sidebar-fullpageleft ul.sub-menu a.active,
.sidebar-fullpageleft li.current_page_item a {
    text-decoration: underline !important;
}

.single-korterite_myyk #sidebar-left .current_page_parent {
    color: #fff;
}

.single-korterite_myyk .col-sm-12 {
    float: none !important;
    text-align: center;
}

.single-korterite_myyk .pg1-contentbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-25%, 25%);
    width: 100%;
    max-width: 370px;
    height: 390px;
    background: rgba(255, 255, 255, 0.7);
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 25px;
    padding: 15px;
    text-align: center;
}

.ie11 .single-korterite_myyk .pg1-contentbox {
    margin-top: 150px;
}

.single-korterite_myyk .pg1-contentbox img.arenduse_logo {
    max-width: 220px;
    height: auto;
}

.single-korterite_myyk .pg1-contentbox .content {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.single-korterite_myyk .pg1-contentbox .content a {
    color: #404d60;
}

.single-korterite_myyk .pg1-contentbox .content a:hover {
    color: #d0112b;
}

.single-korterite_myyk .pg1-contentbox .content .fa-arrow-down {
    margin-top: 20px;
}

.single-korterite_myyk .pg2-contentbox {
    background: rgba(255, 255, 255, 0.93);
    padding: 50px;
}

.ie11 .single-korterite_myyk .pg2-contentbox {
    margin-top: 150px;
}

.single-korterite_myyk .pg2-contentbox h3 {
    width: 100%;
    max-width: 400px;
    padding: 0 15px 50px 15px;
    border-bottom: 1px solid #404d60;
    margin: 0 auto 40px auto;
    font-family: 'Exo 2', sans-serif;
    color: #404d60;
    font-weight: 500;
    font-size: 30px;
    line-height: 32px;
}

.single-korterite_myyk .arenduse_kirjeldus {
    width: 100%;
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin: auto;
    float: none !important;
    text-align: center;
}

.ie11 .kc-elm.kc-css-2917245.kc_col-sm-12.kc_column.kc_col-sm-12 {
    margin-top: 150px;
}

.single-korterite_myyk #pg-section3 .attachment-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.single-korterite_myyk #pg-section3 .pg3-contentbox {
    width: 100%;
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin: auto;
    float: none !important;
    text-align: center;
    color: #fff;
}

.single-korterite_myyk #pg-section3 .pg3-contentbox a {
    color: #fff;
    text-decoration: underline;
}

.single-korterite_myyk #pg-section3 .pg3-contentbox a:hover {
    color: #d0112b;
    text-decoration: underline;
}


/**/


/*RANDLA 6 DELETE after change ok*/

#fullpage .kc-container {
    max-width: 850px;
}

body.home #fullpage .kc-container {
    max-width: 99%;
}

.wrap-fullpageleft {
    position: relative;
}

.sidebar-fullpageleft.fixed {
    position: fixed;
    top: 180px;
    padding-left: 40px;
    z-index: 3;
    height: 100%;
    width: 200px;
}

.sidebar-fullpageleft a {
    font-family: 'Exo 2', sans-serif;
    font-size: 26px;
    color: #fff;
}

.sidebar-fullpageleft a:hover,
.sidebar-fullpageleft a.active,
.sidebar-fullpageleft li.current_page_item a {
    text-decoration: none !important;
    color: #fff !important;
    border-bottom: 1px solid transparent !important;
}

#sidebar-left .current_page_parent {
    color: #fff;
}

.page-fullpageleft .kc_col-sm-12.kc_column {
    float: none !important;
}

.page-randla-6 .kc_col-sm-12.kc_column {
    text-align: center;
}

.page-fullpageleft .kc-elm.pg1-contentbox {
    width: 100%;
    max-width: 370px;
    height: 390px;
    background: rgba(255, 255, 255, 0.7);
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 25px;
    padding: 15px;
    margin: auto;
    float: none !important;
    text-align: center;
}

.ie11 .page-fullpageleft .kc-elm.pg1-contentbox {
    margin-top: 150px;
}

.page-fullpageleft .kc-elm.pg1-contentbox .content {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.page-fullpageleft .kc-elm.pg1-contentbox .content a {
    color: #404d60;
}

.page-fullpageleft .kc-elm.pg1-contentbox .content a:hover {
    color: #d0112b;
}

.page-fullpageleft .kc-elm.pg1-contentbox .content .fa-arrow-down {
    margin-top: 20px;
}

.page-fullpageleft #section2 .kc_col-sm-12 {
    background: rgba(255, 255, 255, 0.93);
    padding: 50px;
}

.page-fullpageleft #section2 h3 {
    width: 100%;
    max-width: 400px;
    padding: 0 15px 50px 15px;
    border-bottom: 1px solid #404d60;
    margin: 0 auto 40px auto;
    font-family: 'Exo 2', sans-serif;
    color: #404d60;
    font-weight: 500;
    font-size: 30px;
    line-height: 32px;
}

.page-fullpageleft .kc-elm.pg2-contentbox {
    width: 100%;
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin: auto;
    float: none !important;
    text-align: center;
}


/*end delete*/


/*pg3*/

#pg-section3 .attachment-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

#pg-section3 .pg3-contentbox {
    width: 100%;
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin: auto;
    float: none !important;
    text-align: center;
    color: #fff;
}

#pg-section3 .pg3-contentbox a {
    color: #fff;
    text-decoration: underline;
}

#pg-section3 .pg3-contentbox a:hover {
    color: #d0112b;
    text-decoration: underline;
}


/*nextgen gallery*/

.nextgen_pro_thumbnail_grid {
    text-align: left !important;
}


/*body.korterite-muuk delete later */
.slideshowlink {
    display: none;
}

.single-korterite_myyk .nextgen_pro_thumbnail_grid,
body.korterite-muuk .nextgen_pro_thumbnail_grid {
    text-align: center !important;
}

.single-korterite_myyk .ngg-galleryoverview,
body.korterite-muuk .ngg-galleryoverview {
    margin-bottom: 40px !important;
}

.ngg-gallery-thumbnail {
    position: relative;
    background-color: transparent !important;
    border: none !important;
    margin: 5px 11px !important;
}

.ngg-gallery-thumbnail a {
    margin: 0 !important;
}

.single-korterite_myyk .ngg-gallery-thumbnail img,
body.korterite-muuk .ngg-gallery-thumbnail img {
    border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
}

#pg-section3 .ngg-navigation {
    display: none !important;
}

.zoomicon {
    background-image: url(http://oma2017.creatum.ee/wp-content/uploads/img-zoom.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 33px;
    height: 33px;
    position: absolute;
    bottom: 5%;
    right: 5%;
}

body.korterite-muuk .zoomicon {
    background-size: 100%;
    width: 65px;
    height: 66px;
    position: absolute;
    left: 37%;
    top: 37%;
}

.galleria-thumbnails {
    margin: 0 auto !important;
    right: 30px !important;
    left: auto !important;
}

#npl_button_close {
    top: 20px !important;
    right: 30px !important;
    font-weight: 300 !important;
    font-size: 30px !important;
    color: #fff !important;
}

#npl_button_close .fa-times-circle:before {
    content: "\00a0" !important;
    background: url(../img/close.png) no-repeat;
    font-weight: 300 !important;
    font-size: 30px !important;
    height: 30px !important;
    width: 30px !important;
    color: #fff !important;
}

.galleria-theme-nextgen_pro_lightbox {
    background: transparent !important;
}

.galleria-theme-nextgen_pro_lightbox .galleria-counter {
    font: normal 16px/1 '#Exo 2', arial, sans-serif;
}

.galleria-image-nav-right,
.galleria-image-nav-left {
    opacity: 1 !important
}

.galleria-image-nav-right:hover,
.galleria-image-nav-left:hover,
#npl_button_close:hover {
    opacity: 0.8 !important
}

.galleria-image-nav .fa-angle-right:before {
    content: "\00a0" !important;
    width: 50px;
    background: url(../img/arrow-right.png) no-repeat;
    color: #fff !important;
}

.galleria-image-nav .fa-angle-left:before {
    content: "\00a0" !important;
    width: 50px;
    background: url(../img/arrow-left.png) no-repeat;
    color: #fff !important;
}

.galleria-image.active {
    opacity: 0.5;
}

#pg-section3 .sidearea {
    position: absolute;
    right: 50px;
    bottom: 0;
    max-width: 300px;
    height: 80%;
    padding: 20px;
    text-align: center;
}

#pg-section3 .sidearea h3,
#pg-section3 a {
    color: #fff;
}

#pg-section3 .sidearea.closed {
    height: 6%;
    transition: all 0.8s ease-in-out;
}

#pg-section3 .sidearea.open {
    height: 80%;
    transition: all 0.8s ease-in-out;
}

#pg-section3 .sidearea .arrow-down-red {
    position: absolute;
    right: 0;
    top: 0;
}

#pg-section3 .sidearea.closed .arrow-down-red {
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: all 0.8s ease-in-out;
}

#pg-section3 .sidearea h4 {
    text-align: left;
}

#pg-section3 .sidearea img {
    width: 105px;
    height: 105px;
    margin: 0 auto 10px auto;
    text-align: center;
    border-radius: 50%;
}


/*collapse-o-matic*/

.collapseomatic.arrows {
    background-image: none;
    cursor: pointer;
    color: #d0112b;
    display: block;
}

.collapseomatic.arrows:hover {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s ease-in-out;
}

.collapseomatic.arrows:before {
    font-family: 'FontAwesome';
    content: "\f0d7";
    color: #d0112b;
    font-size: 20px;
    margin-right: 15px;
}

.colomat-close.arrows {
    background-image: none;
}

.colomat-close.arrows:before {
    font-family: 'FontAwesome';
    content: "\f0d8";
    color: #d0112b;
    font-size: 20px;
}


/*juhtkond body class from page title*/

body.management .kc_col-sm-3 {
    text-align: center;
}

body.management .kc_single_image img {
    margin: 0 auto 25px auto;
    max-height: 200px;
    max-width: 200px;
}

body.management .kc_col-sm-3 h2 {
    margin-bottom: 5px;
}

body.management article a {
    display: block;
    margin-top: 10px;
    color: #404d60;
    text-decoration: underline;
}

body.management article a:hover {
    color: #d0112b;
}


/*project custom post type*/

#widget-collapscat-2-top {
    margin-left: -20px;
}


/*
#widget-collapscat-2-top .collapsing.categories.expandable.parent .collapsing.categories.collapse:nth-child(1) {
   display: none;
}

#collapsCat-10:2 {
    display: block;
    
}*/

.row.item__project {
    margin-bottom: 30px;
}

.projects-post .project-image {
    margin-bottom: 30px;
    max-width: 768px;
    height: auto;
}

.obj-label {
    display: inline-block;
    width: 35%;
    font-weight: 600;
    vertical-align: top;
}

.obj-value {
    display: inline-block;
    width: 64%;
}

.en .obj-label,
.ru .obj-label {
    width: 49%;
}

.en .obj-value,
.ru .obj-value {
    width: 50%;
}


/*sidebar tree menu*/

#widget-collapscat-2-top li.collapsing.categories {
    text-indent: 0 !important;
    padding: 0 0 12px 10px !important;
    padding-left: 10px !mportant;
}

#widget-collapscat-2-top span.collapsing.categories {
    border-bottom: 1px solid #444444 !important;
    margin: 0 0 7px 0 !important;
    padding: 0 0 7px 0 !important;
}


/**/


/*search and filter results*/


/*
select[multiple="multiple"] {
    min-height: 170px;
}
*/

.resultstitle {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 0px;
}


/*projects*/

.searchandfilter select.sf-input-select,
.searchandfilter input[type="text"].sf-input-text {
    width: 400px;
    color: #404d60;
}

.searchandfilter input[type="text"].sf-input-text::-webkit-input-placeholder {
    text-transform: none;
    color: #404d60;
}

.searchandfilter > ul > li.sf-field-search,
.searchandfilter > ul > li.sf-field-submit,
.searchandfilter > ul > li.sf-field-category,
.searchandfilter > ul > li.sf-field-post-meta-toov_liik,
.searchandfilter > ul > li.sf-field-post-meta-valmimise_aasta,
li[data-sf-field-input-type="checkbox"] ul li {
    /*display: inline-block;
    float: left;*/
    margin-right: 20px;
}

.searchandfilter > ul > li.sf-field-search {
    float: left;
    clear: left;
}

.searchandfilter > ul > li.sf-field-submit {
    clear: right;
}

.searchandfilter > ul > li.sf-field-category {
    /*float: left;*/
    clear: left;
}

.search-filter-reset {
    float: left;
    clear: right;
    font-weight: 300;
    font-size: 20px;
    padding: 5px 30px;
    color: #fff !important;
    background: #ccc;
    text-decoration: none;
    border-radius: 7px;
}

.sf-field-submit input[type="submit"] {
    font-family: 'FontAwesome';
    font-weight: 300;
    font-size: 20px;
    padding: 2px 20px 5px 20px;
    color: #fff;
    background: #d0112b;
    cursor: pointer;
}

.sf-field-submit input[type="submit"]:hover,
.search-filter-reset:hover {
    background: #181d26;
}

.searchandfilter > ul > li:last-child {
    margin-right: 0;
}

.search-filter-results {
    clear: both;
}


/*custom checkboxes*/

.searchandfilter li[data-sf-field-input-type=checkbox] label {
    padding-left: 0;
}

input[type=checkbox] {
    position: absolute;
    opacity: 0;
}

input[type=checkbox] + label {
    position: relative;
    cursor: pointer;
    padding: 0;
    padding-left: 0;
}

input[type=checkbox] + label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    border: 1px solid #888;
}

input[type=checkbox]:hover + label:before {
    background: #d0112b;
    border: 1px solid #d0112b;
    color: #000;
}

input[type=checkbox]:focus + label:before {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

input[type=checkbox]:checked + label:before {
    background: #d0112b;
    border: 1px solid #d0112b;
}

input[type=checkbox]:disabled + label {
    color: #b8b8b8;
    cursor: auto;
}

input[type=checkbox]:disabled + label:before {
    box-shadow: none;
    background: #ddd;
}

input[type=checkbox]:hover + label:after,
input[type=checkbox]:checked + label:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
}


/**/


/**/


/* ==================================== */


/*		  	  Navigaton Menu Mobile		
/* ==================================== */

.menu-wrap {
    background: #000;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    margin-left: -100%;
    overflow: auto;
    transition: .25s;
    /*z-index: 17;*/
    padding: 80px 30px 30px 30px;
}

.menu-show {
    margin-left: 0;
}

.menu-mainarea {
    position: relative;
}

.menu-mainarea li {
    padding: 0 0 15px 0;
    display: block;
}

.menu-mainarea li > a {
    text-transform: uppercase;
    color: #fff;
    opacity: 1;
    font-size: 18px;
    line-height: 18px;
    position: relative;
}

.menu-mainarea li > a:hover,
.menu-mainarea li.current-menu-item > a {
    color: #fff;
    opacity: 0.5;
}

.menu-mainarea .menu-item-has-children {
    position: relative;
}

.menu-mainarea .menu-item-has-children .sub-menu {
    display: none;
}

.menu-mainarea .menu-item-has-children .sub-menu.open {
    display: block;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

.menu-mainarea .menu-item-has-children::after {
    /*position: relative;*/
    position: absolute;
    top: -15px;
    right: 0;
    content: "\f078";
    font-family: 'FontAwesome';
    padding: 10px;
    color: #fff;
}

.menu-mainarea .sub-menu .menu-item-has-children::after {
    display: none;
}

.menu-mainarea .menu-item-has-children.open::after {
    content: "\f054";
    cursor: pointer;
    color: #fff;
}


/*logo*/

.logo-mobile {
    position: absolute;
    left: 15px;
    top: 0;
    z-index: 10;
}

.logo-mobile img {
    height: 40px;
    width: auto;
}


/*Hamburger Button*/

.toggle-button {
    position: fixed;
    width: 44px;
    height: 40px;
    top: 25px;
    right: 15px;
    padding: 4px;
    transition: .25s;
    z-index: 15;
}

.toggle-button:hover {
    cursor: pointer;
}

.toggle-button .menu-bar {
    position: absolute;
    border-radius: 2px;
    width: 80%;
    transition: .5s;
}

.toggle-button .menu-bar-top {
    border: 4px solid #d0112b;
    border-bottom: none;
    top: 0;
}

.toggle-button .menu-bar-middle {
    height: 4px;
    background-color: #d0112b;
    margin-top: 7px;
    margin-bottom: 7px;
    top: 4px;
}

.toggle-button .menu-bar-bottom {
    border: 4px solid #d0112b;
    border-top: none;
    top: 22px;
}

.button-open {
    right: 15px;
}

.button-open .menu-bar-top {
    border-color: #fff;
    transform: rotate(45deg) translate(8px, 8px);
    transition: .5s;
}

.button-open .menu-bar-middle {
    background-color: #fff;
    transform: translate(230px);
    transition: .1s ease-in;
    opacity: 0;
}

.button-open .menu-bar-bottom {
    border-color: #fff;
    transform: rotate(-45deg) translate(7px, -7px);
    transition: .5s;
}


/*submenus*/

.menu-mainarea .menu-item-has-children ul.sub-menu {
    margin: 10px 0 0 10px;
}

.menu-mainarea .menu-item-has-children ul.sub-menu li ul.sub-menu {
    margin: 10px 0 0 20px;
}

.sub-menu li a {
    text-transform: none;
}


/**/


/**/

.langarea {
    position: fixed;
    top: 20px;
    right: 20%;
    z-index: 10;
    font-size: 15px;
}

.langarea a {
    color: #d0112b;
    font-weight: 500;
}

.langarea .wpml-ls-current-language a {
    border-bottom: 1px solid #d0112b;
}

.site-header.menu-show .langarea a {
    color: #fff;
}

.site-header.menu-show .langarea .wpml-ls-current-language a {
    border-bottom: 1px solid #fff;
}

.langarea .wpml-ls-legacy-list-horizontal a {
    padding: 5px;
}


/**/


/*responsive menu*/


/*

#responsive_menu_pro_header_bar{
  background: #252a33;
}
*/

#responsive_menu_pro a {
    color: #fff;
}

#responsive_menu_pro_additional_content input[type="search"] {
    font-size: 15px;
    border-bottom: 1px solid #fff;
    width: 83%;
    padding-right: 35px;
}

#responsive_menu_pro_additional_content #search-form button {
    margin-left: -32px;
}

.overlay {
    height: auto !important;
    left: auto !important;
    width: auto !important;
    background-color: #fff !important;
    /*z-index: 999999;*/
}

.responsive_menu_pro_open .overlay {
    background-color: #252a33 !important;
}

#responsive_menu_pro_header_bar_right .overlay {
    height: auto !important;
}

#responsive_menu_pro #menu-topbar-1 li {
    margin-bottom: 20px;
}

#responsive_menu_pro .searchform {
    margin-top: 20px;
}

#responsive_menu_pro .responsive_menu_title_image {
    max-height: 40px;
}

#responsive_menu_pro_button {
    top: 17px !important;
}

#responsive_menu_pro_button #responsive_menu_x {
    height: 18px !important;
    width: auto !important;
    top: 0 !important;
}

#responsive_menu_pro_header_bar_logo {
    padding-top: 12px !important;
    padding-left: 12% !important;
}

#responsive_menu_pro #responsive_menu_pro_title {
    padding: 16px 0 20px 5% !important;
}

.responsive_menu_pro_menu li {
    text-transform: uppercase;
}

.responsive_menu_pro_menu li ul.sub-menu li {
    text-transform: none;
}

#responsive_menu_pro .responsive_menu_pro_menu li li a {
    padding: 7px 0px 7px 5% !important;
}


/**/

.tp-tab-title {
    font-weight: 400 !important;
}

.tp-tab-title:hover,
.selected .tp-tab-title {
    font-weight: 600 !important;
}


/*hide 2nd tab title - static image - inserted to fix html5 video skipping - not in use*/


/*hide 1st tab title - full video*/

.tp-tabs-inner-wrapper {
    margin-left: 100px !important;
}

.tp-tab:nth-child(1) {
    display: none !important;
}

.tp-tab:nth-child(2) {
    left: 0px !important;
}

.tp-tab:nth-child(3) {
    left: 222px !important;
}

.tp-tab:nth-child(4) {
    left: 464px !important;
}

.tp-tab:nth-child(5) {
    left: 730px !important;
}

.tp-tab:nth-child(6) {
    left: 970px !important;
}


/**/

.progress {
    margin-top: 20%;
    margin-left: 20%;
    line-height: 4px;
    background: #fff;
}

.slide-title {
    background: #d0112b;
    text-align: center !important;
    font-size: 18px !important;
    padding: 30px 15px !important;
}

.slogan1-mobile {
    left: 25% !important;
    top: 30% !important;
}

.slogan2-mobile {
    left: 25% !important;
    top: 50% !important;
}

#rev_slider_1_1 .zeus .tp-tab-title {
    padding: 37px 0 !important;
}

.rs-background-video-layer video {
    visibility: inherit !important;
}


/*BGvideo not in use*/


/*
#big-video-wrap{overflow:hidden;position:fixed;height:100%;width:100%;top:0;left:0;}
#big-video-vid,#big-video-image{position:absolute;}
#big-video-control-container{position:fixed;bottom:0;padding:10px;width:100%;background:rgba(0,0,0,.25);
  -webkit-transition-duration:0.6s;-moz-transition-duration:0.6s;-ms-transition-duration:0.6s;-o-transition-duration:0.6s;transition-duration:0.6s;}
#big-video-control{width:100%;height:16px;position:relative;}
#big-video-control-middle{margin: 0 56px 0 24px;}
#big-video-control-bar{width:100%;height:16px;position:relative;cursor:pointer;}
#big-video-control-progress{position:absolute;top:7px;height:3px;width:0%;background:#fff;}
#big-video-control-track{position:absolute;top:8px;height:1px;width:100%;background:#fff;}
#big-video-control-bound-left{left:0;}
#big-video-control-bound-right{right:-1px}
#big-video-control-track .ui-slider-handle {opacity:0;}
#big-video-control-playhead{left:30%;}
#big-video-control-play{position:absolute;top:0;left:0;height:16px;width:16px;background-image:url('bigvideo.png');}
#big-video-control-timer{position:absolute;top:1px;right:0;color:#fff;font-size:11px;}
#big-video-control-playhead,#big-video-control-bound-left,#big-video-control-bound-right{position:absolute;top:0;height:16px;width:1px;background:#fff;}
#big-video-control .ui-slider-handle{border-left:solid 1px #fff; width:16px;height:16px;position:absolute;top:-8px;}
.transparent{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;}
#big-video-wrap .vjs-big-play-button{display:none !important;}
*/


/**/

@media only screen and (min-width: 320px) and (max-width: 479px) {

    .obj-label,
    .obj-value {
        width: 100%;
    }
}

@media screen and (min-height: 601px) and (max-height: 768px) {
    #fp-section3 .sidearea {
        padding: 15px;
    }

    #fp-section4 .sidearea {
        padding: 15px;
    }

    /*
    body.home .newsitem .lcp_excerpt {
        display: none;
    }
    */
    #fp-section5 h3.text-lg2.white {
        margin-top: 0;
    }
}

@media only screen and (min-width: 320px) and (max-width: 991px) {

    .site-header,
    .site-header.scrollshade {
        background: rgba(255, 255, 255, 1) !important;
        height: 80px !important;
    }

    body.home .kc-col-container {
        text-align: center;
    }

    .site-main {
        margin-top: 0;
        padding: 15px;
    }

    h1.page-title,
    .entry-content h2 {
        font-size: 24px;
        line-height: 26px;
    }

    h3 {
        font-size: 18px;
        line-height: 20px;
    }

    .kc_col-sm-4 {
        margin-top: 20px;
    }

    [class*='col-'],
    .kc_container {
        padding-right: 0;
        padding-left: 0;
    }

    /*home*/
    .kc-elm.kc-css-1581532.kc_col-sm-4.kc_column.kc_col-sm-4 {
        padding-left: 0;
        padding-right: 0;
    }

    /*pg2*/
    body.kc-css-system .kc-css-4073870 {
        background: #fff !important;
    }

    .fp-boxwhite {
        width: 90%;
        padding: 40px 20px;
    }

    .fp-boxwhite h3 {
        width: 80%;
        padding-bottom: 20px;
        margin: 0 auto 20px auto;
    }

    .fp-boxwhite .btn.readmore {
        margin-top: 20px;
    }

    /*pg3*/
    .fp3-textblock {
        margin-top: 100px;
    }

    #fp-section3 .sidearea {
        margin: 200px auto 100px auto;
        float: none;
    }

    /*pg4*/
    #fp-section4 .sidearea {
        margin: 200px auto 100px auto;
        line-height: 1.2;
        float: none;
    }

    #fp-section4 .fa-angle-down {
        font-size: 2rem;
        margin-bottom: 0;
    }

    #fp-section4 h3 {
        font-size: 22px;
        line-height: 22px;
        margin: 0 auto 10px auto;
    }

    #fp-section4 .newsdate {
        margin-bottom: 10px;
    }

    #fp-section4 .divider-grey-175 {
        margin: 15px auto;
    }

    /*mews*/
    #fp-section5 h3.text-lg2.white {
        margin-top: 50px;
    }

    .newsitemwrap {
        padding-left: 0;
        padding-right: 0;
    }

    .home .newsitem .readmore {
        display: none;
    }

    .news-thumb {
        text-align: center;
    }

    .home .newsitem h3 {
        height: auto;
    }

    body.home .newsitem .lcp_excerpt {
        display: block;
        height: auto;
    }

    /*content pages*/
    .maincontent.fx {
        margin-left: 0;
    }

    .breadcrumbs {
        margin: 85px 0 0 15px;
    }

    .wrapper-footer {
        height: auto;
    }

    .site-footer {
        margin: 0;
        padding-top: 15px;
        text-align: center;
    }

    .footerlogo {
        /* margin-top: 20px;
        max-width: 200px;
        text-align: center;
        float: none !important;
        */
        display: none !important;
    }

    /**/
    /*juhtkond*/
    body.management .kc_single_image img {
        margin-top: 40px;
    }

    body.management h1.page-title {
        text-align: center;
    }

    /**/
    input[type="text"],
    input[type="search"],
    input[type="email"],
    textarea {
        max-width: 265px;
    }

    /*randla6*/
    .page-template-page-fullpageleft body:before {
        background: rgba(0, 0, 0, 0.8);
    }

    .page-fullpageleft .kc-elm.pg1-contentbox,
    .single-korterite_myyk .pg1-contentbox {
        width: 300px;
        margin-top: 100px;
    }

    #pg-section3 #sidepanel {
        background: transparent url(https://oma2017.creatum.ee/wp-content/uploads/bg-randla6-pg2.jpg) center center/cover no-repeat fixed;
    }

    .pg3-contentbox {
        padding-bottom: 40px;
    }

    #pg-section3 .sidearea {
        position: relative;
        right: auto;
        bottom: auto;
    }

    #pg-section3 .sidearea h4 {
        text-align: center;
    }

    .kc_row_inner,
    .kc-row-container.kc-container .kc-wrap-columns {
        width: calc(100% + 30px);
    }

    #ngg-image-1,
    #ngg-image-2 {
        display: none;
    }

    .ngg-gallery-thumbnail-box {
        float: none !important;
    }

    .ngg-gallery-thumbnail img {
        margin: 0 auto !important;
    }

    #pg-section3 .sidearea {
        height: 400px;
        margin: 0 auto;
    }

    .#pg-section3 .pg3-contentbox {
        padding: 10px 15px;
    }

    #slidedown {
        display: none;
    }

    /*projects*/
    .searchandfilter select.sf-input-select {
        width: 290px;
    }

    .search-filter-results {
        padding: 0 15px;
    }

    .search-filter-results h1.page-title {
        margin: 10px 0;
    }

    .text-center-md-down {
        text-align: center;
    }

    /*news*/
    /*mews*/
    .page-newsitems-mobile .newsitemwrap {
        margin-bottom: 20px;
    }

    .page-newsitems-mobile .lcp_excerpt {
        margin-top: 10px;
    }

    .textcontent {
        /*background:  rgba(24,29,38,0.87);
        color: #fff;*/
        margin: 0;
        padding: 15px;
    }

    .page-newsitems-mobile .newsitem .readmore {
        height: 40px;
        background: rgba(208, 17, 43, 0.9);
        text-align: right;
        font-size: 85%;
        padding: 10px 20px;
        width: 100%;
        color: #fff;
    }

    .page-newsitems-mobile .newsitem .readmore a {
        color: #fff;
    }

    .page-newsitems-mobile .news-thumb {
        padding-left: 0;
        width: 460px;
        height: auto;
        overflow: hidden;
    }

    .single-projects [class*='col-'],
    .page-template-page-projects [class*='col-'] {
        padding-left: 15px;
        padding-right: 15px;
    }

    /*contacts*/
    .page-id-759 h5,
    .page-id-2009 h5,
    .page-id-2014 h5 {
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 2px solid #d0112b;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    /*mews*/
    .textcontent {
        margin: 0;
        padding: 0 15px 15px 15px;
    }

    body.management {
        font-size: 88%;
    }

    body.management .kc_col-sm-1 {
        padding-left: 0;
        padding-right: 0;
    }

    body.management .kc_single_image img {
        margin-top: 10px;
        max-height: inherit;
        max-width: inherit;
    }

    .footerlogo {
        margin-top: 0;
    }
}


/**/

@media only screen and (min-width: 992px) {

    /*home*/
    .fp-boxwhite {
        width: 840px !important;
    }

    .home .news-thumb {
        position: relative;
        width: auto;
        max-width: 378px;
        height: 227px;
        overflow: hidden;
    }

    .home .news-thumb img {
        /* position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
     border-bottom: 1px solid #ccc;
}*/
        /**/
    }
}

@media only screen and (min-width: 992px) and (max-width: 1300px) {
    .logoarea .logo {
        width: 150px;
    }

    .site-header nav {
        margin-left: 86px;
    }

    .site-header .navarea li {
        margin-right: 10px;
        font-size: 88%;
    }

    /*content pages mainly to fit 1024*/
    #sidebar-left {
        width: 240px;
    }

    .maincontent.fx {
        margin-left: 250px;
    }

    .site-footer {
        margin-left: 250px;
    }

    .breadcrumbs {
        margin: 100px 0 0 260px;
    }

    body.management .kc_single_image img {
        max-width: 160px;
        max-height: 160px;
    }

    /*tegevusvaldkonnad*/
    .kc-elm .w75 {
        width: 50px !important;
    }

    .table.w-100 {
        margin-left: 10px;
    }

    .kc-elm .table h3 {
        font-size: 18px;
        line-height: 20px;
        height: auto;
    }

    /*uudised*/
    .page-newsitems .news-thumb {
        max-width: 360px;
    }

    .page-newsitems .newsitem h3 {
        margin: 10px auto 20px 10px;
    }

    .page-newsitems .newsitem .news-date {
        margin: 0 0 15px 10px;
    }

    .page-newsitems .newsitem .lcp_excerpt {
        margin-left: 10px;
        line-height: 1.1;
    }
}

@media only screen and (min-width: 1301px) and (max-width: 1599px) {
    .fp3-textblock {
        padding-left: 25%;
    }

    .fp3-textblock h3 {
        width: 450px;
    }

    .site-header .navarea li {
        margin-right: 30px;
    }

    .page-newsitems .news-thumb {
        max-width: 470px;
    }
}

@media only screen and (min-width: 1600px) {
    .site-header .navarea li {
        margin-right: 55px;
    }

    .sf-field-post-meta-toov_liik {
        position: absolute;
        top: 30px;
        right: 60px;
    }

    body.ru .sf-field-post-meta-toov_liik {
        position: absolute;
        top: 30px;
        right: -120px;
    }
}

@media only screen and (min-width: 1900px) {
    .site-header .navarea li {
        margin-right: 80px;
    }
}

@media only screen and (min-width: 2200px) {
    .sf-field-post-meta-toov_liik {
        position: absolute;
        top: 30px;
        right: 400px;
    }
}

/**/
/*
@media only screen and (max-height: 800px) {
       .home .newsitem .lcp_excerpt {
 display: none;

 }
}
*/

.custom-menu-wizard-4,
.custom-menu-wizard-6 {
    display: none !important;
}

/*frontpage video*/
#video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}


#video-text {
    position: absolute;
    top: 25%;
    left: 25%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 36px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

@media only screen and (max-width: 991px) {
    #video-text {
        left: 50%;

    }
}

#video-titles {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgba(208, 17, 43, 0.8);
    padding: 10px 0;
}

.video-title {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 700;
    transition: opacity 0.8s ease-in-out, background 0.3s;
    opacity: 0.5;
    /* Default opacity */
}

.video-title:hover,
.video-title.active {
    opacity: 1;

    transition: background 0.5s ease-in-out;
}
