/*
    Theme Name: Urban Voice Cambodia
    Author: Angkor Dev 
    Author URI: http://angkordev.com
    Description: Urban Voice Cambodia
    Version: 1.0
    License: GNU General Public License v2 or later
*/

* {
    margin: 0;
    padding: 0;
    font-family: 'Hanuman', sans-serif;
}

img{
    max-width: 100%;
    height: auto;
}
#container{
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    width: 100%;
    margin-top:2px;
    
}
#header{
    flex: 0 0 auto;
    height: auto;
    background: #F5F5F5;
    margin-top:10px;
    margin-bottom:10px;
    -webkit-box-shadow: 1px 4px 6px 3px #ccc;
    -moz-box-shadow: 1px 4px 6px 3px #ccc;
    box-shadow: 1px 4px 6px 3px #ccc;
}
#content{
    flex: 1 1 auto;
    height: 100%;
}
#footer{
    flex: 0 0 auto;
    height: auto;
    background: #F5F5F5;
    margin-top:10px;
    margin-bottom:10px;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,.2);
    padding:30px 30px 30px 30px;
}
#sidebar{
    background: #F5F5F5;
}
.large {
    
    height:34px;
}
.title{
    margin-bottom:0px;
    border:1px solid #2E8B57;
    background-color:#2E8B57;
    height:40px;
    width:20%;
    padding:10px 10px 10px 10px;
    color:#FFFFFF;
    line-height:20px;
    
}
.box{
    padding:20px 20px 20px 20px; 
    margin-bottom: 30px;
    margin-top: 125px;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,.2);
    background-color:#fff;
    border-top:2px solid #2E8B57;
}
.ui five wide column img{
    margin-left: 20px;
}
.image img{
    margin-left: 50px;
    margin-top:30px;
    margin-bottom:10px;
}
.image img:hover{
    opacity: 0.6;
    background-color:#A52A2A 
}
.image h5{
    margin-top:-2px;
    margin-left: 10px;
}
.author{
    color:#000000;
    font-size:12px;
    opacity: 0.7;
}
/*.bg-color{
    background-color: #FFFFFF;
}*/
.right-sidebar{
    margin-bottom:10px;
}
input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}
input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}
.box-home{
    padding:20px 20px 20px 20px; 
    margin-bottom: 30px;
    box-shadow: 2px 2px 0px 0px rgba(0,0,0,.2);
    background-color:#fff;
    border-top:2px solid #2E8B57;
}
.border-bottom{
    border-bottom: 2px solid #4CAF50;
}
.box-related-post{
	width:100%;
	height:auto;
	background-color:LightGray;

}
.box-image{
	width:275px;
	height:auto;
	margin-left:3px;
	float:left;
}
.post-title{
    padding-top:10px;
    padding-bottom:10px;
}
.image img {
    margin-left: 0px !important; 
    margin-top: 0px !important; 
    margin-bottom: 10px !important;
}
.wrap_slider{
    width:1125px;
    height:440px;
    background-color: #FFFFFF;
    box-shadow: 1px 2px 2px 1px rgba(0,0,0,.2);
    margin-bottom: 1px;
    border-top:none;
}
.img-center img{

}
.description{
    display: block !important;
}
.slider-nav {
    display: none !important;
}

.ui[class*="three column"].grid > .row > .column, .ui[class*="three column"].grid > .column:not(.row) {
    width: 33.33333333%;
    /*margin-top: 20px;*/
}
.img-center h5 {
    margin-top: -5px !important;
    font-size: 16px;
}

i.icon.home:before {
    content: "\f015";
    position: absolute;
}
ul#primary-menu li:first-child a {
    border-radius: 5px 0px 0px 5px;
}
ul#primary-menu li:nth-child(6) a {
    border-radius: 0px 5px 5px 0px;
}


.note {
  position: relative;
  width: 18%;
  padding: 8px 10px;
  color: #fff;
  background: #21BA45;
  overflow: hidden;
}
.note1 {
  position: relative;
  width: 18%;
  padding: 8px 10px;
  color: #fff;
  background: #21BA45;
  overflow: hidden;
}
.note1:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 16px 16px 0;
  border-style: solid;
  border-color: #fff #fff #21BA45 #21BA45;
  background: #21BA45;;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
  box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
  /* Firefox 3.0 damage limitation */
  display: block; width: 0;
}

.note1.rounded {
  -moz-border-radius: 5px 0 5px 5px;
  border-radius: 5px 0 5px 5px;
}

.note1.rounded:before {
  border-width: 8px;
  border-color: #fff #fff transparent transparent;
  -moz-border-radius: 0 0 0 5px;
  border-radius: 0 0 0 5px;
}

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 300px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
    .note{
        width: 60%;
        padding: 8px 10px;
    }
    .note1{
        width: 35%;
        padding: 8px 10px;
    }
    .rounded h3{
        font-size:14px;
    }
    #header {
    background-image: url('assets/images/urbanvoicelogo.png');
    background-repeat: no-repeat;
    background-position: absolute; 
    height: 80px;
    margin-top:50px;
    }

    #shiftnav-toggle-main {
        display:block !important;
        background: #21BA45 !important;
    }
    .shiftnav-menu-title a, .shiftnav-menu-title a:hover, .shiftnav-menu-title a:visited {
    display: block;
    font-size:16px;
    }
    .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target {
    color: #fff !important;;
    border-bottom: 1px solid #fff !important;
    border-top: 1px solid #fff !important;
    background: #21BA45; !important;
    }
    .shiftnav.shiftnav-skin-standard-dark, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu {
    background: #21BA45 !important;
    color: #fff !important;
    }
    .shiftnav, .shiftnav-inner {
    height: 477px  !important;
    overflow-y: auto;
    overflow-x: hidden;
    }
    .box {
    margin-top: -50px !important;
    }
    .post-page-next{
        width:100% !important;
    }
    .post-page-pre{
        width:100% !important;
    }
}

.note:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 16px 16px 0;
  border-style: solid;
  border-color: #fff #fff #21BA45 #21BA45;
  background: #21BA45;;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
  box-shadow: 0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
  /* Firefox 3.0 damage limitation */
  display: block; width: 0;
}

.note.rounded {
  -moz-border-radius: 5px 0 5px 5px;
  border-radius: 5px 0 5px 5px;
}

.note.rounded:before {
  border-width: 8px;
  border-color: #fff #fff transparent transparent;
  -moz-border-radius: 0 0 0 5px;
  border-radius: 0 0 0 5px;
}
.border-bot{
    border:2px solid #21BA45;
}
#scrollUp {
    color: #ffffff;
    background: #21ba45 !important;
}

/* Add custom fonts */
/*
@font-face {
	font-family: Calibri;  
	src: url(https://urbanvoicecambodia-dona1.c9users.io/wp-content/themes/urbanvoice/fonts/Calibri.ttf.ttf);  
}
p{
	font-family: 'Hanuman',Calibri !important;
	font-size: 16px !important;
}
h3 a{
	font-family: 'Hanuman',Calibri !important;
	font-size: 24px !important;
}
*/
.ui.input > input {
    margin: 0em;
    max-width: 97% !important;
}
.qtranxs_widget img {
    width: 30px;
    padding-left: 5px;
}
.detailparagraph p{
    font-size: 15px;
    line-height: 1.4285em;

}
.post-wrapper{
    width:auto;
    height: 150px;
    margin-left:5px;
    margin-right:5px;
    margin-top:100px;
    margin-bottom:200px;
    
}
.post-page-pre{
    width: 48%;
    height:120px;
    background-color: #F5F5F5;
    float:left;
    border-radius: 5px;
    margin-right:10px;
    margin-bottom:20px;
    
}
.post-page-pre h3{
    text-align:center;
    padding-top:40px;
    padding-left: 5px;
    padding-right: 5px;
}
.post-page-next{
    width: 48%;
    height:120px;
    background-color: #F5F5F5;
    float:right;
    border-radius: 5px;
    margin-bottom:50px; !important;
}
.post-page-next h3{
    text-align:center;
    padding-top:40px;
    padding-left: 5px;
    padding-right: 5px;
}
.post-page-pre:hover{
    cursor: pointer;
}
.post-page-next:hover{
    cursor: pointer;
}
.ui.green.buttons .button, .ui.green.button {
    margin-bottom: 20px;
}
.ui.positive.message {
    margin-top: 20px !important;
}
.ui.form input:not([type]), .ui.form input[type="date"], .ui.form input[type="datetime-local"], .ui.form input[type="email"], .ui.form input[type="number"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form input[type="tel"], .ui.form input[type="time"], .ui.form input[type="text"], .ui.form input[type="file"], .ui.form input[type="url"] {
    height: 38px !important;
}
.ui.basic.card, .ui.cards>.basic.card{
	box-shadow: none !important;
}

.ui.basic.card>.image>img, .ui.cards>.basic.card>.image>img{
	border-radius: 0 !important;
}

ul{
	list-style: none;
}

#primary-menu li{
	float: left;
}

#primary-menu li a{
    padding: 15px 14px;
    color: #fff;
    background: #21BA45;
}

#primary-menu li a:hover,
#primary-menu .current_page_parent >a,
#primary-menu .current_page_item >a{
	color: #000;
    background: #ffffff;
}

#primary-menu .page_item_has_children >a::after{
    content: "\f0d7";
    font-family: Icons;
    margin-left: 5px;
}

#primary-menu{
    float: right;
}
h5 {
    font-family: 'Hanuman', sans-serif;
    font-size: 15px;
}
aside#qtranslate-8 p {
    display: none;
}
/*.ui.image svg, .ui.image img {
    display: block;
    height: 180px !important;
}*/
.ui.cards > .card > .content p, .ui.card > .content p {
    margin: 0em 0em 0.5em;
    font-family: 'Hanuman', sans-serif;
}
.rounded h3 a{
    color:#FFF !important;
    font-family: 'Hanuman', sans-serif;
    font-size: 16px;
}
.rounded h3{
    font-size: 16px;
}
#shiftnav-toggle-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    z-index: 500000;
    text-align: center;
    background: #21BA45;
    color: #eee;
    display:none;
}
.box {
    padding: 20px 20px 20px 20px;
    margin-bottom: 5px;
    margin-top: -160px;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,.2);
    background-color: #fff;
    border-top: 2px solid #2E8B57;
}
#primary-menu li:nth-child(7) a {
    display:none !important;
}
#primary-menu li:nth-child(8) a {
    display:none !important;
}
.langueges {
    position: absolute !important;
    left: 70%;
    z-index: 1;
    top: 70px;
}
.langueges img {
    width: 30px;
}
p, strong, a{
    font-family: 'Hanuman', sans-serif;
}
.header{
    font-family: 'Hanuman', sans-serif;
    padding-bottom: 15px;
}
.widgettitle{
     font-family: 'Hanuman', sans-serif;
}
.content a{
    font-family: 'Hanuman', sans-serif;
}
h3{
    font-family: 'Angkor', sans-serif !important;
}
h2{
    font-family: 'Angkor', sans-serif !important;
}
.textwidget {
    text-align: justify;
    font-size: 15px;
    padding-top: 10px;
}
#sidebar {
    background: none; 
}
.box1 {
    padding: 20px 20px 20px 20px;
    margin-bottom: 20px;
    margin-top: 18px;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,.2);
    background-color: #fff;
    border-top: 2px solid #2E8B57;
}
a.ui.right.aligned.green.button {
    font-family: 'Hanuman', sans-serif;
    font-size: 14px;
}
h5 {
    font-family: 'Angkor', sans-serif !important;
}
button#searchsubmit {
    font-family: 'Hanuman', sans-serif !important;
    font-size: 14px;
}
a.ui.button {
    font-family: 'Hanuman', sans-serif !important;
    font-size: 14px;
}
.sixteen.wide.center.aligned.column {
    font-family: 'Hanuman', sans-serif !important;
    font-size: 20px;
}
button.ui.green.button {
    font-family: 'Hanuman', sans-serif !important;
    font-size: 14px;
}
strong{
    font-family: 'Hanuman', sans-serif !important;
    font-size: 15px !important;\
    line-height: 2.5em;
    text-align:center;
}